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

도쿄에서 볼만한 것이라고 하면 서점인데, 음... 그 돈이면 일본 아마존에서 고속 배송도 가능해서. ㅎㅎ; 전문서적이면 일본어 서적 외의 선택지도 있으니까.

1
1
1

It seems as though some vendor in Hong Kong may have managed to assign 20-30 orders of widgets (no idea what) to my Shop account. I see various order shipping details (UPS/FedEx tracking) but no evidence of being charged anything, and the shipments seem bound for US, Switzerland, elsewhere in mainland China, Germany. 🤷 quite annoying. No obvious way to contact them about it other than marking “not my order” against each one.

0
0

[22:39]초크 님이 환상약을 손에 넣었습니다.

님들!! 7.3 무료 환상약 배포 오늘까지입니다!!
그리다니아 구시가지 아프칼루 폭포 > 떠돌이 모그리!!

0
1
1

Hello ! Thanks to my new DFF grant, I'm now looking to hire a PhD student to join me at AAU in Aalborg 🇩🇰 to work on "usable decentralization", i.e. on making distributed and federated cloud services accessible to the everyday user. For more details, see link below, and please don't hesitate to DM me with questions!

vacancies.aau.dk/phd-positions

0
0
1
0
0
0

So, after I met problems with iwlwifi driver and my attempts to aggregate both em0 and wlan0 interfaces to the one lagg0 interface (mastodon.bsd.cafe/@evgandr/115) — looks like I found a much (MUCH!) simpler solution :drgn_happy:

I wanted to automatically switch between wired and wireless networks when I plug-in (or disconnect) my Ethernet cable. First, because I was a newbie in the FreeBSD world, I tried to search for some kind of NetworkManager. Thankfully, I didn't find any NetworkManager clone ported to the FreeBSD. I found some tries to port NetworkManager from Linux to FreeBSD but all of them are failed (not surprised, lol).

Then, I finally started to read documentation :drgn_think_science: . In the section about advanced networking I read about aggregation interfaces. And somehow I managed to aggregate both of em0 and wlan0 to the one lagg0 interface and it works well.

But, looks like (see mstdn.social/@erikarn/11598626) it is not the way how the lagg interfaces should work. It is not intended to use wireless interfaces in the aggregate interfaces — so my tricky setup stopped working in the FreeBSD 15.0.

BUT, since we have a beautiful devd daemon, which listens for various system events and able to execute actions when event is happened — I just wrote 23 lines of shell script to learn my laptop how to switch between interfaces when the Ethernet cable (dis)connects, lol. Solution is very simple:

First, we already have /etc/devd/dhclient.conf, which starts dhclient when some interface appeared in the system. I modified it, so it calls the sPeCiAL script, each time when em0, or wlan0, or ue0 interface appeared in the system, or when em0 is disappeared:

notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
media-type "ethernet";
action "/root/bin/unfuck_network.tcsh $subsystem ifup";
};

notify 0 {
match "system" "IFNET";
match "type" "LINK_DOWN";
media-type "ethernet";
action "/root/bin/unfuck_network.tcsh $subsystem ifdown";
};

notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
media-type "802.11";
action "/root/bin/unfuck_network.tcsh $subsystem";
};

notify 0 {
match "system" "ETHERNET";
match "type" "IFATTACH";
match "subsystem" "ue0";
action "/root/bin/unfuck_network.tcsh ue0";
};

Then, the main magic happens in the /root/bin/unfuck_network.tcsh:
— When Ethernet cable is connected — it destroys the wlan0 interface and starts dhclient for em0 to talk with DHCP server.
— When Ethernet cable is disconnected — it makes all to remove route using em0 from routing table (removes em0 interface completely, flush routing table, etc — somehow em0 still stays in the routing table if interface is not destroyed; btw system will create it anyway later, in some point) and recreates the wlan0 interface.
— When wlan0 device is created — it starts dhclient for it.

Script contents (for tcsh):
#!/bin/tcsh

