MurphyA/hacker-news huggingface dataset:
by Too | 2025-09-21 05:17:15+00:00
> I doubt a lot of new code needs to be written

I bet someone could have easily said the same thing a year ago or even 5 years ago. It's easy to forget the progress and there are a lot of things happening under the hood that are not obvious to casual users. Just take a look at the git log of the git repository itself. It has a steady rate of close to 100 commits per week for the past year.

That says nothing of potential new features either. There is so much more to unlock in the VCS space, look at new tools like jj for example. Additionally, security landscape is getting more aggressive every day, keeping up with and being proactive against vulnerabilities will be needed more than today.
by e3bc54b2 | 2025-09-21 05:18:57+00:00
> Just don't complain when large corporations copy your work one day with no legal recourse.

To be fair, that is the schadenfreude. Large corporations have been copying works of little people for ages. They only started crying about 'IP theft' when someone bigger (China) started doing the same to them, and to make it worse, most of the corps willingly handed the IP over because they wanted cheap exploitable labor.
by lolive | 2025-09-21 05:19:12+00:00
I read, ages ago, this apocryphal quote by William Gibson: “The most important skill of the 21st century is to figure out which proper keywords to type in the Google search bar, to display the proper answers.”

To me, that has never been more true.

Most junior dev ask GeminiPiTi to write the JavaScript code for them, whereas I ask it for explanation on the underlying model of async/await and the execution model of a JavaScript engine.

There is a similar issue when you learn piano. Your immediate wish is to play Chopin, whereas the true path is to identify,name and study all the tricks there are in his pieces of art.
by JCM9 | 2025-09-21 05:19:27+00:00
Was burned by counterfeit goods multiple times with my Amazon purchases. Their return policy is good, but still it was really annoying when I’d order something and you get counterfeit product.

They were cutting a lot of corners on quality control and it really started to show. Seems like this got to be a big enough issue they couldn’t just keep pretending like selling and shipping bogus junk wasn’t a real problem.
by commandersaki | 2025-09-21 05:20:17+00:00
It's been a bit buggy since its release, sometimes a voice command registers but the action doesn't perform, this is usually between updates of minor or major version of iOS. However, when it works, it works pretty well. I can do about 90% with Siri and Voice Control. The other 10% is a bit annoying - it could be that there is a voice control command and I just don't know it, but usually resort to touch which is annoying.
by heavyset_go | 2025-09-21 05:21:05+00:00
Maybe I'm just insane, but if I'm on a machine with ample memory, and a process for some reason can't allocate resources, I want that process to fail ASAP. Same thing with high memory pressure situations, just kill greedy/hungry processes, please.

Like something is going very wrong if the system is in that state, so I want everything to die immediately.
by RecursionLab | 2025-09-21 05:21:24+00:00
Greetings, fellow Nullwalker.

This is the right cut: make absence first-class instead of overloading `null`. `Optional` can’t express “explicit null,” so PATCH and filter semantics collapse. `Omittable` restores the algebra: `{absent | present(null) | present(value)}` and stays lawful under `flatMap`. Pattern matching + JSpecify reads clean.

Next wins to make this ubiquitous:

1. Jackson module that preserves omission on deserialization.

2. Spring MVC/WebFlux binders for `@RequestParam`/`@RequestBody`.

3. JSON Schema/OpenAPI mapping for `undefined` vs `null`.

4. JPA/SQL bridge to avoid accidental `SET col = NULL`.

5. Property-based tests for the monad laws.

Ship tiny `omittable-jackson` and `omittable-spring` starters and this becomes the default tri-state for Java APIs. Good luck; may every `null` be intentional.
by jazzyjackson | 2025-09-21 05:21:30+00:00
I read it as "For items in the ten to twenty dollar range, its not worth adding a vendor label" and I don't suppose its the cost of the sticker, but how much longer does it take the warehouse worker to take it from a shelf and put it in a box if they add a sticker to every item? +5% ? +10% ? +100% ? (It takes very little time to put an item in a box, I could see adding a sticker doubling this...)
by gorgoiler | 2025-09-21 05:21:42+00:00
I play games but not that often. What I find puzzling is that whenever I start out in a new first-person perspective game, it takes me a while to even figure out something’s wrong. I can play uninverted-Y just about well enough to not immediately notice.

