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.

第17回 素早い起動を可能にする「高速スタートアップ」:Windows 8レボリューション - @IT atmarkit.itmedia.co.jp/ait/art

起動時間を大幅に短縮するにはどうすればよいか? そこで考え出された解決方法が「起動時に初期化するのを止める」である。代わりに、前回の最後の状態(シャットダウン直前のメモリやCPUの状態)を「休止状態としてディスクに保存」しておき、「起動時にはその休止状態から復帰させる」ようにすれば、いちいち初期化する必要がなくなるというわけだ。ただし一般的な休止(ハイバネーション)状態と違い、高速スタートアップではユーザー・セッションをすべて終了させ、ユーザー・シェルまで終了させた状態にしてから、カーネルを休止している。カーネルとデバイス・ドライバ、サービスだけがメモリ上に残った状態で休止させることにより、保存に必要なディスク領域が少なくて済む(カーネル・メモリの分だけなので数100Mybtesでよい)。

0

> 比爾·蓋茨: 有件事我一直在思考,我們是否應該嘗試讓「ACPI」擴展成為Windows專屬功能。如果我們做了這項工作,也讓合作夥伴投入努力,結果卻是Linux 不用做這些工作就能完美運行,這似乎不太理想...或許我們可以設計這些API,讓它們在 NT 系統上運作良好,但對其他系統就不那麼友善,即使這些 API 是開放的。或者我們可以申請與此相關的專利。

WTF :cate:

原文:我是如何發現比爾·蓋茲壟斷ACPI是為了破壞 Linux enaix.github.io/2025/06/03/acp

0

第17回 素早い起動を可能にする「高速スタートアップ」:Windows 8レボリューション - @IT atmarkit.itmedia.co.jp/ait/art

起動時間を大幅に短縮するにはどうすればよいか? そこで考え出された解決方法が「起動時に初期化するのを止める」である。代わりに、前回の最後の状態(シャットダウン直前のメモリやCPUの状態)を「休止状態としてディスクに保存」しておき、「起動時にはその休止状態から復帰させる」ようにすれば、いちいち初期化する必要がなくなるというわけだ。ただし一般的な休止(ハイバネーション)状態と違い、高速スタートアップではユーザー・セッションをすべて終了させ、ユーザー・シェルまで終了させた状態にしてから、カーネルを休止している。カーネルとデバイス・ドライバ、サービスだけがメモリ上に残った状態で休止させることにより、保存に必要なディスク領域が少なくて済む(カーネル・メモリの分だけなので数100Mybtesでよい)。

0
0
0

USpol

I don't post about this a lot because if I start I probably won't be able to stop.. but ffs it's heartbreaking watching the US devolve into fascism. Seriously? Kidnappings at daylight? Putting people into camps? Stripping the rights of women, poc, trans people, etc? Taking away people's citizenship? Dismantling judiciary checks and balances? The parallels with 1936 Germany are so painfully clear.

Sorry, I hope everyone stays safe. 🫶

0
0
0
0
0
0
0
0

아빠는 독일인, 엄마는 한국인인 부모가
영국에 살면서 아이가 태어났고
독일학교, 한국학교, 영국학교 중에서 고민할 것 같다가
아이를 프랑스학교에 보냈다는 이야기가 있습니다.
이유는 그냥 커리큘럼이 좋아서였다고 합니다.
언어야 뭐 아빠도 엄마도 언어 배우는 머리가 있으니
프랑스학교에서도 잘 하겠지 싶었다네요.

그렇다면 한국인으로서 자신의 자녀랑
영미권이나 유럽 국가에서 산다고 가정했을 때,
커리큘럼이 좋다면
일본 학교나 중국 학교에 보낼 수 있으신가요?

여러분의 의견이 궁금합니다. 의견이 있으신 분들은 실타래 디스코드로 와주세용👍

discord.gg/9y9UuXTy

0
0
1
1
1
0
0

차별금지법과 생활동반자법(더 나아가 혼인평등법이 되어야할)도 결국 사람을 살리는 민생법입니다. 정말 폭력과 혐오로부터 물리적으로 사람을 살리고, 그들이 서로 반려가 되고 가정을 꾸리면 실질경제에 긍정적 영향을 줄 수 밖에 없죠. 진보적 아젠다가 아닌 보수적 자본주의 아젠다로 보더라도 이건 긍정적입니다. 우선 결혼 시장으로 돈이 들어갈겁니다. 시장에 돈이 들어가면 유효수효가 늘어나면서 실물경제에 긍정적 영향을 끼칠 수 밖에 없습니다.

0
0
1
1
0
2
0
0
1

Update on my interest in moving away from to another code forge. I was excited about because it is meant to be , but I ended up deciding against it. Besides the use of cryptocurrency for fundraising/management being a red flag, I found that I needed a seed node with a dedicated address in order to host a private repo, which doesn't feel truly P2P.

I also want to be able to convince other people to use the code forge with me to write code and papers. The added complexity of Radicle (from a user's perspective) seems like even more of an uphill battle than getting mathematicians to choose git instead of . (By the way, we could use a Overleaf alternative.)

Due to these considerations, it looks like self-hosting @forgejo is the way to go! (Even if it's not P2P.)

Anyway, I have gotten set up with a European VPS thanks to european-alternatives.eu/ and have a Debian machine running. I now need to get Forgejo set up, and I have three install methods I might use:

1) Follow forgejo.org/docs/latest/admin/
2) Follow codeberg.org/forgejo-contrib/f which says that (1) is bad
3) Use podman

From (2) I could start Forgejo and from (3) I could start a container, but the instructions on forgejo.org/docs/latest/admin/ don't work for me. In all cases I need to use the web UI to finish installation. Am I supposed to have no CLI alternative for this? I feel like installing a desktop environment on my VPS is not the answer, but I'm not sure what else to do here.

