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

Thanks to your support and this amazing community around Charm tools, we’ve now surpassed 150k GitHub stars across our projects! You all inspire us every day. We look forward to seeing your contributions, projects, and even just getting to know each of you. We promise to keep showing up and creating the best work possible to say THANK YOU for your support. It truly means the world.

—Christian (Founder, Charm)

0
0

"Why BBC editors must one day stand trial for colluding in Israel's genocide"

Journalist Peter Oborne lists six ways the BBC has wilfully misled audiences on Israel's genocide. He did it face-to-face with BBC news's Richard Burgess.

Oborne cited a damning report that analysed the BBC's coverage Oct 2023-24 showing systematic, long-term skewing of coverage in Israel’s favour.

Video of the confrontation:
jonathancook.substack.com/p/wh

.

0
0
0

:ohayoo:​​:good_morning__i:
転職先での勤務が始まるまでの端境期間。
なんとなーくで、「あれしておきたいなぁ。これ片付けておきたいなぁ。」ができて快適。

通帳残高はあまり見ないようにする。

1
1
1
3
1
1

오래전 마이크 맨지니가 처음 드림씨어터에 합류할 때 비디오에 “기억해야 할 게 너무 많아요”라고 말하는 장면이 있다. ...... 지금 내 상황이 그렇다. 당장 파악하고 기억할게 너무 많다.

0
1
1
1
1
1
1
1

🚀스타십 10차 발사 공식 일정 떴습니다!

현지 시간 8월 24일 오후 6시30분 (CT)
한국 시간 8월 25일 오전 8시30분

다다음주 월요일부터 활기차게 시작할듯🤩
날씨야 도와주라🙏

더욱 멋진 비행을 기대하며~

0
1
0
1
0
1
1
0
0
0
1
4
0
1
0

news.hada.io/topic?id=22140

이 글에서 "switch network 쓰지 말고 hash map 쓰세요 그쪽이 더 빠릅니다" 해서 정말 그런가? 했는데 그런듯 하다.

지금 진행하던 개인 프로젝트의 디버깅을 찍어보는데 특정 토큰/명령어에 대해서 한 조각씩 들어오는 것에 대해 분기 네트워크를 타면 CPU의 분기예측 캐시가 제대로 쌓이질 않아서 case문 내의 모든 case를 중구난방으로 분기하면서 모두 체크하고 있다. (예를 들어 TOKEN_DEFINE을 찾기 위해서 ase TOKEN_BRACKET_OPEN.. case TOKEN_ALLOCATE... case TOKEN_EQUAL.... 같이 전부 중구난방으로 점프해가며 하나씩 체크한다. O(n)과 같은 최악의 케이스는 아니지만 10개의 케이스가 있으면 적어도 5개는 검색해버리는 짓을 벌임)

후반부로 갈수록 캐시가 쌓여서 바로 점프하는 모습은 보이지만 O(1)으로 바로 분기 없이 점프할수 있는 해시맵이 엄청나게 빠른건 사실인듯하다.

재귀하향식 파서로 구현했기 때문에 파서는 어쩔수 없이 switch network를 타버리긴 하지만 case가 극히 적어 분기 점프에 있어 큰 문제는 아니고 최대한 해시 맵 기반으로 짜는 것이 빠르다는 교훈은 얻은듯 하다.

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