"Avoid Premature Optimization" by Victor Zhou https://victorzhou.com/blog/avoid-premature-optimization/
Here's something that happens way too often in the fediverse and nobody steering the ship(s) seems to have an answer for:
- user switches instances
- user sends out a "i switched instances, follow me at new account" post or two
- some followers miss these, user @ old instance is no longer in their TL
- to these followers, it just seems like the user stopped posting
"Magic numbers" by Gilles Dubuc (2018) https://calendar.perfplanet.com/2018/magic-numbers/
Pretty revealing look at the lack of scientific rigor behind a lot of web performance "best practices." Are we all really relying on a single study published in 1968?
Woaa I think I solved GBA palette management once and for all.
Hopefully I can implement it tomorrow evening but this is very promising so far.
Each graphic you add to the game result in 4 bytes of additional RAM usage to keep track of palette allocation.
This sounds bad, but its actually fine because
- you can (and should) have shared palettes
- you would probably be storing this same information scattered around your program as static variables anyway.
this right here is a work of genius
Found an sprintf implementation from 2003, written for the GBA in Thumb assembler.
Dropped it into an `asm` block in my Nim project and it Just Works ™️. I'm in awe.
In other news, I've been having a lot of fun with HBlank handlers! (sick space background by hot_pengu from our jam game)
I needed to add some quick GUI prompts and file save dialog to a small SDL program, I tried like 5 different solutions including the Windows API.
I always suspected that IUP was underrated. Now that I've used it, I can confirm that it really is!
Like this GUI library is so good and so lightweight and it's simple and it Just Works ™️ using native controls. And I never see anyone talking about it, or hear about any applications that are built with it!
I don't understand
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!