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.

1
0
0

Die bash-footgun des Tages: expr

Ich hab hier ein Skript, das die Zeilen einer Ausgabe mittels wc -l zählt, und später wird das Ergebnis mit "0" vergleichen. Leider gibt wc unter MacOS führende Leerzeichen aus, so dass statt "0" in der Variable " 0" steht.

Ich dachte, das könnte ich so lösen:

count=$(expr $count + 0)

Und das ergibt auch im Ergebnis "0", nur leider läuft mein Skript danach nicht weiter. Keine Fehlermeldung, es geht nach der Zuweisung einfach nicht weiter.

Warum nur?

0
0
1

In 2013 Aaron Swartz committed suicide for facing 35 years in prison for mass downloading scientific articles.

13 years later, Meta is almost getting away with an infraction orders of magnitude larger.

The law didn't change.

torrentfreak.com/uploading-pir

0
18
0
1
0
0
0
1
2
1

会議は基本、有線だなー無駄にトラブりたくない

最近、イヤホン、ヘッドホンがワイヤレスから有線に回帰しつつあるんだそうな。理由は同じ性能でも有線の方が圧倒的に安い、充電しなくていい、音が途切れないっていう理由だけで無く、何と「コードがあった方がカッコいいから」って理由もある話 - posfie posfie.com/@taimport/p/eloR73A

0
0
1

"If you're using BEM or similar methodologies, keep element selectors like .button__icon at the root level. The class name already describes the relationship, so nesting just adds specificity without adding clarity."

alwaystwisted.com/articles/UnS

YES! WordPress devs please note! 🙏

0
0
1
1
0
0
3
0
0
1
1
0
0
0
0
1
0
0
0
1
0

Good day all! TODAY on Fireside Fedi!

The #livestream will be on: stream.firesidefedi.live

Special Guest: @NorcalGma2@sfba.social

Retired rural grandma, caregiver, and dog mom to a sweet lab named Summer.Love to bake and gift to friends and family. Happy in my garden. Living a quiet life on the north coast of California. Mean comments aren't necessary or welcome. Please be kind.

So don't miss it!

It will happen on 09 March 2026 at 14:00 US Eastern Time ( UTC-4 )

If by any ungodly chance you miss the show:

#PeerTube ( #VOD ): tubefree.org/@firesidefedi

A dark image. The background is unclear and blurry. On the foreground on the left there is a huge circle, inside of which a profile picture belonging to @NorcalGma2@sfba.social. On the other side, a bit lower in the frame we see a fediverse logo, but on fire. This is the logo of the Fireside Fedi show. In between those two elements a text is written. This text says:

AN INTERVIEW WITH
@NorcalGma2@sfba.social

Norcal Gma 2 - Retired rural grandma, caregiver, and dog mom to a sweet lab named Summer.Love to bake and gift to friends and family. Happy in my garden. Living a quiet life on the north coast of California. Mean comments aren't necessary or welcome. Please be kind.

09 March 2026
AT 14:00 US EASTERN TIME
ON
FIRESIDEFEDI.LIVE
0
0
0
0

an unauthorized party used a compromised npm publish token to publish cline@2.3.0 to npm. The published package contained a single modification: an added postinstall script that globally installs openclaw… The CLI binary and all other package contents were byte-identical to the previous release.

cline.bot/blog/post-mortem-una

0
0
0
1
0
0
2
0
0
0
1

“쉼터를 찾는 목적은 다 같을 것이다. 신경다양인 당사자들에게, 내가 나일 수 없는, 나 자신을 가리고 숨길 수밖에 없는 사회가 안전한 공간이 아니기 때문이다. 장애인에게 쉼을 제공하는 곳은 많지만, 그중에서 우리 쉼터는 마스킹(자신의 신경다양성을 가리며 살아가는 것)하지 않아도 되는 공간이다.”

‘신경다양성’이 숨 쉬는 쉼터에서 [6411의 목소리]

0
0
0
6
0
0
1