• 1 Post
  • 64 Comments
Joined 6 months ago
cake
Cake day: January 9th, 2024

help-circle



  • I think about a feature or bugfix that I want to work on, then shoehorn it in by any means necessary. Once my code is confirmed working, the planning phase begins and I go through the module(s) I’m working with line-by-line and match the original author’s coding style and usually by that point I pick up a trail or discover a bunch of helper functions/libraries that I can use to replace parts of my code, and continue from there.

    As others have said, configuration files is a great way to learn that. Pick a config option you want to learn about, jump to the config loader, find where the variable gets set, then do a global search for that function. From there it starts to fall into place.

    Sidenote: I also learned rust this way. It took me around 6 months to learn the rgit codebase solely from adding features that I wanted from cgit. Now I’m at the point where rebasing from upstream to my soft-fork doesn’t mess up any of my changes, and am able add or fix things with relative ease. If memory serves, a proper debugger (firedbg is excellent!) was used on several occasions to track down an extremely annoying and ambiguous error message that was due to rust’s trait system being a pain in my ass.





  • From my experience, CW only works if the post is completely hidden from the feed without the option to view it.

    Blahaj Zone had the option to yeet that shit from the timeline entirely and it worked amazingly until a migration fucked that up leaving it broken for months and my mental health dropped off a cliff because holy fuck did I not realise most of the people I followed posted so much depressing shit that triggered my cptsd. The urge to click the button was too strong.

    Its par for the Fediverse course, really. Good ideas and half-assed implementations.





  • Welcome back! No apologies are necessary, shit happens. I hope your career has some highs in the near future, keeping my fingies 🤞🏼crossed 🤞🏼 for you~ :3

    My opinion of the new album is unchanged since last time I mentioned it. TTPD (the title track) is the only one I put on regularly. I’ve not made a playlist with the new tracks, I’m not sure where they fit in my personal “eras” playlist just yet.

    My physical copy of TTPD arrived from the US along with the Target edition of Lover this past Friday. My bestie sent some goodies along with it which means I finally have merch!!! I got a tapestry with all of the album covers, a bunch of water bottle stickers from the Eras tour, and the Little Golden Book!! I was so excited that I bought a fancy water bottle for the stickers 😂

    (the bottle comes today so yaaay!!)






  • I’m sure you could end up writing a test that’s bad in just the right way to end up doing more harm than good, but I do think that’s the exception(heh).

    That’s exactly why I’ve asked. That is where I’ve gone wrong with TDD in the past, especially where any sort of math is involved due to being absolutely horrible at it (and I do game dev these days!). I can problem solve and write the code, I just can’t manually proof the math without external help and have spent countless hours looking for where my issue was due to being 100% certain that the formula or algorithm was correct >.<

    Nowadays anytime numbers are involved I write the tests after doing manual tests multiple times and getting the expected response, and/or having an LLM check the work and make suggestions. That in itself introduces more issues sometimes since that can also be wrong. Probably should have paid attention in school all those years ago lol