• 3 Posts
  • 140 Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle



  • Ephera@lemmy.mlto196@lemmy.blahaj.zoneRoomba rule
    link
    fedilink
    English
    arrow-up
    9
    ·
    8 days ago

    Wikipedia says:

    Dust in homes is composed of about 20–50% dead skin cells. The rest […] is composed of small amounts of plant pollen, human hairs, animal fur, textile fibers, paper fibers, minerals from outdoor soil, burnt meteorite particles, and many other materials which may be found in the local environment.

    https://en.wikipedia.org/wiki/Dust

    (I would know that there’s dead skin cells in there, because I’m allergic to dust mite poop. And dust mites feast on dead skin cells…)







  • Yeah, would not surprise me. I imagine, the most susceptible to the marketing are teenagers, who have not yet developed partner preferences beyond superficial attractiveness and who may not feel as secured yet in their manliness or beauty or whatever.

    Convincing them that it’s a spray which gives you +1 to manliness/beauty, is a surefire way to print money. And since they have little experience what manliness/beauty actually entails, just giving your products stereotypical branding is the easiest way to do that.





  • Ephera@lemmy.mlto196@lemmy.blahaj.zoneDeveloper(ule)s
    link
    fedilink
    English
    arrow-up
    21
    ·
    22 days ago

    A few years ago, a colleague had the title “software craftsman”, because he thought it was utter bullcrap to call our profession “software engineer”.
    And yeah, now that I’m part of a project for a few years, I’m definitely feeling “software mechanic”. I might install half a spoiler every so often, but aside from that, it’s mostly just repairs…





  • Lots of “modern” languages don’t interop terribly well with other languages, because they need a runtime environment to be executed.
    So, if you want to call a Python function from Java, you need to start a Python runtime and somehow pass the arguments and the result back and forth (e.g. via CLI or network communication).

    C, C++, Rust and a few other languages don’t need a runtime environment, because they get compiled down to machine code directly.
    As such, you can call functions written in them directly, from virtually any programming language. You just need to agree how the data is laid out in memory. Well, and the general agreement for that memory layout is the C ABI. Basically, C has stayed the same for long enough that everyone just uses its native memory layout for interoperability.

    And yeah, the Rust designers weren’t dumb, so they made sure that Rust can also use this C ABI pretty seamlessly. As such, you can call Rust-functions from C and C-functions from Rust, with just a bit of boilerplate in between.
    This has also been battle-tested quite well already, as Mozilla used this to rewrite larger chunks of Firefox, where you have C++ using its C capabilities to talk to Rust and vice versa.


  • The description in the ticket isn’t too bad:

    allows users to make a window disappear and keep only its title bar visible.

    It really just hides the window contents. In effect, it is similar to minimizing a window, except that it doesn’t spring into your panel and rather stays in place as just the window title bar without the contents.

    It is a niche feature, if you couldn’t tell. But it isn’t some KDE specialty feature; various other desktops and window managers also support it. I think, it was more popular in the early days of graphical user interfaces, when we were still working out, how we want to do panels and such.

    And conversely, I do think it makes more sense as a feature on big screens like you can have today, where your panel might be quite a bit away.
    Don’t think, window shading will make a big comeback just yet, but yeah, probably enough existing users that use it, so that it would be cool to support that workflow.