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.

2
1
0
0
0
0

I have a method defined in a `@MainActor` class that makes operations, however they don’t execute immediately. The only way I can make it work is to move all the SceneKit related code inside a `Task { @MainActor in }` block. Why? Shouldn’t the whole method be already isolated?

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

A software engineer without "soft skills" is 0.1x engineer.

We all know this guy.

The one that you make sure to never talk to customer. The one you always need to ensure you approach carefully. The one who's "not good with people."

Yeah, that guy.

Software engineering is fundamentally a team sport. Even if he is very fast at typing in and recalling algorithms from memory, he'll make the entire org around him 1/10 as effective.

0
0

the g in gobject stands for glib, and the g in glib stands for gtk, and the g in gtk stands for gimp, however the g in gimp stands for gnu, so really the g in glib stands for gnu, but you shouldn't confuse it with gnulib, which is developed by the gnu project, who shouldn't be confused as the developers of glib, which is the gnome project, in which the g also stands for gnu

0

"In the 21st century, every government should understand that ensuring software sovereignty and security is part of its job, not only for themselves but also for businesses, society, and researchers. In the 21st century, software is the invisible infrastructure of our everyday life, like roads and bridges."

(1/5)

Photo: Jaime Villanueva

Adriana Groh sitting on stairs
0
0

Is there a Mastodon app or something that will hide posts without alt text?

Edit: Not a visual cue. That defeats the purpose for people on a screen reader. I am wanting something that hides the post. I have been given a page to tag and a bot can come help, so that's super helpful and I will use that! (And not follow ppl who don't use/share with alt text. 🤷‍♀️)

I know there is a browser app but I mostly use social media from my phone.

Thanks! 😘

0
0
0

doom, shitshow, horrorclowns, dunning-kruger "leadership"

theguardian.com/world/2025/dec

"Datacentres, AI gigafactories [...] may be exempt from mandatory environmental impact assessments in the EU under a proposal that advances the European Commission’s rollback of green rules."

🔥

0
1
1
0
0

Wah und dann kommen aus dem Sozialamt so Aussagen wie "Dass die sich hier überhaupt noch hertraut, da fehlt mir irgendwann auch mal das Verständnis" und ich denke nur jupp, Leute mit solchen Aussagen sind exakt der Grund, warum Menschen nicht zum Sozialamt gehen, wenn sie Hilfe brauchen 😡 Menschen, deren einziges Vergehen es ist, arm zu sein und nicht erwerbsfähig und die dieses Kacksystem mit tausend Zuständigkeiten nicht verstehen und deshalb von einer Bredouille in die nächste stolpern 🤬

0
0
0

Do you financially support the media that you enjoy most often?

If you enjoy posting on the fedi do you support your server? Other small servers?

If you enjoy watching videos do you support the people who make them?

If you read articles do you support the reporters?

What about local theatre and music?

If you have netflix money, spotify money, Hulu or Bobo or whatever money you have money that could do this.

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

New post: "A newbie's guide to self-hosting with . Part 1: reasons + requirements"

🔗 : blog.elenarossini.com/a-newbie

I can't believe my one year anniversary is coming up next week. @yunohostYunoHost :neopossum_box: truly changed my digital life - for the better.

This is a 1st post in a 4 part miniseries intended for real newbies.

And now excuse me while I go hide in a cave expecting irate replies from sysadmins about certain things I wrote 😅

0
0
2

AIで生成される動画や画像は海外風になることが多い(モデルのクロール対象が海外コンテンツの割合が多い)から、それに(非AIコンテンツも)影響を受けて、今後日本らしさのある画風やキャラクターデザインはより加速して失われていくというのが持論​:nullcatchan_goodnight:

0
0
0
0
0

It's so ANNOYING to break out of nested loops.

Auxiliary variables, conditional statements, non-linear paths through your code...

It's a mess!

But if you extract the looping logic to a generator, you get:

- less indentation ✨
- a flat loop you can easily break out of ✨

Diagram showing the trick in action.

Code before simplification:

done = False
for n in range(1, len(switches) + 1):
    for group in combinations(switches, n):
        state = simplify(group)
        if state == target:
            print("found!")
            done = True
            break
    if done:
        break

Code after simplification:

def groups_of_switches(switches):
    for n in range(1, len(switches) + 1):
        for group in combinations(switches, n):
            yield group

for group in groups_of_switches(switches):
    state = simplify(group)
    if state == target:
        print("found!")
        break
0

Migration: Merz versichert Trump Kurswechsel in deutscher Migrationspolitik | DIE ZEIT zeit.de/politik/ausland/2025-1
Als ich das eben las, dachte ich, nun kriecht der Friedrich dem Trump ordentlich in den Ar...
Was mischt er sich neuerdings in europäische und innerdeutsche Angelegenheiten ein?
Wenn sich deutsche Politik freiwillig zum Hampelmann degradiert, hat Trump gewonnen.
Wir sind schwach, wir haben uns zulange ausgeruht.

0
0

커미션 구인을 할까요 말까요 일단 오늘은 안할거임
말랑하고 눈나의 중간을 잘 그리는 작가님이 필요해

제게 커미션을 주문받으시면
퍼리를 그리게 되거나
버튜버가 되거나
떡상할 수 있습니다
(아닐 수도 있음)

그리고 구인해서 온 작가는 퀄리티가 별로라는 징크스가 있는데
자신 있으시다면
징크스 파괴자라는 칭호도 얻을 수 있을까요

1
0
0
1

RE: w3c.social/@w3cdevs/1155788979

📢 Help shape the future of Web architecture! @w3cWorld Wide Web Consortium is seeking input from the wider community for appointing two (2) individuals to the @tagTechnical Architecture Group.

▶️ Nominate yourself and/or others by January 5, 2026 at nomination@w3.org!

The TAG needs a well-balanced mix of skills. It currently lacks expertise in /UX/GPU/#media, needs of users in less-wealthy regions (such as South America, Africa, and non-CJK Asia), and non-male perspectives.

Read more: w3.org/blog/2025/w3c-seeking-c

Please share!

0