Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
foota
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
511.
▲
by
foota
2y ago
It's buried a bit in the article, but if you have to sanitize input to allow only some kinds of inputs (e.g., specific tags), you should really be parsing it fully to an AST and then acting on that (or using a library doing the same) s
512.
▲
by
foota
2y ago
"There is no easy fix" underground power lines for an entire city isn't easy.
513.
▲
by
foota
2y ago
It's at the bottom of the article, but note that this interview experience is from 15 years ago.
514.
▲
by
foota
2y ago
Canals would also require drivers for the boats (modulo some AI powered boats or something). I suspect the real answer here is that the report was just some exploratory thinking, and unlikely to really happen.
515.
▲
by
foota
2y ago
My guess is that this is more about practicality than anything. There's hardly a need for such high elevation locks I think, and where there is, tunneling is better.
516.
▲
by
foota
2y ago
Weren't both of these problems addressed by congress, not the courts?
517.
▲
by
foota
2y ago
Not sure it's a common feature, but I've seen a flame graph tool that you can pivot around some function, so that it filters to only stacks involving that function, and then goes both up and down from there.
518.
▲
by
foota
2y ago
I was just talking to some acquaintances the other day where I was asking them what they used for structured logging and they looked at me like "what's that" and I remembered people don't do it everywhere.
519.
▲
by
foota
2y ago
While I haven't read the proof sufficiently in depth to explain it, but these aren't physical spheres because they have infinite parts. They're less practically offensive to our senses, but I don't think this is really a
520.
▲
by
foota
2y ago
Since the assist doesn't require real time response (e.g., the failure mode is the car not moving, not you dying unlike a tesla) it seems like a non taxi version could simply set you up as the assist monitor. If you fall asleep or don&
521.
▲
by
foota
2y ago
It's probably a little bit better since a car is a closed environment. That won't save it entirely, but it'll at least mitigate the issue I expect as compared to e.g., a public bus.
522.
▲
by
foota
2y ago
Waymo operators do not ever drive the vehicle. My understanding is that Waymo operators can specify things like "take this path" (e.g., by drawing on a map or something) or "yes that's safe" but this doesn't co
523.
▲
by
foota
2y ago
There's a concept in statistics called sensitivity analysis. It seems like this is somewhat similar, but an alternative approach that might be interesting would be to modify the input in a way that you think should preserve the semanti
524.
▲
by
foota
2y ago
Yes, but that's still a far cry from a million cores. Unless we change the power requirements and heat generation fundamentally, I don't see how we could get to a point where we have a million CPU cores that look anything like we
525.
▲
by
foota
2y ago
Sure, but it's not going to make people happy. (tongue in cheek) Unhappy people can be a national security threat.
526.
▲
by
foota
2y ago
There may be some aspect of geopolitical independence here as well, if they're dependent on imports for luxury foods (like meat) then they're more exposed to higher prices and external supply issues (which might be health related,
527.
▲
by
foota
2y ago
Singapore is a rich nation with tiny amounts of land, so it might make sense there even if not other places. Huh... I figured that china would account for most of their food imports, but that's not actually the case. https://
528.
▲
by
foota
2y ago
Hate to burst your bubble, but with the end of Moores law this seems unlikely to pass.
529.
▲
by
foota
2y ago
This is theoretically true, but I think you'd have to get a lot of support from AMD and be responsible for implementing most of a traditional computer yourself. I have a feeling it's be roughly as feasible to do it all with fully
530.
▲
by
foota
2y ago
Fun fact, supernovae take only seconds to undergo extremely violent processes that typically result in their explosion. E.g., "Within a few seconds of the collapse process, a substantial fraction of the matter in the white dwarf underg
531.
▲
by
foota
2y ago
I don't have anything for you, but if you have some normally allocated hierarchal data structures in order to free them you'll have to go through their members, chase pointers, etc., to figure out the addresses to free, then call
532.
▲
by
foota
2y ago
O(1) is nice, but I feel like avoiding walking a bunch of data structures is maybe most important.
533.
▲
by
foota
2y ago
I mean... I guess the issue here is more that Microsoft didn't make customers aware of this flaw, and continued to sell the service. Which... is exactly the articles point. They knew there was no secure way to administer it, and yet so
534.
▲
by
foota
2y ago
Anyone could (in a technical sense) scrape HN or access the data through the API and do whatever they want with it. It's unclear to me whether the license granted to HN by your use of the site gives someone doing so license to your com
535.
▲
by
foota
2y ago
I don't think you need to draw your own conclusions: "This is not an officially supported Google product".
536.
▲
by
foota
2y ago
Is the idea here that normal (read: low?) interest rates will let companies spend more time getting things right?
537.
▲
by
foota
2y ago
Interestingly, CRC32C is a bijective function over 4 byte integers. More generally, any perfect minimal hashing function could be used to map a set of N integers to the numbers 1 through N.
538.
▲
by
foota
2y ago
2^32 is 2 months of 1000 random requests per second, so every 2 months you'd have a random chance that your service breaks for someone if you're relying on there not being any collisions.
539.
▲
by
foota
2y ago
Nit: It's only hard to find _hamiltonian_ cycles, finding general cycles is trivial. More generally, it's hard to find long simple cycles (a simple cycle is one with no overlapping vertices visited twice). I don't know how ha
540.
▲
by
foota
2y ago
Could you buy land from existing lower voltage lines? It seems like a solvable problem.
More ›