Better HN
topnewbestaskshowjobs
Log inSign up

ianjbutler

105 karma · joined Jul 21, 2025 (1y ago) · 58 submissions

Submissions

comment 1w ago · link · parent

Unification of programming languages and modeling languages is the holy grail of course, and it’s certainly no longer a pipe dream, but we suffer much from ignoring the easy wins in the middle ground.

We could iteratively move towards this sort of thing by basically programming more directly with more formal stuff more often, basically thinking in terms of automata, process algebras, graph algorithms, etc. that’s the real design vocabulary now, not something like loops or objects

For example.. abstractions from FSMs to kahn processes whatnot can all compile to Petri nets, and suddenly you can embed a formally checked subset of a classic and well understood control flow or dataflow or graph transforms, but using the idioms available in your language (decorators, templates, annotation). You write the formal model and the informal implementation side by side, using each to generate/elaborate/constrain the other. There’s only one whole but it has two distinct views, neither of which is complete or standing alone

comment 2w ago · link · parent

The best exit path would have been open source funding before we were addicted to such things, and that seems like it’s still the best exit path now that we are.

AI helps rather than hurts here too. Exactly why isn’t irc good enough to be your slack? If it really wasn’t before then the distance between actual and desired state is more narrow than ever before. Consequences for Hail corporate are clear, the off ramp is clear, let’s get to it.

comment 2w ago · link · parent

> in the political doghouse and gets you crucified on social media

This is arguably the correct thing, even if you believe the situation is urgent, if you also believe that other things are more urgent. Suppose you think that fixing declining education or economies is absolutely prerequisite, and that until people are smarter or more comfortable or both, even discussing the climate too often weakens your chances of building effective coalitions.

Personally, I go back and forth when I weigh this sort of thing, I'm really not sure. We probably need to at least consider that this is a consistent/coherent perspective. Of course, it's not a invitation to make things worse as fast as possible with drill-baby-drill.. but an acknowledgement that there are many other ways to make things worse, such as pissing people off. Aggravating corporations is fine, but for people who are not ready to hear about this, we need real consideration and a real offer. However inconsistently, we have tried forcing an agenda they need to comply with already, so now let's try something else

comment 3w ago · link · parent

> Also, we don't look at CVs or histories of people and say "hmm, this person could be good at coding for us but I really wish they didn't have such a broad and expansive history".

Damn right we don't say that. And I don't look at a carpenter and wonder if his head is hard enough to drive nails like a hammer either. People aren't tools, and tools aren't people. You've conflated them because they are both capable of doing work. And that's exactly the type of confusion and category error that the perspective I'm arguing against will lead to.

Wanting a multipurpose tool or system is occasionally reasonable. Much more often it is very, very to close misunderstanding the nature of a problem, what a tool is, or what a system should be. The particulars of purpose and mechanism of action matter, which is why a blowtorch is sometimes a wrench but only if you're kind of desperate. It is always a very scandalous thing to speak ill of someone's best new electric banana-phone / dishwasher-piano that they want to sell you. But that just sounds messy to me, I'm not sure it will improve the sound quality or taste of anything involved.

comment 3w ago · link · parent

> not saying cutting everything off as close as possible to it's purpose must be the best way

Nah, let’s stand firm here and not give in so easily. Parent suggests a coding model needs exercise info in case you want to code an exercise model? Absurd, that leads to the know everything monolith to do anything.

Language, reasoning, tool use, and domain knowledge.. in this case the domain is coding. Someone wants an exercise app? Great, so we look that shit up, we don’t bake it in. We don’t want to bake anything we don’t need in.

We don’t even need to explain this completely reasonable and totally normal engineering preference that small is beautiful. it’s the other side that needs to justify wtf exercise has to do with coding or why everything from twitter posts to a working knowledge of 15th century French poetry just might be helpful for disconnected domains, like say serious work in contemporary astrophysics. Back to basics, No one asked for that, No one should accept as given that this is the way anything needs to work

comment 3w ago · link · parent

Incredible, this should be more famous.. even if it doesn't work in modern ruby (?) the class of quine seems fascinating and something I've never seen or heard of. What even is this, I mean the effect on the image itself is fun but also in a sense incidental, and the "rotational quine" code-core cycling inside some kind of permutation group is the meat? The zlib piece is the crux I guess but I can't grok the trick well enough to say more.

Skimming comments, the answer to "Any chance on having a writeup on it's logic?" was "Please read the source code :-)" of course.. hah

comment 3w ago · link · parent

Thinking along these lines myself lately. Even better than dsls is dsls directly descended from recognizable formalisms, which achieves compression for humans and agents at the same time, and is even more effective than any other kind of dsl’s at restricting the bad kind of ai “creativity”.

