MurphyA/hacker-news huggingface dataset:
by RyanOD | 2025-07-24 19:10:08+00:00
Doesn't this have something to do with Elon not really having an interest in running a car company?

Much of Tesla's massive valuation is based on everything it's trying to do...not what it's currently doing. I've always thought Elon sees the future of Tesla in one of two ways. Either they deliver on all their other projects and justify the massive valuation (and it then goes even higher) or they just end up being a car company and Elon walks away.
by bubblyworld | 2025-07-24 19:10:13+00:00
It is quite literally an ad-hominem, in that it is aimed at the person, not the argument. The issue isn't that more context is bad (I agree with you, it's useful), it's that as a policy for a discussion board I think allowing this kind of thing is a bad idea. People can be mistaken, or lie, and comments get ugly fast when it's personal. Not to mention the fine line between this and doxxing.

(e.g. here, the OP has claimed that they do not in fact have a vested interest in AI - so was this "context" really a good thing?)
by procaryote | 2025-07-24 19:10:38+00:00
You're right that it's easy to out-eat the running you can sustain as a regularly fit person, but there's no "only" about 2000 calories

2000 calories is pretty near the daily calory requirement for a healthy weight human. If you are of healthy weight and eat appropriately, you pretty much have to eat twice as much to compensate for that marathon
by lossolo | 2025-07-24 19:10:51+00:00
Yeah, it looks like CTF like POC, not what I would call reasonable code by any measure:

https://github.com/StalkR/misc/blob/master/go/gomium/exploit...

The tight goroutine loop that flips one variable between two different struct types just to win a race is not something a typical developer writes on purpose. The trick to "defeat" compiler optimizations by assigning to a dummy variable inside an inline function. Carefully computing the address difference between two slices to reach out of bounds, then using that to corrupt another slice’s header. I mean calling mprotect and jumping to shellcode is outright exploit engineering, not business logic and it's not part of the attackers payload.

Chances of exact PoC pattern showing up in the wild by accident is basically zero.
by MITSardine | 2025-07-24 19:11:13+00:00
This has been my reaction in Oslo. I saw so few cars I thought they might be banned (but I don't think that's the case). Additionally, a great deal of cars in Norway are electric already. From what I can gather, 95+% (!!) of new cars bought in Norway are electric, and 30+% of cars as a whole.

Combine the two and it feels like walking in the middle of a Covid lockdown.
by MoreQARespect | 2025-07-24 19:11:16+00:00
I dont think tests and types are the same "thing" per se - they work vastly better in conjunction with each other than alone and are weirdly symmetrical in the way that theyre bad substitutes for each other.

However, Im convinced that theyre both part of the same class of thing, and that "TDD" or red/green/refactor or whatever you call it works on that class, not specifically just on tests.

Documentation is a funny one too - I use my types to generate API and other sorts of reference docs and tests to generate how-to docs. There is a seemingly inextricable connection between types and reference docs, tests and how-to docs.
by adrianwaj | 2025-07-24 19:11:22+00:00
I doubt AI is actually intelligent or artificial, it's more like Attempted Insertions.

Can it train on your own code or work to give results that make more sense? At least with more control, you can have better expectations. In other words, how can you be sure it'll never get ill? Does it learn about each user to give you what you want? Does it conform to you or vice versa?

Is there a proof-of-work coin that can be used to handle the processing load? It's like a guilty pleasure right now. What'll be the long-term costs and risks of dependency? At least by reading from a human directly, there's that chance of a meaningful connection.
by r_p4rk | 2025-07-24 19:11:49+00:00
Powerlifting does not take as many calories as you'd think. In fact, lifting in general is surprisingly easy on the calorie requirement, so most powerlifters and bodybuilders incorporate cardio as part of their routine. You will burn a lot more calories by walking 10,000 steps a day for 1 month than you would doing an intense lifting session each day.

