Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shakow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
451.
▲
by
shakow
4y ago
It's not about ‶controlling the machines″, it's about running `nix-shell -p our-project` and having the same setup on my OpenSuse than Jack on his Arch, Herman on his mac, Johann on her Debian, and our prod environment on RHEL. Th
452.
▲
by
shakow
4y ago
That was the theory; in practice, the very limited communication (hard to handle fast-evolving situations when couriers from Rome to Amiens take a few weeks at best) & enforcement means (you have 100 guys with spears? We are 200 with pi
453.
▲
by
shakow
4y ago
IMHO, for having written a Lisp-like DSL that is heavily used in our product, the beauty of Lisp is not in spending a week writing a bug-free parser. It actually resides in the regularity and the leanness of the generated AST, that makes it
454.
▲
by
shakow
4y ago
And building software is easy, you just have to type `make build`. Like in development, what's hard in portraiting is not pressing the button; it's spending weeks to find the model, dress the model, groom the model, do the model m
455.
▲
by
shakow
4y ago
I'm not saying it's the one and only factor (not even sure how much it actually count, numerically), I'm just saying that automatically equating “births in religious families in France” to “traditional catholic families” is t
456.
▲
by
shakow
4y ago
> Because with Java you have to write inflated Fugu, R is too specific and it lacks the vast ecosystem of Python, and Perl causes eye cancer. Tell me you know nothing about academia without telling me you know nothing about academia. R i
457.
▲
by
shakow
4y ago
France fertility rate are boosted by its Muslim population ( https://mythdetector.ge/wp-content/uploads/2019/07/inline-im... )
458.
▲
by
shakow
4y ago
> Italia is a largely more catholic country than France [0], yet France has a higher fertility rate France fertility rate are boosted by its Muslim population https://mythdetector.ge/wp-content/uploads/2019/
459.
▲
by
shakow
4y ago
> On contrary. No scientist, except computer scientists, wants to deal with the quirks of ~~most~~ any programming language. Fixed that for you. IME, in academia (outside of CS), Python is not especially loved at all: it's just ther
460.
▲
by
shakow
4y ago
> The 2-3 transition was a non-issue to a lot of people, It was a non-issue for relatively small scripts. But if you were dependent on non-converted libraries, or e.g. if you handled a lot of non-English strings, it could get iffy very f
461.
▲
by
shakow
4y ago
That's a consequence, not a cause. Python survived the 2->3 transition because Python was already in a dominant position and heaps of programs had to work, for better or for worse. For a language with a lesser adoption, such a trans
462.
▲
by
shakow
4y ago
But there are very little chance that China cares about you, whereas your local intelligence agency may have a much more direct impact on you. > but there's still better mechanisms for reigning them If we learned anything from the l
463.
▲
by
shakow
4y ago
Communism does not mean “no ownership” – Marx never said he was going for your toothbrush. It means no private ownership of the means of production, which another can of worms.
464.
▲
by
shakow
4y ago
> How, and by whom? By the kernel OOM killer? Is that supposed to be a trick question? > In a situation where you are running out of memory, it is programs that allocate the most often that have the highest chance of seeing an OOM, no
465.
▲
by
shakow
4y ago
I don't know, the only thing I ever noticed whne using swap was : > Disabling swap doesn't prevent pathological behaviour at near-OOM, although it's true that having swap may prolong it. Basically, the memory manager wil
466.
▲
by
shakow
4y ago
My point is that either spending 0.08s computing the md5 of the zip (I just measured) or 0.3s computing the hash of the repo does not matter the slightest if you are managing software repos, as just extracting the source and preparing to
467.
▲
by
shakow
4y ago
> I can upload malware as a github project release file and https doesn't change that you shouldn't download/run it. If you can't trust the archive published by the owner themselves, you are already screwed; a stable
468.
▲
by
shakow
4y ago
We're falling in the pitfall of ‶left and right are different depending on where you're standing″. I'm 100% sure what you say is true in your country; but in mine, being religious and eschewing the state-based, tax-backed wea
469.
▲
by
shakow
4y ago
And you really believe that downloading & extracting a source .tar.gz and compiling it will have a run time much shorter than 0.4s? Just executing the ./configure will take more than that.
470.
▲
by
shakow
4y ago
> That’s expensive, complicated, That sounds like prejudice. Just as a test, I cloned the git repo, which took 29 seconds, then took its hash with `guix hash`, which took 0.387ms. I think that if you can't handle a 0.4s delay in a b
471.
▲
by
shakow
4y ago
> the definition of socialism. Donations are pretty much the only way money is made That's not the definition of socialism at all. If you think about it, it's actually much closer to the principle of right-wing Christian charit
472.
▲
by
shakow
4y ago
But then that's the role of the httpS query with which you will fetch your data. And if you don't trust your http layer and/or Github's certificate, then you should not trust their archive anyway.
473.
▲
by
shakow
4y ago
By checking the hash of the extracted files. The hash of the archive is dependent on the order in which the file were compressed, the compression, some metadata, etc.
474.
▲
by
shakow
4y ago
That's more a failure of the JS ecosystem (the JS itself from 7 years ago should run exactly the same) than anything else. Having programs run 7 years later should be the expectation, not the unexpected.
475.
▲
by
shakow
4y ago
> The tradeoff here is that once something gets put into the language (or the standard library, since effectively they share the same compatibility concerns), you can't easily change it later. That's another axis: it's how
476.
▲
by
shakow
4y ago
I have been using Go at work for a few years after having used rust for years before that (and still using it for other things), and I agree with you. In my experience, you can not make complexity disappear: it can be reduced to a point, bu
477.
▲
by
shakow
4y ago
There is no reason changing only the syntax would prevent the compiler from inferring in/out types. It would be something more akin to: let squares: Vec<_> = numbers.iter().filter(fn(x) { x >= 0 }).map(fn(x) { x * x })
478.
▲
by
shakow
4y ago
Flaps must be deployed progressively. If you suddenly put 35° deflection flaps instead of lowering your gear, you're in for a strong emotional event.
479.
▲
by
shakow
4y ago
On a simpler/more fundamental level, e.g. for middle-school student, Algobox may also be of interest https://www.xm1math.net/algobox/index.html
480.
▲
by
shakow
4y ago
If the vector is 64MB long, you probably don't want to print it either.
More ›