News for hackers. Stuff that matters.

sriku

Re:Previewing the Model Hardware Standard on Friday August 28, 2026 @04:47AM (#49476064)
Same here. For tough compute, I spin up a machine in some cloud service, do what I need, and shut it down. Of course, its a different issue if you need power on the desktop right there, like for A/V/Graphics work.
Re:Turns are Better than Radians on Wednesday August 19, 2026 @10:56PM (#49369877)
You'll have to bring in the 2π factor somewhere. Cant escape it. If sint is the sin function but with angle give in turns, then d/dx sint(x) = 2π cost(x). sin(x) ~ x for small x but sint(x) ~ 2πx for small x.
Re:Why care about programming languages on Monday July 27, 2026 @04:09AM (#49066521)
Lean seems to fit your ask fairly well.
Re:Writing by hand is good for your brain on Friday July 24, 2026 @01:39AM (#49031582)
I recently lent a book with some scribbled notes of mine to a friend and they were all like "oh we love scribbles in books". Another way to connect.
Those inseparably mix up programming language, compiler, programmer(s) and application domain as factors.
I wish people'd report metrics like "40 type classes, 5000 functions, 300 instances, 20 monads, 14 functors, ..." And such instead of "lines of haskell".
Re:Claude Code no longer included in Pro tier? on Tuesday April 21, 2026 @07:40PM (#47856396)
This test would be a good way to lose existing subscribers perhaps.
Re:Claude Code no longer included in Pro tier? on Tuesday April 21, 2026 @07:39PM (#47856380)
https://claude.com/product/claude-code seems to say it is included in Pro plan.
Re:OpenClaw isn't fooling me. I remember MS-DOS on Monday April 20, 2026 @06:17AM (#47832321)
"Fast" is not always a virtue and "efficiency" is not always the only consideration.
Re:XML Is a Cheap DSL on Saturday March 14, 2026 @09:37AM (#47376542)
While this can give a notation for the domain, you'd still need an engine to process it. Prolong+CLPFD perhaps meets it well (not too familiar with the tax domain) and one could perhaps paraphrase Greenspun's tenth rule to this combo too.
Re:om on Wednesday February 25, 2026 @06:57PM (#47159849)
Another concatenative-ish one embedded in js .. just for fun - https://github.com/srikumarks/pjs

You may find the "genailang" module fun to play with.

Re:I Don't Like Magic on Saturday February 21, 2026 @08:59PM (#47107328)
This - I even ran Claude to produce a security eval of openclaw for fun and it was mostly spot on - https://sriku.org/files/openclaw-secreport-claude-13feb2026....
Re:Cord: Coordinating Trees of AI Agents on Friday February 20, 2026 @10:31PM (#47097223)
We built something like this by hand without much difficulty for a product concept. We'd initially used LangGraph but we ditched it and built our own out of revenge for LangGraph wasting our time with what could've simply been an ordinary python function.

Never again committing to any "framework", especially when something like Claude Code can write one for you from scratch exactly for what you want.

We have code on demand. Shallow libraries and frameworks are dead.

Re:Use protocols, not services on Monday February 16, 2026 @07:34PM (#47042198)
The "impossibility" of enforcing legislated constraints on thousands of providers point is hand waving. We're all legislated to not harm each other. Throwing the small fraction who do in jail, is sufficient to keep the vast majority away from harming others, and there is also moral alignment.

If 10% of hosts (maybe even less) are penalized, the rest will likely start complying. much like self managed compliance of thousands of companies. A protocol is only as good as the entities that participate in the community using it.

Re:The EU moves to kill infinite scrolling on Friday February 13, 2026 @09:40PM (#47010995)
"what specific laws ...?"

If a company chooses a design and it can be proved through a subpoena of their communications that the design was intended and chosen for its addictive traits, even if there has been no evidence collected for the addictiveness, then the company (or person) can be deemed to have created a design in bad faith to society and penalized for it.

(Well that's my attempt. I tried to apply "innocent until proven guilty" here.)

Re:Ask HN: How can we solve the loneliness epidemic? on Thursday January 15, 2026 @08:48PM (#46642043)
Great point and many of the responses are very interesting too.

I wonder whether part of this is a habitualization of intolerance for just being with oneself - to be ok with feeling bored, for instance. Most suggestions are about "doing". Just being with oneself without a doing is painful for many from what I've seen.

Re:Stop Designing Languages. Write Libraries Instead (2016) on Wednesday January 07, 2026 @10:32AM (#46527538)
This looks to me like partly a false dichotomy. We can design languages and write libraries. Some would even argue that some kinds of "libraries" could be viewed as languages themselves, as much as some languages might as well have been written as libraries in another language.

Also often, the language doesn't live isolated from its implementation (compiler or interpreter). While theory looks at languages via its semantics, in practice as the OP notes it is about the quality of the implementation and what can be reasonably done with the language.

A recent [1] case is Julia. I think it has hit a kind of sweet spot for language design where new performant code tends to get written in Julia rather than in some other language and bound to it. At its core, it is a simple "call functions, passing data in and getting results out" kind of language, but what the functions ("methods") mean and how the compiler does just-ahead-of-time compilation with deep type specialized code means you can write high level code that optimizes very well. Those mechanics operate under the hood though, which makes for a pleasant programming experience ... and there are loads of cutting edge packages being written in Julia. It is less interesting to look at Julia as "just the language".

[1] recent in programming languages is perhaps anything <= 15 years? .. because it takes time to discover a language's potential.

Re:Fifteen Most Famous Transcendental Numbers on Thursday January 01, 2026 @08:55AM (#46454133)
i^i isn't unique right? The "let x = π/2" could very well have been "let x = π(4k+1)/2" for any integer k.
Re:The rise of industrial software on Wednesday December 31, 2025 @07:53AM (#46443687)
The frame set by the OP completely out me off and dissuaded me from reading the rest of the article beyond the first paragraph. Didn't feel like much throught was given to what was being said.
Re:The rise of industrial software on Wednesday December 31, 2025 @07:52AM (#46443678)
I find it hard to think of code as being the output of programming. I keep re-reading Naur's "Programming as theory building" paper and it still feels relevant and closer to how the activity feels to me, AI or no AI.

https://pages.cs.wisc.edu/~remzi/Naur.pdf

Re:Don't Become the Machine on Wednesday December 24, 2025 @07:54PM (#46381058)
A quote shared by a close friend and mentor -

Apparently an elderly Irish musician said this as he was tuni g his instrument - "I've learnt that the secret to being happy is to not get personally involved in your own life."

Re:Dafny: Verification-Aware Programming Language on Tuesday December 16, 2025 @08:54PM (#46297299)
Am working on rewriting an imperative programming course to use Dafny to present verified algorithms and data structures.
Re:Dafny: Verification-Aware Programming Language on Tuesday December 16, 2025 @08:52PM (#46297285)
I quite like Dafny, despite my first run up with it (verification aspect) being frustrating. The language is well designed for this. Also, it looks like it is a great candidate as a code generation target for LLMs because you can generate the proof of correctness and run a feedback loop with Dafny's checker.

Try writing a^b in integers and proving its correctness. The simple version works (based on a x a^(b-1)). But if you write an "optimised one" using (with handwaved details) (a^(b/2))^2 .... pulled some serious hair trying to prove this function works.

In a discussion I was in recently, a participant mentioned "culture eats strategy for breakfast" .. which perhaps makes sense in this context. Be bold enough to do what makes the team and the product thrive.
Re:An Economy of AI Agents on Sunday November 23, 2025 @03:47AM (#46021849)
Wouldn't "The Age of Em" be relevant to this paper? Was surprised to not find a reference to it in the preprint.
Re:Has Google Solved Two of AI's Oldest Problems? on Saturday November 15, 2025 @04:14AM (#45936113)
Impressive performance, yes but is the article giving more credit than due?
Re:Has Google Solved Two of AI's Oldest Problems? on Saturday November 15, 2025 @04:14AM (#45936108)
Rgd the "14 lb 5 oz" point in the article, the simpler explanation than the hypothesis there that it back calculated the weight is that there seems to be a space between 14 and 5 - i.e. It reads more like "14 5" than "145"?
The article says it was created to write audio software but I'm unable to find any first sources for that. Pointers?
Re:Forth: The programming language that writes itself on Monday October 20, 2025 @01:22AM (#45640349)
I've had a soft spot for Forth and am toying with a silly Forth-like interpreter for web programming ... if not for actual use, at least for some fun time. One concept it adds is the notion of a "current selection" which can define the available vocabulary to use and is used to select and work with DOM elements. Just experimenting.

https://github.com/srikumarks/pjs

Edit: As a kid, I disliked BASIC as a language though it let me do fun stuff. So I made an interpreter in BASIC for a language I'd like and it turned out Forth-like (and I didn't know about Forth at that time). I guess I'm still that kid some 35 years later.

Older »