What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

1

RE: mastodon.social/@dielinke/1162

Danke, Jan @vanakenJan van Aken, für diese Positionierung zu meinem Antrag. Du hast dich durch viele schwierige und definitiv nicht wohlwollende Rückfragen der Journalist:innen manövriert.

Bei Gelegenheit können wir gerne über euren Vorschlag aus dem Bundesvorstand sprechen sowie meine Motivation hinter meinem Antrag. Ggf. wird ein Tag kommen wo wir nicht nur über das von mir ausgelöste Drama reden müssen ;)

Ich gebe mir Mühe!

0

I see the announcement by a commercial marketing agency of a venture capital based app store joining the fediverse.

Is the we have capable of avoiding as it grows and attracts an increasing number of corporations, who make it their market?

Is our landscape resistant to corporate capture and eventual takeover and domination? Just like the Corporate Web, also decentralized.

There are nice niches on the web, like a bloggosphere, bulletin boards, and news readers, that all still exist. But web as a whole is predominantly corporate, arguably not commons based, for the people by the people.

Social experience design defines "commons based" as "where people are in control of their future on a path of healthy evolution and natural growth". A core principle is being sustainable at all times, and timely acknowledge and mitigate risks.

Is fediverse commons based? Did we cocreate the Future of Social networking?

0

RE: mastodon.social/@Gargron/11623

oh my.. in 2017 i joined mastodon.social as an experiment to see what the buzz was all about. it has come a long way since then.

congratulations to all developers and admins/mods who maintain instances with better uptime and keep the place clean and simple. long live FLOSS.

0
0
50
5
0

Update on Trump's Hormuz coalition (Mon, March 16):

🇫🇷 France: REJECTED
🇬🇧 UK: REJECTED
🇮🇹 Italy: REJECTED
🇪🇸 Spain: REJECTED
🇯🇵 Japan: REJECTED
🇳🇴 Norway: REJECTED
🇨🇦 Canada: REJECTED
🇦🇺 Australia: REJECTED
🇩🇪 Germany: REJECTED
🇨🇳 China: NO RESPONSE
🇳🇱 Netherlands: NO RESPONSE
🇰🇷 South Korea: NO CONFIRMATION

0
1
1
2
1
1
0
0
2
0
0
1

買っても使わないだろうけど。このロボットアニメに出てきそうなメカメカしさは、ちょっとカッコイイなぁ〜と。 :tony_smiling:

“握って動かす”新たな片手用デバイス「MoveMaster RSG-1」が販売開始! 国内サポート&アップデートも提供 - GAME Watch
game.watch.impress.co.jp/docs/

0
0

買っても使わないだろうけど。このロボットアニメに出てきそうなメカメカしさは、ちょっとカッコイイなぁ〜と。 :tony_smiling:

“握って動かす”新たな片手用デバイス「MoveMaster RSG-1」が販売開始! 国内サポート&アップデートも提供 - GAME Watch
game.watch.impress.co.jp/docs/

0
0
0
0
0
1
0
2
0
0
2
0
0
0
0

Not one molecule! The EU rules out relaxing the Russian gas ban to ease the energy crisis.

The European Union won’t give in to pressure to re-engage with Russia to offset surging energy prices triggered by the war in Iran.

“We’ve decided in the European Union that we do not want to re-import Russian energy,” Dan Jørgensen, the EU commissioner for energy, told reporters on Monday.

mediafaro.org/article/20260316

0
2
0
0
0
0
0
0
0
0

Some updates to ActivityBot

shkspr.mobi/blog/2026/03/some-

I couple of years ago, I developed ActivityBot - the simplest way to build Mastodon Bots. It is a single PHP file which can run an entire ActivityPub server and it is less than 80KB.

It works! You can follow @openbenches@bot.openbenches.org to see the latest entries on OpenBenches.org, and @colours@colours.bots.edent.tel for a slice of colour in your day, and @solar@solar.bots.edent.tel to see what my solar panels are up to.

This is so easy to use. Copy the PHP file (and a .env and .htaccess) to literally any web host running PHP 8.5 and you have a fully-fledged bot which can post to Mastodon.

Grab the code and start today!

Features

Over the years I've added a few more features to it, so I thought I'd run through what they are. Note, this is all hand-written. No sycophantic plagiarism machines were involved in this code or blog post. I just really like emoji, OK⁉️

🔍 Be discovered on the Fediverse

This is the big one, you can find @example@example.viii.fi on your favourite Fediverse client. This is thanks to its WebFinger support.

👉 Be followed by other accounts

No point being discovered if you can't be followed. This accepts follow requests and sends back a signed accept.

🚫 Be unfollowed by accounts

Sometimes people want to unfollow. Too bad, so sad. Again, this will accept the undo request and delete the unfollowing user's information.

📩 Send messages to the Fediverse

If a bot can be followed, but never posts, does it make a sound? This sends a post to all of your followers' (shared) inboxes. Includes some HTML formatting.

💌 Send direct messages to users

Not every message is for the wider public. If you want a bot which sends you a private message, this'll set the visibility correctly.

📷 Attach images & alt text to a message 🆕🆕

A picture is worth a thousand words. But those pictures are meaningless without alt text. Attach as many images as you like. Note, most Mastodon services only accept a maximum of four.

🍿 Video Upload 🆕🆕

No transcoding or anything fancy. Upload a video and it'll be sent to your followers.

🔊 Audio Upload 🆕🆕

