MurphyA/hacker-news huggingface dataset:
by toast0 | 2025-10-12 17:18:18+00:00
> Maybe 1024 FDs was so much at the time when this was designed that nobody considered what would happen if this limit is reached? Or they were working on system where 1024 was the maximum number of FDs that a process can open?

The article says select is from 1983. 1024 FDs is a lot for 1983. At least in current FreeBSD, it's easy to #define the setsize to be larger if you're writting an application that needs it larger. It's not so easy to manage if you're a library that might need to select larger FDs.

Lots of socket syscalls include a size parameter, which would help with this kind of thing. But you still might buffer overflow with FD_SET in userspace.
by thewebguyd | 2025-10-12 17:19:14+00:00
Its wild to me that any car manufacturer would push an OTA update while the vehicle is in motion, or hell, even push one at all instead of having it be user initiated. They didn’t bother to put a simple check in place to make sure the vehicle wasn’t being driven before updating?

And then these manufacturers wonder why people just want them to have a dumb head unit with carplay/android auto. Because they absolutely suck at software and have shown no desire to improve outside of charging people subscriptions for hardware features that are already in the car.
by dannyfritz07 | 2025-10-12 17:19:31+00:00
That is quite a lot of nvim plugins to maintain! I just rewrote my nvim last week with 4 plugins (mini.nvim counts as 1). I feel when I stack up too many plugins the stability and reliability of nvim plummets to an annoying level.

I envy that with emacs you feel you only need 2 plugins. That probably operates with a ton more stability.

https://codeberg.org/dannyfritz/dotfiles/src/commit/b647b440...
by cosmicgadget | 2025-10-12 17:19:41+00:00
I didn't read too deeply but I bet the drivetime failures were because the issue manifested after the vehicle started operating. A rolling FOTA update seems like it would not be certified and would be harder to implement anyway.

This would also mean the A/B failover would need to identify the problem as a bad update rather than a bug that pops up minutes later.
by lyu07282 | 2025-10-12 17:19:44+00:00
Well obvious response, you were defeated thankfully. I think it's ultimately a lost cause because most people will side with humanity once the scale and magnitude of the atrocities committed became impossible to ignore. Even if you manage to wrestle control of Wikipedia by force of the US government and defund every university department that publishes things you don't like, you still won't win because the truth is not on your side, you will use ever more repression and force naturally, but that will by itself turn even more people against you. There is a resiliency to Palestinians that is very inspiring to a lot of people. Free Palestine!
by smt88 | 2025-10-12 17:19:54+00:00
> If you say it was a super hot summer because of climate change

Real scientists don't say that. They always say something like, "This [hurricane/heat wave/whatever] is an example of what climate models predict will be increasingly common."

It's individuals who don't understand the difference between climate and weather that draw those conclusions, and well-meaning news outlets do it a lot too.

It's still fair to say, "Hey, you know this extreme weather we've been having for the last few years? Whether it's caused by climate change now or not, it will be the norm by the time your grandkids are in college."
by bsenftner | 2025-10-12 17:20:14+00:00
Before Cyberpunk became the darling that is has become, there was another sci-fi future with a few authors that imagined a virtual world with magic and sorcery being software, and software developers writing programs that read like incantations. That alternative view of a future chose to construct VR worlds in a medieval style simply because it all fit a theme of fantasy with magic (software.) That version, or school of sci-fi was active in the 70's; which is when I read some of it. It's rich, it's engaging; with good marketing that could all be reimagined.
by jim_lawless | 2025-10-12 17:20:15+00:00
I asked ChatGPT to write a Windows GUI C program that looks for a running instance of the onedrive EXE at regular intervals and terminates it while keeping a running log of the attempts in a scrolling window. It took a few iterations to get what I wanted and it was simple to compile with GCC.

You can use a Powershell to see if onedrive.exe is running and kill it with the -force option to do something similar ( ps * onedrive * | kill -force ) with no spaces between the asterisks and the word onedrive, but that turned out to be a little heavier to have running continuously than I wanted.

If you use a process like this, you absolutely need to run it at intervals because the onedrive exe seems to execute at regular intervals.
by keyringlight | 2025-10-12 17:20:35+00:00
I think it's the curse of windows being attached to a tech company, and a tech company seems to want to keep pursuing cool things™ instead of boring maintenance on a utility. Over the years lots of little extra non-essential functionality has crept into windows to where you could almost compare it with a lightweight linux distro, or that it's hard to draw the line where the OS ends, and then you're getting into territory where everyone relies upon a different subset of what's available which MS has been increasingly able to use to justify adding more 'essential' features for modern computing.
by crazygringo | 2025-10-12 17:21:11+00:00
Honestly, the Google Drive for Desktop app was extremely reliable when Google was managing the files.

