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

help-circle





  • Huh, so if you don’t opt for these more specific number types, then your program will explode sooner or later, depending on the architecture it’s being run on…?

    I guess, times were different back when C got created, with register size still much more in flux. But yeah, from today’s perspective, that seems terrifying. 😅


  • What really frustrates me about that, is that someone put in a lot of effort to be able to write these things out using proper words, but it still isn’t really more readable.

    Like, sure, unsigned is very obvious. But short, int, long and long long don’t really tell you anything except “this can fit more or less data”. That same concept can be expressed with a growing number, i.e. i16, i32 and i64.

    And when someone actually needs to know how much data fits into each type, well, then the latter approach is just better, because it tells you right on the tin.




  • Yeah, and you don’t have to know which fork to choose. Only the compatible fork will show up in the search.

    (I was going to recommend that, but had something in the back of head, that you needed a manual step to enable the configuration. But I just saw that this is described in the Plasma 5 version, not the Plasma 6 fork, so I guess, it’s not necessary anymore…)



  • Ephera@lemmy.mltoLinux@lemmy.mlCan KDE Tile Windows Like PopOS?
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    14 days ago

    I believe, that’s something which became impossible with Wayland?

    But it wasn’t very good under X11 either. Even back then, it was much less clunky to use the various KWin scripts, which offer tiling. Well, and by now Plasma has built-in semi-automatic tiling, which those scripts basically just configure, so they do now feel quite smooth.






  • Yeah, one of the largest pieces of software humanity has created, next to Google Chrome and the Linux kernel, which are all around 30 million lines of code.

    To give a frame of reference: With a team of 5 full-time devs at my dayjob, we can dish out a codebase of about 20 thousand lines over the course of two years.

    A browser might be somewhat quicker to build, because the requirements are relatively clear at this point and you can start implementing many standards in parallel. But yeah, it’s still just an insane amount of code.



  • Was queuing at the checkout in the grocery store today and realized I wasn’t going to be done putting my foods onto the conveyor belt by the time the cashier would be done with the previous customer. Then a guy comes in to queue behind me and in the corner of my eye, I could tell that he only had three items or so. So, I turn to him and tell him that he can skip ahead of me.

    At that point, I see that it’s a bouquet of flowers and a greeting card that he’s holding. He looked a bit embarassed, but then also somewhat touched, because he wasn’t sure, if I was being nice, because he’s carrying his emotions out in the open.

    I wasn’t. 😅 I mainly just did not want to cause unnecessary delay. But was an unexpectedly wholesome encounter anyways.