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
0
1
0
0
0

marius shared the below article:

REPL Ideas for GoActivityPub

Marius @Marius@marius.federated.id

The way GoActivityPub services function at the moment in respect to having any maintenance tasks performed by the site operator is by using a โ€œcontrolโ€ binary that sends a signal to the server and then effectuate the changes.

The main reason for this method is that we treat our storage backends as not supporting multi process access (for most this is not a requirement, but itโ€™s better to be safe than sorry) and we need to interleave the normal operation of the service with the maintenance tasks.

This is not a great solution as signal passing isnโ€™t very efficient, it isnโ€™t very pretty - we need to send two signals, one to lock and one to unlock storage. Additionally, while the maintenance task is running, the users are faced with an out of order response because the serviceโ€™s storage backend is no longer available. If the signals fail to be processed correctly for some reason, the server can remain in an inconsistent state that needs further handling. Overall not a very robust and user friendly user experience.

So, in order to change this, I want to introduce a method I cribbed from Stegodonโ€™s implementation, which uses an SSH server where a user (or a script) can authenticate and run commands exposed by the custom implementation.

So Iโ€™m thinking to expose the existing commands of the control binary as commands in a REPL environment, or eventually, a TUI (for which we already have some elements up and running)

The end result would be that a site operator can ssh at a specific address for the server, a Bubble Tea interface would pop up and they would be able to run commands in a REPL environment or, in the case of the TUI, be presented with it directly.

This environment would fully run in the same process as the service itself, so no more need for interleaving access to the storage backend, decreasing friction for both operator and users.

Read more โ†’
0
2
0
5
0
0
0
0
0
0

Weโ€™ve built the commons together, and we must protect it together.

Thereโ€™s still time! You can make a gift to Creative Commons before the new year and help us protect the commons from new threats brought by the advent of mainstream, commercial AI. Make a gift today!

classy.org/give/313412/#!/dona

Image: Photo by Jocelyn Miyara/Creative Commons, 2025, CC BY 4.0.

0

ใ‚ใ‘ใพใ—ใฆใŠใ‚ใงใจใ†ใ”ใ–ใ„ใพใ™
ใƒ†ใƒฌใƒ“ไฝ“ๆ“ใ‚’ใ™ใ‚‹ๆฏใฎๅฅ‡ๅฃฐใง็›ฎใŒ่ฆšใ‚ใพใ—ใŸ

0
1
0
0
0
0
2
0
2
3

The Trump administration is closing NASAโ€™s largest research library on Friday,
a facility that houses tens of thousands of books, documents and journals
โ€” many of them not digitized or available anywhere else.

Jacob Richmond,
a NASA spokesman, said the agency would review the library holdings over the next 60 days
and some material would be stored in a government warehouse
while the rest would be tossed away.

โ€œThis process is an established method that is used by federal agencies to properly dispose of federally owned property,โ€
Mr. Richmond said.

The shutdown of the library at NASAโ€™s Goddard Space Flight Center in Greenbelt, Md.,
is part of a larger reorganization under the Trump administration
that includes the closure of 13 buildings
and more than 100 science and engineering laboratories
on the 1,270-acre campus by March 2026.

nytimes.com/2025/12/31/climate

0
0
0
0
1
0

โ€‹:akemasite_omedetou_gozaimasu:โ€‹ ใ€Œใ‚ใ‘ใพใ—ใฆใŠใ‚ใงใจใ†ใ”ใ–ใ„ใพใ™ใ€ใฎ็ตตๆ–‡ๅญ—ใ‚ใ‚‹ใฎใ‹ใช๏ผŸใจๆ€ใฃใŸใ‚‰ใ€ใ‚ใ‚Šใพใ—ใŸใ€‚ใ•ใ™ใŒMisskey๏ผๆœ€้ซ˜ใ ๏ผโ€‹:misskey2022:โ€‹โ€‹:kami:โ€‹

1

Earlier this year, @twostrawsPaul Hudson asked me a few questions about app marketing for his book Everything but the Code. The book was recently finished, and It's full of great advice from many of our favorite developers on everything surrounding the making of apps.

To close out the year, I thought I'd share my expanded responses with readers.

If you're a developer, be sure to check out Paul's book - it's an excellent resource.

macstories.net/linked/app-mark

0
1
0

โ€‹:akemasite_omedetou_gozaimasu:โ€‹
ๆฏŽๅนดๅ…ƒๆ—ฆใซใฏใ€ๅˆๆ—ฅใฎๅ‡บใ‚’่ฟŽใˆใŸๆฐ—ๆŒใกใซใชใ‚Œใ‚‹ๆ—ฅใฎๅ‡บ้ขจๆ™ฏใฎ่จ˜ไบ‹ใจๆ˜ ๅƒใ‚’ๅ…ฌ้–‹ใ—ใฆใ„ใพใ™ใ€‚
ไปŠๅ›žใฏ่ƒฝ็™ปๅŠๅณถใ€็Ÿณๅท็œŒ็ ๆดฒๅธ‚ใ‚’ไปฃ่กจใ™ใ‚‹ๆ™ฏ่ฆณๅœฐใ€่ฆ‹้™„ๅณถใฎๆ—ฅใฎๅ‡บใงใ™ใ€‚

