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.

How to Build a Simple ActivityPub Reminder Bot in Python

AmaseCocoa @cocoa@hackers.pub

This post guides you through building a simple ActivityPub bot in Python using the `apkit` library. The bot listens for mentions and schedules reminders for users. It covers setting up the project, generating cryptographic keys for secure communication, defining the bot's identity as an ActivityPub Actor, and initializing the `apkit` server. The tutorial walks through the core logic for parsing reminder commands, sending notifications, and defining necessary web endpoints like `/actor` and `/inbox`. It also details how to handle incoming activities, such as `Follow` and `Create` events, and how to run the application using `uvicorn`. While the example uses in-memory storage for simplicity, the post suggests improvements like persistent storage and robust task queuing for production environments. This tutorial provides a solid foundation for building more complex ActivityPub applications.

Read more →
15
1
0

열심히 살았는데 왜 내 인생은 변화가 없을까 고민하는 순간

때로는 성장이 보이지 않아도 그 과정을 믿어야 한다

멈추지 않고 앞으로 나아가는 사람에게 기회는 찾아온다

0
0
0
0
0
0

Conversations on Empathy by Francesca Mezzenzana, 2023

In the aftermath of a global pandemic, amidst new and ongoing wars, genocide, inequality, and staggering ecological collapse, some in the public and political arena have argued that we are in desperate need of greater empathy — be this with our neighbours, refugees, war victims, the vulnerable or disappearing animal and plant species.

directory.doabooks.org/handle/



Interdisciplinary Perspectives on Imagination and Radical Othering

This interdisciplinary volume asks the crucial questions: How does a better understanding of empathy contribute, if at all, to our understanding of others? How is it implicated in the ways we perceive, understand and constitute others as subjects? Conversations on Empathy examines how empathy might be enacted and experienced either as a way to highlight forms of otherness or, instead, to overcome what might otherwise appear to be irreducible differences. It explores the ways in which empathy enables us to understand, imagine and create sameness and otherness in our everyday intersubjective encounters focusing on a varied range of "radical others" – others who are perceived as being dramatically different from oneself. With a focus on the importance of empathy to understand difference, the book contends that the role of empathy is critical, now more than ever, for thinking about local and global challenges of interconnectedness, care and justice.
0
0
0
0

I like to go out and wander in the desert and mountains. I have an offline GPS app for my phone that I use to figure out how to get back when I don't know where I am. The app got bought out but I didn't know it. I was in the middle of nowhere and fired it up only to be greeted with "please create an account". Luckily, I was able to find my way home but I figured I'd better get real hardware. It wasn't cheap (even used) but it's better than dying.

I'm holding a Garmin GPSmap 67. A bulky, 90s looking, dedicated GPS.
0

Good day all you lovely Fedizens ! Big week coming up on Fireside Fedi! We have THREE! YES! COUNT THEM! THREE! How many? Leave the answer in a reply and you could win one of our amazing TOTALLY real prizes! (Please note these prizes are not real at all.) All times are Eastern US, UTC-4.

Mon 2025-09-15 1030 - @sturmsuchtChris 🦑 - Photographer (@sturmsucht), Fedizen, Techie, Awesome dude.

Wed 2025-09-17 1200 - @sundogplanetsProf. Sam Lawler - Astronomer, goat farmer (I wonder what season you plant goat seeds btw), Canadian, AWESOME woman! I know saying Canadian followed by Awesome is redundant, but I'm on a roll here!

Fri 2025-09-19 1300 - @timnitGebruTimnit Gebru (she/her) - Fired from Google for being an amazing human and not some corporate drone, founder of DAIR Institute, snappy dresser! Obviously totally AWESOME!

Set your calendars or follow ours!

Watch the show live:
#Owncast #Livestream - https://stream.firesidefedi.live

After the show:
#Peertube #VOD - https://video.firesidefedi.live
#Castopod #Fedicast - https://audio.firesidefedi.live

#Youtube - https://www.youtube.com/channel/UCaJ15PXgRihoPku7JMdDnsw

All #Links - https://firesidefedi.live

#stream #interview #firesideFedi #FsF #people #peopleOverPlatforms #protocolsOverPlatforms #fedi #fediverse #open #internet #openInternet #podcast #show #episode #peertube #vod #castopod #writefreely #lemmy #boostplease #fedizen #btfree #bigTechFree #nonprofit #signup #tubeFree #awesome #fedizen #astronomer #google #dairInstitute #AI #research #canadian #photographer #photography #GOATS

If you're enjoying the show, please consider supporting our new nonprofit btfree.org at https://givebutter.com/btfree. We're currently running https://tubefree.org which is a moderated peertube open for signups right now!

0

y'all, my husband (not a tech guy) just managed to stumble innocently into Windows' biggest, deepest, darkest black hole of legacy hacks:

"I was making textfiles with explanations of different D&D stats, str, dex, etc, but it wouldn't let me name a file con..."

0
0
0

y'all, my husband (not a tech guy) just managed to stumble innocently into Windows' biggest, deepest, darkest black hole of legacy hacks:

"I was making textfiles with explanations of different D&D stats, str, dex, etc, but it wouldn't let me name a file con..."

0
0
0
1
0
0
0
0
0
0

