MurphyA/hacker-news huggingface dataset:
by vel0city | 2025-07-08 14:28:17+00:00
As for monitors not being attached after sleep, I was mostly talking about macOS but I do get my comment isn't clear on that. It's an incredibly common issue.

https://discussions.apple.com/thread/250999629

As for drivers being in the kernel or outside the kernel, in the end if the vendor writes trash drivers they'll be trash drivers regardless of where they are. Clearly good touchpad drivers could have been written, but Synaptics just never gave a shit. But those same shitty touchpads were still often shitty even in Linux with open-source drivers. And what do you know, a vendor actually cares to make a good driver and things are better. We didn't even need to change the entire driver model for it to happen.

Back when I used nvidia graphics adapters a driver crash in Windows just meant maybe your app crashed, maybe it handled it gracefully and all that happened was the screen went black for a second. A driver issue on that same nvidia GPU in Linux means a kernel panic and the whole machine crashes, even things not running GPU workloads.

There are pros and cons each way about whether you bundle in the drivers into the kernel or have them live outside. Having it live in the kernel means if the vendor never bothers maintaining or opensourcing the driver you're just stuck on the old kernel. I've got a drawer full of computers which will never see a modern kernel and still keep all their functionality. A pile of e-waste because of the requirement to use that specific kernel the device shipped with, nothing else.
by derektank | 2025-07-08 14:29:11+00:00
Having kids takes a long time, especially when many of them die of infection or malnutrition. So yes, you're absolutely right that evolution "cares" about human beings up until they hit ~40. At that point, human beings enter the selection shadow, when improvements to survivability have a negligible impact on selection. I was eliding this point for clarity but I don't think it really alters my broader argument.

This is all pretty obvious when you look at one of the main diseases of aging, cardiovascular disease. There are natural genetic variations that result in very low free LDL blood levels, which basically prevents artherosclerosis from every developing and which inspired the development of the PCSK-9 inhibitors. However, there's no evolutionary benefit to not dying of cardiac arrest when you're 60, but there are marginal benefits to the liver binding to fewer LDL particles when people are in a starvation environment, so these variations never became widespread.

The grandparent hypothesis is certainly compelling and might explain some marginal improvements in human lifespan relative to e.g. chimps (who live about 10-20 years less than us even in captivity). But if anything, that reinforces my broader point, which is that aging did not develop as some kind of culling agent by evolution and that we should be looking for ways to extend human longevity now that we have the resources to.
by BorysShuliak | 2025-07-08 14:29:29+00:00
Hi HN! I built @runespoorstack/eslint-cli to solve the painful process of adding ESLint to existing projects or migrating to stricter ESLint rules.

The Problem: Adding ESLint to an existing codebase (or upgrading to stricter rules) typically means:

1) Thousands of errors to fix manually

2) Weeks of work while the team keeps adding new violations

3) Broken git blame history (every line now shows you as the author)

4) Getting assigned as reviewer on every future PR

5) Merge conflicts galore as you try to keep up with ongoing development

The Solution: Instead of the big-bang approach, this CLI enables smooth migration:

1) Temporarily disable ESLint on all files with violations: npx lintspoor disable

2) Set up prevention for new violations: pre-commit hooks that catch any new /* eslint-disable */ comments

3) Gradual cleanup: As developers touch files during normal work, they remove the disable comment and fix violations in that file

4) Zero disruption: Team continues working normally while codebase gradually becomes compliant

This works for:

1) Adding ESLint to legacy projects for the first time

2) Migrating to stricter rules (new plugins, configs, custom rules)

3) Adopting new linting standards without stopping development

The result? ESLint adoption becomes a pleasant, gradual process instead of a painful big-bang migration. No broken git history, no team disruption, and files get cleaner over time as part of natural development flow.
by tsimionescu | 2025-07-08 14:29:39+00:00
I believe you're misunderstanding the problem. The terminal doesn't "break" in the sense that it crashes or does something undefined for those cases. The terminal is doing something that is completely meaningful and well defined and probably has some realistic use cases, such as switching to a different character encoding.

The only problem is that it's not what the user wanted to happen. For a simple example, if a file name contains the control sequence for starting a block of red text, and you print that file name as is in a terminal, you'll, (1), see a truncated file name (that is, copying the text from terminal will not give you the actual file name, since the control characters will be entirely missing), and (2) all future text will be red.

