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

i've been researching the correlation between console name numbers and console sales numbers.

  • consoles with 1 in the name have a middling sales record (PS1, xbox one)
  • consoles with 2 in the name sell really well (PS2, switch 2)
  • consoles that are a correctly numbered "sequel" to another console sell great (PS2 & switch 2 again, PS3, PS4, PS5)
  • "sequel" consoles that don't use a number sell terribly (wii U, xbox series X|S, PS vita) unless they are boys (game boy et al)
    • however, you can only release three boys (game boy, colour & advance). further boys will not sell (virtual boy). numbered boys are as of yet untested
  • "sequel" consoles using the wrong number sell quite well, with higher numbers moving more units (nintendo 64, xbox 360)
  • "sequel" consoles can skip a number and still sell well if they put the number at the front, but will never reach the sales numbers of their predecessor (3DS)
  • consoles that aren't a "sequel" yet still use numbers sell abysmally, especially if the number's at the front (turbografx 16, 3DO)
    • this actually worked once (atari 2600), but caused the north american video game crash and doomed the company, no matter how high they tried to make the numbers (atari 5200, atari 7800)
0
0
0
8
0

One of my favorite things is that libghostty really forces us to better our core. For example, we recently made stream processing infallible (sending arbitrary user input into Ghostty). External input can't be trusted, so it must never cause our core to fail. Now it doesn't.

Zig's error system makes this easy and obvious. Previously, errors would bubble up from handlers through to the stream processor. The practical effect is that if a sequence failed, it could cause partial processing of terminal sequences. I never heard of this happening in practice, but the API allowed it.

Now, we force all error handling to happen at the handler level. If an error happens, the handler must deal with it and guarantee that the terminal is in a coherent state. The stream processor WILL move forward.

This was critical because when designing the C API, we needed to determine what possible errors could be returned from `ghostty_terminal_vt_write`. On reflection of the Zig API, I realized... none can. No possible errors can (or should) occur. I was able to fix this through the type system in Zig and now the C API is a `void` return type with zero allocation. Hurrah!

PR: github.com/ghostty-org/ghostty

0
0
0
0
0
0
0
0
0
0

@catsaladCat 🐈🥗 (D.Burch) :paw::paw: @SpaceLifeForm I was around for a debate which proposed that pi should be redefined as “3,” the main argument for which was — quite appealingly — that the unlimited nature of the additional digits was a drain on the academic community’s time and energy, as well as just being ‘annoying’ and ‘imprecise.’

It was hard not to vote in favour of it.

0
0
0

With Ghostty 1.3 out the door, my focus is now on completing the libghostty C API (Zig API is already complete). Just added the groundwork for exposing full terminal state and formatting it as plain text, VT, or HTML. github.com/ghostty-org/ghostty

