• 0 Posts
  • 80 Comments
Joined 5 months ago
cake
Cake day: June 25th, 2024

help-circle

  • Printing debug messages didn’t do much for me for this one time where a class was overflowing a buffer right in the constructor, and everything was fine creating an instance of it, passing it around, etc., until I actually go to use one of its methods later on in the program and it crashes. It was C++ on an ESP32 and I had to decode the stack trace and everything to find it, took me hours because I had to learn what even to do with a stack trace. The Espressif forums kinda suck balls, they are a ghost town.



  • Smoothwall. I used to run it a lot back in the early 2000s for personal use and even helped set up a couple small businesses with it but I don’t hear of anyone else using it these days, people seem to love openwrt and pfsense more.

    It was great for just taking any old x86 machine and making a powerful, fully featured firewall/router out of it, including a VPN server, all through a web interface. Nowadays that’s boring shit but in 2002 it was pretty cool.


  • Year 2070: A young man in a dirty, run down, four mile tall high-rise reaching into the smog and covered in holographic ads and QR code graffiti lays down and plugs his newly upgraded gaming system into the port in the back of his head, closes his eyes, and enters the virtual realm for some much needed reality escape. He tests his hardware by running glxgears. The toothed discs appear before him in the empty void, spinning smoothly and silently, assuring him that in a few moments, he can imagine a different life, if only for just a few hours.










  • As an addition to your post, I’m also in the process of learning C/C++, and I’m curious also how others arrange their actual project files and include directories. Like, for example, if there’s a bunch of classes having to do with UI elements, do you just group them each under their own file all in their own directory? I’ve also seen projects where everything was just thrown into the top level directory, both headers and implementation files together in a giant pile of source files.