Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
5e92cb50239222b
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
5e92cb50239222b
3y ago
You're supposed to either await a Task, or to block on it (thus blocking the underlying OS thread which probably eats a couple of megabytes of RAM). It's a completely different system more akin to what Go has been using.
62.
▲
by
5e92cb50239222b
3y ago
I don't think .NET has virtual threads (async/await doesn't count), and it definitely doesn't have anything similar to ZGC/Shenandoah — two garbage collectors that provide sub-millisecond pauses with heaps up to the
63.
▲
by
5e92cb50239222b
3y ago
Some options for those who prefer to avoid the Oracle minefield: https://adoptium.net https://aws.amazon.com/corretto https://www.azul.com/downloads https://bell-sw.com/pages
64.
▲
by
5e92cb50239222b
3y ago
I don't know which system you're on, but GNU bc does not support this flag. On the other hand, bash and zsh support this: bc -l <<<'(2/3) * 3 - 2' edit: neither does busybox.
65.
▲
by
5e92cb50239222b
3y ago
Because you really don't want heavily polluting industries (oil refineries, chemical plants, steel mills, etc) close to a big city.
66.
▲
by
5e92cb50239222b
3y ago
It is somewhat of a problem: the development team is very small, they don't take outside contributions (so nobody outside the core team really builds up expertise over time), and the vast majority of tests are proprietary. I hope they
67.
▲
by
5e92cb50239222b
3y ago
It's not just ntfs. I tested this a few months ago in a pretty unscientific manner using ~50 million files in one directory. btrfs was unusable (not only that particular directory, but the whole filesystem became noticeably slower). ex
68.
▲
by
5e92cb50239222b
3y ago
Sounds very much like my experience, except that I was using Delphi. Non-existent documentation (complicated by me not speaking English at the time), no friends or relatives using computers for anything other than office documents (and very
69.
▲
by
5e92cb50239222b
3y ago
Sure, if you call that community. Bug reports or questions generally do not require mentioning your race, ethnicity, nationality or identity preferences. I've never done it and as a result never had problems with anyone¹. If someone ac
70.
▲
by
5e92cb50239222b
3y ago
I have a lot of respect for Drew for the technical work he did, but it's difficult to take this seriously. Maybe because we come from very different cultures, I don't know. I've never felt the need for any "community&quo
71.
▲
by
5e92cb50239222b
3y ago
https://archive.is/MkKWo
72.
▲
by
5e92cb50239222b
3y ago
Or .map() as a for..of replacement. I always wanted V8/SpiderMonkey developers to make .map()/.reduce() "pure" in the sense of "optimizing away" the expression if its result is not assigned to anything, and see
73.
▲
by
5e92cb50239222b
3y ago
And it's still not as cross-platform as Java is, or pretty much all other tech stacks. FreeBSD and commercial UNIXen are not supported at all. If you prefer to develop on macOS or Linux (hi there), you don't get access to many Win
74.
▲
by
5e92cb50239222b
3y ago
That feeling is mutual. I very much prefer boring Java or .NET developers who are all supposedly stuck in the 90s to hipsters chasing after the latest JS fad of the week.
75.
▲
by
5e92cb50239222b
3y ago
They didn't. A proper fix would require getting rid of null altogether in favor of ADTs or something similar. I work with C# daily and nulls can still slip through the cracks, although it's definitely better than @NotNull and frie
76.
▲
by
5e92cb50239222b
3y ago
For C/C++ projects that use meson as the build system, there is an excellent way to manage (some, supported) dependencies: https://mesonbuild.com/Wrapdb-projects.html https://mesonbuild.com/Wrap-depende
77.
▲
by
5e92cb50239222b
3y ago
Yes, and I should write bug-free code, and doctors should never make mistakes. If you have any examples of a completely neutral news outlet that never made any blunders, I'd be very interested to know about and follow them. Until the
78.
▲
by
5e92cb50239222b
3y ago
Yeah, the last couple of years were really eye-opening for credulous idiots like myself. https://en.wikipedia.org/wiki/Kaja_Kallas#Stark_Logistics_an...
79.
▲
by
5e92cb50239222b
3y ago
This can be applied to literally anybody. I've been reading them for many years (since their editor and most of their journalists were at lenta.ru — which they were thrown out of in ~2015 for daring to criticize the annexation of Crime
80.
▲
by
5e92cb50239222b
3y ago
I've been using several domains for years and it's a non-issue. Some of them are located in the worst TLDs possible: the cost free .tk and .cf. No delivery issues whatsoever because I use decent email providers and don't spam
81.
▲
by
5e92cb50239222b
3y ago
Services like Fastmail provide clear step-by-step instructions on what you need to configure. Typically you need to add some DNS records (MX, SPF, DMARC, DKIM), and that's it. It sounds way worse than it is and it takes 10 minutes tops
82.
▲
by
5e92cb50239222b
3y ago
$ bwrap --unshare-net --dev-bind / / bash $ curl google.com curl: (6) Could not resolve host: google.com Or you could use firejail, or do it manually with `unshare`, or with any of the container runtimes (docker, podma
83.
▲
by
5e92cb50239222b
3y ago
You only really need this part: https://amazon.com/dp/B09V3HZ8B5
84.
▲
by
5e92cb50239222b
3y ago
Same reason Western Digital sponsors btrfs development, or at least used to.
85.
▲
by
5e92cb50239222b
3y ago
A bit more than that since Xbox runs Windows too.
86.
▲
by
5e92cb50239222b
3y ago
Google also could cut off Mozilla's funding in a heartbeat. Since their management is incompetent (but their engineers are awesome and I love them), they haven't done any serious attempts to diversify their sources of income, or a
87.
▲
by
5e92cb50239222b
3y ago
Brave lets you change it (or remove altogether). I just did it before posting this to make sure. brave://settings/system/shortcuts
88.
▲
by
5e92cb50239222b
3y ago
I think most of that happened well before 2021. And he may well have believed they were not going to invade — I totally believed that, because the alternative was just too depressing. Most of my friends, relatives and acquaintances (Russian
89.
▲
by
5e92cb50239222b
3y ago
I switched away from ZFS on root after using it for about a year. There were no actual problems, but I could never get over the fact that it's so complicated underneath I have to relearn everything every time I do any sort of advanced
90.
▲
by
5e92cb50239222b
3y ago
It's fine when you've read the man page at least once . If you just cowboy your way through every task, you'll never even be aware of what your tools can do. Which results in comments we've all seen: "I can't
More ›