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.

neat piece of invisible infrastructure: the Rust portable-atomic crate

your platform doesn’t support a particular type of atomic natively? not a problem, this crate gives you an implementation anyway

how? well there’s a global lock, you see. or, rather, 67 global locks, and which one gets used depends on the address of the atomic mod 67.

but, that’s kinda inefficient, so you wouldn’t want to use it unless it’s your only choice, right?

so they have a bunch of platform specific implementations, such as “let’s detect at runtime if cmpxchg16b is supported” or “this is a microcontroller so if we read it within one instruction we’re fine, and otherwise just disable the interrupts”

and as a result you can just use it and not really think about it, because in 99% of cases it’s gonna do the same thing as what you’d end up with if you bothered to optimize it manually

the ratio of elaborate internals to unassuming API surface is so great here you could easily blink and miss the fact that someone is pulling off heroic feats to make this happen

0
1
0
0
0
1
0
1

연친분들 도움 요청드립니다.

제 아내가 금일(01월 21일 수) 오후 8시 50분경, 집에서 도보 8분 거리에 있는 서점에서 발을 다쳤으니 데리러 와달라는 전화 통화를 마지막으로 소재 파악이 되지 않고 있습니다.

현재 경찰 실종 수사팀에서 찾고있지만 3시간 가량이 지났음에도 찾지 못하고 있습니다.

저희 부부는 연신내역 부근에서 살고있으며, 오후 10시 40분 경 역촌역에서 마지막 휴대전화 신호가 확인되었습니다.

금일 오후 8시 26분에 검은색 후드티를 입고 외출한 것으로 확인됩니다. (안에는 주황/검정이 반복되는 줄무늬 스웨터를 입은 것으로 추정됩니다.)

93년생 여성입니다.

금일 오후 8시 30분 전후로 서울 은평구에서 비슷한 연령대 및 인상착의를 목격하신 계신다면 부디 연락을 부탁드리겠습니다.

아내를 찾는데 도움이 된 정보는 주저없이 사례하도록 하겠습니다. 감사합니다.

0
0
0
0
0
0
0
1
1
1
1
3
2
0

crowdsource advice-seeking on latex/markdown

I started writing this book project using zettlr in markdown, because that seemed like the best way to incorporate many citations from a wild variety of journals/books/articles. But I am now having serious problems trying to integrate files.

Latex is hard but I know it quite well, I just don't have a latex editor that I like that's reliable (I'm not doing this on overleaf, it's just me, no sharing needed).

Recs? Advice? I'm running Ubuntu.

0
0
0
1
3
2
0
0
1
0
1
1
0
0
0
0

First week! I’ve been floating in the for all of 7 days now 🍴
Couple observations: Mastodon requires thinking - it’s just quite abstract. But I’ve actually enjoyed the tinkering and the leaning curve. Also, individual servers with specific rules and customs scared me at first, but I’m beginning to think that’s quite a wonderful setup which also solves a lot of issues from mainstream social.

Photo of ‘stars’. Must be a Kusama installation.
0
1
1

from fdisk(8)

DOS MODE AND DOS 6.X WARNING
Note that all this is deprecated. You don’t have to care about things like geometry and cylinders on modern operating systems. If you
really want DOS-compatible partitioning then you have to enable DOS mode and cylinder units by using the '-c=dos -u=cylinders' fdisk
command-line options.

... did people in the past partition their disks with circular geometry?? what???

0
0
0
0
1

연친분들 도움 요청드립니다.

제 아내가 금일(01월 21일 수) 오후 8시 50분경, 집에서 도보 8분 거리에 있는 서점에서 발을 다쳤으니 데리러 와달라는 전화 통화를 마지막으로 소재 파악이 되지 않고 있습니다.

현재 경찰 실종 수사팀에서 찾고있지만 3시간 가량이 지났음에도 찾지 못하고 있습니다.

저희 부부는 연신내역 부근에서 살고있으며, 오후 10시 40분 경 역촌역에서 마지막 휴대전화 신호가 확인되었습니다.

금일 오후 8시 26분에 검은색 후드티를 입고 외출한 것으로 확인됩니다. (안에는 주황/검정이 반복되는 줄무늬 스웨터를 입은 것으로 추정됩니다.)

93년생 여성입니다.

금일 오후 8시 30분 전후로 서울 은평구에서 비슷한 연령대 및 인상착의를 목격하신 계신다면 부디 연락을 부탁드리겠습니다.

아내를 찾는데 도움이 된 정보는 주저없이 사례하도록 하겠습니다. 감사합니다.

0
0
0

Hi everyone. First time posting to .

I’ve been communicating with other people on the internet since 1990. I remember being very excited about working out how to post photos to Twitter from my Windows CE phone by using email.

After gradually retreating into messaging apps over the past ten years and becoming more anonymous on the web it feels strange to be stepping back into a more public and open space.

It feels nice. Like fresh air on your face.

0

Assigning myself more work but I see lots of folks in my tech networks talking about self-regulation and self-monitoring with a LOT of common misconceptions about it. Folks! Your brain is not a punching bag you need to beat up all the time. We should do a Change, Technically on this

0
0

연친분들 도움 요청드립니다.

제 아내가 금일(01월 21일 수) 오후 8시 50분경, 집에서 도보 8분 거리에 있는 서점에서 발을 다쳤으니 데리러 와달라는 전화 통화를 마지막으로 소재 파악이 되지 않고 있습니다.

현재 경찰 실종 수사팀에서 찾고있지만 3시간 가량이 지났음에도 찾지 못하고 있습니다.

저희 부부는 연신내역 부근에서 살고있으며, 오후 10시 40분 경 역촌역에서 마지막 휴대전화 신호가 확인되었습니다.

금일 오후 8시 26분에 검은색 후드티를 입고 외출한 것으로 확인됩니다. (안에는 주황/검정이 반복되는 줄무늬 스웨터를 입은 것으로 추정됩니다.)

93년생 여성입니다.

금일 오후 8시 30분 전후로 서울 은평구에서 비슷한 연령대 및 인상착의를 목격하신 계신다면 부디 연락을 부탁드리겠습니다.

아내를 찾는데 도움이 된 정보는 주저없이 사례하도록 하겠습니다. 감사합니다.

0
0
0
0
0
2
0
0
0
2
0
0
0

연친분들 도움 요청드립니다.

제 아내가 금일(01월 21일 수) 오후 8시 50분경, 집에서 도보 8분 거리에 있는 서점에서 발을 다쳤으니 데리러 와달라는 전화 통화를 마지막으로 소재 파악이 되지 않고 있습니다.

현재 경찰 실종 수사팀에서 찾고있지만 3시간 가량이 지났음에도 찾지 못하고 있습니다.

저희 부부는 연신내역 부근에서 살고있으며, 오후 10시 40분 경 역촌역에서 마지막 휴대전화 신호가 확인되었습니다.

금일 오후 8시 26분에 검은색 후드티를 입고 외출한 것으로 확인됩니다. (안에는 주황/검정이 반복되는 줄무늬 스웨터를 입은 것으로 추정됩니다.)

93년생 여성입니다.

금일 오후 8시 30분 전후로 서울 은평구에서 비슷한 연령대 및 인상착의를 목격하신 계신다면 부디 연락을 부탁드리겠습니다.

아내를 찾는데 도움이 된 정보는 주저없이 사례하도록 하겠습니다. 감사합니다.

0
1
0