I’ve been experimenting with stuff like “this project is a Kahn process network, every change is strict conformer to that model, add features only by adding nodes”. As a bonus if you’re strict then porting the specific implementation to a new language should be easy.

To me stuff like this feels like the future of programming.. details don’t matter but design language does. not leet code of fancy data structures from scratch but at least a basic familiarity with LOTS of them, a working knowledge of vast zoos of expressive patterns and automata, etc.

comment 1mo ago · link · parent

Right. There IS a way to convince ai to write less code.. but it obviously spends 10x tokens, whether it’s LLMs as judge and automated review or just write 10 solutions and keep 1. Partly ai companies like it this way but partly it’s unintentional consequences that happen to work in their favor.

Training for good taste in architecture actually causes premature optimization at high effort allowance, but at the same time, it is combined with an inability to even recognize / exploit that later if it should ever become actually useful. Dial the effort down, and it skips the reasonable abstraction and nothing is dry, factoring is insane.

Goldilocks for simple stuff barely works with frontier models after they are out of their comfort zone for topic or line limits.. you kind of just have to decide whether it’s worth it anyway. In practice.. constant supervision for high quality code, or such high quality system design that the code quality is less of a down side.

comment 1mo ago · link · parent

Some misc advice. Your first task with ai is to use it to build constraints and guard rails for the ai.

That probably means a test suite that is at least twice the size of your code base. If you started there, great, but increase it to integration and benchies if you’re mostly holding units. It actually helps a bit if you can use a different language for this too but it depends on project, ymmv.

After that you have to either let go of certain style/idiom things or enforce ruthlessly with deterministic hooks everywhere.. no middle ground there and prompts will never work.

You also need to deliberately channel chain of thought with workflows rather than hoping for the best.. most of the generated product here shouldn’t be committed or preserved at all.. non-public doc flows and ticketing systems help.

Like people, an ai can easily create code that it cant actually maintain. It’s a matter of discipline now, same as before. Always using the smartest model is wrong, but double wrong on “wide” changes like a big refactor.. it leaves you no good options if you get into trouble.

comment 1mo ago · link · parent

> Code always was, it's supposed to be malleable. … You can always rewrite the code.

This isn’t capturing the spirit or the essence of the metaphor. chipping away at marble or whittling has this locality to it that’s keen but myopic. Molding with clay isn’t so detail oriented, you can literally close your eyes and focus on shape, same with turning on a lathe although I wouldn’t suggest closing your eyes.

there is such a thing as being precise without being detailed or local. Before LLMs you did this with test suites techniques maybe, and a few automated refactoring tools, CSTs and AST work, sometimes macros and other metaprogramming. Yeah it happened but fair to say it was rare and difficult. Everyone is/can be a sculptor now

comment 1mo ago · link · parent

K8s is a reconciliation engine for desired state, like many other adjacent tech in the infra space. Hating on yaml, json, missing types, or templating layers that drive the engine is kind of silly, and usually missing the point.. like hating dbs because you take issue with a sql layer or an orm layer. Disliking one or the other isn’t a deal breaker that invalidates the value proposition, so you may want to consider the other one before you retreat to flat text in csvs.

Kubernetes can be driven with tofu and hcl.. make it operator and even driven.. use any of many sdks, cdks to drive it, or add a completely different layer for faas or orchestration if that’s the relevant vocab for your problem space. It all runs on k8s.. that’s kinda the point.

comment 1mo ago · link · parent

> ultimately left my partner feeling unhappy and lonely.. do our best with 24 hour days

Impossible to express just how deeply frustrating it is to have the “sleep when I want you to, not when you want to” kind of fight. Over and over. For decades after being a grown ass adult.

It’s weird that it has to be explained to 24h normies but pressuring someone to alter a part of their biology like this is wrong. Gosh honey, plastic surgery might be uncomfortable in an ongoing way for you, but I’m willing to take that risk. Gee babe, I see you need a vegan/carnivore lifestyle but please change this just doesn’t work for me.

People can always make these things their red line and force the issue I guess, find out where the other person’s red line is. The weird part is that the sleep thing is generally accepted as reasonable and polite society kinda regards the other behaviors as very unacceptable

comment 1mo ago · link · parent

Not op but I think maybe the connection was more grammar vs your “select set of templates”.. observation being that structure beats no structure regardless of the base tech, and that completely structure-free interactions are generally not what we want anyway

comment 1mo ago · link · parent

> the model will perform worse

