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.

Handy thing I just spotted coming to Python 3.15:

"The -W option and the PYTHONWARNINGS environment variable can now specify regular expressions instead of literal strings to match the warning message and the module name, if the corresponding field starts and ends with a forward slash (/).

"(Contributed by Serhiy Storchaka in gh-134716.)"

docs.python.org/3.15/whatsnew/

github.com/python/cpython/issu

0

Heard about the am-dash (theamdash.com/) on the latest episode of 99 Percent Invisible.

As I understand it, there's no unicode for the am-dash yet. While I have downloaded Times New Human and Areal, I wouldn't now how to actually get the am-dash in a LaTeX-generated document, since the command to get it is more than a single character.

I hacked something together, but obviously that's not the same.

Does anybody know how to do it properly? Or maybe someone has already contacted Cocogun to ask if they'd be willing to collaborate on a project to make a tiny LaTeX package or something, just so we can use the am-dash in our LaTeX-typeset documents?

Text: "While this will work in a pinch — especially for a LaTeX hacker like me — it's not quite the same as a proper am-dash."

Instead of em-dashes, tho, there is a mirrored integral laying on its side.LaTeX source code for the standalone document. The am-dash-like character is achieved by a mathmode integral sign that is first rotate -82 degrees by a rotatebox command, then mirrored by a scalebox command.
0

This is getting out of hand, now there are 3 of them!

With 0.12.0 of django-tasks, the DB and RQ backends are now in their own packages and repositories - making the separation between the interface and flagship backends clearer.

github.com/RealOrangeOne/djang

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

@mcc I've read that the average inefficiency of money laundering is roughly 2:1 to 3:1, as in when you do crime, you're going to lose 50-67% of your proceeds in schemes to 'legitimize' it. So BitCoin could probably end up 2-3x the cost of energy and still be in common use. That's probably where it's asymptotically heading, now.

0
0
0
0
0
0
0
0
0
0

It's funny to see people joining Substack in 2026 and saying, "I am reluctantly beginning a Substack since it's now clearly the only way to make money as a writer. Someone please help me find the check box in the account settings to accept my $250,000/year revenue guarantee from Substack like Matthew Yglesias got."

0
0

Him: well what's your big brain idea to eliminate food assistance fraud?

Me: universal food assistance

Him:

Me: because there wouldn't be a system to cheat, everyone would just get a check

Him: and who does that benefit?

Me: family farmers and human beings who rely on food for nutrition

Him: what about rich people?

Me: what about them?

Him: you would give them food assistance too?

Me: that's what universal means

Him: you can't do that

Me: yesterday you said I couldn't tax them and now you won't let me feed them either?

Him: they can afford food

Me: then it should be fine to tax them

Him: but if you tax them they won't have as much money

Me: I'm willing to offer universal food assistance

0
0
0
0
0
0
0

If you wanted to send me a monetary tip for my excellent Mastodon posts, which platform would you prefer to use?

(Please don't be a dick in the replies as a muting often ofends.)

0
0
0
0
0
0
1

As I wrote before (mastodon.bsd.cafe/@evgandr/115) I tried to use TURN server for communication with my relatives, but failed to setup secure enough solution. So, I decided to try an old and reliable solution — Asterisk. With the help of a book "Asterisk: The Definitive Guide" from J.V. Meggelen & R. Bryant & L. Madsen, of course.

First, I was forced to build the asterisk package by myself (from ports, ofc), since the binary version from NetBSD repository compiled with the all DB support, except my favourite PostgreSQL database.

By the way, adding users and writing dialplan with the help of aforementioned book was not so hard as I expected :drgn_happy_blep:. Same for network setup. Since, I'm using PJSIP I just opened SIPS port and a range of UDP ports for RTP protocol on the my firewall. Despite, my home network hidden behind NAT on the router, there are no big problems with networking — end-user devices and an Asterisk server connected with use of simple star topology.

Surpisingly, the quality of the voice call is excellent comparing with service, provided by local cellular network operators. I suppose, that the secret in used codecs, or it is because there are not so much users (only 2) of my service.

Hand-drawn diagram of connection between my Asterisk server and the two end-users with mobile phones (with Linphone application on these phones).
0
0

I wonder: since I have problems with speeds when it comes to fetching data from freebsd pkg, would torrent work? Would a torrent-based (or any p2p) package manager work? So, say you share all packages that are in your cache.

0

About that $50k ICE "bonus"

Some people will do anything for money, or maybe they are just in dire situations. Anyway $50k to join ICE might tempt some people.

Well.

* It's not 50k it's 10k per year for five years. Big difference.
* It is a five year *commitment* bonus. You need to work the full five years OR you must pay it back.
* So if your work for 3 years then quit you owe them 30k! (money you may need for a lawyer)
* The first 10k will be about $6500 after taxes.

Just so everyone knows.

0
0
0

Blacksky has already built their own ATProto stack that's fully independent from Bluesky.

Now Eurosky is making progress as they roll out their own PDS.

I see more independent infrastructure springing up on atp.fyi/network, including AppViews.

For anyone hoping that we'll get another wave of people coming to the fediverse once Bluesky folds/enshittifies, that might not necessarily be the case as people will have more options to stay in the Atmosphere.

0
0
0
0
0

ABC7: Mountain View suspends license plate readers; agencies accessed flock camera data without consent

"MOUNTAIN VIEW, Calif. (KGO) -- The city of Mountain View is shutting down their license plate reader system, for now.

City officials say an audit discovered that for several months in 2024 - multiple federal agencies accessed data from a Flock license plate reader...."

abc7news.com/post/mountain-vie

0
0
0

@evanEvan Prodromou yes! The primaries are super important to focus on, since they're when we have a chance to replace ineffective (or even collaborating) neoliberals with progressives. THIS is the time to fight like hell for the best candidates, not by withholding votes in the general.

IMO if the Democratic party stays under the forceful control of neoliberals, they will keep losing important elections. When polled on individual issues, US voters strongly support progressive policies.

0
0
0
0

NPR: Lenexa police investigated author of column criticizing the department. He's 'pissed off'

"...A KCUR investigation discovered the department used the city’s license plate readers to track the writer’s movements and it issued a “be on the lookout” for him.

On Oct. 21 the entire Lenexa, Kansas police patrol division was hunting Canyen Ashworth.

At 1:50 that afternoon, the department issued a BOLO — police shorthand for “be on the lookout” — for the 28-year-old information technology consultant and sometimes writer.

There were two problems. They didn’t have a charge, and he was the wrong man....."

kcur.org/politics-elections-an

0
0
0
0
0

RE: mastodon.social/@webintents/11

Imagine being able to share your fediverse account on other platforms using this powerful new service that makes it super easy for them to follow you no matter what server they are on, and if they don't have an account yet, we can onboard them by leveraging the vast and community curated data from FediDB + CommunityDB.

Follow anyone. Any software. Any account. One link or self-hosted html button ✨

We need better UX and this is a huge step in the right direction.

Fedi Devs: Let's chat ✨

0
0
0

"Democracy is now back to 1985 levels according to some metrics, with 72 percent of the world’s population now living under autocracy. Russia and China are less free today than 20 years ago. And so is the United States".

-Human Rights Watch, World Report 2026

hrw.org/world-report/2026

0
0
1

A problem with Bitcoin is the design resists understanding. The design is convoluted and contains many elements which are either present for solely ideological, not practical reasons, as well as elements which are extraneous altogether. Conversations about Bitcoin as a social entity get bogged down in everyone trying to hash out how it even works. I now believe if you're going to make a strongly used system there's a moral imperative to make it graspable by a human mind. Otherwise u get Bitcoin

0