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
0

TIL you can embed dependencies in a gist and then run it as a one-shot script using uv. In screenshot 1 I've pulled in pyfiglet to create a snazzy message. You can inline your dependencies into your script using `uv add --script <dep>`. This adds the necessary preamble as a comment (screenshot 2). I came across this tip whilst surfing Simon Willison’s gists. I've linked to Simon's more detailed blog post and the documentation in . simonwillison.net/2024/Dec/19/
docs.astral.sh/uv/guides/scrip

powershell prompt where I'm running a python script in gist. The script installs it dependency (pyfiglet) and prints a banner that reads, "no sploit today"This is the source code to the script run in the previous screenshot. It shows the python dependencies as a preamble comment at the start of the script. Then the script it self imports pyfliglet, initialises the object to use the slant font and then renders the banner by printing the return value from the renderText method. You can see the full text here https://gist.github.com/booyaa/208a265f0f0ecc1ec21008145689ab62#file-how-long-before-pwn-py
0
0
0
0
0
0
0

Hiding secret codes in light protects against fake videos news.cornell.edu/stories/2025/

Fact-checkers may have a new tool in the fight against misinformation for AI generated or manipulated videos.

A team of Cornell researchers has developed a way to “watermark” light in videos, which they can use to detect if video is fake or has been manipulated.

0
0
1
0
0
0
0
0
0
0

Hi from afar to everyone at Fedicon this weekend! Miss you all. Hope it’s great!

I’ve been vicariously enjoying the stream of #Fedicon posts, almost makes me feel like I was there. Props to all of the speakers, @deadsuperhero and others for the live blogging, and most importantly @reiver for organizing Fedicon itself!

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

I can't speak for Julian, but I can talk about my impressions from @boris 's presentation.

He went through a dozen different apps running on the ATProto network that create custom data types and interactions and distribute them through the network. It's all happening on the client side, so these new apps aren't their own PDS servers; they can concentrate on cool client experience and leave the distribution up to the back end.

This is almost exactly parallel to the ActivityPub API. It was cool seeing recipes, check-ins, images, events all being created and managed by server less web clients.

It definitely reenergized me for focusing on the ActivityPub API.

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

Hi from afar to everyone at Fedicon this weekend! Miss you all. Hope it’s great!

I’ve been vicariously enjoying the stream of #Fedicon posts, almost makes me feel like I was there. Props to all of the speakers, @deadsuperhero and others for the live blogging, and most importantly @reiver for organizing Fedicon itself!

0
0
0
0
0
0