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

늑수설 최신 회차가 나왔습니다! The latest episode of STWA has been released! 《狼のケモノ、ソルミ》の最新エピソードが出ました!

RE: https://bsky.app/profile/did:plc:hneloew3za25iqabarp6m2ay/post/3mdog3kdhdc2m

0
0
1
3
1
0
0
0

Python subprocess/psutil: 15년 묵은 Busy-loop 폴링을 끝내고 진정한 이벤트 기반 대기로 전환
------------------------------
요약:
* Python의
subprocess 모듈과 psutil 라이브러리는 지난 15년 동안 프로세스 종료 대기(wait()) 시 sleepwaitpid를 반복하는 비효율적인 'Busy-loop 폴링' 방식을 사용해왔음.
* 이 방식은 불필요한 CPU Wake-up, 배터리 소모, 프로세스 종료 감지 지연(Latency) 문제를 야기하며, 다수의 프로세…
------------------------------
https://news.hada.io/topic?id=26263&utm_source=googlechat&utm_medium=bot&utm_campaign=1834

0
0
0
0
3

NULLはゼロだし整数として代入できちゃうよねえって最近のgccは気づいてくれるのすごいな!!

$ cat x.c
<stddef.h>
long x = NULL;
$ gcc -c x.c
x.c:2:10: warning: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
2 | long x = NULL;
| ^~~~

0
0
0
1
1

Organizing works! This is a win for public pressure, and a message about the moral clarity Canadians want from politics right now.

Now we need legislation to ban all Canadian companies from contracting with ICE or otherwise supporting Trump's kidnapping and deportation machine. And Parliament must pass Jenny Kwan's bill to close the U.S. arms export loophole – so that no Canadian armoured vehicles, weapons, or equipment end up in the hands of ICE to brutalize people.

ctvnews.ca/vancouver/article/b

0
0
0
1
1
0
0
0
0
0
2
1
0
2
0
0
0
0
1
0
1
1

Tonight’s question: lemonade doesn’t have lemons in, it’s just fizzy water with saccharine in. “Traditional” lemonade tastes of lemons and has lemons in. Was “lemonade” all “traditional” at some point? When did it change? I asked my mum if lemonade in the 50s/60s was what we’d call traditional now, but she doesn’t remember

0
2
2
0
0
1

私が興味を持っている課題のひとつに「俳句を詠むコンピューター」がある。もちろん、今日のコンピューターでも古典的なマルコフ連鎖なりLLMなりで俳句に分類できる文字列を作ることはできる(し、そういうコンセプトのシステムを作った人も実際にいる)。しかし、一定のルールに沿った文字列を確率分布に沿って生成することと、そこにある(またはそこにはない)情景を汲んで俳句を詠むことは異なると私は考えている。

今、「LLMの次」として世界モデル(センサー情報を元に周囲の環境・世界を学習した機械学習モデル)やフィジカルAI(機械学習をロボットや工場などの実世界のモノと相互作用するシステムに適用することを指すバズワード、と理解している)を標榜する企業が多数出ているが、これらの内、特に世界モデルは俳句を詠むコンピューターに迫る上で何らかの貢献をするかもしれないと期待している。

0
0
0
0
0
0
1
0
0