Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CB
Posts
5
Comments
505
Joined
2 yr. ago

  • Let's say you want to write a GUI for connecting to networks.

    In the backend, you have NetworkManager, systemd-networkd, ConnMann, netctl, dhcpcd, ...

    Dbus could be a good way to expose a common API surface for clients.

  • 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.

  • 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.

  • Jesus.

    The 14 year old brother shot his 23 year old sister.

    Then the 15 year old brother shot the 14 year old brother, and disposed of the handgun.

    The 23 year old sister is dead. The 14 year old brother is stable.

    The 14 year old is being charged with first degree murder. The 15 year old is being charged with attempted first degree murder.

    The sister had a child, which was not harmed.

  • 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

  • I'm a software developer. I think about my interactions with computers as language. And Posix shell is a pretty good programming language.

    So interacting with the computer this way just makes sense to my monkey brain.

  • It is so hard to argue for prisoner welfare in the United States.

    Budgets are so limited, and after years of "tickle down," there are so many things we need to spend on to catch back up.

    Some would say the prisoners don't deserve it. Others sympathize, but have higher priorities.

    And as the article points out, when we do enact reform, there's no enforcement and prisons are in constant violation.

    I don't know what to do. But it's clear we need to do something, because the current system is causing harm rather than helping.

  • He could have just paid the £2,150 fine, but instead he chose to appeal...

    Engaging in legal action in a foreign country isn't exactly the brightest idea. Pay the fine and get out.

    Like, 3 months is an insane sentence, but it sounds like he just leaned in at every opportunity.

  • 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.

  • Broken for me.

    It displays HOME, but if I tap "reply" to see the underlying markdown, it is definitely $HOME.

    Device information

     
            Sync version: v23.11.29-22:27    
        Sync flavor: googlePlay    
        
        Ultra user: true    
        View type: Smaller cards    
        Push enabled: false    
        
        Device: ASUS_AI2302    
        Model: asus ASUS_AI2302    
        Android: 13
    
    
      
  • This doesn't work for code bases written in non-English languages. Especially east asian languages.

    Any line containing an identifier that is also a word would be highlighted.

    More and more programming languages are supporting unicode identifiers for this use case.