The terminal has done nothing wrong in this case: it used its normal logic for turning text red. The file name is not in any way wrong - it's a completely valid Linux and ext4 file name. The program is not necessarily doing anything wrong - perhaps it was never designed to print to a terminal. But the overall interaction produces the wrong results.
by martey | 2025-07-08 14:29:44+00:00
> [29] is https://gwern.net/doc/history/1975-leek.pdf - this does not look like a peer reviewed paper. They do look to be reputable and they refute some rubbish documented cases of ancient honey but not all of them.

The Gwern link is just a PDF copy of an article from a 1975 issue of "Bee World": https://www.tandfonline.com/doi/abs/10.1080/0005772X.1975.11... I can't speak to the journal's rigor in the 1970s, but they seem like a more reliable source than any other mentioned in this discussion.
Show HN: Trying to eat better? I built a nutrional assistant
by dammsaturn | 2025-07-08 14:29:46+00:00
I spent 3 years building an e-commerce side project to order groceries online, which later pivoted in the last 6 months to a complete Ai nutrional assitant, that can personalize meal plans, recipes, meal suggestions, and even scrape the internet for where to purchase grocery items in your chat.
by IAmBroom | 2025-07-08 14:29:55+00:00
Your point about vampires and zombies being modern isn't true.

The notion of the "revenant" - a corpse reanimating to wreak havoc on the living - is so ubiquitous that occasional burials across the centuries and globe involve the body being place upside down (presumably so they dig the wrong way), with heavy stones in their mouth, or staked.
by azonenberg | 2025-07-08 14:29:57+00:00
I did not like that part of it.

Personally I've standardized on just three STM32 parts:

* L031 for throwaway-cheap stuff where I'm never going to do field firmware updates (so no need to burn flash on a proper bootloader) and just need to toggle some GPIOs or something

* L431 for most "small" stuff; I use these heavily on my large/complex designs as PMICs to control power rail and reset sequencing. They come in packages ranging from QFN-32 to 100-ball 0.5mm BGA which gives a nice range of IO densities.

* H735 for the main processor in a complex design (the kinds of thing most people would throw embedded Linux at). I frequently pair these with an FPGA to do the heavy datapath lifting while the H735 runs the control plane of the system.
by craftkiller | 2025-07-08 14:32:10+00:00
> I wanted something that prioritizes one window at a time, is keyboard driven with has minimal if no GUI elements.

Sounds like tiling window managers like sway or i3. Those don't have any sort of predictive switching but otherwise:

- My window management is done via keybindings - The status bar is completely optional (personally I use it but there is no *need* to use it) - I set `hide_edge_borders smart_no_gaps` so if I only have 1 window open in a workspace, it doesn't have any border at all. No titlebar, no close/minimize/maximize buttons, just the window content.
by azonenberg | 2025-07-08 14:32:24+00:00
I avoid vendor toolchains and BSPs just because of how buggy they are.

From my perspective, it's much better to reproduce a bug with a 20-line C or assembler file that compiles with upstream gcc, completely ruling all of their custom stuff out as the root cause.

Just tell me what the silicon does when I poke this register and I'll work around it.
Show HN: I built a toy music controller for my 5yo with a coding agent
by JeffMcCune | 2025-07-08 14:32:36+00:00
The HN community may find the context of the prompts, organized by each turn in each session, the most useful. See the website/docs/prompts.md and session-X.md files. I also started exploring some workflows for the LLM to execute, organized in the website/docs/tasks/ folder. I found it pretty handy to have the LLM document our work as we went and simply embedded the static site into the executable, along with all the music and logic.

The whole project took me about a day for the backend. The C++ controller itself took only a few turns.

I enjoyed focusing on my son's experience and letting the agent handle the C++, Javascript, and Go code.

