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.

i'm looking for a new HBA for my FreeBSD file server, is the LSI SAS3416 a reasonable choice?

it seems to be supported by the mps(4) driver and does both SAS/SATA and PCIe, and has PCIe 3.1 for the host interface, so i'm assuming it's a reasonable upgrade for my current LSI SAS2008.

(i mostly just want more ports, but more performance and the ability to use NVMe disks would be nice too.)

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

Fetching remote objects or actors often involves handling lookups, content negotiation, and then parsing potentially untyped JSON.

With , it's much simpler: use Context.lookupObject(). Pass it a URI (e.g., https://instance.tld/users/alice) or a handle (e.g., @alice@instance.tld), and Fedify handles the lookup and content negotiation automatically.

The real power comes from the return value: a type-safe Activity Vocabulary object, not just raw JSON. This allows you to confidently access properties and methods directly. For example, you can safely traverse account moves using .getSuccessor() like this:

let actor = await ctx.lookupObject("@alice@instance.tld");
while (isActor(actor)) {
  const successor = await actor.getSuccessor();
  if (successor == null) break;
  actor = successor;
}
// actor now holds the latest account after moves

This is readily available in handlers where the Context object is provided (like actor dispatchers or inbox listeners).

Focus on your app's logic, not protocol boilerplate!

Learn more: https://fedify.dev/manual/context#looking-up-remote-objects

0
0
0
0
0
0
0
0
0
1

Als ich meinen Auftritt für letzte Woche (Anfang April 2025) in Köln vorbereitet habe, ist mir aufgefallen, dass ich kein Lied habe, was einen klare politische Ansage gegen Nazis trifft. Und das geht so nicht.

Wer letzte Woche in Köln war, hat es schon gehört; ich hab allerdings noch bisschen an Text und Sound "gefeilt"… Hier ist das fertige Release.

Die Osterwoche geht ja los — betrachtet es als kleines musikalisches :) - kopiert es ruhig allen, die es verdienen (Creative Commons machts möglich)!

0
0
0
0
0
0
0
0
0
0
0

To display the compression ratio for the ZFS dataset /var/log on the pool
mypool, run the following command:

zfs get refcompressratio mypool/var/log

The refcompressratio will only display the compression ratio for that specific
dataset, not the descendant datasets. To include the child datasets, the
command looks like this:

zfs get compressratio mypool/var

-- Benedict Reuschling <bcr@FreeBSD.org>

0
0
1
0
0
0
0
0

To display the compression ratio for the ZFS dataset /var/log on the pool
mypool, run the following command:

zfs get refcompressratio mypool/var/log

The refcompressratio will only display the compression ratio for that specific
dataset, not the descendant datasets. To include the child datasets, the
command looks like this:

zfs get compressratio mypool/var

-- Benedict Reuschling <bcr@FreeBSD.org>

0
0
0
0
0
0
0
0
0
0
0

Recap of CloudFest hackathon

When you hear ‘CloudFest’, many people associate it with a business-to-business event, which it is, but the hackathon in the run-up to it still has a certain degree of community character. On the initiative of Andreas Heigl (@heiglandreas@andreas.heigl.org) and the support of Matthias Pfefferle (@pfefferleMatthias Pfefferle), this year’s hackathon provided the resources and space for an exchange of ideas around ‘federated events’.

Our group was one of the largest and very diverse. We used the first day primarily to exchange ideas about our goals and the status quo. Afterwards, we reviewed and improved existing features and developed prototypes and concepts for new ones.

For me as a developer of the WordPress plugin Event Bridge For ActivityPub, the best thing about these days was to finally get to know the entire WordPress/Automattic team involved with ActivityPub in person (greetings to @mattwiebe and @obenlandKonstantin Obenland’s :yikes:).

I would like to emphasise a few achievements in particular, without neglecting the achievements of all:

  • Matthias Heigl took the time to take an intensive look at the FEP-8a8e. His many years of experience with the development of calendar features and iCal provided important suggestions for making the specification even more far-sighted.
  • Laura (working-directory.com/) helped to reduce the barriers new developers face when experimenting with the interaction of Gancio/Mobilizon and WordPress and others.
  • Finally, many thanks to Cloudfest for the great organisation and hosting!

Links:

0