ๆœฌๅนดใ‚‚ใŠไป˜ใๅˆใ„ใฎ็จ‹ใ€ใ‚ˆใ‚ใ—ใใŠ้ก˜ใ„ใ—ใพใ™ใ€‚
https://note.com/inoue1024/n/n7a5b19d51fed?sub_rt=share_pw
https://youtu.be/iwMO2k896II?si=dKNPicrRd-ZPEfut

3

๐ŸŽ‰ We are less than $2k away from hitting our 2026 fundraising goal.

This supports three Django Fellows, our DSF Assistant, dozens of community events like Django Girls, DjangoCons, Django Days, and Django Meds, and the day-to-day work that keeps everything running at the Django Software Foundation.

If you have been waiting to donate, today is a great time.

Employer donation matching also works, including through Benevity.

โค๏ธ djangoproject.com/fundraising/

0
0
1
0
0
0
1
1
0
0
1
1
0
0
0

A former writer for South Park foresaw Trump's takeover of the Kennedy Center and had the foresight to register the domain names trumpkennedycenter dot org and dot com back in August. JFK's niece thanked him for doing so. Of course, the Trump-controlled board now wants their domain name and threatened legal action. His response is brilliant.

Re: Kennedy Center .org/.com Domains

Noted.
Satire is protected speech. Confusion is a
legal requirement, not a feeling. Political
parody is not infringement. Criticism is not
cybersquatting, and trademark law isn't a
panic button for institutions that don't like
being laughed at.

I'll proceed accordingly while you go fuck
yourselves.

Dog Bless
0
0
0
1

์ด๊ฑด ์ข€ ์†๋ณด์ด๋Š” ์œ ๋Ÿฝ๋†ˆ๋“ค์˜ ์„ ๋™์ด๊ธด ํ•˜์ง€๋งŒ... ์™•๋…„์— ๋ฏผ๊ฐ„๊ฐœ๋ฐฉ ์™ˆ์™ˆ๋Œ€๋˜ ์ƒˆ๋ผ๋“ค์ด ์ € ๋ฒ ์ŠคํŠธ๋ฐ˜์ด๋ผ๋Š” ํšŒ์‚ฌ๋ฅผ ๊ฐœ๊ฐ™์ด ๋นจ์•„๋Œ€๋˜๊ฒŒ ์žˆ์—ˆ์ฃ . ๊ฑฐ ๊ทธ๋ ‡๊ฒŒ ๋นจ์•„๋Œ€๋˜ "๊ฒฝ์Ÿ์ฒด์ œโ„ข"์˜ ๋์ด ์ค‘๊ตญ์‚ฐ ๋คํ•‘์ฐจ๋Ÿ‰์— ์˜์กดํ•˜๋Š” ํƒ์š• ๋‚ด์ง€๋Š” ๋นˆ๊ถํ•จ์ด๋ผ๋Š”๊ฒŒ ๋งŽ์ด ๊ฑฐ์‹œ๊ธฐ ํ•˜์ฃ . ์ €๊ฑฐ ๋นจ์•„๋Œ€๋˜ ๊ตํ†ต์—ฐ ์ข…๊ฐ„๋‚˜ํ•˜๊ณ  ๊ตญํ† ๋ถ€ ๊ณผ์žฅ ์ƒˆ๋ผ๋ž˜ ๊ณ ์‚ฌํฌ๋กœ ์–ผ๋  ์กฐ์ง€๋ผ์šฐ.

์œ ๋Ÿฝ ๋Œ€์ค‘๊ตํ†ต๋„ ์ค‘๊ตญ์‚ฐ์ด ์ž ์‹โ€ฅ"์• ๊ตญ์‹ฌ ํ•„์š”" ๋ฐ˜๋ฐœ (...

0
1
0
0

์ด๋Ÿฐ๊ฑฐ๋ณด๋ฉด ์•„์ง๊นŒ์ง„ ๋ฐ์ดํ„ฐ ํ๋ ˆ์ด์…˜ ๋ฐ ํŠœ๋‹์„ ์œ„ํ•ด์„œ ์˜์™ธ๋กœ ์‚ฌ๋žŒ๋“ค์ด ์˜ค๋žซ๋™์•ˆ ์†์„ ๋ด์•ผํ•˜๋Š” ๋ฌธ์ œ ๊ฐ™๊ธดํ•จ ์–ด์ฐŒ๋ณด๋ฉด ์ด๋Ÿฐ ์ข…๋ฅ˜์˜ ์ผ์ž๋ฆฌ๋Š” ์•ˆ์ „ํ• ์ง€๋„ (๋จผ์‚ฐ)

0