switch ( $1 )
case "em0":
if ( $2 == "ifup" ) then
service netif quietstop wlan0
service dhclient quietstart em0
else if ( $2 == "ifdown" ) then
service dhclient quietstop em0
ifconfig em0 delete
route flush
service routing restart
service netif quietstart wlan0
endif
breaksw;
case "wlan0":
service dhclient quietstart wlan0
breaksw;
case "ue0":
service dhclient quietstart ue0
breaksw;
endsw

0
0

Stefano has lived through a harrowing experience. Read and learn on how it can feel to be hit by a vehicle in the back, learn you may be paralized, then learn how to pull Positive Energy from the Universe to get 100% better again

Millimeters have tremendous weight

my-notes.dragas.net/2026/02/02

0
1
0

I'm going to tear down and rebuild a little server I have at home. It has three disks (one for the system, and two big SATA ssds currently using btrfs, serving up NFS, smb, and running SyncThing, Prosody, Immich and HomeAssistant. It's currently on Fedora, but systemd annoyed me one too many times. And I don't want to talk about btrfs.

Now I'm hesitating about what to install on it. Go with the old familiar NetBSD? Try out FreeBSD again and get a fancier zfs? Or should I go crazy and go for illumos, though I haven't run Solaris since it was called OpenSolaris, so this maybe I should try a desktop first.

Any thoughts ?

0
0

So, after I met problems with iwlwifi driver and my attempts to aggregate both em0 and wlan0 interfaces to the one lagg0 interface (mastodon.bsd.cafe/@evgandr/115) — looks like I found a much (MUCH!) simpler solution :drgn_happy:

I wanted to automatically switch between wired and wireless networks when I plug-in (or disconnect) my Ethernet cable. First, because I was a newbie in the FreeBSD world, I tried to search for some kind of NetworkManager. Thankfully, I didn't find any NetworkManager clone ported to the FreeBSD. I found some tries to port NetworkManager from Linux to FreeBSD but all of them are failed (not surprised, lol).

Then, I finally started to read documentation :drgn_think_science: . In the section about advanced networking I read about aggregation interfaces. And somehow I managed to aggregate both of em0 and wlan0 to the one lagg0 interface and it works well.

But, looks like (see mstdn.social/@erikarn/11598626) it is not the way how the lagg interfaces should work. It is not intended to use wireless interfaces in the aggregate interfaces — so my tricky setup stopped working in the FreeBSD 15.0.

BUT, since we have a beautiful devd daemon, which listens for various system events and able to execute actions when event is happened — I just wrote 23 lines of shell script to learn my laptop how to switch between interfaces when the Ethernet cable (dis)connects, lol. Solution is very simple:

First, we already have /etc/devd/dhclient.conf, which starts dhclient when some interface appeared in the system. I modified it, so it calls the sPeCiAL script, each time when em0, or wlan0, or ue0 interface appeared in the system, or when em0 is disappeared:

notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
media-type "ethernet";
action "/root/bin/unfuck_network.tcsh $subsystem ifup";
};

notify 0 {
match "system" "IFNET";
match "type" "LINK_DOWN";
media-type "ethernet";
action "/root/bin/unfuck_network.tcsh $subsystem ifdown";
};

notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
media-type "802.11";
action "/root/bin/unfuck_network.tcsh $subsystem";
};

notify 0 {
match "system" "ETHERNET";
match "type" "IFATTACH";
match "subsystem" "ue0";
action "/root/bin/unfuck_network.tcsh ue0";
};

Then, the main magic happens in the /root/bin/unfuck_network.tcsh:
— When Ethernet cable is connected — it destroys the wlan0 interface and starts dhclient for em0 to talk with DHCP server.
— When Ethernet cable is disconnected — it makes all to remove route using em0 from routing table (removes em0 interface completely, flush routing table, etc — somehow em0 still stays in the routing table if interface is not destroyed; btw system will create it anyway later, in some point) and recreates the wlan0 interface.
— When wlan0 device is created — it starts dhclient for it.

Script contents (for tcsh):
#!/bin/tcsh

