MurphyA/hacker-news huggingface dataset:
by versteegen | 2025-11-02 12:51:19+00:00
HyperRogue is specifically hyperbolic (and very cool! See also RogueVis), but of course there are a number of non-Euclidean roguelikes. One of my favourites is Smart Kobold [1], which really amazed me at the time, particularly as it was made in just 7 days for the 7DRL! It's so called because pathing through a non-Euclidean map is very difficult for a human but trivial for a computer or a kobold. The map looks 2D, but is made out of small pieces that are (seamlessly) joined together at their seams to connect in unexpected ways. Jeff Lait also used the code for other 7DRLs (I honestly wouldn't know which is best to recommend) [2]

[1] http://www.zincland.com/7drl/kobold/

[2] http://www.zincland.com/
by ericpauley | 2025-11-02 12:52:24+00:00
This is not the correct way to count digit precision, which should be independent of the units used. If there were 360,000 degrees in a circle would this same precision suddenly be 4 digits? If we measured in radians would the digit precision become 9? Of course not…

Given the 100ndeg precision is across the full earth, this would be 1 part per 3.6 billion or 9.5ish digits of precision. The location of the decimal point when displaying it is irrelevant.
by uecker | 2025-11-02 12:52:52+00:00
I think it has a lot to do with "curl|bash". Cut&paste a curl|bash command-line disables all inherent mechanisms and stumbling blocks that would ensure properly ensuring trust. It was basically invented to make it easy to install software by circumventing all protection a Linux distribution would traditionally provide. It also eliminates all possibility for independent verification about what was installed or done on the machine.
by BinaryIgor | 2025-11-02 12:54:30+00:00
Interesting, a few questions: 1. How hard/easy is it to make responses dynamic, i.e. to use something from the request data like query/path param or a body to execute function instead of hardcoding the response 2. What's the main motivation for creating this tool? I feel like every programming language have similar tool already - WireMock for Java etc. Why should people switch?
by hollerith | 2025-11-02 12:55:05+00:00
It does: but the US did those things for national security goals, not to make the US richer.

Often those things made the US considerably poorer, e.g., the US intervention in Vietnam, e.g., when it wasted many trillions of dollars over 20 years in trying to turn Afghanistan into a liberal democracy.

During the Cold War, the US encouraged international trade to show the world the benefits of trade and of capitalism and as a bribe to try to get and to keep countries in our military coalition against the Soviets. Often the encouragement and the bribe included Washington's opening up the US consumer market to imports (i.e., without tariffs). But it did those thing for national security reasons (i.e., stopping the spread of communism) not because the US needs to import anything or to export anything or to steal anything from overseas to be the richest country.

Yes, international trade makes the US richer than it would be without the trade, but the US would still be the richest country even if it did zero international trade: its not like China or Germany whose economies are highly reliant on international trade.
by pron | 2025-11-02 12:55:50+00:00
I'm only an "AI sceptic" in the sense that I think that today's LLM models cannot regularly and substantially reduce my workload, not because they aren't able to perform interesting programming tasks (they are!), but because they don't do so reliably, and for a regular and substantial reduction in effort, I think a tool needs to be reliable and therefore trustworthy.

Now, this story is a perfect use case, because Filippo Valsorda put very little effort into communicating with the agent. If it worked - great; if it didn't - no harm done. And it worked!

