Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
enriquto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
451.
▲
by
enriquto
3y ago
Jupytext seems the best practice. The ipynb files are output artifacts. Why would you want to store them into git? It would be like storing compiled program binaries.
452.
▲
by
enriquto
3y ago
> the simple fact that without it the hardware you've invested in won't work How is that different from the "if you want to run linux don't buy a winmodem" that we said convincingly twenty years ago ? Would you
453.
▲
by
enriquto
3y ago
give me static αpε or give me death!
454.
▲
by
enriquto
3y ago
Also younger. We may be looking at the baby steps of a new bellardesque figure here.
455.
▲
by
enriquto
3y ago
You traverse the squares in a spiral pattern starting from a central one. Then each square is divided vertically or horizontally according to the binary digits of pi (or whatever).
456.
▲
by
enriquto
3y ago
It must be the latter. Many trivial shapes admit non-periodic tilings. For example a 2x1 rectangle: you tile the plane with squares, and divide each square in two in a non-periodic way.
457.
▲
by
enriquto
3y ago
> For practical purposes, you cannot perform code reviews of notebooks on GitHub without purchasing a tool called ReviewNB. This is false. If you save your notebooks with jupytext, they are just plain python files that can be reviewed n
458.
▲
by
enriquto
3y ago
I hope the main static page (motherfuckingwebsite.com) will live on, it's a great fulcrum on which to raise your particular designs.
459.
▲
by
enriquto
3y ago
The output produced by gron looks quite clean to me. You just write your file as if it was a list of js variable assignments. allowed-downtime[0][0] = 20230523170000Z allowed-downtime[0][1] = 20230523170500Z allowed-downtime[
460.
▲
by
enriquto
3y ago
> for a human oriented format, that sounds pretty painful As a human, I prefer to edit by hand an unordered list of key-value pairs (even if the keys are long), than a json object. I often find myself using gron/ungron to edit json
461.
▲
by
enriquto
3y ago
just use longer keys (with an ad-hoc separator, if you want)
462.
▲
by
enriquto
3y ago
Graybeard opinion: all of toml, yaml, xml, json, kdl, etc., are ridiculously over-engineered for simple configuration files. You can nearly always fulfill all of your needs with a simple two-column text file of key=value pairs that can be
463.
▲
by
enriquto
3y ago
> in high dimensions, the unit cube is all corners and no interior. Wouldn't it be rather "all faces" ? As you say, it is useful to think about these volumes in terms of probabilities. You can pick a random point in a one
464.
▲
by
enriquto
3y ago
Thanks for your detailed answer! I guess I'm just used to critical editions in poetry, which are supposed to be identical to a facsimile but without transparencies nor coffee stains. The critical comments and the text are separated
465.
▲
by
enriquto
3y ago
What counts as a purely mechanical adjustment? Can you apply any trivial and reversible operation to the notation? I guess changing the time signature to an equivalent one is acceptable. Changing all the notes to half their length? Repla
466.
▲
by
enriquto
3y ago
[Disclaimer: not an expert on ODE, so I don't really know what I'm talking about] I was just astonished by the title of the article, because it seemed to contradict KAM. Yet, upon careful reading, you can interpret the title in t
467.
▲
by
enriquto
3y ago
> IMSLP accepts urtext editions over 25 years old. Do you have a working definition of "urtext"? A lot of famous Bach and Mozart keyboard stuff was written on C clef for the right hand, but many so-called urtexts transcribe it
468.
▲
by
enriquto
3y ago
Notice that this is about new, particularly wild, solutions of the multi-body problem. By Kolmogorov-Arnold-Moser theorem, such unstable solutions form a negligible set among all possible initial conditions. The solar system is, still, st
469.
▲
by
enriquto
3y ago
But then this is equivalent to the cosine transform, isn't it? A much better trick than mirrored repetition seems to be the "periodic + smooth" decomposition: https://sbrisard.github.io/posts/20180212-on
470.
▲
by
enriquto
3y ago
Yes, you can do all sort of tricks in C++. You can also package them into a "matrix" class, or use one of the thousands that are publicly available. The thing is that, in Fortran (and even in C), you don't need any of this b
471.
▲
by
enriquto
3y ago
> It finds roots when you can only measure the derivative. How is that even possible? The function f(x)=x-7 has a single root at x=7. Its derivative is f'(x)=1. How do you recover 7 from 1 ?
472.
▲
by
enriquto
3y ago
> reasonably fast is a bit of an understatement IMO. I mean that a naive loop that traverses your data does not take several minutes like in Python. But there's a guy in my lab who takes my stupid loops, avxs the fuck out of them,
473.
▲
by
enriquto
3y ago
I'm gradually moving to (modern) Fortran, and it's just lovely to see all this activity. Fortran really reaches a sweet spot if all you want to do is write straightforward numerical algorithms that run reasonably fast.
474.
▲
by
enriquto
3y ago
> and then do any kron product you want, whether sparse matrices with other sparse matrices Thanks! Will try it with the new release. Last time I tried, apparently it converted the sparse matrix to dense before calling kron, and (expec
475.
▲
by
enriquto
3y ago
> It really could replace anything R, Python, Perl, Ruby etc is used for today. There is an (admittedly niche) use-case where Julia would be almost incapable to work, as compared to other interpreted languages like for example Lua or Per
476.
▲
by
enriquto
3y ago
> If P=NP then there is no encryption and no secure digital signature algorithms whatsoever. Why do you say that? A problem being in P does not necessarily mean that it's easy, or that it is solvable at all in practice. Recall tha
477.
▲
by
enriquto
3y ago
printf(3)
478.
▲
by
enriquto
3y ago
This is more like saving your old notebooks and drafts, only that they don't take any meaningful space. Or like having a revision control system. Do you rebase your git repos regularly to delete commits older than 6 months?
479.
▲
by
enriquto
4y ago
> Files with spaces in the name are just a bad idea Hear, hear! I would love a mount option that disallows them for good (or replaces them transparently by nbsp U+00A0). Do people also want variable names with spaces in their programs?
480.
▲
by
enriquto
4y ago
exp(-|x|) is not an exponential, it's just the easy, bounded, integrable, half of it :)
More ›