Skip Navigation
Posts
17
Comments
281
Joined
2 yr. ago
  • of course!

  • I feel this is a bit of a moot point from the White House. Memory-safe languages have been around for decades. I feel like the amount of C/C++ out there isn't so much that people think having dangerous stuff around is good, but more that nobody really wants to pay to change it.

  • Depends how you look at it! Here’s me accessing Mastodon and the fediverse via email: https://lemmy.world/post/11020167 I’ve written a a couple more prototypes to connect one to the other. If anyone is interested I could write up more about how it works or do a more public demo

  • Link to the YAML spec, for the (very) brave: https://yaml.org/spec/1.2.2/

  • mpost

  • ym8nodehi

  • mpost

  • hi?

  • mpost

  • hi world

  • mpost

  • hello again

  • The other fun one is that the continental US (AKA everything except Alaska) is just about the same size as Australia. Then when you consider that there's 49 states versus Australia's 7, you can see how the numbers come about.

  • mpost

  • looks like I've solved the unfollow thing. one final test...

  • mpost

  • hello, world!

  • mpost

  • pretty sure?

  • mpost

  • but really shouldn't get this comment as we've undone the follow??

  • mpost

  • after unfollow

  • mpost

  • hey

  • Good question! Sorry if this answer is weird :)

    For me, I don't actually interact from Mastodon per se. I wrote a couple of read-only Lemmy & Mastodon clients. One for a weird text editing environment I use (https://lemmy.sdf.org/post/1035382) and via email (https://gts.olowe.co/@o/statuses/01HMQ9N4HQ2ETGZWJS49K5NG5Y). To reply to or create posts, I use a write-only Mastodon client I wrote.

    My idea is to exercise the fediverse. In principal I don't think I should need separate accounts for Lemmy, PeerTube, Mastodon, Kbin, Akkoma, etc.

    Right now I'm replying from an account on lemmy.sdf.org as I can't reply from GoToSocial (Lemmy and GoToSocial don't work well together right now) and my Mastodon server (hachyderm.io) has a post limit of 500 characters.

  • Ah ha makes sense now! The "Replying to comments" section of that article explains exactly what's happening. If I understand correctly the community itself ([email protected] in my above example) is not notified of my reply from Mastodon. If the community did know, then it would broadcast a notification of the activity to whoever else is subscribed to [email protected].

  • I honestly find it worrying that someone would think it's some sort of deeply ingrained human trait when it's clearly not culturally universal (eg. small hunter-gatherer tribes wouldn't exist otherwise) and not present through all of history.

    I think "growth" is a strong signal for people to put faith and trust into something. And that these emotions have influenced our behaviour for a long time.

    Why did the Roman empire keep expanding? What made them want more? I'm not a historian nor an anthropologist (far from either!). But this feels like "line go up" behaviour. What would it mean for those in power to communicate that some part of the empire was receding? Even if, overall, the empire was objectivetly huge relative to other organised groups?

    One thing I think about is there could be eroding confidence and trust of those in power by colleagues and the general population. If people lose faith, the powerful lose power; they lose ability to influence behaviour. Growth is obsessed over because it's a means to capture influence over the means of production (and capture profit).

    The line has to go up because the current economic system demands it has to go up

    What about outside of economics? Even metrics on https://fedidb.org: shrinking numbers are coloured red. Growing numbers green. Green = good, red = bad.

    Another thought. The other day I was at a cricket match. Grand final. Because the home team was losing, the stadium started to empty. It wasn't about enjoying the individual balls/plays. Supporters were not satisfied with coming second (an amazing achievement, much "profit"!), it needed to be more.

    To stretch this shitty metaphor further, when the supporters (investors?) lost confidence in their ability to deliver more, they just abandoned the entire match (enterprise?) altogether!

    Again: I'm not stating anything here as fact. I'm just absolutely dumbfounded as to why "line go up" is, as you say, such an obsession. I hear you when you say that it's a consequence of how the modern economy works. That makes sense. I guess I wonder what would happen if we snapped our fingers and we could start again. I wonder what the economy system would look like. Would we still be obsessed with growth?

  • Gotcha. I had a feeling something around how Mastodon doesn't support ActivityPub Groups (yet?) would be where things are going on. Congrats on piefed, by the way. I'll start studying the codebase now as I'm keen to understand how server-to-server communication works more deeply than I do now. Sending Announce(?) and fetching stuff from other servers...

    When I look at the ActivityPub Note object (via curl -H 'Accept: application/activity+json https://hachyderm.io/@otl/111887721960075860) I see:

     undefined
        
    {
        "@context": [
            "https://www.w3.org/ns/activitystreams",
            {
                "ostatus": "http://ostatus.org#",
                "atomUri": "ostatus:atomUri",
                "inReplyToAtomUri": "ostatus:inReplyToAtomUri",
                "conversation": "ostatus:conversation",
                "sensitive": "as:sensitive",
                "toot": "http://joinmastodon.org/ns#",
                "votersCount": "toot:votersCount"
            }
        ],
        "id": "https://hachyderm.io/users/otl/statuses/111887721960075860",
        "type": "Note",
        "summary": null,
        "inReplyTo": "https://ttrpg.network/comment/4965852",
        "published": "2024-02-07T01:59:08Z",
        "url": "https://hachyderm.io/@otl/111887721960075860",
        "attributedTo": "https://hachyderm.io/users/otl",
        "to": [
            "https://www.w3.org/ns/activitystreams#Public"
        ],
        "cc": [
            "https://hachyderm.io/users/otl/followers",
            "https://ttrpg.network/u/Neato",
            "https://lemmy.world/u/ForgottenFlux"
        ],
        "sensitive": false,
        "atomUri": "https://hachyderm.io/users/otl/statuses/111887721960075860",
        "inReplyToAtomUri": "https://ttrpg.network/comment/4965852",
        "conversation": "tag:hachyderm.io,2024-02-06:objectId=123754186:objectType=Conversation",
        "content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://ttrpg.network/u/Neato\" class=\"u-url mention\">@<span>Neato</span></a></span> <span class=\"h-card\" translate=\"no\"><a href=\"https://lemmy.world/u/ForgottenFlux\" class=\"u-url mention\">@<span>ForgottenFlux</span></a></span>  I totally get how you feel. One use-case I think of is machine-generated image alt-text. These are often not added to images. But with image-to-text ML models, visually-impaired people could hear a descriptions of images that before were never annotated.</p>",
        "contentMap": {
            "en": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://ttrpg.network/u/Neato\" class=\"u-url mention\">@<span>Neato</span></a></span> <span class=\"h-card\" translate=\"no\"><a href=\"https://lemmy.world/u/ForgottenFlux\" class=\"u-url mention\">@<span>ForgottenFlux</span></a></span>  I totally get how you feel. One use-case I think of is machine-generated image alt-text. These are often not added to images. But with image-to-text ML models, visually-impaired people could hear a descriptions of images that before were never annotated.</p>"
        },
        "attachment": [],
        "tag": [
            {
                "type": "Mention",
                "href": "https://ttrpg.network/u/Neato",
                "name": "@[email protected]"
            },
            {
                "type": "Mention",
                "href": "https://lemmy.world/u/ForgottenFlux",
                "name": "@[email protected]"
            }
        ],
        "replies": {
            "id": "https://hachyderm.io/users/otl/statuses/111887721960075860/replies",
            "type": "Collection",
            "first": {
                "type": "CollectionPage",
                "next": "https://hachyderm.io/users/otl/statuses/111887721960075860/replies?only_other_accounts=true&page=true",
                "partOf": "https://hachyderm.io/users/otl/statuses/111887721960075860/replies",
                "items": []
            }
        }
    }
    
      

    So I'm assuming an Announce was posted to the shared inboxes at lemmy.ml, lemmy.world and ttrpg.network... hmm... I better start reading!

  • Lemmy @lemmy.ml
    Oliver Lowe @lemmy.sdf.org

    Unexpected comment behaviour between Mastodon and Lemmy

    My replies via Mastodon to Lemmy posts don't get distributed as expected. For example:

    It seems my reply only shows in these Lemmy servers:

    • lemmy.ml (the server of the group to which the post was made)
    • lemmy.world (the server of the post's author)
    • ttrpg.network (the server of the comment's author)

    From some other lemmy servers, my comment is not present:

    I expected that my reply would show on any other Lemmy server with subscriptions to [email protected]. Does that make sense? I'm hoping to help troubleshoot federation like this as I'm super excited about ActivityPub and what it means for the internet! :)

    Programming @programming.dev
    Oliver Lowe @lemmy.sdf.org

    Simple Made Easy - Rich Hickey (2011)

    www.infoq.com Simple Made Easy

    Rich Hickey emphasizes simplicity’s virtues over easiness’, showing that while many choose easiness they may end up with complexity, and the better way is to choose easiness along the simplicity path.

    Simple Made Easy

    One of my favourite talks on programming. Just wanted to share for others who haven't seen this before.

    Programming @programming.dev
    Oliver Lowe @lemmy.sdf.org

    My struggle from a UNIX background in the modern "cloud" world

    Australia @aussie.zone
    Oliver Lowe @lemmy.sdf.org

    Anyone subscribe to Crikey?

    https://www.crikey.com.au How is it?

    Last year I gifted a news junky friend a year subscription to the New York Times. That was cool but they are more interested in Australian stories. Normally they browse the ABC and BBC apps.

    Git @programming.dev
    Oliver Lowe @lemmy.sdf.org

    git-send-email.io - Learn to use email with Git

    With Github so popular now, not everyone is aware of the workflows that git provides out-of-the-box for collaboration. Thought this may pique some people's curiosity :)

    Programming @programming.dev
    Oliver Lowe @lemmy.sdf.org

    Rejected automation?

    Let’s share stories where your automation efforts have been rejected and you can’t quite understand why! Here’s mine.

    Colemak @wayfarershaven.eu
    Oliver Lowe @lemmy.sdf.org

    Colemak on iPadOS

    Coming to you from my iPad and my old mechanical keyboard plugged in via a USB-C adapter! Go to Settings -> General -> Keyboard -> Hardware keyboards Finally select the language then scroll down to Colemak!

    My girlfriend is using the desktop to watch a movie and I wanted to type something up. Never thought I could do it on my iPad but here we are :)

    Just wanted to let you all know. Not sure how long this has been possible for; pretty sure it's only possible if you've got a physical keyboard connected via USB or Bluetooth.

    Testing @aussie.zone
    Oliver Lowe @lemmy.sdf.org

    mpost

    Hello, world!

    roff typesetting: groff, troff, etc. @lemmy.ml
    Oliver Lowe @lemmy.sdf.org

    Pikchr: A pic-inspired markup language for diagrams in web documents

    The design goal of Pikchr is to enable embedded line diagrams in Markdown or other simple markup languages.

    Cool project. Created by the same group as SQLite. The scripting language is based on pic(1) but outputs SVG instead of troff.

    General Discussion @lemmy.world
    Oliver Lowe @lemmy.sdf.org

    What next for a hobbyist documentarian?

    TL;DR Seeking any advice on making documentaries about things around me!

    I've done a couple of short videos as a hobby between jobs. I'm a programmer by trade. It was really fun to make these in particular:

    • a short documentary [Backpackers In Cairns, Australia During the COVID-19 Pandemic]
    • a group profile of the [NSW Carriage Driving Society].

    But these take time that I don't really have any more; I've got a girlfriend and we don't want to spend all that time on the road! I tried to shoot a couple of 90-second news packages for a local news website but it was really hard. I hate politics and I hate that breaking news cycle.

    Off the top of my head, here are some things that I think would be fun to shoot and edit:

    • Documenting local organised events. Not just the highlights; from setting up and packing down again, mishaps along the way.
    • From bin to...? Where our rubbish goes
    • Cancelled buses: why bus drivers are so hard to find

    I feel embarassed to speak to people about

    Plan9 @lemmy.sdf.org
    Oliver Lowe @lemmy.sdf.org

    Lemmy: experimental Acme program to access Lemmy

    Lemmy uses the packages olowe.co/lemmy (source), which provides a io/fs filesystem interface to a Lemmy instance, and 9fans.net/go/acme to interact with acme. What you get is an Acme Mail inspired program for Lemmy. As you can see, it's a work in progress!

    But it's been fun so far. Sorry that this isn't running on Plan 9 (running on OpenBSD). I'm on the road at the moment and don't have a way to connect to a server right now!

    Lemmy.world Support @lemmy.world
    Oliver Lowe @lemmy.sdf.org

    Deleting >4000 junk communities by @LMAO

    I recently wrote a command-line utility [lemmyverse] to find communities indexed by [Lemmy Explorer]. A quick count shows almost 14%(!) of all communities indexed by lemmyverse are junk communities created by a single user @LMAO ([reported here]):

     undefined
            % lemmyverse . | wc -l
          30376
        % lemmyverse enoweiooe | wc -l
           4206
    
    
      

    Here's a python script, using no external dependencies, which uses Lemmy's HTTP API to delete all communities that @LMAO moderates:

     undefined
            #!/usr/bin/env python
    
        import json
        import urllib.parse
        import urllib.request
    
        baseurl = "https://lemmy.world"
        username = "admin"
        password = "password"
    
        def login(user, passwd):
            url = baseurl+"/api/v3/user/login"
            body = urllib.parse.urlencode({
                "username_or_email": user,
                "password": passwd,
            })
            resp = urllib.request.urlopen(url, body.encode())
            j = json.load(resp)
            return j["jwt"]
    
        def get_user(name):
            query = urllib.parse.urlencode({"username": name})
            resp = urllib.request.urlopen(baseurl+"/api/v3/user?"+quer
      
    Linux @lemmy.ml
    Oliver Lowe @lemmy.sdf.org

    lemmyverse: find communities from the command line

    lemmyverse: search lemmy communities from the command-line. Thanks to the data HTTP API from [lemmyverse.net]! This is not really as polished as I like but, hey, in the interest of having a lively Lemmy I thought I'd share anyway :)

    Usage

    lemmyverse searches community names and descriptions using a regular expression:

     undefined
            lemmyverse pattern
    
    
      

    Find communities about motorcycles:

     undefined
            $ lemmyverse motorcycle
        [email protected]      All Things motorcycles
        [email protected]   All Things motorcycles
        [email protected]     All Things motorcycles
        [email protected] Community for BMW motorcycles. A place to share
        [email protected]       A community to discuss all things BMW cars & motorcycles.\nFeel free to show off your new vehicle/parts
        [email protected]       A discussion area for Buell motorcycles.
        [email protected]        A community for pictures and videos of people using motorcycles to transport things in a creative manner.\n\nThis includes
        moto
      
    Golang @programming.dev
    Oliver Lowe @lemmy.sdf.org

    Go tech lead Russ Cox:

    This post is about why we need a coroutine package for Go, and what it would look like.

    With a post like this it usually means there will almost certainly be a new standard library package. But even more interestingly:

    If we are to add coroutines to Go, we should aim to do it without language changes. That means the definition of coroutines should be possible to implement and understand in terms of ordinary Go code. Later, I will argue for an optimized implementation provided directly by the runtime, but that implementation should be indistinguishable from the pure Go definition.

    Programming @programming.dev
    Oliver Lowe @lemmy.sdf.org

    Go project tech lead Russ Cox talks about a technique to make programs clearer using concurrency.

    Programming @programming.dev
    Oliver Lowe @lemmy.sdf.org

    An OpenBSD developer and the one-man-band behind Pushover gives some advice after 10 years of running a public HTTP API. It's interesting as big companies are happy to publish articles about all the fancy stuff they developed to run some API, but you don't always hear from a sole developer running a service for such a long time.

    retroNET - Vintage Culture/Websites/Software @lemmy.sdf.org
    Oliver Lowe @lemmy.sdf.org

    (mac)OStalgia

    There's something about the consistency that is missing nowadays.