The reason you're probably thinking as to why lifters eat a huge amount is precisely because they're already large and muscular. Just 5% less bodyfat at the same weight results in roughly 200 more calories at maintenance for someone that is around 93kg.
by Dylan16807 | 2025-07-24 19:11:53+00:00
It was your example, I was just trying to stick within it. I'm not intentionally adding constraints "on top". I'm just saying that "cook longer" is outside the scope of my response.

I disagree that the edge temperature difference would be trivial. The difference between the last 20 degrees in the middle coming out of the edges while they also lose heat to their surroundings versus making the edges even hotter as you continue cooking is quite a lot.
by renewiltord | 2025-07-24 19:11:53+00:00
Disabling GC is wildly inefficient without making sure you don't have garbage because allocation will slow down the application to human scale. The magic is more in the no-allocation code than in the disable GC side. It is very annoying in Java because any non-primitive is boxed type. Object pools etc. Problem is it's easy to start in Java, but then you hit a wall. JNI has huge overhead. Exasperating. But hard to argue, sometimes if you don't start in Java you never get the problem because you never manage to bootstrap.
by tavavex | 2025-07-24 19:11:56+00:00
I'm not sure how exactly Steam pays local taxes, be it a Canadian third party that siphons the extra money for them or if they just send each region the tax money, but either way the money is flowing abroad at some point. Then there's individual transactions. If you need to internationally send someone money and the payment processors say no for any reason, you're largely SOL. I guess you can mail cash directly, while that still exists. But my point that you can basically only go either through Visa/MC or through crypto stands, even though I don't particularly love either.
by bgirard | 2025-07-24 19:11:56+00:00
> Identifying a representative usage scenario to optimize towards and then implementing that scenario in a microbenchmark test driver are both massively difficult to get right, and a "failure" in this regard, as the author found, can be hard to detect before you sink a lot of time into it.

I can vouch for this. I've been doing web performance for nearly 15 years and finding clear representative problems is one the hardest parts of my job. Once I understood this and worked on getting better at finding representative issues, it became the single thing that I did to boost my productivity the most.
by ludwigschubert | 2025-07-24 19:12:10+00:00
I’m not disagreeing, but the magical difference to me seems that Apple _users themselves_ decided ahead of time to trust Apple, whereas _the developer_ would make the decision to trust a third party? (My more jaded view is that such arguments are merely rationalizations, and that in 90% of these cases it’s mostly about which stack the people building an app have previous experience with… even though they explicitly claim the decision was made on technical grounds. ¯\_(ツ)_/¯)
by harrisi | 2025-07-24 19:12:12+00:00
I don't understand how this would work. If the government created some entity to handle processing payments (or whatever), I assume it would be a publicly funded non-profit, since there is precedent for that. How much funding does it get? Where does that money come from? How does it compete with the existing massively powerful corporations? What incentives does the government entity have to compete? What happens if it goes bankrupt or is purchased? What happens to whatever capital was used to fund it?

It just seems like the government entity would need to actively engage with seeking profits or just existing to artificially lower costs. I don't think the majority of people would want the government to have a for-profit arm that exists to compete with businesses, and I don't think corporations would just play nice.

I'd say that USPS is the closest example of this, and it's a pretty good example of how things can go wrong as well. The active attack against the postal service to try to privatize it is terrible. It will do nothing but continue to isolate power to the ultra wealthy and make people's lives worse. For-profit corporations and the government just have (or ought to have) fundamentally different incentives to exist.

I'd be curious to know of any examples of this working well. I don't mean to be so antagonistic, I just am really struggling to understand how this could work in any way.
by CamperBob2 | 2025-07-24 19:12:12+00:00
There's no point making stuff public if the public doesn't benefit, though.

Good example: a neighbor and I are negotiating to move our property boundaries. I used AI just this morning to handle some geometric calculations and what-if scenarios that would otherwise have taken days of back-and-forth interaction with the surveyor (who will of course still be needed to verify and certify the results.) Saved everyone concerned a lot of time and effort.

This was possible because everything from surveying textbooks to math tutorials to Python code was ganked wholesale by OpenAI. Without asking anyone's permission first... which would, of course, have been summarily denied.