Then when macOS provided native support for cloud filesystems, it migrated to that. And it's been a complete mess. Uploads often don't get triggered until you restart the system, exactly what you're describing.

I'm pretty sure they're Apple macOS bugs, not Google ones. Because those kinds of bugs are constant across everything iCloud and Mac, but I don't generally see them on Google-only stuff.
by topdrops66 | 2025-10-12 17:21:47+00:00
In this modern era of AI where everyone is going crazy over it, whether it is the business sector to the healthy lifestyle choices, artificial intelligence has transformed many aspects of our lives. We work on our busy schedules and pay less attention to our meals which leads to unique nutritional challenges such as very less intake of protein, vitamin B12, iron, and other essential nutrients for vegans take out sometime and have a look at a few choices for the Best AI Nutrition Planner for Vegans. Don’t worry, AI-powered nutrition planners are here for personalized solutions.

vegan meal planner AI, vegan nutrition planner 2025, VeganDiet2025, VeganNutrition
by hugs | 2025-10-12 17:22:03+00:00
yes, "there are too many NIPs!" feels like a red herring. at the moment, as a developer, i feel comfortable picking and choosing which NIPs i might want to use for whatever i'm building. but i can also understand why that might be a little confusing/frustrating to others. might be a education/communication issue more than anything else.

both projects are "controlled chaos", where nostr is a little heavier on the "chaos", atproto is a little heavier on the "control".
by buybackoff | 2025-10-12 17:22:12+00:00
I wonder if most complaints are about pre-installed OEM Windows Home (the one with Candy Crush and 10s of other crap, including from a vendor) and bundled crappy cut-off OneDrive? I have Windows Pro and Office 365 Family option (5 accounts, full Office and 1TB OneDrive each). Most user-hidden Windows settings are in Group Policy Editor, or registry still works. OneDrive proper has toggles for every folder (Desktop, Documents, Puctures) discussed in the post.

After I lost 8 months of photos with a phone ~10 years ago, being sure it was all backed to Google Photos, I would rather trust Microsoft, than risk losing data, and now backup to both clouds. The paid Office+OneDrive is great value.

It just works. Yes, defaults are annoying, but could be changed. I recently enabled a blocked-by-default outgoing firewall, and I have much more questions to JetBrains Rider trying to ignore my system DNS setting and so to bypass Pi-Hole multiple times per minute, than to Microsoft.
by IshKebab | 2025-10-12 17:22:16+00:00
Probably the fact that it's a pretty terrible idea. It means you take a normal properly typed API and smush it down into some poorly specified text format that you now have to write probably-broken parsers for. I often find bugs in programs that interact with `/proc` on Linux because they don't expect some output (e.g. spaces in paths, or optional entries).

The only reasons people think it's a good idea in the first place is a) every programming language can read files so it sort of gives you an API that works with any language (but a really bad one), and b) it's easy to poke around in from the command line.

Essentially it's a hacky cop-out for a proper language-neutral API system. In fairness it's not like Linux actually came up with a better alternative. I think the closest is probably DBus which isn't exactly the same.

Maybe something like FIDL is a proper solution but I have only read a little about it: https://fuchsia.dev/fuchsia-src/get-started/learn/fidl/fidl
by nobody9999 | 2025-10-12 17:22:18+00:00
>That's a pretty big assumption that also happens to be wrong. I specifically said "if at all possible" because I'm well aware that plenty of people can't put everything on hold for 30-60 days and have to potentially start over after that's done.

Okay. I've been wrong before, am wrong with this and will certainly be wrong again. My apologies. As such, I hope you never end up in a position where you'll need to consider taking your own advice.

But that doesn't change the overall point -- that sitting in jail for weeks or months, perhaps even years pre-trial will likely destroy most folks' life and livelihood.
by CyanLite2 | 2025-10-12 17:22:40+00:00
I’m saying it is highly likely that the next leap in AI technology will require massive amounts of compute. On the order of tens of billions per year. I’m also saying that there are a small number of companies that would have access to that level of compute (or financial capital).

In other words, it’s is MORE likely that an OpenAI/Google/Microsoft/Grok/Anthropic gets us closer to AGI than a startup we haven’t heard of yet. Simply because BigTech has cornered the market and has a de facto monopoly on compute itself. Even if you had raised $10 billion in VC funding, you literally can not buy GPUs because there is not enough manufacturing capacity in the world to fill your order. Thus, investors know this and capital is flowing to BigTech, rather than VC funds. Which creates the cycle of BigTech getting bigger, and squeezing out VC money for startups.
by olooney | 2025-10-12 17:22:40+00:00
Paine kind of hit the nail on the head with this one:

> "The law is king!"

The 2024 Nobel prize in economics[1] was awarded to a team of three who investigated what causes a nation to prosper and identified "rule of law" as an essential ingredient[2].

