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
1

My Fediforum 2025 keynote is out: "Fun, the Fediverse, and Spritely"
youtu.be/jSOk8XQuqms
spectra.video/w/aQgZJDLam35wUc

This was definitely one of the most energetically received talks I've ever given

I talk about the technical and political challenges we're facing, why the current fediverse is not enough, but why there's hope, and why joy is essential to our success

0

์˜ค๋Š˜์€ docker ํ™˜๊ฒฝ์—์„œ์˜ ์›์‹œ์ ์ธ CI๋ฅผ ๊ฐ„๋‹จํžˆ ๊ตฌ์ถ•ํ–ˆ๋‹ค. C++ ํ”„๋กœ์ ํŠธ๋ฅผ ๋งˆ์šดํŠธํ•ด์„œ docker ์•ˆ์— ์žˆ๋Š” toolchain์œผ๋กœ ๋นŒ๋“œํ•ด์•ผ ํ–ˆ๋Š”๋ฐ, docker ์•ˆ์—์„œ ์ˆ˜ํ–‰ํ•  script๋ฅผ ๋ฐ”๊นฅ์—์„œ ๊ฐ™์ด ๋งˆ์šดํŠธํ•ด์„œ ๋‹ค๋ฅธ script๋กœ ํ˜ธ์ถœํ•˜๋Š” ๊ตฌ์กฐ๋กœ ๋•œ๋นตํ–ˆ๋‹ค. ๋‹ค๋ฅธ ๋ถ€์„œ์›๋“ค์ด ํŽธํžˆ ์“ธ ์ˆ˜ ์žˆ์–ด๋ณด์—ฌ ๋งŒ์กฑ์Šค๋Ÿฝ๋‹ค.

