Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dukoid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
dukoid
3y ago
Isn't Norway a bit hypocritical: Amass wealth from providing fossils to other countries polluting the world, then be super environmental locally? Sure, still miles better than most of the other fossil rich countries, but the Netherland
32.
▲
by
dukoid
3y ago
Heavy rain tends to overloads combined sewer systems, leading to potential discharge of untreated sewage. https://en.wikipedia.org/wiki/Combined_sewer#Health_impacts
33.
▲
by
dukoid
3y ago
"640K ought to be enough for anybody." -- Bill Gates
34.
▲
by
dukoid
3y ago
Converting from manager to engineer at the same level requires a special test in at least one FAANG company. Doesn't that mean going from manager to IC is a promotion? And then obviously the other way around must be a demotion?
35.
▲
by
dukoid
3y ago
I suspect early model railroads were quite a bit more dangerous: https://marklinstop.com/2015/07/220-volts-to-the-present-fro...
36.
▲
by
dukoid
3y ago
That's true but from our perspective this state won't be reached anywhere in the universe -- so there can't be any singularity from our perspective?
37.
▲
by
dukoid
3y ago
Something I was always wondering about black holes: Does there really have to be a singularity? If I understand relativity correctly, time slows down as mass increases. Couldn't this slowdown affect the contraction so that it never can
38.
▲
by
dukoid
3y ago
I had a similar problem recently and in the end I went for TOML, encoding the path in the section headers (square brackets), avoiding any indentation.
39.
▲
by
dukoid
4y ago
I had a similar experience with Potassium. I'd really recommend to get a blood test before taking any supplements.
40.
▲
by
dukoid
4y ago
I don't think it's available as a product yet. The original press release mentions some form of "market testing until mid-2023", but no details... https://www.klosterbrauerei.com/shop/Bierpulver/
41.
▲
by
dukoid
4y ago
Or the Government, as in Asimov's "The Dead Past"
42.
▲
by
dukoid
4y ago
Does Advent of Code count? Jörg's AoC 2022 solutions in Pascal for CP/M running on a Spectrum Next with nice ASCII animations: https://www.youtube.com/watch?v=eg7r_6IrWmo&list=PLcjDDXgGeS... Source code: http
43.
▲
by
dukoid
4y ago
Better than LMAA I guess O:) https://en.wikipedia.org/wiki/Swabian_salute
44.
▲
by
dukoid
4y ago
Since the URL is not getting shorter, the original could just be encoded in the generated URL -- there isn't really any need to store anything
45.
▲
by
dukoid
4y ago
The real news here! "One display with up to 8K resolution at 60Hz or 4K resolution at 240Hz over HDMI" https://www.apple.com/mac-mini/specs/
46.
▲
by
dukoid
4y ago
While there are certainly political aspects, there are still technical issues that are hard to overcome. Palm has tried the "pure" Web-only approach and one of the main issues there was the inability to cache compiled code in a st
47.
▲
by
dukoid
4y ago
Früher war mehr Lametta ¯\_(ツ)_/¯
48.
▲
by
dukoid
4y ago
Submission to the automobile has already devastated America's Cities...
49.
▲
by
dukoid
4y ago
Tries are not mentioned in the OP and I have yet to see an example where they are actually working well.
50.
▲
by
dukoid
4y ago
Samsung in particular advertises account registration after guest checkout with "register to track your order" -- and then it doesn't work.
51.
▲
by
dukoid
4y ago
I think the printer connector is a bit loose -- let me push it in firmly! Oh no!
52.
▲
by
dukoid
4y ago
The article took it down to 2 by adding an extra hashtable. It's possible to go down to 2 without using an extra data structure.
53.
▲
by
dukoid
4y ago
Thanks!
54.
▲
by
dukoid
4y ago
I don't think so. As much as I love using bit operations: in this case I'd actually prefer a table of character counts for a "true" O(n) solution, as bit counting isn't guaranteed to be a "native" operatio
55.
▲
by
dukoid
4y ago
FTR: This can be done with "only" two loops (opposed to the "naive" 3 in the article) -- without any extra data structures. It's sufficient to keep track of how many characters have been unique so far. For each &quo
56.
▲
by
dukoid
4y ago
Shouldn't USB-to-Centronics adapters / cables be listed in the alternatives section?
57.
▲
by
dukoid
4y ago
Hasn't this been the case since the first machine or even tool was invented?
58.
▲
by
dukoid
4y ago
Turning an expression tree into basic machine code is typically relatively straightforward if the target is stack-based. Basically you do a post-order traversal. For leaf nodes, just push the value. For other nodes, obtain the arguments fro
59.
▲
by
dukoid
4y ago
Guess it depends on how you define "simplest"? x / 2 + y / 2 + ((x & 1) + (y & 1)) / 2
60.
▲
by
dukoid
4y ago
Integers that are represented by a dynamic number of bits -- as in Python or Javascript BigInt
More ›