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

RE: mastodon.social/@elasticsoul/1

I've long believed Bitcoin is impossible to "kill" but a possibility that didn't occur to me is mining a bitcoin block could start to cost more than one acquires from mining a bitcoin block. And the compute cost of making a block *does* increase w/ time.

This *seems* to show the lines crossed, but 2 questions I have:
- If the number of miners participating decreases, does the cost of mining one Bitcoin decrease?
- How much does earn get in "tips" while spending that $87,000 to mine one Bitcoin?

0
0

Oh, serendipity! A few things line up together, creating opportunities for rare discoveries. This time it's a thing that probably will require someone to go and edit the Wikipedia page for Ubuntu...

How did we end up here? Well, first, I've been meaning to play with an old Ubuntu for a long time. Second, Atsuko unpacked out our Pentium III desktop last week. Third, Atsuko left me alone for half a day, and the only thing I could bring myself to do was trying out different Linuxes on this Pentium III machine.

Buckle up, I'm about to share many screenshots of old Live CDs, and some of them might surprise you (a little bit?).

Thread 🧵

A photo of a CRT showing how a computer boots. It says Pentium III 450 MHz with 512 MB of RAMFull table of the computer specs as displayed by the BIOS. Photo of a CRT screenUbuntu 4.10 Live CD boot screen as seen on the CRTScreenshot: Ubuntu is loading
0
0
0
0
0
0

"Denmark to ban social media for under-15s as PM warns it is ‘stealing childhood’"
theguardian.com/world/2025/oct
No, it's you who don't understand what a childhood's actual evolution function is.

The purpose of childhood is, purely scientifically, to play at the lives of adulthood, to thereby through the mechanism of "fun" learn the world that we will be living in as adults.
Due to our disproportionately large brains humans are born unready for the world, while other animals are done at birth, while we are evolved to expect at least around 20 years before finalized outside the womb.
During that process it is evolved for us to experience hardships such as social interactions to learn norms of our "in-groups", etc, and learn how to defend against predators and other exploitative harmful behavior.
This is what these ignoramuses are now striving to deprive people of by law, while the same people almost certainly will suddenly when adults WILL be subjected to the same "social media" and probably worse such, during their entire adulthood.
That is not "my opinion", that's science.
This is an attempt at a probable lifelong harm against the subjected generations.

Instead?
Invest in schools teaching source criticism, online self-defense, right to privacy, in the school and psychiatric systems, etc, etc.

The so-called "age verification" labeled as "to protect the children" just ARE NOT about that.
Those pushing them either lie if claiming so, or too incompetent for their power. Those are the only options.

It IS about wrecking the foundations of a free Internet and through that disabling a free and participatory society by imposing mandatory ID to be allowed public political speech, to use political organizing platforms, and access to essential info about what is happening around us.

If it would have been about protecting, not just "the children", but any of humankind they would instead fix the root causes at harmful platforms, like ending intentionally addictive algorithms and infinite scrolling, regardless whom harmed by it.

These authoritarian proposals go against all humankind's evolved developmental process, where humans MUST have naturally progressing access to what we will be required to use and exposed to as adults. That is the actual entire point of childhood.
A blanket ban until some magic day after the development is done will leave people entirely unprepared for all dangers suddenly shoved at them, the ban having caused severe irreparable harm.

The bans ARE to protect ruling politicians from opposition and platform-corporation execs from ending their harming for profit of you.

0
0
0
0

Hey @ykbooks so nice to see you here. Thank you for honouring the legacy of bookshops as nodes of the revolution 😀 . We're a small community in but the fediverse is vast and full of interesting people. Local fellow travellers include @miki_louLM Little, @ffuiteFraser Fuite, @cabinradio, @EricMcLEric. For Canadian fediverse insights you can follow @evanEvan Prodromou, @paigePAIGE! 🍁, @smattymattyMathew Storm, @ZebKingZeb King 🇨🇦, @cwebberChristine Lemmer-Webber @paulbuschInnocuous In Innisfil 🇨🇦

0
0
0
0

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

RE: mastodon.social/@ieeespectrum/

my neighbor told me exploits keep happening to his repos so i asked how many maintainers he has and he said he just has a makefile that tells an llm to refactor the entire thing into rust for releases so i said it sounds like he's just feeding cve's to rust hackers and then his claude ran out of credits

0
0
0
1
0
0

おっさんぽから戻ったら、スタンドアローンで掃除してくれてたルンバさんがソファに捕獲されてた。ごめんよう。オフラインだと物理で探すしかないんだよねぇ…

0
0

Bought a half-dozen lens filters from Goodwill for $5 USD because there was a Heliopan and a B&W in the set.

Also found an 85A filter for shooting tungsten film in daylight. Looking through it, it really warms up these blue-gray winter days, pulls out the sun's highlights in the clouds. Makes me want to shoot daylight film with it.


0
0
0
1
0

RE: mastodon.social/@stroughtonsmi

This is one of the worst takes from LLM enthusiasts.

Compilers are deterministic, extremely well tested, made out of incredibly detailed specifications debated for months and properly formalized.

LLMs are random content generators with a whole lot of automatically trained heuristics. They can produce literally anything. Not a single person who built them can predict what the output will be for a given input.

Comparing both is a display of ignorance and dishonesty.

0
0
0

I have deeply mixed feelings about 's adoption of JSON-LD, as someone who's spent way too long dealing with it while building .

Part of me wishes it had never happened. A lot of developers jump into ActivityPub development without really understanding JSON-LD, and honestly, can you blame them? The result is a growing number of implementations producing technically invalid JSON-LD. It works, sort of, because everyone's just pattern-matching against what Mastodon does, but it's not correct. And even developers who do take the time to understand JSON-LD often end up hardcoding their documents anyway, because proper JSON-LD processor libraries simply don't exist for many languages. No safety net, no validation, just vibes and hoping you got the @context right. Naturally, mistakes creep in.

But then the other part of me thinks: well, we're stuck with JSON-LD now. There's no going back. So wouldn't it be nice if people actually used it properly? Process the documents, normalize them, do the compaction and expansion dance the way the spec intended. That's what Fedify does.

Here's the part that really gets to me, though. Because Fedify actually processes JSON-LD correctly, it's more likely to break when talking to implementations that produce malformed documents. From the end user's perspective, Fedify looks like the fragile one. “Why can't I follow this person?” Well, because their server is emitting garbage JSON-LD that happens to work with implementations that just treat it as a regular JSON blob. Every time I get one of these bug reports, I feel a certain injustice. Like being the only person in the group project who actually read the assignment.

To be fair, there are real practical reasons why most people don't bother with proper JSON-LD processing. Implementing a full processor is genuinely a lot of work. It leans on the entire Linked Data stack, which is bigger than most people expect going in. And the performance cost isn't trivial either. Fedify uses some tricks to keep things fast, and I'll be honest, that code isn't my proudest work.

Anyway, none of this is going anywhere. Just me grumbling into the void. If you're building an ActivityPub implementation, maybe consider using a JSON-LD processor if one's available for your language. And if you're not going to, at least test your output against implementations that do.

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