삶의 깊이를 담은 내면의 여정

1. 침묵 속에서 진실을 마주한다
2. 상처는 성장의 씨앗임을 안다
3. 완벽함을 포기하고 있는 그대로를 사랑한다
4. 타인의 기대에 얽매이지 않는다
5. 스스로를 용서하는 용기를 갖는다

0
0

Dear Driver in the car with the illegally dark tinted windows,

The reason I would not go when I had the right of way and you had your right blinker on is that I could not see you, the driver.

If I cannot see you acknowledge that I am crossing in front of you as a pedestrian or as a bike, I don't cross. Got it?

There is a reason window tints are regulated.

Sincerely,

I'd like to keep from getting smeared on an SUV's grill.

0
0
0
0
0

Birthing Techno-Sapiens by Robbie Davis-Floyd, 2021

Human-Technology Co-Evolution and the Future of Reproduction

This ground-breaking book challenges us to re-think ourselves as techno-sapiens—a new species we are creating as we continually co-evolve ourselves with our technologies.

Chapter 10 Cancerous Contraceptives and the Incubation of Monsters
Rebecca Irons, (2021)

directory.doabooks.org/handle/




Biomedical pharmaceuticals, and specifically hormonal contraceptives, are often framed as tools to help women gain control over their lives through planning future offspring and being granted the ability to pursue life projects free of child-rearing concerns. In reproduction, hormonal contraceptives are one such pharmaceutical that could potentially be framed as “biohacking” by “enhancing” humans and rendering them cyborgian by suppressing “unwanted” menstruation and its associated bodily troubles. This chapter is based on ethnographic research undertaken over one year in a rural Quechua community in the province of Ayacucho, in the Peruvian Andes. In the period 1996–2000, an estimated 300,000+ Indigenous women underwent enforced sterilization in Peru as part of the national family planning program; many women did not give their consent, nor understand the permanence of the procedure.
0
1
1
0
0
0
2
0
0
0
0

Beyond Death by Patrick Williams, 2022

Beliefs, Practice, and Material Expression

A wide-ranging treatment on the meaning of death, and its juxtaposition with life, from biological, cultural, and spiritual perspectives. Dozens of case studies accompany the principal essays written by scholars, Indigenous community members, and curators of the exhibition Death: Life’s Greatest Mystery.

directory.doabooks.org/handle/



 This volume offers a richly illustrated companion to the exhibition, produced by Chicago’s Field Museum of Natural History, and contains full page photographs of the stunning objects in the exhibit, most from the Field Museum’s collections. This volume is intended to engage visitors to the exhibition and members of the general public who want to delve more fully into questions surrounding death and the multiple religious, historical, and cultural perspectives on it. Although not a comprehensive guide, the book touches on many world religions and case studies drawn from five continents.
0
0
0
0

近所の立派な居心地のいい公立図書館も「勉強禁止」で、なにそれ、画竜点睛欠きまくり、という感じである。居座るから迷惑なのだとしたら、それは図書館ではなく本の倉庫である。いつからこうなってしまったのだろう。レーニンなんて亡命先のチューリッヒの図書館に自転車で毎日通って本を書いたり勉強したりしていたのである。もはやオフィス。

一昨年に(だったかな)立ち寄った大英図書館でも、老若男女が机にぎゅうぎゅうに座ってもくもくと読書やら勉強していて壮観であった。

twitter.com/minako_saigo/statu

0
0
0
1
1
1
1
0
0

Lighttpd is a fast, tiny and flexible web server optimized for high performance environments. It's secure (supports TLS/SSL) and standards compliant, supporting a wide range of features while efficiently using memory and CPU. This makes it a great choice for all systems, especially smaller ones. It's still actively maintained and is a good choice for tiny VPS or Raspberry PI dev environment at home. Give it a try.

lighttpd.net/

0

Anthropologies of Revolution by Igor Cherstich, 2020

Forging Time, People, and Worlds

What can anthropological thinking contribute to the study of revolutions? The first book-length anthropological approach to revolutions, Anthropologies of Revolution proposes that revolutions should be seen as concerted attempts to radically reconstitute the worlds people inhabit.

directory.doabooks.org/handle/

@books


Viewing revolutions as all-embracing, world-creating projects, the authors ask readers to move beyond the idea of revolutions as acts of violent political rupture, and instead regard them as processes of societal transformation that penetrate deeply into the fabric of people’s lives, unfolding and refolding the coordinates of human existence. “With insightful references to cases around the world, this book advances a brilliant holistic theory that offers credibility and significance to the ways revolutions unfold in culturally specific practices without diminishing their political impact and universal aspirations.” Behrooz Ghamari-Tabrizi, author of Foucault in Iran: Islamic Revolution after the Enlightenment “This fascinating volume opens up new horizons in the study of revolutionary practice. It is difficult to imagine a more important or original work.” David Nugent, author of The Encrypted State: Delusion and Displacement in the Peruvian Andes “This book is a truly original (in all senses of the term) contribution to understanding the global and human condition of far-reaching political, social, and cosmological change.” Bjørn Enge Bertelsen, author of Violent Becomings: State Formation, Sociality, and Power in Mozambique"
0
0
0
0