I wanted to write a prime generator, but all the popular languages already have optimised ones I can't compete with.
commented version: https://gist.github.com/olligobber/0445a1721eb22b1d5b65bb4d4becdbf6
I just found a new favourite monad: the non-deterministic state monad! https://gist.github.com/olligobber/9f853ed210beec3e4a7fbc7941f4fc11
@CaribenxMarciaX ah, this makes me think about how the chinese third person pronoun was historically non-gendered until after the opium war era, when western ideas that male is the default co-opted the word to reflect male people, and then a whole other word had to be used to refer to female people, and now it's awkward to refer to people without gendering them
So, turns out LaTeX is a lazy functional language... https://gist.github.com/olligobber/e044c87a834b34bc74d8c8903b0b0d94
This is a C64 demo for a *1541 disk drive*, and I'm just 😯. Even though I already knew that C64's drives were essentially computers with CPU and RAM, just the idea to use serial data/clock lines for video output is so incredibly AMAZING. So cool.
Moral of the story: add tests to your code so you find the errors earlier rather than later
Fixed. I wrote Left instead of Right. https://github.com/olligobber/DirectProof/commit/32cda016f41ce1b5df96c2ec3fec0d33eb033c12#r52648834
So I just tried to prove this on a whim and my proof generator gave an error it's never supposed to give...
Putting out a call to action. Please boost I need as much information and as many sources as possible
I need old demo discs of 2D/3D art from the 90's / early 2000s, especially educational.
I'm collecting a bunch of assets and sources so anything works, reference images included in this arena board
Mathematician and design enthusiast. Computing, music, science, video games and art.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!