MurphyA/hacker-news huggingface dataset:
by Zanfa | 2025-08-26 06:32:35+00:00
Most manufacturers just don't give a shit. Had the exact same experience with a well-reviewed Acer laptop a while back, ended up getting rid of it a few months in because of constant annoyances, replaced with a MacBook Air that lasted for many years. A few years back, I got one of the popular Asus NUCs that came without networking drivers installed. I'm guessing those were on the CD that came with it, but not particularly helpful on a PC without a CD drive. The same SKU came with a variety of networking hardware from different manufacturers, without any indication of which combination I had, so trial and error it was. Zero chance non-techy people would get either working on their own.
by bayindirh | 2025-08-26 06:33:26+00:00
> I would want the ability to change that. I actually think I can mess with that on my car.

Yes, generally you can disable on demand, but Volkswagen now sells the feature as a subscription. So you need to pay to enable. Maybe this is because it reduces the lifespan of the LEDs. Who knows.

> handicapping it for emissions reasons.

Volkswagen sells you another subscription for that now, at least for their electric vehicles. You can buy the option if you want your EV to perform as it's designed.

Emissions is a completely different beast. However their 140HP and 170HP TFSI engines had no different parts rather than the mapping.

Manipulating engines in a way which alters their carbon footprint is a sensitive topic, and while I was positive towards diesel systems, the particulate matter they emit, the fog they cause (see Paris photos, it's eye opening) and German engineering at its finest (i.e. Dieselgate scandal) soured me from diesel's automotive applications, big time, permanently.
by gf000 | 2025-08-26 06:33:43+00:00
Sure, but I think that people often fall into the trap of imagining a problem that nicely fits a RAII model, where each lifetime is statically knowable. This is either due to having a specific problem, or because we decided on a specific constraint.

Java is used in HFT (well, there are two types of "high frequency", one where general purpose CPUs are already too slow, where it obviously doesn't apply (neither do rust or c++)) - but sure, I wouldn't write a runtime or other piece of code in Java where absolute control over the hardware is required. But that's a small niche only. What about large distributed systems/algorithms? Why is Java over-represented in this niche (e.g. Kafka, Elasticsearch, etc)?

> And at the point where you’re relegating Java to being “business” logic, there’s plenty of languages that are better suited for that in terms of ergonomics.

That's subjective.
by dang | 2025-08-26 06:34:02+00:00
It's possible the phrase "personal attack" means something a bit different to you than to me, because otherwise I don't think we're really disagreeing. Your good intentions are clear and I appreciate it! We can use a different phrase if you prefer.

I'd just add one other thing: there's one word in your post here which packs a huge amount of meaning and that's seemed (as in "seemed to be coming from a place [etc.]"). I can't tell you how often it happens that what seems one way to one user—even when the "seems" seems overwhelmingly likely, as in near-impossible that it could be any other way—turns out to simply be mistaken, or at least to seem quite opposite to the other person. It's thousands of times easier to make a mistake in this way than people realize; and unfortunately the cost can be quite high when that happens because the other person often feels indignant ("how dare you assume that I [etc.]").

In the present case, I don't know anything about the experience level of the user who posted https://news.ycombinator.com/item?id=45011628, but https://news.ycombinator.com/item?id=45011442 was definitely posted by someone who has managed heavy-duty web facing services, and that comment says more or less the same thing as the other one.
by IshKebab | 2025-08-26 06:34:07+00:00
> Validating JSON with third party runtime libraries like zod is only necessary because JSON doesn't support schemas though.

No this is completely backwards. First of all, JSON Schema exists. Second libraries like Serde and Pydantic aren't schema validators; they are parsers. They parse strings (or sometimes dynamically typed JSON) into statically typed objects that you can actually use in your program. That's what you should use.

A program that uses a separate schema validator and then blindly trusts the result is badly designed. There's even a name for this mistake - "parse don't validate" (you can Google it).

> With JSON you have to know the shape of requests supported, the shape of data returned, and how to use that data to make other requests.

Obviously. XML doesn't magically avoid the need for API documentation! I'm wondering if you've ever actually used XML at this point....
by Fordec | 2025-08-26 06:34:33+00:00
The better alternative? Dunno. An alternative is iPhone and just take some of the benefits that comes with it. It's been a much more closed ecosystem from the start, but it's owned it. Google had a competitive advantage over that but they seem intent on throwing those advantages away with no foreseeable other upsides.

In development, working on completely other problem spaces to mobile development at all. It's not 2012 anymore and there are other noteworthy growth areas to spend time on.

But one think in the short term was tonight I just spent some hours migrating registered accounts away using a Gmail account to Proton.
by jacquesm | 2025-08-26 06:34:36+00:00
I think that's a bit harsh. The bulk of the Raspberry Pi audience has no idea of the Broadcom connection. They're kids (like mine) who are looking for a cheap computer to do their hardware hacks with. And a Raspberry Pi Pico is very hard to beat for the money, they're ~5 bucks here single quantity, and far more powerful than Arduinos (and cheaper!).
by thisisit | 2025-08-26 06:35:21+00:00
I always surprised that people defending these tariffs don't see the conflicting defenses.

The default defense comes from Trump who has - since 1980s has pushed for tariffing other countries to raise government revenue. The idea being - America drives lot of market demand. This seems to ignore basic economic facts. Importers pay tariffs and also that corporates are all about profit maximization.

Companies might eat some of the tariffs in short term but they will always reduce costs in long term. That means jacking up prices slowly, finding ways to circumvent tariffs, using low cost - maybe even harmful but unbanned substitutes in products to name a few. Even the domestic company has a reason to hike up prices just below the price of imported goods. And also, because there is less competition domestic company might even reduce R&D because they can continue to rake in profits from local markets.

The second defense is around domestic companies. I don't think anyone will disagree that each country needs to protect its most crucial domestic industries. But in those cases tariffs ae a precision tool, not a hammer. Tariffing everything doesn't make sense except it goes back to original defense - the point is to raise revenue.
by sakjur | 2025-08-26 06:35:21+00:00
> But suppose we accept that the XDG specification only applies to some Unix operating systems, despite making no mention of this.

the very first paragraphs on specifications.freedesktop.org says this:

> Freedesktop.org is a project to work on interoperability and shared base technology for free-software desktop environments for the X Window System (X11) and Wayland on Linux and other Unix-like operating systems. > We are not a formal standards body. The standards published on these pages are active or tentative (if marked as such) specifications which desktop environments may implement to improve mutual compatibility, share code and pool resources.

Deferring to XDG_CONFIG_HOME on MacOS if it exists makes a lot of sense as it conveys a clear intent from the user and the convention has grown popular. I’m not sure that the default ~/.config from the XDG specification is automatically better than ~/Library/Application Support by appeal to freedesktop.org’s authority.

And please don’t move configuration files around between releases without really being intentional about it.
by chvid | 2025-08-26 06:35:30+00:00
I don't think there is a single thing you can point to. But overall Apple's hardware/software is highly optimized, closely knit, and each component is in general the best the industry has to offer. It is sold cheap as they make money on volume and an optimized supply chain.

Framework does not have the volume, it is optimized for modularity, and the software is not as optimized for the hardware.

As a general purpose computer Apple is impossible to beat and it will take a paradigm shift for that for to change (completely new platform - similar to the introduction of the smart phone). Framework has its place as a specialized device for people who enjoy flexible hardware and custom operating systems.
by gitaarik | 2025-08-26 06:36:16+00:00
I think his proposal to use "per" instead of "they" actually makes a lot of sense, because "they" is very confusing in a lot of contexts, because it's a word already used for another function. I don't see how you perceive that as something negative.

The quote about pedophilia is concerning indeed, but I think that rather stems from ignorance about the issues than promoting pedophelia. It's easy to shit on such things and wokely dismiss someone's entire opinion, which I find a bit weak.
by brokenmachine | 2025-08-26 06:37:20+00:00
On aliexpress, search for "demolition heating" and there are really cheap ($5 or so?) heating plates that I believe are used for removing SMD LEDs.

Not sure why they'd need to remove SMD LEDs, but whatever.

They are "PTC" which means they top out at a certain temperature, usually 260 degrees.

I would recommend using an inline fuse holder for some semblance of safety though.

One of these, a lamp cord, some solder paste and a toothpick, and you can easily assemble SMD boards.
by ChiefNotAClue | 2025-08-26 06:37:21+00:00
Are there any utilities that have progressive rates electricity rates? Where the first X kWh are $0.12/kWh, the next Y kWh are $0.15/kWh, and then anything over Z kWh are $0.18/kWh, etc?

Though it seems that nowadays, much of that cost goes to taxes and fees, rather than electricity rate itself.
by godelski | 2025-08-26 06:38:02+00:00
Spammers leave a message because they hear something and their bot starts talking. So it is worse than if I just don't answer.

But legit people, they just hang up. That's also a worse situation than not answering because in that case they'd have left a message. (this is hit or miss. Sometimes they leave a message. But 0 times have they actually responded to the screening)
by JdeBP | 2025-08-26 06:38:07+00:00
Ring mains are parallel, not series. Which means that more than one thing going out is a clue to where the fault is, and an indicator that the job is definitely per the regs one for a qualified electrician. Conversely, only one device going out points the other way. Although IP-rated fittings inside one of the zones is still a qualified electrician job.

But bringing a mains powered non-IP-rated portable substitute into the room in the interim is a truly terrible idea. The regs also specify that there's a minimum distance that stuff should have from baths, sinks, showers, cisterns, and whatnot; and that they should not be reachable at all by a wet human being.

I'll wave this at you:

* https://electricalsafetyfirst.org.uk/guidance/safety-around-...

And you in turn wave this at your landlord:

* https://electricalsafetyfirst.org.uk/guidance/advice-for-you...
by bullen | 2025-08-26 06:38:19+00:00
The solution is easy, stop developing for (selling on) closed platforms:

You now have options for cheap (less than $200) portable low energy devices:

1. PineTab-V, a linux on Risc-V tablet. (Got debian a few months back, still waiting for proper GPU support, usable but slow now)

2. uConsole, a linux cyberdeck with optional 4G. (Also has debian for 2711, 2712 and 3588 Compute Modules)

I'm not porting my games to Android, iOS, Switch or PlayStation. Only Windows/X86 and Linux/ARM+Risc-V.

No Linux/X86 to not encourage power waste after Windows gets too expensive to run on the client side.

I'm selling on itch instead of steam.

You only need Android for banking, and Nokia G22 (repairable) is/was also sub $200.

I am now creating a new Google account for each phone, that way you are not the product any more.

But can still operate in society.
by blueflow | 2025-08-26 06:39:41+00:00
Follow the link to the XDG spec, look who is the 3rd author. There is no reason for MacOS or the BSDs to implement a systemd spec. A specific example: XDG_RUNTIME_DIR is a feature of pam_systemd and nothing else.

This is a recurring pattern that systemd documentation is sold as "neutral" standard. The UAPI group is another example of this.
by benjoffe | 2025-08-26 06:40:47+00:00
This article dives deep into a topic I find very interesting, even if it’s not immediately useful.

If you don't have time to read, you may want to quickly check "Appendix A" for the “Smoitus” chart to see visually how the timezone alignment systems works, and "Section 5: Equation of Time (Smoital System)" to see how well this system tracks solar time.
by tomhow | 2025-08-26 06:41:32+00:00
Please avoid commenting combatively on HN. Swipes like "white knight" can be avoided, and care should be taken to observe the guidelines, especially these ones:

Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.

Comments should get more thoughtful and substantive, not less, as a topic gets more divisive.

When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3."

Please don't fulminate. Please don't sneer, including at the rest of the community.

Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.

https://news.ycombinator.com/newsguidelines.html
by rickdeckard | 2025-08-26 06:41:37+00:00
I think there is also still room to legally require a common SW-layer with respective documentation to utilize features of underlying hardware (optional without the shipped OS on top, disconnecting the device from the shipped ecosystem).

This would also make sense in order to prevent e-waste and put this old hardware to better use.

It's crazy to think how much computing power is just added to a drawer or landfill every day, just because there is no reason for the vendor to allow you to repurpose it.

I would e.g. LOVE a "Browser on everything" OS which just provides a Browser OS for outdated hardware, but the only way this could work on scale would be if the device-vendor would be mandated to provide and document the lower layer...
Show HN: I built AI Agents that automate comprehensive due diligence on stocks
by clark-kent | 2025-08-26 06:42:12+00:00
A big part of the workflow of investors in individual stocks is doing research and due diligence on companies. Without proper and thorough due diligence an investor may be flying blind in their investment decisions. Due diligence is so time consuming and tedious, many investors don't do it.

Doing due diligence involves reading a lot of documents (10Ks, 10Qs, 8Ks, earnings call transcripts, etc.) and analyzing years of financial statements. You also need to research key executives - their biographies, compensation, tenure, etc. Analyzing this amount of information leaves room for missing key information.

The AI Agents follow the best practices for a thorough and comprehensive due diligence on stocks. You can also set the agents to repeat this on a recurring basis like every week or month. Great for monitoring a stock you are looking for an opportunity to buy or a stock you already own.

See full details on the blog post here: https://decodeinvesting.com/automated_due_diligence_and_stoc...

You can try out the agents here: https://agents.decodeinvesting.com/
by jacobolus | 2025-08-26 06:42:32+00:00
The Script Editor logo used to be a physical paper with the AppleScript logo printed on it correctly, but seen at an angle in perspective (so the AppleScript logo was tilted as a result), with a pen on top.

When they switched from the original physical-looking icons, whichever designer drew the new one wasn't paying attention and apparently didn't understand the physical context of the previous logo and they screwed up the revision by keeping the (now-nonsensical) tilt.

https://web.archive.org/web/20101207035423if_/http://upload....
by buovjaga | 2025-08-26 06:43:08+00:00
It's a pity that there is no clear way to send takedown requests. We didn't ask for deceptive garbage to be generated as documentation for LibreOffice, but here it is and newbies are discovering it: https://deepwiki.com/LibreOffice/core/2-build-system (spoiler: LibreOffice has never used Buck as a build system)
by cedilla | 2025-08-26 06:44:57+00:00
Stallman actively hurts the cause with his behaviour. I'm not only talking about his eccentricities, but also the adversarial and combative language. Yes, Amazon is trying to swindle us, but few people will be convinced of that when you start your argument by calling the kindle an "Amazon swindle" every time, directly implying that anyone who has one is an idiot or even malicious.

Yes, it's unfair that someone can be 100% correct but people won't listen to them because of their appearance or mannerisms. But whining about that unfairness is unproductive. People will never listen to someone who can't stop themselves from eating stuff from their foot in public.
by dlcarrier | 2025-08-26 06:45:43+00:00
Those are county rules, but every county has the same ones. I don't know if a cities could make leaner rules, because I've only ever seen them make them stricter.

It's crazy that picking up garbage is so universally a government enforced monopoly that every county seems to have independently required it. The county runs the dump, but anyone could transport garage with minimal capital, so the garbage company doesn't have the same monopoly excuse that other utilities have, yet I can chose from three cellular phone providers but legally only one garbage pickup service can serve my address. Not only that, but if the property is occupied and service is available, I'm legally required to pay for service, whether I use it or not, and if I don't pay for it, even if I'm not using it, it'll be added to my property tax bill, and if I don't pay it there, the county will auction off my house to pay for it.

I heard that east-coast mafias had something to do with the over-the-top levels of cronyism involved, but I don't see how it's spread to every county in the west coast.
by pjmlp | 2025-08-26 06:48:30+00:00
They tried with the PS/2 MCA architecture, but naturally everyone ignored them.

Nowadays Microsoft could easily do it, they aren't fully into it, because they managed to botch themselves the whole WinRT/UWP and Windows 10X transition, had they made it in a way that most Windows developers would join the party, and the outcome would look much different.

Windows 11 sandboxing already requires MSIX and store distribution to be fully enabled, they only have to slowly keep turning the knobs on Windows 12 in whatever form it shows up, eventually.
by bullen | 2025-08-26 06:48:54+00:00
This too.

You can only stream 720p out at 20 FPS from my 2711 though, so it only seems to decode well = watching/consuming media. (the future is producing)

The 2712 can stream out 720p at 40 FPS. (CPU)

The 3588 can stream out 720p at 60+ FPS. (CPU)

Edit: HL2 runs at the "same" FPS on each (sometimes 300+ on 3588)...
by floppiplopp | 2025-08-26 06:50:03+00:00
It's not just the UK, but the whole of Europe. With the rise of literal neo-nazi parties like reform uk, the german afd, the french front national, and whatnot out there, widespread surveillance legislation will be turned against freedom and democratic opposition by the emerging far right extremists when given power. A tech-fueled fascist surveillance state, who thinks that's a good idea?
by jillesvangurp | 2025-08-26 06:50:26+00:00
I recently upgraded from an M1 mac book pro 15", which I was pretty happy with, to the M4 max pro 16". I've been extremely impressed with the new laptop. The key metric I use to judge performance is build speed for our main project. It's a thing I do a few dozen times per day. The M1 took about four minutes to run our integration tests. I should add that those tests run in parallel and make heavy use of docker. There are close to 300 integration tests and a few unit tests. Each of those hit the database, Redis, and Elasticsearch. The M4 Pro dropped that to 40 seconds. Each individual test might take a few seconds. It seems to be benefiting a lot from both the faster CPU with lots of cores and the increased amount of memory and memory bandwidth. Whatever it is, I'm seriously impressed with this machine. It costs a lot new but on a three year lease, it boils down to about 100 euros per month. Totally worth it for me. And I'm kind of kicking myself for not upgrading earlier.

Before the M1, I was stuck using an intel core i5 running arch linux. My intel mac managed to die months before the M1 came out. Let's just say that the M1 really made me appreciate how stupidly slow that intel hardware is. I was losing lots of time doing builds. The laptop would be unusable during those builds.

Life is too short for crappy hardware. From a software point of view, I could live with Linux but not with Windows. But the hardware is a show stopper currently. I need something that runs cool and yet does not compromise on performance. And all the rest (non-crappy trackpad, amazingly good screen, cool to the touch, good battery life, etc.). And manages to look good too. I'm not aware of any windows/linux laptop that does not heavily compromise on at least a few of those things. I'm pretty sure I can get a fast laptop. But it'd be hot and loud and have the unusable synaptics trackpad. And a mediocre screen. Etc. In short, I'd be missing my mac.

Apple is showing some confidence by just designing a laptop that isn't even close to being cheap. This thing was well over 4K euros. Worth every penny. There aren't a lot of intel/amd laptops in that price class. Too much penny pinching happening in that world. People think nothing of buying a really expensive car to commute to work. But they'll cut on the thing that they use the whole day when they get there. That makes no sense whatsoever in my view.
by chabad360 | 2025-08-26 06:51:04+00:00
I think the one really useful suggestion here is at the end of the article. Having some way for the compiler to know that a struct satisfies a particular interface, and thereby create a fast path that sidesteps reflection would be marked performance improvement (and avoid the need for caching).

TBH, anything that can make interface casting faster/more efficient in go would be a welcome improvement.
by Leo-thorne | 2025-08-26 06:52:01+00:00
I’ve always found Firefox’s / quick find feature incredibly useful. But having to click on a link after selecting it always felt awkward and interrupted my flow. This little tweak is brilliant because it removes that extra step with just a few lines of code. If browsers allowed links to activate automatically once selected, navigating with a keyboard would feel so much smoother. I sincerely hope that becomes a standard feature one day.