Would I be better off if I had been forced to study surveying, Python, and geodesic math myself? I don't think so. Or to pay the survey company to answer a lot of naive questions, which is not where they add the most value? I don't think so. And is there any value in letting private entities hold a government-sanctioned monopoly on the training material used by the AI? Again: I don't think so.

Copyright is not a natural right. It's something we pulled out of our asses, very recently at that. It can just as easily go back where it came from. AI will better serve us all, at the end of the day. (Yeah, yeah, I know, it's a cookbook...)
by mmmBacon | 2025-07-24 19:12:48+00:00
The overhead cost of a fab is fixed. So hard to understand why that would have such a wide variance. It may be true that the facility hasn’t been fully amortized so in principle it’s more expensive to make chips there. I can understand it being more expensive for many reasons. However I wouldn’t expect the cost difference to have a large variance. 5-20% is a very large range if the yields are comparable.
by phkahler | 2025-07-24 19:13:00+00:00
>> Intel might still run fabs, but they'll be mostly contracting them out to people who want cheap ASICs and 10 year old fab tech.

Intel fabs have never had to be as cost effective as others. They were selling top end chips for top dollar for decades. I bet there are 10 other companies that can make 45nm chips cheaper than Intel can on their old equipment. I could be wrong.
by lotyrin | 2025-07-24 19:13:04+00:00
From what I could gather while I was inside (2010-ish, but not directly involved with chip product lines) there was just incredible hubris company wide. "Intel Architecture is the best because we made it and we're the best" essentially.

They were wasting a ton of time and effort eagerly trying to convince Apple to put IA into phones despite obvious failures to deliver power-effective chips (Atom being the result of these efforts from what I understand). They were spending a lot of time and money trying to start up like a junk ware app-store thing for PCs that they could use OEM relationships to peddle, as if the PC ecosystem belonged to them the way that Android did to Google or Apple's ecosystem to Apple, not realizing that if anyone has that power it's Microsoft (but they also don't).

It was pretty shocking coming from a hacker/cyberpunk culture where everybody had been dunking on Intel designs for over a decade. (I personally had been waiting for an ARM laptop since around 2000.) A lot of leadership I got to interact with were business/people-people types that truly seemed to believe that the best product boiled down entirely to social perception of status and has zero basis in reality. Basically the company seemed to be high on the Intel Architecture's accidental monopoly over personal computing thanks to PC-WinTel becoming so dominant (and Apple's later capitulation) and seemed to believe that it was all because of their "genius" Intel Inside marketing campaigns (which were pure social status signaling, but with an effect of avoiding price competition with lower-cost IA rivals AMD,Citrix,VIA and holding power over OEMs rather than being responsible for the market situation around IA in the first place).

Maybe something in the Hillsboro/Beaverton area's water? Both they and Nike seem to entirely consist of a diet of their own farts.
by 9rx | 2025-07-24 19:13:09+00:00
Oh...? Dart never gained much steam. And let's not forget about Carbon! Can you name even just one person who has tried Carbon? Have more than a handful of people even heard of Carbon?

I will grant you that Carbon is still in its infancy, but when Rust was in the same youthful stage we never heard an end to all the people playing with it. You, even if not tried it yourself, definitely knew about it.

You've made up a fun idea, but reality doesn't support it. Google has not shown its weight carries anything. They have really struggled to get any for-profit business units off the ground since they gained the weight, never mind their hobbies! If anything, Google is detrimental to a project.
by SirMaster | 2025-07-24 19:13:21+00:00
How exactly can your body adjust that much though? There is some minimum baseline level of calorie burn to stay alive and keep your body temp etc.

If you workout enough calories that exceeds the minimum baseline to keep you alive, the body can't adapt below that or adapt into the negative.

For a 200 lb man, jogging for 2 hours burns like 2000 calories, so that's 12,000 a week for 6 times a week.

What's the lowest a body will adapt to slow it's baseline metabolic rate? I am reading that the BMR can only reduce by like maybe 15-20% due to body adaptation.

