Future of Coding Weekly 2024/12 Week 1
2024-12-01 23:30
๐ฅ Bottom up engineering for robust-first computing ๐ Smalltalk & LLMs ๐ฅ FoC Virtual Meetup Video
Two Minute Week
๐ฅ Node output preview when dragging values on edges via Maikel van de Lisdonk
In this video I show a small new feature : when dragging values on to edges (or connections as I like to call them), for node-types that support it ... a small preview shows the node output as a hint above the node. Currently only the expression and sum node-type support this. I am looking for a way to have every node-type support this.
Another small tweak is that the expression node-type triggers its output directly when the expression is changed. Previously the whole flow was retrigged and this new behavior feels much better.
Our Work
๐ฅ Mariano Guerra & Tudor Girba - LLMs & Smalltalk - UK Smalltalk User Group via Francisco Garau
The videos from last month presentation are now available:
[:kind | โRegards from โ, kind ] value: โThe UK Smalltalk User Groupโ.
๐ฅ Tudor Girba on LLMs
๐ธ๏ธ smallweb via Achille Lacoin
Hey, I'm working on smallweb, a self-hostable personal cloud.
It's inspired by by serveless platforms like val.town and old standards like cgi-bin. I still struggle to describe it. It feels like coding in dropbox, but in a good way.
For example, if I want to host my new blog in smallweb, I can do it by just creating a new folder at ~/smallweb/blog/main.ts
:
import { Smallblog } from "jsr:@tayzendev/smallblog@1.1.5"; export default new Smallblog({ siteTitle: "Pomdtr's Blog", defaultAuthors: ["pomdtr"], });
Then, no need to run any terminal command or to wait for a deploy step, my blog is instantly available on the blog.pomdtr.me subdomain: blog.pomdtr.me (this one is hosted on my raspberrypi).
Apps also have write access to their own dir. For example, if you go to vscode-demo.smallweb.run, you'll be able to write in my own smallweb dir. Or feel free to draw me something at excalidraw.smallweb.run !
All of the websites hosted under the smallweb.run
domain are open-source, and can be found at: gh.smallweb.run
๐ fishtower.conradgodfrey.com via Conrad Godfrey
Hi,
Sharing fish tower
Was built as half experiment with how quickly I could get a websocket real time thingy up and running, and to see if I could market a London Filet O Fish First Timer meetup using a webtoy.
I think people don't use webtoys to market real world events as much as I would've thought - I think this gets cheaper with AI and perhaps we'll see this a lot more?
๐ LookAtThat: Render source code in 3D, for macOS and iOS via Ivan Lugo
Hello Future of Coding folks!
It's been a while since I've crawled out from my cave, but I've come to share something fun, at least I think so. I've finally managed to get the downloadable TestFlight betas up for free for my visualizer tool for macOS and iOS, and you can get the links here on the main GitHub page:
github.com/tikimcfee/LookAtThat
Many thanks go out to everyone here that helped answer odd questions at odd hours to help me build this first releasable beta. Cheers, and let me know what breaks!
Devlog Together
๐ฌ Christopher Shank
"make illegal states unconnectable"
๐ฅ Screen Recording
๐ github.com/uprun/git-auto-commit via Oleksandr Kryvonos
I am back with small project ( ~work in progress~ already finalized),
Have you ever thought that git diff does not really show the history of changes you made and just shows the final state,
this can be solved with more granual commits,
so my project - github.com/uprun/git-auto-commit - creates commits when file changes,
in such way ~changes will be sent real-time and~ the transformation history is saved as well.
๐ธ Eclector via Konrad Hinsen
Over the last weeks I have been working on my moldable inspector for Common Lisp again, with the goal of turning it into a support platform for explainable data science. One big task that I have finally achieved is code browsing. You can navigate through the code by clicking on symbols in displayed code. And you can transclude code into HTML, as shown on the first pane.
This wasn't trivial to do because Common Lisp cannot be statically parsed. When loading code, Lisp reads one top-level form (everything between a top-level pair of parentheses), executes it, and then goes on to the next one. The semantics of each form thus depend on the previous ones. Static parsing, as I do here, can never be perfect. The goal is getting the parser to deal with 99% of code correctly and not crash on the remaining 1%.
Fortunately, others had done most of the hard work, and I could use Eclector, a portable and extensible Common Lisp reader, as the basis for my code browser.
The code for my demo available on Codeberg.
๐ฅ Demo
๐ป exporter via Tom Larkworthy
So orthogonal artifact 1 of (maybe) 3 for reimplementing (a subset of) Observable in userspace is done (exporter). The next thing, as discussed in the demo, is to preserve the editing experience by adding a userspace code editor, so that the exported, unbundled (offline-first) notebook carries its own editor around with it.
Progress is pretty good. It ends up a little different to Observable as it is pinned to a specific cell, but it can also do extra things like edit the variables in dependancies which is what you want when the export format has bundled all the dependancies. You might need to change them too!
The third required project, I thought of while preparing for the demo, is the notebook renderer itself. That should also be in userspace and hackable. Even with the editor component, you can't reorder cells, as there is a whole presentation layer that lives above the runtime that chooses how to render the results. That rendering process itself needs to be hackable, so you can leave the vertical notebook format entirely. Currently the single file format follows the path of the existing observable runtime of instantiating the DOM before starting the runtime and piping observations to the DOM, but for maximum control we should let userspace be informed of the runtime changes and choose how to render. Just a shower thought at the moment but I definitely think the "renderer" should be another orthogonal component.
I am trying to document my learnings about the Observable system in some reference documentation here if you want to learn more. That documentation actually hacks the runtime so the concepts are explained adjacent to the actually executing concepts. I love literate programming.
aside: I am enjoying the single file hermetic webpage format, its like portable statically linked binary that ends up being way faster than normal webpages.
๐ฌ Jason Morris
I'm doing one weird stuff with knowledge graphs in my "real job", and it is sufficiently weird that I am finding that my intuitions about what's going on in the graph are dramatically incorrect, and I don't have any comprehension of how wrong I am until after I select a random collection of nodes, and visualize them somehow. The degree to which this is a pain in the ass compared to using other data structures is wild. You just cannot usefully inspect a graph in text. Are there some tricks of the trade I'm missing, here?
๐ฌ Kartik Agaram
I've been watching my wife teach the kids second-grade math for a few weeks now with the glimmer of an idea in my head that just came out.
The tree notation for addition and subtraction shows the symmetry between them, and also the symmetry between operands.
I know it's valuable, because it got instantly adopted in lessons, where most of my ideas get gently humored and booted out of the room.
I'd never have the sense something like this was valuable before hanging out here โค
Thinking Together
๐ github.com/bellard/quickjs via John Flockton
Hey folks! Bit of a random question, but can any one think of any language interpreters which parse text straight to bytecode, omitting the AST step completely? Quick.js is one of the most well-known (github.com/bellard/quickjs/tree/master) but I wondered if any one knew of any other interesting examples for other languages?
Content
๐ฅ ABI-DOS Announcement Trailer via Ivan Reese
Here's a lil circuit simulation game that looks pretty neat โ ABI-DOS
EDIT: Ended up collecting a handful of these.
๐ Viewing document history is now easy as scrubbing through a video. via Mattia Fregola
Pretty great thing I wish I had through life:
Viewing document history is now easy as scrubbing through a video.
Usable on lex.page
๐ Feels Like Paper via Ivan Reese
Some lovely explorations of physical paper + augmented reality in this project Feels Like Paper from Lukas Moro
๐ฅ Bottom up engineering for robust-first computing via Konrad Hinsen
What machines want, by @Dave Ackley. The subtitle " Bottom up engineering for robust-first computing " is more informative. It's about building computing systems that remain robust under scale.
๐ฅ Handmade Cities via misha
We are the largest indie conferences for low-level programmers. This is your portal to meet with folks into graphics, game engines, kernels, compilers, and more!
๐ฅ UIST'09: Bonfire: a nomadic system for hybrid laptop-tabletop interaction via Mariano Guerra
๐ Oliver Kreylos' Research and Development Homepage - Augmented Reality Sandbox via Mariano Guerra
The goal of this project was to develop a real-time integrated augmented reality system to physically create topography models which are then scanned into a computer in real time, and used as background for a variety of graphics effects and simulations. The final product is supposed to be self-contained to the point where it can be used as a hands-on exhibit in science museums with little supervision.
๐ฅ WUW / sixthsense - a wearable gestural interface via Mariano Guerra
'WUW' bridges this gap by augmenting the physical world around us with digital information and proposing natural hand gestures as the mechanism to interact with that information. 'WUW' brings the intangible information out into the tangible world. By using a camera and a tiny projector mounted on a hat or coupled in a pendant like device, 'WUW' sees what you see and visually augments any surfaces or objects you are interacting with. 'WUW' projects information to any surface, walls, and the objects around us, and to interact with the information through natural hand gestures, arm movements, or with the object itself.
๐ Bret Victor on climate change via Kartik Agaram
Rereading Bret Victor on climate change, it finally sunk in that he really really cares about software tools for scientific computing.
Iโm happy to endorse Julia because, well, itโs just about the only example of well-grounded academic research in technical computing. Itโs the craziest thing. Iโve been following the programming language community for a decade, Iโve spoken at SPLASH and POPL and Strange Loop, and itโs only slightly an unfair generalization to say that almost every programming language researcher is working on (a) languages and methods for software developers, (b) languages for novices or end-users, (c) implementation of compilers or runtimes, or (d) theoretical considerations, often of type systems. The very concept of a โprogramming languageโ originated with languages for scientists โ now such languages arenโt even part of the discussion! Yet they remain the tools by which humanity understands the world and builds a better one. If we can provide our climate scientists and energy engineers with a civilized computing environment, I believe it will make a very significant difference. But not one that is easily visible or measured!
Music
๐ Orbita โ a new device from Playtronica via Tak Tran
Coloured dots for making a sequencer - the same company are making a MIDI controller using plants too
Turn color and gesture into music with Orbita - a new device in Playtronicaโs range of quirky sound gadgets
๐ฅ Virtual Meetup 7 โข November 27, 2024 via Ivan Reese
Here's the recording of the Future of Coding Virtual Meetup 7. This time, I added some notes and timestamps to the description, just in case that's helpful.
For next month, we'll have to figure out something a little different so we don't collide uncomfortably with the holiday season. TBD!
๐จ๐ฝโ๐ป By ๐ @marianoguerra@hachyderm.io ๐ฆ @warianoguerra
๐ฌ Not a member yet? Check the Future of Coding Community
โ๏ธ Not subscribed yet? Subscribe to the Newsletter / Archive / RSS
๐๏ธ Prefer podcasts? check the Future of Coding Podcast