I'm still getting started with coding agents, so please do share any tips or tricks to help me with similar projects. I'm most interested in how to work effectively with the agent, like what you see in dev-loop.sh
by ortusdux | 2025-07-08 14:32:48+00:00
It became a 'wedge issue'. A common tactic in 2-party politics is for a campaign to push their candidate to become indistinguishable from their opponent, and then pick one issue that divides the voter base, hopefully in their favor. It has to be something that your party can rally around and their party can't compromise on. Conservatives are generally pro business and anti government regulation, while liberals are usually pro environment and regulation, hence the battle of climate change.
Show HN: CVGuru – Free and Simple Resume Builder (With AI in Right Places)
by DanYan | 2025-07-08 14:33:26+00:00
Hey HN!

I developed CVGuru - a free and simple resume builder.

Why another resume builder? Well I feel existing ones suck in terms of UI/UX. So I wanted to create something cool & easy to use that fits on one screen.

Any feedback greatly appreciated
by ZeroGravitas | 2025-07-08 14:33:28+00:00
It's a backronym from pinyin, Wikipedia says:

> BYD is the pinyin initials of the company's Chinese name Biyadi. The company was originally known as Yadi Electronics (亚迪电子), named after the Yadi Road in Dapeng New District, where the company was once based.[24] According to Wang Chuanfu, when the company was registered, the character "Bi" (比) was added to the name to prevent duplication, and to provide the company with an alphabetical advantage in trade shows.[25] As the name "BYD" had no particular meaning, BYD started adopting a backronymic slogan "Build Your Dreams" when it participated at the 2008 North American International Auto Show in the US.[26][27][28]
by smithkl42 | 2025-07-08 14:34:01+00:00
The Wikipedia article is a good place to start:

https://en.wikipedia.org/wiki/Baal

Like all matters concerning the gods in the ancient near east, it's complex, and every answer has to be qualified. So apparently in some traditions, Baal was the son of Dagan (another fertility god), and in some the son of El (the head of the Canaanite pantheon, often identified with Yahweh even by orthodox Yahwists).
by Taikonerd | 2025-07-08 14:34:18+00:00
> WebAssembly is designed for the web--why would you want to use it outside the browser?

I'm not involved in Orca, but I can think of 2 reasons:

1. WebAssembly has really fine-grained sandboxing for untrusted code.

2. WebAssembly has good support for starting the program as parts of it are still being downloaded / compiled.
by lordswork | 2025-07-08 14:34:40+00:00
For those wondering, the Miyawaki method differs from normal planting by doing the following:

- heavily pre-treat soil with organic matter (simulating forest floor)

- plant a mix of native plants that will make up canopy, tree, sub-tree, and shrub layers

- densely planting plants (3-5 saplings / m^2)

- heavy mulching after planting (weed suppression, moisture control, nutrients)

This encourages rapid growth into a biodiverse dense forest much faster than standard planting techniques.
by giamma | 2025-07-08 14:35:05+00:00
The "brew info" command provides some information, so it would be great if the tool provided a button to fetch the "brew info" output on demand and if it provided a direct link to the homepage as opposed to having to perform two clicks; a tiny home icon next to the info icon would be good.

Folllows sample output for "brew info mc"

==> midnight-commander: stable 4.8.33 (bottled), HEAD Terminal-based visual file manager https://www.midnight-commander.org/ Conflicts with: minio-mc (because both install an `mc` binary) Installed /usr/local/Cellar/midnight-commander/4.8.33 (357 files, 7.8MB) \* Poured from bottle using the formulae.brew.sh API on 2025-02-03 at 09:30:23 From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/m/midnight-commander.rb License: GPL-3.0-or-later ==> Dependencies Build: pkgconf Required: glib , libssh2 , openssl@3 , s-lang , diffutils , gettext ==> Options --HEAD Install HEAD version ==> Analytics install: 3,043 (30 days), 10,456 (90 days), 65,490 (365 days) install-on-request: 3,043 (30 days), 10,451 (90 days), 65,472 (365 days) build-error: 0 (30 days)
by pjmlp | 2025-07-08 14:35:42+00:00
Especially when one keeps ignoring the JITs of dynamic languages, that were in the genesis of all high end production JITs being used nowadays, tracing back to Smalltalk, Self, Lisp, Prolog.

All those languages are just as dynamic as Python, more so given the dynamically loading of code with image systems, across network, with break into debugger/condition points and redo workflows.
by staticman2 | 2025-07-08 14:35:58+00:00
It's not that you have to pay everyone with the same idea, it's that it opens you up to claims you copied fanfiction writers you never copied.

