Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
manwe150
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
211.
▲
by
manwe150
1y ago
You can buy insurance for just about anything, not just cars. Companies frequently buy insurance against various low-probability incidents such as loss of use, fraud, lawsuit, etc.
212.
▲
by
manwe150
1y ago
I think I like this idea that the rotation interval could be made proportional to length, for example doubling the interval with each additional character. Security standards already now acknowledge that forced yearly rotation is a net decr
213.
▲
by
manwe150
1y ago
I agree that is a good guess, but I had measured both and the new one is set to provide slightly cooler water.
214.
▲
by
manwe150
1y ago
My work had a dishwasher that performed terribly when we first moved in. About 6 months later we complained and they replaced it. Worked slightly better, but still sub par (dishes came out gray with bits of food still on them, with or witho
215.
▲
by
manwe150
2y ago
Why not recommended? As far as things close to signals go, this is how you implement signals in user land on Windows (along with pause/resume thread). You can even take locks later during the process, as long as you also took them befo
216.
▲
by
manwe150
2y ago
Both yes and no. It was a brief lack of available local stock from suddenly unexpected demand, followed by a lack of factories willing to stop doing well paid work to switch to making cheap masks, while we waited for even cheaper masks to g
217.
▲
by
manwe150
2y ago
I think you meant: "22"+2 = "", and it is not UB to make the second pointer, only to use it
218.
▲
by
manwe150
2y ago
They both have an offset, but ring buffers aren’t contiguous so they also need a branch or modulus to handle wrap around. Either can be cheap, but clearly that is strictly more costly than not having the extra operation (even if very little
219.
▲
by
manwe150
2y ago
Both are O(1) datastructures, but indexing a ring buffer is slightly more costly compared to this and insertion is slightly more costly for this than a ring. Probably usually works out in favor of this design though for net performance usua
220.
▲
by
manwe150
2y ago
What confuses me even more about that situation is that Canada seems to distinguish between business travel and work travel instead, where those two options seem to be mutually exclusive to each other (199b), and neither is for pleasure ht
221.
▲
by
manwe150
2y ago
I think that depends what you mean by legal request. The guy is not making a request of the legal system, so no, it is not specifically a legal request in that sense. However, if someone did make a legal request later, the testimony of this
222.
▲
by
manwe150
2y ago
I think my understand is that because the work itself is already covered by different laws (eg trespassing), you had the opportunity to make a verbal contract with the person who took the photo. And the same in reverse: because they used yo
223.
▲
by
manwe150
2y ago
How did you manage to avoid the last price increase? I thought they’d ended that sweet deal for everyone (myself included)
224.
▲
by
manwe150
2y ago
Also with some function, perhaps even the existing one std::get<1>, like for some other existing types where the dot-operator is already broken. The special purpose field-access ability and the special-purpose dot syntax don’t have to
225.
▲
by
manwe150
2y ago
Not to be too annoying, but that file is how it supports the feature on non-posix-compliant file systems (usually FAT). On filesystems that support file-streams (or the original HFS), that metadata is stored on the file itself
226.
▲
by
manwe150
2y ago
I wonder if you could have a compiler that intentionally pads every instruction to use a vector register pair of <value, slow-const>, so that every value gets paired with whatever constant or other expression will cause the slowest ex
227.
▲
by
manwe150
2y ago
Recent timing attacks rely on the observation that modern CPUs send some messages faster than other messages, based on predicting what they might contain, so some delays get magnified (those that deviate from expectations) while other delay
228.
▲
by
manwe150
2y ago
It would have to have been designed to use external functions instead (eg spelled std::reset), which might even make the API more consistent since many accessor functions already require doing just that (eg std::begin)
229.
▲
by
manwe150
2y ago
It is quite nuanced, but generally it depends on your intent. If you plan how to commit a crime without intending or encouraging anyone to commit it, that is not illegal, but intending to commit a crime, even if some else does the actual de
230.
▲
by
manwe150
2y ago
Free speech in the US means they cannot make specific laws against proposing ideas, but a long history of legal cases does mean there are cases when you can be civilly or criminally liable if your words lead others to harmful actions
231.
▲
by
manwe150
2y ago
The shape of the outlet is different for different current allowances (the spades are wider or rotated). It is supposed to allow an electrician to indicate that the whole circuit is rated to handle the higher expected load, and that there a
232.
▲
by
manwe150
2y ago
Right, with modern technology my understanding is HVDC (essentially 0HZ?) is the way to go now (high voltage to minimize resistive loss, DC to minimize skin effect) if we were building a new grid with the same wires, but not economical to r
233.
▲
by
manwe150
2y ago
Just to close the loop here, it looks like that is exactly what zig does for pointers, such that there is a different type of pointer for each combination of bit offsets and byte alignments, and yes it is distinct from a "regular"
234.
▲
by
manwe150
2y ago
But also seems to be technically 18 individual scoops on that machine. Though 240k tonnes in 1 day as capacity…
235.
▲
by
manwe150
2y ago
You could always do that before in most instances just by watching for the yellow on the cross street too. Though I think the green is often slightly delayed relative to the pedestrian light, precisely to ensure the car cannot win that race
236.
▲
by
manwe150
2y ago
I know at least one intersection that crosses a bike path and walking path near me that changed recents so now oncoming traffic goes with the walk signal while turns are forbidden, then only right turns are allowed, then only left turns. It
237.
▲
by
manwe150
2y ago
I feel like I see a lot of fairly crazy intersections in my US city, where it feels like they break at least one expectation of the simple red/yellow/green patterns from drivers ed. I wouldn’t want to trust anyone’s life to assumi
238.
▲
by
manwe150
2y ago
Yes, the flashing lights are more common in my area, but either are a nice signal that someone wants to cross (and isn't merely waiting for their uber or to get in their own car)
239.
▲
by
manwe150
2y ago
The git reflog tracks branches and how they changed. Is that roughly what mercurial has? (It’s been more than a decade since I switched from hg to git as well, so my remaining memory is minimal). GitHub also has an API for querying historic
240.
▲
by
manwe150
2y ago
I think you mean Jevon's Paradox? Wikipedia claims it has been studied and that the effect is small: https://en.wikipedia.org/wiki/Jevons_paradox#Cause I wonder though if the more significant limitation for most p
More ›