• 0 Posts
  • 138 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle




  • Shell and Haskell are for different purposes.

    Shell is for composing tools that work on text streams.

    Haskell is for writing new tools or for programming against other (more structured) data models.

    Also, shell programs are small. The interpreter can be tiny. Re-compiling every new tool can add a ton of bloat.

    Also also, the key to effective shell programming is to recognize it as a macro language.


  • cbarrick@lemmy.worldtoLinux@lemmy.mlWhat is the point of dbus?
    link
    fedilink
    English
    arrow-up
    149
    arrow-down
    2
    ·
    11 months ago

    With pipes/sockets, each program has to coordinate the establishment of the connection with the other program. This is especially problematic if you want to have modular daemons, e.g. to support drop-in replacements with alternative implementations, or if you have multiple programs that you need to communicate with (each with a potentially different protocol).

    To solve this problem, you want to standardize the connection establishment and message delivery, which is what dbus does.

    With dbus, you just write your message to the bus. Dbus will handle delivering the message to the right program. It can even start the receiving daemon if it is not yet running.

    It’s a bit similar to the role of an intermediate representation in compilers.


  • cbarrick@lemmy.worldtoTechnology@lemmy.worldComputing, You Have Blood on Your Hands!
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    1
    ·
    edit-2
    11 months ago

    This is an awfully uninspired, useless article. I’m surprised it has been published by the ACM.

    Yes, hate speech is on the rise on social media. But this article offers no data, no new insights, and no proposed solutions. It’s just regurgitating high-level positions that have been posted hundreds of times over by real journalists.

    Why does the ACM need to publish this? What purpose does this article serve?

    Of course we need to “acknowledge the problem”. But saying that implies that we haven’t. Literally everyone on social media recognizes this. Gallons of ink have been spilt on this topic, most of which offers actual insights, unlike this empty page.

    Edit: If you’re actually interested in understanding how social media influenced the Rohingya genocide in Myanmar, check out this great series by Erin Kissane: https://erinkissane.com/meta-in-myanmar-part-i-the-setup







  • It’s a really innovative way to integrate it into the UI.

    Apple’s approach to notches has always been “extend the screen up into the bezel” rather than “lower the bezel into the screen”.

    The most obvious example (or easiest to explain) is with the MacBook Pro, where the screen is their classic 16:10 not counting the status bar. And their approach to the iPhone is no different.

    And the dynamic island just takes that to the next level.

    And I say all of this as an Android user. I much prefer Android to iPhone, but I’m not afraid to acknowledge when Apple gets it right.