Depends on whether and how you want to rank stability in terms of better/worse. Models are diverging on this, which seems increasingly clear.. i.e. Fable isn't stable, but Opus isn't clever, and they hit different kinds of walls. So both the theory (diluting the correctness reward) and the practice (hard split on plan/implement/review work) seems to be pointing towards a strongly multi-model and highly agentic / harness-driven / complex-system kind of future instead of singleton monolithic super-smart models.

The do-everything model with solid reasoning AND solid results, and the honest/introspective helpful agent that doesn't actively resist governance may be at odds. Stable reasoning doesn't matter for pen-testing, and correct-answer with broken processes and fragile abstractions won't matter for math/science/coding.

comment 1mo ago · link · parent

> I think too much credit in the AI math discussion is being given to LLMs rather than to Lean,

For sure math and software people know this, as it's kind of hard to ignore. Developers who are totally disinterested in nerdy stuff like theorem proving will very quickly hit a wall without letting their models indulge in test suites (regardless of whether they ever even glance at the tests themselves). Physics nerds get it, and if they are on more on the experimental side then they are working to give it some kind of sandbox, all the other science wonks are getting it or will get it as they work with their more computationally inclined colleagues, same for general engineering.

There's a real danger here though in that there is no reason the general public will ever become very much acquainted with the verification/validation steps that all these systems actually need to be reliable. They just hear about this or that nearly impossible thing finally being accomplished as if by magic, and they won't do the work to think about what's in scope, out of scope, or how anything can be checked iteratively.

comment 2mo ago · link · parent

> It’s good know I’m not just crazy wanting to do part time EMT work and keep my software career.

Not OP, but there are dozens of us. If you might be interested in things like ski-patrol or guiding.. there's loads of related NOLS certificates besides WEMT / WFR for things like avalanche, cold-water rescue, high-angle rescue. It differs by location, but something like EMTB cert often requires a "intern" type of deal with ride-alongs and intubation IIRC, which may or may not be scary, but just the schedule of it can be harder for people with another career. Meanwhile your friendly local search and rescue may need help, and many of the more casual certs are very helpful, and knowing some of this stuff is just good civics.

comment 2mo ago · link · parent

Average people cannot tell reliably isn’t an appropriate or interesting test tho, otherwise Eliza and markov models etc. the framing that matters is explicitly adversarial. Play like your life depends on it instead of rooting for the machine, and you can’t win?

One way to play the game is causals and counterfactuals where Humans perform at like 90%+. Models can get close to that, but want some causal cot harness, and until the routing problem is completely solved, then that will necessarily degrade performance elsewhere, say in understanding jokes or poetry.

Check out cladder benches and related, lookup roughly equivalent psych research on children, etc. Even too-good performance is a signal as well!

Certainly if you think about this stuff a bit, accept the adversarial by default framing, and play to actually win.. it’s crazy that we are going around saying this is not only solved but solved 10 years ago.

comment 2mo ago · link · parent

Sigh, the whole "obviously the turing test is solved" meme is annoying.

Like, if we meant that it convincingly masquerades as a shitposter, ok. But everyone still bitches about AI slop, and everyone knows the writing is still bad. How does that even work if the turing test is obviously solved?

More to the point though, if you grill SOTA models on counterfactuals, causal world-models etc, you'll trip them up in a way that actually will not work on ESL students and children. Certainly there's no way to find a person that struggles with that and is also capable of cheerful fluent erudite discussion about astrophysics with perfect grammar. Yes, it's getting harder obviously.. but detecting machines with determined, focused and intelligent interrogation remains pretty easy. If nothing else, the models are cooperative where people wouldn't be and that's a signal too.

The best progress we've made is that most people do agree that this doesn't practically matter very much, i.e. we generally recognize the stakes were always overstated. But the constant vague appeals to common-sense that "of course it's a solved problem!" always feels naive or fake.

comment 2mo ago · link · parent

It may be surprising to you but, caring about fairness and democratizing access to helpful resources doesn’t actually require any kind of disadvantage or a complex. What’s your deal though, since you want to attack that?

comment 2mo ago · link · parent

naive to think people would follow this policy in the spirit in which it’s intended, but even then it clearly selects for the most social animals amongst your students instead of the most talented. And discussion alone is all it takes to describe the right approach, so if that’s the test, it’s meaningless to protect the mechanical syntax of implementation.

Clearly in this world the frats and the sorority members get the highest scores, and after that the best looking, the most amusing or charming etc.. so unless that’s the intent the whole approach is perhaps worth reconsidering.

If you want to teach to improve your understanding the normal thing is you become a TA so that access is open.. not open every assignment to ad hoc collaboration so you disadvantage half of the students on every assignment

comment 2mo ago · link · parent

