A computer science enthusiast.

  • 2 Posts
  • 11 Comments
Joined 7 months ago
cake
Cake day: December 1st, 2024

help-circle

  • myxi@toast.oooOPtoUnixporn@lemmy.ml[niri] Gruvbox Setup
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    5 hours ago

    Waybar uses GTK stylesheets for the theming. In theory, GTK CSS does have support for transitions and animations, which could be used in your case. But I’d say it’s a hard sell still. That aside I’ve never tried them in GTK, so I wouldn’t know if they even work in practice or how far.

    I think you have a shot at this with eww instead. But it’s harder to work with and you’ll need to make somewhat complex scripts I’d imagine.







  • Yeah I usually love Python but right now I’m working on a paid project where I need to deal with tasks that are critical to mostly work on first try. Now, if it would be a different matter if my code was just completely idiotic and still worked but Python doesn’t error even when there is obvious typo that any statically compiled language could’ve picked up on a breeze at compile time.

    I am scared to even implement a better logging system in my program because sometimes I forget to sanitize the arguments and my program fucking crashes at runtime because I added a new fucking logging statement.

    I so fucking wish I had static type checking right now. The libraries I am using doesn’t have types (via annotations) so unless I spend days fixing their shit, I will have to continue with these shitty runtime crashes for the shittiest small mistakes. I also can’t trust these annotations because even if they are “wrong” their code coul perfectly work fine and they could even ship the wrong types. I would have the burden of dealing with their shitty annotations if that happens.





  • UPDATE: Implemented VERT_USE_EXTERNAL_TOOLS environment variable. See #Configuration.

    I had passed the filter parameter as "data", which should help prevent most issues with it but yes I agree that it would’ve been better to use external tools to do the heavy-lifting. I avoided them to make the program cross-platform and easier to setup (you currently can just run a simple pip command to install it). I may introduce them as optional backends later with a warning on the default ones but for now I’m postponing it.