switch ( $1 )
case "em0":
if ( $2 == "ifup" ) then
service netif quietstop wlan0
service dhclient quietstart em0
else if ( $2 == "ifdown" ) then
service dhclient quietstop em0
ifconfig em0 delete
route flush
service routing restart
service netif quietstart wlan0
endif
breaksw;
case "wlan0":
service dhclient quietstart wlan0
breaksw;
case "ue0":
service dhclient quietstart ue0
breaksw;
endsw

0
1

Am Wochenende festgestellt, dass seit zwei Wochen jemand die Paypal Business Debitkarte unserer kleinen Firma nutzt, um im Ausland in einem Reisebüro täglich eine Abbuchung von circa 90 Euro vorzunehmen. Das fällt erstmal nicht auf, weil ein Shop ja permanent Bewegungen hat. Zwei Wochen sind auch ein normaler Buchungskreislauf.

Jedenfalls dachte ich dann am Samstag, dass ich mal bei Paypal anrufe, um das zu klären. Nachdem mir die Webseite die Rufnummer und einen Pincode gegeben hat, erklärte mir die automatische Stimme, dass sie nur Mo-Fr erreichbar seien. Der KI-Chat der Webseite empfahl mir, die Buchungen zu markieren. Das läuft leider in technische Fehlermeldungen. Also habe ich die Debitkarte sperren lassen. Doch danach sind weitere Abbuchungen gekommen, offenbar, da diese schon in der letzten Woche vorgenommen wurden, erst jetzt aber verbucht wurden. Wir reden über immerhin 1800 Euro.

Heute dann nach einer kafkaesken Telefon-Odyssee den Support erreicht, der mir mitteilt, dass das man das jetzt prüfen werde und dann vielleicht das Geld zurückkommt. Wie lange das denn dauern würde, frage ich. Naja, ein halbes Jahr hätten sie schon erlebt. Solange solle ich auch keine Debitkarte neu beantragen am besten. Auf meine Frage, wie ich dann die damit bezahlten Dienste bezahlen solle und wo genau die "zero risk" Garantie von Mastercard bleibe, wurde geschwiegen.

Ich gehe davon aus, dass das alles erstattet wird, aber, meine Güte.

p.s.: Wie schon mal geschrieben, "müssen" wir derzeit noch Paypal benutzen, da KundInnen zu 90% bei uns nur darüber zahlen. Klarna hat uns ignoriert, Stripe nicht funktioniert bisher, auf Wero hoffen wir, aber das ist Zukunftsmusik.

0
3

水仙の花はかたちがちょっと目玉の親父みたいなところがあって正面から近づいて撮ったりするとなんか変な圧があって怖い感じになったり逆にぬぼっと間抜けな感じになったりしちゃうなと最近思った

夕暮れ時の暗闇に浮かぶ水仙の花2つ。白い花びらの真ん中に黄色い筒状の副花冠。
0
1
0

Sound on the web has been overused and became annoying. But, sound itself isn’t the problem, it’s how and when it’s used. Sound should complement visuals, not replace them. It can add a powerful extra layer to your interface. Use sound only when it earns its place, adding feedback, presence, or emotional resonance that visuals alone cannot achieve.

Sounds on The Web (8min)by Raphael Salaja: userinterface-wiki.vercel.app/
userinterface-wiki.vercel.app/

0

FOSDEM achievement = unlocked: yesterday I had the pleasure of meeting @bagderdaniel:// stenberg:// in person and grab some cool stickers, yay! 🥳

I was really sad to miss his keynote (early train, sigh), but I'm planning to watch it online.

It was amazing to meet so many wonderful people at ... I've already started a countdown on my phone for the next edition. I can't wait.

And now: reviewing hundreds of photos I took with my phone and my Canon DSLR. The nostalgia is real 🥲

