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
0
0
0
0
0
0
0
0
0

Let’s talk about placeholder, format indication and accessibility.

Short and simple version: don't placeholders to communicate input format indication.

In this example, from a real I filled a couple of days ago, the birthdate expected format is indicated with placeholder: YYYY-MM-DD. As soon as the user starts typing, it disappears. If they forget the expected format, they must erase their input just to see the format indication again.

 Visual tip about accessibility in form design, stating “Placeholders should not be used for format indication.” Shows a birthdate input field with a disappearing date format placeholder and a user confused about the format. Caption emphasizes that input formats should be persistent and visible.
0
0
0
0
0
0
0
0
0
0

聽說越嚴重的精神病跟基因越有關係。這本書挺有趣的,裡面說經常「生活的巨大變動」是躁鬱症發作後的結果,觸發原因確實不太明瞭。雖然二次、三次都會跟壓力有些關係。

0
0
0

회사에서 거의 10년 동안 운영한 서버를 교체 중이다. 고생 많으셨습니다. 서버님⋯ 새로 오신 서버님에게는 돼지 머리랑 막걸리 준비는 못했지만 절이라도 올려야겠다.

0
0
0

pnpm에는 'Catalogs'라는 기능이 있다. 프로젝트 루트의 YAML 파일에 "react: ^18.3.1" 처럼 의존성 버전을 명시해놓으면, 하위 워크스페이스의 package.json에서 "react: catalog:"와 같은 방식으로 YAML 파일에 명시된 버전을 참조할 수 있다. 대규모 모노레포 환경에서는 모든 워크스페이스에 걸쳐서 일종의 '표준 의존성 집합'을 정의하고 전파할 수 있게 만들어주기 때문에 아주 유용하다. 그리고 그걸 yarn에서도 쓸 수 있게 해주는 플러그인: github.com/toss/yarn-plugin-ca

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

사람들 건강좀 챙겼으면 좋겠다 휴식 제때 안하면 몸 망가지는건 확실한거고 극단적으로 말하면 언제 심장마비로 급사 할지 모르는건데 아무리 여건이 안된다고 해도 자기가 주어진 환경에서 최소한의 휴식 시간 마련하려는 마음가짐이라도 당장 일 때문에 시험 때문에 안된다고 하면 그럼 일하다 죽거나 시험 때문에 죽는게 더 맞다고 생각하는건 아닌 것 같아 물론 가끔 바쁠 때 있을 수 있어 그러면 앞으로는 덜 바빠지도록 일감을 줄이거나 일터를 옮기거나 했으면 좋겠어 나는 사람들이 건강했으면 좋겠어 과로로 죽지 않았으면 좋겠어

0

65% of Wikimedia's most expensive traffic comes from bots.

"Since January 2024, we have seen the bandwidth used for downloading multimedia content grow by 50%. This increase is not coming from human readers, but largely from automated programs that scrape the Wikimedia Commons image catalog of openly licensed images to feed images to AI models."

diff.wikimedia.org/2025/04/01/

0
3
0
0
0
0