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

Thing I'm trying to figure out:

- I want to use .htaccess to block a subdirectory from being accessed. (Because of a reason, the .htaccess cannot go *in* the subdirectory.)

- Lots of SO replies suggest using <Directory "dirname"> with a deny from all.

- But this doesn't work. "<Directory not allowed here".

- Lots of SO posts also agree <Directory> and <Location> are not allowed in .htaccess.

- If it's not allowed it's not allowed. But why do so many people seem to *believe* it's allowed?

0
0
0
0
0
0
0
0
0

⚠️ The Free Software Foundation Europe deleted its account on X ⚠️

The platform never aligned with our values and no longer serves as a space for communication. What initially intended to be a place for dialogue and information exchange has turned into a centralised arena of hostility, misinformation, and profit-driven control, far removed from the ideals of freedom we stand for.

Find out more: fsfe.org/news/2025/news-202512

0

⚠️ The Free Software Foundation Europe deleted its account on X ⚠️

The platform never aligned with our values and no longer serves as a space for communication. What initially intended to be a place for dialogue and information exchange has turned into a centralised arena of hostility, misinformation, and profit-driven control, far removed from the ideals of freedom we stand for.

Find out more: fsfe.org/news/2025/news-202512

0
0

⚠️ The Free Software Foundation Europe deleted its account on X ⚠️

The platform never aligned with our values and no longer serves as a space for communication. What initially intended to be a place for dialogue and information exchange has turned into a centralised arena of hostility, misinformation, and profit-driven control, far removed from the ideals of freedom we stand for.

Find out more: fsfe.org/news/2025/news-202512

0
0
0
0
1
0

Irgendwie fehlt mir ein simples umgangssprachliches Verb für *etwas mit KI generieren". Mir ist vor allem wichtig, dass dabei sprachlich die Verantwortung für das Ergebnis beim Menschen verortet ist.

Ich schlage vor: etwas aus der KI ziehen

Positiv verwendbar (wichtig, damit die Bereitschaft zur Transparenz steigt): "Guck mal, was ich aus der KI gezogen habe!"

Ablehnend verwendbar: "Hast du den Quatsch aus einer KI gezogen?"

Erklärend verwendbar: "Wenn du das nächste Mal etwas aus einer KI ziehst, musst du es prüfen, ehe du es glaubst/verbreitest/whatever."

0
0
0
0
1
0
1
0
0
0
0

I agree with the storyteller: the experience of having a slave is abhorrent, simulated or not, and this story is a window into something •deep• about the present moment. Even without having slaves, we are all in danger of having a •slaver mindset•. It’s a disease that’s running rampant now in billionaire-shaped techno-utopian circles.

I wrote this thread on the topic earlier:

hachyderm.io/@inthehands/11329

…and even having written that, it’s still shocking — not surprising, exactly, but shocking — to hear those thoughts expressed so baldly by the colleague in the story above.

0
0
0
0

❝He was completely unable to understand why. He kept arguing that since the LLM isn't an actual conscious person (which is correct), it ought to be treated like a slave, and that the arc of technology is to give everyone access to their own virtual slaves.❞

3/

0
0
0

❝I said that I *absolutely in no way* want a slave, or a technology that simulates one. I want to do creative work using good tools. I *don't want* the experience of a slaver; in fact, I would go very far to never have that experience, because it is a demeaning and antihuman experience.❞

2/

0
0
0

Fascinating story from a software dev Fedi friend, shared with permission to keep it anonymous:

❝A couple of days ago, I had an experience at work that made me understand one of the reasons why the chasm of opinion about LLMs is so deep and wide.

My department mostly does fiddly lowlevel work, [close to hardware]. A few of us don't use LLMs at all, a few use them sparingly, and one member is absolutely all-in. So during one of our morning meetings he suddenly started going off on a deeply disturbing diatribe about how we need to treat the LLMs “like slaves”.❞

1/

❝I said that I *absolutely in no way* want a slave, or a technology that simulates one. I want to do creative work using good tools. I *don't want* the experience of a slaver; in fact, I would go very far to never have that experience, because it is a demeaning and antihuman experience.❞

2/

0
0
0

Fascinating story from a software dev Fedi friend, shared with permission to keep it anonymous:

❝A couple of days ago, I had an experience at work that made me understand one of the reasons why the chasm of opinion about LLMs is so deep and wide.

My department mostly does fiddly lowlevel work, [close to hardware]. A few of us don't use LLMs at all, a few use them sparingly, and one member is absolutely all-in. So during one of our morning meetings he suddenly started going off on a deeply disturbing diatribe about how we need to treat the LLMs “like slaves”.❞

1/

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

I feel like in theory handling DPI/scaling is pretty straight forward. A scale between UI coordinates and pixel coordinates. Great.

But in practice you never know what APIs work in what coordinates and what different scale values actually mean because they try to abstract things, and you end up with lovely stuff like this. (Also I'm currently on Linux.)

A table that describes what different SDL calls return for different platforms. The calls are SDL_GetWindowSize, SDL_GetWindowSizeInPixels, SDL_GetDisplayContentScale, SDL_GetWindowDisplayScale, SDL_GetWindowPixelDensity. The sizes returned vary between 1920x1080 and 3840x2160 for Mac and Windows, with  SDL_WINDOW_HIGH_PIXEL_DENSITY enabled or not. The scales are 1.0 for some calls and 2.0 for some, different on the different platforms.
0
0
1
0

After more than 11 years, today is my last day at Apple.

It’s been a privilege to be able to say I’ve worked my dream job, helping create SwiftUI and getting to support an incredible team of engineers and friends.

I’m excited for what’s next for me (stay tuned!), but today I’m focused on how deeply grateful I am to everyone at Apple that I’ve worked with and learned from over the years. It’s a truly amazing place full of astoundingly talented but also genuinely wonderful people.

0
0
0
0
0

Heavy thunderstorm day, so rewatching 'Bedazzled' for the first time since forever, probably decades. And a few dated early 2000's product-of-its-time elements aside, it's still a fun casual watch, with an actually solid message by the end.

Elizabeth Hurley as the Devil remains iconic in every scene, and Brendan Fraser's sensitive, awkward nerd vibe continues to occupy a soft spot in my heart.

Side shot of the PC monitor showing an instance from the film Bedazzled with Elziabeth Hurley's Devil character charmingly staring towards a sad and confused Brendan Fraser. My two cats are visible lounging on their cushions on the side of the desk. My tuxedo cat Tiffie has nearly fallen asleep while my calico cat Carrie is curiously staring at the screen.
0