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

I još jedan European *BSD event of the year! 😈⛳🐡

Already on our third day!
Another full day of summits and tutorials, even another con within a con!

Registration and ☕☕☕ starts at 09:30.

- Eurobhyvecon (check the program for the program)
by Michael Dexter

- An Introduction to the Filesystems and Networking in the FreeBSD Open-Source Operating System
by Kirk McKusick

- Automating Infrastructure with Terraform, Ansible, and Salt on FreeBSD
by Roller Angel

- An Introduction to awk: from awk-ward to awesome
by Benedict Reuschling

- Using Ansible and SSH to manage FreeBSD systems at scale and reproducible
by Albert Dengg

You can find the full program at events.eurobsdcon.org/2025/sch

EuroBSDCon 2025 in Zagreb, Croatia 🇭🇷 September 24-28, 2025

0
0
0
0
0
0
0
0
0
0
1
0
1
1
0
1
1
1
1
1
2
1
0
0
0
0
0
0
0
0
0
1
1

:_s3:​​:_k3:​​:_i3:​​:_m3:​​:_a3:​​:nouhin_kanryou_simasita:
占い師の側にいる不思議なネコさんです。工夫していろいろ使いまわせるようにシンプルな構図でご用意させていただきました。これからのご活動が楽しく順調に続くことを祈っています
✨🔮​:ab1nzybloob2:​✨

ご依頼受付中!🌻
https://skima.jp/item/detail?item_id=130598

0
0

Mass influx of displaced Palestinians in central Gaza

Israel initially instructed families to move to the so-called “humanitarian safe zone” of al-Mawasi in the south. But as everyone knows, this area is extremely overcrowded, and the humanitarian infrastructure there can’t meet the demands of the population.

That’s why we’ve seen a modified Israeli stance telling people to move to central Gaza, which is where we are now.
1/


0
0

I'm hosting Fur Face soldering workshop this Saturday at Pedal Markt in Berlin NK.

It's a beginner-friendly soldering and pedal assembly workshop. You build a fuzz and get to experiment with different transistors and biasing to get different sounds.

pedalmarkt.com/collections/upc

Photo of Fur Face. Colorful, vivid, psychedelic artwork of a cat by Fiz: fiz.galleryInside the Fur Face: PCB, jacks, parts
0

최근 며칠간 WAH라는 이름의 WebAssembly 인터프리터를 만들고 있다. ~와! 샌즈!~

WAH의 특징이라면 C로 작성되어 있는데 헤더 하나로 구성되어 있다는 점과, 거의 대부분의 코드를 Gemini가 짰다는 것 정도일까? (Claude Code도 좀 사용했지만 코드 생성은 Gemini가 다 했다.) Gemini가 디버깅을 시키면 답답한 게 사실이라서 최대한 프롬프트에 정보를 많이 넣고 few-shot으로 생성하게 하는 걸 목표로 했는데 생각보다 잘 되었다. 예를 들어서 한 프롬프트는 다음과 같았다. 저 문장 하나 하나가 시행착오의 결과이다.

@wah.h 에 if~else~end 명령을 구현하고, 대응되는 test_*.c 파일들이 모두 성공하도록 (또는, 해당 테스트에서 잘못된 점이 있을 경우 그 원인을) 고쳐줘. 아직 loop 관련된 코드는 처리할 필요 없고 테스트 중에 그걸 테스트하는 게 있다면 주석 처리해(지우지는 마). 컴파일과 실행은 &&로 한 번에 하도록 해. 정확한 구현 방법은 이래야 해: if~else~end에서 마지막 end는 사라지고, if는 else 직후 명령으로 이동하는 conditional jump로 재활용하며, else는 unconditional jump로 바뀌어(즉 실행기 입장에서 br과 else의 동작은 똑같아야 해! else를 아예 없애고 br로 대체할지 말지는 알아서 정해). 그러니까, if A B C else D E F end G 같은 명령이 있다면 preparsing 이후에는 if <offset to D> A B B C else <offset to G> D E F G 형태가 되어야 한다는 뜻이야. WebAssembly 명세에 따르면 if 문에는 block type이 따르는데, 이 타입을 사용해서 validation을 진행하는 것도 정확히 구현해야 해(block type이 function type (T1..Tn)->(U1..Um)이면 현재 스택에 T1..Tn 타입이 들어 있고 end 이후에는 U1..Um 타입이 들어 있어야 하고, 일반 타입 T가 들어 있다면 ()->(T)와 동일하게 취급함). block type은 validation 이후 preparsing 과정에서 사라져서 런타임에는 반영되지 않도록 해.

솔직히 너무 많이 요구하는 거 아닌가, 안되면 validation 부분을 어떻게 뺄지 고민하고 있었는데 시도 세 번만에 800줄짜리 diff가 떡하니 나오고 일단 보기에는 틀린 부분이 없어서 놀랐다. 물론 삽질도 많이 했는데 가장 많이 한 삽질은 테스트를 작성할 때 수동으로 WebAssembly 바이너리를 짜면서 바이트 숫자를 잘못 세어서 오류가 나는 거랑, 분명 WebAssembly opcode를 사용해야 하는데 자기 마음대로 코드를 정해 버린다거나 하는... 그런 우스운 상황이었다.

우습기도 하고 놀랍기도 하지만 이 코드를 내가 직접 짜지 않는 이유는 귀찮아서...라기보다는 내가 이걸로 하고 싶은 일이 따로 있고 WebAssembly 인터프리터를 만드는 게 주 목표는 아니기 때문이다. (원래 하고 싶은 일은 나중에 언급할 듯.) WebAssembly 구현이라고 하면 기술적으로 복잡해 보이지만, 내 용도에서 유래하는 몇 가지 조건(대표적으로 결정론적인 동작)을 제약으로 걸면 기술적으로 복잡하다기보다는 그냥 노가다에 가까워지기 때문에 끌리지 않는 것도 있긴 하다. 이전의 Angel이 과연 얼마까지 바이브 코딩으로 할 수 있는지를 테스트하는 목표였다면, 이번에는 정말로 목표를 달성하는 수단으로 기능할지 실험해 볼 작정이다.

https://github.com/lifthrasiir/wah/ 정식으로 공개했다. 현재 4800여줄. WebAssembly 1.0 거의 완전 지원, 2.0은 SIMD를 포함해 8~90% 정도 지원하는 정도까지 왔다. 하지만 아직 API 문제를 완전히 풀진 못해서 모듈 링킹이 안 되는 치명적인 문제가 있다...

8
0
0
0
0
1
0
1

Gaza civilians suffering combat-level wounds

Civilians in Gaza are sustaining injuries of the type and scale usually suffered among soldiers involved in intense combat, new research says.

Overall 23,726 trauma-related wounds were reported, of which 18 percent were burns.
Significant injuries affected the head, chest, and limbs.
About 67 percent of wounds were from blasts, and the rest gunshots.
1/


0
0
0