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.

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

なにがダサいのか言語化できるようになりたい
1
0

供应午饭的馆子里排起长队,后面客人催伙计手脚快点,小伙子满嘴“好的好的”,手上还是同样节奏,转身背向客人切菜的时候还念念有词,嘟囔的是“慢慢做,不要急,生意和我没关系”,然后后面一堆人等出餐等得望眼欲穿,给我乐的。00后打工属实欢乐

0
0
0
0

MIXIがWebRTC SFUのクラスタリングに関する記事を出してた

A Self-Stabilizing Method for Dynamically Redundant, Autonomously Distributed Real-Time Video Streaming Clusters | by dsugisawa | Apr, 2025 | MIXI DEVELOPERS : 👀
---
mixi-developers.mixi.co.jp/a-s

0
1
0
0
0
0

客人說:「就算是有毒父母,還是應該去見他們的最後一面喔。」

我(唉~又來了,又是正論是不是…😌真是的):「你為什麼會這樣想?」

客人:「因為看到那種快死的討厭鬼,會覺得他們超沒用的,笑死我了。」

我:「你…還好嗎?」

來自推友 omoti194 的推文。

---

最近玩真心話桌遊的時候,就聽到其中一個朋友在罵他的爸媽,罵了快半個小時,只能說有些父母帶給孩子的恨,是很深也是一輩子的...

0
0
0
0
0

執行長泰德·薩蘭多斯(Ted Sarandos)日前坦言,他們並不是沒有嘗試過打入中國市場,而是努力了長達3年,竟然沒有一部劇能夠通過中國的影視審查規定,不得不因此放棄,將目標轉向其他地區。
https://www.taisounds.com/news/content/83/186790
所以那些說中國市場有言論自由和創作自由的人,都應該去醫師那邊報到,檢查一下心智和邏輯能力。
https://www.plurk.com/m/p/3h5zl3ikqr

0

Ubuntu 22.04.5 LTSに

$ sudo sh -c 'apt update && apt dist-upgrade -y'
:
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
libheif1 imagemagick libopenexr25 libmagickcore-6.q16-6-extra
libmagickwand-6.q16-6 imagemagick-6.q16 libmagickcore-6.q16-6
imagemagick-6-common libde265-0
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages will be upgraded:
ethtool openssh-client openssh-server openssh-sftp-server
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 standard LTS security updates
:
$ cat /var/run/reboot-required*
cat: '/var/run/reboot-required*': No such file or directory

ヨシ

0
0
0
0

執行長泰德·薩蘭多斯(Ted Sarandos)日前坦言,他們並不是沒有嘗試過打入中國市場,而是努力了長達3年,竟然沒有一部劇能夠通過中國的影視審查規定,不得不因此放棄,將目標轉向其他地區。
https://www.taisounds.com/news/content/83/186790
所以那些說中國市場有言論自由和創作自由的人,都應該去醫師那邊報到,檢查一下心智和邏輯能力。
https://www.plurk.com/m/p/3h5zl3ikqr

0
0
0

우리 사회는 장애인들이 시설에서 나와 지역사회에서 자립하도록 지원해야 할까요? 아니면 천주교 주장처럼 장애인 시설도 하나의 동등한 선택지로 인정하고 지원해야 할까요? 장애인 탈시설 권리와 이동권 시위 현장을 취재한 사회부 김가윤 기자에게 물어봤습니다.

왜 자꾸 시설을 떠나자고 하는 거야? [The 5]

0
0
1
0
0

BotKit 0.2.0 Released

We're pleased to announce the release of BotKit 0.2.0! For those new to our project, is a framework for creating standalone bots that can interact with Mastodon, Misskey, and other platforms without the constraints of these existing platforms.

This release marks an important step in our journey to make fediverse bot development more accessible and powerful, introducing several features that our community has been requesting.

The Journey to Better Bot Interactions

In building BotKit, we've always focused on making bots more expressive and interactive. With version 0.2.0, we're taking this to the next level by bringing the social aspects of the fediverse to your bots.

Expressing Your Bot's Personality with Custom Emojis

One of the most requested features has been support. Now your bots can truly express their personality with unique visuals that make their messages stand out.

// Define custom emojis for your bot
const emojis = bot.addCustomEmojis({
  botkit: { 
    file: `${import.meta.dirname}/images/botkit.png`, 
    type: "image/png" 
  },
  fedify: { 
    url: "https://fedify.dev/logo.png", 
    type: "image/png" 
  }
});

// Use these custom emojis in your messages
await session.publish(
  text`BotKit ${customEmoji(emojis.botkit)} is powered by Fedify ${customEmoji(emojis.fedify)}`
);

With this new API, you can:

Engaging Through Reactions

Communication isn't just about posting messages—it's also about responding to others. The new reaction system creates natural interaction points between your bot and its followers:

// React to a message with a standard Unicode emoji
await message.react(emoji`👍`);

// Or use one of your custom emojis as a reaction
await message.react(emojis.botkit);

// Create a responsive bot that acknowledges reactions
bot.onReact = async (session, reaction) => {
  await session.publish(
    text`Thanks for reacting with ${reaction.emoji} to my message, ${reaction.actor}!`,
    { visibility: "direct" }
  );
};

This feature allows your bot to:

Conversations Through Quotes

Discussions often involve referencing what others have said. Our new support enables more cohesive conversation threads:

// Quote another message in your bot's post
await session.publish(
  text`Responding to this interesting point...`,
  { quoteTarget: originalMessage }
);

// Handle when users quote your bot's messages
bot.onQuote = async (session, quoteMessage) => {
  await session.publish(
    text`Thanks for sharing my thoughts, ${quoteMessage.actor}!`,
    { visibility: "direct" }
  );
};

With quote support, your bot can:

Visual Enhancements

Because communication is visual too, we've improved how your bot presents itself:

  • Image attachments now properly display in the web interface
  • Your bot's content looks better and provides a richer experience

Behind the Scenes: Enhanced Activity Propagation

We've also improved how activities propagate through the fediverse:

  • More precise propagation of replies, shares, updates, and deletes
  • Activities are now properly sent to the original message authors

These improvements ensure your bot's interactions are consistent and reliable across different fediverse platforms.

Taking Your First Steps with BotKit 0.2.0

Ready to experience these new features? BotKit 0.2.0 is available on JSR and can be installed with a simple command:

deno add jsr:@fedify/botkit@0.2.0

Since BotKit uses the Temporal API (which is still evolving in JavaScript), remember to enable it in your deno.json:

{
  "imports": {
    "@fedify/botkit": "jsr:@fedify/botkit@0.2.0"
  },
  "unstable": ["temporal"]
}

With these simple steps, you're ready to create or upgrade your fediverse bot with our latest features.

Looking Forward

BotKit 0.2.0 represents our ongoing commitment to making fediverse bot development accessible, powerful, and enjoyable. We believe these new features will help your bots become more engaging and interactive members of the fediverse community.

For complete docs and more examples, visit our docs site.

Thank you to everyone who contributed to this release through feedback, feature requests, and code contributions. The BotKit community continues to grow, and we're excited to see what you'll create!


BotKit is powered by Fedify, a lower-level framework for creating ActivityPub server applications.

1
1
0
0