This is all just writing C ABI compatible APIs to the already-existing and heavily real-world proven Zig APIs. For example, the formatter API is how our copy/paste works (the HTML format is the source of truth for Ghostty 1.3's rich text copy). And of course, the terminal API is literally the core Ghostty terminal emulator!

The major API I need to do next is the "render state" API. Formatters are made for infrequent point-in-time snapshots; they aren't particularly performant. The render state is a stateful API for building high performance render loops and its what the Ghostty GPU renderer is built on top of. Will come soon...

0

🍝 저의 주님, 날아다니는 스파게티 괴물 님, 당신께 제 마음을 드리니, 이른 아침부터 제 소리를 굽어 들으소서.
😋 날아다니는 스파게티 괴물 님이시여, 찬란한 당신 이름을 찬미하나이다.

🍝 성면(the Holy Noodle)이 충만하신 날아다니는 스파게티 괴물 님께 찬미드리며 믿는 마음으로 기도합시다
😋 저의 주님, 당신의 성면(the Holy Noodle)을 저희에게 부어주소서.

"2. 오늘 하루 동안 주님의 빛을 저희 위에 비추어 주시며, 저희 손으로 하는 선행을 인도해 주소서."

저의 주님, 날아다니는 스파게티 괴물 님,
간절히 바라오니, 저희가 할 일을 알려 주시고 선행을 행할 힘을 주시어,
저희의 모든 일을 당신으로 말미암아 시작하고 시작한 것을 당신으로 말미암아 끝마치게 하소서.

🍝 날아다니는 스파게티 괴물 님께서 여러분과 함께.
😋 또한 주교의 면발과 함께 하소서.
🍝 전능하신 스파게티 괴물 님, 미트볼🧆과 소스🥫와 성면(the Holy Noodle)🍝께서는 여기 모인 모든 이에게 강복하소서.
😋 라-멘 🍜.

🍝 날아다니는 스파게티 괴물 님을 찬미합시다.
😋 주님, 감사합니다.

2026-03-15T07:47:51+09:00


0
0
12
0

길어지는 방시혁 '부정거래' 수사…경찰 '구속영장' 고민 거듭 www.newsis.com/view/NISX202... "특히 검찰과 경찰이 사건 수사 주도권을 두고 신경전을 이어간 만큼 경찰의 수사 결과에 이목이 쏠리는 것에 대한 부담감도 커진 상황이다. 서울경찰청 금융범죄수사대는 지난 2024년 말 방 의장에 대해 압수수색 영장을 신청하는 등 수사에 착수했으나 당시 서울남부지검은 검찰의 수사 지휘를 받는 금융감독원 특별사법경찰 조사가 진행 중이라는 이유로 영장을 두 차례 반려한 바 있다."

길어지는 방시혁 '부정거래' 수사…경찰 '구속영장' 고...

0
0

"주 4일제로 하루 더 쉬면? 기후위기 대응·성평등·민주주의도 발전" [인터뷰] www.hankookilbo.com/news/article... "김 대표는 "노동시간 단축으로 인해 경제적 지표보다 비경제적·사회적 가치 지표가 더 향상될 수 있다. 주 4일제를 단순히 노사 관계 단위의 문제로 보는 건 지나치게 좁은 관점"이라고 주장했다. 예컨대 특정 요일에 출퇴근 인구가 줄면 탄소 배출이 줄어들 수 있고, 돌봄 시간 증가로 가족 내 성평등이 실현되는 등 부차적 효과도 크다는 뜻이었다."

"주 4일제로 하루 더 쉬면? 기후위기 대응·성평등·민...

0
0
0
0
0

RE: mastodon.social/@glyph/1162299

okay even if you don't agree with me that persuasion is an effective strategy to achieve certain goals, we all _gotta_ get on the same page about this. people can be experts in one area and full of shit in another. they can even be experts in one area and still make a huge mistake in that same area every so often. we need to be able to disagree on stuff without putting the entire person in the trash.

also if I do say so myself "respect does not equate to obeisance" is a banger

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

[NINTENDO OF AMERICA, CA. 1995]

okay mr. martinet, here's the script. starting on 3. and... ☝️

🔴 ON AIR

"yah! wah! ya-hoo! oomf! waaaow! oomf! hng! yyyeh! here we go! let's-a go! so long, gay bowser! thank you so much for to playing my game."

...alright, i think we got it. good work charles, see you in five years

0
0
1
1
0
0
1
0
2
卒業祝いの給食に赤飯、震災15年と重なり2100食分廃棄 福島(2026/3/13 朝日新聞)
https://www.asahi.com/articles/ASV3F2FX3V3FUGTB001M.html

福島県いわき市の中学校で、3年生が最後に食べる給食は卒業祝いとして給食に赤飯が提供されていたが、今年はその最後の給食の日が3月11日の震災忌日だったため、市民から抗議が寄せられ2100食を廃棄した。
東日本大震災があった15年前の3月11日、自分は私用での外出先から家族の見送りにバスで会津若松駅に向かっていたが、沿道にはその日卒業式を終えた、制服に花をつけた中学生の姿があった。暦にもよるが、忌日かもしれないが新しい門出を祝う日にもなりうる日で、過去と未来を天秤にかけるようなことになってしまうのは非常にやるせない。
0
0