MurphyA/hacker-news huggingface dataset:
by danielmeppiel | 2026-03-14 22:43:47+00:00
Two things that help:

Scope instructions to file patterns (services/* → "use ServiceFoo, no raw queries"). The agent only loads rules relevant to the code it's touching, and a small scoped file is easier to notice is wrong than line 47 of a monolithic doc.

Add a post-edit agent hook that asks the agent "does this change mean the scoped instructions need updating?" — turns maintenance from a chore someone forgets into part of the edit loop. Haven't battle-tested this at scale yet but the mechanism is there in Claude Code and Copilot.

For bootstrapping the initial instructions, check out microsoft/agentrc — it can generate and evaluate scoped instruction files so you're not writing them from scratch.
by jamesrom | 2026-03-14 22:44:30+00:00
The problem with MCP isn't MCP. It's the way it's invoked by your agent.

IMO, by default MCP tools should run in forked context. Only a compacted version of the tool response should be returned to the main context. This costs tokens yes, but doesn't blow out your entire context.

If other information is required post-hoc, the full response can be explored on disk.
by alephnerd | 2026-03-14 22:45:41+00:00
> who the audience is...

Businesses that are already in conversations about building partnerships and training with Anthropic.

The real revenue that foundation model companies like Anthropic, OpenAI, Google DeepMind, and others generate comes from enterprise deals with a smattering of government - not consumer.

Consumer usage is largely a loss leader and training/refining tool, and it's best to view the economics of foundational model providers through the same lens you would a hyperscaler.

A major component to AWS's rise was the ecosystem built around training and teaching how to use the AWS ecosystem thanks to the AWS certification program. Same for K8s via the Linux Foundation.

By building a partnership and training motion, Anthropic can get the WITCHes, Deloittes, PWCs, Accentures, KPMGs, and others to start offering turnkey services, which is why Anthropic has been working on building co-sell relationships with those kinds of companies.
by iamdamian | 2026-03-14 22:46:27+00:00
Apple’s music has mostly been DRM-free since 2009!

I love this about Apple and give them as much of my business I can to show that there is still a healthy market outside streaming. (7digital is another good source, although more expensive than Apple. They offer FLAC and 320kbps.)

Makes me wish e-book stores would get onboard…
by genthree | 2026-03-14 22:46:30+00:00
1) Get a couple million dollars you’re willing to gamble.

2) Spend a few tens of K creating some amount of a front of having a company.

3) Buy a dinner or two with the right people in the admin, ideally Trump himself (you can literally do this). Talk like an AM radio host or MAGA-aligned right wing podcaster any time political topics come up (that part’s extremely easy, but you do need to do it)

4) Work out some way to help someone at that dinner line their pockets with any public money they send your way. This will mean only keeping part of what you get, but you’re still gonna beat your investment handily.

Remaining cash is for incidentals and having to repeat the dinner thing (not sure it’s enough for 2x with Trump himself, but should get you a few with other groups of admin members)

Don’t forget to buy and have tailored a Hickey Freeman suit (modern, post-production-shift overseas is fine, no need to track down the good vintage Rochester-made stuff), either pinchingly-tightly-tailored like it’s 2009 (Hegseth) if you’re fairly trim, or I’ll-fitting (leaning too large in every way) otherwise. Brooks Brothers might be an OK option too, in the latter case. Do not buy a dinner jacket, they just wear business suits everywhere. Red tie is safe. Don’t forget some tasteless dumbshit lapel pin, maybe an AR-15 (don’t go for a US flag unless you’re an elected official) or something outright Trump-branded (if you can get one with his face on it, do that for sure)
by colkassad | 2026-03-14 22:47:41+00:00
I've found LLMs to be extremely powerful in research projects. A lot of code related to research is very bespoke by its nature. Using Codex, I've been able to iterate on ideas that I would never had the time or courage to explore before. As for code quality/brevity, it doesn't really matter in this context as long as it works. And it's incredible to have this companion that understands broadly every aspect of tangential knowledge required to execute an idea. I do think it helps that I have over 25 years of experience in my domain (geospatial), which helps me guardrail my interactions and get good results in as few shots as possible.
by _pdp_ | 2026-03-14 22:48:34+00:00
> Secret Management via .gitignore

> Agent tools that need API keys or credentials read from a local .env file — kept out of version control via .gitignore. Agent config is shareable, secrets stay local.

Amazing! Welcome to 2026, where the only thing standing between your plaintext secrets and the rest of the world is a .gitignore rule.

This is hope-based security.
by Kim_Bruning | 2026-03-14 22:48:38+00:00
I'm going to assume that maybe he's getting a bit too caught up in his own rhetoric, and this doesn't mean that he's actually going to give that order.

Hopefully?

But he should at very least know better if he's the secdef. If anything, the civilian leadership should be more restrained than the military.

And it does signal that no one is briefing him beforehand on things you really should or shouldn't say.
by seyfigo | 2026-03-14 22:49:01+00:00
Post:

Once your YouTube playlists and liked videos get large, the built-in search becomes really frustrating.

You can’t easily:

search across multiple playlists

filter results properly

use regex or pattern searches

sort videos in useful ways

open multiple selected results quickly

I ran into this problem so often that I ended up building a small Chrome extension to solve it.

It's called Todij Playlist Manager.

The idea is simple: treat playlists, channels, and liked videos as one searchable collection.

Features

• search across playlists, channels, and liked videos
• advanced search (including regex)
• filtering by date, duration, channel, etc
• better sorting options
• bulk opening of selected videos
• supports external YouTube videos as well

It’s mainly meant for people who keep large YouTube libraries for learning or research.

If anyone here deals with huge playlists or saved tutorials, I’d be curious to know how you currently manage them.
by DoctorOetker | 2026-03-14 22:49:11+00:00
Would you have a problem with the following scheme?

Every client is free and encouraged to feed back its financial health: profit for that hour/day/month/...

The AB(-X) test run by the LLM provider uses the correlation of a client's profit with its AB(-X) test, so that participating with the testing improves your profit statistically speaking (sometimes up sometimes down, but on average up).

You may say, what about that hiring decision? One thing is certain: when companies make more profit they are more likely to seek and accept more employees.
by thaumasiotes | 2026-03-14 22:49:52+00:00
> In a data language there's no comment erasure happening between the producer and the consumer, so comments are just dangerous as they would without doubt evolve into a system of annotations -- an additional layer of communication which would then not be standardized at all and which then would grow into a wild west of nonstandard features and compatibility workarounds.

But there's nothing stopping you from commenting your JSON now. There's no obligation to use every field. There can't be, because the transfer format is independent of the use to which the transferred data is put after transfer.

And an unused field is a comment.

{
"customerUUID": "3"
"comment": "it has to be called a 'UUID' for historical reasons"
}

If this would 'without doubt' evolve into a system of annotations, JSON would already have a system of annotations.
by eichin | 2026-03-14 22:50:55+00:00
Interesting detail on the algorithm but seems to completely miss that if you care about non-streaming performance, there are parallel versions of xz and gzip (pxzip encodes compatible metadata about the breakup points so that while xz can still decompress it, pxzip can use as many cores as you let it have instead.) Great for disk-image OS installers (the reason I was benchmarking it in the first place - but this was about 5 years back, I don't know if those have gotten upstreamed...)
by scarmig | 2026-03-14 22:51:09+00:00
The point is that, if limited to a level that just covers essential goods, it won't change their distribution, just their payer. If it did change the distribution of the good, then it wasn't essential (because it's the floor; without it, the consumer of the good would be dead; above it, and the vast majority of people immediately spend their income on luxury substitutes).

That is, to be clear, a much lower floor than what many people mean by "essential," which has undergone a kind of concept creep in modern discussion that, depending on the person, might be a cell phone, to an education at a private university, to owning a condo in San Francisco. My essential here means enough to afford enough caloric and nutrient intake to maintain a livable body mass; a couple sets of plain tee shirts and jeans; and a minimal shared living space in a low cost of living area. That's quite below what the US considers the current poverty line and a quite bleak existence (and most people would wonder what's even the point of it).

Income beyond that would drive inflation, at least in the short term.
by advael | 2026-03-14 22:51:22+00:00
I'm sure there are other things that call themselves unions but don't serve the same function we expect of organizations using that word. I'm not really knowledgeable about either of the things you mention, so I don't know if I'd view them as fitting this description or not. Both seem unlikely to have the kind of broad negative impact police unions have, which is particularly egregious because they effectively make public oversight of a government function with a lot of potential to do harm impossible, which has the knock-on effect of making that harm more able to propagate, to the point where it's both quite severe and commonplace
by righthand | 2026-03-14 22:53:32+00:00
I dont hate my country, just a few electeds running it. I do not spend time on social media and I read a variety of news sources. I’m not really sure what your point is other than to label everything propaganda that sounds negative. I can’t be unhappy with aspects of my country and express it otherwise I’m some kind of robot to propaganda. I’m not sure about you but I have organized people for protests and participated in real local change. I honestly do not understand what makes you happy in being an optimist-defeatist. Perhaps best to stop here.
by II2II | 2026-03-14 22:53:54+00:00
Who knows, though I always thought that it was rather odd that OpenTTD was on Steam. I'm not sure whether that's because it is an open source remake or because you had to own the original for the graphics/sound assets back in the day. (Apparently that changed over 15 years ago!)

Even if Atari's lawyers were involved, it may have been a friendly exchange. The post claims that OpenTTD was available on Steam for 5 years. That is more than enough time for them to apply legal pressure. It's also worth noting that the open source version is still available from the project website, as are the open assets.
by SOLAR_FIELDS | 2026-03-14 22:54:08+00:00
Given the stochastic nature, if I still have to dig into the code perhaps one out of every 10 times, it's still a huge bonus. Probably it depends on what you are working on. Esoteric COBOL? Erlang? Yeah good luck, you're probably hand steering the thing while the frontier model providers figure out how to train it better. Vanilla-ish Python/Golang/Typescript/Java? I pretty much never have to do that nowadays for things the model is familiar with.
by kristianp | 2026-03-14 22:54:09+00:00
nbody spectral-norm
C 2100ms 400ms
Graal 211ms 212ms
PyPy 98ms 1065ms

Seeing Graal and Pypy beat the gcc C versions suggests to me there's something wrong with the C version. Perhaps they need a -march=native or there's something else wrong. The C version would be a different implementation in the benchmark game, but usually they are highly optimised.

Edit: looking at [1] the top C version uses x86 intrinsics, perhaps the article's writer had to find a slower implementation to have it running natively on his M4 Pro? It would be good to know which C version he used.

[1] https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
by gambiting | 2026-03-14 22:54:16+00:00
><>If the US wasn't around, Russia would likely be rolling around most of Eastern Europe today. From 2022 to 2025

No one is saying otherwise. Still, I don't see how you can describe Europe as failing. Unless, like I complained in my original comment - you see the world as some kind of race where only one country is "winning" and everyone else is losing(failing).

>> America and Europe went dollar for dollar in support of Ukraine. And many of the Euro dollars went to purchasing weapons and defense from the US.

In terms of military spending, yes. In terms of refugees support and civil expenditure, Europe was obviously ahead. And again, this isn't a race to see who can spend more.

>> Even more harrowing when your population doesn't understand the need for defense.

As a Pole, I don't see this sentiment at all - Poland really understands the need to defend itself, with our spending being allocated accordingly - and importantly, new funds are coming with the specific provisions to prevent them being spent on American technology.

>> of NATO (read: America)

Obviously, America has the largest fighting force on the planet. But are we just going to pretend that UK, France and Germany don't have capable armies which would be capable of defending our eastern flank if needed, including with nuclear deterrent? I know Americans are being fed the stories of NATO being entirely US and no one else, but obviously even cursory inspection shows that this isn't true?
by Frannky | 2026-03-14 22:56:00+00:00
I don't know. Skill+http endpoint feel way safer, powerful and robust. The problem is usually that the entity offering the endpoint, if the endpoint is ai powered, concur in LLM costs. While via mcp the coding agent is eating that cost, unless you are also the one running the API and so can use the coding plan endpoint to do the ai thing
by ralferoo | 2026-03-14 22:56:39+00:00
I don't know how to read Hangul (I know the general idea about how the character is composed). To me just looking at the examples, it doesn't seem as obvious what the structure of the code is, compared to Latin letters and punctuation. Actually, most punctuation looked OK, but the first couple of examples used arrays and [ and ] seemed to just blend in with the identifiers wherever they appeared. I'm not sure how distinct they look with familiarity with Hangul characters. I'm sure it's also nothing that colour syntax highlighting wouldn't make easier.
Show HN: Nia CLI, an OSS CLI for agents to index, search, and research anything
by jellyotsiro | 2026-03-14 22:57:06+00:00
We’re open-sourcing the Nia CLI: a command-line tool for AI agents to index and search technical and general data sources directly from the terminal.

GitHub: https://github.com/nozomio-labs/nia-cli

We originally built Nia as an MCP server and API, but a lot of the most capable agents today, like Claude Code, Cursor, and custom shell-based pipelines, live in the terminal. For those agents, a CLI felt like the most natural interface.

What it can do:

- Index repos, docs, papers, datasets, and local folders
- Search across indexed sources with hybrid retrieval
- Research codebases or personal data with cited outputs
- Persist context so agents can save plans, decisions, and notes, then resume later without losing the thread
- Search without indexing across the web, GitHub, and package registries

A few things we designed specifically for agents:

- structured JSON output
- async-first workflows
- non-interactive commands
- composable multi-step pipelines
- local folder sync and watch support

A few example commands:

nia repos index vercel/ai
nia search query "How does auth middleware work?"
nia oracle job "How does TurboPuffer handle vector quantization internally?"
nia contexts save "Auth refactor plan" --content "$(cat plan.md)"

Install:

bunx nia-wizard@latest

Open source repo:
https://github.com/nozomio-labs/nia-cli

Blog post:
https://trynia.ai/blog/introducing-nia-cli

Would love feedback, especially from people building terminal-native agent workflows.
by wyldfire | 2026-03-14 22:57:19+00:00
Modern semiconductor fabrication is a very narrow field.

As far as monopolies go I don't think it's our biggest concern, like you say.

If we want to continue to wage wars and seek conquest, it's not great to have it located in one/few countries. But instead if we want to work towards peace, we should continue breaking down barriers to trade (while maintaining protections for labor).
by ocdtrekkie | 2026-03-14 22:58:01+00:00
They legally own the assets. Taking them off Steam if the title is no longer abandoned by the publisher is a 100% reasonable decision, so you need to understand this is above and beyond what the publisher needs to do.

An outcome like this more than likely means the folks working on the rerelease are fans of OpenTTD and worked internally to protect it.
by zozbot234 | 2026-03-14 22:58:32+00:00
An income subsidy does the same thing at lesser cost. Whether that subsidy is a UBI or a wage supplement is to some extent a political choice: we got the EITC instead of a proper UBI (managed as a "negative" income tax bill for low-earning folks) largely due to political objections to the notion of getting money "for doing nothing".
by lm28469 | 2026-03-14 22:59:21+00:00
> They also provide diplomatic cover and economic support for the Iranian regime

I can't believe some people can still argue in good faith the US and israel are the good guys, do you have a ounce of self reflection? You kidnap presidents, kill entire families of political leaders, talk about them like they are dogs (see the latest white house propaganda videos or Hegseth speeches), and then you come here to argue China is bad because they may one day plan to do something similar, how blind are you? Everything you accuse the others of planning you already have done it or are actively doing it right now...
by thaumasiotes | 2026-03-14 22:59:41+00:00
I can't really tell what you're trying to say; JSON also has no representation for rational numbers in general. The only numeric format it allows is the standard floating point "2.01e+25" format. Try representing 1/3 that way.

The usual complaint about numbers not being well-defined in JSON is that you have to provide all numbers as strings; 13682916732413492 is ill-advised JSON, but "13682916732413492" is fine. That isn't technically a problem in JSON; it's a problem in Javascript, but JSON parsers that handle literals the same way Javascript would turn out to be common.

Your "defense", on the other hand, actually is a lack in JSON itself. There is no way to represent rational numbers numerically.
by denotational | 2026-03-14 22:59:44+00:00
Given the “rightsholders” have no rights over OpenTTD (only the assets are copyrightable, and OpenTTD has had its own set of open-source assets for the past 15 years), I can’t agree with this.

I’m not sure how to interpret this other than Atari not wanting to compete with OpenTTD on Steam.
by stefan_ | 2026-03-14 23:00:06+00:00
It is acutely on point. The only reason people have to put in work again and again to fix distributions like Fedora for Raspberry Pi models is because the foundation pulls stunts like that revD. Right now, you can take Buildroot at git master, build an RPi image and have it randomly not work on one of two what looks like identical RPi 5 boards. That's bad, and there is no reason for it.
by silisili | 2026-03-14 23:02:00+00:00
Not OP, and nothing makes it impossible, but from my experience in big companies, being visible is way more useful than being productive.

I got further faster by just answering emails right away than by churning out code. I got constant kudos, which got me promoted, and invited to more meetings, which led to less actual work. All because I just started replying to emails sent to our group. In retrospect it feels pretty perverse.

In lean companies and startups...perhaps not so much.