0

My holiday hot take:

I'm glad people can send their AI note takers to meetings in their place, because anyone who wants to do that wasn't planning to contribute anything or isn't necessary to reach agreements, and would probably have slowed everyone down.

0

차별금지법과 생활동반자법(더 나아가 혼인평등법이 되어야할)도 결국 사람을 살리는 민생법입니다. 정말 폭력과 혐오로부터 물리적으로 사람을 살리고, 그들이 서로 반려가 되고 가정을 꾸리면 실질경제에 긍정적 영향을 줄 수 밖에 없죠. 진보적 아젠다가 아닌 보수적 자본주의 아젠다로 보더라도 이건 긍정적입니다. 우선 결혼 시장으로 돈이 들어갈겁니다. 시장에 돈이 들어가면 유효수효가 늘어나면서 실물경제에 긍정적 영향을 끼칠 수 밖에 없습니다.

0

세기의 대결!!!

요즈미나 (@Yozumina:sus_cat: 요즈미나 :blahaj_face:) vs 레몬그린(@starterdroid윤서아🍋)의 다이어트 대결!!!

6개월 후 (송년회 날)까지 10키로를 못 빼는 사람은~~??

상대가 원하는 옷 입고 대중교통으로 송년회까지 오기 벌칙!!!!

요즈미나: 메이드복.모에의 수장답게 짧은 메이드복에 하얀색 오버니를 입고 와라!!
레몬그린: 세라복.모에의 수장답게 세라복에 네코미미 네코반장갑를 입고 와라!!

*실패하는 경우에만 입습니다. 네... 둘 다 실패하면 둘 다 입습니다...

3
0

これは単に聞いてみたいだけなんだけど
:misskey2017:する上ではiPhoneとAndroid(Pixel等)って、どっちのほうが向いてるんだろう?
しゅいろママはiPhoneユーザーだったよねたしか…

1
2
0

次の0.1度上昇を抑えれば、氷河を2%融解させずにすみます。それによって命や生活を救うことができます。みんなヒーローになれる。⇒ 《気温が0.1度上昇するごとに、約2%の氷河が失われる》

氷河の39%がすでに消失確定。そこから先は「0.1度」の違いで運命が変わる gizmodo.jp/2025/06/almost-40-o

0

Reddit is going crazy about the Switch 2 using "encryption", to lock out third party docks, but as far as I can tell that's misinformation.

Nothing in the logs looks like encryption, it's just a proprietary protocol. Manufacturers clone those all the time!

Not following standards is not nice, but saying this dooms third party docks or has any DMCA implications is nonsense. In fact the article already points out one compatible third party dock.

The original switch also "locked out" standard adapters, just in a simpler way only checking the device ID.

Nintendo has used actual encryption to lock out third party peripherals before (Wii Remote control extensions). If they cared enough they'd have done that again.

reddit.com/r/gaming/s/0gZWh2I5

0
0
0
0
0
0

大罷免的核心理由整理(摘要版)
(出處 g0v.social/@chibc_@threads.net )

1️⃣ 國會已經被「傅黃體制」劫持

* 國會程序被徹底破壞,立法品質崩壞。

* 委員會未實質審查就送出法案,完全無視民主程序。

* 「臨時動議」被濫用為法案抽換手段,違反議事原則。

* 黃國昌提出的「最高機密版本」法案未經討論直接通過,藍白立委形同橡皮章

0

Reddit is going crazy about the Switch 2 using "encryption", to lock out third party docks, but as far as I can tell that's misinformation.

Nothing in the logs looks like encryption, it's just a proprietary protocol. Manufacturers clone those all the time!

Not following standards is not nice, but saying this dooms third party docks or has any DMCA implications is nonsense. In fact the article already points out one compatible third party dock.

The original switch also "locked out" standard adapters, just in a simpler way only checking the device ID.

Nintendo has used actual encryption to lock out third party peripherals before (Wii Remote control extensions). If they cared enough they'd have done that again.

reddit.com/r/gaming/s/0gZWh2I5

0

在日语教室跟老师聊台湾和两岸政治,一美国白男过来插嘴,一脸郑重地压低声音说最好不要聊这方面政治。

此白男在上海生活了十年,中文流利,因为大瘟疫封城才离开中国,属于是腌入味了。

0
0
0
0
0
0
0

讀:

> 根據《移工便利商店大調查》發現,超商是移工消費頻次最高的通路,有 5 成移工每週進超商消費至少 4 次,更有 2 成移工,幾乎天天進便利商店消費。換句話說,超商是移工工作場所跟住所以外,最常造訪的地方,是他們的第三生活空間。

> 值得注意的是,移工消費頻率跟台灣人差不多,平均每 2 天就會進超商消費一次,但客單價卻是台灣人的 2 倍,因為喜歡一次買齊、偏好多組入產品。

> 在調查中發現移工最喜歡的商品,竟然沒有咖啡,詢問之下才發現,是因為他們看不懂咖啡菜單,後來就在 Let's Café 電子面板上增加印尼文與越南文,也在每個品項前面加上編號,方便點餐。

> 在交流活動上,全家同仁問移工朋友通常怎麼挑選想吃的鮮食,對方就指著一個咖喱飯,告訴他像那種的就可以,原因是上面有「牛」的圖片,讓他知道那是牛肉口味。因此全家也重新盤點鮮食品項,針對近 80 項沒有豬肉的產品,貼上不含豬肉的標籤;另外,也設立不含豬肉的熟食專區,把熱狗、包子餡料改為雞肉。

managertoday.com.tw/articles/v

0
2
0