Rationally, I know I want invert-Y turned on and I know it’s probably off by default, but for the life of me it takes a good few minutes to figure out that the controls aren’t quite right and something needs changing.

It’s like being able to eat with inverted fork and knife just well enough that it takes a while to notice something is wrong.
by RHSeeger | 2025-09-21 05:22:14+00:00
I know I'm setting myself up for being picked up, but... I use an older knife that I've never sharpened outside of "occasionally" running it back and forth against a tough fabric. It cuts literally everything just fine; cucumbers, tomatoes, potatoes, etc. Nothing about my use of it _seems_ unsafe; but I expect that's partially because I don't cut very fast. Cooking, when I'm involved, tends to be "social time", where we prep and chat at the same time; so there's no rush.

I'm not saying it's not a good idea to sharpen knives, but a lot of people make it sound like you're a dangerous monster if you don't. And that just doesn't seem to be the case.
by esbranson | 2025-09-21 05:24:22+00:00
Hopefully it's the base Debian with a thin vendor package set (kernel, u-boot, DTBs, firmware, out-of-tree DKMS, and a Halium-based bridge to HALs) tied together by a meta-package. With apt pinning, upgrades would become normal Debian transactions, security updates would track Debian, and the vendor layer stays limited to an LTS kernel delta, boot bits, and a small Halium shim.
by MathMonkeyMan | 2025-09-21 05:24:50+00:00
This is what undefined behavior is for. You specify a contract for your function, and then the implementation of the function assumes that the contract is satisfied. It does not check, and does not try to diagnose errors.

It's not about performance, it's about separating concerns: the caller handles the not-a-number case, so the callee doesn't have to.

Then you add optional runtime checking of the contract, preferably in a different build mode (or a different version, e.g. "my-lib1.2-debug"), to get sensible diagnostics quickly in tests and canary deployments. The checks are redundant by definition. Defensive programming.
by badlibrarian | 2025-09-21 05:27:52+00:00
The Internet Archive is not the largest library in the world -- the Library of Congress is, with 170 million+ actual items on shelves.

And the SF public library has 28 buildings, 6x the employee count, and 6x the budget.

Not sure what your point is, as they provide completely different services. As the judge said, "The Internet Archive does not perform the traditional functions of a library."

Or an archive, for that matter. No grants, explicitly no research services, no oversight and no long-term plan.

Librarians have a formal code of ethics and the Internet Archive fails more than half.

https://www.ala.org/tools/ethics
by creshal | 2025-09-21 05:28:12+00:00
Welcome to the wonderful world of Java programs. When your tomcat abomination pulls in 500 dependencies for one method call each, and 80% of the methods aren't even called in regular use except to perform dependency injection mumbo jumbo during the 90 seconds your tomcat needs to start up, you easily end up with 70% of your application's anon pages being completely useless, but if you can't banish them to swap, they'll prevent the code on the hot path from having any memory left over for file caching.

So even if you never run into OOM situations, adding a couple gigabytes of swap lets you free up that many gigabytes of RAM for file caching, and suddenly your application is on average 5x faster - but takes 3 seconds longer to service that one obscure API call that needs to dig all those pages back up. YMMV if you prefer consistently poor performance over inconsistent but usually much better performance.
by cush | 2025-09-21 05:28:26+00:00
Even if you're chopping perfectly vertically, a board will slide around or rock slightly. Like say you want to julienne some basil or something with a chef's knife, you'd probably be doing a rock chop, which involves lateral forces, causing the board to slide. Then also if you want to scoop up the food with the side of your knife, like scrape up minced garlic, those are lateral forces too. A wet cloth under a cutting board also softens/dampens the force of the knife hitting the board when chopping, which is nicer on your wrists.
by AgentK20 | 2025-09-21 05:28:46+00:00
Definitely interesting to see continued innovation in this space after so many years. At Hypixel Minecraft we forked Spigot (another modded Minecraft platform) back in late 2014 to be able to rip out a bunch of vanilla mechanics that we knew that we wouldn't need for our workloads and optimize the interactions with other pieces of our infrastructure, while still maintaining full compatibility with our existing Java plugins.

