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.

Been juggling hardware, moving VMs and jails around, and I shoehorned myself into a bit of an odd situation.

I had two Intel NUCs, one is a weaker Celeron CPU, with a meager 4 GB ram. The other is a beast with a much better CPU and 32 GB of ram.

The one with the 32 GB and strong CPU has the easy job, and the weak one has the hard job.

The easiest solution was to swap their drives, and network cables.

The only software change I had to make?

sed -i bak s/re0/em0/g /etc/rc.conf

on the first one

and, shocker.....

sed -i bak s/em0/re0/g /etc/rc.conf

That was _it_. Both systems came up clean because the network subsystem isn't a clusterfuck.

That doesn't work in Linux.

0

I'd like to get into voice transcription for note-taking, alongside my recent resurgence of taking written pen-and-paper notes and sketches.

Is there already some decent Linux-friendly thing to manage inbound WAV/MP3/OPUS recordings from a recording device and do transcription over it, or is this something I'll want/need to duct tape some janky nonsense together myself for?

Strict requirement that this be able to run fully offline on machines I control. No cloud services, no subscriptions, etc. I don't mind if it's paid software if it works well. If it uses ML models, it needs to be able to demonstrate the model was trained ethically on data it had permission to access.

(Bonus RFC: anyone have thoughts on the Sony ICD-TX660 as a recording gadget? The form factor being effectively the same size as a vape pen seems absolutely perfect, and it's a nice fully-offline task-built gadget that looks to be built well?)

0
0

@: '탄핵 남발'이라는 말을 들을 때마다 기가 찬 것이, 법적 강제성 없이 정치적 불신임을 나타내는 '해임결의'라는 제도를 사문화시킨 것이 윤석열 포함 보수정권. 노무현도, 김대중도, 심지어 이승만과 박정희도(한 번은 씹었지만) 국회에서 해임결의안이 통과되면 국무위원에 대한 경질로써 이를 마무리했다. 마음 속으로 수긍이야 했겠는가 싶지만 그게 자유민주정에서의 '승복'이라는 것이다. 그걸 깬 것이 박근혜이고 이제 윤석열. 그래 놓고 '탄핵권 남용' 같은 소리를 하면 개도 웃을 일.

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

Wow, __builtin_dump_struct is an amazing clang feature, how did I never hear about this before?

$ cat test.c
#include <stdio.h>

struct nested {
int n;
};
struct foo {
int member_a;
unsigned long member_b;
char *str;
void *ptr;
struct nested nested;
};

int main(void) {
struct foo f = {
.member_a = 123,
.member_b = 0x4141414141414141,
.str = "foobar",
.ptr = &f,
.nested = {.n = 42}
};
__builtin_dump_struct(&f, printf);
}
$ clang -o test test.c && ./test
struct foo {
int member_a = 123
unsigned long member_b = 4702111234474983745
char * str = "foobar"
void * ptr = 0x7fff1df41b78
struct nested nested = {
int n = 42
}
}

The original version of this feature was introduced back in 2018 (though it was reimplemented since in 2022).

0
0
0
0
0
0
0
0
0
0
0

Left: My face upon realising there is 110v behind it 30cm from a bathroom sink.

Right: My face upon realising there is 220v behind it 30cm from a bathroom sink.

Two electrical outlets; one 110v, one 220v
0
0

I was excited to go to the @fediforum on Tuesday.

But today I learned that one of the organizers, Kaliya "Identity Woman" Young, is a big ol' transphobe.

Evidence that she's an organizer:
fediforum.org/about/

Evidence that she's a transphobe is in the next toot in this thread.

For a community like the Fediverse to succeed, it needs to be welcoming. It cannot have as a leader someone who poses a danger to a vulnerable constituency.

0
0
0

Hey, Mastodon!

I'm going to do a Q&A video. I've NEVER done one of these.

Reply to this post with questions you have for me and I'll answer them!

What are my opinions on adding newly-made hardware to vintage machine? Do I like socks, as a concept? What's my favorite flavor of meat?

All these and more to be answered in an upcoming video! Ask away!

0
0

About a year ago, my parents made the switch to Linux on their home machines because they really hated Win 10... Today I got a call from my mother to help her out with something, but I did not expect that "something" will be figuring out a sed pattern for a shell script she wrote to bulk rename files.

When I asked her why she didn't use some GUI program she said "I was an accountant in the DOS era, this makes more sense to me than a ribbon menu in Excel".

0
0
0

Want to join a Fediverse Reddit alternative?

europe.pub/post/514

New here? Get started on the Europe Pub! 🇪🇺 - Europe Pub

Whether you’re a Reddit refugee or just curious about a better, community-driven social network, Europe Pub is the place to connect, share, and support local economies! — ### What is Europe Pub? Europe Pub is a European social network built on Lemmy, a federated social network platform. Think of it like Reddit, but with a crucial difference: — ### Why Europe Pub? - 🔏 Privacy-Friendly: Your data stays protected—we prioritize user privacy. - 🇪🇺 Hosted in Europe: All data is stored on European servers operated by European companies. - 🫂 Community-First: Built by Europeans, for Europeans. - 🔗 Open & Connected: Seamlessly interact with communities across the entire Fediverse. - 🛡️ Transparent & Open-Source: No hidden algorithms or corporate control—everything runs on open-source software. — ### How to Get Started (Easy Mode!) 1. Choose your experience: - Europe Pub Photon (photon.europe.pub) [https://photon.europe.pub/post/europe.pub/514] – the easy and clean one - Europe Pub Voyager (voyager.europe.pub) [https://voyager.europe.pub/posts/europe.pub/c/europePub/comments/514] – the advanced and customizable one - Default Lemmy UI [https://europe.pub/post/514] – not the prettiest but many love it - OG Reddit Like UI (old.europe.pub) [https://old.europe.pub/] – if you prefer retro reddit flairs - You can install them directly from within your browser. No app download needed 2. Create an Account: - Tap the Sign Up button. - (If you use a third party client use “europe.pub” as server) - Pick a username, password, and you’re in! 3. Join a few Community: - Go to the communities list and join a few communities in which you’re interested. - Hit “Subscribe” and start sharing/commenting! #### Looking for more? 1. Use the Lemmy Explorer to find communities: - Visit Lemmyverse.net [https://lemmyverse.net/communities]. - Search for a topic or interest (just like searching for a subreddit). 2. Subscribe to a Community: - Copy the full community name (e.g., !europeanfederalists@lemmy.world). - Paste it into the search bar on Europe Pub [https://europe.pub/] or the Voyager app. - Hit Subscribe and start engaging! 💡 If a community looks empty at first, don’t worry! It will load posts after you subscribe. Newly discovered communities take a few minutes to sync—just subscribe and check back! ✅ Subscribe to multiple communities to make the Fediverse stronger, more resilient, and censorship-resistant! 🔎 Looking for something specific? Let us know—we’ll help you find the right community! — ### Missing a community? Start your own! It’s easy, and you’ll be shaping the future of Europe Pub and the Fediverse. We’re just getting started! Create new communities for your interests: - 🧳 Travel tips across Europe? - 🇪🇺 EU policy debates? - 🍲 Local food or tech innovations? Be a pioneer! The more communities, the richer the experience. — ### Want to help us? Do you want to make Europe strong together? We’re looking for passionate moderators to help ensure our communities are positive, welcoming spaces. If you’re interested in playing a key role in shaping Europe Pub, join us in this endeavor! — Let’s build a stronger Europe, one post at a time. Questions? Ask below! 👇

europe.pub

0
0
0

Chromium now has initial, experimental support for the xdg-session-management protocol, which will start shipping in canary channel in the coming days. I've implemented and tested it against Mutter 48, the only compositor supporting it atm - also experimentally - since version 47.

Quick demo at youtu.be/OG9ZLXzlwkQ

0
0
0
0
0
0
0
0

Hundreds of protests are planned against Elon Musk and authoritarian billionaire rule in the US and beyond this Saturday.

Organizers are using teslatakedown.com/ as an organizing hub and have set up a map of planned demonstrations.

0
0
0
0

New reporting from Mother Jones reporters Noah Lanard and Isabela Dias reveals how immigrants are being swept up and targeted by the Trump administration for innocuous tattoos like flowers and birds—and yes, an autism awareness tattoo.

Lanard appeared on All In With Chris Hayesto discuss his and Isabela Dias’ reporting on the terrifying story. Watch the whole segment on MSNBC and read the whole story on MotherJones.com

0
0
0
0
0
0
0

New reporting from Mother Jones reporters Noah Lanard and Isabela Dias reveals how immigrants are being swept up and targeted by the Trump administration for innocuous tattoos like flowers and birds—and yes, an autism awareness tattoo.

Lanard appeared on All In With Chris Hayesto discuss his and Isabela Dias’ reporting on the terrifying story. Watch the whole segment on MSNBC and read the whole story on MotherJones.com

0
0
0
0

I have been trying to make the point that when we give up our privacy, we give up our security for a long time. This is an article and short video from 2017. I could have made the same statements today.

I think many more are seeing the same. I know most of you here do.

vivaldi.com/blog/vivaldi-at-os

0
0
0
0
0
0
0
0
0
0