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

Spojené státy podle ministra obrany Peta Hegsetha vyhrávají válku s Íránem. Dodal, že americká armáda může tento boj svádět tak dlouho, jak bude třeba. Šéf Pentagonu taky potvrdil, že americká ponorka potopila íránskou vojenskou loď v Indickém oceánu.

0
0
1
1
1

Die KI-Fachkompetenzschwelle: Eine Grenze des Vorwissens, unterhalb derer KI-Nutzung nicht nur wirkungslos wird, sondern kontraproduktiv. Unterhalb dieser Schwelle kann ich KI-Output nicht bewerten, keine guten Fragen stellen, keine sinnvollen Ergebnisse erzielen. Und ich merke es nicht. Denn der Output sieht überzeugend aus. …
barbarageyer.substack.com/p/ki

0

SISTER MADDS - King Tuts, Glasgow

Love these rock stars, one of the most exciting bands in Glasgow and every show has been one to remember.

On that note, I would like to work directly with bands a bit more this year so if you are in need of of a gig shot and/or press shots, please give me a shout, would be happy to.

Singer dancing with guitarist behindSinger on floor with band looking onSinger sitting on speaker with band behindGuitarist crowd surfing
0
2

I was very enthusiastic to find a lightweight alternative to Apache Airflow, Jenkins or Rundeck. Dagu (dagu.sh/) was great until they started adding this nonsense too (docs.dagu.sh/features/agent/)
I just need a minimal ui for cron!

0
0
0
1
0

メジロはまだ納得出来てなくて不完全燃焼気味なので今週末に最終リベンジですかね
もう少しの間メジロの写真が続きそうです
:blobcat_ojigi:

1

어제 밤에 스티커 인쇄 디자인 대충 잉스크케이프+스크라이버스 활용해서 칼선 레이어 까지 넣고, 레이어 정보 들어간 PDF 뽑아다가 일러스트/포토샵 파일만 받는다는 인쇄 업체에 메일로 던지고 "난 포토샵 일러스트 라이선스 없어용" 하면서 주문 넣었다. 그러고 오늘 보니 작업 다 되었다는데 내일 픽업 해 봐야겠군.

1
0
1
0
0

From the "Let's move mail to Microsoft. They know what they are doing" department:

Microsoft spent last week rejecting emails to Outlook recipients after what appears to be either a fault or overzealous blocking rules, a situation a source described as "carnage."
theregister.com/2026/03/04/use

0
0
0
1
1
0
0
0
4
0
1

현대차, 휴머노이드에 국산 감속기 채택한다 - 디일렉(THE ELEC)

3일 현대차 로보틱스랩은 이동형 양팔 로봇의 선행 연구 과정에서 국산 감속기를 적용한 프로토타입(Prototype)을 설계한 것으로 확인됐다. 감속기는 휴머노이드 원가의 60%를 차지하는 핵심 부품으로 상용화의 최대 변수로 꼽힌다. 로보틱스랩은 감속기의 국산화로 원가를 대폭 절감하면서 휴머노이드 상용화에 속도를 낼 계획인 것으로 파악됐다. thelec.kr/news/articleView.htm

0
0
0
1
0
1
1
0

CO・OP たまごスープ 10食入
goods.jccu.coop/lineup/4902220
常備食。
本当においしくて食べやすいやつ。しんどい時でも食べられる。冷凍ほうれん草ドバドバ入れて食べる。自炊できない時でも野菜取れた気持ちになってよき。

0

오래 기다리셨습니다!!!

BlueBase: Python으로 밑바닥부터 직접 만들어보는 DBMS

https://theeluwin.github.io/BlueBase/

결국 완성은 못했지만, 일단 공개할 수 있는 부분이라도 공개합니다.

RedBase DBMS을 구성하는 PF, RM, IX, SM, QL 중 PF와 RM을 여러분들이 직접 구현 할 수 있게, 과제의 형태로 제공합니다.

PF는 paged file의 약자로, file을 page 단위로 관리하는 컴포넌트입니다. 대충 4096 바이트 단위로 관리하는데요, file에 바로바로 read하거나 write하지 않고, 자주 사용되는 page는 가능한 memory에 있도록 중간에 buffer manager를 둡니다. 그렇다면 buffer에 공간이 모자라면? buffer에 있는 page 중 누군가를 evict 할 수밖에 없습니다. 그럼 뭘 기준으로 하면 좋을까요? 이 부분을 잘 생각해서 구현해보고, 성능을 비교해보기 바랍니다. 제가 cache hit/miss 시뮬레이션 구현해둔게 있으니, 제 custom 보다 높은 성능을 달성해주세요!

이후 RM은 record management의 약자인데, PF를 사용해서 record들을 가져오거나, 새로 넣거나 등을 하게 해줍니다. 그렇다면 전체 record를 순회하는 scan 연산이 중요하겠죠. 이 부분을 구현하는 것이 핵심입니다. record는 page 앞 부분에 bitmap을 둬서 slot이 비어있는지 아닌지를 확인하는데, 만약 record 삭제 명령이 마지막 slot을 비우게 된다면 해당 page는 더이상 필요 없겠죠. 그렇지만 이를 바로 free로 만드는건 조금 비싼 연산이 필요합니다. free page list를 다시 계산해야하거든요. 그래서 보통 DBMS에서는 이러한 작업들을 vacuum 연산으로 해결합니다. 추가로, 지금은 고정 길이 record만 다룰 수 있습니다만, 가변 길이를 허용하려면 어떻게 해야할까요? 이 부분들은 자유롭게 구현해보시면 좋겠습니다.

문서와 테스트는 모두 공개되어있습니다. 기여해주시면 감사하겠습니다! 다만, 정답 코드와 핵심 로직은 마지막까지 저 혼자 해보고 싶습니다 (도전).

https://github.com/theeluwin/BlueBase

밑바닥부터 직접 만들어보는 DBMS에서 page cache policy에 따른 성능 비교.
5
0