If I somehow recreated Lord of the Rings from scratch, without having known about Lord of the Rings, it wouldn't be copyright infringement because I never copied Lord of the Rings.

The issue is nobody would ever believe me when I said I coincidentally recreated Lord of the Rings from scratch. The court would conclude I copied Tolkien's books without permission.

If you admit to reading fanfiction, it reduces your credibility when you claim you independently came up with the same ideas as fanfiction authors.

This increases your litigation risk, but there's no black or white rule that you need to pay every fanfiction author or anything like that.
by more_corn | 2025-07-08 14:36:02+00:00
The problem is that figuring things out for yourself takes a lot of work. It’s far easier to take someone else’s pre-built moral framework.

If you have the spare energy maybe you’ll question the pre-built moral framework and thus diverge from it. (Or if the framework is insane in some important way as many moral frameworks have been throughout time —consider “Why can’t I own a Canadian”)

People who can’t or don’t want to put in the effort follow all the rules. Thoughtful people figure out the rules they think are important to follow and how to live safely while ignoring the dumb ones.
by quchen | 2025-07-08 14:36:19+00:00
That's pretty much what I do! 3x3 virtual desktops, Win+(qwe,asd,yxc) switches to one just like the keys are laid out on my (qwertz) keyboard.

Top middle is browser. Bottom left is everything chat and communication. Center left is the editor. Whatever is out of place is mercilessly closed or moved if I'm feeling generous.
by devilbunny | 2025-07-08 14:36:41+00:00
It was abandoned partway through a second "series", but it's still out there: Harry Potter and the Natural 20. Fanfic, obviously, but a very amusing take on how you could theoretically break D&D by applying Potterworld physics (or vice versa).

The peasant railgun was a footnote to one of the early chapters. Author specified that he would never, ever allow most of the munchkin tricks he wrote about in a game that he DM'd, but since crazy munchkin tricks are the source of a lot of the humor in the writing, he left them in the fiction.
by ncr100 | 2025-07-08 14:37:15+00:00
There is a way to explain to neophytes and it's generally to be more emotional problem-solving and intuitive, and less logical or scientific. There's a toxicity that can rise up in talking in a seemingly over-specific manner which puts people off.

Explain it from the perspective of, "well, in order to get XYZ done, we are frustrated by it being hard, so we make an easy guess .. we try thinking about the problem in this crude way way because that's easy to think about, and then we make ABC because we know about ABC's ... and we are excited when using it gets us closer to working than anything else we've tried before".

Emotion-laden explanations are a viable way to explain to non-techs. They may be more comfortable thinking emotionally, whereas we are steeped in the logic and sometimes mathematics of our practice. So we must reintroduce emotion into the explanations.

It worked for me, explaining to my family, they followed on and actually understood.
by Kirby64 | 2025-07-08 14:37:33+00:00
Every. If I was to guess, NVidia probably uses Cadence Palladium/Protium solutions[1]. They're basically industry standard, and essentially everyone uses Cadence design tools for circuit design.

[1]: https://www.cadence.com/en_US/home/tools/system-design-and-v...
by eightysixfour | 2025-07-08 14:37:46+00:00
> These are things the hype cycle doesn't tell you about and you don't realize until you've actually owned an EV and tried to make it your day-to-day vehicle.

I could point by point argue my experience, which has a lot of differences to your experience, but those are just our anecdotes.

Where I fundamentally disagree with you is that this is still the hype. I think everyone in the world knows these things at this point and talks about them. We are the point where the “hype” is anti-hype with the points you raised.

I don’t own an EV right now because it doesn’t fit my use case, but I actually think the “hype” has swung too far back the other direction.
by jodrellblank | 2025-07-08 14:38:57+00:00
> result in recurrent diarrhea

This mind-blowing statistic stays in my head:

"Diarrhoea is a leading killer of children, accounting for approximately 9 per cent of all deaths among children under age 5 worldwide in 2021. This translates to over 1,200 young children dying each day" - https://data.unicef.org/topic/child-health/diarrhoeal-diseas...

