MurphyA/hacker-news huggingface dataset:
by netsharc | 2026-01-20 23:38:35+00:00
I wonder if Volkswagen would've blamed AI if they got caught with Dieselgate nowadays...

In PR-lese: "To improve quality and reduce costs, we used AI to program some test code. Unfortunately the test code the AI generated fell below our standards, and it was missed during QA.".

Then again they got their supplier Bosch to program the "defeat device" and lied to them that "Oh don't worry, it's just for testing, we won't deploy it to production". (The "device" (probably just an algorithm) detects whether the steering wheel was being moved or not as the throttle is pushed, and if not, it assumes the car was undergoing emissions testing, and it runs the engine in the environmentally friendlier mode).
by skirmish | 2026-01-20 23:38:35+00:00
Keep in mind that normal OLEDs are quite bad for typical development tasks: lots of text with high contrast. Here is an example that would be unbearable for me: [1]. For text, IPS rules so far. For video and games, definitely OLED.

[1] https://www.savanozin.com/projects/qod
Ask HN: What have you built/shipped with Claude-code
by blhack | 2026-01-20 23:38:35+00:00
I'm trying not to get too caught up in the hype here. I'm curious what you've actually built or shipped so far with claude-code.

I made a little phonics flashcard game for my kids https://apps.apple.com/us/app/3letterstories/id6753956099

Also related to that: a tool to fine tune the images on the flash cards (which are all AI generated on gemini).

Some internal tooling - a self contained page that does JSON/python dict visualization - this obviously exists already.

Nothing big yet, but it's only been a couple of days. This tool does seem really good at building frontends/dashboards.
by Der_Einzige | 2026-01-20 23:39:09+00:00
Sorry, but for every chat log with one teenager who commited suicide due to AI, I'm sure you can find many more of people/teens with suicide thoughts or intent that are explicitly NOT doing it because of advice from AI systems.

I'm pretty sure AI has saved more lives than it has taken, and there's pretty strong arguments to say that someone whose thinking of committing suicide will likely be thinking about it with or without AI systems.

Yes, sometimes you really do "have to take one for the team" in regards to tragedy. Indeed, Charlie Kirk was literally talking about this the EXACT moment he took one for the team. It is a very good thing that this website is primarily not parents, as they cannot reason with a clear unbiased opinion. This is why we have dispassionate lawyers to try to find justice, and why we should have non parents primarily making policy involving systems like this.

Also, parents today are already going WAY to far with non consensual actions taken towards children. If you circumcised your male child, you have already done something very evil that might make them consider suicide later. Such actions are so normalized in the USA that not doing it will make you be seen as weird.
by munificent | 2026-01-20 23:39:15+00:00
A parser spends time:

1. Consuming tokens.

2. Recognizing the grammar.

3. Producing AST nodes.

Steps 1 and 3 are heavily dependent on the data types that make the most sense for the previous (lexing) and next (semantic analysis) phases of the compiler. There is no one Token type that works for every language, nor one AST type.

The recognizing the grammar part is relatively easy, but since so much of the code is consuming and producing datatypes that are unique to a given implementation, it's hard to have very high performance reusable libraries.
by nxobject | 2026-01-20 23:39:26+00:00
I was reading an Ars article by someone who'd hacked up Apple II and Atari 2600 emulators to provide state introspection/reproducible input via MCP, sockets, file I/O - would that work?

https://github.com/benj-edwards/atari800-ai
https://github.com/benj-edwards/bobbin
by TacticalCoder | 2026-01-20 23:39:33+00:00
> This article goes more into the technical analysis of the stock rather than the underlying business fundamentals that would lead to a stock dump.
My 30k ft view is that the stock will inevitably slide as AI

Actually "technical analysis" (TA) has a very specific meaning in trading: TA is using past prices, volume of trading and price movements to, hopefully, give probabilities about future price moves.

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

