buster @axionbuster.com · 27/12/2024TIL a purely functional double-ended queue with worst-case constant time access to either end is possible and that listing monads explicitly in such a data structure can improve the time complexity of certain operations (such as list concatenation) by changing assoc. of (>>=) 130
buster @axionbuster.com · 20/12/2024DDA line drawing algorithm, dimension-independent, lazy, infinite original algorithm is from Wikipedia (for 2D, in C) image: magnified image output, (0, 0) to (10, 5) 100
buster @axionbuster.com · 20/12/2024the usefulness of MultiWayIf in Haskell programming cannot be overstated (but you could hack it using case () of _ | condition1 -> expression1; _ | condition2 -> expression2; ...) 031
buster @axionbuster.com · 20/12/2024there's a whole community on the internet accumulating knowledge about teaching, metathinking and problem solving amazing 100
buster @axionbuster.com · 17/12/2024Variadic Composition (uses the Text.Printf trick) (language: GHC2021, no other extensions) 010
buster @axionbuster.com · 17/12/2024can you find a solution to this problem? (or decide that there is not) 000
buster @axionbuster.com · 12/12/2024fun fact i learned. a box-box collision problem can be reduced to a ray-box collision problem 100
buster @axionbuster.com · 01/12/2024I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/1 220
buster @axionbuster.com · 01/12/2024Some brand names on Amazon look like randomly generated and yet manage to deliver good stuff 200
buster @axionbuster.com · 29/11/2024This week is refactoring week. I’m moving a proof of concept demo into an actual framework. This is my movement code. I explored so many options that now I doubt I can make the code simpler. Try reading it. 100
buster @axionbuster.com · 29/11/2024Investor Marc Andreessen went on Joe Rogan Experience and said the CFPB was “debanking” people who were on the right. His company LendUp was implicated committed a crime and the CFPB stopped it. 000
buster @axionbuster.com · 29/11/2024On X/Twitter they’re seriously trying to cancel CFPB, wow. The DOGE wants it gone. 100
buster @axionbuster.com · 26/11/2024I just got back access to the internet, and I fixed the sound. I was multiplying the source coordinates by an extra factor of 8. That's fixed. 010
buster @axionbuster.com · 20/11/2024I've gotten the most basic aspect of PvP working: damage animation. But I can't get the sound to play for some reason. A clever thing Minecraft does is the client calculates the hits, reducing the burden on the server. The server only checks if they're valid. 000
buster @axionbuster.com · 19/11/2024Cool thing I'm working on. This is a Minecraft server being developed from scratch. I'm able to synchronize player movement. But the server doesn't understand blocks yet, so block information isn't being sent to other players. 010