Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dahfizz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
271.
▲
by
dahfizz
4y ago
Its not the same. The compiler can protect against code which is incorrect. The compiler cannot do anything to help with code that is correct but does the wrong thing.
272.
▲
by
dahfizz
4y ago
C has no problem dealing with a uint32_t. Not sure what you are getting at. This is more of an issue with languages like java that abstract away integer widths and signs, which is convenient if you're only doing arithmetic but becomes
273.
▲
by
dahfizz
4y ago
I think the issue is that, when written, a `long` was 32 bits. I would guess the author was familiar with the concept of a carry bit, but they didn't care because the carry bit was discarded by their architecture.
274.
▲
by
dahfizz
4y ago
It looks like the ELF standard itself says the hash table uses 32 bit values: > A hash table of Elf32_Word objects supports symbol table access. https://refspecs.linuxfoundation.org/elf/gabi4+/ch5.dynamic....
275.
▲
by
dahfizz
4y ago
> San Francisco has one of the highest crime rates in America compared to all communities of all sizes - from the smallest towns to the very largest cities. One's chance of becoming a victim of either violent or property crime here
276.
▲
by
dahfizz
4y ago
Yeah, I can't remember the last time I heard a car alarm.
277.
▲
by
dahfizz
4y ago
Yeah I totally agree. Heat pump with a wood stove / furnace as a second heat source is the way to go. It's not unheard of to go multiple days without electricity after a bad snow storm, so I would never trust a heat pump alone. Wh
278.
▲
by
dahfizz
4y ago
The fan of a furnace takes little power. It can be run off of a small generator, which ~every homeowner in New England has. A heat pump cannot run off a small generator.
279.
▲
by
dahfizz
4y ago
Targeted propaganda from the government is not the same as cultural norms
280.
▲
by
dahfizz
4y ago
> This is a made up statistic whose only useful purpose is to make San Francisco go to the top of a list it otherwise would not. It's high the list no matter how you look at it: > San Francisco has one of the highest crime rates
281.
▲
by
dahfizz
4y ago
Airbnb used to be VC subsidized and cheap. Now that it's the same cost or more than a hotel room; I don't understand why someone would prefer Airbnb.
282.
▲
by
dahfizz
4y ago
According to that source, this morning in Germany the total solar + wind + biomass energy production was under 410MWh, whereas gas + coal was around 8500MWh. Conservatively, _just the battery cells_ to make up for that shortfall _for just
283.
▲
by
dahfizz
4y ago
> the share of renewables in Germany never dropped below 30% last year I find this very hard to believe. There was never a windless night all year? Not for an instant? This[1] seems to disagree. There were plenty of times when wind + sol
284.
▲
by
dahfizz
4y ago
Coal plants aren't "better", but they work when its dark and not windy. We need _something_ to fill that (rather large) niche.
285.
▲
by
dahfizz
4y ago
That's crazy. In the USA, $2000 gets a m2 air with 24GB ram and 1TB drive. The cheapest option is $1200. Is there added taxes / tarrifs for the european prices? That's much worse than just the EUR/USD exchange rate.
286.
▲
by
dahfizz
4y ago
A lot of people who don't know anything about finance think that "offshore bank accounts" is a magical tax loophole. They don't know what "tax haven" really means, they just hear it repeated often.
287.
▲
by
dahfizz
4y ago
Do you have kids?
288.
▲
by
dahfizz
4y ago
The majority of Americans commute less than 30 minutes. How is something the majority of people have "extreme privilege"? The idea of a 2 hour commute each way to be gone from 7am to 7pm is a complete fantasy.
289.
▲
by
dahfizz
4y ago
The average commute in the USA is under 30 minutes. I have no idea where this idea that everyone commutes 2 hours came from, but its completely ridiculous. https://www.census.gov/newsroom/press-releases/2021/o
290.
▲
by
dahfizz
4y ago
No, the lightbulbs at home depot are inexpensive and they work fine. On the other hand, if you care about CRI, then you can also google for high-quality bulbs with a good CRI. I don't really see a problem here?
291.
▲
by
dahfizz
4y ago
OpenAI could have blocked Google's accounts, for example. Nothing really to do with legality.
292.
▲
by
dahfizz
4y ago
It just comes off as whiny. People were paying 50-60 dollars for videogames for decades, with no complaint. Now when inflation finally comes for video games, and you pay the same real price you were paying a few years ago, they're way
293.
▲
by
dahfizz
4y ago
Is that TC or salary?
294.
▲
by
dahfizz
4y ago
Liking your country and not wanting to be poor are bad things nowadays
295.
▲
by
dahfizz
4y ago
Nobody would buy those cars. We already have the Mitsubishi mirage, and the bmw 3 series easily outsells it. Most people don't get the cheapest car they can, they get the nicest car they can.
296.
▲
by
dahfizz
4y ago
The ACA just gave more power and money to these same scummy insurance companies.
297.
▲
by
dahfizz
4y ago
It does matter. If there is a problem with openssl, just the openssl maintainers have to push an update and everything on your system is secure. If everything is statically linked, you need to wait for every maintainer of every single progr
298.
▲
by
dahfizz
4y ago
It powers the web, because there are no other options. If JS was good, people would use it for other things. Terminal apps, trading algos, operating systems, compilers, embedded, databases, etc etc. JS is never the best tool for the job. Bu
299.
▲
by
dahfizz
4y ago
> I actually feel more anonymous and self sufficient in a city Anonymous, sure. But how can anyone be self sufficient in a city? Do you have a large garden? Rainwater tanks? The tools and workspace to do your own plumbing, construction?
300.
▲
by
dahfizz
4y ago
This isn't about a whistleblower exposing something bad. This is about someone going to the press about a (fake) upcoming product. Don't be naive. You don't leak a fake story to the press because of a lack of trust (???). You
More ›