2025-11-01 18:20:52
Oh this is wonderfully crazy; a Linux port to wasm:
https://joelseverin.github.io/linux-wasm/
Oh this is wonderfully crazy; a Linux port to wasm:
https://joelseverin.github.io/linux-wasm/
First annoyance I've run into: standard bit shifting operations in Nim. It's not bad, but it took far too long to track down the right operator. In most languages, you're looking at the `>>` and `<<` operators, in Nim it's `shr` and `shl` which I totally wouldn't have guessed. However, got the initial register idea down.
```nim
type
Register = object
low: uint8 = 0
high: uint8 = 0
prime: uint16 = 0
proc swa…
Updating some proc file drivers that work perfectly well under Linux 2.6. Many, many changes since then and the code is messy to boot, having its origins in 1.8
Consistency of some well-posed five-field theories of dissipative relativistic fluid dynamics
Heinrich Freistuhler
https://arxiv.org/abs/2510.07526 https://
Idea: a `/proc/clown` pseudo-file
Functional Donoho-Elad-Gribonval-Nielsen-Fuchs Sparsity Theorem
K. Mahesh Krishna
https://arxiv.org/abs/2510.09609 https://arxiv.org/pdf/2510.09609
This one took a smidge more thought as I can't abuse `zip` to rotate 2D sequences. However, just rewrote the rotation as a proc and used that. Instead of `reduce`, it was all `foldl`, and I fought with `char` vs `string` due to some of the processing operations between the normal and cephalopod problem processing.
Overall, definitely a fun solve.
Solution: