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

We just released Mastodon 4.5.6, 4.4.13, and 4.3.19.

These versions contain various bug fixes, including a fix for a moderate security vulnerability.

Full release notes and update instructions are available on the GitHub releases page.

github.com/mastodon/mastodon/r

0
0
2
0
0
0
1
0
0

Max & Molly relaxing on the balcony

Max, the black cat, just about tolerates Molly. But he's never affectionate with her, likes personal space, gets annoyed if she comes too close

Molly, on the other hand, adores Max. She thinks the sun shines out of his butt. Which is why she's always looking for it up there

This picture shows a rare occasion when he let her sit next to him. You can see in her eyes she knows it won't be long before he gets up and leaves in a huff

Two cats are on a padded chair on a balcony. On the right, against the back of the chair, a black cat (Max) is curled up asleep. Beside him on the left, a black & white cat (Molly) is sitting, looking up at the camera guiltily. She has taken a chance by sneaking in so close to him when he's asleep, and is enjoying the few moments he's allowing her to be close to him. And so she should, because the next opportunity is unlikely to come before July.
0

While I am on "gardening leave", I am finally taking the opportunity to try and get off Evernote. I've been an Evernote user since 2009, and I use it every day for work and life, so this is a big move. I really want to stick with the folders and stacks layout that Evernote has (hey, I like structure) and so far Joplin seems like a good option. It's open source and they also seem very active on the fediverse (@joplinappJoplin). Anyone have advice, or tips for other apps? joplinapp.org/

0
0
0
0
0
0
2
0
0
0

📢 Matchmaking events for building consortium for Open Internet Stack and Web 4.0 topics of work-programme 2026. After a short introduction from the EC, the floor will be opened on a first come first serve basis. Each interested parties will have max 5’ to present itself, the related technology area, the experience/background and the ideas for the call. Sessions will be recorded. Details in the next posts.

0
0
0
0
1

"Today the Cato Inst published our report providing the 1st look at the fiscal effects of the wave of legal & illegal immigration over the last 3 decades. It shows⚡ CREATED SURPLUSES every year, by a combined $14.5T, even as deficits grew."
-D Bier

Trump is🚨tanking the & bc of his , , IMM crackdown that's moved fed$/resources to arrests, , ... *adversely affects the economy.

cato.org/blog/cato-study-immig

Bar chart of IMM's fiscal surplus has grown: 1994-2023:Pic of immigrants working on the steps shown as  US bills stacked like stairs:
0
0
0
0
1

"Today the Cato Inst published our report providing the 1st look at the fiscal effects of the wave of legal & illegal immigration over the last 3 decades. It shows⚡ CREATED SURPLUSES every year, by a combined $14.5T, even as deficits grew."
-D Bier

Trump is🚨tanking the & bc of his , , IMM crackdown that's moved fed$/resources to arrests, , ... *adversely affects the economy.

cato.org/blog/cato-study-immig

Bar chart of IMM's fiscal surplus has grown: 1994-2023:Pic of immigrants working on the steps shown as  US bills stacked like stairs:
0

이번 금/은 하락했을때 쫄리긴했음 내가 같은 실수를 반복했나 ㅠㅠ 싶긴했는데 어제는 사야하는 날인데 확실히 손이 안나가긴함;; 누가 그러더라고 마음 가는대로 하면 투자 (투기?)에 성공하기 어렵다고 ㅎㅎ 어제가 정말 그랬는데 그래도 소액 좀 넣긴했음; 은은 아직 그런데 금은 다들 눈치보면서 열심히 사는듯 4시간 봉 차트입니다. 바닥에서 슬금슬금 올라오죠...

0
0
0
0
0
0
0
0
0
0

We have long maintained a tool that aids in exhaustively testing state in vanilla SwiftUI applications, but not many know about it. It's called 'expectDifference', and it allows you to capture a piece of state before and after a sequence of user actions takes place, and then it is your job to mutate the before value to equal the after:

@Test func addPlayer() async throws {
await expectDifference(model.rows) {
model.addPlayerButtonTapped()
model.newPlayerName = "Blob Esq"
model.saveNewPlayerButtonTapped()
try await model.$rows.load()
} changes: { rows in
rows.append(
GameModel.Row(
player: Player(
id: UUID(0),
gameID: UUID(-1),
name: "Blob Esq",
score: 0
)
)
)
}
}

This comes with a lot of benefits:

• Possible to assert on the minimal changes that occurred instead of repeating lots of unchanged data.
• Asserts on more of what actually happens in your logic.
• Less likely to take short cuts in asserting because it's so easy to write assertions.
• Great test failure messages!

We employ this technique to great success in this week's episode where we show how to write very strong tests against an app that uses SQLiteData for its persistence:

