✉️ Not subscribed yet? Subscribe to the Newsletter

Future of Coding Weekly 2023/12 Week 3

2023-12-18 10:29

💻 The Future of Cloud Computing 🚰 The life and times of Yahoo Pipes 🐸 CellPond: Spatial programming without escape

Our Work

👓 LookAtThat: Render source code in 3D, for macOS and iOS. via Ivan Lugo

🧵 conversation

Hey all! All abuzz that I’ve finally pushed the alpha version up of my Metal-based 3D code visualizer apps. After many months, I’ve finally gotten in my place:

  • A brand new and extremely amateurish Metal rendering “engine” focused primarily on character glyphs.
  • An, “is this a joke?” UTF8->UTF32->UnicodeGraphemeCluster GPU based text parser and basic layout engine.
  • Download GitHub repositories in-app and view arbitrary textual files.
  • Reset your atlas if you stumble into new languages online 🤓

If you’ve got an iPhone, iPad, or Mac device, I’d be happy to invite ya to the TestFlight to give the app a whirl where you’d like. Desktop builds and releases coming upon next coffee intake ritual.


📝 Shader Park is Kinda Neat - Untested via Rafał Pastuszak

🧵 conversation

I wrote a quick intro to Shader Park (a JS-like DSL for programming shaders) which gained some traction on similar forums:

📝 Shader Park is Kinda Neat - Untested

💻 The Unison™ Cloud Platform | Say hello to the future of cloud computing via Stew O'Connor

🧵 conversation

I've been working for Unison for the last three years. I got hired start and head up the Unison Cloud project, which today we are starting to open up to early adopters: unison.cloud The idea is that we want to make it as easy as possible to go from some function from HttpRequest -> HttpServer to a deployed service, but we also want to give a rich and modern distributed programming interface to that function. Hit me up if you want to get access to the Beta!

Say hello to the future of cloud computing. Deploy with a function call. Call services as easily as local functions, verified by the typechecker. Access typed storage as easily as in-memory data structures.

🏕️ Local-first software: You own your data, in spite of the cloud via Anton Podviaznikov

🧵 conversation

I'm currently working on a set of simple tools to make data from the apple products available on the traditional web.

  • montaigne.io - create website from apple notes
  • public.photos - publish photos online from apple photos. a bit on pause
  • kiwi.page - publish apple notes online. a bit on pause too

There are few interesting moments here for me:

  • liberate data from apple products
  • explore idea of local first software but in a different way. what is cool with this approach that data lives locally on your devices and then I just sync it to the web where it can be viewed and used by everyone

It's not super challenging programming wise, but interesting to think about in terms of how software can be written

Devlog Together

🎠 Lua Carousel via Kartik Agaram

🧵 conversation

💬 #share-your-work@2023-11-23 is starting to contribute to Rectangle World

Pushing objects around in a dozen lines of code

🎥 aabb collision

📝 Handling cascading collisions via Kartik Agaram

🧵 conversation

🎥 slide

🧮 App for drilling addition problems via Kartik Agaram

🧵 conversation

Yesterday I turned a couple of my unused kids apps into just scripts you could run on Lua Carousel.


