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.

USA picks of the day:

➡️ @DestinationYellowstone - Travel tips, wildlife photos, news about West Yellowstone

➡️ @nftaNorth Fork Trails Association - Org maintaining trail structure in North Fork Flathead area

➡️ @MTPRMontana Public Radio - Network of public radio stations in Montana, affiliate of NPR

➡️ @dailymontanan.com🦜 Daily Montanan - News feed of Daily Montanan non-profit news service

➡️ @www.kpax.com.news🦜 News - News feed of KPAX Channel 8 television station in Missoula

🧵 1/4

0
0

あとねー、IT投資って国内の需要喚起力が他の産業よりものすごく少ないのよ。特にAIは低い。
ハードウエアもOSも主要クラウドも、そしてAPIの利用料も、乗数効果は0だ。ただのコスト。国内の需要には一切貢献しない。成長産業だし必要な投資もあるけれど、そこを通る金の大半はただ消えていく。
100億の橋をかければ60億の人件費が消費に回り、乗数効果で80、100億と需要を産む土木建築のようなわけにはいかないんだよ。

0
0
0
0
0
0
2
0
0
0
0
1

chewing_leopard shared the below article:

How to pass the invisible

洪 民憙 (Hong Minhee) @hongminhee@hackers.pub

This post explores the enduring challenge in software programming of how to pass invisible contextual information, such as loggers or request contexts, through applications without cumbersome explicit parameter passing. It examines various approaches throughout history, including dynamic scoping, aspect-oriented programming (AOP), context variables, monads, and effect systems. Each method offers a unique solution, from the simplicity of dynamic scoping in early Lisp to the modularity of AOP and the type-safe encoding of effects in modern functional programming. The post highlights the trade-offs of each approach, such as the unpredictability of dynamic scoping or the complexity of monad transformers. It also touches on how context variables are used in modern asynchronous and parallel programming, as well as in UI frameworks like React. The author concludes by noting that the art of passing the invisible is an eternal theme in software programming, and this post provides valuable insights into the evolution and future directions of this critical aspect of software architecture.

Read more →
11
1
0
0
0
0
0
0
0
2
0

'동성애가 '합법'화 되면 결국 다들 동성애를 하느라 인구수가 줄어들 것'이라고 말 하는 거...난 솔직히 성소수자 당사자가 아니라 그런 면은 어렵기도 하거니와 조심스럽기도 해서 모르겠는데 저 발언 자체에만 하는 소리인데 그냥 솔직히 좀... 쫄...? 이라는 말이 절로 나옴... 왜 그렇게 발끈해...구애시장에서 탈락 당할 거 같아서 쫄리나...?

0
2
0
2

오늘의 보안 상식: 고무호스 암호분석

고무호스 암호분석은, 분석 대상을 고무호스로 때리거나 묶는걸로 알려져있지만 실제는 조금 다르다.

원래 Output으로 설정되어있는 포트에, 고무호스를 연결해서 강제로 물을 주입하는 방식(리버스 엔지니어링)으로 이뤄진다.

고무호스 암호분석의 실행의 파급력을 주제로 어느 국가에선 청문회까지 열렸으나, 사람을 때린건 아니라 문제가 없다는 결론이 나오기도 했다.

0
0

Ich mach heute nochmal Werbung für das ZDF mitreden

Das ist eine Community, die das ZDF zur Meinungsforschung und -befragung aufgebaut hat und die wöchtenlich zu Inhalten (Sendungen, Programm, Politik) befragt werden.

Natürlich haben sich die rechten dadrauf gestürzt und beeinflussen so das ZDF Programm mit. Jede demokratische Stimme zählt. Bitte meldet euch da an und nehmt vor allem an der Umfrage zum teil (edit: wartet ein bisschen auf die Mail)

start-mitreden.zdf.de

0
0
0
0
0

I've built #Enigmatick to manage threading using conversation IDs like Mastodon uses. But that's not aligned with #ActivityPub - or at least it wasn't the least time I looked. ActivityPub uses inReplyTo to indicate direct parent relationships and doesn't have a concept for linking multiple objects under a single ID.

Other systems don't use the conversation convention and that's caused some discord in my timeline. So now I'm learning about closure tables and concepts I probably would already know if I had studied computer science in college. But it's never too late to learn!

0
0
0

「罪人たち」の時代背景を察するのに前に見たリトル・リチャード(1930年生まれ、ロックンロールの創始者)のドキュメンタリーが下地として役に立った
ブルースやその延長にあるロックが悪魔的という感覚は現代だとちょっとピンと来ないけど、リチャードも黒人で牧師の息子、自分の音楽が周囲に悪魔的とみなされること(彼の場合は同性愛者であることも)と信仰心の葛藤というサミーとの共通点があったのでテーマを理解しやすかったと思う

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

리액트 작업하면 vs code 탭 두 개 한 화면에 브라우저 한 화면에 디자인 전달받아서 하면 figma나 시안 확인용 화면 하나에 모니터 세 개쯤은 있어야 하던데 노트북만 들고 카페에서 코딩하는 건 어떤 종류의 작업일까….

5
0
0
0

리액트 작업하면 vs code 탭 두 개 한 화면에 브라우저 한 화면에 디자인 전달받아서 하면 figma나 시안 확인용 화면 하나에 모니터 세 개쯤은 있어야 하던데 노트북만 들고 카페에서 코딩하는 건 어떤 종류의 작업일까….

5
0
0
2

Jaeho Lee shared the below article:

tanstack query의 initialPageParam에 대하여 오늘 배운 것

자손킴 @jasonkim@hackers.pub

TanStack Query의 `useInfiniteQuery` 훅을 사용할 때 `initialPageParam`이 어떻게 동작하는지에 대한 중요한 통찰을 공유합니다. 이 훅은 초기 렌더링 시 `initialPageParam`을 `pageParams[0]`으로 설정하고, 동일한 `queryKey`를 가진 캐시가 유지되는 동안 이 값을 계속 사용합니다. 따라서 여러 컴포넌트에서 동일한 `queryKey`로 `useInfiniteQuery`를 호출하면서 다른 `initialPageParam` 값을 제공하더라도, 처음 호출된 `initialPageParam` 값으로 고정됩니다. 이는 시작 커서가 다를 경우 `queryKey`를 다르게 지정해야 함을 의미합니다. 이러한 동작은 이해하고 나면 당연하지만, 익숙하지 않은 개발자에게는 혼란스러울 수 있습니다. `initialPageParam`이 `queryKey`와 강하게 연결되어 있다는 점이 InfiniteQueryOptions에서 타입 제약으로 더 명확하게 표현된다면 개발 경험이 향상될 것입니다.

Read more →
6

저렇게 딱 떨어지는 통계를 보면 저거 가라 아닌가… 하고 의심부터 해봄

수정) 글을 자세히 보니 이미지처럼 딱 떨어지는 통계는 아니었구나… 일단 철회하기로

RE: pointless.chat/@draco/11474215

0
0