Latest / Talk Python To Me / #390: Mastodon for Python Devs
Transcript
- 0:00Wondering what Mastodon is all about?
- 0:02More importantly, what does it offer Python developers and other open source folks compared to Twitter?
- 0:07There's a huge amount of interest in the tech community about what's happening at Twitter
- 0:12and about whether people should expand to or even entirely move to a new location.
- 0:16So I decided to put together a set of experienced Python developers
- 0:19who have been Mastodon inhabitants for a long time
- 0:23to discuss what this unexpected shift means for one of our most important online watering holes.
- 0:28On this episode, you'll meet Gina Houska, Simon Willison, Carol Welling, and Juan Luis Cano Rodriguez.
- 0:34We're going to have a great time talking about the technology and the culture of Mastodon from this Python perspective.
- 0:40This is Talk Python To Me, episode 390, recorded Monday, November 14th, 2022.
- 0:57Welcome to Talk Python To Me, a weekly podcast on Python.
- 1:03This is your host, Michael Kennedy.
- 1:05Follow me on Mastodon, where I'm @mkennedy, and follow the podcast using @talkpython, both on fosstodon.org.
- 1:13Be careful with impersonating accounts on other instances.
- 1:15There are many.
- 1:17Keep up with the show and listen to over seven years of past episodes at talkpython.fm.
- 1:21We've started streaming most of our episodes live on YouTube.
- 1:25Subscribe to our YouTube channel over at talkpython.fm/youtube to get notified about upcoming shows and be part of that episode.
- 1:33This episode is sponsored by the AWS Insiders podcast.
- 1:37AWS is changing fast.
- 1:39Listen in to keep up over at talkpython.fm/AWS Insiders.
- 1:43It's also brought to you by Microsoft for Startups Founders Hub.
- 1:47Get early stage support for your startup without the requirement to be VC backed or verified at talkpython.fm/foundershub.
- 1:56Transcripts for this episode are sponsored by Assembly AI, the API platform for state-of-the-art AI models that automatically transcribe and understand audio data at a large scale.
- 2:07To learn more, visit talkpython.fm/assemblyai.
- 2:10Hello, Carol, Gina, Juan, Simon.
- 2:14Awesome to have you here.
- 2:15Hi there.
- 2:15Hello.
- 2:16Hi.
- 2:16Good to be here.
- 2:17Hey, Michael and everyone.
- 2:19Good to be here.
- 2:20I don't know if you all have heard, but there's a bit of a turmoil over at Twitter.
- 2:23And I think you could hardly hide under a rock and see that.
- 2:29Even the people who are living under a rock.
- 2:31Like, oh, yeah, I heard about the Twitter thing.
- 2:32Because every news channel is just like they bring on the expert that talks about interviews and various things that are going on.
- 2:40And I want to kind of start this episode just with a comment about Twitter real quick before we talk about maybe the alternative or destination or parallel universe.
- 2:50Twitter's been a really important community for me.
- 2:53And I don't want to, if I say anything negative about what's happening at Twitter, I don't want people who have been really great members of my community to feel like that's any way directed to them.
- 3:03It's been a really positive experience to be with so many people over there.
- 3:07And it's only with concern and worry that I would lose that community that maybe something might happen to Twitter.
- 3:14Either it gets wrecked and it's a place that people don't like or advertisers flee and it goes out of business or who knows what the future holds.
- 3:20But that's sort of what got me interested in alternatives.
- 3:25And Mastodon turned out to be a pretty interesting alternative.
- 3:28So maybe we could kick this off with just a really brief introduction and your perspective on that.
- 3:34Carol, we'll go down the video list here.
- 3:37Yeah.
- 3:38Hello, everybody.
- 3:38I'm Carol Willing.
- 3:39I'm a longtime contributor in the Python and Jupyter ecosystems.
- 3:44Right now, I'm a deep engineering at Notable, which is a SaaS-based notebook platform.
- 3:51Yeah, I've been a longtime user of Twitter and it's been great for community stuff, but I am concerned about the future.
- 3:59So I'm interested in hearing what everybody else has to say as well.
- 4:02Yeah.
- 4:02Well, welcome, Carol.
- 4:03Gina?
- 4:03Thank you.
- 4:04Hi, my name is Gina Häuske.
- 4:06I'm a full-time open source maintainer of my own project, Octoprint, now for almost 10 years.
- 4:11And I think my Twitter account was created in April 2009 and my Mastodon account was created in January 2020.
- 4:19So I've been a longtime Twitter user.
- 4:23It was my go-to social network after Google Plus went down.
- 4:28And I've met a lot of amazing people on there.
- 4:31And I really hate to see this community maybe go down now or something.
- 4:37I don't know.
- 4:38But in any case, that was also the reason why I jump chip quite early.
- 4:42And yeah, not jump chip, but just try to establish a new home, a new ground base,
- 4:48and gather my friends around me there again, so to speak.
- 4:53Gina, my feeling is sort of my terminology I'm trying to use right now is sort of Mastodon first,
- 4:57but not I'm deleting my Twitter account and I'm out of there.
- 5:00That's the way I'm thinking of it.
- 5:01Exactly.
- 5:02I'm absolutely not deleting it, but I'm now...
- 5:05I switched the cross-poster direction and also the cross-poster...
- 5:11Yeah, I switched it from opt-out to opt-in.
- 5:15Juan, hello.
- 5:16Hello, everyone.
- 5:17My name is Juan Luis.
- 5:19I'm from Spain.
- 5:21And since the past two years, I've been working as an advocate.
- 5:24So the social media aspect has been really important also for my work.
- 5:29Even though I've had a long-term love-hate relationship with Twitter in particular, right?
- 5:35So I don't remember when I first signed up because I have removed my account and then signed up again at least two or three times.
- 5:42But I very vividly remember lots of political things happening and following elections and important stuff happening in not only my country, but everywhere in the world through Twitter and getting the news from there.
- 5:57So for me, it's been a very important part of who I am as a member of the society and as a person concerned about the problems of the world, of course.
- 6:06And I'm also very sad to see it go that way.
- 6:09I have a story of working in the space industry as well.
- 6:13So I know how the new boss of Twitter operates, perhaps better than other people.
- 6:20At the same time, I'm very hopeful for the future of not only Masterdom, but the whole Fediverse.
- 6:26Because in a way, it seems like the very first time that we're trying this idea for a massive audience, not just like seemingly small number of people very concerned with free and libre software and so on.
- 6:41But we are experimenting with how this looks like for many more users than we could imagine two weeks ago and probably much larger audiences than what we can moderate as well.
- 6:55Yeah.
- 6:55And two weeks from now, it's going to be crazy different than now as well.
- 6:59There's so much action that people are going to find out, I think.
- 7:02Yeah.
- 7:02So you're in an interesting situation where as your job as an advocate, dev advocate, you've got to be on social.
- 7:08You don't get to choose.
- 7:09And so you've got to go where people are and where the action is.
- 7:12Yeah.
- 7:13It's a whole conversation, like whether advocates should be on social media or if it's a requirement or not.
- 7:18But yeah, staying where the community is, is part of the job.
- 7:23Yeah.
- 7:23And you've also been on Mastodon.
- 7:25You're one of the old timers, the old guard, as they say over there.
- 7:30So that's excellent.
- 7:31Been like a year and a half.
- 7:33So I wouldn't consider myself old timer, but I've been concerned for about the Fed.
- 7:38Fediverse and alternative social media stuff for a very long time.
- 7:42Awesome.
- 7:43I can count how long I've been on the Fediverse on my fingers in days.
- 7:47So excellent.
- 7:48Simon, welcome.
- 7:50Sure.
- 7:50So hi, I'm Simon.
- 7:51I'm a full-time open source developer in Half Moon Bay, California, working on data set tools for data journalists and others to share and publish data.
- 8:00But I've been on Twitter for 16 years, it turns out.
- 8:03I signed up in November 2006.
- 8:04I'm user number 12,497.
- 8:08Because back then, Twitter had incremental IDs for their users, so I can tell you exactly where I was.
- 8:13And actually, I ran a startup built on top of the Twitter APIs for three years, which was then acquired by Eventbrite and moved us out to California.
- 8:22So Twitter is responsible for a major piece of my career at this point.
- 8:27And yeah, I had ignored the Fediverse entirely for five years because I understood the usability challenges around being decentralized and so forth.
- 8:38I'm like, you know what, Twitter works fine and it's a public company.
- 8:40What could go wrong?
- 8:41It turns out what can go wrong is the world's richest man can buy the company in a fit of narcissistic whimsy and everything falls apart.
- 8:50So right now, I'm trying to find the alternative to Twitter, which cannot be bought by the world's richest man or bought by anyone else.
- 8:56And Master's on appears to be in exactly the right state and exactly the right point in its development for this crazy moment in time right now.
- 9:05I was staying there.
- 9:07Like I said, I have this sort of, I'm going to kind of be Mastodon first.
- 9:10I'm certainly not deleting my account.
- 9:11So staying is, I guess I'm still in a sense staying.
- 9:13But I was mostly focused there because my people were there.
- 9:17But as over the last week or so, what I've come to realize is, wow, Mastodon is way more in tune with open source, free software, unaffiliated tech organizations than any of the corporate big tech sites are in a very interesting way.
- 9:36Yeah. It's the growth of Mastodon in the past week has just been astonishing.
- 9:41Like it's hockey sticking and it's all people I like.
- 9:44I'm finding people on Mastodon who I didn't know who are great.
- 9:47I'm finding people on Twitter.
- 9:52I'm finding people on Mastodon.
- 9:53I'm finding people on Mastodon.
- 9:53I'm finding people on Mastodon.
- 9:53I'm finding people on Mastodon.
- 9:53I'm finding people on Mastodon.
- 9:53I'm finding people on Mastodon.
- 9:53I'm finding people on Mastodon.
- 9:54I'm finding people on Mastodon.
- 9:55I'm finding people on Mastodon.
- 9:56I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:57I'm finding people on Mastodon.
- 9:58I'm finding people on Mastodon.
- 9:59I'm finding people on Mastodon.
- 10:00I'm finding people on Mastodon.
- 10:01I'm finding people on Mastodon.
- 10:02I'm finding people on Mastodon.
- 10:03I'm finding people on Mastodon.
- 10:04I'm finding people on Mastodon.
- 10:05I'm finding people on Mastodon.
- 10:06I'm finding people on Mastodon.
- 10:07I'm finding people on Mastodon.
- 10:08I'm finding people on Mastodon.
- 10:09I'm finding people on Mastodon.
- 10:10I'm finding people on Mastodon.
- 10:11I'm finding people on Mastodon.
- 10:12I'm finding people on Mastodon.
- 10:13I'm finding people on Mastodon.
- 10:14I'm finding people on Mastodon.
- 10:15I'm finding people on Mastodon.
- 10:16I'm finding people on Mastodon.
- 10:17I'm finding people on Mastodon.
- 10:18I'm finding people on Mastodon.
- 10:19I'm finding people on Mastodon.
- 10:20I'm finding people on Mastodon.
- 10:21I'm finding people on Mastodon.
- 10:22I'm finding people on Mastodon.
- 10:23I'm finding people on Mastodon.
- 10:24I'm finding people on Mastodon.
- 10:25I'm finding people on Mastodon.
- 10:26I'm finding people on Mastodon.
- 10:27I'm finding people on Mastodon.
- 10:28I'm finding people on Mastodon.
- 10:29I'm finding people on Mastodon.
- 10:30I'm finding people on Mastodon.
- 10:31I'm finding people on Mastodon.
- 10:32I'm finding people on Mastodon.
- 10:33I'm finding people on Mastodon.
- 10:34I've had a bunch of filmmakers and journalists.
- 10:38Screenwriters are showing up.
- 10:40Yes, it's amazing.
- 10:41It's really, really great.
- 10:42Let's see.
- 10:43Real quick question.
- 10:44This one goes to Juan first.
- 10:46David, an audience.
- 10:47So you weren't concerned with Twitter previously,
- 10:49only when Elon took over?
- 10:51Or I guess it's more of a group question.
- 10:53Yeah, David said it was kind of directed to me,
- 10:55but I will others say their opinion.
- 10:58Yeah, kind of what Simon said already.
- 11:00I was also concerned about the idea of a whole entity,
- 11:05a whole media site being bought by a single person,
- 11:11which might happen, I don't know, for Facebook,
- 11:14it's already bought by a single person, right?
- 11:17In a sense.
- 11:18But it might happen to your favorite social network at any day.
- 11:21And the fact that now the Fediverse is gaining traction,
- 11:26it's distributed, puts some barriers to that.
- 11:29But apart from that, like Twitter has, in a sense,
- 11:32been a victim of its own success in the sense that the algorithm,
- 11:36the famous algorithm that puts more famous tweets up front
- 11:42or things that you might engage with and so forth.
- 11:45In the end, it ends up favoring maybe things that make you angry
- 11:49because the algorithm knows that you're going to engage with.
- 11:52Oh, they really respond well to this one here.
- 11:55Where the one about Nazis is so popular.
- 11:58Let's share that.
- 11:59Or Python versus Ruby.
- 12:01I don't know.
- 12:02Like all sorts of things making you angry.
- 12:04But, or maybe just silly memes that happen to be fun to watch,
- 12:09but I don't know, like making you lose some neurons.
- 12:12So I think like my quality of life improved a lot when I switched to the chronological timeline.
- 12:19So when I disabled the algorithm, but I had to put lots of measures like a browser extension
- 12:25that hides the trending topics and blocking people like there's no tomorrow.
- 12:30I don't know, like I had to develop my own habits to make Twitter sustainable for me.
- 12:36And Elon Musk buying it was just the icing in the cake.
- 12:40So it pretty much went the same for me, I gotta say.
- 12:43So I started taking extended Twitter breaks, especially over the weekends when the pandemic started.
- 12:50And then even more so when the war started.
- 12:53And just because of all this negativity that got, that constantly got flooded into your timeline.
- 12:58And I already was on the chronological one and it still got flooded into there because obviously people who weren't in the,
- 13:05on the chronological one, got it, got it via the algorithm.
- 13:08Then they, I was about to say boosted it.
- 13:10Now they retweeted it.
- 13:12And that way then it ended up in mine.
- 13:15And I had to mute so many people.
- 13:17I had to add so many filters to my, to my experience and all of that.
- 13:22I mean, in the end I got a very filtered and very tame version of Twitter, but it was still way before that guy bought it.
- 13:30It was way before that already, just another sink of my energy actually.
- 13:36And, and with Mastodon, I never so far have had, I've been very active on there ever since the first, Hey, I'm going to buy Twitter thing.
- 13:43A broad, yeah, happened.
- 13:46I think April or so this year.
- 13:48And it was just like a completely, utterly different kind of experience.
- 13:54Like I met a number of people that I would never have found on Twitter who I now interact with a lot because they are just genuinely interesting and do very, very amazing stuff.
- 14:05And, there are capybaras and squirrels in my timeline way more than there were before on Twitter.
- 14:11So I enjoy that stuff.
- 14:12And there is still the bad things and still the serious stuff and still the news, but they are tamed.
- 14:20They are not amplified to a thousand and that is really, there's not an algorithm boosting it even more.
- 14:25Yeah.
- 14:26This portion of talk Python is brought to you by the AWS insiders podcast.
- 14:32When was the last time you ordered a physical server to host your functions as a service, your latest API or your most recent web app?
- 14:40I remember the last time I did that was around the year 2001.
- 14:44And yes, it was quite the odyssey.
- 14:46Of course we don't do that anymore.
- 14:48We run our code in the cloud with near instant provisioning and unparalleled data centers.
- 14:54And the most popular cloud provider is AWS.
- 14:57But for all the ways that AWS has made our lives easier, it has also opened a massive box of choices.
- 15:04Should you choose platform as a service, or maybe it's still VMs with IaaS.
- 15:08What about your database?
- 15:10Maybe you should choose a managed service like RDS with Postgres or is DynamoDB better?
- 15:15Maybe Aurora?
- 15:16Maybe Aurora?
- 15:17No, wait.
- 15:18I hear good things about Amazon DocumentDB too.
- 15:20And that's where the AWS insider podcast comes in.
- 15:24This podcast helps technology leaders stay ahead of Amazon's constant pace of change and innovation.
- 15:29Some relevant recent episodes include Storage Wars: Database Edition,
- 15:34Microservices or Macro Disaster, and Exploring Computer Vision at the Edge with AWS Panorama.
- 15:41They bring on guests to debate the options and the episodes are vibrant and fun.
- 15:46So if you want to have fun and make sense of AWS, head on over to talkpython.fm/awsinsiders.
- 15:53Yes, I know you probably already have a podcast player and you can just search for it there, but please use the link so that they know you came from us.
- 16:01Thank you to the AWS Insider podcast for keeping this podcast going strong.
- 16:09I'm going to say something controversial.
- 16:10I love the algorithm.
- 16:11The thing I miss most from Twitter on Amazon is that I don't have the algorithm because the reason I love the algorithm is I realized that it gave me the freedom to follow a lot of people.
- 16:19I'm following four or 5,000 people on Twitter and the only way you can do that is you make sure you don't even pretend you're going to read everything and you trust that the algorithm will boost up a mixture of interesting things so that you can.
- 16:32And so whenever somebody says anything interesting at all on Twitter, I'll follow them and then I'll hope that future things they say that resonate will bubble up.
- 16:39And for the most part, that works really well for me.
- 16:42But it really it came down to the fact that I trusted the sort of core concept of Twitter, right?
- 16:47I trusted that there were enough people at Twitter who understood why it works and what's important about it that even while they play with NFT avatars and fleets or whatever they call them, all of that kind of stuff, the fundamentals were solid.
- 17:00And the reason I, the thing that made me lose faith was when Elon a week in fired half the company, like all of the people I know at Twitter who understood what Twitter was, they're gone.
- 17:09You know, he's, he's, he's completely, he's, he's, he's gutted that sort of institutional launch of what this thing is.
- 17:16And then his first big change that ludicrous selling verified checkmats rate dollars exhibited a complete failure to understand what this thing was and how this thing works.
- 17:25And at that point I lost all faith.
- 17:27I'm like, no, this, this thing I've trusted for 16 years to keep on working in a way that is useful.
- 17:32And that means that I can follow my 4,000 people in weird different spaces.
- 17:36That's not going to hold.
- 17:37It's not going to work anymore.
- 17:38And, that was it.
- 17:39That was the point at which I switched my energies to mastermind and found that most of the stuff that I loved on Twitter was, was happening that in a much more pure, non-commercialized format.
- 17:49Like the commercial models are super worth, worth talking about.
- 17:52But yeah.
- 17:52So, so my, my biggest mastermind project when I plan is I want to build myself an algorithmic timeline.
- 17:57That's just for me.
- 17:58And it means that it essentially takes everything from people I'm following and randomizes them a bit and looks at things that I might not have seen recently.
- 18:05It just tries to give me a little bit of that magic back.
- 18:08I kind of like that a lot.
- 18:09You're going to open source that, right?
- 18:11Oh yeah.
- 18:12I hope so.
- 18:13It's going to be a mess.
- 18:14SQL queries.
- 18:15It'll be lovely.
- 18:16Yeah.
- 18:17Yeah.
- 18:18I'm sure.
- 18:19I'll run on SQLite.
- 18:20It'll be amazing.
- 18:21Oh yeah.
- 18:22You know, I have to say I kind of took Simon's approach.
- 18:23I didn't use any tools when I was using Twitter.
- 18:26It was whatever came up in my feed.
- 18:27It was the news of the day.
- 18:29And what was great is, you know, I would see what Simon was up to and somebody else's cool bird pictures and whatever was going on in science.
- 18:38And, and so I had a very casual relationship with it, but it was something I looked at, you know, a couple of times a day and, you know, really learned a lot from.
- 18:48And so there was also the other side of Twitter, which is you get a community of people together where there's some anonymity and from like a core Python development standpoint and things where there was controversy, maybe within, you know, technical decisions that the language was making.
- 19:06Twitter could be a really yucky place, yuckier than mailing list and Slack and, and IRC.
- 19:14Does anybody still use that?
- 19:16Probably, you know, but all of the other channels that we also follow.
- 19:21And I guess, you know, what I was seeing was more and more of my friends going to Mastodon and the people that I respect and like their opinions on.
- 19:31And I was like, you know, I've never been happy with the moderation side of Twitter.
- 19:36So let's see, let's see how this goes.
- 19:39But, you know, I'm like Michael, very new.
- 19:42I count on my two hands, like how many days I've been part of Mastodon.
- 19:45But so far I'm, I'm super, super happy with it.
- 19:48So.
- 19:49I'm as well.
- 19:50And I was glad to see you show up over there.
- 19:51That was great.
- 19:52Cool.
- 19:53This whole conversation is going to be part sort of the culture of tech communities, but also part technical as well.
- 20:00And I think understanding how Mastodon fits well with open source and those types of communities has a bit to do with understanding how it's deployed, how it connects together, how it works.
- 20:11Who wants to talk about what the fediverse is and how do you create an account?
- 20:15Like, why are there so many weird different places I can go create an account?
- 20:18Like what, what is this new world?
- 20:19Why is it not mastodon.com?
- 20:21And I just go in and create my account.
- 20:22And it's like the new Twitter.
- 20:24In a way, Mastodon is a bit like email, right?
- 20:27Yes.
- 20:28Like, you have, you have a, you have an open, more or less well-defined protocol.
- 20:33That is actually a W3C standard called activity pub and activity streams.
- 20:39In email, we have SMTP and IMAP and stuff.
- 20:43And you have servers on the internet that speak that protocol.
- 20:46Those are mastodon.social, fosterdon.org, chaos.social, and anything that you want to set up on Masterhost and whatever.
- 20:55And the thing now is that just the same way that if you write an email from your Gmail account to someone who has their email hosted at Fastmail or on their own domain, you can also do that with Mastodon because you can write a toot.
- 21:10And we call these toots and not tweets to, to someone.
- 21:14So I can, I can toot to Mike.
- 21:16Mike is on fosterdon.
- 21:17I am on chaos.social.
- 21:18That works just fine because there is a common protocol shared that both servers speak.
- 21:23There is even in the activity pub spec, a concept of an inbox and an outbox.
- 21:27So it is very email-like in that regard.
- 21:30And that just works.
- 21:32And that doesn't just work for a micro blogging service like Twitter or in this case, Mastodon, because when we talk about Mastodon, we also have to talk about the fatty wars.
- 21:42And Mastodon is just a part of the fatty wars because there is other stuff.
- 21:48There is an Instagram alternative called Pixel Fed.
- 21:51Same thing, open source software you can install on your server and then put your pictures on there and share them across to other Pixel Fed or even to other Mastodon instances because it's the same protocol.
- 22:02There is stuff like a YouTube alternative called PeerTube.
- 22:11Same protocol, again, cross-compatible, can talk to each other.
- 22:13We have Bookworm that is a bit like Goodreads.
- 22:15By the way, Witten and Python.
- 22:16Very interesting to look into the source if you want to get an idea how to implement activity pub.
- 22:21And yeah, there's a ton of other stuff too.
- 22:25So currently Mastodon is very big in focus because of this Twitter alternative thing.
- 22:30But when you start looking into this whole fatty wars and this whole thing that powers Mastodon and how Mastodon works, then you realize, hey, there is a big, big world there beyond just sending toots and talking about squirrels.
- 22:43And it's crazy how these different alternatives can communicate together because have you seen when people share a tweet that contains a screenshot of an Instagram post that it's itself like a screenshot of something they saw on TikTok?
- 22:55So it turns out that you can communicate through all these alternatives with the same protocol.
- 23:02It feels surreal that you can, from Twitter, so to speak, follow an Instagram account and get their pictures on Twitter.
- 23:10It's like nothing we've ever dreamed of.
- 23:13And it's currently possible with the technology.
- 23:15Of course, it has like quirks and whatnot.
- 23:18But in a sense, it's like prohibiting world gardens for good and just interacting with any sort of social media with a unified protocol.
- 23:29Yeah, there's nobody who controls whether you have a blog or not on the internet.
- 23:32Not really.
- 23:33I want to try to say exactly.
- 23:35Mastodon here where I think the fact that this works as well as it does is a miracle.
- 23:40It is absolutely phenomenal.
- 23:42Like people have put, Mastodon itself is six years old.
- 23:45The activity pub standards are even older than that.
- 23:47A huge number of incredibly hardworking, incredibly smart people have sweated over this stuff for years and years and years.
- 23:53And I feel like that we're getting one of those overnight success moments right now where overnight successes are always like five years in the making.
- 23:59You know that two weeks ago, we all started leaping onto this thing and it hasn't sunk.
- 24:05Like the fact that it's actually managing to scale up with this amount of activity with a few glitches and some things are a little bit slow occasionally.
- 24:13No, I think this is an absolute miracle of software engineering.
- 24:16I could not be more impressed by what these people have built for us.
- 24:20This thing that we're diving on right now.
- 24:22It's just, it's just, but this is an incredibly difficult technical problem, incredibly difficult social problem.
- 24:28The design problem, like designing community software is extremely hard and they've put, they've done such a great job of this.
- 24:35And so you see people sort of complaining about little details and things and they say, no, come on.
- 24:39Like we, we all just got here and I cannot believe what an amazingly rich and vibrant world they have created and something that technically works so well.
- 24:48And I'm just astonished by it.
- 24:49Yeah.
- 24:50I love that perspective.
- 24:51And I totally agree with you.
- 24:52It should also maybe be added that some of the things that people complain about missing are actually intentional stuff, intentionally left out.
- 25:00So for example, a lot of people come on Mastodon for the first time.
- 25:04And the first thing that they miss is where's the quote feature.
- 25:07Why can I not quote this, this truth and, and set my, my opinion on top.
- 25:11And that is intentional because the idea is that on Mastodon, you should not talk about people.
- 25:16You should talk with people.
- 25:18So comment on that thing, interact with the thing.
- 25:21You are free to just boost.
- 25:22So retweet your, your, your, your response.
- 25:25So that's, that it gets more, more widespread visibility maybe.
- 25:30But the first thing that you should do is interact with the person who wrote something that you want to discuss or want to add to instead of just trying to be like, Hey, look what I found.
- 25:41And all of this is now about me.
- 25:43And the other thing is that people miss a search.
- 25:45And I can totally understand that because the only thing that you can currently search is your local instance and maybe the federated timeline.
- 25:51And that is also intentional because the idea is that if you are on Twitter and you are a very, very bad person who wants to target a marginalized group, then you enter some keywords and you add those keywords as a safe search.
- 26:04And then you constantly and constantly and constantly just abuse the people who pop up with this keyword search.
- 26:12And you cannot do that on Mastodon.
- 26:13It's simply, that is not possible.
- 26:14It goes a long way to humanizing and rehumanizing the tools that we work with.
- 26:21Because it does give you this sense of, hey, I'm not going to be as targeted for something I say or do that is just part of my normal open source everyday world.
- 26:35But like Simon said, I mean, I think, you know, you've got these brilliant people coming together out in the open to manage a service that I have much more questions whether or not Twitter is going to fall over in the next month than I do next month.
- 26:51I mean, just, you know, and I guess some of that's the experience that I had with, you know, the federated version of my binder dot org and how we went from a small group of people, you know, hosting notebooks for free for the academic world and, you know, federated it out to other institutions to handle the capacity.
- 27:11And it's worked out really well over the last few years.
- 27:14So, you know, I give a lot of credit to the folks that have been working hard for the last several years on Mastodon.
- 27:22I feel like we should talk about the business model because Twitter, it's ads and selling your data and all sorts of stuff.
- 27:29The thing I love about one of the things I love about Mastodon, the business model is just so open.
- 27:33It's like there are volunteers who are doing this stuff.
- 27:35They are volunteers.
- 27:36They are spending their time moderating.
- 27:37They're spending their money running instances.
- 27:39You should support them.
- 27:40Obviously, you should, right?
- 27:41There's no ad.
- 27:42You can't use the thing for free and expect it to be paid for because then there are ads.
- 27:46There are no ads or anything.
- 27:47And I feel like Elon has set us the price, right?
- 27:50The price is $8 a month, right?
- 27:52That's what he wants us to pay on Twitter.
- 27:54If everyone who's using Mastodon and can afford to do so puts an $8 a month towards their local server they're running on, it's going to be fine.
- 28:02It's just going to work.
- 28:03And we should all be committed to doing that, I think.
- 28:05I absolutely do.
- 28:06Let's talk about the instances because I think the cultural aspect of the norms, especially that Carol was talking about, are really important here.
- 28:14And that also has a bit to do with the deployment.
- 28:16Now let me track down.
- 28:17There's an interesting place to begin finding an instance.
- 28:22There's how many instances are there now?
- 28:244,000?
- 28:25Something like that.
- 28:26These are basically hosts for little communities, little islands of Mastodon.
- 28:32And there's this place called instances.social.
- 28:35And you can say, well, I want to, what language do I want to speak?
- 28:37Do I care how many people are there?
- 28:39Because you might want a small community or a large.
- 28:41And you can say about what you, you know, the type of content that you would like to be blocked.
- 28:46And then you could go search.
- 28:47I'm interested in open source.
- 28:49And what do you get?
- 28:50You get all these different, you know, Faucet on, for example, NixNet and so on.
- 28:54The one that I think is pretty interesting that I just recently learned about is Hackerdom.
- 29:00You know, Carol, I know that you're on there, right?
- 29:02Absolutely.
- 29:03And they have a great, you know, Nova, very seasoned open source contributor who's done tons of work in Kubernetes and other communities.
- 29:13And they have a really open model.
- 29:15It's on GitHub.
- 29:16You know exactly what they're doing in terms of the community standards.
- 29:21And, you know, I started seeing friends of mine go there and I was like, hey, they're doing it right from the start.
- 29:29And I think that's something that to me is really important.
- 29:34Like, hey, I know this is going to be about as safe an open space that one can get.
- 29:39Easy to know how to contribute back to them financially, in code, whatever.
- 29:45And, you know, you know what the rules are and the direction is.
- 29:49And, you know, I couldn't be more happy to be part of that.
- 29:52My favorite thing about this server, you can see it on Twitch.
- 29:56So Chris Nova streams on Twitch and in the background is a rack lit up.
- 30:01And that rack is Hackyderm.
- 30:03Hackyderm sits in the basement.
- 30:05It's got a fiber optic cable plug coming into it.
- 30:07It's a real thing, right?
- 30:09It's really exciting.
- 30:10You can touch it.
- 30:11Yeah.
- 30:12It's not in the cloud.
- 30:13It's in the ground, actually.
- 30:14It's in the basement.
- 30:16This portion of Talk Python To Me is brought to you by Microsoft for Startups Founders Hub.
- 30:25Starting a business is hard.
- 30:27By some estimates, over 90% of startups will go out of business in just their first year.
- 30:32With that in mind, Microsoft for Startups set out to understand what startups need to be successful and to create a digital platform to help them overcome those challenges.
- 30:41Microsoft for Startups Founders Hub was born.
- 30:44Founders Hub provides all founders at any stage with free resources to solve their startup challenges.
- 30:51The platform provides technology benefits, access to expert guidance and skilled resources, mentorship and networking connections, and much more.
- 31:00Unlike others in the industry, Microsoft for Startups Founders Hub doesn't require startups to be investor backed or third party validated to participate.
- 31:09Founders Hub is truly open to all.
- 31:12So what do you get if you join them?
- 31:13You speed up your development with free access to GitHub and Microsoft cloud computing resources and the ability to unlock more credits over time.
- 31:21To help your startup innovate, Founders Hub is partnering with innovative companies like OpenAI, a global leader in AI research and development, to provide exclusive benefits and discounts.
- 31:31Through Microsoft for Startups Founders Hub, becoming a founder is no longer about who you know.
- 31:36You'll have access to their mentorship network, giving you a pool of hundreds of mentors across a range of disciplines and areas like idea validation, fundraising, management and coaching, sales and marketing, as well as specific technical stress points.
- 31:50You'll be able to book a one on one meeting with the mentors, many of whom are former founders themselves.
- 31:55Make your idea a reality today with a critical support you'll get from Founders Hub.
- 32:00To join the program, just visit talkpython.fm/foundershub, all one word, the links in your show notes.
- 32:06Thank you to Microsoft for supporting the show.
- 32:08Yeah.
- 32:09So when you come to these different instances, you can use instance.social to search and then they each have, you know, this one, there's 6000 active participants.
- 32:18However many users and it has a mission statement.
- 32:21And that matters because they can control who can be on that instance.
- 32:26If you don't like it, go somewhere else.
- 32:28When you have conversations, there's a way to say, I want to see the conversations instead of happening on all of Mastodon.
- 32:33I just want it on the people who belong on this small group, no matter how many others there are.
- 32:38I think it's really neat.
- 32:40It's tricky, though.
- 32:41Like this is, I think the biggest barrier to joining Mastodon is that on the moment you join, you have to make that decision.
- 32:47And it's a really difficult decision to make if you don't know your way around, you know.
- 32:52And it's like, I couldn't make the decision.
- 32:54I ended up running my own instance.
- 32:56I'm paying a company for me because I didn't want to have to choose.
- 33:00I'm like, no, I'm interested in everything.
- 33:01And I want to align myself with the free software people or these people.
- 33:04I'm paralyzed by indecision.
- 33:07So, yeah.
- 33:08So I ended up running my own server.
- 33:09It's cool that you can do that.
- 33:11But it is, I feel like when you're trying to encourage people to Mastodon, it is, this is the thing people need the most help with is this particular process.
- 33:18Because you're going in with no idea what makes a good server, but you have to pick before you can even start engaging with it.
- 33:24Yeah, it is tricky.
- 33:25Harley out in the audience says, could someone invite me to the one where the Python peeps are on?
- 33:30Yeah, it's not, I'm not so sure you can get an invite, but you know, Fosstodon, the free and open source software, hackerdom.
- 33:37I think there's five of us in this call and we have five different servers, right?
- 33:41Or almost.
- 33:42Perfect.
- 33:43Yes, I think.
- 33:44Yeah, that's right.
- 33:45We are.
- 33:46Yeah.
- 33:47I think we're all on five different servers.
- 33:48But we still talked and organized this through Mastodon, right?
- 33:50Exactly.
- 33:51Exactly.
- 33:52That's a huge proof that the system works.
- 33:54I, in fact, I started on Fosstodon because it was, I don't know, more aligned with my interests at the time.
- 34:00But Fosstodon has a moderation policy at the moment that they don't allow non-English posts.
- 34:06And sometimes I just want to toot in Spanish.
- 34:10And so, yeah, I went on and created my own instance.
- 34:13And now I'm like spreading my content everywhere in any language I like.
- 34:18But I think the moderation challenge is quite interesting.
- 34:21And I'm looking forward to someone to set up like a graph of people in a sense like, okay, you can invite someone.
- 34:28But if that someone does something nasty, then I'm going to ban them.
- 34:31And I'm going to ban you as a result.
- 34:33Gotcha.
- 34:34And those things.
- 34:35Someone to keep track of the social structure of the network so that there's mutual accountability.
- 34:40I think that would be a super interesting watch.
- 34:42Yeah.
- 34:43And these instances can ban other instances.
- 34:45Like, for example, I haven't looked at Hackadom, but I know that Fosstodon is banning certain other instances for various reasons, because it's spam or there's people who've done things that are unwelcome.
- 34:57So it's not just one person is banned, but like this whole community.
- 35:00We just don't want them to be part of it.
- 35:01Yeah.
- 35:02I'm not sure if that says, it doesn't say there.
- 35:04Yeah.
- 35:05This one found racism and questionable other badness.
- 35:08Violation, violation, racism.
- 35:10One of these I saw just said Nazis.
- 35:12Like, okay, that's clear.
- 35:13Like, okay, that's clear.
- 35:14Obviously.
- 35:15We don't want that.
- 35:16And then limited.
- 35:17Yeah.
- 35:17So I think this is really important, right?
- 35:19Like this is, this goes to choosing your home base, right?
- 35:23Because it's more than just what hosts your content.
- 35:26It hosts your norms and morals and stuff.
- 35:29Yeah.
- 35:30I think there's, it should be made easier for people to migrate to other instances because
- 35:34at the moment, for some technical reason, I don't know, you cannot migrate your posts.
- 35:38You can only like migrate your followers and stuff.
- 35:41So if people can just move around freely, it's not that much of a big issue.
- 35:45There's some nice articles about choosing your own instance.
- 35:48There's that, that app, I guess.
- 35:51One of the thing where we're kind of on the culture side, Simon, you talked about the value
- 35:55of the algorithm.
- 35:56And I agree with that, you know, acknowledging the filter bubble aspects of algorithms.
- 36:01There is some real value when you post messages here, because there's no algorithm, it becomes
- 36:07like tailing a log of a super busy website, just stuff screaming by.
- 36:11And it becomes really hard to just interact in the general stream of information.
- 36:15Masadon has ways to say like you reply, but it's not really a public reply.
- 36:19It's sort of a semi, people can discover it, but it's not announced.
- 36:23And I asked people, what is the right way in which to, you know, what's the default way
- 36:28to reply to somebody?
- 36:29And most people said, I'll just hit reply in public.
- 36:31And to me, that seems, that seems like it's going to kind of overwhelm the system.
- 36:35If every conversation.
- 36:36I believe replies in public will only get delivered to people who follow both you and the person
- 36:41you're replying to though.
- 36:42I think that's how that works.
- 36:44Okay.
- 36:45So I don't know.
- 36:46Am I wrong about that?
- 36:47I think public goes into the public outbox of the, of the local timeline as a local server
- 36:53as well.
- 36:54And so it also ends up on federated servers.
- 36:57So, the general recommendation is for example, for bot accounts to, to always set them to, to
- 37:04unlisted.
- 37:05So they don't spam timelines, but can still be found, naturally, through hashtag
- 37:12searches, for example, which by the way, I think contrary to, to full text searches
- 37:16unlisted is the thing where, it still pops up in your followers timelines automatically, but
- 37:22it doesn't pop up in the public timeline on your instance on the local one.
- 37:26So maybe we should say we have a local one, which is just the stuff on your server.
- 37:30And then we have the federated timeline, which is the stuff on your server plus anything and
- 37:35anyone that interacts with people on your server.
- 37:39So that is a bit complicated and I have not fully understood yet what exactly goes in there, but,
- 37:45right.
- 37:46That is the, that is the two things.
- 37:48I thought federated was anyone who's followed by at least one of the users on your server, but it's
- 37:53not because on my personal server, that's just me stuff shows up in federated.
- 37:58That's not from people I'm following.
- 37:59There's no one else in my service.
- 38:00So yeah, it's, it's complicated.
- 38:02I think if you follow me and I boost someone else or, or, or like a post from someone else,
- 38:09that is maybe a better example.
- 38:10If I'm like, if you interact with it in any way, yeah.
- 38:13I interact with that.
- 38:14And that also means it will show up on your server, even though you are only following me.
- 38:18Okay.
- 38:19Okay.
- 38:20I think it was like, I read into the activity spec, but yeah.
- 38:23The fact that we need to analyze it so much and we still don't fully understand it.
- 38:27For me, it's a UX problem.
- 38:29I don't know if it can solve it, if it can be solved by the technology, but no doubt it's
- 38:35a problem and no amount of per stack fairy tips is going to, fix a UX problem.
- 38:41Like there, there has to be someone working on it.
- 38:43I think sensible defaults would be nice.
- 38:45Yeah.
- 38:46I set my default visibility to unlist it and I have to opt into public on my world.
- 38:50So, speaking of changes that might be coming in a UX thing.
- 38:53So I did want to point to that Mastodon itself is open source.
- 38:58Obviously Juan and Simon running your own.
- 39:00You're probably deeply familiar with this code over here.
- 39:03And they're, they just announced that they are about to release version 4.0.
- 39:08I, I don't know what great features that's going to include, but hopefully some of these
- 39:12things get a little bit ironed out as well.
- 39:14I don't know if you'll have any visibility into that.
- 39:16so it's a, it's a very active open source project.
- 39:19You can see it's got 2.6,000 issues.
- 39:21There's a lot of, and it's, it, it's been well-made.
- 39:24It's got people working on it full time or at least one person working on it full time,
- 39:29which, and again, they'd be amount of, the amount of impact they're having from a
- 39:34very tiny sort of team of contributors is, is truly extraordinary, but it does seem to be
- 39:38something where you can get like very actively involved with it.
- 39:42there are also lots of interesting alternative versions out there.
- 39:45Andrew Godwin is spent last two days,
- 39:48picking together his own custom Mastodon on Django thing, which I'm really excited about
- 39:53because, his signature feature is going to be, that it'll be easier to point custom
- 39:57domains to it.
- 39:58Right now you have to run a separate Mastodon for every custom domain that you want,
- 40:02which is very inefficient.
- 40:04This way you'll be able to run one of Andrew's things and have your, your, all of your friends
- 40:07with their own custom domains can still share the same instance.
- 40:10but yeah, the, I also get, get a feeling from looking at it that there are inefficiencies
- 40:15in the way that it works, which are basically because it hasn't needed to scale that much before
- 40:20now, you know, the way it distributes posts using sidekick queues and Ruby requests worked fine.
- 40:26Two weeks ago, suddenly that's beginning to strain at the edges, but it means that if you want to help
- 40:31make this stuff more efficient, there are, this is a great time to be getting involved in helping fix
- 40:35some of the UI things and improve some performance.
- 40:38And there's, there's just so much work to be done and so many available people to help do that.
- 40:42So I'm expecting some very healthy activity around all of these different open source projects
- 40:47to be coming up pretty soon.
- 40:48I was going to say, because we're pulling in a bunch of different groups of people, I think the likelihood
- 40:54of getting more folks that are really into user experience and UI and, and, you know, how to run
- 41:01asynchronously things, you know, more efficiently.
- 41:04You wind up with these expertise coming into the ecosystem, which I think is, is going, going to continue
- 41:11to kind of energize it.
- 41:12At least that's my hope.
- 41:13Well, we've got really good bones to build on.
- 41:16Like all of the decisions made so far are very, like it's a very high quality product.
- 41:21It's a very high quality code base.
- 41:23It's not like it needs fixing.
- 41:24No, not at all.
- 41:25It will definitely benefit from, from more people able to help it take on these newer challenges that are emerging
- 41:30just as the entire world leads on it in one go.
- 41:32Yeah.
- 41:33And I think it's sort of that you plug in user experience kind of side of things where you're going to see the real growth.
- 41:39And about the new things in Maslow 4.0, actually, if you go to the release notes of 4.0 release candidate one,
- 41:46you can see that there's lots of new features that got added things to some funds from the European commission.
- 41:51And then they're working on things like being able to translate posts or having like more granular control on roles inside servers
- 42:00so that bigger instances can have any moderation roles that they want.
- 42:06And I don't know, like there's lots of exciting stuff coming for Maslow in particular.
- 42:12And I'm sure like it's going to affect the whole Fediverse as a whole.
- 42:18A lot of new technologies being brought in here.
- 42:20Like, no, this little, this little scheduled background worker thing.
- 42:23We should maybe choose a different technology to make it go fast.
- 42:26Simon, you mentioned Andrew Godwin's.
- 42:28Takahe, I think. Yeah.
- 42:31In which language is this, this word written?
- 42:33Is there any explanation of that? I'm curious.
- 42:35I don't. I was, I was guessing Hawaii, but I don't know.
- 42:39It seems like that to me too, but I don't know either actually. Yeah.
- 42:41I don't know. I mean, to me, the bird evokes like fanning out their wings and what, you know, the distributed nature where he talks about.
- 42:50It's a New Zealand bird. It's the sapo.
- 42:52New Zealand.
- 42:53Yeah.
- 42:53New Zealand.
- 42:54Lightless hen.
- 42:55Lightless hen.
- 42:56Yes. I love New Zealand flightless birds.
- 42:59Generally. I might have to call mine.
- 43:00I do.
- 43:01I do a mastermind implementation just to keep Andrew's name convention going.
- 43:05But yeah, I'm developing this entirely in the open.
- 43:08I I'm finding this useful because I may have plans to do build my own code around this.
- 43:13I'm going to steal his implementation of like the site, the H to be signing and all of the difficult bits that he's figuring out.
- 43:19That's it's it's it's this, this looks very exciting.
- 43:22Sure does.
- 43:23The signing is actually fairly, fairly simple.
- 43:25The problem is how do you address anything that you're supposed to send out?
- 43:30Oh, I yeah, I have a little pet project brewing now since the start of this year or rather like the end of the last one.
- 43:37And that is activity park focus.
- 43:39So I was also working on that stuff a bit in the background.
- 43:43And it is a lot to take in, but it is fairly clever.
- 43:48All in all.
- 43:49The, if you want to see how the stuff works.
- 43:51So I'm, I'm running my own instance.
- 43:53I'm playing masto dot host to do all of the work, which is great.
- 43:56Like I don't have to figure out the Docker containers and so forth.
- 43:59But, when you have an instance of your own, you get access to the admin panel.
- 44:03And one of the things in there is the sidekick queue and view, which shows you what's been queued up to go out.
- 44:09And it turns out anytime you send a toot, it needs to be sent to every server that at least one of your followers is on.
- 44:16I've got like 5,000 followers who have spread across 580 servers.
- 44:20So if I toot that's 580 deliveries that need to be made, which is on the one hand, that sounds like a pretty giant and intimidating amount of traffic.
- 44:29and if you watch, if I, if I get into a conversation and send a bunch of toots, my queue can grow to like 10,000 items and take like 20 or 30 minutes for it to fully drain through.
- 44:38but I started thinking about it and thinking, you know what?
- 44:40If I load a webpage and open up the network pane, it makes a hundred requests, right?
- 44:45Pages are pretty inefficient these days.
- 44:47So actually sending 600 requests because I tooted by modern web standards, that's not really an enormous amount of traffic.
- 44:53And this is where I feel like there's some low hanging fruit here, just in terms of more efficient sending of these, of these, of these, requests that, but this is where Andrew built using Python asyncio, which feels to me like the right kind of technology to apply here.
- 45:07Yeah.
- 45:08But yeah, it's, it's, it's really interesting just having those little insights into, into what's going on under the hood.
- 45:12And there is, this is not, it's a lot more complicated than running a blog.
- 45:16You know, if you're hosting your own blog, there aren't that many moving parts.
- 45:19If you're hosting a master's on server or an activity server, there is a lot more activity that has to go on under the hood for all of this work.
- 45:25What on GitHub, right here on GitHub, it's a 66 requests to pull up a, a read me.
- 45:30So that we got, so, so something like that, right?
- 45:33One thing I want to talk about, if we go over to the various profiles and I'll pull up mine for just a sec.
- 45:39One of the things I guess, one of the things that's a little bit annoying here is if you search for yourself, you're going to find multiple ones of you.
- 45:47Look, there's three of me.
- 45:48And if I look for like jet brains there, there are many, none of these are real accounts.
- 45:53They're all, all fake.
- 45:54Right.
- 45:55And yet there's many Twitter barrels actually.
- 45:58Yeah, exactly.
- 45:59Yeah.
- 46:00If I search for Carol, oh, there's only one Carol.
- 46:02Amazing.
- 46:03So good.
- 46:04Yeah.
- 46:05Thanks for that.
- 46:06Thanks.
- 46:07No, it's great.
- 46:08I mean, look, there's four Simons.
- 46:10And, and so the reason I bring this up is you have to do a little bit of work, not to pay $8 to get a red, a blue verified sticker, but to establish your presence and show that you're a real person.
- 46:22So for example, on my profile, I have one well-known domain that's verified.
- 46:27And then it links over to like talk Python and Python bytes.
- 46:30And those are both, if I were to go to them, they also have, you know, verified by verified, not paying money, but go through the protocol or the conventions and talk about that.
- 46:40Like talk about this, this sort of creating a verified account here.
- 46:44So I think it's a very smart technique.
- 46:45It's very similar to how you verify a site on Google search.
- 46:49For example, you say, okay, so let's configure some DNS with a special record that only you know.
- 46:55And then when you do that, then Google knows that the site belongs to you.
- 46:59Right.
- 47:00And the way you go and do that here is that you go to these URLs that you control, and then you add a backlink pointing to your masterstone profile.
- 47:11And somehow the system does this update for you and those links appear as verified.
- 47:18And I think it's really interesting first that you don't need any technical special thing.
- 47:24You don't need any blockchain or anything like that for it to work.
- 47:27Like as long as you trust that talkpython.fm is by Michael Kennedy, then you can assume that the Postadon account is going to be properly verified.
- 47:37And at the same time, it sets a very good precedent for news outlets, for example, to create their own instance and say, look, we're going to verify our instance.
- 47:47And you know that anybody with an account here is either like a journalist of ours or it's us, our official voice and so forth.
- 47:55So it provides a way of doing this distributed, inexpensive verification.
- 48:00And I think that's really, really interesting.
- 48:02And there's no central authority that says, we hereby confer upon you this check mark, right?
- 48:08It's here's the evidence I present that I am me or that talkpython is talkpython or whatever.
- 48:14And that gets verified and people can decide how much they trust that.
- 48:17I just love this because it's such an elegant solution.
- 48:20And it's so funny with Twitter verification being this complete trash fire for the past two weeks.
- 48:26And it was bad.
- 48:27And now it's really bad.
- 48:28Yeah, right.
- 48:29And then on Mastodon, it's like, oh, no, you put a rel equals me link on your site back and you highlight the plane and that's done.
- 48:34And I think it's beautiful.
- 48:35I mean, it's a really clever.
- 48:37So there are some interesting tricks with it.
- 48:39So like I've got a GitHub account and GitHub will use rel equals me only on the about URL field on your profile.
- 48:48So and you only get one of those.
- 48:50So you can link back to your account from GitHub and get a verified thing.
- 48:53But then I wanted that to point at my regular site.
- 48:55So I edited it back again, which actually breaks because my server knows that I'm verified because it happened to check while that link was there.
- 49:02But then other people's servers don't show that verification because they all check independently as they should.
- 49:07Right. Nobody should trust my server about the verified links.
- 49:10They all need to do their own little verification step.
- 49:13Also, when you look at the activity queues, there's a whole lot of activity efforts just checking these verified links from each server to make sure that they're back.
- 49:22But I do think it's a beautifully simple and elegant way of solving this problem.
- 49:26And then of course, you can add like a blue check bar next to your name.
- 49:29Just to do the joke, right?
- 49:31Nobody prevents you from doing that.
- 49:33I actually did that.
- 49:34I'm very proud of it.
- 49:35There's a ton of people who have colon verified.
- 49:37I don't know if I could pull it up.
- 49:38But yeah, they're like this.
- 49:39Oh, yeah.
- 49:40That's server specific though.
- 49:45Oh, is that right?
- 49:46Emojis.
- 49:47Yeah.
- 49:48I think that doesn't work on mine.
- 49:50Or at least I haven't seen it on accounts online yet.
- 49:53But it's okay.
- 49:54Axe Wax out there says you can put it in the location field and get up as well.
- 49:58Do you have an example of that?
- 49:59That'd be great to see what you're talking about.
- 50:01I can pull up.
- 50:02I don't think you can put URLs in the YouTube chat.
- 50:04They will be filtered out.
- 50:06Yes, you're right.
- 50:07Of course, they will be filtered out.
- 50:08I was probably the geographical location field.
- 50:11Maybe on your user location field and GitHub, maybe.
- 50:15I just hope that GitHub will see the light about the importance of Mastodon verification
- 50:19and allow us to either add a Mastodon account there or just, you know, like more than one homepage link with an well equals me thing there.
- 50:29And I've poked them a bit, but so far, sadly nothing.
- 50:32But I'll keep poking them.
- 50:33There's an open issue about that or a conversation somewhere, right?
- 50:36I saw that the other day, but I don't, I didn't collect the URL.
- 50:40So.
- 50:41Yeah, I pinged them on the internal Slack.
- 50:43And Axe Wax said, yes, the location field.
- 50:46There's a couple other things I want to follow up on here before we go.
- 50:51And Gina, this one might be particularly relevant to you.
- 50:55Here, let me put this in.
- 50:57So apparently the German government has set up its own Mastodon server.
- 51:02You probably know more than I do about this.
- 51:04Yeah, they created this social.bund.de and yeah, more and more ministries and official places.
- 51:10So what you see there in the screenshots is the, or was the, so the BME Bund, which is, which is our ministry of, of inner security and such.
- 51:20And then yeah, data protection, freedom of information, my own county, as I just said also, or rather my own state actually also is apparently now there.
- 51:30The Hessische Landtag.
- 51:31So, hey, cool.
- 51:32And yeah, they, they started doing that around the time that Elon bought the thing.
- 51:36So two weeks ago or three weeks, I don't know.
- 51:38Maybe the server is older, but the influx of a ton of official accounts started.
- 51:45Yeah.
- 51:46Something around that time.
- 51:48And what I also recently learned is, so we have this international emergency broadcast thing that is not SMS based, but rather an app.
- 51:57I don't know how official that is, but there is also a server dedicated to just subscribing to the so-called NINA notifications for your location so that you get a mastodon notification when there is some kind of emergency, like, like really bad weather, or I don't know, some, some, some, some bomb that was found from World War Two again, which also happens all the time here.
- 52:18And that is kind of neat that they integrated that.
- 52:21So I immediately followed my local one.
- 52:24It's a little terrifying though, because that means make matters on a safety critical system.
- 52:29You know, when my queue is backed up for an hour, suddenly I'm getting nervous that these messages really do need to be delivered in real time.
- 52:35As you're looking at the rubble warning earthquake coming.
- 52:38True.
- 52:39Oh, wait.
- 52:40Yeah.
- 52:41But no, this is, this is really, really cool.
- 52:43I absolutely love this idea.
- 52:45And I think other governments should, should also consider this seriously.
- 52:48Now, two more areas.
- 52:50We're getting short on time.
- 52:51I want to make sure we focus on first, a little bit of programmability.
- 52:54There's a thing called toot and a Python library, which you can program called toot.
- 52:59So toot, the toot CLI, is that what it's called?
- 53:03Yep.
- 53:04And it's a mastodon in the terminal, right?
- 53:07Which is pretty interesting.
- 53:08But it has a Python library.
- 53:10Has anyone done anything with this?
- 53:11Not yet.
- 53:12No.
- 53:13I've been playing with the API directly because mastodon, your local, your server has an API.
- 53:18It's super, super, it's a very clean, very well designed API.
- 53:23One of the things it can do is it's got a streaming API.
- 53:26So you can hold open a connection to a URL.
- 53:28And every time a new toot comes in, it gets fed to your script.
- 53:32I've got a, I wrote, I have a little script in the gist, which I've just pinged to you in the private chat, which listens to my server and writes to a SQLite database every time something happens.
- 53:42And then I can analyze it in data set and run SQL queries.
- 53:45And so I put, this is going to be the basis.
- 53:47And you scroll down.
- 53:48So you went python stream.py and give it a database.
- 53:50That's the schema.
- 53:51And this is the whole thing.
- 53:52It's what, like 30 lines of code.
- 53:54Because all you have to do is stream against that feddy.signwinson's and that API v1 stream in public.
- 53:59And then every time a new line comes in, treat it as JSON and writes the database.
- 54:03So when I talk about building my own algorithm, this is how I'm going to do it.
- 54:07I'm going to be sucking all of that data down into a little SQLite database and then running SQL queries against it.
- 54:12I was really impressed at how easy this was.
- 54:15No, because I don't even need an API key for this one.
- 54:17This is just a publicly available endpoint.
- 54:20Interesting.
- 54:21But it has authenticated APIs for following and tooting and all of that kind of stuff.
- 54:25So yeah, this is very, very hackable.
- 54:27And one thing I find exciting is, so I've built Twitter bots in the past, and it always feels like you're in a ask permission or ask forgiveness situation.
- 54:34You launch a bot and you're always crossing your fingers that somebody, the powers that be might not go, no, that's a bad bot and turn it off for you.
- 54:41Mastodon, there are no, like you can run a bot on your own instance.
- 54:45If you misbehave, the worst that can happen to your instance will be defederated, which is bad.
- 54:49So don't do bad bots, but you can build a bot that does absolutely anything.
- 54:53And especially if it only interacts with people who follow it, what's the harm, right?
- 54:57Nobody's going to get upset with your bot spamming people if people have to follow it to get alerts from it.
- 55:02But I think we're going to see so much innovation around bots on this platform because it's so easy and liberating to start writing these auto-signments.
- 55:10I checked out toot.
- 55:12If you look at the PyPI listing, it just gives you a description.
- 55:16And if you click on take me to the documentation, it takes you to the documentation for the UI thing.
- 55:22It's really not clear how to use it.
- 55:25But I ended up just doing basically what you said.
- 55:28And I used toot to create the OAuth registration and the access keys and all that.
- 55:34And then I just wrote some straight Python code using HTTPX against the API.
- 55:38And now on my stream deck, I have a little button I can press right here.
- 55:42Every time I want to announce that a live stream is starting, click that thing and off it goes.
- 55:46And so programming, like you said, is pretty hackable.
- 55:48This is just so cool.
- 55:49Yeah, this is fun.
- 55:50This is real fun.
- 55:51I'm looking for a little dataset plugin for this because I think that would be pretty darn cool.
- 55:56And congrats on the five year in a birth rate.
- 55:59Thank you.
- 56:00Yeah, it was the project's birthday yesterday.
- 56:02Yeah, no, I want to do a plugin.
- 56:04I'm waiting for Andrew in Tag Tech.
- 56:07I pronounced it correctly earlier and I've forgotten.
- 56:09I'm waiting for Andrew to solve all of the problems.
- 56:11And I'm just going to copy and paste code after that and build a plugin based on the things that he's already figured out.
- 56:16But yeah, I want Dataset to be able to both ingest from ActivityPub and publish to ActivityPub, all via plugins.
- 56:23It feels like it would be a really natural fit, definitely.
- 56:26I guess maybe let's close this out with, well, not that yet.
- 56:30Though I want to close this out talking about funding and how, Simon, you mentioned the business model.
- 56:37I think it's so transparent.
- 56:38It's like there are no ads.
- 56:40This is volunteer run.
- 56:41It's volunteer money.
- 56:42If you can afford, you can, you should pay.
- 56:44And I think we should all be paying $8 a month for this on prints.
- 56:47If we can afford to do so, I think that's the right amount to commit.
- 56:51There's an instance called social.coop, for example, that works as an open collective project.
- 56:56So to become part of it, you have to pay and it becomes a collective effort that way.
- 57:02And I think that's really interesting too.
- 57:03That is very interesting.
- 57:05I only read this about the faucet on.
- 57:07So, you know, look at your instance of interest, I suppose.
- 57:11And if you look at this, they have a funding page over here and they actually have open numbers about how much it costs to run, how, how much scaling they've had to do recently.
- 57:21So it said two weeks ago, we paid $100 a month and now we pay $1,000 a month.
- 57:27And here's how much money.
- 57:29So how much runway we have at this current rate.
- 57:31They also talked about how many users they had in here somewhere.
- 57:35It went from something like 2000 to 40,000 in a week, which is pretty interesting.
- 57:41But if you think about this, like, so they need $1,000 to run this server and this infrastructure, and they actually break it down by piece of infrastructure, like CDN versus servers.
- 57:51And you take 40,000 and a thousand divided by 40,000, you know, that turns out to be like 2 cents a month to run this.
- 57:58We can have a world that's not infested with ad companies and algorithms that are trying to manipulate us to buy things or to vote this way or that way or to be angry about this cause or that cause.
- 58:10For 2.5 cents a month.
- 58:12That's insane.
- 58:13Right.
- 58:13We, we should absolutely be doing this.
- 58:15The old cliche is if, if, if, if, if something is free, you're if the, if the product is free, then you are the product.
- 58:21You're the thing being sold.
- 58:23This is our chance to show that we understand that lesson, right?
- 58:25This is right now.
- 58:27We want to use the software.
- 58:28We have the option to pay for it.
- 58:29We should pay for it.
- 58:30And like I said, not everyone needs to pay for it.
- 58:32I like the $8 thing, because if you can afford it, then throw in that $8.
- 58:36People who can't afford it, we want them around anyway.
- 58:38So, so let's cover the costs for them.
- 58:40But yeah, I, I, I'm not worried about the financial sustainability of this, of this thing.
- 58:44If we, if, if even a small minority of us do the right thing and help pay for it, I think it's going to be fine.
- 58:50I think it makes good sense for the ones that want to be sustained long-term to be very transparent with the finances.
- 58:57I know we did that with my binder.org and that really helped either grant money or bringing on other, you know, federated instances.
- 59:06And I think it gives people like, Hey, you know, people are putting in their time as well as the financial resources.
- 59:14I, for one, I'm happy to pay for that.
- 59:16I would pay more than $8 a month just so that, you know, there's no ads.
- 59:20There's no ads.
- 59:21In fact, I do on certain services.
- 59:22So, but I, you know, I think the other thing to maybe keep in mind is given how quickly it's growing and the fact that there are maintainers of Mastodon itself.
- 59:32Be kind to those maintainers as you want new features and things, because having been on the other side of, Oh, you don't have this.
- 59:42This was a stupid way of doing that.
- 59:44You know what?
- 59:45They made good decisions.
- 59:46Those were the decisions they made and, you know, support them as they learn how to scale even more.
- 59:53So don't forget that there's people behind the efforts.
- 59:56Just because they have more money than it costs to run at the current moment.
- 1:00:01Mike and I don't remember the other person who runs faucet on and this goes, you know, for all the servers, these people are taking a lot of their time.
- 1:00:07They, they said there's been so much of an influx, you know, a 20 X growth in users and servers and so on.
- 1:00:13It's been almost like a second full-time job.
- 1:00:15So I think we should consider, you know, how do we make it something that is not a tremendous unwanted burden for these people who put together these places for us.
- 1:00:24So, right.
- 1:00:25It shouldn't just go, well, they need a thousand.
- 1:00:26They got a thousand.
- 1:00:27They're good.
- 1:00:28There should be something more than that to help them.
- 1:00:30And we are technically minded people.
- 1:00:32We can volunteer our time.
- 1:00:33People like volunteering to help with moderation, volunteering to help with, with systems administration.
- 1:00:38These are all things that we should be ready to do as well.
- 1:00:40Yeah.
- 1:00:41And at the same time, I think like the technology will only improve, right?
- 1:00:44Like Andrew Godwin just created a jungle asynchronous Fediverse server in what, seven days.
- 1:00:52That's completely astonishing.
- 1:00:54But the more the technology evolves.
- 1:00:55And I think it's happening now that the human problems are going to become more and more apparent.
- 1:01:00And probably some instances will have, will want to have full-time moderators or even part-time and they will want, I don't know, like marketing people, graphical design, communications.
- 1:01:10They will want to coordinate with other instances.
- 1:01:13They will want to, I don't know, fund progress in the activity pub, protocols that it's more robust and more feature complete, whatever.
- 1:01:22So, like the more money we pour into the ecosystem, I think it's going to be good.
- 1:01:27If there's like good accountability of how this money is spent and so forth.
- 1:01:32And if it's as cheap as two cents a person, let's just go for it.
- 1:01:36Yeah.
- 1:01:37Yeah.
- 1:01:38I, why, why not?
- 1:01:39Right.
- 1:01:40They have Patreon and also not just your entrance, but instance, but Mastodon, the bigger org also has a funding option.
- 1:01:47I, for one, think this is a really lovely place to be.
- 1:01:50I'm excited by what I found.
- 1:01:51I saw a lot of comments in the live stream here that people found the noise, signal to noise ratio much higher over in Mastodon.
- 1:02:00People felt very welcome there.
- 1:02:02The kindness was really apparent there.
- 1:02:04So I didn't end up here for the reason that I expected.
- 1:02:07As Juan pointed out, some narcissistic guy went, banged around on Twitter for a while, tried to break it.
- 1:02:14We'll see how that turns out, but I'm really glad that I ended up here.
- 1:02:17So, yeah, it's, it's very cool.
- 1:02:19Yeah.
- 1:02:20Maybe we'll go top to bottom sort of, yeah.
- 1:02:22Final thoughts on this, Carol.
- 1:02:24I think it's a great alternative to have in our ability to communicate.
- 1:02:28I hope somebody who knows it well, writes a good onboarding experience for those of us that are relatively new.
- 1:02:37it wasn't hard to get started, but there were a lot of decisions that maybe aren't quite apparent when you first started.
- 1:02:44Yeah.
- 1:02:45I think we will probably see some changes maybe here and there as more and more people go in there and need to first get, yeah, get, get into the, into the way that we talk there into the way this, how, how this all works, how the community rules are and all that.
- 1:03:01So I think there might be some bad things that will happen sooner or later, the bigger this, this stuff gets.
- 1:03:08But I think, the community as a whole so far has shown that in theory, it should be, ready for that and should be able to solve that.
- 1:03:18And it, yeah, big, big, big parts of how to solve these situations are in the issues are already built into the very protocol into the very concept.
- 1:03:26So I have high hopes that this is here to stay.
- 1:03:30Yeah.
- 1:03:31It feels like Twitter back in 29 or even, I don't know if anyone else still remembers this, but before there was Twitter, I was on identica, which also was something like, like Mastodon basically also federated.
- 1:03:45If I remember correctly, I'm not 100% sure.
- 1:03:48And, so yeah, it feels a bit like the internet used to feel, and I really enjoy that as an old timer.
- 1:03:55Yeah.
- 1:03:55So same as you, Michael, I'm so glad that the pediverse and the Mastodon community so far is so friendly in general.
- 1:04:03At the same time, I'm looking forward to having more conversations about what's next, what are the current challenges, what are the bottlenecks that are perhaps limiting adoption somehow.
- 1:04:13Are we prepared for the next influx of users?
- 1:04:16Like, I don't know where if Twitter collapses effectively next year, is the pediverse ready to take that amount of users in?
- 1:04:24Do we want that sort of thing?
- 1:04:27I think there's lots of questions to be asked, but at the same time, it feels so exciting that we're in a position to do that from a community perspective, with a distributed responsibility way of doing things.
- 1:04:41Well, I'm not deleting my Twitter account just yet.
- 1:04:44I will keep it around just in case.
- 1:04:46But definitely, I'm Mastodon and the Fediverse first.
- 1:04:49Now, I really want to have all my favorite people, all my favorite projects tooting from the Fediverse, whatever instance they land on.
- 1:04:59And yeah, we're excited about the future.
- 1:05:00Yeah, I completely agree with you.
- 1:05:01Thanks, Simon.
- 1:05:01I've got a call to action for people.
- 1:05:03Toot about nice things.
- 1:05:05Something I've been doing every day, I try and put up a message about one of my projects, which I do hash projects on, and I'm encouraging other people to do exactly the same thing.
- 1:05:17It's like, like, celebrate things that we've built.
- 1:05:19I try and if you click on media, I try and post a wildlife photo every day as well, tag with wildlife photography, because who doesn't want to see a photograph of a pelican in their feed?
- 1:05:30Does your dog have a Mastodon feed?
- 1:05:33Not yet. No, I haven't moved. She hasn't moved over to Twitter yet, but she should do.
- 1:05:37She's not upset yet. She's still just sticking with that group. She's not upset.
- 1:05:40She's a bit old fashioned on that front. Yeah.
- 1:05:42But yeah, host nice things.
- 1:05:44Reply to people. Get involved.
- 1:05:46One of the things that we're all enjoying about Mastodon is that people are nice to each other and talk about interesting things.
- 1:05:52So get on there and talk about interesting things and be nice to people.
- 1:05:55That's the best thing that we can be doing right now.
- 1:05:57I love that message.
- 1:05:58Thank you, Simon, for the project hashtag because I have had a blast reading through that and also participating in that.
- 1:06:04Excellent. Fantastic. It's really fun. Yeah.
- 1:06:07Yeah, totally.
- 1:06:08And I'll be sure to link to everybody's Mastodon profile so you can follow all the guests as I always do.
- 1:06:15But I think that's especially relevant now.
- 1:06:17Everyone's coming over. It's a little bit different to find folks and connect.
- 1:06:20But my experience is Mastodon is very active, very full of Python people who are friendly and excited to be there.
- 1:06:29And so it's a great place. It's not just a couple of people who are there.
- 1:06:32It's a great community and folks should check it out.
- 1:06:35Carol, Gina, Juan, Simon, it's been great to have you all here.
- 1:06:38Thank you so much for being part of this.
- 1:06:40Thanks for hosting us.
- 1:06:41Thank you for having us.
- 1:06:42Thanks to you for the bite.
- 1:06:44Thank you for having me.
- 1:06:45You bet. Bye, all.
- 1:06:46Bye.
- 1:06:47This has been another episode of Talk Python To Me.
- 1:06:50Thank you to our sponsors.
- 1:06:52Be sure to check out what they're offering.
- 1:06:53It really helps support the show.
- 1:06:55Starting a business is hard.
- 1:06:57Microsoft for Startups Founders Hub provides all founders at any stage with free resources and connections to solve startup challenges.
- 1:07:05Apply for free today at talkpython.fm/foundershub.
- 1:07:10AWS is the lead cloud for developers, but with over 250 services, it's an overwhelming set of choices.
- 1:07:17That's where the AWS Insiders podcast comes in.
- 1:07:21Their job is to help you make sense of all those AWS options.
- 1:07:24Listen to an episode at talkpython.fm/awsinsiders.
- 1:07:29Want to level up your Python?
- 1:07:31We have one of the largest catalogs of Python video courses over at Talk Python.
- 1:07:35Our content ranges from true beginners to deeply advanced topics like memory and async.
- 1:07:40And best of all, there's not a subscription in sight.
- 1:07:43Check it out for yourself at training.talkpython.fm.
- 1:07:46Be sure to subscribe to the show, open your favorite podcast app, and search for Python.
- 1:07:50We should be right at the top.
- 1:07:52You can also find the iTunes feed at /itunes, the Google Play feed at /play, and the direct RSS feed at /rss on talkpython.fm.
- 1:08:01We're live streaming most of our recordings these days.
- 1:08:05If you want to be part of the show and have your comments featured on the air, be sure to subscribe to our YouTube channel at talkpython.fm/youtube.
- 1:08:13This is your host, Michael Kennedy.
- 1:08:15Thanks so much for listening.
- 1:08:16I really appreciate it.
- 1:08:17Now get out there and write some Python code.
- 1:08:19I'll see you next time.
- 1:08:20Bye.
- 1:08:20Bye.
- 1:08:20Bye.
- 1:08:21Bye.
- 1:08:22Bye.
- 1:08:23Bye.
- 1:08:24Bye.
- 1:08:25Bye.
- 1:08:26Bye.
- 1:08:27Bye.
- 1:08:28Bye.
- 1:08:29Bye.
- 1:08:30Bye.
- 1:08:31Bye.
- 1:08:32Bye.
- 1:08:33Bye.
- 1:08:34Bye.
- 1:08:35Bye.
- 1:08:36you
- 1:08:36you
- 1:08:37you
- 1:08:37you
- 1:08:38Thank you.
- 1:08:40Thank you.