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
1

Die erste Schwarze Frau im Bundestag zu sein, klingt großartiger als es ist.
Heute haben wir im Plenum die Erinnerungskultur verhandelt.

Die deutsche Kolonialgeschichte wird von BKM Weimer an den Katzentisch verbannt. Die meisten finden nichts dabei.

An solchen Tagen spüre ich besonders, dass ich die einzige Schwarze Frau im Raum bin.

0
0
0
0
0
0
0
0
0

I published my first / library!

Niccup: Hiccup-like HTML Generation in ~120 Lines of Pure Nix.

Transforms Nix expressions into HTML.

The website has some cool examples, I'm especially proud of the quine one that was slightly tricky to get right: embedding-shapes.github.io/nic

Website: embedding-shapes.github.io/nic

And a softer introduction blog post with motivation and more background: embedding-shapes.github.io/int

Examples

let h = inputs.niccup.lib; in
h.render [
  "div#main.container"
  { lang = "en"; class = [ "app" "dark" ]; }
  [ "h1" "Hello from Nix" ]
  [ "p" "Hiccup-style HTML in Nix." ]
  (h.comment "List example")
  [ "ul" (map (x: [ "li.item" x ]) [ "one" "two" "three" ]) ]
]

Write to file (use nixpkgs writeText):

{ pkgs, inputs, ... }:
pkgs.writeText "index.html" (inputs.niccup.lib.render [ "p" "Hello" ])

Some more involved examples:

    art - Generative SVG (Sierpinski triangle)
    blog - Multi-page blog with navigation
    docs - NixOS module documentation generator
    quine - Self-rendering page

The website for niccup is generated dynamically with niccup too, the whole source is ~120 lines of Nix as well
0
0
1

a bit of I guess (?)

So the state of the in today world is that apps care more about the "brand" instead of using darn OS widgets (so all apps would look more or less uniform with the platform). Turns out that kinda switched from QtWidgets (native OS controlls) to QML and Qt Quick which doesn't use native widgets but rather paints it's own that try to look like the native ones via theming. So if you want native you should use QtWidgets.

Qt is kinda huge though because it's not only UI but a lot of libraries as well…

On the other hand there is a (github.com/libui-ng/libui-ng) which seems great (and has neat bindings for ) but it lacks quite a lot of widgets… (and on Linux they only do GTK :/)

Would be nice to have something like scaled-down-QtWidgets that don't require "whole" Qt and would offer nice bindings to Rust…

(though yesterday I dabbed a bit in "modern" ++ and it wasn't all that terrible 😱 )

0
0
0

Today's entry: ledger(1) & hledger(1)

I primarily use ledger use for my purposes¹ but try to mostly keep my data-files in a form that hledger can process them too.

Getting started involved a crash-course in accounting terms, but the use of positive/negative numbers (rather than "debits" and "credits" which always bugged me; though both have ways of specifying that output should be in credit/debit format) eased the transition.

While it started a little tedious, a few helper-scripts and shell-functions simplified adding new common entries and gave me lazy access to common reports.

I still struggle a little bit with closing the books (I though I'd figured it out, and documented it², but had some hiccups so I'll need to revisit my documentation in January)

But it's been incredibly helpful to see and track our household net worth, spot trends, keep tabs on gift-card balances that would otherwise get forgotten, track invoices sent to clients, and it simplifies balancing the checkbook monthly.


¹ plaintextaccounting.org/
² blog.thechases.com/posts/closi

0
0
0
0
0
0
5
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0

RE: mastodon.social/@why_not/11565

‼️Bitte zeichnen und Rehpost🦌💌‼️

"Mit der Petition wird gefordert, dass keine eigenen Register zur Erfassung von trans* und nichtbinären Personen geführt werden dürfen. (...) Jegliche Pläne zur Erfassung von Minderheiten in Sonderregistern sind unverzüglich zu unterlassen."

epetitionen.bundestag.de/petit

0
0
0
0

The last new for 2025 was just released and there are some really cool changes all around. One of the new additions is detection for FreeBSD's . Wicked cool!

From the article:

"In what might be a sign of the quiet continued spread of FreeBSD, the kernel can now detect and handle that it is running under FreeBSD's built-in bhyve hypervisor. Coincidentally, FreeBSD 15.0 just appeared as well, and in this release bhyve supports over 255 virtual processors [PDF] in a VM. Now Linux can handle that configuration."

The juicy details are here:

theregister.com/2025/12/03/ker

0
0
0
0
0

I wrote a short post about the that wrapped last week.

It was a humbling but rewarding experience and I would like to thank the organizers @djangonautDjangonaut Space , the navigator of team Jupiter @thibaudcolas and my teammates Collins, Lupyana and Rahul.

eigenwijsje.dev/blog/djangonau

0
0
0
0
0
0
0
0

Proruské úřady poslaly na 13 let do vězení česko-vietnamského občana Hoanga Trana, který bojoval na straně Ukrajiny.
ℹ️ Rozsudek vynesl soud v Luhansku, který je pod kontrolou tamní okupační správy. Trana poslal do trestanecké kolonie s přísným režimem.
🔵 Mladý muž se dostal do ruského zajetí v srpnu v Doněcké oblasti. České ministerstvo zahraničí se jeho případem intenzivně zabývá.
🔗 https://czch.tv/7fGAxX

0
0
0
0
0
0