• 0 Posts
  • 7 Comments
Joined 2 months ago
cake
Cake day: September 17th, 2026

help-circle
  • been using pixi 8 for a browser game for a few months, it’s a map with about 10k little iso cubes and a bloom filter on top, and yeah it’s a renderer not an engine, camera, input and the rest you end up writing yourself. one thing that bit me and isn’t obvious from the docs: if everything lives in one big container, any small Graphics you redraw every frame makes pixi walk all the sprites again, I was stuck at 38 fps on an M1 because of that. setting isRenderGroup = true on the big layers that barely change got it to 120. also worth doing a custom bundle with only what you import, mine went from 564 KB to around 164 KB gzipped, matters on mobile I guess



  • same here, a small browser game on one Hetzner VPS, no failover at all lol. what I have is a nightly Postgres dump that leaves the box, Uptime Kuma pinging it from somewhere else, and a deploy script that can rebuild everything on a fresh server. so if Hetzner goes down my plan is honestly just wait, and if the server dies its restore on a new one and lose a few hours of data, I guess for a hobby thing thats an ok trade. the part I never did is actually test the restore end to end, which is kind of the point of the post


  • I have an old armv6 Pi at home (174 MB of usable RAM), and it does two things that fit it really well. one is sending the wake on lan packet to my desktop, so I can turn it on when I’m not at home, over tailscale. the other is a small presence monitor, arp-scan every 2 minutes into sqlite, and it publishes each device to home assistant over mqtt, so I know what is on at night and get a ping when something new joins the wifi. if you do something like this set an expire_after on the sensors. mine was hanging for 79 days on an mqtt broker IP that didn’t exist anymore and the dashboard kept saying “17 online” the whole time, I didn’t notice lol


  • for non technical people I’d go with the boring version, a small windows machine that stays at home, tailscale and normal remote desktop, nothing open to the internet. two things bit me with tailscale that could bite you too. my windows pc at home is shared, and when another windows user logged in, tailscale went offline for me, the pc was on and fine but it had disappeared from the network. so use one windows account for everybody, or look at the unattended mode. and the keys expire after some months by default, one of my servers became unreachable for days because of that, so turn the expiry off for that machine. proxmox would work too, just not as the first thing I learn while the business depends on it I guess


  • agree, and for me the worst ones are the quiet inconsistencies, not the big rewrites. on my side project, a small browser game, the client handled server error codes separately in 4 different actions, so when I added a new code on the server one of them just read it as “no charges left” and showed 0, no error anywhere. nobody calls that a blunder when they write it, it’s just 4 slightly different ifs, but now every new feature has to remember all of them. in review it’s the same, clever code is easy to spot, a second way of doing the same thing usually isn’t