Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
OskarS
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
OskarS
1y ago
I was wondering about the water and sewage pipes the author mentioned going through these unheated areas. Are the pipes heated? Or just so well-insulated that the contents doesn't have time to freeze before reaching their destination?
62.
▲
by
OskarS
1y ago
We're not talking about living in a totalitarian state and breaking the law by aiding the resistance here. The cases in the article is like committing financial fraud or faking customer data. And then, yeah, I do think there is no excu
63.
▲
by
OskarS
1y ago
I would argue that you have a moral and ethical responsibility to say no when your manager asks you to do something illegal, even if it does cost you your job. The law is the law, and there is no excuse for breaking it. Your manager is cert
64.
▲
by
OskarS
1y ago
You can do that by using mkfifo relatively easy, but I take your point. In that sense, the most "flexible" language is pure C, because you can do anything there. I guess a better word is "ergonomic": if you want to do `c
65.
▲
by
OskarS
1y ago
Yeah, and environment variables as well. It's notable that the syntax for reading an environment variable in bash is identical to the syntax for reading a "normal", process local variable (though setting is slightly different
66.
▲
by
OskarS
1y ago
The superpower of shell scripting languages is not just that it's easy to run external processes, it's also that you can run them extremely flexibly: chain them into pipelines, run them in background, redirecting streams, process
67.
▲
by
OskarS
1y ago
You write C++ every day, and you didn’t understand the is_descendant_of/is_ancestor_of example? Or how you can use it to reverse a relation like std::less?
68.
▲
by
OskarS
1y ago
This is incredible, what a miraculous thing for sufferers and their families. Feels rare to see such a such an unquestionably good news story these days.
69.
▲
by
OskarS
1y ago
I should explain a little further what I mean: there are "pure" ideograms even in English, like the & and % characters. These unambiguously refer to the words "and" and "percent", but the way they're w
70.
▲
by
OskarS
1y ago
You know, I can't remember ever doing this in a terminal. Not because it doesn't sound useful (it sounds VERY useful), it just sort-of never occurred to me as a thing you could do. It's just muscle memory at this point to rer
71.
▲
by
OskarS
1y ago
All true written languages are phonetic to some extent, even though they may not be alphabetical the way English is. Chinese characters have phonetic components indicating tone and pronunciation, Egyptian hieroglyphs are largely syllabic, N
72.
▲
by
OskarS
1y ago
No. Linguists make a distinction between "writing" and "proto-writing". Generally speaking, proto-writing involves using abstract symbols for some particular use case, historically it was common for accounting. You draw
73.
▲
by
OskarS
1y ago
I would assume most basic calculators use regular floating point circuits, and then just round aggressively for the display.
74.
▲
by
OskarS
1y ago
Couldn't resist checking what math.h does for floats and doubles on godbolt, it returns slightly above 9, but curiously not exactly equal to any answer in that list [1]. Maybe not that surprising, these transcendental functions are alw
75.
▲
by
OskarS
1y ago
It is in the book, it’s a big part of 4B, which was published in 2022. The main topics are backtracking, exact cover using Dancing Links and satisfiability. It’s my favorite volume of the whole bunch.
76.
▲
by
OskarS
1y ago
Indeed it is, and Donald Knuth spends a substantial part of the latest volume (4B) of The Art of Computer Programming on solving exact cover problems like this using Dancing Links! He presented an earlier version of the algorithm in this le
77.
▲
by
OskarS
1y ago
I was curious about this study as well, both because the idea seems genius and wildly unsafe. I mean, I know teflon is inert, but really safe for consumption in quantities required for satiation? I googled the paper's title, and here i
78.
▲
by
OskarS
1y ago
I have a question: when I’ve seen people discussing this setting, people talk about using like ”3 days” or ”7 days” as the timeout, which seems insanely short to me for production use. As a C++ developer, I would be hesitant to use any depe
79.
▲
by
OskarS
1y ago
I must say, this is a little bit like complaining that Google supplied a PNG when you wanted a JPG. Like, the original file is the TTF/OTF, that's the raw material and what you would use in an OS or an application. And it works fi
80.
▲
by
OskarS
1y ago
I'm a very dedicated anti-Google person who's trying to move everything I can off of any kind of Google service, so I very much understand the desire to self-host. But I find it hard to find fault with Google here. "If you do
81.
▲
by
OskarS
1y ago
Google Fonts lets you just download the font, right? So what's the problem with self-hosting them? They're not encrypted or anything. Like, I'm not sure what else you would want Google to do.
82.
▲
by
OskarS
1y ago
I can’t remember ever seeing a bigger red flag on a C++ library than this. Even leaving aside the implications of UB (where I agree with you), does this mean I can’t run my test suite in release mode? What if it’s slow to run? What if there
83.
▲
by
OskarS
1y ago
If the person who taught you big-O notation didn't point out that for all practical values of N, log(N) is tiny , then they did you a disservice. It is indeed "practically constant" in that sense. However, when someone says
84.
▲
by
OskarS
1y ago
Corrected, thanks.
85.
▲
by
OskarS
1y ago
I mean, fair enough I guess, but there's a lot of games on that list. I don't think you would go around saying "LittleBigPlanet is widely regarded as one of the best of all time" just because it appears in that article.
86.
▲
by
OskarS
1y ago
> It's the sequel to a game (Hollow Knight) which is widely regarded as one of the best of all time. I would say this is overstating it a bit. Hollow Knight was critically lauded, grew an intense fan-base, and often considered one o
87.
▲
by
OskarS
1y ago
> No, I think it's very important to understand that local times in the future do not identify a point in time and that local times are not necessarily tied to any particular location. I mean, they sometimes do. You might want to wa
88.
▲
by
OskarS
1y ago
There's always a sliding scale between "proto-writing" and fully developed writing systems, but just using symbols phonetically instead of semantically happens much faster than that. The very archaic forms of proto-cuneiform
89.
▲
by
OskarS
1y ago
It's not just you, that does grate on me sometimes as well. I get that he needs to move the show on, but I often feel like the guest is trying to make quite an important point when he interrupts. Still love it, though.
90.
▲
by
OskarS
1y ago
As I've listened to more and more of it, I start to gravitate not to particular topics, but to particular experts. There are many guests who are regulars when topics in their field come up, and the good ones make any topic in that fiel
More ›