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

體育競技最熱血之處,莫過於不到最後一秒都未知鹿死誰手。在塞爾維亞茲雷尼亞寧舉行的U23歐洲摔跤錦標賽上,俄羅斯代表伊斯蘭格列耶夫(Bozigit Islamgereev)上演了一場史詩級的驚天逆轉勝。他憑藉一招難度極高的「飛鼠撲擊」(Flying Squirrel)在完場前壓哨絕殺對手,片段隨即在網上瘋傳,令他一夜之間成為全球網絡紅人。

這場超經典的86公斤級別八強賽中,伊斯蘭格列耶夫面對的是奪冠大熱、法國選手馬加馬多夫(Rakhim Magamadov)。比賽進入倒數15秒時,俄羅斯代表仍以3比8大幅落後,即使他隨後連追兩分至5比8,但比賽時間只剩下最後短短7秒。當時連俄羅斯隊教練都抱頭嘆息,以為大局已定。面對對手刻意壓低重心死守下盤,無路可退的伊斯蘭格列耶夫決定鋌而走險,突然凌空跳過對手頭頂,在半空中從後鎖住對方,再順勢將這名法國名將狠狠摔在地上。

這記突如其來的神級奇招讓他一口氣狂攬4分,奇蹟地以9比8反超前。法國隊隨即要求睇片覆判,但裁判確認動作有效,挑戰失敗再倒扣一分,令伊斯蘭格列耶夫最終以10比8贏出這場絕地反擊戰。
#飛鼠撲擊

0
0
0
0
11
0
0
0
0

I've been writing for about a month now, and even though I have to lookup the docs very very often, the hardest thing I find is to keep track of lifetimes of objects, references and (smart) pointers. Using references and smart pointers gives an illusion of almost having automatic garbage collection. But one mistake of not tracking the lifetime correctly, and the object disappears, causing null pointers and segmentation faults.

I don't know if I'm running into these issues because I'm a noob or because that's how C++ programming goes. Hopefully it will become more intuitive with time.

The second biggest problem that I have faced with writing a PL implementation in is the lack of immutable data structures. I keep modifying the AST by mistake while walking over it. This is made much worse by the fact that I'm trying to implement a with immutable data structures (much like ).

When I copy container data to preserve the old versions, I feel bad because of the performance implications. There is no easy way to share internal data between different versions of same data structures (AKA persistent data structures). Maybe there is a library that can help me all this.

0
0

기름값보다 무서운 비료값 폭등…이란전쟁, 진짜 재앙 따로 있었나 n.news.naver.com/mnews/articl... 세계 비료 교역량의 3분의 1 이상이 통과하는 호르무즈 해협 공급 부족은 옥수수, 콩, 밀, 쌀 등 주요 곡물 가격의 연쇄 상승을 초래할 수 있다. 전문가들은 비료 가격 상승분이 결국 (식품) 소비자 가격으로 전가될 것으로 보고 있다.

기름값보다 무서운 비료값 폭등…이란전쟁, 진짜 재앙 따...

0

Every year I try to solve some problems from the competition in a not straightforward way. This year I solved the day 19 problem “Aplenty” by compiling the problem input to an executable file.

A new post: abhinavsarkar.net/posts/compil

0
1
1
1
1
0
1
0
0
0
0
0
1
0
12
0
0
1
0
0
0
0
0
0

Well I never! I put on Guy Ritchie's new Young Sherlock and they're talking about holomorphic functions and branches of log and solving the (solvable) quintic 1+x+x^2+x^3+x^4+x^5 = 0.

It's actually a pretty stupid show but I won't hold that against it. It's witty at times and overall I think it might just be a winner.

people.math.harvard.edu/~knill

BTW The original Young Sherlock Holmes movie was major a milestone in computer graphics - but that's another story.

0
1
0
0
1
1
0
0

“AI-powered writing tools are increasingly integrated into our e-mails and phones. Now a new study finds biased AI suggestions can sway users’ beliefs”

“We told people before, and after, to be careful, that the AI is going to be (or was) biased, and nothing helped,” Naaman said. “Their attitudes about the issues still shifted.”

scientificamerican.com/article

0
25
0
0
0
0
0
0
1

SNSで自分よりもすごいクオリティの人を見ると自信無くなるけどその度に心の中のジャイロツェペリが
「とんでもねえ強敵が多いなああ——
世界ってのはよオオ——」
「だがクセなんて直さなくていい」
「もっとクセを出して走れ」
と鉄球を押し当ててくる

1