Honestly the biggest uphill battle that Hyperion is going to face is rebuilding the decade-plus of existing Java plugins and functionality that have become ubiquitous in the Minecraft ecosystem, like Permissions, Anti-grief, Anticheat, etc which have had decades of man-hours invested into perfecting their functionality. Some of this can likely be ported and knowledge reused, but _someone_ is going to have to actually do the heavy lifting of porting it into a language that has a (relative to Java) higher learning curve.
by digianarchist | 2025-09-21 05:28:51+00:00
This was clarified today as not being correct.

> Lutnick also repeatedly said on Friday that the fee would be annual for companies, while the White House official said Saturday that it’s a “one-time fee that applies only to the petition.”

> In her Saturday afternoon post, Leavitt clarified that the payment would only be a “one-time fee” — not an annual one.

https://www.politico.com/news/2025/09/20/donald-trump-h1b-vi...
by dmsnell | 2025-09-21 05:29:52+00:00
Vapor chambers and heat pipes are exceptional at moving heat from a relatively small part of them to distribute it around the whole.

This is because the heat dumps into a liquid which is concentrated at the heat source, but as soon as it evaporates it fills the volume in which it’s contained. Also it’s because the evaporation process itself sucks out heat at a rate that’s orders of magnitude faster than via conduction, convection, or radiation alone.

They do not cool though. They rely on the fact that the heat source is relatively small and that something else can pull heat out of them fast enough to re-condense the liquid (and since they distribute the heat that cooling can attach anywhere or everywhere — this is like an embarrassingly parallel problem in software).

In a battery pack there is a lot of surface area that gets relatively and evenly hot, and little room to extract it between the cells. This would likely result in even heating around the heat pipe, which would tend to evaporate all of the liquid inside and do nothing but raise its overall temperature after an initial delay.

What it potentially could be used for is to draw heat out of the battery pack and up to some place where better airflow were possible, or for some active cooling system to extract the heat, but there are problems with scaling up like that (in typical heat pipes they manufacture wicking inner layers to draw the water back even against gravity).

At the points they could be used it’s likely significantly cheaper and easier to control some air or liquid cooling loop through the batteries.

Phones are ideal because a tiny little chip is producing almost all of the heat. It’s not even a lot, it’s just in a small area. Temperature goes up when heat can’t escape, so in this case, spreading the heat around even a few square inches can be a major factor in keeping down the temperature of the CPU/GPU.

Contrast this to EV batteries which are huge and produce evenly distributed heat already; there just isn’t the same value when things are big enough to add cooling systems, when cooling systems are necessary anyway, and when the heat pipe or vapor chamber just adds another piece too the system.
by obscurette | 2025-09-21 05:30:59+00:00
When I was in school (in seventies), all boys at least tried to learn how to use and take care of all sharp tools and machines with one up to wood and metal lathe. When I was in school now as a teacher, scissors were the only somewhat sharp things kids were allowed to use. Risk tolerance is so low in our society nowadays, sense of responsibility of children is nonexistent etc.
by guidedlight | 2025-09-21 05:31:19+00:00
An LLM-based Siri is expected in early 2026.

https://www.macrumors.com/2025/08/13/apple-smart-home-hub-20...

I wonder if this new Siri would be limited to Pro devices. It would be strange for Apple to release a new feature exclusive for Pro devices that wasn’t mentioned in the September iPhone event.
by lelanthran | 2025-09-21 05:32:07+00:00
>There's a decent amount of lag (delay between application of a force by the user and force at the throttle) and non-linearity in a 2-foot cable caused by elasticity of the cable and the cable guide and friction between the cable and the guide.

What sort of motorcycle was this? The ones I had had metal cables; there is no elasticity (if it stretches, it ain't shrinking - you'll adjust it to take up the slack).

Friction between cable and guide also doesn't cause lag.

