Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
OskarS
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
120 ms
·
631.
▲
by
OskarS
6y ago
I remember that one coming out, and the consensus was that it was fake [0]. The Tetris one seems more realistic. [0]: https://www.reddit.com/r/pcgaming/comments/hsryyn/windows_ta...
632.
▲
by
OskarS
6y ago
My only note on this is that this is not a regulation tetris board: it is 13 tiles wide, Tetris boards are 10 tiles wide. Not suitable for tournament play!
633.
▲
by
OskarS
6y ago
Isn’t that just the sign of the cross product of the direction vector and the vector from the object position to the target (or the orientation of the bivector in geometric algebra)? No need for trig there, I don’t think.
634.
▲
by
OskarS
6y ago
Sounds like it's having trouble allocating memory for the stack and stack guard. Whatever limit it's hitting though, Linux seems to be able to handle it correctly, which is to kill the process instead of a kernel panic.
635.
▲
by
OskarS
6y ago
Fun fact, this works in Raku: > 0.1 + 0.2 == 0.3 True Decimal numbers are rational number types by default in Raku.
636.
▲
by
OskarS
6y ago
That's the case for almost all programming languages, Python and Erlang (and a few others, like Raku) are the exceptions there. Any language that's made to be at least a little bit performant (C, C++, Rust, Go, Java, C#, and many,
637.
▲
by
OskarS
6y ago
It should be said that the race was red-flagged (i.e. stopped) for nearly an hour while they rebuilt the barriers, so there was a lot of downtime there. Also: on the first lap of the restart, another driver (Lance Stroll for Racing Point) f
638.
▲
by
OskarS
6y ago
Yeah, it’s a fair point. The idea of those armco barriers is that they act as energy absorbers, crumpling to lessen the shock. But in this case, they basically tore the car in half. Martin Brundle made the point during the commentary that a
639.
▲
by
OskarS
6y ago
Watching the race live was a terrifying experience. You just saw an exploding fireball at the back of the field, and your blood just ran cold. F1 cars don't explode that way, it's just not something that happens anymore. And you c
640.
▲
by
OskarS
6y ago
Yeah, me too, I found that pretty shocking actually. So shocking that I basically didn't believe it, so I tried myself (in C++, but it doesn't really make a difference). With 2000 threads, the computer had no problem whatsoever, t
641.
▲
by
OskarS
6y ago
I tried reading some of the later articles in the series, and they're exhausting! All the writing has this incredibly tiring staccato rhythm, and the articles are just gigantic dumps of bullet points and headers. It's like having
642.
▲
by
OskarS
6y ago
Nope! You're definitely not the only one. For a page about writing well, this is a stupendously annoying thing to read.
643.
▲
by
OskarS
6y ago
Yep, Triplicate and is far and away my favorite programming font as well, closely followed by Operator Mono. You need to pay for both, but it was easily worth it for me.
644.
▲
by
OskarS
6y ago
https://en.wikipedia.org/wiki/2011_PlayStation_Network_outag...
645.
▲
by
OskarS
6y ago
I've spent the last 9 years buying TONS of Sony games and products, and I also have not been screwed by anything! In addition, I've gotten to play an absolutely incredible array of games, including some of the greatest games of al
646.
▲
by
OskarS
6y ago
Yeah, Backgammon is rad , I really enjoy playing it. It's also an incredible tool to teach both probability (given that you use two dice, and understanding the probabilities of dice events is crucial) and risk/reward judgment cal
647.
▲
by
OskarS
6y ago
There's gambling on backgammon in the same way there's gambling on chess (or any game): sure, you can play for money, but that's not really the usual way to do it. Nothing in the game requires it. Backgammon clubs work essent
648.
▲
by
OskarS
6y ago
Dude, it was 9 years and two console generations ago. They had a serious security breach and it was pretty bad, for sure, and the service stayed down for a while. But Sony is not the first company to have a security breach. And under the ci
649.
▲
by
OskarS
6y ago
I've skimmed through the book, is there no advice on things like cache locality? Cache misses and the like? SOA instead of AOS? These are like the central issues of high performance code once you get past "maybe don't heap al
650.
▲
by
OskarS
6y ago
I agree that poker teaches many useful lessons about probability and weighing your decisions, but it's not just a moral panic to say that's it's maybe not the most appropriate game for kids. Poker is genuinely very harmful fo
651.
▲
by
OskarS
6y ago
Yeah, this is like when people built filesystems on top of Gmail attachments in the bad old days before Dropbox.
652.
▲
by
OskarS
6y ago
My brother passed away very suddenly a couple of years ago. Google Takeout and similar services were a godsend for extracting and archiving everything from his accounts. As far as I know, everything exported fine, thiugh he didn’t use Googl
653.
▲
by
OskarS
6y ago
Yeah, the Multics thing seems pretty definitive for me, it's clearly "print working directory". It also makes sense in context with the other basic UNIX commands: they're almost all actions or active verb phrases in some
654.
▲
by
OskarS
6y ago
This is such a damning list. At some point, reporting on polls when they have this bad of a track-record serves no journalistic purpose and just confuses the public. Like, the discussions people were having in the days before the election
655.
▲
by
OskarS
6y ago
Certainly could!
656.
▲
by
OskarS
6y ago
I ran it on macOS, and there I got: $ base64 /dev/urandom | head -c 1000000000 | wc 0 1 1000000000 I haven't tried anywhere else, so it might be different on Linux or GNU or whatever.
657.
▲
by
OskarS
6y ago
Yes, true enough, it does happen occasionally, but it's pretty rare (and usually there are other ways to deal with it: using less or similar tools, or just running your massive single-line JSON thing through jq first). And my point was
658.
▲
by
OskarS
6y ago
One thing about this particular benchmark is that the file it produces is a little bit unusual even for large text files, because it is only contains one (massive) line. Most huge text files you open in text editors are things like multi-gi
659.
▲
by
OskarS
6y ago
For sure, Github should be lauded for its policy towards China, they have absolutely done the right thing here. Even so, there's no guarantee that that would last forever, so it makes sense for a company like Wikimedia to host this the
660.
▲
by
OskarS
6y ago
From what little I've used it, <range> is a C++ nightmare. Compile times explode and every time you get a tiny type error (which is impossible avoid, because the library is very persnickety about types) you get a bazillion pages
More ›