• 39 Posts
  • 2.02K Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle
  • In my experience, the biggest problem is that maintainable code necessarily requires extending/adapting existing structures rather than just slapping a feature onto the side.

    And if we’re not just talking boilerplate, then this necessarily requires understanding the existing logic, which problems it solves, and how you can mold it to continue to solve those problems, while also solving the new problem.

    For that, you can’t just review the code afterwards. You have to do the understanding yourself.
    And once you have a clear understanding, it’s likely that the actual code change is rather trivial. At least more trivial than trying to convey your precise understanding to an LLM/intern/etc…



  • Everything I implement at work is open source because I don’t want to wait for a purchase approval.

    Just to say, though, I feel like 99% of the software we deploy is open-source for that exact reason. Projects generally start out small, where you try to evaluate some concept. You’re not gonna spend months to go through the purchase process of some proprietary tool, if you can help it…




  • Was recently thinking this might happen to Pinterest, too. Their webpage was never great, with how it tried to prevent you from downloading images, when that was literally the only reason I would ever visit. But at least, they did have a big database of images and a decent algorithm for detecting visual similarity.

    And well, they have an even bigger database of images now, but the majority of it is not worth looking at, because the images are not real. I don’t bother visiting anymore, because you can’t find anything worthwhile on there anymore.

    They did announce going all-in on AI at some point, but I don’t know, if they actually decided to generate images themselves. That seems almost too stupid.
    Could be that they have some financial incentives for folks posting and that alone lead to tons of AI-generated uploads. I don’t actually know how Pinterest was supposed to work…





  • From what I’m reading online, you want to install qt5ct (via sudo apt install qt5ct presumably) and then run that to set a proper theme for the KDE applications.

    You’re on the programming.dev instance, so here’s the technical details, in case you’re interested:
    KDE apps use the Qt GUI toolkit, whereas Cinnamon, GNOME, Xfce use the GTK GUI toolkit. These toolkits have different ways of theming them, including different configurations formats for that. The KDE Plasma desktop actually supports theming GTK applications by adapting the Qt theme configuration format into the GTK theme configuration format, but Cinnamon/GNOME/Xfce don’t support that in reverse.
    So, what you’re seeing is the KDE application not having any theming information and just trying its best to display something, including the use of the icon set that’s available on the host system. By using qt5ct, you can set this Qt theming configuration manually, so that it doesn’t have to guess anymore and can use a more fitting icon set.









  • Today, I noticed that my glasses case sticks to my work laptop like a magnet.
    I played around with it for a few seconds, then the thought struck me, that it might be my glasses case that’s magnetic, and I might be fucking up the electronics or the HDD or something by holding it close to my laptop. Pulled away real quick then. 😅

    I did try with my keys later, and well, turns out that it’s my work laptop that’s magnetic, so I guess, I wasn’t fucking anything up after all…