But TFA doesn't do that at all: it goes in detail into one pricing model formula/method for options pricing. In the typical options pricing model all you're using is current price (of the underlying, say NVDA), strike price (of the option), expiration date, current interest rate and IV (implied volatility: influenced by recent price movements but independently of any technical analysis).

Be it Black-Scholes-Merton (european-style options), Bjerksund-Stensland (american-style options), binomial as in TFA, or other open options pricing model: none of these use technical analysis.

Here's an example (for european-style options) where one can see the parameters:

https://www.mystockoptions.com/black-scholes.cfm

You can literally compute entire options chains with these parameters.

Now it's known for a fact that many professional traders firms have their own options pricing method and shall arb when they think they find incorrectly priced options. I don't know if some use actual so forms of TA that they then mix with options pricing model or not.

> My 30k ft view is that the stock will inevitably slide as AI datacenter spending goes down.

No matter if you're right or not, I'd argue you're doing what's called fundamental analysis (but I may be wrong).

P.S: I'm not debatting the merits of TA and whether it's reading into tea leaves or not. What I'm saying is that options pricing using the binomial method cannot be called "technical analysis" for TA is something else.
by kyboren | 2026-01-20 23:39:35+00:00
It's hardly administrative trivia; the thrust of this argument is widely cited as an example of European NATO states helping to defend the US in a time of need. But the article you cited is replete with examples of US ambivalence, if not outright disinterest in a coordinated NATO action:

> On the evening of September 11, 2001, NATO's Secretary General, the Baron Robertson of Port Ellen, contacted United States Secretary of State Colin Powell with the suggestion that declaring an Article 5 contingency would be a useful political statement for the alliance to make in response to the attacks earlier that day. Powell indicated the United States had no interest in making such a request to the alliance, but would look favorably on such a declaration were NATO to independently initiate it.

[...]

> In one interagency meeting in which the option of tapping NATO forces for the planned U.S. military campaign was mentioned, U.S. Gen. Tommy Franks reportedly dismissed the idea by saying "I don't have the time to become an expert on the Danish Air Force". In a September 20, 2001 appearance before the North Atlantic Council, United States Deputy Secretary of State Richard Armitage bluntly stated that his presence was to convey information only and he "didn't come here to ask for anything".

> Several weeks later, on October 2, 2001, the North Atlantic Council issued a further resolution affirming that the September 11 attack originated from outside the United States. The United States privately dismissed the resolution, with one senior official reportedly commenting "I think it's safe to say that we won't be asking SACEUR to put together a battle plan for Afghanistan".

And indeed, immediately following your cited paragraph:

> No action resulted from NATO's September 12 resolution.

Finally:

> According to the RAND Corporation, NATO hoped that by invoking Article 5 the United States would invite NATO states to participate in its planned military response against Al Qaeda, though no such invitation ultimately materialized and "NATO did not contribute any of its collective assets to Operation Enduring Freedom in Afghanistan". American reticence to involve NATO states was due to its perception that NATO's previous intervention in the Kosovo War was an inefficient example of "war by committee". For their part, European states felt U.S. standoffishness in accepting multilateral support was emblematic of American "arrogance".

> In response to a request by the United Nations, NATO later raised and deployed the International Security Assistance Force (ISAF) with the objective of stabilizing Afghanistan following the United States invasion of that country. ISAF operated under a NATO flag but was composed primarily of U.S. forces and was at all times under operational command of American officers. It continued operations in Afghanistan until 2014, withdrawing seven years prior to the United States' 2021 retreat and the ensuing Taliban victory.
Show HN: Date Clue – I built a modern version of magazine dating quizzes
by renbuilds | 2026-01-20 23:39:38+00:00
Hey HN! I built Date Clue because I kept hearing the same dating stories from friends and family. The endless "what does this text mean?" conversations. The overthinking. Asking five different people for five different opinions.

It reminded me of those magazine quizzes, the ones where you'd answer a few questions and get something like "He's Into You" or "Run." Kind of silly, but also useful for getting out of your own head.

I wanted to make a modern version. Same entertainment value, but with context-aware responses based on your specific situation. Not generic "communication is key" advice.