git.sr.ht/~akkartik/spell-cards.love (exercising my phone's microphone for the first time)

Both qualified successes. I didn't uncover any bugs, but the programs were 250 and 350 lines long, which starts to feel too long for my implementation of scrollbars.

🎥 Advent of Code 2023 day 5 part1 using visual programming via Maikel van de Lisdonk

🧵 conversation

Youtube Thumbnail

I heard that day-5 part two was a curveball, so I really want to be able to implement it using my visual programming system... which failed so far. Using a brute force solution would mean that the program would run very very long. And my current "speed run" solution wouldn't suffice for this.

Part one actually provided a big challenge for my vps as well, running the program with the small test dataset can be seen in the video: youtu.be/td0QeePvfGQ . I've spend a lot of time adding more new node-types this weekend (like handling a while-loop and improved array handling) and making changes to the variable-nodes and expressions. Also the variable scoping (needed for local function variables) that I implemented had some flaws, so I fixed that as well. You can now define global and scoped variables. I've also made some simple variable visualizers that better show the data for data types like dictionary/array and grid.

My current vps solution works better than the flow-based vps that I was building last year. A big difference is that the data that is send from node to node is now just a single value. That value can still be of different types (number, string, array).. and special variable-nodes are needed to keep track of data. These variables also have a type like number, string, array, dictionary, grid. Often working with a single value is not enough and that's why these variables are needed. They can be referenced from within expressions. Also being able to run some flow-parts in parallel or sequentially helps a lot. This starts to feel much more like a regular 3rd gen programming language.

The UI is currently quite limited.. to be able to create a flow program efficiently it definitely needs a lot of work. Textual programming is much faster. I want to finish at least one of the advent of code puzzles where a grid is involved .. so today's puzzle (17) seems like a good fit. I'll probably work on that next weekend.

🧬 Re: Conway's game of life via Kartik Agaram

🧵 conversation

One nice reusable abstraction my LÖVE apps have all converged on is an immediate-mode button primitive. I draw all my buttons each frame along with all the callbacks they need, and a couple of framework-y lines of code in the mouse-press callback is all it takes to get them working. Last night I realized (while poking inside Re: Conway's game of life) that my hacky sliders in Lua Carousel's settings admit a similar abstraction (even better than the one there). The only additional complexity is it needs a couple more lines in the update callback that continually refresh the backing value as you drag the slider.

💬 Jimmy Miller

🧵 conversation

Finally starting to see a workflow come together in my editor. Here you can see Fibonacci at three different levels in the language I'm making. These functions live in three different files. Looking at them at once and comparing them isn't easily supported in any other editor I use. On the left is a simplistic symbol browser.

I'm super excited that I'm slowly getting to the point where I can do these kinds of things. Having different views of our codebases that we can switch between is something I've been wanting for years.

Screenshot 2023-12-17 at 1.31.15 PM.png

Thinking Together

💬 Prabhanshu Gupta

🧵 conversation

I'm making a system for working with loosely structured tables in spreadsheets. Tables/lists in sheets represent collections of things, however formulas and drag-filling works at an item-level (cell-level) abstraction. This causes a lot of problems – duplicated effort, hard to do lookups across tables, errors when new data is added. However, committing to a structure upfront (a SQL style table for example) has a big cost. An effective system would allow users to gradually introduce structure that works with whatever rich table they draw.

Right now I'm onto a language for pulling data from such rich tables. It works by manipulation of the ranges (rectangles) pointed to by Labels. Queries can be made by intersecting/unioning rectangles (in picture is a small example). What ideas/projects would you recommend looking at in this space? I've looked around a fair bit for "2D grammar" and "spatial programming language" but haven't had much luck.


💬 Ivan Reese

🧵 conversation

In linguistics, we have "denotation" and "connotation" as two forms of meaning. In programming, we have denotational semantics and operational semantics. Do we have connotational semantics? (If not — may we?)


🚰 lovely tribute to Yahoo Pipes via Ivan Reese

🧵 conversation

A lovely tribute to Yahoo Pipes written by the inimitable Glenn Fleishman appeared on the Retool site today.

Every Pipes’ mapping was public; every Pipe could be copied and modified. “That was design principle one for us, and I think that had a lot to do with making it accessible to non-developers,” Sadri said. This openness that encouraged—really, required—knowledge-sharing embodied some of the internet’s best qualities that were on the verge of being lost at that time.

📝 The subjective experience of coding in different programming languages via Jimmy Miller

🧵 conversation

Different programming languages feel viscerally different, right? I can’t be the only one. It’s so embodied.

When I’m deep in multiple nested parentheses in a C-like language, even Python, I feel precarious, like I’m walking a high wire or balancing things in my hands and picking my way down steep stairs. It’s a relief to close the braces.

🐸 CellPond: Spatial programming without escape via Mattia Fregola

🧵 conversation

Youtube Thumbnail

As a Cellular Automata and design tools aficionado I loved this whole thing from Lu Wilson .

(saw some shared essence with Apparatus and Netlogo)

📝 ln.hixie.ch/?start=1700627373&count=1 via Andreas S

🧵 conversation

Hello 🙋‍♂️ future of coding.

I came across this some time ago but I still think it’s worthwhile sharing,

It showed for me how one the one hand the ethical decline of google went from “don’t be evil- to… what ever it is today that’s their guiding principle. But also more importantly how a change in company culture also reflected on technical innovation.

Present Company

💬 Nilesh Trivedi

🧵 conversation

Today, is there a way to build state-driven UI components (like React/Vue/Svelte) where some of the state, but not all, can be persisted periodically in the backend perhaps as an event log which would enable things like playback of past interactions? How would you go about creating something like this with usual tools like Javascript, REST and Postgresql? 🤔

Contents © 2024 Mariano Guerra - Powered by Nikola