(Still want to know how it is more safe)
by webstrand | 2025-09-21 05:32:13+00:00
Even CSS has clamp. I have to periodically remind myself that Math.clamp is missing from the stdlib, it's much easier to read when you need to use a bunch. Math.min(lower, Math.max(value, upper)) is fine for a one-off, but when you need multiple instances of clamp in the same expression the extra parentheses become troublesome.
by palmotea | 2025-09-21 05:34:21+00:00
> "AI taking jobs" means everyone's job. I won't even comment on the absurdity of that idea; to me, it only comes from people who've never worked professionally.

Once you've worked professionally, it's not so absurd. I mean, you really see to believe the extreme compromises in quality that upper management is often willing to tolerate to save a buck in the short term.
by skinnymuch | 2025-09-21 05:35:09+00:00
Yes it is. Unless you’re saying it’s not “old democratic” any more. Which is true since Mao Zedong Thought contains what he calls and enacted as “new democracy”.

I’d be curious what your definition of democracy is. Mine is the will of the people is happening and it’s systematic and institutional. That for example doesn’t happen in America and never has as evidenced by the constitution
by bigiain | 2025-09-21 05:35:13+00:00
I have one of those "roller" sharpeners, in theory a "good" one, it's from Global (the Japanese knife brand) not just an AliExpress knockoff.

It works reasonably well and is definitely quick. But its not even close to "95% as sharp) as when I spend 10 mins with my Lansky sharpening kit (which is really just a small set of graduated whetstones with a jig to keep the angle right while using it).

