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

Ok this isn't much of anything, but I was enjoying all the amazing photos on the fediverse, and at the same time I've been learning about masonry grids in CSS.

So I decided to throw something together. It only pulls in the first 100 images.

Just enjoy it for what it is - a moment in time where I felt inspired to code something.

home.scoobysnack.net/gallery/

0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0

参政党が提出したいわゆる「日の丸損壊罪」法案のテキストに潜む法的な問題に関して、そこらの一般人でもできる範囲で検討を行いました。

タイトルは煽り気味ではあるのですが 、条文の配置位置の妥当性から、外国国章損壊の罪の適用対象の検討、器物損壊罪との関係性や「保護法益は何か?」という疑問、また法律で定まっていない「国章等」は何かや戦前における不敬罪との関連の可能性などなど、思いつく範囲でそれなりに真面目に検討を行いました。

結論から言えばかなり問題のある法案で、まともに通るとは思っていないのですが、なぜ「日本の国旗と外国の国旗の扱いが同じでないのか」といった話もしていますので、興味があればご覧ください!

参政党が提案する「日本国国章損壊の罪」の法的不備に関して考える - osumiakari.jp
www.osumiakari.jp/articles/20251112-sanseito-kokusyosonkai/

0
0
0
0

anyway just learned python typing invented a new kind of voldemort type -- one which when named doesn't actually name it

`float` and `int` are two distinct types in the type system

but if you write `x: float` that actually means `x: float | int`. but if you write `x: float | int` that means `x: float | int | int`.

anyway that's why `ty` has a `JustFloat` extension that is an actual alias for actual `float` that doesn't expand to `float | int`, so you can actual refer to... just float

play.ty.dev/a8714369-9b4c-4028

1
0
0
0
0

It's the 11th of the month! Sending out the Things I Learned While Looking Up Other Things newsletter a little late this month, but this edition has a lot of art-related links (including a MERCURY FOUNTAIN), some weird forensic science, and a really good name. buttondown.com/thingslearned/a

0
0

사회적으로 민감한 내용

11월 11일, 항소심 재판부는 성인지 감수성 법리로 '피해자의 진술이 일관되었다'는 요지로 유죄 판결을 한 원심을 뒤집고, 피고인에게 무죄를 선고했다. 피고인이 후일 피해자에게 사과한 점을 고려할 때 '강제추행이 있었다'고 의심할 수 있지만, 추가적 물증이 없는 상태에서 사건 당시의 상황을 명확하게 상고할 수 없고 피해자의 기억이 왜곡되었을 수 있으므로, '의심이 들 때는 피고인의 이익에 따라야 한다'(무죄추정의 원칙) 고 설명했다. 이에 피해자는 '개탄스러운 판결'이라며 반발했다.

RE: https://bsky.brid.gy/convert/ap/at://did:plc:4sujqnbd47ey26qcvajqoxa2/app.bsky.feed.post/3m5fwbcr5ew2d

0
1
0

10년전 (2015년) 회사에서 발표했던 자료 일부를 가져와 봄. 이력서 작성하다보니 옛날 자료가 좀 나오더라고. 많이 하고 싶었던 프로젝트였는데 회사가 무너지면서 못하게되었어... 흑역사로 남았지.. 끄응..

0
0
1
0
2
0
0
0

Added a new rustc lint which will hopefully prevent a lot of very wrong casts: function_casts_as_integer.

In short, if you convert a function to an integer, it will now warn.

Why? Because of cases like:

let _ = [0; u8::max as usize];

u8::max is a function, not a constant (u8::MAX is the constant). Now you get a surprising amount of allocation (and potentially different) every time. :)

So many potential other cases where the end code is NOT the expected one. Well, not anymore!

PR: github.com/rust-lang/rust/pull

0
0
0
1

曲解要約:狐を助けたらけもみみ美少女になって現れて種付けセックスをしたら子供が3人できた ある日けもみみ美少女が昼寝してたらうっかり尻尾が出てきてしまい、狐だってバレたから恥ずかしくてどこかに行っちゃった

0
0
0

The war is over, but my wounds are still open. My home was destroyed. I lost two girls.Ican no longer live here. Only bad memories surround me. I live in harsh humanitarian conditions.Iam not asking for the impossible.Just remember me. Remember my child Ibrahim.Ijust want to keep him warm, protect him, and save him from all this hell.we need food 💔We need medicine😭
gofund.me/74c01145

@aralAral Balkan
@fabioFabio Manganiello
@neutrinocerosClément Robert
@johnchiment
@chielkChiel | خیل | Хиль | Χιλ
@evanEvan Prodromou
@hycHoward Chu @ Symas
@TomSwirlyTom Ritchford

0
0
0
0
0
0