I made a little page where you can say hi to me! When you visit this page, my RPi lights up like in the video! Here's the page:
The Mu shell, compiling down to a subset of 32-bit x86 machine code, then to a Linux ELF binary, packaged up with just a Linux kernel and nothing else, running on a Linux console emulated on Qemu, on a Thinkpad T420s running 64-bit Linux.
Just another 27 million lines of C to take out (Linux kernel), and I'll have a decent computing stack.
With another bunch of tricks, I got the width down to 16 characters.
Here four units are running at different speeds on a shared grid.
Variable free version using the new "J" and "Y" wires and a clock divider based on the fact that a counter to n-1 increases in steps of one when sampled every n ticks.
The offset is used to fake a modulo of two numbers, resetting the write head to the first row.
This allows multiple copies to run at different speeds, the only downside is that parts of the unit are wider than 16 chars so it can't be stacked as nicely as the previous version.
I really love how everything is so simple to write with explicit continuations (the last two arguments of the `compile` procedure: win and lose). And De Morgan’s law to implement alt as a composition of the existing seq (&&) and not. As a bonus, the code generated by this is the most optimal one.
I spent the last few days in a Haskell rabbit hole searching for the shortest way to expand a quadtree grammar.
Here is my best try so far:
If you have any idea how this could be shortened further, please let me know!
Spent about 18 hours this week working on my COMFY-RV project, an assembly-like language for RISC-V embedded in Lisp inspired by Henry Baker’s design.
I haven’t done much with it yet, but doing low-level programming really is relaxing for me.
(example code in the screenshot is just a program that writes back what it reads on standard input)
repeat and random number generation
Generative Art, (Theoretical) Computer Science, Math, Emacs, Lisp.
The simulacrum is true.
Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them.