bash script๋Š” ์งค ๋•Œ๋งˆ๋‹ค ์•Ž์ด ๋„“์–ด์ง„๋‹ค. ์˜ค๋Š˜ ์ƒˆ๋กญ๊ฒŒ ๋ฐฐ์šด ๋ชฉ๋ก์ด๋‹ค.

  • set -o pipefail๋กœ nonzero exit code๋ฅผ pipe๋ฅผ ํ†ตํ•ด์„œ๋„ ์ „ํŒŒํ•  ์ˆ˜ ์žˆ๋‹ค.
  • echo -e๋กœ backslash๋ฅผ ํ™•์žฅํ•ด์„œ \e[1;33m ๋“ฑ์˜ ์ƒ‰์ƒ์„ ์ ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค.
  • cat์€ ๊ธฐ๋ณธ์ ์œผ๋กœ ์ƒ‰์ƒ์ถœ๋ ฅ์„ ์ง€์›ํ•˜์ง€ ์•Š๋Š”๋‹ค.
  • grep -q๋Š” ์กฐ๊ฑด์ด ๋ถ€ํ•ฉ๋˜๋ฉด ๋ฐ”๋กœ ์ข…๋ฃŒ๋˜๊ธฐ ๋•Œ๋ฌธ์— ์•ž ํ”„๋กœ์„ธ์Šค์˜ ์ž…๋ ฅ์„ ๋‹ค ๋ฐ›์ง€ ๋ชปํ•  ์ˆ˜ ์žˆ๋‹ค.
  • ์ •๋ง ์˜ค๋žœ๋งŒ์— printf์— %*๋ฅผ ์จ๋ดค๋‹ค.

์ž‘์„ฑํ•˜๋Š”๋ฐ ํ…Œ์ŠคํŠธ๊นŒ์ง€ 1~2์‹œ๊ฐ„ ์ •๋„ ๊ฑธ๋ ธ๋Š”๋ฐ ์š”์ฆ˜ AI๋ผ๋ฉด ๊ธˆ๋ฐฉ ๋๋‚ด์ง€ ์•Š์•˜์„๊นŒ ์‹ถ๋‹ค...

1

์ง€๊ธˆ์€ ์•„๋‹ˆ์ง€๋งŒ ๋‚ด๊ฐ€ HHKB ๋ ˆ์ด์•„์›ƒ์„ ์“ฐ๊ณ  ํ„ฐ๋ฏธ๋„์—์„œ ์ด๊ฒƒ์ €๊ฒƒ ํ•˜๋Š” ๊ฒƒ ๋•Œ๋ฌธ์— vim ์— ๋Œ€ํ•ด ๊ด€์‹ฌ์„ ๊ฐ€์ง€๋Š” ๋™๋ฃŒ๋“ค์ด ์žˆ์—ˆ๋‹ค. ๊ฐ€์žฅ ์‰ฝ๊ฒŒ ์ ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๊ฒƒ์€ ์˜ˆ์œ ํ„ฐ๋ฏธ๋„ ์—๋””ํ„ฐ์˜€๊ณ  ๊ทธ ์ฒซ ํ›„๋ณด๋กœ nvchad ๋ฅผ ์ถ”์ฒœ ๋˜๋Š” ์„ค์น˜ํ•ด์ฃผ์—ˆ๋‹ค. https://nvchad.com/ vscode ์—์„œ ์ด๊ฑธ๋กœ ๋‹น์žฅ ๋„˜์–ด์˜ค๋ผ๊ณ ๋Š” ๋‹น์—ฐํžˆ ๋ชปํ•˜๊ณ  ํ„ฐ๋ฏธ๋„์—์„œ ์ฝ”๋“œ ์ฝ์–ด ๋ณผ ๋•Œ ์‚ฌ์šฉํ•˜๋ผ๊ณค ํ–ˆ๋‹ค. ๋ช‡๋ช‡์€ vscode ์—์„œ vim ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์„ค์น˜ํ•ด ์‚ฌ์šฉํ•˜๊ธฐ ์‹œ์ž‘ํ–ˆ๋‹ค. lazyvim ๊ณผ nvchad ๋ฅผ ๋ฒˆ๊ฐˆ์•„ ๊ฐ€๋ฉฐ ์“ฐ๊ณ  ์žˆ๋‹ค. siduck ์˜ ๋ฏธ๊ฐ์€ ํ›Œ๋ฅญํ•˜๋‹ค.

ํƒ€์ด๋จธ ํŒจ๋„์€ ๋งˆ์šฐ์Šค๋กœ ๋“œ๋ž˜๊ทธํ•  ์ˆ˜ ์žˆ๋‹ค.
5
0
0
0
0
0
1
1
1

GoogleใŒๆฏŽๅ›žCAPTCHAใ‚’ๆฑ‚ใ‚ใฆใใ‚‹ใฎใฏใ‹ใชใ‚Šไปฅๅ‰ใ‹ใ‚‰ใฎๆŒ™ๅ‹•ใ˜ใ‚ƒใชใ‹ใฃใŸใฃใ‘๏ผˆใŠใพ็’ฐ๏ผ‰๏ผˆๆฏŽๅ›žprivate windowใงใ‚ขใ‚ฏใ‚ปใ‚นใ—ใฆใ„ใ‚‹๏ผ‰

0

ใ“ใ‚Œใคใ„ๆœ€่ฟ‘ใฎ๏ฝบ๏พž๏ฝฏ๏ฝบ๏พž๏พ–ใ‚‚ใใ†ใชใฎใงใ€ใŸใถใ‚“่ฃใงไฝ•ใ‹่ตทใใฆใ„ใ‚‹ใฎใ ใจๆ€ใ† (ๆ–ฐใ—ใ„ๅนณๅธธ็Šถๆ…‹ใ ใฃใŸใ‚‰ๅซŒใ™ใŽใ‚‹)

0

DuckDuckGoใ€ๆ™ฎ้€šใซๆคœ็ดขใ™ใ‚‹ใ ใ‘ใง็”ปๅƒ้ธใฐใ›ใ‚‹CAPTCHAใŒๅ‡บใฆใใฆไธๆ„‰ๅฟซใชๆคœ็ดขใ‚ตใƒผใƒ“ใ‚นใ ใชใซใชใฃใฆใ‚‹
0
1
1

์›นํ•‘๊ฑฐ ์‚ฌ์ดํŠธ์— ํ•˜์Šค์ผˆ ํด๋ผ์ด์–ธํŠธ ๋งํฌ๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” PR์„ ์ œ์ถœํ–ˆ๋‹ค. PR์€ ๋ฐ”๋กœ ๋จธ์ง€(merge) ๋˜์—ˆ๋Š”๋ฐ ๋ฐฐํฌ์— ์ด์Šˆ๊ฐ€ ์žˆ์–ด์„œ ์•„์ง ์‚ฌ์ดํŠธ์— ๋ฐ˜์˜๋˜์ง€๋Š” ์•Š์•˜๋‹ค.

๊ทธ๋ฆฌ๊ณ  ํ•˜์Šค์ผˆ ํด๋ผ์ด์–ธํŠธ ์˜ˆ์ œ ์ฝ”๋“œ์— ํ•ด์ปค์ฆˆ ํผ๋ธŒ ์ฃผ์†Œ๋ฅผ ์€๊ทผํžˆ ์ ์–ด ๋„ฃ์—ˆ๋‹ค!(๊นจ์•Œ ๊ด‘๊ณ )

{-# LANGUAGE OverloadedStrings #-}

module Main where

import Data.Default
import Web.Finger.Client

query :: Query
query = def { qryTarget = resource }
  where
    resource = ResAccount (Account "curry" "hackers.pub")

main :: IO ()
main = do
  manager <- newManager
  result <- webfinger manager query
  print result
10
0
0
0
0
0
0
0
0

The Disability Caste System: Who Gets to Be โ€œDisabled Enoughโ€?
Disability inclusion often favors people who donโ€™t need many changes, creating a system where being โ€œeasy to work withโ€ matters more than real access. Real equity means including all disabled people. Not just the ones who fit into a comfortable story!

Article by William Harkness: linkedin.com/pulse/disability-
linkedin.com/pulse/disability-

0
0
0

ๅฐๅญฉ็š„่ˆ…่ˆ…ๅฐๅฐๅญฉไนŸๅคชๅฅฝไบ†ๅง๏ผ้‚„ๆฒ’ๆ”พๆš‘ๅ‡ๅ‘ข๏ผŒๅทฒ็ถ“ๅŽปๆŠฝ็Žไธฆไธ”ๆŠฝๅˆฐ Switch2 ๆ†ๆ†้ฆฌๅˆฉๆญ่ณฝ่ปŠไธ–็•Œๅ…ฅๅ ดๅˆธ๏ผŒๆบ–ๅ‚™ๆŽๅ‡บๅก็‰‡ๅนซๅฐๅญฉๅ‚™ๅฆฅ็Žฉๅ…ทไบ†ๅ—šๅ—šๅ—šใ€‚

0
0
1
0

tl;dr billionaires are the stupidest people

โ€œIn October, Eric Schmidt, the former CEO of Google, said the solution to the climate crisis was to use more energy: Since we arenโ€™t going to meet our climate goals anyway, we should pump energy into AI that might one day evolve to solve the problem for us.โ€

rollingstone.com/culture/cultu

0
0

้Ÿ“ๅœ‹่ชž(ํ•œ๊ตญ์–ด)์— ใ€Œๅฟต้ ญ(์—ผ๋‘)ํ•˜๋‹คใ€๋ผ๋Š” ๅ‹•่ฉž(๋™์‚ฌ)๋Š” ์—†๋‹ค. ใ€Œ๋งˆ์Œ ์†ใ€์ด๋ผ๋Š” ๋œป์˜ ใ€ๅฟต้ ญ(์—ผ๋‘)ใ€‘๋ผ๋Š” ๅ่ฉž(๋ช…์‚ฌ)๋Š” ์žˆ๋‹ค. ๋”ฐ๋ผ์„œ ใ€Œๅฟต้ ญ(์—ผ๋‘)ํ•ด ๋‘๋‹คใ€๋ผ๋Š” ่กจ็พ(ํ‘œํ˜„)์€ ์ž˜๋ชป๋œ ๊ฒƒ์ด๋‹ค. ํ’€์–ด๋ณด๋ฉด ใ€Œ๋งˆ์Œ ์† ํ•ด ๋‘๋‹คใ€๊ฐ€ ๋˜๋Š”๋ฐ ๋ง์ด ์•ˆ ๋œ๋‹ค. ใ€Œๅฟต้ ญ(์—ผ๋‘)์— ๋‘๋‹คใ€๊ฐ€ ๋งž๋Š” ่กจ็พ(ํ‘œํ˜„)์ด๋‹ค. ํ’€์–ด๋ณด๋ฉด ใ€Œ๋งˆ์Œ ์†์— ๋‘๋‹คใ€๊ฐ€ ๋˜๋ฏ€๋กœ ๋ง์ด ๋œ๋‹ค.

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

"The opposition to climate action is using anti-trans rhetoric to build its base"

"A new analysis shows 80% of anti-trans groups have financial links to the fossil fuel industry, @yessfunYessenia Funes reports" - @emorweeEmily Atkin (via bsky)

HEATED: Fossil fuel billionaires are bankrolling the anti-trans movement

heated.world/p/fossil-fuel-bil

0
0
0

โOver four months, LLM users consistently underperformed at neural, linguistic, and behavioral levels. These results raise concerns about the long-term educational implications of LLM reliance and underscore the need for deeper inquiry into AI's role in learning.โž

Hell of a research abstract there, via @gwagnerGernot Wagner: fediscience.org/@gwagner/11469

0
0
0

Good morning from New York, the global stage is set!

At UN Open Source Week, we bring a unique perspective: institutional experience in investing in open digital infrastructure for the public good.

The Sovereign Tech Agency is more than a voice in the room, our organization is a blueprint for action. Digital sovereignty depends on global collaboration. Letโ€™s make this week count.

Skyline of New York City
0
0
0
0
0
0
0

Your Brain on ChatGPT: Accumulation
of Cognitive Debt when Using an AI
Assistant for Essay Writing Task arxiv.org/pdf/2506.08872

Fascinating paper. It's long, 200 pages; you can read the intro and the Discussion section and get much out of it already though, but they do their homework.

Effects of LLM usage on memory retention and task execution:

- LLM users do get judged well by human and LLM judges for their essays
- Can't remember them
- Low cognitive activation
- Essays are mostly the same

0
7
0