Better HN
topnewbestaskshowjobs
Log inSign up

3eb7988a1663

3,526 karma · joined Sep 5, 2024 (2y ago) · 1,155 submissions

Submissions

comment 3mo ago · link · parent

John Carmack is a legendary game programmer. If I can identify a superior algorithmic approach to something in Doom, does that disqualify Carmack's credentials?

comment 3mo ago · link · parent

Why should I file a bug? So it can be ignored until a PM eventually declares bankruptcy and wipes the tracker clean?

There are some well reported bugs in Microsoft/Google/Apple that have persisted for years. Nobody cares.

comment 3mo ago · link · parent

Yet I believe crime still happens in Texas.

comment 3mo ago · link · parent

There is even a click noise when you idly tap the screen.

As great as it is, way too fast.

comment 3mo ago · link · parent

Common for college textbooks to have some digital-only component accessed with a one-time key inside the cover. Sometimes time-limited to a single semester.

comment 3mo ago · link · parent

Was Aero also the last instance where all of the Control Panel widgets were actually Desktop first? Ever since, they Control Panel has been a mismatch of Mobile design and being limited to a single interface pane. It is maddening to look at the historical data density that was tossed for something a programmer could thoughtlessly bang out in an afternoon.

comment 3mo ago · link · parent

PEP 238 lays out the story if anyone is curious. Well into the Python 3 transition, I still had a habit of multiplying the denominator by 1.0 to ensure it was a float.

https://peps.python.org/pep-0238/

comment 3mo ago · link · parent

  Anthropic didn't suffer any irreparable harm
This is a fast paced business environment where one company being explicitly disallowed by the government could create long-lasting damage. How many institutions might have gone with the safer OpenAI and will not revisit the decision?

comment 3mo ago · link · parent

I am not a font person, but is the "book" weight a standard thing? I have never seen this before.

comment 3mo ago · link · parent

Sure enough, Wikipedia says the population in 1940 was only 65k (which is still too many, but whatever). I would still assume that AC installation was very uneven and a luxury at the time.

comment 3mo ago · link · parent

This is something that I fail to understand - why are there so many people there? Is there unobtainium in the hills that can only be mined from the region? Prior to modern air conditioning, why would people setup there when there are seemingly more hospitable areas?

comment 3mo ago · link · parent

This is so stupid, I love it. Captures everything about the modern Tech Priest praying to the machine spirit.

comment 3mo ago · link · parent

Don't go overboard, but you have quite a bit of margin for error. I am finding one claim that the upper maximum daily dose for Vitamin D is 4000 IU. A Costco daily multivitamin is 400 IU (most adults are recommended at 600 IU).

If you start supplementing with a traditional, OTC Vitamin D option, likely very low risk of complications.

comment 3mo ago · link · parent

I don't take it as too-much-syntax in the brain[0], but all of the problems bad syntax causes. We could still be writing code in assembly, but we have found that different languages make things easier or safer to construct.

