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

Fediverse Report – #149 – On Protocol Governance – Connected Places:

"There are only two organisations that are active in the fediverse that are a paid member of the W3C: Meta and the Social Web Foundation. With the Social Web Foundation also receiving funding from Meta, the company that built Threads now has more institutional standing in ActivityPub governance than any of the organisations actually ... micro.fromjason.xyz/2026/01/17

0
0
0

Last night I went to see a play about the Labour movement here in Toronto – specifically about the 1872 printers’ strike. It was called “NINE HOURS NOW! The Battle for a Shorter Working Day”. The play was put on by the Toronto Worker’s Theatre Group, and we watched it at a Steelworkers Union building. I found out about the play because it was written by my friend, retired history professor Craig Herron. While the performances were, well, amateur, the content of the play was really interesting.

In 1872 the industrial revolution was coming to Toronto, with big machines displacing skilled workers and suppressing salaries in the clothing and metal-working industries. Men worked 10 hour days, 6 days a week. Women who worked were paid less and had home duties on top of that. Employer/employee relations were governed by Master & Servant Laws, which included the possibility of criminal prosecution if an employee disobeyed their boss. And yes, the bosses were referred to as “Masters” commonly.

1/4

0
0
0
0
0
0
1

A Catholic racist refused the Eucharist from an Indian woman, then bragged about it online: "I’m not gonna receive it from anyone who’s non-white. Sorry."

A reminder that Republicans literally think Jesus is white, loves money and guns, and hates the poor.

friendlyatheist.com/p/a-cathol

0
0
0
0
0
1
0
0
0

okay I’m morbidly curious about the correlation between transness and unemployment. are you…

0
0
0
0
0

This is important. "The writers you let go were the supply chain for the intelligence you're now betting on."
"…documentation […] is not a byproduct of development: it's the glue that ties the product together."

passo.uno/reconsider/

0
1
0
1
0
0
0
0
2
1
0
1

Periodic reminder that Newsom sucks.

Gavin Newsom comes out swinging against California billionaire tax:

In interviews with Politico and the New York Times, [Kimberly Guilfoyle's ex-husband] described his office's efforts to kill the proposed billionaire tax and told the Times he would "do what I have to do to protect [rich people's yacht money]". As a direct-to-voters ballot initiative, Newsom would not have the power to veto the tax if the proposal passed...
jwz.org/b/yk10

Screenshot

Hey look, here's Kimberly Guilfoyle's ex-husband sucking Ben Shapiro's dick: commondreams.org/gavin-newsom-

"Newsom then boasted that there have been 'over 10,000' deportations he’s cooperated with since he became governor of California. 'California has cooperated with more ICE transfers, probably, than any other state in the country,' he continued. 'I vetoed multiple pieces of legislation that have come from my legislature to stop the ability for the state of California to do that.'"

0
0

We have published our Manifesto, a document that lays out the rationale for the existence of CSE, summarizes our vision for humanity's future in , and calls people, governments and private actors everywhere to take action to realize that future.

Read the document here: doi.org/10.5281/zenodo.18283974

0
0

We have published our Manifesto, a document that lays out the rationale for the existence of CSE, summarizes our vision for humanity's future in , and calls people, governments and private actors everywhere to take action to realize that future.

Read the document here: doi.org/10.5281/zenodo.18283974

0
0
0

Finally re-routed coax from our attic antenna to the basement rack for HDHomeRun to be there instead of the living room.

My 5 yo daughter proudly crimped her first coax F connector (with a little help ofc). She also popped on hearing protection and vacuumed up the floor lol.

0
1
0
0
0
0
0
0
0

Yesterday was one of those good days doing hard stuff, playing with Chebyshev polynomials, binary coefficients, factorials of half integers, and other fun. All in the interest of a pointless decision to (re)implement the general 𝚪 function using the Lanczos approximation, but totally worth it for the experience alone.

The internet, the good old internet, is a treasure trove for this kind of work, especially but not exclusively wikipedia@wikis.world.

0
1
0
0
0
0
0

I've been musing on style. I have a question for the more experienced programmers out there.

How do you decide when a class's method doesn't actually need to be a method, but instead could just be a regular function?

I'm not talking about functions that need to be shared between classes. I'm talking about intentionally moving a method outside of a class, even though it will only ever be used by that class.

For example, if I've got a parser-related function that is only needed by the parser, I will normally just put it in the parser class as a method. It keeps things neat, I can make it private and lock down the class. But I've never before stopped to think whether this is the correct thing to do every time.

After all, (my language of choice) has the concept of units. I could just have some functions just as functions, and only have methods for things that directly need to update the class's properties.

It would make things easier for testing, too. I wouldn't need to create an instance of a class just to test a specific function works as intended.

But I don't know if it's the "right" way to do things in OO, or for that matter.

0