pointfree.co/episodes/ep353-to

0

If you need to study some functions but have limited tools you can go a long way assuming everything is linear except at minima/maxima where you assume everything is quadratic.

Use this approach in physics and everything looks like a harmonic oscillator or a free field or a perturbation thereof.

Use this in statistics and ML and everything looks like a Gaussian distribution.

So when you see what seems like a deep connection between these domains I wonder if what you're seeing is just the shape of your tools.

0
0
0

I’ve almost finished the migration from Evernote, and I have to say I’m very impressed with Joplin so far. I got a couple of recommendations for Obsidian, which by all accounts is also an excellent open source option. But Joplin better suits my needs and is a close match structurally with Evernote. If anyone is interested, I can toot the process I went through to migrate (it’s more manual these days, as Evernote no longer allows export-all). Just reply if you’d like that. mastodon.social/@ricmac/116001

0
0
0

Tailscale is growing. The hard part isn’t adding features.
It’s growing without losing the simplicity people love.
That’s why we’re excited to welcome Ross Kukulinski as VP of Product.

More on how we’re thinking about staying secure and simple 👇
tailscale.com/blog/welcome-ros

0
0
0
0
0

[탄원서 연명 요청] 세종호텔 고진수 해고자에 대한 영장기각 요청 2026년 2월 2일, 식음료사업장을 운영하지 않아서 복직을 시킬 수 없다는 세종호텔이 미가궁(1층 식당 임차업자)에 3층 연회장 사용하게 하는 현장을 목격해 이에 대해 항의하다가 연행되었습니다. 2월 3일 고진수 지부장에게 구속영장이 청구돼 2월 4일 영장 실질 심사를 앞두고 있어 구속영장 기각을 요청하는 탄원서에 연명을 부탁드립니다. 🍉의견서 마감일 : 2026.2.4. 정오 ✍️의견서 연명 링크 : forms.gle/7sScSH4YKLN7...

세종호텔 해고노동자 고진수 구속영장 실질심사 기각 청구...

세종호텔 해고노동자 고진수 구속영장 실질심사 기각 청구 탄원서(2/4 정오12:00까지)

