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

We are excited to announce that CIRA has been listed in the 🍁 Canadian Cyber Directory!
By choosing CIRA, you're not only getting top-notch cybersecurity, but also supporting Canadian communities through our Net Good program. Together, we can help keep Canada's digital space safe and contribute to growth and innovation across the country. Browse the Canadian Cyber Directory here: buycanadiancyber.ca/directory/

Buy Canadian Cyber Directory home page
0
0
1
0
0
1
1
1
0

We are excited to announce that CIRA has been listed in the 🍁 Canadian Cyber Directory!
By choosing CIRA, you're not only getting top-notch cybersecurity, but also supporting Canadian communities through our Net Good program. Together, we can help keep Canada's digital space safe and contribute to growth and innovation across the country. Browse the Canadian Cyber Directory here: buycanadiancyber.ca/directory/

Buy Canadian Cyber Directory home page
0

boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you boost if you like the gays

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

大家應該都知道在德國公開使用納粹符號、否認或輕視納粹罪行是刑事罪,其實用納粹或希特勒來類比他人或是團體(Hitler-Vergleich)也極不恰當(例如說某人是希特勒、某黨是納粹...),在某些情況下甚至也會觸法。
Hitler-Vergleich除了涉及侮辱及名譽誹謗,同時也是煽動仇恨與對立;另一方面有淡化納粹罪行之嫌,因為納粹所犯的罪行是對一整個民族有系統的迫害及滅絕,同時也是戰爭罪,這種罪行前所未有,是一般人或團體的言行遠遠不能相提並論的,這種類比反而弱化這些罪行的歷史意義,也無益於建設性和客觀的討論。

0
2
0
0
0
1
1
1
1
2
0

Everything is terrible but here is one thing that isn't: the Rebel Spirit podcast, a labor of incredible love from Akilah Hughes and me about trying to make real change in the face of history, is up for a Webby and I NEED your vote. ENDS TODAY. PLEASE VOTE.

vote.webbyawards.com/PublicVot

0
1
1
0
0
0

The sun is setting as launch week nears the end...

Monday — Ecosystem Party 🥳
Tuesday — 4...3...2...1... 5.7 🚀
Wednesday — Meet the new features 🔬
Thursday — Stellar updates for your docs 💫
Friday — ???

0
0
15
0
0

The absence of trans people from the British media is part of the problem. I'd like to offer mentoring to trans people trying to get into journalism, free of charge. Most of my experience is obviously in political commentary, but I might be passably useful in news and other areas.

0
0
0

I finally eliminated the need for a dedicated controlling the pam helper in . 🥳

The building block that was still missing from was a way to await some async I/O task performed on the main thread from a worker thread. So I added a class to allow exactly that. The naive implementation just signals the main thread to carry out the requested task and then waits on a for completion, which of course blocks the worker thread.

Turns out we can actually do better, reaching similar functionality like e.g. / in C#: Release the worker thread to do other jobs while waiting. The key to this is user context switching support like offered by -1.2001 and friends. Unfortunately it was deprecated in POSIX-1.2008 without an obvious replacement (the docs basically say "use threads", which doesn't work for my scenario), but still lots of systems provide it, e.g. , , (with ) ...

The posercore lib now offers both implementations, prefering to use user context switching if available. It comes at a price: Every thread job now needs its private stack space (I allocated 64kiB there for now), and of course the switching takes some time as well, but that's very likely better than leaving a task idle waiting. And there's a restriction, resuming must still happen on the same thread that called the "await", so if this thread is currently busy, we have to wait a little bit longer. I still think it's a very nice solution. 😎

In any case, the code for the PAM credential checker module looks much cleaner now (the await "magic" happens on line 174):
github.com/Zirias/swad/blob/57

0

Everything is terrible but here is one thing that isn't: the Rebel Spirit podcast, a labor of incredible love from Akilah Hughes and me about trying to make real change in the face of history, is up for a Webby and I NEED your vote. ENDS TODAY. PLEASE VOTE.

vote.webbyawards.com/PublicVot

0