HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sriku

no profile record

comments

sriku
·2 mesi fa·discuss
Those inseparably mix up programming language, compiler, programmer(s) and application domain as factors.
sriku
·2 mesi fa·discuss
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".
sriku
·3 mesi fa·discuss
This test would be a good way to lose existing subscribers perhaps.
sriku
·3 mesi fa·discuss
https://claude.com/product/claude-code seems to say it is included in Pro plan.
sriku
·3 mesi fa·discuss
"Fast" is not always a virtue and "efficiency" is not always the only consideration.
sriku
·4 mesi fa·discuss
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.
sriku
·5 mesi fa·discuss
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.
sriku
·5 mesi fa·discuss
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....
sriku
·5 mesi fa·discuss
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.
sriku
·5 mesi fa·discuss
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.
sriku
·5 mesi fa·discuss
"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.)
sriku
·6 mesi fa·discuss
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.
sriku
·6 mesi fa·discuss
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.
sriku
·6 mesi fa·discuss
i^i isn't unique right? The "let x = π/2" could very well have been "let x = π(4k+1)/2" for any integer k.
sriku
·6 mesi fa·discuss
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.
sriku
·6 mesi fa·discuss
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
sriku
·7 mesi fa·discuss
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."
sriku
·7 mesi fa·discuss
Am working on rewriting an imperative programming course to use Dafny to present verified algorithms and data structures.
sriku
·7 mesi fa·discuss
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.
sriku
·7 mesi fa·discuss
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.