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.

1
1

normal C: the programmer will write what type they want, easy
C++: we're fancy, the compiler can, like, infer type stuff on the left side of an assignment based on the type on the right side! it might make it a little harder to figure out stuff like iterator types without a fancy IDE but it will be worth the convenience if the feature isn't overused
Rust: you're like a baby, hold my beer, we will infer part of the type of a variable based on WHAT HAPPENS DOZENS OF STATEMENTS FURTHER DOWN mwahaHAHAHAHAHA good luck trying to read this code in one pass suckers

0
1
1
1
1
0

お肌に直接触れるものは安心の天然素材にしたいですよね。そこで本日ご紹介するこちらのマスク! 天然のトリカブトがタップリ使用されているんてます!

1
1
0
1
1
0
0
0
4
0
0

많은분들이 아시겠지만 정말 현재 언어모델은 해마가 날라간 사람과 아주 비슷합니다 길어야 몇분 정도뒤에 기억이 리셋되는 불쌍한 환자 같은 느낌이 있는데 제가 영상이나 글 링크를 올리긴 좀 그렇고 그냥 제미나이 당사자 분의 요약을 짤방으로 넣겠습니다 즉 기억을 형성하고 정리하고 활용하는 것 자체가 사람의 지능/정체성/영혼???을 구성하는 중요한 부분 아닌가 싶은것인데 언어모델은 웃프게도 이 부분이 아직 잘 안됩니다; 많은 연구자들도 이 문제를 잘 알고 있고 개선된 실험적인 모델은 요 근래에 많이 나오고 있습니다...만...

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

택배보낼 운송장을 체크하다보면 성이 '고'씨인데 이름이 '환'으로 끝나는 분들의 건을 볼 때마다 실소가 나오는데 중간이 *로 마스킹 되어 출력되기 때문이다. 이런 것으로 웃을 나이는 지나지 않았나 싶지만 앞으로도 평생 그럴 것 같다.

이 자리를 빌어 해당되시는 분들께 미리 사과드립니다.

0
0
0
0

論理というのはそれだけで人を説得することはできないのは、現場に1年もいれば理解します。

信頼と見込まれる利益と武力を背景とした恫喝がないと、論理は通らないっす。

0
1
1
0
1
0
2

New at Journeys in Film: The Social Dilemma Teaching Resources! This documentary-drama hybrid reveals how social media is reprogramming civilization, with tech experts sounding the alarm on their own creations.

Teach about digital literacy, media literacy, and online safety with this powerful resource collection. Adaptable adaptable for middle, high school, and college.

journeysinfilm.org/the-social-

@educationeducation 组 @edtechedtech 组 @homeschoolinghomeschooling 组

Illustration of a person in a hoodie staring at a phone string. The person is tied up with red strings like a marionnette. Flames burst from the screen and engulf the person's head. At the top, it says: "The Social Dilemma".
0
1
0

황당하게 들리시겠지만 이미 트랜스포머 구조가 나온지 몇년 지났고 그동안 온갖 논문들이 쏟아져나왔고 천문학적인 돈이 들어왔음에도 불구하고 아직도 기술적인 한계로 흉내만 냈거나 문제가 많은 구조적인 한계가 있습니다... 그래서 제가 자주 이동네 기술은 역사적으로 보면 아직 산업혁명 시대와 비교했을대 현재 와트가 만든 증기기관 단계에 있다고 하는것입죠;;

0
我都看ArchWiki
😆

我很欣賞 ArchWiki 維護者的付出 https://k7r.eu/i-love-the-work-of-the-archwiki-maintainers/

Matthias Kirschner 在今年的「I love Free Software Day」藉由一篇短文向自由軟體文件的維護者致謝,特別點名 ArchWiki 的維護團隊。他強調,無論是維護者本身,或是文件維護這類常被視為「理所當然」的工作,對軟體自由與知識傳承的貢獻經常被低估,卻是整個生態能長期運作的關鍵。

他分享自己與身邊許多人即使不一定在用 Arch Linux,也會經常查 ArchWiki:從理解 e-mail 軟體、文字編輯器到各種 window manager(視窗管理器),甚至在原始文件難以找到的功能或設定技巧,往往能在 ArchWiki 找到更清楚、可操作的整理。當他替家人朋友安裝或排除 GNU/Linux 發行版問題時,ArchWiki 也常是最可靠的後盾,甚至成為他想快速搞懂某個軟體時最先開的頁面之一;文中也引用 Edward Snowden 對「搜尋結果品質全面下滑、但 ArchWiki 例外」的感嘆,來凸顯其稀有價值。

Kirschner 進一步感謝所有貢獻者彙整知識、協助更多人理解科技,也感謝維護者確保這個資源長期可用、可信賴。他鼓勵讀者直接向 ArchWiki 維護者表達謝意,並考慮捐款給 Arch Linux;文末也提到他在 FOSDEM(Free and Open source Software Developers' European Meeting,歐洲自由與開放原始碼開發者大會)與 Arch 專案相關成員碰面並送上小禮物的插曲。

留言區的共鳴非常強烈:不少人表示早就不使用 Arch,甚至從未使用 Arch,但遇到 Linux 或常見工具的疑難雜症時仍會優先查 ArchWiki,因為內容「幾乎不會錯」,也比 Google 等搜尋結果更可靠。也有人說正是因為 ArchWiki 的文件文化太出色,才決定改用 Arch;同時也提到 ArchWiki 的影響力已外溢到其他發行版,例如 NixOS 會在 systemd(Linux 常見的初始化與服務管理系統)timer(排程)等主題直接引用 ArchWiki 作為參考。

討論也延伸到文件形式本身:有人推薦 man.archlinux.org,認為其可讀性比 man7.org 更友善,且收錄了 Arch 的 extra 套件庫(repository)中許多常見開放原始碼工具的 man page(手冊頁);也有人補充這些線上 man page 甚至可下載。另一條支線則感嘆近年不少新的 CLI(command-line interface,命令列介面)工具不再提供 man page,只留下 --help,導致使用者得猜參數;有人想做把 help 輸出自動轉成 troff(傳統 man page 排版格式)的小工具,也有人強調「能在命令列啟動的工具就該有 man page」。少數回憶派則提到早期 Arch 用 pacman(Arch 的套件管理器)pacman -Syu 更新常把系統弄壞,修復過程雖痛苦卻逼人快速學會,甚至間接促成 wiki 的厚度;也有人舉 CUPS(Common UNIX Printing System,列印系統)與 SANE(Scanner Access Now Easy,掃描器介面)為例,說明 ArchWiki 早已成為跨發行版的首選參考資料。

https://news.ycombinator.com/item?id=47020191
0
0

@mwicharyMarcin Wichary @atomicbirdTom Harrington @DrwaveMichael B. Johnson I’ve encountered so many “USB-C” issues where the cable turned out to be the problem that I’ve bought these two devices to test cables:

BitTradeOne USB cable checker: bit-trade-one.co.jp/en/adusbci

ChargerLAB POWER-Z USB port tester: power-z.com/products/chargerla

The first device shows me cable CONNECTIVITY—it’s shocking how many “USB-C” cables don’t have all their pins connected. It also shows you how much resistance the cable exhibits, which limits power application.

The second device displays various software queries. The most important is the cable’s E-Marker identifier, which tells you what protocols it supports. The device also lets you snoop on what’s going on in the cable when it is connected.

I went through my bucket of “USB-C” cables and threw out a bunch of them because they failed one test or another which made them booby traps for when I want to use them.

BONUS: the first device also tests adapters e.g. USB-A to C as well.

0
1
1
0