MurphyA/hacker-news huggingface dataset:
by naikrovek | 2025-07-24 15:14:57+00:00
what is "processed" versus "highly processed" versus "ultra processed"?

the way these things are described feels very much like people are using a dowsing rod to find where to dig a well, or something. mumbo-jumbo.

I'm sure even "super ultra giga processed" foods are fine for you so long as you don't eat a lot of them. I'm not even sure that "processed" is bad at all. I don't want to eat raw cashews, I'll die (as will anyone else) I want those processed by cooking. Is pre-cooked food "processed" or "highly processed" or "ultra processed" or something else? all of the above; it depends on who you ask.

I don't know of any level of "processed" which is bad, I just know that if you consume 10k calories per day and only burn 3k, you're going to gain weight, level of "processed" probably doesn't matter. And I think that's all this study is saying: unless you're extremely active, you can't burn 10k calories a day, your body really limits how many calories you can burn in a day unless you are physically working enough to actually turn that amount of energy into physical work.

anyway, yeah. i immediately distrust anyone that starts mentioning "processed" or "highly processed" or "ultra processed" because I don't think those are defined. I think they're speaking entirely on vibes which are not quantitative.
by duxup | 2025-07-24 15:15:04+00:00
The American medical system is full of middle men between me and anyone who might care about me. Drug middle men, insurance companies, potentially ambulances, even the large medical groups that people who directly provide me care work for ... I have no idea who does what, what financial things are at play, and I feel like it changes so fast I couldn't possibly keep up.

Other than simply not ever getting medical care, I can't even choose to not do business with these groups who have zero vested interest in me being healthy but are more in-control of the care I get than I am.

Even the people who directly provide me care don't seem to know.

Everything is a moving black box that seems ripe for shenanigans.
by 2color | 2025-07-24 15:15:05+00:00
There's a `loadOrCreateSelfKey` function which you can use to load the key from a persistent datastore (fs).

It's documented here: https://github.com/libp2p/js-libp2p/tree/4420fad686921f88785...

I'll be sure to update the docs to include an example in the config docs.
by raw_anon_1111 | 2025-07-24 15:15:06+00:00
You didn’t answer the question - are you a minority?

Do you also think Hispanic people who are here legally should have a chat with a bunch of ICE agents to change their hearts and minds?

If you are White, would you go out of your way to reach out to someone who belongs to a group who actively hates White people? I’m not naming a specific group even though I’m sure they exists because I honestly have no idea what groups they are and I would no more spend energy trying to change their minds either. If anyone in my family said anything that was outright racist or homophobic I would check them also.

My dad (now 83) on the other hand did slightly change his opinion on sexuality when he had to admit that one of his nephews were gay. But even then on a macro level he isn’t going to be waving a Pride flag around and he still thinks being gay is a moral sin that is going to damn a person to hell.

It’s just like a White guy I was friends with for years on a personal level, I had no doubt that if I needed him or if he saw someone harassing me or my family he would take out one of his many guns and defend me.

But once Trump came on the scene and I saw some of his posts on FB, I realized that he treated me as “one of the good ones” and if I was some random guy that he met on the street he would’ve treated me differently. He went on a racist tirade on Facebook about his daughter dating a Black guy for instance.
by raywatcher | 2025-07-24 15:15:09+00:00
Thanks for bringing this up. We don’t collect personal data or process any PII. We only enrich qualified, high‑intent buyer intelligence, and we do so solely for B2B. Some GTM vendors have experimented in this space, but we focus on AI‑native demand inference with far greater precision and efficiency, while always following strict safety and privacy practices.
by corford | 2025-07-24 15:15:15+00:00
In most cases yes. If you upgrade your browser, the only thing that changes is the user agent data. The underlying device remains the same and it is this that leaks a lot of fingerprinting attributes (screen, gfx card, fonts, timezone, language, operating system, battery status, audio setup, bluetooth, installed video codecs, TCP data, IP address if static etc.).

To get a feeling for this, try: https://abrahamjuliot.github.io/creepjs/ ; https://bot.incolumitas.com/ and https://amiunique.org/fingerprint

