@hajimehoshi Blue light. If you look at the screen for long before going to sleep you are killing all melatonin. Orange glasses certified by optic to prevent wide range from violet to green light and eink display help a lot. Best would be to no PC for 3 hours before sleep.
Word of the day: monomorphization. The compiler takes a generic function and stamps out a separate copy for each concrete type it gets used with. Good to know the name for it.
Blessed Alexandrina’s life remains a powerful testimony to the Catholic belief that the Holy Eucharist is truly the Body and Blood of Christ, spiritual nourishment capable of sustaining not just the soul, but in extraordinary cases, even the body by God’s grace.
Studying propositional logic today. Asked myself: how do you write a formula for what a logical operator is? The key: two operators must differ on at least one input. It generalizes to any arity, and it turns out to be nothing but function extensionality.
I like the generalized formula.
@xyzzyapps Agree. I have nothing against well-designed abstractions that let you escape vendor lock-in. Ebitengine supports PC, mobile, and console while maintaining radical simplicity.
This entire demo is ~300 lines of Go. No assets. Not a single image file.
I was watching a video on the history of computer graphics. The things people created 40+ years ago, on hardware weaker than a modern fridge, are still beautiful. I wanted to see vectors myself.
I asked LLM to build this little demo with #ebitengine. Planets with rings, stars, asteroids, and a ship you fly forever through wrapping space with parallax. Every pixel is computed.
Here's what gets me: we've convinced ourselves that making things requires huge tools. Frameworks with build pipelines, engines with editors, stacks—you need months to learn before you render your first triangle.
Meanwhile, simple and powerful tools are all around us.
The right abstraction turns 300 lines into a small universe.
@hajimehoshi Exactly. A checkbox or button is basically one byte of data, while a text widget is a whole universe in comparison.
I still remember Nic’s explanation from that video (https://t.co/wn0eD2E0qJ) like it was yesterday.
After that, text boxes never looked the same.
@rfleury ig you have to create a complete from scratch course on how to build custom UI lib in concise form like Wirth.
Don’t forget to add chapter on creating skill for LLM to use it so people stop using HTML heh