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

RE: hachyderm.io/@nedbat/116150179

The answer to the mystery: because my function had a `yield` in it, it was compiled as a generator. But executing the function never ran `yield`, so iterating it produced an empty sequence. The value from the return statement is ignored.

TBH, I know there is a way to get the returned value, but I have never needed to, and I don't know how.

The solution was to delete the code after the return.

0

I don’t know what the hell ICE / CBP / FBI?? / other feds are up to, but we’ve had several •huge• swarms of federal vehicles rolling out these last few days.

They aren’t doing the kinds of chaotic off-the-street kidnappings there were doing all through Dec and Jan. But they sure are up to •something•.

1/

Yesterday the Trump regime served warrants to a bunch of locals who were at that peaceful protest of the violent church where the regional ICE director preaches.

That protest is old news, the same event about which they’re trying to nail Don Lemon to the wall. Yesterday they came for both protestors and reporters, AIUI.

Light coverage here, which doesn't mention that they banged on people’s door at 4:30-6:30am with warrants and tossed them in federal detention all day. Just shameless, unalloyed harassment.

minnesotareformer.com/briefs/3

2/

0
1
1
0
0
0
0
10
0
0
0

@tchambersTim Chambers
That wouldn't work.

Mesh networks are short range low-capacity wireless. They'll work well enough in a large premises, especially if a good percentage have ethernet or fibre, to allow WiFi roaming on multiple airpoints with one name.

Iran also attempts to block satellite broadcast and Internet using a range of techniques.

The mass market use either Mobile or cabled internet (various technologies) all of which are government controlled, or can be in every country.

0

検索エンジンに Ecosia 使っているけど、最近ヘッダーに表示されていたリンク。ウガンダの森がアカンサスばかりになって多様性がまじでなくなっているので、多様性を取り戻すための取り組みをしているという話。もっと多様な生態系だったけど開発のために木を切りまくって、代わりに植えたのがアカンサスで成長が早くて他の植物の成長を阻害するもんだから多様性がなくなったらしい。聞いたことある話すぎる。 https://www.youtube.com/watch?v=gNQjGYqaN0w

0
0
0
0

What if I could convince you that taking the same time to explain detailed requirements and carefully validate results with a junior colleague instead of a chatbot would not only give you two people who understood the code instead of zero, but if you do it a few times in a row you eventually get a senior colleague out of the deal for free.

0
17
1

RE: solarpunk.moe/@vv/116144047825

What's your current opinion on the touching of computers?
Do you still find joy in it?
I'm honestly quite frustrated with... gestures around and so I'm thinking of quitting.

I still really enjoy programming and I haven't lost excitement in it. I am lucky to be in a situation where I can avoid using or working with the output of LLM coding assistants professionally so I feel somewhat sheltered from the whole LLM craze. It does feel like a creeping supernatural force that is getting closer and closer, though. But yeah in my free time I have had so much fun writing hand-written Lisp code with Spritely's technology, and that has been a joy.

mond.how/topics/iweilqe5q879rn

0

RE: solarpunk.moe/@vv/116144047825

are you working on anything cool right now?

I am pretty excited about a couple of high energy tracks that I've been working on, and I even have lyrics for one of them, so that's exciting! I'm going to work more on them today. I have also been coding a little tracker that runs in the browser and uses Lisp and that's been so much fun.

mond.how/topics/6b46xqofl2zimxm

0

RE: solarpunk.moe/@vv/116144047825

Who are your partner(s)? I tried figuring it out but I'm bad at following

@cwebberChristine Lemmer-Webber is a partner who has a fedi/bsky presence. I have another partner who ~doesn't go to this school~ isn't active here, and, being a relationship anarchist, I also have some more loosely defined connections and am actively doing other dating!

mond.how/topics/mlmcyg8ln9euqnl

0

"Anthropic is guilty not only of wildly exaggerating the capabilities of AI, and promoting dystopian fantasies of ‘AI doom’, but also quietly advocating the deeply misanthropic philosophy on which it was founded. ‘Claude’s constitution is an unfortunate development in AI governance that minimises human values, rules, and rights’, Jarovsky says.

But knowing what we know about Effective Altruism, perhaps that isn’t a defect, but the main feature of the product."

spiked-online.com/2026/02/22/t

0
3
0

RE: is.nota.live/@encryptedwhisper

This is my new artist profile! Give it a follow if you're interested in my music. I'll still be boosting my music releases on here, but I wanted to provide an account that was just for my music, and didn't require follow requests, so it was easier for music fans to stay in touch.

0
0
0
0
0
0
0
0

이제 다음단계로 진행될 일은... 미국과 이스라엘 혹은 동맹국 내 테러 발생 가능성는 거의 확정적인듯 어떻게든 이란 정부는 보복을 하려고 할것 같은데 개인 입장에서는 사실 알고 있어도 뭐 딱히 할수 있는것이 없음 그냥 사람 모이는곳에 가급적 가지 않는것이 안전한 시대;

0
0

RE: is.nota.live/@encryptedwhisper

This is my new artist profile! Give it a follow if you're interested in my music. I'll still be boosting my music releases on here, but I wanted to provide an account that was just for my music, and didn't require follow requests, so it was easier for music fans to stay in touch.

0

Debugging fail in : I had a generator function:

def them():
for thing in some_things():
yield thing

But I wanted to quickly try changing it to use a helper that returned a list, so I just added that code at the top:

def them():
return them_from_somewhere_else()
for thing in some_things():
yield thing

Took me a while to figure out why `list(them())` was always an empty list.

0
0
0
0
0
0

Happy , Fedi. 🖤 In these strange times… take a moment to bask in this floof. He’s the bat I rescued earlier this week that was saturated in some kind of mechanical oil and exposed two nights of freezing temperatures.

Nobody thought he would make it through the day. I won’t even post the “before” pictures because it was so very tragic. But here he is, four days later, enjoying a snack while modelling for .

I call him Tiny Turner. And I tell him he’s “Simply the Bats”.

He’s not quite ready for release yet, but tonight some of my longest rehabs will finally be set free around sunset. Big feelings! 🖤🦇

0
0
0
10
0
0
0
0
0
0
0

언어모델 가라사대 "지금 “전 세계가 각자도생이라 개판”처럼 보이는 핵심 이유는, 국가 위에 국가를 강제할 ‘상위 주권 (집행력)’이 없기 때문이에요. 국제기구는 많지만 대부분 권고·조정은 할 수 있어도 강제 집행 (세금·경찰·사법·군사) 이 약하거나, 강대국이 빠져나갈 구멍 (거부권·불참·제재 회피) 이 남아 있죠" 라는 응답. 정부의 정부가 필요하지만 만들기 어려움. 답은 있지만 아무도 안하고 싶어함 ㅋㅋㅋ ㅎㅎ

0

"According to CEO Dara Khosrowshahi, some of his underlings have created an AI clone of him so they can prepare for meetings with him, ensuring everything is fine-tuned for his wants and needs."

Is the next step getting rid of CEOs altogether?

futurism.com/artificial-intell

0
0