MurphyA/hacker-news huggingface dataset:
by diath | 2025-07-24 15:21:29+00:00
The first problem with people unable to lose weight is simply not counting calories and trying to "switch to healthier food and eyeball it". You have to have a kitchen scale and measure portions. Track every meal in an app. It's annoying at first, but once you get in the habit, it's just part of preparing the meal. When you do that, you will be able to tell which meals in your diet are high calorie (which, some are surprisingly calorie dense contrary to what a lot of people think), and find replacements or downsize the portions accordingly.

The second problem is people simply not being honest with their calorie tracking. You may only eat 3 meals but then when you're hungry you will eat a handful of raisins, peanuts, or something else, a lot of people will think to themselves "well, it's just a handful, so it can't be that many calories" - but repeated habit of eating those adds up, and most people don't account for that in their calorie tracking app. Similar to adding a small bit of, say, butter to your pan before making scrambled eggs. You may think, "it's only about 10 grams of butter, it's not much so why bother tracking it", but that 10 grams of butter is 75 calories, over the course of a month of preparing scrambled eggs every morning for breakfast, that's 2250 kcal, after 3 months, that's an entire KILO of bodyweight fat that you either gained or could have lost - small things add up.

Sometimes (but less frequently) it's also hormonal issues, you may want to go to a clinic to do a bloodtest (specifically thyroid hormones and diabetes markers).

Also, low intensity cardio (slow pace incline treadmill/stairmaster) can go a long way in aiding weight loss.
by jjice | 2025-07-24 15:21:46+00:00
> know when the quality of ingredients matter and when they don’t.

Very good point. The first time I had a Gin and Tonic with a fresh squeezed lime half and a good tonic water was mind blowing. I had thought that sour mix was just as good as a fresh lime and that all tonic water was the same, but man I was wrong.
by larrik | 2025-07-24 15:21:47+00:00
"Here's what people said:" before the actual list was super annoying.

> Allow single‑stair buildings up to 6 stories

This seemed like a terrible suggestion, but it caused me to google it and now I see it's not that terrible.

I didn't fully understand all of these, and some are clearly specific to California. I also worry about some of these opening the floodgates for greedy developers (a lot of existing laws are due to some developer doing something ridiculous, collapsing, and leaving the municipality holding the bag).

Overall I like the direction, though.
by tim333 | 2025-07-24 15:22:00+00:00
The trouble is what the LLMs do is effectively read a lot of articles and then produce a summary. What human writers do is quite similar - read a lot of stuff and then write their own article. It's quite hard to block what people have usually done because it's done by an LLM rather than a human. I mean even if you want to ban LLMs, if an article goes up how can you tell if it's 100% written by a human or the human used an LLM?
by mixylplik3 | 2025-07-24 15:22:13+00:00
I love these stories!

I was a sophomore in college in '99-00 and they had just brought in new Power Mac G4 machines with ATI Rage 128 16MB AGP cards. They were faster and better than anything I had used to that point and it also was around when Unreal Tournament was released which was a big deal. I was the administrator of this lab and was supposed to oversee students working on video and audio projects. But instead, we had epic UT tournaments and better yet, I got paid to be there. I also had keys to get into the lab so we would catch a buzz and play for hours.

Absolutely amazing times.
by rwmj | 2025-07-24 15:22:17+00:00
You're making several optimistic assumptions: The first is that closed source companies are interested in controlling the risk of using their technology. This is obviously wrong: Facebook didn't care its main platform enabled literal genocide. xAI doesn't care about the outputs of their model being truthful.