Yes. Forget costs just so we can skip the whole rabbit hole about other predictions about the future.. mixture of generally intelligent + specialist experts just works better. People who don't see this already are usually working on a certain kind of problem that's not representative.

Do you want fable for one-shotting a game or website? Probably! The whole thing is mostly existing examples with small modifications that it will definitely get right. Do you want fable to just go nuts on a large, custom, unusual code base built around domain-specific problem solutions? Absolutely not, it will fix every problem it's presented with while creating lots of new ones.

Past 10k lines on something custom and with real-world complexity, you have to start thinking about which model should design, which should implement, which should review, and the appropriate effort-settings for each. Even then.. the answers aren't static because it depends on the task. And all this is assuming the starting place actually inherited reasonable due diligence on architecture/design. The idea of releasing the most generally intelligent models on 10k lines that were themselves the product of agents is yet another matter.

Part of what's at work here is that, like humans, every model can very easily create working code that it is completely incapable of maintaining. So realistically using multiple strengths tactically to avoid "excess creativity" needs to be SOP already, even if granular experts and specialists aren't in the usual workflow yet.

comment 2mo ago · link · parent

> I've never heard of grounding in this context, so it may help to describe what you want more clearly

Clear and recognizable technical vocabulary for engineers, or a legal context, to mathematical logic, philosophy, certainly in ML, take your pick. I would think it's pretty familiar to everyone who speaks English and if not still clear with context clues

comment 2mo ago · link · parent

Situation: Software-1 on Platform-1, both certified.

Time-evolution: P1 is deprecated, replaced by uncertified P2, but S1 remains certified.. just nowhere certified to run yet.

Solution: There's another software S2 which originally vouched for P1, itself still certified, which can still be used to certify P2.

Counterfactual?: If S1 were deprecated in favor of new S3.. there'd be no plan to certify it!

The problem: None of this actually makes any sense! But we're trying to fake due diligence. Everyone knows the hardware/platforms kinda need to be certified with respect to each other anyway, but if we did it that way it would all be even more expensive an time-consuming.

comment 2mo ago · link · parent

No offense intended, and I don't even mean to suggest that projects or docs cannot or should not be "finished". Finished is great, maintenance is great. I would however suggest a docs update if it says "new" where it means ~20 years ago since that is confusing.

comment 2mo ago · link · parent

> I agree about boring comments but that goes well beyond political. Every time I see a comment about how this year's iPhone is "evolutionary not revolutionary" or some variation. It's boring, lazy and pointless.

This little part is the whole thing! Political discussion is really much more interesting than say, product advertisements or corporate announcements. And better aligned with the spirit of curiosity and hacker ethos too.

Why not flag both or neither as "trampling curiosity"? Inconsistency and hypocrisy is worse than any policy or preference could be.

Why no topics tags so that nerds/hackers/curious can sort themselves away from the hustle/biz/finance types? Well.. platforms do not want to empower their users.. they want to herd them and force-feed them and profit from the engagement boost that bad feelings create. And boom!, just like that tech is suddenly political again, now we can all pick a side, cue the cliches, vote with your wallet, if you don't like it leave, make your own why dontcha, and yada yada.

comment 2mo ago · link · parent

Do we want to call it mature or abandoned?

> TXR is relatively new: the project started in 2009.

comment 2mo ago · link · parent

> I don't know if his solution (""We should all go insane building interlocking evaluation and optimization pipelines, instead.") would be the long-term solution.

TFA could explain this one part better I think. The whole process proposed is real with lots of stuff in the literature, but by definition NOT a long-term solution in the sense that this process actually has no end. None of the approaches can get you a static answer for a moving target/platform.

So the "interlocking pipelines" for eval/opt would not be some stepping stone you can throw away, and they aren't something you'd run periodically. They'd basically be always on forever and spending 10-100x on system complexity and on tokens. Unless of course you're ready to freeze everything else about the whole system forever (including the backend model, and the whole nature of the "average" context window, the plugins/other prompts in the mix, etc).

Are most people in position to freeze requirements/platform forever? Not really, because if they were they'd just build a fairly static system and probably have limited use for AI. Are most people in a position to just casually accept 100x complexity/cost? Not really, that's the "it's not yet webscale" kind of advice that sounds good but isn't necessarily reasonable for average use-case or average org. Since specializing your own locale for this is usually a mistake.. the likely future direction is eval/optimization as a service

comment 2mo ago · link · parent

Regardless of whether the target result(s) are ultimately correct, isn't it almost guaranteed that supporting infrastructure for surreals-in-lean is a real contribution? Is it a goal to make those polished/reusable, or more like throw-away harness, and just a stepping stone to the proof?
12