Clojure hacker. Emacs enthusiast. Game jamer.

Edinburgh, Scotland
Two way data bindings when you need them makes #datastar an absolute joy to work with.
3
2
37
2,951
This is so untrue it hurts. You can only possibly have this position if you don't measure
Replying to @RyanCarniato
I should link my 2022 article talking about this. The challenge isn't the capabilities of the language but the value of having the same runtime across both sides for the handoff. There are possible other off-ramps, but right now we are stuck. dev.to/playfulprogramming/th…
1
1
15
1,830
You never really know how your open source work effects others... Thanks again for all that @TheGingerBill has given!
7
5
216
8,774
Anders Murphy retweeted
Small update on things I've worked on recently. A small utility dashboard that I'm using to just peek into how my vm is doing. All on Stario & Datastar!
1
1
7
286
Why does Alex Russell have < 200 views after almost a year on @redmonk but @theo's garbage still has an audience? Y'all are crazy piped.video/zoo4G6WMPAU?t=1856
4
1
36
2,430
Anders Murphy retweeted
GM.
178
463
10,458
418,385
In the world I see, open source is dead. We’ll go back to Usenet and IRC, hiding in little federated servers whose names are passed around by hand. You’ll keep a local mirror of the software you need because there’s no guarantee it will still exist tomorrow.

ALT Brad Pitt Laughing GIF

Got that same feeling, as a maintainer is tiring and demoralizing those "perfectly"-md issues/PRs descriptions, as if the person sending it mastered the problem/solution, not considering that there is an human behind it, reading and really trying hard to understand 😞
6
3
32
3,499
Anders Murphy retweeted
Having a Jan 1st clear out. This Emacs elisp manual is from Dec 1990. 35 years old. Everything in it still works today. The impact of your software isn't just in the value it can produce today, but it's multiplied over the future time dimension. Put that in your CLAUDE.md file!
2
8
556
Why isn't Datastar the default approach to web apps? Stupid fast and super small.
9
3
74
2,695
Replying to @RyanCarniato
Until you can measure the actual times to interact with others this isn't anything beyond a toy sadly. Clients are not independent of the true owner of state. If you are gonna do that then just have a native app or build it completely in WASM.
1
7
180
Replying to @Shreyassanthu77
The question in my mind is not “why switch to streaming”? The question is, “why isn’t streaming the default?” We know the consequences of the current batched approach. Even though the effects seem minuscule on small data sets, it adds up across requests. To the point where you can see orders of magnitude difference in performance between a batched app and a streaming app. Streaming is also a natural fit for a key/value approach that we know opens up the reduced SQL requests you mentioned, and enables entire classes of problem. If you examine Convirgance examples, you’ll find that there is no productivity cost to adopting streaming. Quite the opposite. Streaming + Key/Value radically reduces the amount of code and skyrockets productivity.
1
1
3
685
Anders Murphy retweeted
Totally agree with this mindset. It's very easy to fall into the trap of using abstraction as a mental organisation tool like putting a document in a folder, rather than the correct purpose: enforcing single source of truth in logic & creating boundaries for system communication
A good way to evaluate one axis of quality of an abstraction is to inline every function call, and see how much duplicate work you can either deduplicate or turn into a loop (rather than several independent function calls). This also restructures the code such that you can consider work as batches of identically shaped work, rather than either (a) being in shallow callstack code and dealing with a list of abstract, opaque function calls, or (b) being in deep callstack code and not understanding the context you're being called within.
5
7
308
60,407
Breaking: HN user reinvents Datastar from scratch
6
2
50
4,203
Anders Murphy retweeted
I’m convinced that a large % of programmers don’t actually like computers. As a side effect, are also perfectly happy to throw away their reasoning to a model as soon as they can. I don’t get it, at ALL. Don’t you *LIKE* understanding the magic of the machine? You do realize hand-programming (I hate that I even have to specify hand now) is fun…right?
1,007
720
8,992
969,162
Anders Murphy retweeted
Automatic vs Manual Programming is a deceiving framing. Nobody does it manually. We have compilers that code for you in assembly. Thousands lines codegens are a thing in many serious projects for ages. It all has been solved long time ago. You just don't know what programming is.
58
94
2,009
86,137
Anders Murphy retweeted
Noting the nature of the 2x throughput fix is directly inspired from hanging out in the Datastar discord with @anders_murphy .. "Each [actor] now runs on its own thread and evaluates its closure inline, instead of bouncing every frame to a worker thread and back. A trivial actor goes from 40K to 90K frames/s"
a new cross-stream release: v0.13.4 - Actors are ~2x faster, a trivial actor goes from 40K to 90K frames/s - reads can now filter on multiple topic patterns at once by merging their indexes (a MergeAppend), and - embedders can supply a base Nushell engine so their own commands reach actors/services/actions github.com/cablehead/xs/rele…
1
1
4
506