The other assumption is that nefarious actors will care about any of this. They'll use what's available, or make their own models, or maybe even steal models (if China had an incredible AI, don't you think other countries would be trying to steal the weights?). Bad actors don't care about moral positions, strangely enough.
by teraflop | 2025-07-24 15:22:38+00:00
Yes, and it's not just about application-level integrity. The WAL operates at a page level, so dropping one WAL entry and then applying later ones would be likely to cause corruption at the B-tree level.

For instance, say you have a node A which has a child B:

* Transaction 1 wants to add a value to B, but it's already full, so B is split into new nodes C and D. Correspondingly, the pointer in A that points to B is removed, and replaced with pointers to C and D.

* Transaction 2 makes an unrelated change to A.

If you skip the updates from transaction 1, and apply the updates from transaction 2, then suddenly A's data is overwritten with a new version that points to nodes C and D, but those nodes haven't been written. The pointers just point to uninitialized garbage.
by _DeadFred_ | 2025-07-24 15:22:39+00:00
We need to move LLMs into libraries. They are already our local repository of knowledge and make the most sense to be the hosts/arbiters of it. Not dystopian tech companies whose main profits come from dark patterns. I get AIs for companies being provided by businesses, but for the average person coming from libraries just make so much more sense and would be the natural continuation/extension if we had a healthy/sane society.
by igsomething | 2025-07-24 15:22:58+00:00
It would be useful to compare with other leagues where home field advantage is significant. I do not have any data but as a football fan I suspect the following variables are important:

- England is an homogeneous country in terms of geography. There is no 40C degree temperature difference between north/south clubs. Playing in weather conditions one is not used to can affect the away team.

- England is also a small country. The away team can arrive at the stadium within the day. Not only it means they are better rested but also home fans cannot bother them at the hotel making noise, throwing fireworks, etc. preventing them from sleeping.

- The FA is not as corrupt. Sure, certain teams can get away with playing dirty, but in general referees will show red card to a home team player, or call out a penalty for the away team.

- Less threatening environment at the stadium, both for the away team players and the referees. Nobody is throwing food, beer or anything at the players during the game, and hooligans will not try to harm the referee if the home team loses.
by shortrounddev2 | 2025-07-24 15:23:04+00:00
Governments are able to regulate companies like OpenAI and impose penalties for allowing their customers to abuse their APIs, but are unable to do so if Russia's Internet Research Agency is running the exact same models on domestic Russian servers to interfere in US elections.

Of course, the US is a captured state now and so the current US Government has no problem with Russian election interference so long as it benefits them
by thmsths | 2025-07-24 15:23:30+00:00
I've ridden in one and this was basically a case of "you get the worst of both worlds". The engine was small and running at a constant RPM, leading to an annoying noise in the cabin. The range extension was not particularly huge. Worse, when we did eventually run out of battery on one trip, the range extender was unable to recharge the battery after refueling the car, forcing us to scramble to find an available charging station with the car on the tow truck...
by pclowes | 2025-07-24 15:23:35+00:00
I like this. Very much falls into the "make bad state unrepresentable".

The issues I see with this approach is when developers stop at this first level of type implementation. Everything is a type and nothing works well together, tons of types seem to be subtle permutations of each other, things get hard to reason about etc.

In systems like that I would actually rather be writing a weakly typed dynamic language like JS or a strongly typed dynamic language like Elixir. However, if the developers continue pushing logic into type controlled flows, eg:move conditional logic into union types with pattern matching, leverage delegation etc. the experience becomes pleasant again. Just as an example (probably not the actual best solution) the "DewPoint" function could just take either type and just work.
by reverendsteveii | 2025-07-24 15:23:40+00:00
it's really not though. you're getting 1.5 oz liquor whether I put it in a shot glass, a rocks glass with no ice, a rocks glass with half a scoop of ice, a shaker with a full scoop of ice and then strain into a martini glass, a highball glass full of ice, a pint glass with no ice, w/e. Most mixers are so dirt cheap compared to the tremendous margin on alcohol that it doesn't make a ton of difference.
by metadat | 2025-07-24 15:23:40+00:00
I am pretty up to date on the prices, but I'm not sure I understand your comment. Are you able to clarify?

For reference, here is a graph of storage prices over time. The observation is flash-based storage plateauing at a significantly higher baseline compared to magnetic.

https://old.reddit.com/r/dataisbeautiful/comments/1emh1f4/oc...

So it becomes a question of how long will the high baseline hang around with only a few scaled up manufacturers in existence?

The top 4 supply the vast majority of the market from a handful of factories: Samsung, SK Hynix, Kioxia, Micron

Building a new flash or memory factory is a hugely capital-intensive undertaking.

Anyhow, thanks for your reply! Interested in any insights or points I'm missing.
by firefax | 2025-07-24 15:23:42+00:00
I had a similar thing recently.

The problem is there's not much they can do until you're terminated, and after termination you need to wait six months to a year while a regualatory body investigates until you get your "letter to sue", and even then the $ you get will probably not be enough to retire on.

In the meantime, you'll have an employment gap and an employer who plays fast and loose with the law, so they might be willing to do other things like shit talk you during reference checks.

Even if they did something egregious like fire you for a protected reason despite ample evidence it's very hard to do anything about it if they're adamant they don't want to make a reasonable settlement offer.
by dingnuts | 2025-07-24 15:24:05+00:00
I mean, when it launched the point of paying for cable instead of getting TV for free via broadcast was no ads

Now cable has ads and costs a fortune; I didn't know anyone who has it. I do still watch a little broadcast though, the price is right even if the programming isn't great.

If there's nothing on I turn it off and look at my phone
by ajross | 2025-07-24 15:24:23+00:00
Heh, it's a preprocessor DSL:

#define on(_, x) if (e.type == _) { x; } #define map(k, x) if (e.xkey.keycode == stk(k)) { x; } #define grab(...) const char *l[] = { __VA_ARGS__, 0 }; \ for (int i = 0; l[i]; i++) XGrabKey(d, stk(l[i]), Mod4Mask, r, 1, 1, 1);

Stephen Bourne lives on! (Actually he's not dead, I just checked.)
by atoav | 2025-07-24 15:24:29+00:00
A certain group of people keep saying that. But that particular idea of "clean" nuclear does not price in the 10.000 years of safe storage of nuclear waste materials (for the most dangerous HLW materials this number can go up to 100.000 years). Do you and your 3500 generations of ancestors volunteer to do this? Then it is cheap and clean. Otherwise it is yet another instance of "privatize the gains and socialize the externalities".

(And let's ignore the fact that humanity barely managed to organize anything that held even a mere 1000 years)
by florianherrengt | 2025-07-24 15:24:38+00:00
Maybe my analogy is off, but I've been thinking of it like high-end restaurants not being threatened by fast food chains.

I'm trying to understand what I'm missing here. You describe these "AI whisperers" who can tamp down complexity, but doesn't that still require strong fundamental skills and deep knowledge of how to build software? Or am I thinking about this wrong?

If it eventually lifts this ceiling high enough that everyone can build with AI, how does this not simply become minimun wage work?

In which case, what's the unique value proposition?

The way I see it, either:

1. AI gets so good that everyone can build anything (in which case, why pay premium for whisperers?)

2. Or it stays limited enough that you need real engineering skills (in which case, we're back to valuing traditional expertise)
by p0w3n3d | 2025-07-24 15:24:44+00:00
For some (unknown to me) reason the web pages that used to sustain themselves on very small, quiet ads that were shown on sides of the page, now require full page, annoying, shouting, focus stealing, one-minimal-x-closing-after-few-seconds ADS. Therefore AI summary is a panaceum for this sickness.

However I understand that pages that have articles written need money to pay for those articles. For some another (unknown to me) reason reading something by AI and summarizing it is not a copyright violation, but the work that has been done to prepare the valuable content (article) will not be rewarded, therefore extrapolating it to future I can see that the 'dead internet theory' is coming right up.

People will stop writing because they don't get rewarded, so AIs will start speaking and discussing with other AIs and the entropy might lower (as in the amount of information present in the internet) leaving us to AI generated content only.
by palmfacehn | 2025-07-24 15:25:15+00:00
>Wise Cheez Doodles Honey Bbq Cheese Flavored Corn Snacks, Honey; Bbq; Cheese

>CORN MEAL, VEGETABLE OIL (CONTAINS ONE OR MORE OF THE FOLLOWING: CORN, COTTONSEED, SUNFLOWER, OR CANOLA OIL), SUGAR, SALT, HONEY, CORN STARCH, FRUCTOSE, WHEY, DEXTROSE MONOHYDRATE, MONOSODIUM GLUTAMATE (FLAVOR ENHANCER), TOMATO POWDER, CHEDDAR CHEESE, (CULTURED MILK, SALT ENZYMES), ONION POWDER, BUTTER (CREAM, SALT), BLUE CHEESE FLAVOR, BUTTERMILK SOLIDS, MALTODEXRIN, YELLOW 5 LAKE, YELLOW 6 LAKE, GARLIC POWDER, PAPRIKA EXTRACT, NATURAL FLAVORS (CONTAINS CELERY), SOYBEAN OIL, LACTIC ACID, CITRIC ACID, SODIUM PHOSPHATE, ENZYME MODIFIED BUTTER OIL, YELLOW 5, YELLOW 6, AUTOLYZED YEAST EXTRACT, THIAMIN HYDROCHLORIDE (VITAMIN B1), DISODIUM GUANYLATE, DISODIUM INOSINATE
by piltdownman | 2025-07-24 15:25:42+00:00
Add your card to your Google Wallet, and then use NFC from your phone for contactless payment. In Ireland the tap limit on a card is €50, but uncapped AFAIK using the same card via your Google Wallet.

Fintech banking like Revolut that comes with a separate IBAN and physical/virtual cards are helpful in such scenarios as well.
by firefax | 2025-07-24 15:25:43+00:00
The algorithm that powers Google Search is called Pagerank -- it gives weight to sites linked to by big sites.

Without that reputation data, you have to fall back to the style of searching we did in the 90s: using operators like AND or NOT, negation (Eg "Star Wars -jedi" for information about the missile defense program).

I'm not a Google fan but their search is good in the sense it accurately and quickly returns your results.
by frollogaston | 2025-07-24 15:25:45+00:00
I semi-daily drive a DuoSelect Quattroporte, but usually in light traffic. The clutch-eating problem is sorta inherent to the car. First off, it uses extra clutch to smooth out shifts in non-sport mode, and you don't always want sport mode because it stiffens the suspension a lot. But even in sport, you can't always get it to behave predictably. So given an experienced driver with both cars in city traffic, the DuoSelect will eat clutch faster than a stick. Some install an aftermarket box (Formula Dynamics) to improve this, but still.

Idk how the Ferraris are different. They're lighter at least. Think they also have a different version of the "Superfast" software.

Anyway... I do engine-brake it. The real brakes appreciate not having to stop that limo by themselves.
by baseballdork | 2025-07-24 15:26:46+00:00
That wasn't my takeaway from that comment.

> Your body adjusts its metabolism based on the amount of food you eat as long as it's not chronic.

Suggests that your metabolism is changing, as though your body becomes more or less efficient at burning calories because you're eating more or less. Instead, these guys eat a huge surplus of calories and then go into a deficit to get back to their standard weight.
by quickthrowman | 2025-07-24 15:28:05+00:00
One 120V 2.2kW generator isn’t going do much at all. It’s really actually 1.8kW which is 15A at 120V.

You’d need to tow around a 7.2kW 240V for 30A at 240V (more likely a 14.4kW generator for 240V 60A).

Using the small Honda inverter generator (which is amazing for plenty of stuff!) is akin to covering your car in solar panels to get range extension, the math just doesn’t work out.
Show HN: LLMs suck at writing integration code… for now
by sfaist | 2025-07-24 15:28:07+00:00
Hi HN! Stefan here from superglue and today I’d like to share a new benchmark we’ve just open sourced: an Agent-API Benchmark, in which we test how well LLMs handle APIs.

We gave LLMs API documentation and asked them to write code that makes actual API calls. Things like "create a Stripe customer" or "send a Slack message". We're not testing if they can use SDKs; we're testing if they can write raw HTTP requests (with proper auth, headers, body formatting) that actually work when executed against real API endpoints and can extract relevant information from that response.

tl:dr: LLMs suck at writing code to use APIs.

We ran 630 integration tests across 21 common APIs (Stripe, Slack, GitHub, etc.) using 6 different LLMs. Here are our key findings:

- Best general LLM: 68% success rate. That's 1 in 3 API calls failing, which most would agree isn’t viable in production

- Our integration layer scored a 91% success rate, showing us that just throwing bigger/better LLMs at the problem won't solve it.

- Only 6 out of 21 APIs worked 100% of the time, every other API had failures.

- Anthropic’s models are significantly better at building API integrations than other providers.

Here is the results chart: https://superglue.ai/files/performance.png

What made LLMs fail:

- Lack of context (LLMs are just not great at understanding what API endpoints exist and what they do, even if you give them documentation which we did)

- Multi-step workflows (chaining API calls)

- Complex API design: APIs like Square, PostHog, Asana (Forcing project selection among other things trips llms over)

We've open-sourced the benchmark so you can test any API and see where it ranks: https://github.com/superglue-ai/superglue/tree/main/packages...

Check out the repo, consider giving it a star, or see the full ranking at https://superglue.ai/api-ranking/.

If you're building agents that need reliable API access, we'd love to hear your approach, or you can try our integration layer at superglue.ai.

Next up: benchmarking MCP.
by jgon | 2025-07-24 15:28:34+00:00
It's not an ad-hominem. When people are talking their book, you should know that they're talking their book, and that knowledge doesn't have to negate any sound points they're making or cause you to disregard everything they're saying, it just colors your evaluation of their arguments, as it should. I don't think this is controversial, and seeing that comment flagged is pretty disheartening, adding context is almost never a bad thing.
by nightski | 2025-07-24 15:28:54+00:00
I feel you are precisely making the opposite point. Athletes eat more because of their energy expenditure. The same happens with people trying to lose weight. It dramatically increases your hunger making a cut that much harder.

I've found that engaging in simple activities like walking is a sweet spot for weight loss. Anything more rigorous and I just can't do it. But that is very anecdotal and may not apply to many people. I would not say I have the strongest willpower when it comes to hunger, especially when stressed due to work or life.
by 90s_dev | 2025-07-24 15:29:08+00:00
> Most software today is crappy. Do you really need all the bells and whistles? Probably not.

I agree that most software today is bloated, but I wouldn't say crappy. There are legitimate reasons to choose bloat, for example using SDL or Electron to speed up development and have easier portability. But for some reason I do strongly enjoy writing and using minimalist software. That's why I removed C++, SDL and other libs from my app (hram.dev) and just used C, native Win32 APIs, and D3D, getting it down to 1.4mb and speeding up compilation a lot. So projects like this always appeal to me, and I love seeing different ways we can be minimalist without sacrificing too much functionality or convenience.
by abound | 2025-07-24 15:29:24+00:00
This intuitively makes sense (like deep-frying a JPEG), but it doesn't seem to happen in practice, as modern models are frequently trained on text both output from other models, and curated from other models.

Realistically, going forward model training will just need to incorporate a step to remove data below some quality threshold, LLM-generated or otherwise.
by hyper57 | 2025-07-24 15:29:32+00:00
Also Hunter S. Thompson:

> If you type out somebody's work, you learn a lot about it. Amazingly it's like music. And from typing out parts of Faulkner, Hemingway, Fitzgerald - these were writers that were very big in my life and the lives of the people around me - so yea I wanted to learn from the best I guess.
by Karawebnetwork | 2025-07-24 15:29:32+00:00
> Removing Red Tape and Onerous Regulation Ensure that Frontier AI Protects Free Speech

Yet at the same time,

> Preventing Woke AI in the Federal Government [...] LLMs shall be neutral, nonpartisan tools that do not manipulate responses in favor of ideological dogmas such as DEI. [...] DEI includes the suppression or distortion of factual information about race or sex; manipulation of racial or sexual representation in model outputs; incorporation of concepts like critical race theory, transgenderism, unconscious bias, intersectionality, and systemic racism; and discrimination on the basis of race or sex. [1]

I don't understand how free speech can be protected while suppressing topics such as "unconscious bias" and "discrimination".

[1] https://www.whitehouse.gov/presidential-actions/2025/07/prev...
by dinfinity | 2025-07-24 15:29:46+00:00
> The WHO did not word it badly, it was the accepted knowledge back then.

Bullshit. I already showed how they were careful in the rest of their wording in your own source. 100% efficacy was never 'accepted knowledge'.

> Why is that on me? You tried a stab at antivax whackos and it backfired

Bullshit. The base rate fallacy was and is very present. The misinterpretation I referred to made sense to mention: It is a very commonly known recent and relatable example of the base rate fallacy. You made it a tribalistic ad hominem in your own head.

> you casually remark that its the low efficacy of the vaccine, not being unvaxxed, that causes the majority of people who end up hospitalized.

I did not say this at all and you still do not understand the base rate fallacy. A larger percentage of the unvaccinated people were hospitalized than of the vaccinated. There were just generally way more vaccinated people.

> Maybe we should have worked on a vaccine with better efficacy (hey, let me dream up the impossible, maybe immunity like with the measles vax where 99% ppl actually can't get sick at all) instead of harassing unvaccinated people?

See, now there we go. The mention of the Covid-19 vaccination triggered this frustration and made you decide to inject it where it did not belong and keep your mind closed to the math and science surrounding this. The math does not care about your feelings and is what it is. Accept it.