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

名前は以前から見聞きしたことがあるチンパンジーだ。ご冥福を。

チンパンジー「アイ」の逝去について(2026年1月9日) ehub-kyoto-u.com/post/%E3%83%8

0

"もしトランプがこの道を進み続けるならば、世界は100年ほど前の、帝国の時代へと逆戻りしかねない。そのリスクがある。かつてのその世界では、勢力圏をそれぞれもった列強が、自分の意志を周囲に押し付けようとした。かつてのその世界では、民族主義を掲げた強大な権威主義者たちが、自国民を破滅へと導いたのだ。"

【解説】トランプ氏は世界を帝国の時代へ戻す危険がある……BBC国際編集長 - BBCニュース bbc.com/japanese/articles/cgrd

0
0
0
0
0
0

When you realize that an outlet is set to auto power cycle if it can't ping an IP and that the email notification for this is broken and that this explains all the weird reboots that you've been trying to track down… 🤬

0
0
0
0
0
1
0

"500年前に船を着けたからといって、デンマークがグリーンランドを領有することにはならない"

……アメリカって国の成り立ちを学んだほうがいい。

トランプ氏「ロシアや中国にグリーンランドを領有させるつもりはない」、武力行使も排除せず 写真6枚 国際ニュース:AFPBB News afpbb.com/articles/-/3617469

0
0
0

孤独ねえ……いずれ自分にも、そういう時期がくるのかしら。「元気なうちにどこかに行って集団生活した方が効率がいい」というのは、多分そうだなと感じる。

人と話すのは「1年ぶりです」高齢男性のひとり暮らし なぜ孤立化?男性特有の“プライド”背景に(ABEMA TIMES) - Yahoo!ニュース news.yahoo.co.jp/articles/2711

0
1
0
0

I don't think it's a coincidence that all of this (worldwide) is happening when most of the people who lived through WWII have just died. We need to do a better job of keeping their memories and ideals alive.

0
0
0
0

細かい話はよくわからん(検証してない)けど。自分にとっては、納めてきたぶん正当に受け取れる年金を、しっかり受け取るだけの話(でなきゃ暴動を起こしたい笑)。生活保護が羨ましいなんて思ったことはない。

40年間欠かさず国民年金840万円払って、やっと受け取れるのが月額6.9万円だけど、40年間840万円を自由に使って、国民年金を1円も払ってこなかった人が生活保護で13万円受け取れるの、考えるだけで頭痛がする話 - posfie posfie.com/@taimport/p/YUv4sGM

0
0

クレジットカードが死んでDNSが死んだら閲覧できるようになるサイト…無料のGitHubさんアカウントのGitHub PagesとかNetlifyさんの無料プラン内とかでhttpdから静的サイトを出してもらって、えーと、DNSが生きてる時には個人サイトにリダイレクトしてもらって、DNSが死んだら、えーと、

0
1
0
0
0
0
0
1

Who knows if this’ll make it to anyone new to Fedi, but…

My advice: upload a photo and fill out that profile, just to show there's a human there. Follow anyone and anything that seems moderately interesting (and prune as you go).

Then just read and absorb it all for a couple weeks. Get a sense of what it's all about, how the culture and no algorithm work. This has some trappings of corporate social media sites, but it's very not — figuring out exactly what that means was key to my experience.

0
0
2
2
0
0
0
1
0
1

Today I've investigated migrating drmdb.emersion.fr to SQLite. It wasn't as simple as I hoped.

drmdb collects JSON blobs representing supported features for GPU display engines. It has ~1k blobs, each between 10 and 200KiB. Operations needed to render a page aren't easily described in something other than application code: specialized comparison functions, deeply nested aggregates, and so on.

Originally drmdb used a very dumb scheme: it stored all of the blobs in a directory. Each time it needed to render a page, it loaded all of the blobs from disk. It worked pretty well until we hit a few hundred blobs. Then it took multiple seconds to load each page.

I put varnish in front of drmdb as a stop-gap, but cache invalidation was annoying to deal with. Users wouldn't see their device in the lists after uploading their data. Pages would still take multiple seconds to generate after being invalidated.

Then I switched to another dumb approach: on startup, read everything from disk into memory, up to a limit of 1k. Startup would take a dozen seconds, but then everything would render instantly.

Then the dataset grew larger. I bumped the 1k memory limit to 4k. It felt wrong, but worked okay. The heaviest page loads in 3s now, second heaviest page loads in 400ms.

I wondered how SQLite would fare for this kind of unusual use-case. Just moving the dataset from the filesystem to SQLite made everything very slow again: well, everything is pulled from disk so that's to be expected.

(Continued below)

0
0
1
1
0
0
0
1

hi! i'm cat. i work on open source software and hardware, like:

and a lot more.

i joined mastodon.social back when it was cool, about a decade ago. it stopped being cool a while ago so i figured i'd move over to treehouse.social. here's to a decade more here!

3