Just your typical internet guy with questionable humor

  • 0 Posts
  • 36 Comments
Joined 2 years ago
cake
Cake day: June 22nd, 2023

help-circle


  • I Cast Fist@programming.devtoAnime@ani.socialGrave of the Fireflies
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    3
    ·
    1 month ago

    I watched it a few years ago and all I could think of was how the kid was responsible for most of the problems he ended facing. Sad? Yes. But a “YOU are making a bad situation worse” sad, because the boy wanted to “prove” he could be an adult, despite being a 10yo with a younger sister to care.

    Seriously, his aunt complained he was just hanging around, playing all day and not helping. His reaction? “You old hag, I don’t need you!”





  • I haven’t done anything with javascript in over 6 years, so I can’t say which is better.

    This comparison might be useful to you. Tauri gives a smaller executable for Windows compared to Neutralino, but slightly larger for Mac and Linux. Also, Tauri’s build times are orders of magnitude longer (5 minutes vs 1 second for Neutralino), I’d like some confirmation on your part if that’s indeed the case. One thing that really caught my attention, however, is how huge a memory hog Neutralino is on Linux, 700MB for an “empty-app-frameless” project!!

    https://github.com/Elanis/web-to-desktop-framework-comparison

    I’m actually curious in trying these two out myself, especially to see if the tauri build times are that bad, and if neutralino’s RAM usage is so high on linux.


  • FreePascal + Lazarus have been desktop crossplatform for many years. “But it’s Pascal! Nobody uses Pascal! And the defaults are fugly!”, fair enough, but it offers compatible crossplatform UI with a single codebase.

    Java also lets you write UI stuff and keep a single codebase for multiple platforms, thanks to the JVM. It always looks “weird” or “ugly” next to whatever OS’s default UI is and also needs a compatible JRM installed, but it works.

    Nowadays, web/javascript projects can opt for Tauri or Neutralinojs instead of Electron. They use the OS’s native HTML renderer, no browser required.








  • I’ve had that happen with database logs where I used to work, back in 2015-6.

    The reason was a very shitty system that, for some reason, threw around 140 completely identical delete queries per millisecond. When I say completely identical, I mean it. It’d end up something like this in the log:

    2015-10-22 13:01:42.226 = delete from table_whatever
          where id = 1
              and name = 'Bob'
              and other_identifier = '123';
    2015-10-22 13:01:42.226 = delete from table_whatever
          where id = 1
              and name = 'Bob'
              and other_identifier = '123';
    2015-10-22 13:01:42.226 = delete from table_whatever
          where id = 1
              and name = 'Bob'
              and other_identifier = '123';
    -- repeated over and over with the exact same fucking timestamp, then repeated again with slightly different parameters and different timestamp
    

    Of course, “no way it’s our system, it handles too much data, we can’t risk losing it, it’s your database that’s messy”. Yeah, sure, I set up triggers to repeat every fucking delete query. Fucking morons. Since they were “more important”, database logging was disabled.