Same as video. Raw audio posted to your followers' feeds.

🕸️ Autolink URls, hashtags, and @ mentions

Including URls, tags, and mentions are mostly autolinked correctly. There's a lot of fuzziness in how it works.

🧵 Threads

You can reply to specific messages in order to create a thread.

👈 Follow, Unfollow, Block, and Unblock other accounts

It might be useful for you to remove followers or follow specific accounts.

🗑️ Delete posted messages and their attachments 🆕🆕

We all make mistakes. This will delete your post along with any attachments and send that delete message to everyone. Note, because of the federated nature of the Fediverse, you cannot guarantee that a remote server will delete anything.

✏️ Edit Posts 🆕🆕

If you don't want to delete and re-post, you can edit your existing posts.

🦋 Bridge to BlueSky with your domain name via Bridgy Fed

Not everyone is on the Fediverse. If you want to bridge to BlueSky, you can use the Bridgy Fed service.

🚚 Move followers from an old account and to a new account 🆕🆕

Perhaps you started as @electric@sex.pants but now you want to become @chaste@nunslife.biz - no worries! You can tell followers you've moved and what your new name is.

Similarly, if ActivityBot is no longer right for you, it's simple to tell your existing follower to move to your new account.

🗨️ Allow quote posts 🆕🆕

Rather than just reposting your message, this sets the quote policy to allow people to share your message and attach some commentary of your own.

👀 Show followers

Your follower count isn't just a number, it is a living list of who chooses to follow you.

⚠️ Content Warnings 🆕🆕

Perhaps you want to hide a bit of what you're saying. Add a content warning to hide part of your message.

🔏 Verify cryptographic signatures

HTTP Message Signatures is hard. I think I've mostly got it sorted.

🪵 Log sent messages and errors

This is primarily a learning aide, so have a rummage through the logs and see what's going on.

🚮 Clear logs when there are too many

ActivityPub is a chatty protocol. Your server can easily fill up with hundreds of thousands of messages from others. This regularly prunes down to something more manageable.

#️⃣ Hashed passwords for posting 🆕🆕

Bit of a guilty moment here. I was originally storing the password in plaintext. Naughty! Passwords are now salted and hashed.

💻 Basic website for showing posts

A nice-enough looking front end if people want to view the posts directly on your domain.

Some Deficiencies

Not every piece of software is perfect. ActivityBot is less perfect than most things. Here are some of the things it can't do and, perhaps, will never do. If you'd like to help tackle any of these, fork the code from my git repo!

⏳ Retry Failed Messages

A proper Mastodon server will keep trying to send messages to unresponsive hosts. ActivityBot is one-and-done. If a remote server didn't respond in time, or was offline, or something else went wrong - it may not get the message.

🔄 Reposts / Announce / Quote

You cannot boost other posts, or even your own. Nor can you send quote posts.

🤖 Act On Instructions

This is a basic bot. It contains no logic. If you send it a message asking it to take action, it will not. You will need to build something else to make it truly interactive.

📥 Receive Messages

In fact, other than the follow / unfollow stuff, the bot can't receive any messages from the Fediverse. It doesn't know when a post has been replied to, liked, or reposted.

😎 Set Post Visibility

Your posts are either public or a DM. There's no support for things like quiet followers.

📊 Create Polls

Everyone loves to vote on meaningless polls - but this is quite a hard problem for ActivityBot. It would need to keep track of votes, prevent double voting, and probably some other difficult stuff.

🗨️ Change Quote Post Visibility

As quote posts are still quite new to Mastodon, I'm not sure how best to implement this.

🔗 Proper HTML / Markdown Support

Autolinking names, hashtags, and links just about works - but not very reliably. In theory the bot could parse Markdown and create richly formatted HTML from it. But that may require an external library which would bloat the size. Perhaps posting raw HTML could work?

🖼️ Focus Points for Images

Perhaps of less use now, but still of interest to people?

❓ Other Stuff

I don't know what I don't know. Maybe some stuff is total broken? Maybe it is wildly out of spec? If you spot something dodgy, please let me know or raise a Pull Request.

0

@8r3n7Poligofsky 🇨🇦

When it is demonstrated that this approach works, progressive taxation is the means with which it can be achieved in relation to the desired change in legislative approach.

The interesting bit thus isn't "does this work", but "how does one make the evidence of 'does this work' indisputable when viewed through the lens of shaping policy, when faced with a large cohort of rich libertarians hell bent on destroying civil society in favour of a feudal society owned by them."

@codinghorrorJeff Atwood

@ermoermo | Rune Morling @8r3n7Poligofsky 🇨🇦 well, wake me up when any US billionaire pays their fair share of taxes. If you know to make this happen here in the USA, please do share with all of us how this can be made to happen with step-by-step specifics, please? I mean, I completely agree we COULD COMPLETELY ELIMINATE US POVERTY IN A SINGLE DAY (at the 100% FPL level) if the billionaires paid their fair share of taxes. I wonder why that isn't happening? Seems easy, right?

0
0
0
0

'Israeli army says it began “limited” ground operations in South Lebanon'
lbcgroup.tv/news/middleeastnew

Democratic Republic of the Congo v. Uganda (2005): ICJ ruled that the attacks by armed groups from Congolese territory against Uganda did not constitute an act of aggression by the DRC.
Nicaragua v. United States (1986): ICJ ruled (in part) that an opponent militia being in another State's territory does not give a right to invade the other State.

0
1
1
1
0
0
0
0
1
0