The thing is that I already know that these tools are capable of truly amazing feats, and this is, no doubt, one of them. But it's been a while since I had a bug in a single-file library implementing a well-known algorithm, so it still doesn't amount to a regular and substantial increase in productivity for me, but "only" to yet another amazing feat by LLMs (something I'm not sceptical of).

Next time I have such a situation, I'll definitely use an LLM to debug it, because I enjoy seeing such results first-hand (plus, it would be real help). But I'm not sure that it supports the claim that these tools can today offer a regular and substantial productivity boost.
by awakeasleep | 2025-11-02 12:56:15+00:00
Because it burns out developers and ruins the project. Its like how the treatment can be worse than the disease in medicine.

The CVEs get reported, then big corps automated systems start flagging all use of ffmpeg, the big corp security software stops builds and removes it from dev laptops, then frustrated big corp engineers start harassing the volunteers and soon its not worth volunteering anymore, and the project dies, and there was never a real world impact.
by jacquesm | 2025-11-02 12:57:03+00:00
When I was a kid you could subscribe to an encyclopedia. They were too expensive to be bought in one go and they were too expensive to make in one go. The solution was to sell them in installments and mail you the monthly addition that you could add. Obviously the marketing ploy was that if you were halfway through the 'A' that you would buy the rest of the A and once you had the 'A' then you'd buy the rest of the book.

Regardless, the business was there. Wikipedia killed all that. So if you want to create an expertly created encyclopedia anno 2025 you have a real problem: you will need to pay experts for their time somehow otherwise why would they compete with the million monkeys, but your source of revenue has been strangled by those very same monkeys, who it turns out produce content that is orders of magnitude better than anything I've ever read in a for-pay encyclopedia from before Wikipedia.

The bar to entry is insanely high.
by art-bin | 2025-11-02 12:57:34+00:00
GraphMD: A Literate Programming Environment for AI-Assisted Development

A workflow system that prevents LLM context loss through structured Markdown documents and validation scripts.

Two-phase workflow (Planning → Development) with three-layer context tracking (Backlog, Changelog, Journal). Includes automated validation, Git hooks, and reproducible AI-assisted development.
by chiph | 2025-11-02 12:57:42+00:00
In high school I had one of the mechanical "flip" clocks. Then later an LED clock which almost certainly used the LM8560 (a Sony, which lasted far longer than I expected. Back when products were built with quality in mind). And as the article says, the chip depends on the AC frequency (50/60 Hz) to keep accurate time. For the US market, that input was likely hardwired to 60 Hz via a jumper. Japan must have used a switch, given it's mixed 50/60 Hz national power standard.

These days I have an LCD clock that does not use the LM8560 but instead gets it's time from the Radio Data System values embedded in the FM broadcast. Possibly using the Sanyo LC72723 to decode them. The CT (clock Time & Date) data field is accurate to within 100ms according to wikipedia:

https://en.wikipedia.org/wiki/Radio_Data_System
by iamnothere | 2025-11-02 12:57:54+00:00
All the critics here miss the point. Anubis has worked to stop DDoS-level scraping against a number of production sites, especially self-hosted source repos and forums. If it stops working, then either Anubis contributors will come up with a fix, site devs will find their own fix, or the sites under attack will be shut down. It’s an arms race in which there is no permanent solution, each escalation will of course be easily bypassed (in theory) until the majority of the attackers find that further adaptations are not worth the additional revenue or there is no further defense possible.

Anubis isn’t some conspiracy to show you pictures of anime catgirls, it’s a desperate attempt to stave off bot-driven downtime. Many admins who install it do so reluctantly, because obviously it is annoying to have a delay when you access a website. Nobody is doing that for fun.

(There are probably a few people who install it not to protect against scraper DDoS, but due to ideological opposition to AI scrapers. IMHO this is fruitless, as the more intelligent scrapers will find ways around it without calling attention to themselves. Anubis makes almost no sense on a static personal blog.)
by voidhorse | 2025-11-02 12:59:18+00:00
There is nothing precise about crafting prompts and context—it's just that, a craft. Even if you do the right thing and check some fuzzy boundary conditions using autoscorers, the model can still change out from beneath you at any point and totally alter the behavior of your system. There is no formal language here. After all, mathematics exists because natural language is notoriously imprecise.

The article has some good practical tips and it's not on the author but man I really wish we'd stop abusing the term "engineering" in a desperate attempt to stroke our own egos and or convince people to give us money. It's pathetic. Coming up with good inputs to LLMs is more art than science and it's a craft. Call a spade a spade.
by reaperducer | 2025-11-02 13:00:03+00:00
Question is, if the AI bros are right about a "new industrial revolution", will there be consumers to consume if all the wealth is concentrated in the top 1-2% of the population?

Who cares? That's two quarters away. What matters is that I got my Lambo and my speedboat today. Let the poors worry about the future.
by diego_moita | 2025-11-02 13:00:40+00:00
> Can anyone give an overview of what has happened in Venezuela since Maduro took over

Venezuela became more authoritarian and poorer. The oil industry collapsed because of mismanagement and the production of drugs rose. Venezuelans fled to Colombia, Brazil, the U.S., everywhere. The usual stuff for 3rd World dictatorships.

> what the beef is between him and Trump?

The same beef Trump has with everyone that he can blame for anything. Trump just wants a scapegoat for his own incompetence, to blame someone else. He thrives on confrontation. That's why he sends troops to Chicago and L.A. and battleships to the Caribean.
by iberator | 2025-11-02 13:00:44+00:00
Nah. It's ultra boring in comparison to nethack, pathos or more complex games like revengate(!) or greedy cave.

My listing of similar games:

- Grim Omens 3/5 - Revengate 4/5 - Dungeon Crawl Soup (on pc) 4/5 - The greedy cave 5/5 - Pathos 4/5
by mitchm | 2025-11-02 13:01:09+00:00
This all started with a simple question: when metrics are down, how do you know part of your application isn’t broken for a subset of users?

Production for the frontend is the user’s device, and we all know things can go wrong without an explicit error. With the current state of frontend observability tools, how do you tell when something should have happened but didn’t?

Too bad we can’t just have our users run `it('opens checkout modal on click', …)`, right? What if we could..

Maybe the world doesn’t need more HTML attributes, but it’s my best attempt so far at improving frontend observability. I think the ends justify the means.
by dotmike | 2025-11-02 13:01:25+00:00
Hi HN!

So I built Claude Code Kit - a CLI that brings auto-activating skills to your tech stack. It makes Claude Code so more reliable.

Background:

A few days ago, u/JokeGold5455 (https://www.reddit.com/user/JokeGold5455/) on Reddit shared an amazing (https://www.reddit.com/r/ClaudeAI/comments/1oivjvm/claude_co...) post about their 6 months using Claude Code with custom skills, agents, and hooks. The "Holy Trinity" approach really resonated with me.

The problem the post highlighted stuck with me: skills just sit there unless you remember to use them.

What's a "kit"?

A kit is a framework-specific package (Next.js, React, Prisma, Express, etc.) that includes:

- Skill with best practices and patterns - Auto-activation triggers - skills activate when you mention keywords, edit specific files, or use framework terminology - Documentation organized by topic - Detection logic - automatically detects frameworks in your project

One command installs everything:

npx github:blencorp/claude-code-kit

It detects your stack, asks which kits to install, copies hooks/agents/skills to .claude/, and configures skill-rules.json for auto-activation.

Current kits (10):

Frontend: Next.js, React, shadcn/ui, Tailwind CSS, MUI, TanStack Router, TanStack Query

Backend: Express, Node.js, Prisma

This is brand new (literally a few hours old). I'm sure there are bugs and rough edges. Would love to get feedback on the approach, kit contributions (Vue, Angular, Svelte, Django, FastAPI, etc.) and issue requests for kits you'd like to see

Thanks again to u/JokeGold5455 for the inspiration!
by defrost | 2025-11-02 13:01:27+00:00
The Iranian coup d'état was literally about allied control of oil to secure control of global flow of oil and energy related wealth.

Security and being rich are part and parcel of the same coin.

> when it wasted many trillions of dollars over 20 years in trying to turn Afghanistan into a liberal democracy.

Or, alternatively, recirculated trillions of US taxpayer dollars into US weapons, US mercanaries, US personnel, and fed pork barrels where directed by US lobbyists.
by oceanplexian | 2025-11-02 13:01:45+00:00
I’d say so, the hallmark of being a car guy is understanding the basics, like the difference between a four cylinder and a six cylinder, a turbocharger from a supercharger, the different types of gearboxes (DCT vs AT or a CVT), and so on. They all affect the feel, capabilities, and limitations of the car.

Electric cars have similar complexities and limitations, for example the Bolt I owned could only go ~92MPH due to limitations in the gearing as a result of having a 1 speed gearbox. I would expect someone with a strong opinion of a car to know something as simple as the top speed.
by don_neufeld | 2025-11-02 13:02:38+00:00
“Probably the second most annoying thing on the web today is when you click a link that looks interesting but the page you land on almost immediately says you have to do or pay something to actually read the thing the referring page implied.”

If you feel you’re entitled to everyone else’s labor - I dunno what to tell you.

On the other hand, if you value your own time so little that the only amount you're willing invest in the quality of what you read is $0 - I also don’t know what to tell you.

Either way, I hope you figure it out.

Medium (at least what it is today) tries to bring down the friction of making valuable content available at a reasonable price.

The alternative solutions the web has been to come up with is to take the valuable content and lock it up in hundreds of silos (Substack, etc), leave residual low value content marketing available, and then cover most everything else with a browser melting level of “adtech”
by reene44444 | 2025-11-02 13:02:57+00:00
Hi HN!

I built a small AI tool that helps developers debug code, write scripts, and speed up small projects.

Examples: - Debugged 100+ bugs in JavaScript & Python - Generated boilerplate code for web apps in minutes

It's free to try for small tasks. Check it out here: contact.reene4444.com/ai-coding

Would like feedback from developers!
by yubblegum | 2025-11-02 13:03:05+00:00
For those interested, did some digging regarding Phillip Mazzei. Surprisingly it is very difficult to find his essays online, considering that he is the one who first uttered the expression "all men are created equal".

The anonymous essay that WaPo cites in the OP proved impossible to find online...(!?)

Philip Mazzei, the Pragmatic Propagandist, 2018

https://shs.hal.science/halshs-01796549v2/document#:~:text=e...
by Tade0 | 2025-11-02 13:03:08+00:00
Storage is booming in my very much coal-powered country with residential storage going from 115MWh to 670MWh over the course of 2024.

As it stands it's enough to power the country for about two minutes, but that's two minutes gained in a year.

In the commercial space there's a total of 4.3GW of peak output commissioned to be deployed before 2030. That will greatly help in shaving the afternoon increase in electricity usage.
by sam_goody | 2025-11-02 13:03:26+00:00
1. Deaths by overdose, especially of Fentanyl is through the roof (it has surpassed road accidents, heart attacks, etc.)

2. We have got to do something

3. This is something

4. The president has something to offer as a solution. For everything. (It is unusual to have a president who is so willing to try to solve everything.)

5. No one commenting in the news has enough info of the plan (or of the future) to offer a useful appraisal of this particular something.

Whether or not this something is actually a useful and good thing [and whether or not it will lead to other good things, and if those other things will be good...] will definitely be biased by your view of the administration, your policy towards war, and you risk tolerance.

As someone who has lost family members to Fentanyl, I at least recognize my bias :/
by vbezhenar | 2025-11-02 13:03:40+00:00
When the system evolves, you need to change things. State structure also evolves and you will refactor and rework it. You'll rename things, move fields around.

URL is considered a permanent string. You can break it, but that's a bad thing.

So keeping state in the URL will constrain you from evolving your system. That's bad thing.

I think, that it's more appropriate to treat URL like a protocol. You can encode some state parameters to it and you can decode URL into a state on page load. You probably could even version it, if necessary.

For very simple pages, storing entire state in the URL might work.
by neilv | 2025-11-02 13:03:43+00:00
I recently showed up to a new startup interview, with a similar folio (with printed copies of my resume, and a tablet of graph paper), and it paid off.

I was in a small conference room with the two co-founders, and of them hadn't seen my resume, and was trying to read it on his phone while we were talking.

Bam. I whipped out printed copies for both of them, from my interview folio.
by myself248 | 2025-11-02 13:05:21+00:00
Also, the higher frequencies are much more affected by absorption from little things like "walls" and "trees" which are occasionally part of the RF environment, so you're far less likely to interfere with your neighbors doing this, than you were with 2.4GHz.

Also the reason it makes such an enormous difference to put your AP in the same room, if at all possible. Sneak a cable somewhere, park the AP in the far corner of the room, sure. But with zero walls in between, it's huge.
by wiether | 2025-11-02 13:05:43+00:00
I'm not sure they are talking about their colleagues:

> To me - as someone not in the Microsoft ecosystem

And the fact that they are managing their own Postfix seems pretty clear.

As someone in the MS ecosystem at work, I'm using this feature daily (after thinking that it was stupid in the early days)... but I make sure to only use it with coworkers or partners that I know are in the MS ecosystem.

I 100% understand someone being annoyed when they receive an email telling them that someone added an emoji to their email.

Sometimes during the weekend MS is sending me an email recap of the reactions I received during the week and it pisses me off.

The email reactions should be silent and that's their goal: a quiet ack.
by ofalkaed | 2025-11-02 13:06:59+00:00
Developers are taught to document code, not programs, very different skills. Only a small part of the FOSS world has the resources required for hiring someone to write documentation, the rest of FOSS has to rely on the community and hope someone else does it because dealing with the code takes up their time or they just wrote it for themselves and shared it because others might find it useful or have very little time they can dedicate to something which does not put food on the table, etc etc etc.
by shswkna | 2025-11-02 13:08:13+00:00
This leads to us asking the deepest question of all: What is the point of our existence. Or as someone suggests lower down, in our current form all needs could ultimately be satisfied if AI just provided us with the right chemicals. (Which drug addicts already understand)

This can be answered though, albeit imperfectly. On a more reductionist level, we are the cosmos experiencing itself. Now there are many ways to approach this. But just providing us with the right chemicals to feel pleasure/satisfaction is a step backwards. All the evolution of a human being, just to end up functionally like an amoeba or a bacteria.

So we need to retrace our steps backwards in this thought process.

I could write a long essay on this.

But, to exist in first place, and to keep existing against all the constraints of the universe, is already pretty fucking amazing.

Whether we do all the things we do, just in order to stay alive and keep existing, or if the point is to be the cosmos “experiencing itself”, is pretty much two sides of the same coin.
by seanwilson | 2025-11-02 13:09:08+00:00
A tool for creating custom Tailwind-style palettes for web and UI design that have WCAG accessible contrast:

https://www.inclusivecolors.com/

It's more aimed at designers right now that have some familiarity with designing color palettes and want to customize everything, but I want to add more hand holding later. Open to feedback!
by dhuan_ | 2025-11-02 13:09:58+00:00
Hi thanks for the feedback checking out the project.

> What's the main motivation for creating this tool?

Similar tools exist out there for sure, but they are either complex (more than I wish they'd be) or somehow require you to use a specific programming languages. Mock lets you accomplish this without telling you which language you should use.

Also if you're using mock inside CI pipelines, it also helps the fact that you can just download a executable tool that does not require you the java platform or any other dependency.

> How hard/easy is it to make responses dynamic, i.e. to use something from the request data like query/path param or a body to execute function instead of hardcoding the response

With mock you can use shell scripts as "request handlers". With that said, capturing a query param or a JSON field from the request body is as simple as:

> $ USER_NAME=$(mock get-payload user.name)

> $ SOME_QUERY_STRING_PARAM=$(mock get-query foo)

You can see more of this topic here: https://dhuan.github.io/mock/shell_scripts.html

> I feel like every programming language have similar tool already - WireMock for Java etc. Why should people switch?

True. If people are happy with these tools and needing to use java (or any other lang the tool pulls you into), then there's not much reason to switch.
by mothballed | 2025-11-02 13:10:45+00:00
I only see two practical answers to the fentanyl crisis. Legalize it, or total war against the suppliers.

Which one you pick will largely come down to personal morals or ethics.

The addictive properties of the drug and profits seem to make the responses of more mellow legal incentives -- inelastic. The addict does not give a shit he may go to jail. The high-level supplier does not care he might be risking life, when he is making a gazillion dollars and plans to go out shooting anyway. The low level suppliers, well they fall under the same problem as the 'addict' bucket because you can get as many as you need from that one, no matter the consequences.
by cjbgkagh | 2025-11-02 13:11:41+00:00
Foreign wars are used to launder money not stop drugs, Opium production in Afghanistan increased during US occupation, if the actual goal was to stop drug production it would be more effective to put the Taliban in charge of Venezuela.

I see this conflict as the impotent rage of a dying empire.

The invasion of Panama to overthrow a CIA backed dictatorship was needlessly over the top because of concerns that the US had lost its mojo after Vietnam and was seen as a chance to test out a bunch of Reagan's new weapons.