This would put their baseline calorie burn at around 1500, and then if they are burning ~1700 a day from their jogging, they can eat 3200 a day to maintain or 3000 to even slowly lose weight over time, which is a decent amount that you can have a pretty fun "diet" of what you consume IMO.
Show HN: Papertoy: run a Shadertoy shader as an animated Wayland wallpaper
by trashburger | 2025-07-24 19:13:47+00:00
Hi HN! This is a project I did a while back in a late night coding session to learn about Wayland and how it works with EGL/OpenGL. You can give it a path to a GLSL shader that expects the Shadertoy API (uniforms/inputs etc.) and it will render it to the Wayland display of your choice. Try it out and let me know what you think!
by oooyay | 2025-07-24 19:14:01+00:00
I really loath that part of this industry; I spent over a decade in it and the only tangible thing I've taken away from it is that the problems these philosophies and practices set out to solve are derivative of two things:

- Infrastructure is very often fundamentally disconnected from the product roadmap and thus is under constant cycles of cost control

- The culture of systems administration does not respond well to change or evolution. This is a function that is built around shepherding systems - whether at scale or as pets.

Long way of saying the gamut isn't that corporations will ever be free of systems administration any more than they'll be freed from software engineering. It is far easier to optimize software than it is to optimize infrastructure though, which is why it feels like someone is coming after you. To make matters more complex, a lot of software today overlaps with the definition of infrastructure.
by bArray | 2025-07-24 19:14:26+00:00
> The author has an I2C temp sensor next to a giant MOSFET.

Yeah... It's either overkill, or there is some decent power going through it and it will affect thermal measurements anyway. Not to mention what it might do to the reference voltage.

> [..] mentions I2C is bit banged [..]

They possibly bit banged it? But it wouldn't have been needed given the hardware support...

> [..] yet completely left out circuit schematics [..]

Yeah, which is far more important that anything else.

> [..] which incidentally includes freewheel diode for the fan.

This may have been sensible to be fair, especially if you happen to rapidly change the delta PWM signal, you could end up with a decently sized back-EMF. But I think even better would be to sink it into something, rather than back into the power supply of sensitive components...

> PCB getting in the way isn't going to matter in this instance.

Agreed.
by somerandomqaguy | 2025-07-24 19:14:38+00:00
Eh, possibly, but I suspect it's not just money.

https://apnews.com/article/gun-violence-shootings-new-york-c...

Visa and Mastercard were getting pressure from New York officials to put firearm purchases into their own category, something that the gun control advocates say could help stop potential mass shooters by red flagging large gun purchases. The initiative was stopped by Republican politicians and other lobbyists.

https://apnews.com/article/mastercard-visa-guns-second-amend...

Paypal IIRC also won't process payments for anything firearm related.
by jajuuka | 2025-07-24 19:14:43+00:00
There is a developer who is working on a multiplatform app to report ICE as well and they made a response too. ICEBlocks dev just immediately blocked them. So clearly they don't take criticism well and would rather believe Apple marketing. Or maybe want to hide a lack of knowledge about Android development.

It's not a problem if they just want to make an iOS only app. Your skillset is your skillset. But to push misinformation to justify it is just arrogant.
by reverendsteveii | 2025-07-24 19:14:55+00:00
I'm 5'6", 165lbs, I bike 6-8 miles every day and do resistance training 6 days/week. I also have limited myself to 1800 cals/day and at least 130g protein. For two years I was biking 6-8 miles every day, doing resistance training and maintaining 210lbs which, at my height, is bordering on clinical obesity. If you could be healthy just by training and eating what you want I would have done it twice.
by kube-system | 2025-07-24 19:14:55+00:00
>Consumer reports found that HEV's were the most reliable, and PHEV"s the least reliable. That's nonsensical, there's little difference between the two.

Eh, it's not so much nonsensical, as it is that you're just misinterpreting the data.

This conversation here is specifically about powertrain reliability, but that isn't what consumer reports measures. They measure complaints about any feature on the vehicle, including ancillary accessories unrelated to the vehicle's ability to transport people.