‼️2026년 2월 2일 식음료사업장을 운영하지 않아서 복직을 시킬 수 없다는 세종호텔이 몰래 미가궁(1층 식당 임차업체)에게 연회장 사용을 허가했기에 이에 항의하다가 12명이 연행되었습니다. 그중 고진수 지부장에게 경찰과 검찰은 구속영장을 청구했습니다. 2월 4일 영장 실질 심사 앞두고 있는 세종호텔 고진수 지부장님의 구속영장 기각 탄원서에 연명을 부탁드립니다‼️ ◇ 사건 경과 1. 2026년 2월 3일, 서울 남대문경찰서 및 검찰이 세종호텔지부 해고자 고진수 지부장에 대해 구속영장을 청구했습니다. 바로 오늘 2월 4일(수) 15:00 영장 실질심사를 앞두고 있습니다. 2. 2026년 2월 2일(월) 오전 10시 30분경, 세종호텔 해고자(고진수 지부장, 허지희 사무장)과 시민 등 총 12명이 경찰에 부당하게 연행됐습니다. 노동존중이라는 이재명 정권에서 처음으로 공권력으로 노동조합 농성을 탄압한 ‘1호’ 사건입니다. 2026년 2월 3일(화), 11명의 연행자는 석방되었습니다. 3. 세종호텔지부 고진수 지부장은 지난 1월 14일, ‘정리해고 철회’를 요구하며 336일의 고공 농성을 종료했습니다. 땅을 밟은 지 한 달도 되지 않은 시점에, 아직 회복되지 않았음에도 억울하고 절박한 심정으로 해고자복직을 요구하는 노조활동을 했다는 이유로 연행했습니다. 건강이 취약한 상태에 있는 고진수 지부장의 사지를 들어 폭력적으로 연행한 후 구속영장까지 청구하는 건 명확한 노동조합 활동 탄압입니다. 4. 연행 당시, 고진수 지부장은 “호텔이 이렇게 장사가 잘 되는데! 왜 우리가 복직 못하냐!”, “도대체 왜 공권력이 우리에게만 이렇게 가혹하냐”며 항의했습니다. 해고 약 4년 3개월, 고공농성 336일을 보낸 해고노동자에게 남대문경찰서와 검찰의 태도는 비상식적으로 가혹합니다. 공권력인 경찰이 노조활동에 개입해서는 안됨에도 오히려 사측 편에 섰습니다 . 5. 2026년 2월 2일 당시, 세종호텔 고진수 지부장은 세종호텔 3층 연회장을 1층 임대업체가 몰래 사용하는 것은 부당하기에 항의했습니다. 3층 연회장은 세종호텔 해고자가 복직해서 돌아갈 일터입니다. 세종호텔은 식음료사업장을 운영하지 않겠다고 하면서, 해고자 몰래 연회장을 운영한 것이나 다름 없습니다. ◇ 의견서 사건번호 : 서울중앙지방법원 2026영장104126 재판장님, 새종호텔 고진수 지부장을 부당해고에 항의하고 호텔 측의 부당행위에 대해 항의한 행위로 체포되었고, 경찰과 검찰은 '폭력행위등처벌에관한법률위반(공동퇴거불응), 업무방해' 혐의로 연행한 것도 모자라 구속영장까지 청구했습니다. 이는 부당한 일입니다. 세종호텔 요리사인 고진수 지부장은 수십 년 세종호텔 식당에서 열심히 일한 노동자로, 코로나 시기 경영 악화를 핑계로 해고되었습니다. 2021년 12월 코로나19가 잦아들던 시기에 호텔은 2차 고용유지지원금도 신청하지 않고 정리해고했습니다. 다음 해부터 코로나 확산이 멈추고 관광객이 돌아왔습니다. 호텔 객실은 손님으로 넘치고 매출액도 매년 상한을 갱신하는 현실에서도 세종호텔은 해고자들을 복직시키지 않았습니다. 결국 2025년 2월 고진수 지부장은 세종호텔 앞에서 336일은 고공농성에 시작했습니다. 허리도 펼수 없는 좁은 공간에서 자신의 몸을 갉아먹는 투쟁을 할 정도로 해고자 복직은 절박했습니다. 노동자를 쓰다버리는 일회용품 취급하지 않기를 바랐습니다. 고공농성으로 사회적 관심이 높아지자 세종호텔 오세인대표와 교섭이 시작됐습니다. 그러나 7차에 이르도록 복직안을 가져오지 않았습니다. 고공농성 해제 후 고진수 지부장은 8차 교섭에 들어갔음에도 복직안을 내놓지 않았습니다. 동료조합원들과 세종호텔 로비에서 법에 보장된 쟁의활동을 했습니다. 그런데 세종호텔측은 업무방해라며 퇴거 요청서를 보내고 퇴거불응이라며 경찰을 동원했습니다. 호텔 로비에서의 활동은 노조활동이므로 업무방해라고 할 수 없습니다. 특히 고진수 지부장의 이번 체포는 너무나 부당합니다. 2월 2일 세종호텔이 임대한 식당인 미가궁(1층 식당 임차업체)에서 3층 연회장 사용을 허가한 것은 부당하기에 호텔 측에 항의했을 뿐입니다. 3층 연회장(식음료사업장)을 폐쇄해서 복직 시킬 수 없다는 세종호텔이 1층 임차업자인 미가궁에게 3층을 쓰게 하는 것은 부당하며, 호텔 측의 거짓말이 드러난 것이기 때문입니다. 세종호텔은 미가궁이 폐쇄된 식음료사업장을 이용하도록 꼼수를 부렸을 뿐만 아니라, 정당한 노동조합 활동의 일환으로 항의한 행위를 파렴치하게도 '영업방해','업무방해'라 주장하고 있습니다. 설상가상 미가궁은 호텔과 함께 업무를 방해했다며 경찰을 불렀습니다. 세종호텔은 미가궁과 해고자들의 대립인 양 사태의 본질을 흐리려는 것에 지나지 않습니다. 경찰은 세종호텔 측의 편에 서서 강제연행 했습니다. 노조활동을 부정한 것입니다. 재판장님, 해고자 고진수 지부장에게도 불구속수사와 불구속재판의 원칙이 적용되어야 합니다. 그를 구속할 사유가 전혀 없습니다. 고진수 지부장은 주거가 확실하고 도주의 우려가 없습니다. 증거인멸할 것도 없습니다. 호텔과 미가궁이 말하는 업무방해나 퇴거불응은 당시 현장 사진과 영상으로 확인 가능하므로 증거인멸의 대상이 되지도 않습니다. 구속영장을 기각해주십시오. 노동자들에게도 법에 대한 권리를 평등하게 보장해주십시오! 부당하게 해고돼 5년째 거리에 있는 해고노동자들에게 법원의 영장 발부로 또 한번 나락으로 떨어뜨리는 일이 없도록 해 주십시오. 2026. 2. 3.

docs.google.com · Google Docs

0
0

"you don’t defeat authoritarians by being more reasonable. You defeat them by being more determined and by uniting the country against their most visible vulnerability: their corruption. History won’t judge Democrats on whether they were moderate enough. It will judge them on whether they fought"

RE: https://bsky.app/profile/did:plc:cnpe7qvcyjrhm6w7w7e4atur/post/3mdxrvjax7s2r

0
0
0