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.

(이미 저 멀리 와버린 야크 털 깎기 - 어디서 출발했는지도 이젠 잊어버림)

django에서 django rest framework에서 jwt로 authentication을 하기 위해 simple jwt를 쓸 때 (아이고 길다) access, refresh token을 cookie에 두고 사용하고 싶다면 약간의 수제(?) 코드가 필요합니다. 누군가 구현 해놨을까 싶었는데 있네요!

https://velog.io/@kimjihong/simple-jwt-login

https://velog.io/@kimjihong/issue-drf-jwt-header#solution---custom-middleware

하... 하려던건 이게 아닌데 이걸 적용 할지말지 또 고민... (결국 하겠죠

1
0
0
0
0
0
1

CW: Assault, MH-, Crisis (I'm okay, but fuck today)

I got a call around noon today from someone I knew in highschool. An old mutual friend (let's call him Bob) wasn't responding and they didn't know if he was okay. They didn't know who else to call, so they called me.

I went to Bob's for a wellness check, and found them anything but well. The apartment was in disarray, he was loud, agitated, and not making sense—obviously seeing & hearing things that weren't there.

At one point, two people knocked on the door and called out to him, saying they were there for a wellness call. Bob wouldn't let me open the door and was walking around aggressively with a large knife. I eventually talked him into putting it away, but I think he stashed it on his person instead. After that, he got spooked and ran out of the apartment. I followed after, eventually found him again, convinced him to get in my car, and drove him to his brother (who I'll call Doug)'s place (as requested).

Well, it's been ages since I've seen Doug, but apparently nowadays he lives in an RV by the airport, is a Trump guy, armed, and intoxicated.

This isn't how I thought my day was going to go when I got up this morning.

So my blonde glittery ass is in a neighborhood I wouldn't walk around alone in, hanging out with homeless folks and two armed guys—one who's severely agitated and erratic, one who's drunk/high and voted against my existence—as I try to balance getting an ambulance and avoiding anyone calling the cops.

Bob kept yelling and walking off, and we'd try to talk him back to a saf*er* spot and calm him down while I wait for the ambulance. At this point it's like 4pm, I've been doing this for hours. Then, after following him several blocks by myself, Bob assaults me. Apparently my earrings were bugged and his enemies were listening through them, so he tried to rip them out. I fought him off, cried, convinced him to walk me back to my car (it's been like an hour since the ambulance was called). Police roll up on us because a neighbor lady called them (despite me telling her we had already called an ambulance—she told me to fuck off).

On the bright side, it was the first time I've had a positive interaction with cops. One of the officers distracted Bob while Doug and I talked to the other one (who was kind enough to overlook the multiple laws being broken in front of him by Doug). Officer friendly called for an ambulance two more times, and one *finally* showed up, but Bob had run off in the meantime. Friendly's partner had followed Bob, and Friendly and the ambulance caught up with him after leaving Doug and I. Friendly called me a little later to say Bob refused to ride in the ambulance or police car to the hospital, and that he was last seen heading South some blocks away.

At this point I was deep into negative spoons and figured if I went after Bob that he'd assault me again. So I walked to the nearest bar with Doug, got a stiff drink and some food (I hadn't eaten since morning and it was after 5pm now). After that I drove home, cried a lot, ate ice cream, and am now waiting for the crisis & (involuntary) commitment services to call me back so I can file a report—which I fucking hate that I have to do, but Bob is in a state where he's going to end up hurting someone or himself if he doesn't get some form of help asap.

The part that kills me is that I used to look up to him when I was a teen (we're around the same age and went to the same school for a couple years). He was wicked-smart and always doing activism stuff. And now he's so divorced from reality that he was yelling at patterns in the dirt and attacking old friends he once said he loved.

I also got misgendered like a hundred times today by Doug 😮‍💨 (lots of "she", "he", "sh–he", and "brosis"—despite my hat literally saying they/them on it). I interjected "they" a few times and then just gave up because I didn't have any fucks left at that point.

-

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

不只是「台灣感性」,在韓國人眼裡,台灣人像《動物森友會》居民一樣可愛 - A Day Magazine
adaymag.com/2025/06/30/animal-

> 羅英錫「羅PD」4 月來台灣舉辦見面會,團隊偷偷為他舉辦「生咖」當作生日禮物,歡樂過程被剪成影片放上他的《十五夜頻道》。

> 有韓國網友看了影片後留言表示:「台灣的粉絲好像《動物森友會》的居民,好可愛♡ 」,這則留言被轉發到 Threads 上後引起很多人共鳴,其實不只韓國人這樣覺得,台灣人自己也很認同。

原來又是韓國人取的XD

0
0
1
1
0
0
0
0
0

政権与党の法相としては、排外主義に対して党内の動きもあり言い方に苦慮してるな。

でもこれまでの政策の結果でもある。社会の安定に責任あるからねえ

法相、排外主義に懸念 参院選演説での外国人差別:東京新聞デジタル tokyo-np.co.jp/article/419050

0

「義務教育の必要性」は色々あるんだろうけど、国民主権である以上国民が意思決定を行う上で十分な知識と判断能力を備えていることが前提だからこそ教育は重要、っていうのもあるんだろうなって選挙のたびに思ってる。

0
1

오픈소스 레포에 Windsurf Agent로 짠 Swift 코드로된 PR을 날렸는데, 저자의 코드 리뷰를 복붙해서 그걸 그대로 다시 Windsurf Agent한테 전달하고 있다. 이게 머하는 짓이고...

0
0

マスク、自分の生成AIグロックが「政治的に正しすぎる」というご意見にお答えして調整したら、シンプルにナチスAIと化したようで、反ユダヤ的なデマ(テキサスの洪水の犠牲者をユダヤ人が中傷してるとか)や陰謀論をまきちらしている上に、あげくのはてに自らを「メカヒトラー」と名乗る始末らしく、全てがどうしようもない。ちなみにAIのソースは4ちゃんらしい もう何もするな、全部をやめろ、それが人類のためだ >マスク www.cnn.co.jp/tech/3523529...

イーロン・マスク氏の生成AI、反ユダヤ的な回答を突然連発

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

이럴거면 걍 LoRa 통신 프로토콜을 쓰고 블록체인으로 다른 유저들의 메시지를 중계해주는 만큼 토큰을 얻고 다시 그 토큰을 소모해가며 메신저를 쓰게 만드는 편이 더 낫지 않았을까? :sblob_catdroolgoogly:

0
0
0
0
0
0