But also as you point out, shitty engineering (Stellantis's specialty) is a bigger issue than any particular drivetrain type.
by JohnBooty | 2025-07-24 19:15:03+00:00
OK. So you believe that the credit card industry really really really wants to be in the business of moral policing.

I, on the other hand, have experiences with payment processing for NSFW material, and based on these experiences my understanding is that the CC industry doesn't particularly want to be in the moral policing business, but avoids NSFW stuff because of legal and profitability concerns. However, as an outsider I admittedly have no direct insight into what actually happens inside the CC industry.

So my question to you is -- what are YOU basing your opinion on?
Show HN: A tiny (480 LOC) AI coding assistant for your shell
by n_kr | 2025-07-24 19:15:14+00:00
Hi HN. This is a script I have been using for some time for coding tasks, which I have polished a bit and published.

The motivation behind this script was to have an agent with persistent session which I can use from the shell like a regular command. It _can_ also be scripted, although I don't use it in such a way.

The script uses a minimal prompt, which just tells it to use standard unix tools to do everything. I was surprised at how well it worked, when using a good model. Qwen3-coder is on openrouter, and it works well with the minimal instructions. I also tested qwen2.5-coder with ollama and that works well too.
by Beijinger | 2025-07-24 19:15:20+00:00
Maybe.

>>Random User-Agent Switcher >Don't bother. User agent spoofing is easily detectable and it's trivial to figure out your real user-agent based on js implementation differences or TLS fingerprinting.

JS is blocked by default on my browser.

>Canvas Blocker >Font Fingerprint Defender

> Also easy to easy to detect because randomized values will put you in the bucket of "uses privacy extension"

Hm. How are they going to detect it is randomized? They would have to identify me first again as the same user and then conclude I randomize these values.
by signal11 | 2025-07-24 19:15:38+00:00
Being able to release safely during the week is super important for eg financial services, for fairly obvious reasons.

In trading and market making contexts for instance, we release 100s of times a day — including Fridays. This includes bog-standard infra changes like roleswaps and server rebuilds. The releases that happen on weekends tend to be highly disruptive infra changes, eg unexpected changes to some kind of physical connectivity where we’re not comfortable with carrying weekday risk.

We didn’t explicitly set to to optimise QoL for engineers (the real driver for safe intraday change was being responsive as a business) but not usually being on call on weekends was a big plus.
by simonw | 2025-07-24 19:15:46+00:00
> If someone released an open source software that immediately replaced the software you were working on and you lost your job, what then?

WordPress did that to the commercial CMS industry. Linux did that to the commercial Unix industry (RIP, Sun Microsystems).

> That's what people are hoping AI is going to do to us

I think those people are full of crap, and I mostly ignore them.
by no_wizard | 2025-07-24 19:16:02+00:00
>YouTube is 20 years old now. Either the encrapification is very slow or they landed on a decent ad model.

Have you seen how many ads are in a video on YouTube? On desktop its no issue, but I use the YouTube app on my Apple TV now and then, and I tried to watch a few relatively short video, and I saw easily 4-6 ads per video, some of which were 90+ seconds long. Its awful
by anthk | 2025-07-24 19:16:12+00:00
Spawn vi or nvi (nvi2 under OpenBSD, it has unicode). Then, press [esc] and run: :viusage [Return] [Esc] :exusage[Return] Now you know the basics. Viusage: keyboard commands while in editing mode. Exusage: typed commands for the command (:) mode.
by mwest217 | 2025-07-24 19:16:23+00:00
For high level endurance athletes, eating enough can be a difficult task. I wouldn’t quite categorize diets like the one described in https://www.nytimes.com/2018/02/23/sports/olympics/cross-cou... as “a bad diet”, but it’s certainly a quantity and density of calories that would make it a bad diet for most people with a normal energy expenditure.

An anecdote from my experience with long trail hiking is that essentially everybody loses weight hiking long trails for months. Turns out when you’re hiking 25-30 miles / day, it’s awfully hard to not be in a calorie deficit (especially when you’re also trying to optimize for lightweight food)