MurphyA/hacker-news huggingface dataset:
by cschneid | 2026-02-26 20:12:04+00:00
I have been using Superset (https://superset.sh/) and it has worked really well to automate creating & deleting worktrees, with their own terminals, and keeping everything organized. Great for running work in parallel.

It's really just a terminal emulator w/ a bunch of extra helpers to make coding agents work well. Which I really like since it doesn't try to wrap claude or codex in it's own ui or anything tricky.
by rsync | 2026-02-26 20:12:18+00:00
If you can use a QR code you probably should.

However, if you're walking down the street and need to quickly generate and apply a message, how will you pass along a QR code to an unknown future viewer ?

Can you draw a QR code with chalk or freehand with a pen, etc. ?

I will admit that the use-cases for "oh by codes" are weird and infrequent but I am convinced they will emerge ...
Show HN: MongoClaw, A mutation runtime for MongoDB with write-time agent safety
by supreeth_ravi | 2026-02-26 20:12:33+00:00
I built MongoClaw because every AI enrichment pipeline I've seen hits the same concurrency bug nobody talks about.

Your agent reads a document at t0. Inference takes 2 seconds. At t1, another process updates that document. At t2, the agent writes back — silently overwriting live data with output generated from a stale snapshot. Clean 200 OK. No error.

That's not a prompt problem. It's a write-safety problem.

MongoClaw solves it by capturing version + content hash at dispatch time and issuing a conditional write that only succeeds if the source record still matches. Stale payload? Write suppressed, reason classified, execution record persisted.

It also handles:

* Idempotent replay protection across all write strategies
* Loop detection via agent-origin metadata
* In-band policy evaluation (enrich/block/tag) after inference and before mutation

Agents are declared in YAML. The runtime handles change stream ingestion, Redis-backed queuing, async execution, schema validation, and auditable writebacks.

It also works with external agent endpoints — normalising heterogeneous response formats into the same execution contract.

Would appreciate feedback on the write-safety mechanism specifically — curious if others have hit this problem differently.
by eldavido | 2026-02-26 20:13:06+00:00
Yeah I think there are two problems

First: we may have gone too far toward anti-pollution. China has more naval vessels than the US. Everything changes when peace isn't a foregone conclusion, as it has been for the past 30? 50? years.

Second: it's not the regulations per se, but the difficulty of dealing with the bureaucracy, particularly (a) long delays and (b) uncertainty.

I run an electrical contractor, so this is not the least bit theoretical to me. The hassle of dealing with local government and PG&E for what should be routine things adds tremendous cost to doing business. Recent concrete example: it cost over $1,000 and two months to process a minor change to an electrical permit set, in Alameda (City). The actual change was moving some panels outside, a small revision to a plan that had already been checked and permitted. This required $1,400 in engineering fees, plus a ~$200 application fee to the City, and then the actual plan check and review charge of $650-700. It was probably one hour of actual work. The worst part was that Alameda outsources its plan check to a third party and I'm pretty sure the plans sat for two weeks on someone's desk at the City, before I asked for status, and then, an hour later, by "complete coincidence", it was sent to the outsourced plan checker.

If we could put a precise price on pollution, it would be a different story. It's a collateral damage of all the (even well-intentioned, good) regulation that drives business away.
by simonw | 2026-02-26 20:13:22+00:00
Yeah, doing a small thing daily can add up so fast.

When I started my niche-musueums.com website I bootstrapped it by posting a new museum I had been to every day for a month. It took 15-30 minutes a day and within a few weeks I had a site I was really proud of.

I think the key is to give yourself permission to stop without feeling guilty about it. Any time I start a new streak like this I deliberately tell myself that it's not going to be forever and I can stop any time for any reason.
by vichoiglesias | 2026-02-26 20:13:26+00:00
The self-extending part is wild! agent mutating its own tools mid-run makes trajectory fidelity even more make-or-break.

On git hooks: checkpointing state is easy, but if replay isn’t deterministic, bisect over checkpoints is unreliable... you can get different states on replay.

Tool evolution is a brutal test case: if the predicate is “does this tool still handle edge X?”, it needs to stay violated once flipped, or binary search happily lies about the origin tick.

Genuine question: when a self-built tool regresses, can you actually reconstruct the exact chain of reasoning/commitments that led to it? The artifact is simple to diff, the decision trail behind it is where it gets nasty.
by giancarlostoro | 2026-02-26 20:13:32+00:00
This is funny to me because when I tell Claude how I want something built I specify which libraries and software patents I want it to use, every single time. I think every developer should be capable of guiding the model reasonably well. If I'm not sure, I open a completely different context window and ask away about architecture, pros and cons, ask for relevant links or references, and make a decision.
by simonw | 2026-02-26 20:15:19+00:00
A fun hobby I picked up during Covid was trying to cook food from countries I had never been to - since traveling anywhere wasn't an option.

Pick a country, research what food it has that you've never tried, find a few online recipes and YouTube guides and give it a go.

This was a ton of fun. I have no idea if anything I cooked was even remotely like the authentic original, but it was still a very rewarding exercise.

If you live somewhere with a lot of international supermarkets (the SF Bay Area is great for those) it also gives you an excuse for a shopping adventure for ingredients.

(My favorite recipe we tried with this was Doubles from Trinidad https://www.africanbites.com/doubles-chickpeas-sandwich/)
by repstosb | 2026-02-26 20:15:58+00:00
The problem is that C++ stores the vtable inside the object, and the objects over which you're iterating often weren't allocated contiguously. Even when they are, if each object contains lots of other data, the vtables won't necessarily be close to each other. That means that invoking virtual functions inside a loop means a lot of cache misses, and since the data you're fetching will be a branch target, it's often hard to find other useful work to accomplish during the memory delay cycles. However, in a language where you can store a relatively tight array of object IDs (or even use tag bits in the this pointer), now you have a much higher cache hit rate on the indexes to your equally tight dispatch table, which will also have a high hit rate.

It's a fair amount of extra work, but in a hot loop it's sometimes worth it. "You can often solve correctness problems (tricky corner cases) by adding an extra layer of indirection. You can solve any performance problem by removing a layer of indirection."
by ACCount37 | 2026-02-26 20:16:01+00:00
Those two things are prevented by economics more than physics.

For AI in particular, the economics currently favor ongoing capability R&D - and even if they didn't favor AI R&D directly (i.e. if ChatGPT and Stable Diffusion never happened), they would still favor making the computational inputs of AI R&D cheaper over time.

Building advanced AIs is becoming easier and cheaper. It's just that the bar of "good enough" has gone off to space, and a "good enough" from 2020 is, nowadays, profoundly unimpressive.

I'm not sure how much does it take to reach AGI. No one is sure of it. But the path there is getting shorter over time, clearly. And LLMs existing, improving and doing what they do makes me assume shorter AGI timelines, and call for a vote of no confidence on human exceptionalism.
by bburky | 2026-02-26 20:16:16+00:00
Is that the same feature as vlanid= in openwrt's wpa_psk_file?
https://openwrt.org/docs/guide-user/network/wifi/basic#wpa_p...

I was leaning towards using this configuration for splitting devices into VLANs while using one SSID. Yeah, dynamic VLAN+per device PSK would be best, but I'm probably happy enough with a shared PSK per VLAN to isolate a guest or IoT network. Would this VLAN isolation have prevented this attack? At least to prevent an attacker from jumping between VLANs? (I assume shared PSK per VLAN might be vulnerable to attacking client isolation within the VLAN?)
by peterlada | 2026-02-26 20:16:23+00:00
To this day if you walk on the beach your soles or the soles of your shoes will get sticky tar spots. You need baby oil wipes to clean them up before entering your home.

And some of it, if not most of it is not natural seepage but early environmental catastrophes in the 50s and 60s, particularly around Summerland.

(Source ex-resident)
by 0xbadcafebee | 2026-02-26 20:16:36+00:00
With only 10 large metro-areas destroyed, there are still other very large cities and metro areas. Phoenix, Houston, San Antonio, Dallas, Fort Worth, Jacksonville, all have over 1M people. San Jose, Austin, Charlotte, Columbus, Indianapolis, Seattle, Denver, Oklahoma City, Nashville, all have from 700K-1M. And there's 20 more with 500K+ people. We have a big-ass country. Military and national guard are spread all over, as well as "industry" that is tapped in time of war (we don't have much of it left, but enough to be useful)

I'm not defending whatever OP's point was, I'm just saying we would have a whole lot of people left. Very few resources, and very poorly distributed, but a lot of people. If we lost 40% of the population it would still be a lot of people.
by insane_dreamer | 2026-02-26 20:17:15+00:00
Sure, permissions are the problem, but permissions are also necessary to give the agent power, which is why users grant them in the first place.

There is inherent tension between providing sufficient permissions for the agent to be more useful/powerful, and restricting permissions in the name of safety so it doesn't go off the rails. I don't see any real solution to that, other than restricting users from granting permissions, which then makes the agents (and importantly, the companies behind them), less useful (and therefore less profitable).
by thomassmith65 | 2026-02-26 20:17:45+00:00
The hype around AI is admittedly annoying - especially from the Wall St crowd who don't know how to pronounce 'Nvidia' correctly, and who haven't managed to internalize the fact that the chatbots they use hallucinate.

It really is 'different', though, in the same way the Internet was.

It took about 20 years (ie: since The World ISP) for the Internet to work its way into every facet of life. And the dot com bubble popped half-way through that period of time.

AI might 'underwhelm' for another five or ten years. And then it won't. Whether that's good or bad, I don't know.
by avmich | 2026-02-26 20:17:52+00:00
> I'm not sure current genAI models do these sorts of things.

You might be right here. Two points though - first, we don't know if current AI is actually incapable of something in particular; we didn't find this, didn't prove it. Second, we might have a different AI approach, which would actually be capable of these things you mention. To me, it's way too early to dismiss AIs - at least in principle - regarding all of this.
by gucci-on-fleek | 2026-02-26 20:18:03+00:00
My understanding was that people realized that draining wetlands was bad a few decades ago, and that it doesn't really happen very much any more. The article seems to imply that drainage is common and/or becoming more frequent, but it doesn't actually directly state that anywhere.

Halfway through, it states that

> The annual rate of wetland loss from existing data (10,820 hectares per year) was used to quantify associated carbon emissions for the region.

but I'm not exactly sure what they mean by "the region", and I can't find that number anywhere in the linked report. But 11k hectares is only 167 quarter sections, which really isn't very much—a typical small/independent farmer will usually plant crops in multiple quarter sections every year. For comparison, Alberta+Saskatchewan are 131 million hectares in area, and if "The Prairies" also includes BC and MB, then the total area doubles.

Without looking at any of the data, my guess would be that most of the areas being drained are in the cities (and not farmland), since that's usually the only place where it makes economic sense to drain a wetland. And even the cities tend to preserve the wetlands these days since they're a pretty cheap solution to flood prevention.
by mbadyl | 2026-02-26 20:19:06+00:00
Happy to answer any questions about the implementation. Built in Go - the OpenAPI Scanner was the most challenging part, it analyzes source code across multiple languages to auto-generate OpenAPI 3.1 specs. The headless mode was built specifically for CI/CD pipelines so you can run octrafic test non-interactively. Supports local LLMs via Ollama and llama.cpp if you don't want data leaving your machine.
by soleveloper | 2026-02-26 20:19:21+00:00
There are incredible authors who happen to be dyslexic, and brilliant mathematicians who struggle with basic arithmetic. We don't dismiss their core work just because a minor lemma was miscalculated or a word was misspelled. The same logic applies here: if we dismiss the semantic capabilities of these models based entirely on their token-level spelling flaws, we miss out on their actual utility.
by dmix | 2026-02-26 20:19:34+00:00
You can just look at examples in the article. For example "Lithium-Ion Cell Manufacturing"

> Cell manufacturing uses NMP solvent for electrode coating, handles flammable electrolytes, and requires formation cycling that generates heat and gases. Tesla chose Reno for the Gigafactory specifically because of California's permitting environment.

EPA tried to heavily restrict these outright in 2024 [1] and California has air/environmental rules that made it nearly impossible to develop large battery factories in California, which is why Tesla chose Reno in 2014. An alternative didn't exist at the time and now a decade later Tesla recently filed a patent this year for Dry electrode processing [2]

So basically California lost a decade of possible lithium factories

[1] https://www.sgs.com/en-ca/news/2024/06/safeguards-9624-us-ep...

[2] https://www.benzinga.com/markets/tech/26/02/50290319/elon-mu...
by simoncion | 2026-02-26 20:20:21+00:00
> They're almost always relying on VLANs behind the scenes to separate the WAN and LAN ports.

I don't believe this is true. I expect that what's going on there is the WAN and LAN ports on the switch [0] are in separate bridges.

Why do you believe that they're using VLANs behind the scenes? It seems silly to add and remove a whole-ass VLAN tag to traffic based on what port it comes in on. Do you have switch chip or other relevant documentation that indicates that this is what's going on?

[0] or WAN and LAN interfaces, if the ports are actually separate, entirely-independent interfaces, rather than bound up in a switch
by whynotminot | 2026-02-26 20:20:33+00:00
This lazy kind of post annoys me because it sort of groups any of us saying that this technology is profoundly different in with all the town criers who have said this kind of thing before — even if we have never said it before and were even skeptical of past declarations

Effectively, it’s a statement saying nothing can ever be profoundly different, because people have said it before and been wrong.

Lazy.
Show HN: Morsel – an open-source, web-based visual Modelica editor
by nachawati | 2026-02-26 20:21:14+00:00
Hey HN,

I’m excited to share Morsel, a modern, web-based visual editor for Modelica that I've been working on. It's part of the broader ModelScript compilation, analysis, and visualization framework.

Modelica is a powerful, object-oriented language for equation-based modeling of complex physical systems (mechanical, electrical, electronic, hydraulic, thermal, control, etc.). However, tooling in the Modelica ecosystem has historically been heavy, proprietary, or desktop-bound. I built Morsel to bring a fast, beautiful, and accessible Modelica modeling experience right to the browser.

Key Features
============

- Interactive Diagrams: High-performance visualization of Modelica connections and topologies using AntV X6.

- Synchronized Code Editor: Real-time, two-way synchronization between the visual diagram and the underlying Modelica code (powered by Monaco Editor).

- Intelligent Properties Panel: Easily edit component parameters, modifiers, and annotations through a responsive UI that directly manipulates the AST.

- Library Explorer: Navigate complex Modelica libraries (like the Modelica Standard Library) via an intuitive hierarchical tree view.

Under the Hood: ModelScript
===========================

Morsel is powered by ModelScript, a custom compilation engine written in TypeScript. ModelScript brings its own modern toolchain to Modelica:

- Custom Tree-Sitter Grammar: Fast and precise parsing for editor integrations and tooling.

- Semantic Analysis: Full scope and name resolution for complex Modelica hierarchies.

- Model Flattening: Translating hierarchical component architectures into flat Differential Algebraic Equations (DAEs).

Why I built this
================

I wanted an open-source (AGPL-3.0), modern front-end that could run entirely in the browser (or as a local web app) without sacrificing the power of the Modelica language. It's built on a modern stack (React, React Router, Vite, Tailwind, GitHub Primer) to provide a premium, responsive developer experience.

I am still actively developing Morsel and ModelScript and would love your feedback, bug reports, and contributions!

GitHub Repo: https://github.com/modelscript/modelscript

I'd be happy to answer any questions about the architecture, Modelica parsing, the tree-sitter grammar, or anything else!
by akramachamarei | 2026-02-26 20:22:48+00:00
Well, no, that is not a reasonable interpretation at all. For one, the commenter did not proclaim existence of conspiracies, but the existence of conspiracy theories. People mix these up a lot. Secondly, the other interpretation you propose exhibits roughly the same form as "X does A", so it's worth repeating that it does not mean "only X does A" either!
by cschneid | 2026-02-26 20:23:00+00:00
Can this take vague ideas, do iterative design with me, and breakdown tasks to then pass off to agents to build?

I was playing with a very similar project recently that was more focused on a high level input ("Build a new whatever dashboard, <more braindump>") and went back and forth with an agent to clarify and refine. Then broke down into Epics/Stories/Tasks, and then handed those off automatically to build.

The workflow then is iterating on those high level requests. Heavily inspired by the dark factory posts that have been making the rounds recently.

From a glance, it seems like this is designed so that I write all the tasks myself? Does it have any sort of coordination layer to manage git, or otherwise keep agents from stepping on each other?
by positron26 | 2026-02-26 20:23:30+00:00
> However, current predictions about the future of software development (and the world in general) are speculative.

It's amazing to me how those willing to seize on the speculative nature of any ANY uncertainty cannot recognize the inherent uncertainty of the inverse.

> what CS fundamentals do you need

1. Tarski's undefinability theorem
2. Gödel's incompleteness theorems
3. Curry Howard correspondence

And a lot of exposure to deductive reasoning, vague ideas of automated theorem proving and formalization.

I won't pretend its easy, but let's be clear, a small fraction of people who know things are being forced to entertain the hysteria of a vast majority who are unwilling to know things and just go around beating their chests and will continue doing so until the train hits them.

There are 2-3 minor architectural changes in between now and what I would identify as a completely unbounded AGI with clearly discernible dynamic, self-defined objective functions and self-defined procedures for training and inference. It can be done in megabytes. Oh god. Get me out of this forum. I wish to return to my code editor.
by casey2 | 2026-02-26 20:23:43+00:00
The web? GLP-1s? 5G? The newton was mega-hyped, failed but Apple came back with the iPhone. All the dot com failures that eventually became viable businesses (so viable in-fact that sfgate has to reach back 26 years to write their stinkpiece [1])

Hype is often early, in 10-20 years we'll start seeing the value as the rest of the world catches up

https://www.sfgate.com/food/article/rise-fall-bay-area-start...
by exceptione | 2026-02-26 20:23:53+00:00
One would expect these kinds of things to happen in Afghanistan, but we have to update our priors. Leading figures in the current regime are openly idolatrous about Nazism¹, and for Paleoconservatism² anything will fly. Remember their slogans about "freedom"? They just mock it; but even that isn't original.

______

1. https://en.wikipedia.org/wiki/Persecution_of_transgender_peo...

2. https://en.wikipedia.org/wiki/Paleoconservatism
by bpt3 | 2026-02-26 20:24:02+00:00
> You're putting words in my mouth. I merely pointed out that they have a very confused mission thus I think it is not surprising that there is dysfunction.

I'm not trying to put words in your mouth, but I don't see what other conclusion can be drawn from your statement.

> We have vocational trade schools. We have professional guild schools (medical, dentistry, etc). At least some subset of students attends school with the intention of becoming professional researchers (ie pursuing a PhD, then a postdoc, then finally general employment).

> I think it would be reasonable to expect undergraduate institutions to set unambiguous goals for each program. Students should know what they are signing up for. It would be fine to graduate with a certain amount of time spent explicitly on general education and a certain amount spent explicitly on vocational training with a specific target.

I agree that undergraduate institutions should be required to set unambiguous goals for each program, but what are done with the many, many attendees who have no goals for themselves beyond "go to college and get a job when I'm done"? I think there is value in having these multi-faceted institutions that are a combination of finishing school, classical academic study, and vocational training that can (and do) produce sufficiently educated and mature adults who can independently function in society.

That is the mission of the undergraduate portion of the Arts and Sciences school at basically every college/university. Professional schools have a slightly more specific mission.

> If you claim that education is a means to an end then what of (for example) history majors?

Excellent question, and it's one for the history department to answer. Maybe things stay as they are now and it's a home for the many people who don't have specific career goals while attending college, and that is their goal.

> I think the bachelors diploma itself is what became a means to an end much to the detriment of "pure" academia.

"Pure" academia only exists for those with a patron (which could be themselves), which is non-existent at any meaningful scale.

> The CS program at my undergrad spent time teaching us how to use version control. That's fantastic for a professional programmer but how does that have anything to do with CS as an academic pursuit? You can literally do much (perhaps all) of actual CS with nothing more than a pen and paper.

Good for them, because anyone applying their CS knowledge in any capacity needs to know that.

If you want to go major in purely theoretical CS at a place that offers only courses that are effectively a specialization of a math major, there is value in it but the department offering them has to answer the same questions as the history department.