How it works:

- Pick a situation: Texting patterns, Double text decisions, Red flags, Ghosting, Situationship clarity, or Second date signals

- Answer 5-7 questions about your scenario

- Get an insight with a suggested next step

What's free: Preview mode for 2 categories (no account needed). 1 full insight/day with free sign-in.

Research approach: I read a lot of dating subreddits, advice columns, and relationship psychology content to understand what patterns repeat. The quiz questions and insight logic reflect real scenarios (qualitative research, no training on user data).

Would love feedback on whether the insights feel useful or too generic. It's entertainment (not professional advice), but I tried to make them thoughtful.

Try it: https://dateclue.com
by jijji | 2026-01-20 23:40:21+00:00
In 2020 federal memo and regulatory changes under Trump's first administration to send more water from Northern California to Central Valley agriculture via federal projects were ignored by the governor of california, and instead of allowing the water to flow into southern california, his office sued over those Trump-era water rules, arguing they violated environmental protections for endangered fish.... had he done what the current administration forced him to do, there would be no drought in 2020, there would be no empty reservoirs in 2020. So given those facts, I would argue that yes the current Governor is responsible for what happened 100%.

take a look at SB 79 is a 2025 California state law (Senate Bill 79, authored by Sen. Scott Wiener) that overrides local zoning limits to allow higher-density multifamily housing near major public transit stops, signed into law by Governor Newsom on October 10th 2025, despite local resistance by residents.
by gzaal | 2026-01-20 23:40:24+00:00
MetaScope 1.2.2 delivers comprehensive date management, a powerful transformation rules engine, and significant performance improvements for professional photographers managing large libraries.

Unified Date Management with comprehensive EXIF/XMP/IPTC/QuickTime handling, Transformation Rules Engine (Pro), reimagined Batch Rename with stackable rules, Workspace Presets, Metadata Copying with review, non-blocking writes, and performance improvements for large video files.
by jmyeet | 2026-01-20 23:40:25+00:00
I'm an historical materialist. That means I don't believe religion, ethnicity or political philosophy ever drives international conflict. It's always, always, always material interests. Those other things are just an excuse, something to rile up the populace into supporting the government and dying on the front line.

So some think Duginism and a Greater Russia is driving Putin's expanionist activity in Ukraine (including Crimea and the invasion in 2022). I don't see it that way. It's using the Russian diaspora as an excuse for expansion, similar to what Hitler did in Austria and the Sedetenland. But the interests are material.

Russia does have a "legitimate" interest in not having a hostile Great Power on its borders. I include NATO as an extension of the US. I say "legitimate" in the sense that they're doing the exact same thing the US does. The US has the (ever-changing) Monroe Doctrine and almost started World War Three over Cuba (despite instigating the confrontation in Turkey).

But NATO was never going to expand to include Ukraine. Bush and Biden both made offhand comments about it but countries like Germany would always veto Ukraine's membership because they don't want NATO on Russia's borders. And Putin knows this. So there's some historical revisionism going on to say that Putin invaded Ukraine because of NATO. I personally think he would've done it anyway.

The real problem is that Russia wants a warm water port on the Black Sea and that's what Sevastopol is. Ukraine cut off the water and it's becoming increasingly expensive to maintain that holding so Russia has captured what's essentially a land bridge to Crimea and plans to hold on to it until the West gets bored.

I believe that Putin arguably overplayed his hand by buying European silence on the matter with natural gas dependence.

The US however spends a ton of money and military force and political will projecting power into, say, the Middle East. Is that in the US sphere of influence? No. The US is also a net energy exporter now so you can't even blame securing oil as an excuse for it.

The US isn't operating in a deeply insecure fashion. Instead, they're simply extracting wealth from all over the world for the benefit of a handful of billionaires.

I guess where the US is insecure is in that no system other than neoliberalism can be allowed to exist and prosper because it might cause the populace to revolt. The existence of the USSR actually forced to the US to give Americans something so they didn't revolt. This desire means that any quasi-socialist nation gets starved with sanctions and couped to maintain this illusion.