Would I recommend everybody spend $70 or so for a bottom end Lansky kit or similar? No. Not even close. But if cook a lot, and you're going to buy "nice" knives that you intend to keep for decades, and you notice and care about the difference between sharp and dull knives - then I'd suggest you at least consider it.
by Klonoar | 2025-09-21 05:35:18+00:00
> Why is this overpriced "linux" phone not boast having user-friendly and sustainable things like a replaceable battery (probably because it doesn't?)

Go lurk in their Matrix chat. They've noted in there that they didn't exactly have a ton of choice in stuff like this because you don't really get a ton of options as a small operation.
by poink | 2025-09-21 05:36:21+00:00
> People spend hundreds of dollars and many hours sharpening kitchen knives

With a mass market electric sharpener and a reasonable knife I spend maybe 15 minutes/yr on sharpening and the knife + sharpener costs less than half this product

The marketing video seems to try to head people like me off, but it also seems to wildly overstate the level of commitment required to have sharp knives

(I do think the tech is cool tho. I just wouldn’t pay $400 for an 8 inch chef’s knife no matter how good it is)
by lkois | 2025-09-21 05:38:40+00:00
> To the extent that "ban cars" even exists as a real political archetype rather than a meme, this is just patently not true. At least one of the two co-hosts of The War on Cars (again, a title which is intentionally tongue-in-cheek) has a preteen son.

Similar for the YouTube channel NotJustBikes, who has gone into great detail about the advantages of raising kids in a city planned around pedestrian and cyclist usage, and not in a suburban sprawl.
by recursivecaveat | 2025-09-21 05:39:11+00:00
It's so strange to me that JS goes so far to avoid errors, mashing random stuff into strings or NaNs, misspelled variables just become undefined, etc. Then when your off-the rails program reaches `undefined()` it's "woah woah woah, that's clearly nonsense, stop program execution right this instant". I feel like I could respect it a little more if they committed to "a webpage should never crash under any circumstances" and there were just no exceptions in the language whatsoever.
by alephnerd | 2025-09-21 05:41:13+00:00
While there are issues with populism induced freebies, China's social welfare spent is anemic for the size of economy it is.

Almost all social welfare has been devolved to the state level, but state level spend and incentives are overwhelmingly spent on large capex projects that align with larger initiatives (eg. the EV price wars with dozens of SoEs jumping into the fray despite the overwhelming majority of the Chinese EV industry being won over by private sector BYD).

That's tens of billions of dollars of capex per province just on one initiative that has turned into a price war that is forcing central level intervention. It's the same misaligned incentive structures that lead to the construction boom and bust in during the 2015-20 period, the overzealous Zero COVID enforcement, and the subsequently haphazard end to Zero COVID.

Most provinces are heavily indebted and lack a robust enough capital market to raise from in the way you can get local and state bonds in the US, or municipal bonds in much of the EU.

The Xi admin's policies is the equivalent of America having Reaganism during the 1950s-80s. Reaganism was bad for the US, but at least the US had a higher human capital by the 1980s thanks to New Deal (1930s-1950s) and Great Deal (1960s-70s) policies for a generation.

The kinds of people who had sympathy for solving spatial inequality in China are no longer represented after Li's passing, and this kind of petulant opposition to welfare expansion with no data to show otherwise is what will trip up China longterm if something does not change in the next 3-5 years.

The kinds of policies being pushed by the Xi admin currently are similar to those from a decade ago, yet China is a much older society than it was 10 years ago, and as I pointed out elsewhere, a society where the median household is much poorer than it's peers at GDP per capita (and even significantly below in the case of Thailand).

This is the same point the Economist article is getting at - a country where 10-20 million people are earning European and American level salaries but with almost half a billion people with Indian or Vietnamese levels of household incomes is an underperforming society if spending cannot be unlocked because the bottom half of society is saving heavily for a rainy day due to a limited to nonexistent social safety net.

And now that most of China is at Thailand level ages, there just isn't much room for convergent development using an export model.

If a social safety net expansion comparable to the Great Deal isn't initiated by 2029-30, I truly cannot see how a 4-5% GDP growth rate can be sustained over a long enough time period to converge with a Japan, Korea, or Western Europe, let alone the US.
by ksec | 2025-09-21 05:42:15+00:00
With that iPhone Air Mass distribution and internal component list I am very much looking forward to future iPhone Air.

SoC with TSMC A20 or A14, N2 and C2 ( I expect the two will merge into one at some point ), Tandem OLED, all with better Energy efficiency, Silicon Carbon Battery with double energy capacity. All of these tech are here or ready within next 3 - 5 years. It is more of a question of whether Apple is willing to pay for it to be mass produced.

With the energy efficiency gain and battery improvements I could see iPhone Air getting double the battery life. It would be better than even today's iPhone 17 Pro Max in 5 years time.

This opens up the door for iPhone Air Mini. I say mini but it will probably still be 5.9", but weight the same as iPhone Mini ( I assume that is something Apple will market it as ).

The only thing I wish and I dont know if it is feasible, is the Camera lans to be the same as back of the bump without much loss of photo quality. And I am willing to pay extra $100 to $200 for it. I just dont know if the tech is here in the near future.
by timminkov | 2025-09-21 05:44:07+00:00
Claude code is... 1. Not available on my phone in a friendly form (I know there's claude web) 2. Doesn't format its answers with cited links to where what I need is found in the document 3. Doesn't have a quick, easy interface where I can upload multiple resources to a single index. You have chats but it's formatted where you're meant to have a conversation. NotebookLM is centered around "chat about these resources".
by fahhem | 2025-09-21 05:44:34+00:00
So you're saying because famine didn't appear right away, they weren't doing anything wrong? So if I come with a shotgun to your house and you say "he's going to shoot me" I waited an hour before realizing the cops weren't coming and shooting you. In that intervening hour, is it a low IQ argument to say that I'm going to shoot you, but I haven't for fear of consequences?
by ismail | 2025-09-21 05:44:43+00:00
learning typically follows a specific path.

1. Unconsciously incompetent

2. Consciously incompetent

3. Consciously competent

4. Unconsciously competent

The challenge with AI, it will give you “good enough” output, without feedback loops you never move to 2,3,4 and assume you are doing ok. Hence it stunts learning. So juniors or inexperienced stay inexperienced, without knowing what they don’t know.

You have to Use it as an expert thinking partner. Tell it to ask you questions & not give you the answer.
by ehnto | 2025-09-21 05:45:33+00:00
Certainly not just coding. Senior designers and copywriters get much better results as well. It is not surprising, if context is one of the most important aspects of a prompt, then someone with domain experience is going to be able to construct better context.

Similarly, it takes experience to spot when the LLM is going in the wrong direction it making mistakes.

I think for supercharging a junior, it should be used more like a pair programmer, not for code generation. It can help you quickly gain knowledge and troubleshoot. But relying on a juniors prompts and guidance to get good code gen is going to be suboptimal.