I can trivially handle having to repeatedly bounce to the top-then-to-the-bottom of a query I am writing because I want to change the group-by or sorting order, but that is annoying friction. Since the language does not compose well, you need to keep most of the query in your head and cannot build it up piecemeal as easily as something like PRQL (https://prql-lang.org/)

[0] Although, it would be incredible if I could write timestamp formatting without having to look up the bespoke vendor incantation every time I switch dialects.

comment 3mo ago · link · parent

Can someone explain to me why SQL error messages are so bad? I routinely have some monster query where the message is effectively, "Illegal syntax somewhere, dufus".

comment 3mo ago · link · parent

Possibly not a solution for your use case, but I use earlyoom[0]. When memory crosses a threshold value, it will kill the worst offender. Has some knobs to tweak: what threshold level you want, which programs to keep safe, which to prioritize, etc. Never had to touch the configuration, out of the box has been sufficient for me.

I use it when I am doing exploratory work and might materialize something too big. It has always killed the Python process or terminal program which did something silly.

[0] https://github.com/rfjakob/earlyoom

comment 3mo ago · link · parent

  ...“designed to ensure that replacement tires sold in the state are at least as energy efficient, on average, as tires sold in the state as original equipment.” 
My nose for unintended consequences says manufacturers could start selling cars with worse tires to bring down the average.

That being said, the quoted figures do sound good. Maybe less compelling in someplace like Texas with very low gas prices:

  The energy commission calculated that more efficient tires cost between $6 and $26 more per set, but that increase is more than offset by reduced fuel consumption. It put net savings at $85 to $153 over the lifetime of the tire when gasoline is $4.60 a gallon, though the savings could be 25 percent higher with this year’s price spikes.

comment 3mo ago · link · parent

That ad claims it removes microplastics. I was led to believe there are few easy ways to accomplish such a thing. Is this a, "Well technically, we started at 100ug/mL and ended at 99.8ug/mL => reduction!" or is this a meaningful improvement in water quality? The pot looks to just be clay + charcoal + silver - which is not significantly different from other home water filtration systems.

comment 3mo ago · link · parent

The grievance was that not enough journalists were getting thrown into jails without proper procedures or medical care?

comment 3mo ago · link · parent

The most recent Steam Hardware Survey[0] lists the most popular VRAM at 16GB in 25.9% of users. Second most popular build is 8GB in 25.3%. >=24GB is ~7%, which is quite a bit higher than I expected.

[0] https://store.steampowered.com/hwsurvey/En

comment 3mo ago · link · parent

Do you have a write-up of this? I enjoy seeing these Playstation/ASIC/GPU mining installations which are usually some combination of incredibly clever engineering and duct tape.

comment 3mo ago · link · parent

I swear I read of pharma companies experimenting with this. The idea that because the molecules are so foreign, the body lacks enzymes to breakdown the product, so the drug gets a much longer half-life than would be typical.

comment 3mo ago · link · parent

While I am not sure a web framework can ever be "done", there is certainly a lot less churn required for something so mature[0]. That it also syncs up with Python releases is just an extra cherry on top.

[0] Which isn't to say I am fully satisfied. I do have plenty of special-feature-requests I would love to see incorporated.

comment 3mo ago · link · parent

Pick something slightly esoteric (eg Haskell) and the quality of public code is very high, because you only have enthusiasts writing it. Choose something taught in schools (Python) and you are going to find 10,000 traveling salesmen homework problems and Django todo applications.

Not sure how you thread the needle on the quality vs quantity dynamic.

comment 3mo ago · link · parent

You are going to have to give more support for those assertions. I write Python every day, and never would I call it a good candidate for the clankers. Pretty much any dynamic language would be ruled out, as there is too much implicit logic which makes it harder to understand what is happening.

comment 3mo ago · link · parent

It takes 1000 calories of feed to make 100 calories of animal protein. While the type of animal feed is not what humans probably want to eat, the calories already exist today. Without livestock, there would be a huge surplus of available food.

Wikipedia[0] Says that US directs 4345 million bushels of just corn to livestock feed. Which would be ~13 bushels or 330kg per American.

[0] https://en.wikipedia.org/wiki/Corn_production_in_the_United_...

comment 3mo ago · link · parent

That's basically my weather app. Though, I made it fancy at 7 lines of bash which takes location arguments and pipes into jq for display.

comment 3mo ago · link · parent

A suggestion I liked was to time-shift water heaters as a thermal battery. Water heaters are a significant sink (~20%) of household energy. They are already installed and well insulated, you just want to over-heat them during cheap noon solar to off-set the heat losses over the day.

comment 3mo ago · link · parent

That might have to do with existing deal structures to maintain a non-renewable base load. Something like, if cloud cover/wind suddenly changes, we want to ensure there is already X% of natural gas running so there is a less sudden surge. There is a lot behind the scenes planning to try and ensure grid robustness.

California is certainly curtailing a lot of energy. EIA report[0] said 3.4 TWh in 2024, which was a 29% increase over 2023. If I am reading this[1] chart correctly, the 2024 California demand was ~275TWh.

CASIO also has pages dedicated to curtailment with much of the data available[2].

[0] https://www.eia.gov/todayinenergy/detail.php?id=65364

[1] PDF https://www.energy.ca.gov/sites/default/files/2024-11/2024_C...

[2] https://www.caiso.com/about/our-business/managing-the-evolvi...

comment 3mo ago · link · parent

Does anyone even do repairs anymore? Swap a motherboard and that's it.
1
567
39