And the US's big problem is they can't bully and starve China in this way.
by Johnny_Bonk | 2026-01-20 23:40:52+00:00
Nice work! I don't think Vercel is the first to do this, but it's a good idea and I'm glad to see more players in this space.

A small UI suggestion: it would be helpful if hovering on a row showed the skill description, along with a button to copy the install command.

For anyone interested, there are two other sites already doing something similar:

- claudemarketplaces.com - A comprehensive directory with 1900+ marketplaces, shows descriptions directly in the list view with copy-to-install commands

- skillsmp.com - Has 77K+ skills indexed from GitHub. Cool developer-style UI, but honestly the UX could use work—the search is hidden behind cryptic command-style buttons and it's not obvious how to actually search

Also worth checking out the Claude Code Mastery guide (thedecipherist.github.io/claude-code-mastery) for a deeper dive into skills, hooks, MCP, and CLAUDE.md.
by tracker1 | 2026-01-20 23:41:23+00:00
It's possible you're rendering more than just a simple 404, such as an SPA response or other result as part of an application response that may leak more information...

I think it's not a severe issue in most cases, and maybe something worth noting or addressing if you are at least aware of it, you can just 404 without content, for example in the .well-known/ path. I run most of my apps behind Caddy, which handles that path itself and doesn't forward requests to that path, so I'm curious how it handles it tbh.

I'm also not sure that there's a clear/good fix for this, since CF is allowing the traffic through so that ACME negotiation can work against the final application host.
by ryan_lane | 2026-01-20 23:41:34+00:00
Currently on the front page, and not flagged:

* California is free of drought for the first time in 25 years
* Inside the secret world of Japanese snack bars
* Danish pension fund divesting US Treasuries
* Driver killed and several injured after second train derails near Barcelona
* De-dollarization: Is the US dollar losing its dominance? (2025)

It's common to have things that are covered on TV news on the front page. It's more common for anything negative about Trump to be flagged, though.
by everfrustrated | 2026-01-20 23:42:14+00:00
Learning how to drive the models is a legit skill - and I don't mean "prompt engineering". There are absolutely techniques that help and because things are moving fast there is little established practice to draw from. But it's also been interesting seeing experienced coders struggle - I've found my time as a manager has been more help to me than my time as a coder. How to keep people on task and focused etc is very similar to managing humans. I suspect much of the next 5 years will be people rediscovering existing human and project management techniques and rebranding them as AI something.

Some techniques I've found useful recently:

- If the agent struggled on something once it's done I'll ask it "you were struggling here, think about what happened and if there are is anything you learned. Put this into a learnings document and reference it in agents.md so we don't get stuck next time"

- Plans are a must. Chat to the agent back and forth to build up a common understanding of the problem you want solved. Make sure to say "ask me any follow up questions you think are necessary". This chat is often the longest part of the project - don't skimp on it. You are building the requirements and if you've ever done any dev work you understand how important having good requirements are to the success of the work. Then ask the model to write up the plan into an implementation document with steps. Review this thoroughly. Then use a new agent to start work on it. "Implement steps 1-2 of this doc". Having the work broken down into steps helps to be able to do work more pieces (new context windows). This part is the more mindless part and where you get to catch up on reading HN :)

- The GitHub Copilot chat agent is great. I don't get the TUI folks at all. The Pro+ plan is a reasonable price and can do a lot with it (Sonnet, Codex, etc all available). Being able to see the diffs as it works is helpful (but not necessary) to catch problems earlier.
by dismalaf | 2026-01-20 23:42:32+00:00
You act like $100k/year isn't still well above average. Hell it's above what SWEs make in any country that's not the USA.

But pertaining to this article, the key to tiny Japanese restaurants such as these snack bars is that their startup costs are extremely low, rents are low and since they're tiny, they don't need staff so they keep all the profit. Probably good enough to make an average living without too many worries.
by calcsam | 2026-01-20 23:42:42+00:00
We've always supported letting folks specify their agent hierarchy, eg agent supervisor, workflow orchestrator, mix and match, etc.