[1]: https://www.nobelprize.org/prizes/economic-sciences/2024/pre...

[2]: https://news.mit.edu/2024/mit-economists-daron-acemoglu-simo...
by 9x39 | 2025-10-12 17:22:47+00:00
The PMs can't start out being aggressive, though, that comes after dominating the market, right? ChromeOS and Google Drive are generally good products which are probably so as to get penetration and stickiness.

Perhaps Gmail is a better example to see the incumbent acting as it wishes, enabling and disabling features without worry about the end user's POV.
Show HN: Photon Sieve Tool
by bhickey | 2025-10-12 17:23:00+00:00
Last year I got interested in diffractive optics after a presentation at my local astronomy club. I set out to build a photon sieve solar telescope and wrote a small program to design the optics. The first version took me a while to write. I've got no physics background to speak of. This tool is a rewrite, which took me a weekend to get to feature parity. It has some rough edges, but it's largely functional. It outputs dxf and gerber files and can do some basic layout to simplify ordering multiple lenses on a single photomasks.

Along the way I found that KiCAD's GerbView wasn't standards compliant and would stop rendering after about 10k apertures. One developer graciously spruced up my patch request and submitted it.
by lutusp | 2025-10-12 17:23:45+00:00
> "What if I just don't want OneDrive? Microsoft has embedded it so deep into Windows that there are no easy ways of getting rid of it."

This is not so, at least for the present. In current Windows releases, go to "Control Panel," then "Programs and Features", then select and uninstall OneDrive. If it's not installed, it cannot run.

Before you do this, make sure you have moved all your files from OneDrive to your local storage devices.

In the future, Microsoft will doubtless make OneDrive mandatory, along with requiring everyone to have a Microsoft account and watch their ads 24/7. But there's a remedy for that too -- install Linux. "Yet another European government is ditching Microsoft for Linux" : https://www.zdnet.com/article/the-german-state-schleswig-hol...
by esrh | 2025-10-12 17:24:07+00:00
Yes, i agree that unix commands should be first class. I did this for the super common stuff like ls and cp. As for substitution, I did exactly $ for substitution. You'd do something like ($ rsync -avP $src $dst), but I don't think I ever got around to implementing $() to evaluate forms. If you really need to do that then you have to quasiquote the whole expression and unquote the form you need to evaluate. This has been relatively ok for me though. I never implemented anything like pipes or redirection, I instead just send everything like that to bash.

This is not really relevant to your question, but I regret choosing janet for this, it's too opinionated and hacking on C is not as fun as lisp. I started writing my own version of schemesh in racket, but I never got far enough.
by DemocracyFTW2 | 2025-10-12 17:24:11+00:00
Compounding this is the aforementioned conundrum that when you fill out the gaps in "In 1987, $person met _____ in _____" with random but not implausible values you end up with a gazillion wrong assertions and (maybe) a very short list of accidentally correct ones. So even if a troll would like to tell the truth but enjoys peppering discussion threads with many low-effort comments just so someone will interact in whatever which way with them, none of their comments will likely be factually correct. It's like a multiple choice but it's not one out of four, it's one out of a billion answers, almost all of them wrong.
by bediger4000 | 2025-10-12 17:24:13+00:00
I got mgr running on a SPARCStation 10 running SunOS 4.13 in 1995. It worked OK, until it crashed the machine, which upset me. We were having an office "uptime" competition.

One thing this article, which is very thorough, and very good, doesn't mention is that all the signalling is in-band via control/escape sequences. Mgr had no analog to xterm. You telent'ed in to some other machine, your shell script did some control sequences, and presto, a new window with a shell on the remote machine showed up.

I believe this article touches on mouse button use. I think Stephen Uhler, the major author of mgr, was left handed, as the default button arrangement definitely was more ergonomic for your left hand.
by seec | 2025-10-12 17:24:16+00:00
Yes and for things like manipulating maps/photos (zooming and scrolling around) it's quite convenient. The point is that it's stupid to not have it in laptops that cost this much money anyway. Anyone who doesn't want to use it doesn't have to and for the rest it can only allow more interaction methods.