Combined with super cookies (https://blog.mozilla.org/en/internet-culture/mozilla-explain...), that's a lot of data points to stitch together a high confidence fingerprint.

Although not perfect, FF is much better out of the box at limiting the leaks than chrome.
by DSingularity | 2025-07-24 15:15:40+00:00
Virtue signaling? What are you talking about. You seem to have an axe to grind.

Cost increase in a single part doesn’t necessarily mean the cost of the device needs to go up. If a CPU costs 120$ instead of 100$ like that of a competing device 300$ device you can always sell yours for 310$ and make less margins. Things have to get subsidized in the short term if we are going to get domestic production up.
by LennyWhiteJr | 2025-07-24 15:15:56+00:00
Yeah, it's included as one of the gradle scripts which fails the build in CI if the rules don't pass.

No template, as it's specific to my team's project, but one example is that we enforce that classes within our core domain don't import types from outside the project. You could accomplish this with separate projects, but that comes with its own complexities. This rule basically says "any domain type shall not import a non-domain type".
by jerleth | 2025-07-24 15:16:06+00:00
The worst part for me is:

> Q: How long do I have to pay the fee?

> You pay the Maintenance Fee as long as you use the project.

What does that even mean? I built one-off apps for small businesses that I never touch again or maybe every 5 years.

Okay, at least paying perpetually for something I don't use anymore is out of question but if I open a solution for a fix I have to check all 80 packages what their current license is and pay them for the month?

No thank you, I'll rather pay for a commercial solution or use something free with a sane license. With a commercial offering at least it's opt-in when I download a new version.

For me that's basically a subscription fee for one-time download.
by teraflop | 2025-07-24 15:16:10+00:00
> The checksums in WAL are likely not meant to check for random page corruption in the middle; maybe they’re just to check if the last write of a frame was fsynced properly or not?

This is the correct explanation. The purpose is to detect partial writes, not to detect arbitrary data corruption. If detecting corruption was the goal, then checksumming the WAL without also checksumming the database itself would be fairly pointless.

In fact, it's not accurate to say "SQLite does not do checksums by default, but it has checksums in WAL mode." SQLite always uses checksums for its journal, regardless of whether that's a rollback journal or a write-ahead log. [1]

For the purpose of tolerating and recovering from crashes/power failures, writes to the database file itself are effectively idempotent. It doesn't matter if only a subset of the DB writes are persisted before a crash, and you don't need to know which ones succeeded, because you can just roll all of them forward or backward (depending on the mode). But for the journal itself, distinguishing partial journal entries from complete ones matters.

No matter what order the disk physically writes out pages, the instant when the checksum matches the data is the instant at which the transaction can be unambiguously said to commit.

[1]: https://www.sqlite.org/fileformat.html
by 0x737368 | 2025-07-24 15:16:19+00:00
I can't take this Luka slander. The guy carried the ungrateful Mavericks team for 6 seasons averaging 35mpg. He's not out of shape. Same thing with Jokic, 10 seasons of 32mpg average. Their mpg also go up in the playoffs.

People need to stop thinking about <10% body fat as the "athletic standard". Some players are super skinny, some players have more mass to them and use it to their advantage.

I do agree with regards to Shaq, the guy coasted in his talent later in his career and let himself go. Had he a better work ethic he could have been in the conversation for one of the greatest players ever.
by asa400 | 2025-07-24 15:16:27+00:00
> Elixir abstracts that away and leaves a ruby-like language that hides much away - which good and fine.

Processes, message passing, and behaviours are all completely first class in Elixir. There's no hiding. `spawn` is `spawn`. `send` is `!`. `GenServer` is `gen_server`. `@behaviour` is `-behaviour(...)`. The entire Erlang stdlib is available directly.

We use processes, messages, and behaviours all the time in regular Elixir work.

Elixir adds a different syntax (note that I did not say better), a macro system, a protocol system, its own stdlib functionality, some better defaults, and a build tool.

It's perfectly fine and reasonable to prefer Erlang (I learned Erlang before I learned Elixir), but for the benefit of other readers, they are really not that different. The distance between Elixir and Erlang is very small. They could almost be seen as dialects.
by jmyeet | 2025-07-24 15:16:55+00:00
I don't think the existence of elite athletes alters the central point: it is vastly to go into calorific deficit by altering diet than increasing exercise.

Running is around 600 calories per hour [1]. A large fries from McDonald's is 480 calories. A can of Coke is 140 calories.

What's easier? Not eating the fries and drinking the Coke or running vigorously for an hour?

When you look at the group who have become morbidly obese, you see diets that reach 10, 20 or 30+ thousand calories a day. You get to 600+ pounds and you actually need like 20,000 calories just to maintain that weight. When such people decide to change, they're often put on a medical diet of ~2400 calories. There is no way they could exercise down to this kind of calorie deficit.

Peple should think of food in terms of how much exercise it is because it becomes impossible to ignore just how much easier it is to alter diet than it is to increase calorie expenditure.

[1]: https://www.mayoclinic.org/healthy-lifestyle/weight-loss/in-...
by RobKohr | 2025-07-24 15:16:59+00:00
I cut out drinks with sugar in them, eating after dinner, and in general just eating healthy meals.

I lift weights about 3 days a week, and am fairly fit strengthwise.

All this lowered my fat levels down to a reasonable level, but still left me with about 23% body fat and a bit of a belly, and that remained consistent. Trying to diet didn't really cause any maintainable change.

What I found has helped is doing a 24 hour fast once a week. This really means just eating one dinner a little earlier (4:30pm) and then skipping breakfast and lunch and drinking water with electrolytes added.

With keeping the rest of the days calorie intake the same, I have shaved off consistently 1 pound a week and 1/2" from my waistline.

This has been going for 5 weeks now, and I have gone from 23% to 19.7% based on navy body fat formula.

What is great is I have no cravings or feelings that I am depriving myself except for the last 8 hrs of the weekly fast. The rest of the week, I eat well.

My plan is to bring myself down to 15% and then continuing to measure. If I get above 15% I fast that week, if I don't then I don't fast, so it basically becomes like a controllable throttle.
by 1234letshaveatw | 2025-07-24 15:17:21+00:00
Do you have any idea how many hours the average person uses their phone? There is no other object that has been a greater detriment to mental and physical health in human history. This is just another instance where someone is willing to push something (only using public transport) on someone else because it fits their viewpoint, but you can't even consider something that would have a similar impact on yourself in return (giving up your phone).
by alistairSH | 2025-07-24 15:17:40+00:00
At a personal level, I can also say that it is flat out hard to eat large amounts of food if you are staying active.

I've never had that problem. When I exercise a lot, my body just starts to crave a higher proportion of calorie-dense foods - ice cream, cheese, breads. The actual volume of food might not go up all that much, but the balance changes.

Of course, "a lot" for me is 10-15 hours cardio/week plus 3-4 hours/week weight training. My baseline is 3-5 hours cardio and the same 3-4 weight training. I only ramp up to 10+ hours cardio if I have a major event planned (100 mile mtn bike race or similar).
by ddorian43 | 2025-07-24 15:17:47+00:00
Note that you have to eat a lot of fat. It's not "high protein", it's "high fat, medium to low protein".

> At any rate, do be aware that human biology is quite diverse and diets that work for one may not work for others.

Only these type of diets may work for the diseases that I mentioned. Like it only works for some types of epilepsy.
by WorldMaker | 2025-07-24 15:18:03+00:00
One option may be to ask your work to electrify a parking spot for you? Depending on the type of company there can be big enough subsidies and tax-write-off capital investments in adding more electric parking spaces that they might do it just for that. (It can be fun to use accounting games in your personal favor.) For other types of companies they may see that as a possible "captive audience" revenue source, with nickel and dime-ing electric charge fees on top of existing parking fees to be a a fun game to play with their own employees whose cars are stuck in the same place for many hours at a time because they "must" be in the office.

Either of those two common types of companies you can possibly "win" an easy way to charge your daily commute.
by 71153750 | 2025-07-24 15:18:36+00:00
I agree. Also age and other activities factor in I'm sure. I suspect you carry your bouldering mat and do some walking to and from boulders.

I think it stands to reason that if we took an overweight person and trained them to eat what you or I eat and then move like you or I move, they'd end up losing weight.

For me though, I know that I can be running say 50km/31 miles a week regularly and that if there is weight loss, it is impercetible to me. But up it with just two more runs and I believe I do start outrunning my diet. Again, this is an n=1 and ignores pretty much every other factor in my life.
by 2OEH8eoCRo0 | 2025-07-24 15:18:39+00:00
Intel made mistakes. TSMC can make mistakes. TSMC is also in geopolitically risky Taiwan. I'm not counting out Intel yet.

They're also very unpopular online so it's tough to find solid unbiased info about them. Like is the stink about 18A true or do people just want to hate on Intel?
by progbits | 2025-07-24 15:19:05+00:00
I'm tired of few jerks trying to police everyone and this "toleration of intolerance".

We can fight back. Any legal and nonviolent response against the "collective shout" people is acceptable. Share your ideas.

If you run a platform and see any of them as users get rid of them. Delete their account, wipe their data, ban them. Don't deliver them pizza. Don't accept restaurant reservations in their name. They think they can police others, it goes both ways.

Realistic? At this point, no. But we should normalize this sort of response. Wannabe bullies should be scared of personal consequences.
Show HN: Product as Code – YAML-based product management for AI coding workflows
by mantcz | 2025-07-24 15:19:49+00:00
I have worked with AI assistants for a while, and while I am really excited about it, there were times when I felt really frustrated. LLM would end up in a loop with no end.

This is when I started experimenting with creating work plans. Initially simple todo list, but it felt like "product vibing", so a bit more sophisticated later on. I started seeing value in it.

The one day it hit me. Why not use the same GitOps principles to managing product tickets? I started playing with that and really liked the way it worked.

After a chat with a friend of mine, I realised that a standard or a spec would be something really useful. You could then create all sort of tooling around this.

I took an inspiration from the way kubernetes yaml are used, cause I find it quite neat.

You can view examples here: https://spec.productascode.org/draft/#sec-Epic-Example-YAML-

Key design decisions so far:

1. YAML over JSON: Human-readable, git-diff friendly, excellent tooling ecosystem 2. Hierarchical structure: Epics → Tickets → Tasks (matches development workflow) 3. Atomic tickets: Each ticket = one branch = one PR (prevents scope creep) 4. ISO 8601 timestamps/durations: Machine-parseable time data

If I manage to create an epic with a bunch of tickets in backlog, then my favourite part of work is to tell Claude Code: "Close the current ticket, and start another one".

Here is the link to the post which has links to draft spec and GitHub repository.

Currently working on v0.1.0 and I would love to hear your thoughts.

https://mantcz.com/blog/introducing-product-as-code/
by dragontamer | 2025-07-24 15:19:59+00:00
As far as fast RNGs available, Imma just plug an old, incomplete, weekend project for ya....

https://github.com/dragontamer/AESRand

Especially because you are already in the AVX domain, a fast AVX RNG that uses like 3 registers should be useful to ya.

....

Yeah I'm pretty sure aesenc these days has more throughout than multiply. (Edit: aesenc, at least a singular round, is largely a 32-bit operation and this has less complexity than a 64-bit multiply. Yeah I know it's over 128-bits but seriously, it's surprising how 'little' AES actually shuffles bits around per round).

If you are fine with an inferior RNG, you probably can skip one or two instructions I did there. But the 'two rounds of AES' seems to be the minimum to pass PractRand or BigCrush.

-------

Today, AES on AVX512 can perform 4x AES in parallel over all 512 bits. But the overall technique I did back then should allow for arbitrary skipping ahead as well. (Ex: thread#0 starts with iteration #0. Thread#1 starts with iteration #1000000. Etc. etc. with consistency because my increment function is simple 64-bit adds, a 64-bit multiply will skip forward easily)

Alas, I don't think AESENC was ever ported to ymm registers and this your choices are 128-bit AESRAND vs 512-bit AESRAND.
by ryandrake | 2025-07-24 15:20:08+00:00
I'd love to see this problem solved too, but let's not do it by nerfing people's ability to charge back. Chargeback is pretty much the only tool consumers have to fight a merchant's fraud and abuse against them, and it's already an opaque, flimsy tool. Also, it only exists by the grace of Visa, MasterCard and American Express. I don't think there is any law that compels them to even allow a customer to dispute a charge (although hopefully I'm wrong about that).
by hajile | 2025-07-24 15:20:13+00:00
There are moves being made to test ships with modern "sails". Here's a paper published about a cargo ship fitted with 4 sails in 2010. The findings are interesting with it achieving up to 25% better fuel efficiency when using the sails.

https://www.stg-online.org/onTEAM/shipefficiency/programm/06...
by ponector | 2025-07-24 15:20:13+00:00
Without the luck you'll not be able to get to the exam room. Lucky to not be disabled, to get an education, lucky to enroll the college, etc.

Almost all success is to have enough luck so there is a place for you. To have a place for you in uni, to have an open internship, to have an open position so you can step up the ladder, etc.
by coryfklein | 2025-07-24 15:20:25+00:00
When I was young there was a lot of fear that first-person shooter video games were leading to a rampant increase in youth violence.

This concern is virtually unheard of today, and I wouldn't be surprised to learn that they actually had a slight effect in the opposite direction: some of those youth getting trouble outside are now indoors playing harmless video games.
by frollogaston | 2025-07-24 15:20:26+00:00
Auto trans downshift is designed for long hills, not downshifting frequently to stop signs etc like you'd do with a stick.

Even with paddles, there's a delay, or it briefly goes neutral, or it doesn't rev-match well. Or you can't double/triple-downshift, which is worse when you have 8-12 gears. Allegedly wears them down faster too, which idk but would not be surprised if it were true given how unhappy it feels.
by fouc | 2025-07-24 15:20:30+00:00
Lately I've been using devbox (nix wrapper) for my homebrew-like needs via "devbox global add <whatever>", for project specific setup I stick with mise (asdf-compatible)."

I don't like homebrew because I've been burnt multiple times because it often auto-updates when you least want it to and breaks project dependencies.

And there's no way to downgrade to a specific version. Real package managers typically support versioning.
by liotier | 2025-07-24 15:20:57+00:00
> Users and companies can force you to continue to work on your project. Otherwise they'll fork it, make it worse, blame you for bugs they introduced in the fork, say that the original project wasn't that good, etc.

How is it bad ? How does it force you to do anything ? It doesn't even interfere with your thing, which will keep scratching the itch your built it to scratch.

That is the whole beauty of free software: no one has any leverage on your project - any cooperation is voluntary !

I've heard so much "you should do this", "you should conform to this standard", "why don't you help me make this thing the way I want it ?", "your thing keeps me from making money with it" etc. Well buddy, I'm grateful for your opinion, and now I'll go do the thing with the people with whom I found shared goals.
by Karawebnetwork | 2025-07-24 15:21:16+00:00
When I treat myself to an expensive bottle as a treat, I go against conventional wisdom and use it at least once to make my favourite cocktails. While I agree that a simple bottle is best suited for cocktails, I can't remember an expensive base liquor ever spoiling a cocktail. For some, this is a waste because the premium taste takes a back seat to the cocktails, but often the result is better due to the subtle flavour profile of higher-quality spirits.
by AdamN | 2025-07-24 15:21:20+00:00
Isn't that why we have government? We have judges to make the final say on right and wrong and what the punishments are for transgressions, legislatures to make laws and allocate money based on the needs of the constituents, and an executive function to carry out the will of the stakeholders.

Clearly there are terrible governments but if it's not government tackling these issues then there will be limited control by the people and it will simply be those with the most money define the landscape.
by rramadass | 2025-07-24 15:21:26+00:00
Your opinion has zero basis in facts and betrays some serious ignorance of Scientific Method. No educated person can deny the importance of Mathematics to our technologically advanced society today. Computer Science is a subfield of Mathematics and Computer Programming is the application of principles and concepts studied therein.

As mentioned earlier, the point of studying Mathematics for Computer Science is to make your "average software engineer" better and more productive than he/she was in the past.

Eugene Wigner's classic essay The Unreasonable Effectiveness of Mathematics in the Natural Sciences is very relevant here - https://en.wikipedia.org/wiki/The_Unreasonable_Effectiveness...