Olle Axelsson (OllAxe)
ollaxe.com
Olle Axelsson (OllAxe)
@ollaxe.com
🖥️ Game dev consultant @ Piktiv AB, currently working on Valheim
linkedin.com/in/ollaxe

🎵 My music:
open.spotify.com/artist/6dWtJoLoYBmrrkmGhTLjC2
soundcloud.com/ollaxe

Your one stop shop for random thoughts about obscure computer science
🫶
December 2, 2025 at 8:54 PM
This is a solution I came to after many failed attempts. I don't remember but I probably took inspiration from Unity's serialization format for prefabs and scenes, because it does something similar. When you can store the entire graph as a flat list of nodes with GUIDs, it's very easy to serialize.
October 25, 2025 at 8:35 PM
Then I put all the nodes in the graph into a flat list and gave each node a GUID. The serialization function just looped through this list and serialized connections by storing the GUID. That gave the best of both worlds - simple to use at runtime and easy to serialize, no recursiveness needed!
October 25, 2025 at 8:35 PM
Thankfully I've never had to write a node-based visual editor, but I have had to generate graphs of reference relationships between Unity assets which I've then had to serialize and deserialize. In my solution, nodes were a class that connected to other nodes by referencing them in a list.
October 25, 2025 at 8:35 PM
This is exactly what C is. The harmonic mean of the frame rate is the arithmetic mean of the frame time.
September 13, 2025 at 10:40 AM
Or you could get WAVs/FLACs off Beatport or Bandcamp, but imo Beatport is prohibitively expensive.
September 8, 2025 at 6:58 AM
I would agree if it weren't for the fact that CDs have objectively better audio quality than MP3, because CD audio is uncompressed 16-bit 44.1 khz. Almost no one provides better quality masters than that anywhere. Best of both worlds is to rip CDs, convert them to FLAC and load them onto your phone.
September 8, 2025 at 6:57 AM
This sounds a lot like the kind of app signing that's been standard on Windows and MacOS for decades, a valid security measure. But it's important that they make it possible for users to bypass a failed check if they still want to install the app. Found no info on whether it is, which is scary
August 27, 2025 at 5:46 AM
Hahah that's cool, and actually a useful feature then unlike mine
August 4, 2025 at 2:49 PM
Agreed, it's very convenient! I don't know about yours but my scooter only trigger the alarm when it detects that the wheel with the motor turns, so to avoid triggering the alarm you can just carry it
August 4, 2025 at 12:35 PM
E-scooters are unfortunately very attractive for thiefs so I would strongly recommend bringing it with you instead of locking it to a bike rack whenever you're able to. I keep mine in my apartment and at the office.
August 4, 2025 at 11:19 AM
Vampires have reflections??

Also cool outfit!
July 31, 2025 at 7:36 AM
There are even 100+ MP cameras that bin 3x3 pixels down to around 12 MP, but it's much less common
July 4, 2025 at 7:29 AM
Most flagship smartphone cameras do this by default. Their main sensor is usually over 48 MP but bin down to something like 12 MP, which gives a more appropriately sized image with less noise and higher detail per color channel. Doesn't even affect the exposure since it just takes the average
July 4, 2025 at 7:27 AM
Pretty useful for knowing who didn't wash their hands
June 28, 2025 at 2:01 PM
Fair point
June 15, 2025 at 7:16 PM
Never thought of it that way haha

Which is better do you think?
June 15, 2025 at 1:55 PM