Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sagarm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
361.
▲
by
sagarm
3y ago
It's insane that the beautiful and valuable Embarcadero used to be a double decker freeway. What a waste.
362.
▲
by
sagarm
3y ago
It's obvious--automated enforcement is effective and consistent, and drivers are used to breaking the rules because human enforcement is neither of those things.
363.
▲
by
sagarm
3y ago
Google was the leader on computational smartphone photography. They released their "night sight" mode before Samsung and Apple had anything competitive.
364.
▲
by
sagarm
3y ago
Whether hypochondriacs exist really has no bearing on how people feel about their interaction with the medical system. And it's pretty clear that for many people, they don't feel like their needs are being met.
365.
▲
by
sagarm
3y ago
What is the easy solution for ICEVs?
366.
▲
by
sagarm
4y ago
As the sibling notes, there is still a per-Kwh charge. The change is supposed to be revenue neutral and more closely matches PG&E's real costs (grid maintenance is 75%, generation is ~25%). This actually supports electrification by
367.
▲
by
sagarm
4y ago
Most of the property crime seems to involve people in cars. In addition, drivers killed 50 people in San Francisco last year, mostly pedestrians. There were 55 homicides in the last year -- to be clear that 105 killings last year, about 50%
368.
▲
by
sagarm
4y ago
We've wasted huge amounts of money trying to make cars not suck, but turns out they still suck. Shifting investment away from 99% cars to 80% cars will save money and improve quality of life in cities.
369.
▲
by
sagarm
4y ago
In 2022, human drivers in San Francisco killed 20 pedestrians and another ~25 people in vehicles (probably motorcycles and scooters). I think one cyclist. If the human to software driven mile ratio is greater than 50, then the expected numb
370.
▲
by
sagarm
4y ago
Your machine dies early and you want to give the same manufacturer more money to fix the problem? Not the first time I've seen this where manufacturer=Apple, either. The brand loyalty Apple inspires really is incredible.
371.
▲
by
sagarm
4y ago
Car dependent suburbanites are also anti car: their neighborhoods are designed to make driving through them inconvenient, to minimize the the cost of their car dependent lifestyle on THEM. I just want exactly the same car-hostile design, wi
372.
▲
by
sagarm
4y ago
This is exactly how I justify my relatively inexpensive hobbies! I guess I shouldn't be surprised I'm not the only one...
373.
▲
by
sagarm
4y ago
It sounds like you think the infrastructure is too unsafe for them to bike on their own? My nephew (12) cycles himself to school, but the infrastructure supports him doing so.
374.
▲
by
sagarm
4y ago
If I want pointer stability, I usually use resize() + operator[] instead of reserve, though of course this requires a cheap default constructor. reserve + push_back feels more likely to subtly rather than loudly break due to future changes.
375.
▲
by
sagarm
4y ago
What would be the point of adding a string as int32 offset/size pair to the standard library? It would be meaningless without supporting infrastructure to link it to a backing buffer, and it can't represent strings over 4GB. If it
376.
▲
by
sagarm
4y ago
> subtle and awful footgun push_back and emplace_back already give you geometric growth; reserve is supposed to circumvent this.
377.
▲
by
sagarm
4y ago
There might be a few other relevant distinctions between California (part of the US, remember?) and European states, e.g. their robust safety nets and health systems.
378.
▲
by
sagarm
4y ago
That's because they chose to live in the wildlife-urban interface, where wildfire risks are elevated. Note the article talks about damage to power lines. The shutoffs were not related to a lack of capacity. Rural grid connection and ma
379.
▲
by
sagarm
4y ago
No blackouts here. Rural blackouts are more common in high wind situations to mitigate wildfire risk. It's just the reality of living in the WUF. 75% of electricity costs in California come from the grid, not generation. Grid costs rec
380.
▲
by
sagarm
4y ago
Luckily absl also provides absl::Hash, which doesn't have this problem.
381.
▲
by
sagarm
4y ago
Easy solution: kill someone with your car, get the death penalty. Then the incentives are all aligned.
382.
▲
by
sagarm
4y ago
It's SUVs, not EVs. There's an arms race amongst drivers to have the largest vehicle to push the consequences of collisions onto other people. Pedestrians are just collateral damage. SUV/truck drivers kill 4x more of the pede
383.
▲
by
sagarm
4y ago
Why not put the drivers underground? Raise gas taxes to pay for it.
384.
▲
by
sagarm
4y ago
So dark colored cars are also dangerous then?
385.
▲
by
sagarm
4y ago
This works for me on Ubuntu 22.10: $ sudo apt install podman buildah $ mkdir empty && cd empty $ cat > Containerfile <<EOF FROM alpine:3.14 RUN echo 'echo hello podman!' > /root/hello.sh
386.
▲
by
sagarm
4y ago
No, the carbon tax is applied where carbon is produced, which is mostly fuel and energy consumption, and the resulting increase in costs affects the market prices of goods as usual.
387.
▲
by
sagarm
4y ago
... the implication is that being called a factory worker is somehow an insult?
388.
▲
by
sagarm
4y ago
traffic is what we call it when cars get together to have a good time
389.
▲
by
sagarm
4y ago
> traffic jams do suck Or put more succinctly, you agree cars suck. Some of us just go one car further.
390.
▲
by
sagarm
4y ago
Good question. I added a test for sorted runs in addition to random data, and added pdqsort for comparison. avx512_qsort benefits from sorted runs while vqsort does not, but vqsort is still 20% faster in this case as well. The full results
More ›