Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
OskarS
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
571.
▲
by
OskarS
6y ago
I would have loved to see the Knuth version (which was literate Pascal with WEB, I think) compared as well, but I imagine that is a nightmare to build. I wonder if the source code is available anywhere, I can't recall ever seeing it. I
572.
▲
by
OskarS
6y ago
> You're admittedly talking about a difference in compression rate of 13MB in a 1400MB package, and a 5s difference in writing a 1400MB file to disk. > Come on, let's be honest here: that's nitpicking. I agree on the co
573.
▲
by
OskarS
6y ago
Not if you're serving things dynamically from a web server, then it happens on the fly, every request.
574.
▲
by
OskarS
6y ago
Tar (as opposed to gzip) is almost entirely I/O bound, it's just reading from the filesystem, adding some headers and then outputting it again. Whatever speed your I/O runs at, you will basically tar at that speed as well.
575.
▲
by
OskarS
6y ago
Whether or not other systems are possible is not really relevant: cryptocurrencies as they exist today work like this. The fact that one day potentially we will have proof-of-stake doesn't change the fact that today we are destroying t
576.
▲
by
OskarS
6y ago
The difference between manufacturing and crypto is that manufacturing actually, you know, manufactures stuff. It makes stuff that is useful to people. It contributes to human society. The energy consumed to power cryptocurrencies contribute
577.
▲
by
OskarS
6y ago
It's a little bit... weird to think of "working in a grocery store" as indentured servitude. You know, not everyone has to be a software engineer or full-stack whatever. There's absolutely nothing wrong with working in a
578.
▲
by
OskarS
6y ago
> For instance there's a trend for medical students to believe less in evolution than other biology students I don't find that particularly surprising, actually! I would assume that most subfields of biology relies more on deep
579.
▲
by
OskarS
6y ago
'as per Newton, Leibniz et al...' isn't good enough? Seriously though: if it is indeed true that you need to justify it this way, that is insane: this is just basic calculus. Do you have to justify every single statistics cal
580.
▲
by
OskarS
6y ago
I thought so too! Linus was even like "don't blame the developers, this one was particularly nasty" and everything! Good to see nice and sensible Linus once in a while!
581.
▲
by
OskarS
6y ago
His point is, if you use Moby Dick as the key, it's going to take longer to hash that than a three letter string. Hashing isn't O(1) if the key has variable size.
582.
▲
by
OskarS
6y ago
I always found it delightful how `if [ condition ]` works in bash, which, in case you don't know: the way `if <something>` works in bash is that <something> is a command that runs like everything else in bash. If the comman
583.
▲
by
OskarS
6y ago
Yeah, I thought that was a really obnoxious thing to say. Really off-putting.
584.
▲
by
OskarS
6y ago
I dunno, I’ve also used both, and I keep coming back to the Vim/gn way of doing it, I just like it more. I see how people can feel otherwise, though.
585.
▲
by
OskarS
6y ago
The article mentions ”gn” in passing, but it doesn’t give it enough credit: this is an enormously useful motion, almost more useful on its own than the rest of the article. The thing that makes it golden is that it is a motion, and thus com
586.
▲
by
OskarS
6y ago
Your analysis of history there is a bit lacking. Coroutines didn't go out of fashion because of OOP, it went out of fashion because of structured programming and higher level languages. Coroutines are doable if you're programming
587.
▲
by
OskarS
6y ago
Ah, sorry, I missed that in your comment.
588.
▲
by
OskarS
6y ago
Dynamically loaded system libraries use shared memory. You can load it once for the entire system.
589.
▲
by
OskarS
6y ago
Are unused variables really compiler errors in Go? That does seem very harsh, and very counter productive while developing. -Werror is all well and good, but while I’m in the middle of writing the code, it’s a bit much.
590.
▲
by
OskarS
6y ago
Exactly: they're so appealing the first time you find out about the feature. "Oh, i can just go `git submodule add <repo> <path>` and it includes another repo! Very cool!", and then two months later you're st
591.
▲
by
OskarS
6y ago
Here's the lesson I've learned from my experience with submodules in git in several different companies: avoid them like the plague. NEVER USE THEM FOR ANYTHING. Use any other solution available to you: use package managers, use m
592.
▲
by
OskarS
6y ago
Chill out. This is a design choice to make it more viable to be used in dynamically typed languages. It's maybe not the design choice everyone would make, but it's not, like, insane: this is how all variables in Python/JavaSc
593.
▲
by
OskarS
6y ago
Just last week I was debugging an issue with a library that used SQLite internally, and I noticed that whenever I shut down, it would leave all these "something.db-shm" and "something.db-wal" files around in addition to
594.
▲
by
OskarS
6y ago
Oh, come on. > Data from MPD shows that in June 2020, the camera in question snapped 82 violators. Then there were 2,850 tickets in July 2020 (compared to 231 tickets in July 2019). Then the camera started flashing like paparazzi in Cann
595.
▲
by
OskarS
6y ago
I love this little newsletter! Always a pleasure to see it arrive in my inbox, usually has at least one or two really interesting articles in it. Highly recommended!
596.
▲
by
OskarS
6y ago
Again, the fact that you compare reading the New York Times to PornHub says a lot more about you that it does anyone else. You're less rational than you think.
597.
▲
by
OskarS
6y ago
The fact that you would be suspicious of someone who regularly reads The New York Times says more about you than it does people who read The New York Times.
598.
▲
by
OskarS
6y ago
I mean, he supported Bernie in the primaries. He's not David Brooks or whatever, he's pretty firmly on the left hand side of American politics. Like, his last book was essentially an extended argument for throwing away all immigra
599.
▲
by
OskarS
6y ago
Yeah, I ran through the list in my head as well: Marie Curie, Irene Joliot-Curie, Lise Meitner and Emmy Noether were the ones that came immediately to mind. All of them deserve to be well-known.
600.
▲
by
OskarS
6y ago
She's also the only one of them who won in two different scientific disciplines: physics and chemistry. Linus Pauling (who was pretty famous to a previous generation, though maybe not quite as famous as Curie) won also won in two diffe
More ›