In any case I think that the MacBook designs are stale and really stuck in the past, for now they only win because of the build quality and the silicon. But competitors are quite close, so if Apple continue with their destruction of macOS there won't many reasons to keep buying.
by disqard | 2025-10-12 17:24:18+00:00
"The contamination caused what is known as a hard alpha inclusion, where a contaminant particle in a metal alloy causes the metal around it to become brittle. The brittle titanium around the impurity then cracked during forging and fell out during final machining, leaving a cavity with microscopic cracks at the edges. For the next 18 years, the crack grew slightly each time the engine was powered up and brought to operating temperature. Eventually, the crack broke open, causing the disk to fail."
by esaym | 2025-10-12 17:24:40+00:00
I think the end customer shares some of the blame for the current state of things. Cars have gotten worse and worse reliability wise since 2010. Yet sales only continue to increase. People don't own cars any more, they simply see them as a $500 a month payment and once they get too annoyed with it, they just go and get a different one. I don't know about other manufacturers, but with everything GMC, all dealer repair shops are independent. GM does not make any money off of those, therefore they are only interested in giving you another car and another payment plan. How many times of you heard someone trash talking a specific model? "That car was a POS! I took it back to the dealer and got a different one" Yea you sure showed them....
by f311a | 2025-10-12 17:25:18+00:00
Personally, I don't like the idea of maintaining 500+ lines of config with tens of plugins. Setting up neovim from scratch is pretty tedious. Using something like lazyvim sets up 50 plugins, which are updated by simply taking the most recent commits from respective git repositories.

It’s only a matter of time before someone deploys something malicious to one of those 50 plugins.

Language support in JetBrains IDEs is top-notch, but they consume a lot of resources and do not work well for remote development in my experience. I still open them from time to time to do complex refactoring. Also, I just hate the idea of opening Goland, RustRover, and PyCharm at the same time. I have a monorepo at work with multiple languages.
by jakelazaroff | 2025-10-12 17:26:13+00:00
In my early 20s I ordered takeout every night and mostly ate like crap, but my health and general wellbeing improved (along with my finances) when I started cooking at home and eating a more balanced diet.

Was there something "wrong" with me? No, but I definitely prefer this version of myself! And it takes sustained, ongoing effort — there are still nights when I'm tempted to just order takeout, but I push myself to cook something and end up glad I did so.

The same goes for physical fitness, career, hobbies, personal relationships, mental health… you can just sort of blindly stumble through life without any intentionality, but to me it seems like a good way to squander your precious years on this planet.
by quadrifoliate | 2025-10-12 17:26:16+00:00
In my opinion, “Maybe Later” buttons are actually useful if implemented for the user's benefit. For example, maybe I do want to hear about OneDrive but I don't have time now. It's a reasonable middle ground between Yes and No.

But the problem is that modern tech companies are using it as a dark pattern to completely eliminate the No option. Sadly, I think this just might need to be regulated out. I don't see any reason why there shouldn' be a regulation that a “Maybe Later” button can't appear in a prompt as the only alternative to Yes, there needs to be a No/Never option as well.
by namibj | 2025-10-12 17:26:27+00:00
There are no multi-statement queries in the binary protocol (where you get things like native cursors/pagination to efficiently iterate over result rows, and where you get the true parameter binding that is inherently robust against SQL injection.

It has a separate client to server packet that forces previous ones to complete as it will make otherwise-asynchronous (because pipelining) error reporting forcefully serial.

Other than this which is arguably not needed for queries that don't expect errors enough to need early/eager exception throwing during the course of a transaction, it's inherently naturally pipelined as you can just fire two or more statements worth of parameter binding and result fetching back-to-back without blocking on anything.
by sjducb | 2025-10-12 17:26:28+00:00
I’ve looked at the fuse box for my car and found the fuse that powers the Ariel Module. Removing this fuse breaks GPS and all cellular connectivity. Hopefully it breaks automatic updates. I am tempted to leave it disconnected to see if my car skips an update.

The rest of the car works fine. If the political situation heats up then I can remove this fuse to isolate my car from the internet.

Some people connect a toggle switch in place of this fuse so they can leave the car disconnected from the internet when they are not using online functions.

I would be surprised if simply removing a fuse voids my warranty.
by 9x39 | 2025-10-12 17:26:43+00:00
That is probably the case, but Windows has always been schizophrenic when it comes to settings - there's the UI, the control panel, the second new control panel, the cli, group policy, the registry...

Frame it as "it's 2025 and this is my first look at Windows", it's pretty bad, and it sucks because if they installed on a Home SKU, we end up having to tell them to reinstall to get control.

Maybe we have Stockholm syndrome.
by crazygringo | 2025-10-12 17:26:54+00:00
There are few things that irritate me more than the gradual replacing of "Yes / No" with "Yes / Maybe later".

It's so disrespectful, infantilizing, and paternalistic.

But you see it everywhere now -- Microsoft, Apple, mainstream respected news and media sites constantly asking if you want to use their app instead of their site, or upgrade your plan.

And I don't understand why. It's hard to believe it increases conversion. But it does make people like me angry at the brand.
by mock-possum | 2025-10-12 17:27:11+00:00
You’re not paying attention. the biology of sex is an arbitrary generalization - it’s useful, but it’s not sacred. Gender is a tradition of play-acting we’ve been doing for so long that we’ve forgot that it’s just a game.

What’s absurd is looking at the world the way it is now, and thinking to yourself, “yes, this is the way it always has been, and must always be.” What a mire to live your life in. Such a pity.