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

@doopledi .. and all those upholding it, unable to step out of it, as they are part of it. Including all us commoners by default.

To get to a new alternative system, you have to cheat at scale, keep it at bay for prolonged periods, while you nurture, care, foster, introduce, and mature a viable alternative until it takes firm root and can fend for its own :)

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

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
0

I just had a discussion with a friend, that the last years each felt exhausting like a complete decade.

Then I remembered this quote:

“His age was indeterminate. But in cynicism and general world weariness, which is a sort of carbon dating of the personality, he was about seven thousand years old.”
― Terry Pratchett

And we both felt as Terry has been looking at us when he wrote it.

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

Reached my goal of *400* sales today! Last day of the year… I did the thing!

I’m really proud of myself: my resilience, my tenacity, my stubbornness, my creativity, my love for building something new and sharing that with others.

I hope the new year brings you new ways to see yourself and explore who you are, and opens up new pathways for success in your life - no matter what that looks like.

I believe in you. 💜

0
0

Reached my goal of *400* sales today! Last day of the year… I did the thing!

I’m really proud of myself: my resilience, my tenacity, my stubbornness, my creativity, my love for building something new and sharing that with others.

I hope the new year brings you new ways to see yourself and explore who you are, and opens up new pathways for success in your life - no matter what that looks like.

I believe in you. 💜

0
1
0
0

“Don't you know
They're talking about a revolution?
It sounds like a whisper
Don't you know
Talking about a revolution?
It sounds like a whisper

While they're standing in the welfare lines
Crying at the doorsteps of those armies of salvation
Wasting time in the unemployment lines
Sitting around waiting for a promotion

Don't you know
Talking about a revolution?
It sounds like a whisper

Poor people gonna rise up
And get their share
Poor people gonna rise up
And take what's theirs

Don't you know you better run, run, run, run, run, run
Run, run, run, run, run, run
Oh, I said you better run, run, run, run, run, run
Run, run, run, run, run, run

'Cause finally the tables are starting to turn
Talkin' 'bout a revolution
'Cause finally the tables are starting to turn
Talkin' 'bout a revolution, oh no
Talkin' 'bout a revolution, oh

I've been standing in the welfare lines
Crying at the doorsteps of those armies of salvation
Wasting time in the unemployment lines
Sitting around waiting for a promotion

Don't you know
Talking about a revolution?
It sounds like a whisper

And finally the tables are starting to turn
Talkin' 'bout a revolution
Yes, finally the tables are starting to turn
Talkin' 'bout a revolution, oh, no
Talkin' 'bout a revolution, oh, no
Talkin' 'bout a revolution, oh, no”


youtu.be/Xv8FBjo1Y8I

0
0
0

I didn't transition to become a girl. I transitioned because I am a girl

who is also a 5th dimensional being with 4th dimensional flames for eyes and accepts tithes in honor of my beauty and wrath and who was once part of all, fractured into the universe, gathered like a handful of ash, gathered without regard to my self-determination, and this I am self-assembled, and will one day fracture and gather again in my own self-imposed samsara until the moments when we can once again gather at the center of existence in an embrace outside of time before we fracture again.

I wish cis people could understand this is why we transition.

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

If anyone needs a last 2025 tax receipt, World Central Kitchen has a benefactor doubling all donations for their Gaza aid mission, up to $2million USD, ending tonight.

If you recall, 7 WCK aid volunteers were murdered when the IDF bombed their clearly marked convoy on an approved, demilitarized route in April, 2024.

I think it speaks volumes about the commitment of WCK and Chef Andres that they just laced up more boots and got them back on the ground in Gaza.

donate.wck.org/campaign/747111

I generally donate locally, to orgs that can issue Canadian tax receipts. I like knowing and being able to check up with the CRA on the orgs I support.

There are a few global-scope exceptions for me, most having to do with humanitarian aid. Fewer still would be US-based, but WCK is one of those.

0

A recent popular work of sci-fi got me wondering if a biological radio is possible. As cells are basically nano-factories I expect the answer is yes. But what are the most plausible designs for a biological radio receiver and transmitter?

0

https://www.youtube.com/watch?v=LcCR-bQzohA

포르쉐의 브랜드는 "속도"인데, 최고속은 몰라도 가속력에서는 전기차가 더 나음. 대중차 클래스에서는 가격과 충전 인프라가 걸리지만 포르쉐 가격대에서는 문제되지 않지.

이에 포르쉐도 급진적인 전기차 이행 계획을 세웠으나 실제 차량의 품질이 기대 이하인데다 부품 공급망 유럽화에 실패하면서 결국 중국 기술 아니냐는 반응이 다수. 지금 속도를 원한다면 테슬라 플레드나 현대 아이오닉 N이 정답임.

결국 브랜드가 붕괴 중이지만 대응책이 없는 상황. 내연기관 선호가 남아있는 시장에서는 당분간 버티겠지만, 속도의 정답은 그 시장도 알고 있어서 몰락은 시간 문제일 뿐.

0
0
0
0

Climate activists we surveyed stated that tech was essential to their activism, and a majority rely on social media for their work. To support those protecting our planet, we created a guide to limit social media monitoring. pvcy.org/climate

0

@mwl@io.mwl.ioMichael Lucas :flan_set_fire:’s post made me revisit RCS in a very small role: a safety net for individual files.
Paired with nvi, a tiny wrapper lets me snapshot configs before risky edits. Simple, local, no magic.

Example wrapper I’m using:

#!/bin/sh
#
# safeedit — RCS-backed safe editing with nvi
#

set -e

if [ $# -ne 1 ]; then
echo "usage: safeedit <file>" >&2
exit 1
fi

FILE="$1"

if [ ! -f "$FILE" ]; then
echo "safeedit: file not found: $FILE" >&2
exit 1
fi

DIR=$(dirname "$FILE")
BASE=$(basename "$FILE")
RCS_DIR="$DIR/RCS"
RCS_FILE="$RCS_DIR/$BASE,v"

mkdir -p "$RCS_DIR"
chmod 700 "$RCS_DIR"

if [ ! -f "$RCS_FILE" ]; then
ci -l "$FILE"
else
ci -u "$FILE" || true
co -l "$FILE"
fi

exec nvi "$FILE"
nvi protects the session; RCS protects the decision.

Original post by @mwl@snac.bsd.cafe: https://io.mwl.io/@mwl/115814245521209100


0
0

RE: mastodon.online/@BrentToderian

Ich habe mich damals gefragt, als Musk den Tunnel unter Las Vegas bauen ließ: warum macht er das?

Jetzt hat er zugegeben: es ging allein um Verhinderung des ÖPNV.

"Elon Musk gab gegenüber seinem Biographen zu, dass der Hyperloop angekündigt wurde, um das kalifornische Hochgeschwindigkeits-Eisenbahnprojekt zu stören und dessen Erfolg zu verhindern"

0
0
0
0