But people kept asking us for a multi-agent primitive out of the box so we shipped `agent.network()`, which is basically dynamic hierarchy decided at runtime, pass in an array of workflows and agents to the routing agent and let it decide what to do, how long to execute for, etc!

https://mastra.ai/docs/agents/networks
by 8note | 2026-01-20 23:43:56+00:00
try other harnesses than codex.

ive had more success with review tools, rather than the agent getting the code quality right the first time.

current workflow

1. specs/requirements/design, outputting tasks
2. implementation, outputting code and tests
3. run review scripts/debug loops, outputting tasks
4. implement tasks
5. go back to 3

the quality of specs, tasks, and review scripts make a big difference

one of the biggest things that gets the results better is if you can get a feedback loop in from what the app actually does back to the agent. good logs, being able to interact/take screenshots a la playwright etc

guidelines and guardrails are best if theyre tools that the agent runs, or that run automatically to give feedback.
by LarsKrimi | 2026-01-20 23:44:08+00:00
Is this stuff written by an AI?

The documentation still refers to PCIEM_EVENT_MMIO_READ but it's never referenced in the code on the main branch

I'll admit that I asked for a simple compilable example illustrating something simple like the read events because it looks like it's just reading from the shared memory, and maybe generating an event for any read or write access with the PCIEM_EVENT_MMIO_WRITE event type
Show HN: I figured out how to get consistent UI from Claude Code
by Dammyjay93 | 2026-01-20 23:44:22+00:00
The answer is simple: the more "prescriptive" you are with instructions for Claude, the worse your output. The reason is that Claude tries to pattern match - it's been trained on thousands of safe UI patterns, which is why when you ask for "a modern dashboard" it doesn't really think about the problem space; it just defaults to whatever safe design pattern it can whip up at the time.

I've been working on a Claude Code skill to combat generic UI output, and I tried different approaches like being very detailed with my personal visual style, e.g., the type of alpha values to use for borders, specific token patterns to follow, etc. - and while I got okay-ish output, I realized that most of the visual output looked similar across a range of different instructions, with no diversity in creativity or information architecture.

So I analyzed and broke down the official frontend-design skill to understand how it's able to excel at creative tasks, and what I discovered is that the skill is mostly principle-based and evocative, which is brilliant when you think about it. It maintains just the right balance to fuel creativity while maintaining structure across different ranges of tasks.

So my approach changed. I decided to build my skill using the same pattern: detailing my design principles but framing them in an evocative way to force Claude to deeply explore the task domain before any visual output (feel free to tear apart my approach, but hey, it works). Since then I've been getting way more thoughtful initial output from Claude rather than it defaulting to the safe UI patterns it was trained on.

My goal for this skill is to complement Anthropic's frontend-design skill. While frontend-design focuses on distinctive, memorable aesthetics for any web UI, interface-design is built for systematic consistency across functional interfaces - dashboards, tooling, web apps - where design decisions need to persist and compound across sessions.
by mminer237 | 2026-01-20 23:44:55+00:00
There is zero practical difference between going to a bookie and betting on X team to win a game and going to a broker and buying an equivalent amount of predictive futures contracts for X team to win the game. Some people can also consistently make money on sports betting apps until their accounts get banned for winning. The difference is purely the legal language used (and the elimination of any risk for the bookies).

With stock markets, at least in theory that money can be used to make a product to sell. They're not sum-zero games. Even if the company were to liquidate, you would be entitled to a share of actual assets after creditors were paid. This might seem foreign to some modern social media investors who YOLO with leverage all their money on meme stocks, but I would not be against that being reined in too.

Also, I really struggle to see anything coming out of prediction markets as valuable, especially not on a scale that would counteract their destructiveness. Like, polls are basically equally accurate, and there is zero benefit to anyone to know that there's a 76% chance that Trump will say the word "historic" during his speech Thursday.