Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvdkhlng
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
dvdkhlng
6y ago
They are are using a 53-bit hash cyrb53 [1] of the string "IP address + website domain + user agent + language + validity days". It looks feasible that many of the generated IDs could be retroactively brute-force mapped back to a
62.
▲
by
dvdkhlng
6y ago
I think the idea is that you use registers and apply the NOR gate multiple times. In this sense the NOR gate is universal, while an OR gate nor a XOR gate are neither universal. I.e. XOR(x,y) = NOR(0, NOR(NOR(x,y), NOR(NOR(x,0),NOR(y,0
63.
▲
by
dvdkhlng
6y ago
> He probably saw benefits from using UDP because he's no longer limited by TCP's congestion control and can flood the pipe with duplicates of his packets. But he wrote that he'd used "TCP over UDP". The first
64.
▲
by
dvdkhlng
6y ago
Yes, I had the same confusion. There seems to be a standard for TCP over UDP [1]. But in general, I would assume that it does not help at all WRT any of the packet loss/latency problems posed by satellite links. TCP is designed for
65.
▲
by
dvdkhlng
6y ago
The problem with that is that agricultural output in a 3 degree higher world may not be sufficient to sustain a civilization of almost 8 billion people. "Life always finds a way" may be a little sarcastic once people start starvi
66.
▲
by
dvdkhlng
6y ago
Disclaimer: I'm not knowledgeable in that topic. But from a general physics PoV: - weather is mostly about complex local interactions between air pressure / surface temperature / air flow (convection) / humidity etc. t
67.
▲
by
dvdkhlng
6y ago
I'm running Firefox, installed from upstream, running on Devuan Beowulf. With the default "Courier New,Fixed" font family set it's just not working.
68.
▲
by
dvdkhlng
6y ago
In Firefox (v82) the text-field does not seem to render in a strictly non-proportional font. Thus everything is garbled. Unfortunately w3m text-mode browser isn't capable to display the page... [EDIT] The following steps fix playback
69.
▲
by
dvdkhlng
6y ago
You can very likely compress the table and/or interpolate between entries. It's not like that those entries are totally random.
70.
▲
by
dvdkhlng
6y ago
Using Tcl exceptions, I guess it would be pretty trivial to do that. Here [1] is an alternative do..while loop implementation provided by Tcllib, written in pure Tcl. [1] https://core.tcl-lang.org/tcllib/artifact/4
71.
▲
by
dvdkhlng
6y ago
Well, you don't need 'expr' in contexts were an expression is expected, e.g. 'if' 'while', 'for' (2nd arg).
72.
▲
by
dvdkhlng
6y ago
I have the exact opposite experience WRT Tcl channels when compared to other languages. Handling binary data is pretty trivial, e.g. to read a full binary file into a binary string, you do: set h [open "filename.bin" r] fcon
73.
▲
by
dvdkhlng
6y ago
"Harm" is difficult to assess in some cases. What about the bunch of school children who faced a higher than normal probability of traffic accident because somebody illegally parked near a pedestrian crossing? You can't rea
74.
▲
by
dvdkhlng
6y ago
I think the GPLv3 implements a similar idea WRT patent rights, sometimes referred to as "patent retaliation clause" [1]. Just saying that there is precedent for licenses being used to protect against overreaching "IP" la
75.
▲
by
dvdkhlng
6y ago
Good question. I'd pick one of: (a) Smart pointers + static analysis + sanitizers make C++ pretty usable (b) C++ usability requires brittle, half-baked add-ons such as smart pointers and non-deterministic/heuristic/unreliabl
76.
▲
by
dvdkhlng
6y ago
Uh, you're too optimistic: Everybody and their uncle had a lot of ideas about how they would fix "C++". Eventually all those contradicting ideas got merged into the C++ standard. :)
77.
▲
by
dvdkhlng
6y ago
I think for shared_from_this() I have a different use-case in mind: an object of some class wants to register with some other class. I.e. think about something like auto self = shared_from_this(); document.onclick([self](){self->
78.
▲
by
dvdkhlng
6y ago
When I think about C++ "smart" pointers, I often think about easy to provoke / difficult to spot fatal edge cases. E.g. - C++ code where some method calls std::shared_from_this(), and that method ends up being called indirec
79.
▲
by
dvdkhlng
6y ago
I can second that, I have seen people frustrated after loosing work in Snap! by missing to save. But then that's maybe also a lesson people ought to learn early-on when creating stuff on the computer: safe early and create backups :)
80.
▲
by
dvdkhlng
6y ago
I'd suggest TIC-80 [1] as an intermediate step from Snap! to larger IDEs. TIC-80 documentation [2] is a little thin, but overall it's a very pragmatic integrated development environment that combines sound, sprite, map and code-e
81.
▲
by
dvdkhlng
6y ago
From my experience, as a cyclist speed and acceleration helps with avoiding car-related danger. If you're fast enough, cars won't needlessly overtake you (in rush hour, most car traffic may not exeed 30 km/h for example due
82.
▲
by
dvdkhlng
6y ago
> Should the bike lanes be removed, then? Yeah, for Berlin at least it's a very difficult question trying to find out how to move forward from the current half-assed state of affairs. There is some sort of new law/policy that d
83.
▲
by
dvdkhlng
6y ago
In case people don't get the "white spray painted biycles" reference, see [1]. Berlin just got 15 more of those bikes this year already (which is more than usual, maybe due to corona). [1] https://en.wikipedia.org&
84.
▲
by
dvdkhlng
6y ago
The problem with this is that car drivers usually just assume that the cyclists could just safely use the bike lane, while in reality many bike-lanes are statistically more dangerous than just driving on the road. In Germany there used to b
85.
▲
by
dvdkhlng
6y ago
> One that they didn't mention was our artifacts on the moon which will last 100 million years or so. Geostationary and HEO satellites will stay for a while but I'm not exactly sure how long. Erosion due to micrometeorites ero
86.
▲
by
dvdkhlng
6y ago
> On top of that, climate change is a slow moving disaster, and we are typically good at mitigating long term changes (at least way better than urgent crises). Scientists calling for the end of the world at every opportunity will look ri
87.
▲
by
dvdkhlng
6y ago
>> according to every serious scientist we are pretty much on the worst case scenario path according to any peer reviewed model. > Obviously not true. I think GP was referring to predictions of climate sensibility to changes in CO2
88.
▲
by
dvdkhlng
6y ago
If we disrupt the balance, after some time we will reach a different equilibrium state. It currently looks like we are going to cause a cascade of tipping points which will result in the earth reaching a new stable equalibrium called "
89.
▲
by
dvdkhlng
6y ago
Just to counter some of your claims with publicly available sources: - We do control clouds and cloud cover albedo [1]. - Human-induced changes to composition of earth's athmosphere result in about 3 Watts of additional heating per squ
90.
▲
by
dvdkhlng
6y ago
You mean that IPCC predictions based on climate models have been replaced by different predictions based on newer models as more data became available over time? Unfortunately (for us) it does look like newer predictions predict worse outco
More ›