Almost one per minute.
Show HN: ModelFetch – Deploy MCP servers anywhere TypeScript/JavaScript runs
by phuctm97 | 2025-07-08 14:38:57+00:00
Hey HN! I built ModelFetch to solve a frustrating problem: deploying MCP servers across different TypeScript/JavaScript runtimes requires dealing with tedious platform-specific details.

ModelFetch lets you write your MCP server once using the official MCP TypeScript SDK, then deploy it anywhere with a single `handle()` function that works across many platforms: Node.js, Bun, Deno, Cloudflare Workers, Vercel Functions, and more.

This means: - No new APIs to learn - No need to rewrite your existing server - Changing runtimes or deployment targets requires changing just 1 line of code (the import statement) - Using the official MCP TypeScript SDK also means better long-term support and always up-to-date implementation
by ericol | 2025-07-08 14:39:03+00:00
I don't have that problem ("I work with computers / I am a computer programmer") but I usually follow with "I'm a race driver. I drive the car as fast as I can, I don't change the tires nor the oil in it" when I get the usual "can you fix my computer?" request.

For reasons that I care not to ask people get seriously annoyed by that.
by switchbak | 2025-07-08 14:39:15+00:00
I’m all for n boring tech and all, and leveraging the simplest thing that can work. But arguing against streams? You mean reactive streams?

These have helped me replace megabytes of poorly written concurrent/parallel crap with a few lines of stream orchestration. I find it interesting that our experiences diverge so wildly.

Then again, I’ve had to rewrite some terribly clever code, some downright diabolical, so that could be part of it.
by fennecbutt | 2025-07-08 14:39:27+00:00
No, because western culture never really did. However the countries who have been using it for at least thousands of years in Buddhism are still using it just fine.

In fact there was a recent thing with one of the BTS members' uniform (worn during mandatory military service period in South Korea), which had the regular (not tilted) swastika on it because he was assigned to religious duties.

And of course the western world/media ran away with it. Plenty of absolutely brain dead people out there who couldn't research a topic to gain an understanding to save their lives.
by lubujackson | 2025-07-08 14:39:49+00:00
20 year eng here, I find myself nodding along to most of this. The hardest thing for fresh programmers to understand is code in the real world - temporary hacks, TODOs and commented blocks of code wind up everywhere due to changing priorities or new information (at least in startup land), and that can be ok. All bills come due, but remember that debt is always a great fuel for velocity.

Two notes - always comment your assumptions and half-baked logic. You WILL forget why you did things a weird way, you WON'T always come back on Monday to clean up your code. Help others and ypur future self - comments are cheap to write.

Second, using a JSON blob for a changing database structure is a fine approach (from Python/Postgres perspective, YMMV). Especially with LLMs now, accessing or filtering by an arbitrary key value in the JSON is fairly trivial and not as slow as you imagine (to a point, obviously). This can greatly increase speed of testing and allow DB changes withput migrations. Maintain the current data structure in Typescript and when the ground is solid, one migration is all you need.
by mylaaccount | 2025-07-08 14:40:12+00:00
For me:

1. Neighborhood matters a lot. This determines the kinds of events you’ll go to and people you see regularly. I explored a lot before I settled some place that felt like home. I live some place with good walkability and being able to walk to a coffee shop or park has been very important.

2. Hobbies. Outdoor fitness, DIY/underground music, and board games for me. It took some digging to find groups I liked (some of which I found out about online and some by asking people I met), but now I participate in at least one event/meetup pertaining to these hobbies every week (more if I can). Ex helping out at a DIY show, run clubs, hiking groups, board game meetups.

3. Having a dog. I’m outside regularly bumping into people. Having a dog often sparks a conversation and helped me to know my neighbors. You don’t really need a dog though any way you can open a conversation is good. Compliment someone’s shirt, ask a question, etc

So TL;DR walkable neighborhood that suits you, find something related to your hobbies and do it as much as you can, start conversations.

Good luck, it took me years before I got into a rhythm.
by insane_dreamer | 2025-07-08 14:41:17+00:00
> HN's grumpy, yet insightful, truth-teller

Ouch.

The Roast section was hilariously cutting, and not untrue.

Top Three Technologies: Are these supposed to be my favorites? Or just what I post about? Either way it got them wrong.

Predictions: I didn't know LLMs were capable of that type of sarcasm. Very clever.

Kudos