Tatu Tarvainen (@tatut) header
Tatu Tarvainen (@tatut) profile picture

Programmer. Clojure, C, Prolog, Erlang, Smalltalk.

Oulu, Finland
Joined April 2008
Photo by Tatu Tarvainen (@tatut)Photo by Tatu Tarvainen (@tatut)Photo by Tatu Tarvainen (@tatut)Photo by Tatu Tarvainen (@tatut)Photo by Tatu Tarvainen (@tatut)Photo by Tatu Tarvainen (@tatut)Photo by Tatu Tarvainen (@tatut)Photo by Tatu Tarvainen (@tatut)Photo by Tatu Tarvainen (@tatut)Photo by Tatu Tarvainen (@tatut)
Tried Odin last night, it was super easy to get into if you know C... especially if you use the vendor deps, it just works.
3
70
You may not need React for interactivity, or even a traditional backend... this snake game uses @htmx_org Muggin PostgreSQL and a dash of HyperScript... I call it the HMPH stack. The game logic and rendering is done fully in PostgreSQL functions.
1
1
18
4,469
Been working on a HTTP server to serve PL/Muggin templates and other PostgreSQL functions directly. github.com/tatut/plmuggin/tr… (note: not ready for production use yet, needs comprehensive fuzzing and testing first, and more functionality)
135
What if we didn't use main or master as the git default branch name? Perhaps ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86 would be better?
1
107
Writing in C is such fun due to the many side quests: be it better string library, collections, error handling, allocators and so on. You get to do it all.
1
49
All I want for Christmas is the next AI winter.
39
Tatu Tarvainen retweeted
Kirjoitimme avoimen kirjeen @HennaVirkkunen:lle, koska vastustamme yksityisyydensuojan murtamista. EU:n kaavailema asetus on diktaattorin toiveuni. Kirjeen allekirjoittajina ovat muun muassa @petterij, @bingatupamaki, @ramikurimo, @TimoFuruholm, @JaaJanne, @JyrkiVainio ja monet muut. Lue kirje täältä ja pistä jakoon: effi.org/avoin-kirje-henna-v…
148
548
61
2,715
257,454
After so many SEGV crashes, I finally passed problem 6. Protohackers is super cool if you want AoC style challenges, but for network server programming.
1
102
My C HTTP server is called potential-octo-spork (because naming is difficult). Basic GET and routes are now working, need to add WebSocket handlers next. github.com/tatut/potential-o…
92
Tried CLion for C dev, it has lots of neat features and good debugger integration... but it crashed on me during the 1st hour, so I guess that's my sign from above to stick with Emacs.
3
104
Turning my C HTTP server into a single file library you could use to build web apps in C... currently have pthreads for workers, each using select on multiple sockets. Have to migrate to epoll/kqueue after I get the initial thing working.
1
76
After some recreational C programming, I can finally get a page and an HTMX WebSocket update from my hand crafted HTTP server.
3
81
Updated my SWI-Prolog XTDB library to use the PostgreSQL binary protocol that XTDB speaks natively. This was a fun side project. Went from 100% Prolog, to pretty heavy on the C. Try it out: github.com/tatut/swixt
2
10
343
This weekend I've been playing with bytecode, made a bytecode compiler and interpreter for my Logo-like graphics... inspired by reading Crafting Interpreters.
3
145