• 0 Posts
  • 15 Comments
Joined 3 years ago
cake
Cake day: July 1st, 2023

help-circle

  • Man, the Jira UI has this weird visual bug where both Dark Mode and Light Mode look as expected on their own, but if you set it to “System” and your system is in dark mode, you get a Light-mode header and a Dark-mode body. Honestly I have no idea how you would even make it behave this way if you wanted to.

    Plus it’s kinda impressive how Jira will consistently flashbang you on every page reload when you’re in dark mode. It’s not that I would expect them to never flashbang me but browsers nowadays do actively try to prevent this behavior by various caching and preloading techniques. You really have to work hard to break them this hard.









  • I’m semi-actively working on a Neopets-esque browser game (it’s actually closer to Flight Rising but people usually don’t know what that is). Anyways, my day job is literally web development so I know how to optimize things. And the main thing that needs optimizing in those games is storing the graphics. Especially if you offer a lot of color combinations for the creatures. The standard way is to have your backend generate a png with the specific traits of a creature and store that in a database. But storing images is expensive as hell and I’m not looking to pay for storage for my stupid little hobby project.

    Long story short, since Laravel’s Blade templates can be used to serve Server-generated XML and SVG is just XML I’m just writing the graphics as code and serving it on demand. Good thing that I can draw, because making those graphics is kind of finicky and I don’t think I could find an artist who knows enough about programming or a programmer who’s good enough at art to do that process for me.





  • Have you ever pressed F12? We technically weren’t allowed to see the config either, but LiteLLM literally returned a users password hash as part of the user data json in the version we were using. It was easy enough to see that it wasn’t salted.
    Another fun thing it does is that any user can see their entire teams token spend trough the network tab, even if they technically shouldn’t be allowed to do that. Oh and LiteLLM had a CVSS score 9.9 vulnerability recently where any user with any sort of write privilege (including the “privilege” to change any of your own data, like your password) could just change their own role to admin 🤷

    The pure incompetence of that software would be really funny if it wasn’t such a pain in the ass to be the person who has to convince coworkers to rotate compromised credentials…