a photo taken in the FOSDEM cafeteria showing Daniel Stenberg on the left (he's wearing a black wolfSSL t-shirt) and me on the right, wearing a "never mind the billionaires, here's the fediverse" t-shirt
0
0
1
1
1
0
0
1

"가자지구 여성에게 이렇게 말하고 싶습니다. '내 자매여, 나는 당신이 잘 살길 바랍니다. 대신 당신은 이 땅을 포기하고 내 아이들을 위협하지 말아야 합니다. 당신이 내 아이 근처에라도 다가오면 당신과 당신 아이들 모두 죽일 겁니다.'" - 이스라엘 페미니스트 팟캐스트 <여성들의 대화> 방송 중 x.com/ireallyhatey... 으아....

x.com/ireallyhateyou...

0
1
0

people might joke but this is where the IT industry is headed and nobody is safe. it doesn't matter if you are good or bad, you are just another commodity. just look at how many engineering jobs were cut in the past 18 months. Oracle is now reporting it will cut 30k jobs. there is no regulation in place and by the time our politicians wake up there will be nothing left. once it was a thriving industry and now it is on the brink of collapse. the change is real whether you like it or not

a screenshot of a socail media thread with two posts that joke about the IT career path in the age of AI. Eliana (@eliana_jordan) writes:

2023: software engineer
2024: prompt engineer
2025: vibe coder
2026: master of ai agents
2027: unemployed

To which Aden (@aden_hq) replies as follows:
2028: cashier at Costco (still networking)
0
0
0
1
1
1
0

2016년 멕시코에서 열린 페미사이드 반대 시위 영상에서 한 여성은 만연한 여성살해를 두고 '느리게 진행되는 제노사이드'라고 설명했다. 그의 표현은 정확하며 이때의 핵심은 '느리게'다. 여성이 겪는 위험은 기한의 정함이 없고, 그러니 서둘러 일어나지 않는다. 언제까지 무엇을 어떻게 조심해야 하는지 묻는건, 그러므로 난센스다. 돈이 많아도 (적어도), 문을 걸어 잠가도(잠그지 않아도), 도시에 살아도 (농촌에 살아도), 혼자 살아도 여럿이 살아도), 성인이어도 (성인이 아니어도), 집 안에서도 집 밖에서도), 바지가 길어도 (바지가 짧아도), 몸집이 커도 (몸집이 작아도), 아이가 있어도 (아이가 없어도), 밤에도 (낮에도), 겨울에도 (여름에도) '여성'은 표적이 된다. 피해 갈 방법은 없다. 그러나 빈번하게 일어나고 피할 길 없다고 해서 남성에 의한 여성살해가 자연재해인 것은 아니다.

정치학자 캐롤 페이트먼Carole Pateman의 말대로 그것은 자연의 질서가 아니라 여성을 차지하고자 남성들이 공모한 성적 계약sexual contract의 집행일 뿐이다.
-김민정·김보화·김세은·김수아·김홍미리·손희정·오찬호·이나영·추지현·허민숙·홍지아『누가 여성을 죽이는가』중에서

0

2016년 멕시코에서 열린 페미사이드 반대 시위 영상에서 한 여성은 만연한 여성살해를 두고 '느리게 진행되는 제노사이드'라고 설명했다. 그의 표현은 정확하며 이때의 핵심은 '느리게'다. 여성이 겪는 위험은 기한의 정함이 없고, 그러니 서둘러 일어나지 않는다. 언제까지 무엇을 어떻게 조심해야 하는지 묻는건, 그러므로 난센스다. 돈이 많아도 (적어도), 문을 걸어 잠가도(잠그지 않아도), 도시에 살아도 (농촌에 살아도), 혼자 살아도 여럿이 살아도), 성인이어도 (성인이 아니어도), 집 안에서도 집 밖에서도), 바지가 길어도 (바지가 짧아도), 몸집이 커도 (몸집이 작아도), 아이가 있어도 (아이가 없어도), 밤에도 (낮에도), 겨울에도 (여름에도) '여성'은 표적이 된다. 피해 갈 방법은 없다. 그러나 빈번하게 일어나고 피할 길 없다고 해서 남성에 의한 여성살해가 자연재해인 것은 아니다.

0