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

"We're talking about codifying into law a definition of antisemitism which would restrict and punish accurate and necessary criticisms of Israel."

"It's an attack on the ability to say things that are objectively true."
———————————————
Author: Marianne Dhenin
Subscribe to Their Newsletter & Become a Member: newsletter.mariannedhenin.com
———————————————

newsletter.mariannedhenin.com/

0
0
0
0
0
0

The Hidden Persuaders by Vance Packard & Mark Crispin Miller, 2007

"One of the best books around for demystifying the deliberately mysterious arts of ."-- Salon
"Fascinating, entertaining and thought-stimulating."-- The New York Times Book Review
"A brisk, authoritative and frightening report on how manufacturers, fundraisers and politicians are attempting to turn the American mind into a kind of catatonic dough that will buy, give or vote at their command-- The New Yorker

Originally published in 1957 and now back in print to celebrate its fiftieth anniversary, The Hidden Persuaders is Vance Packard’s pioneering and prescient work revealing how advertisers use psychological methods to tap into our unconscious desires in order to "persuade" us to buy the products they are selling.
A classic examination of how our thoughts and feelings are manipulated by business, media and politicians, The Hidden Persuaders was the first book to expose the hidden world of “motivation research,” the psychological technique that advertisers use to probe our minds in order to control our actions as consumers. Through analysis of products, political campaigns and television programs of the 1950s, Packard shows how the insidious manipulation practices that have come to dominate today’s corporate-driven world began. Featuring an introduction by Mark Crispin Miller, The Hidden Persuaders has sold over one million copies, and forever changed the way we look at the world of advertising.
0
0
0
0
0
0
1
1
0
0
0

An Nyeong (安寧) shared the below article:

왜 gaji인가? - TS로 안전하게 GitHub Actions 작성하기

개발곰 @gaebalgom@hackers.pub

GitHub Actions를 작성할 때 겪는 YAML의 구조적 한계와 타입 검사의 부재를 해결하기 위해 개발된 TypeScript(TS) 기반 도구인 gaji를 소개합니다. 저자는 Toss 인턴 과정에서 수많은 워크플로우를 다루며 느낀 불편함을 바탕으로, 데이터 표현 언어인 YAML 대신 프로그래밍 언어인 TypeScript를 사용하여 동작을 정의하고 실수를 미연에 방지하는 방식을 제안합니다. gaji는 사용자가 참조하는 모든 액션으로부터 로컬에서 즉시 타입을 생성하는 자동 코드젠(code generation) 방식을 채택하여, 커스텀 액션이나 사내 액션에서도 완벽한 자동완성과 타입 체크를 지원하는 것이 특징입니다. 기존의 린터 방식이나 중앙 집중식 타입 관리 도구와 차별화되는 이 도구는 Rust의 빠른 성능과 TypeScript의 범용성을 결합하여 복잡한 워크플로우의 가독성과 유지보수성을 극적으로 향상시킵니다. 비록 최종 산출물은 여전히 YAML이라는 플랫폼의 제약이 있지만, gaji는 개발자가 CI/CD 인프라 구축 과정에서 겪는 피로도를 줄이고 더 안전한 배포 환경을 설계하는 데 유용한 솔루션이 될 것입니다.

Read more →
5
0
0
0

Joy is different from fun or entertainment. It's not a celebration of suffering. It's like finding fresh air when sadness surrounds us from all sides. Joy is balm, mental medicine. It offers company in loneliness, nourishment for a weary mind. It provides solace when vulnerability overwhelms us, reassurance that we are still loved and worthy when things go wrong.
youtu.be/ICh0NKHGRrM

0
0
0
0
1

바이브 코딩의 마법을 깨기
------------------------------
- *AI가 생성한 복잡한 코드 대량 생산* 이 확산되며, 인간이 읽지 않는 코드를 만드는 현상이 업계 전반에 퍼지고 있음
- 경영진은 *AI로 인한 인력 감축* 을 정당화하고, 개발자들은 AI가 만든 코드 비율을 채우라는 압박을 받는 상황
- 이러한 ‘바이브 코딩’은 *도박의 중독 메커니즘과 유사한 ‘다크 플로우(…
------------------------------
https://news.hada.io/topic?id=26708&utm_source=googlechat&utm_medium=bot&utm_campaign=1834

0

I’m giving a talk titled “Designing APIs for Swift Concurrency” this Thursday at the @getsentrySentry HQ in SF! Join for food, cool people, and an exploration of writing correct, ergonomic code in a poorly understood area of Swift. Here’s the link to sign up: https://luma.com/tqb3l8w6
0
0
0

Simon Park shared the below article:

왜 gaji인가? - TS로 안전하게 GitHub Actions 작성하기

개발곰 @gaebalgom@hackers.pub

GitHub Actions를 작성할 때 겪는 YAML의 구조적 한계와 타입 검사의 부재를 해결하기 위해 개발된 TypeScript(TS) 기반 도구인 gaji를 소개합니다. 저자는 Toss 인턴 과정에서 수많은 워크플로우를 다루며 느낀 불편함을 바탕으로, 데이터 표현 언어인 YAML 대신 프로그래밍 언어인 TypeScript를 사용하여 동작을 정의하고 실수를 미연에 방지하는 방식을 제안합니다. gaji는 사용자가 참조하는 모든 액션으로부터 로컬에서 즉시 타입을 생성하는 자동 코드젠(code generation) 방식을 채택하여, 커스텀 액션이나 사내 액션에서도 완벽한 자동완성과 타입 체크를 지원하는 것이 특징입니다. 기존의 린터 방식이나 중앙 집중식 타입 관리 도구와 차별화되는 이 도구는 Rust의 빠른 성능과 TypeScript의 범용성을 결합하여 복잡한 워크플로우의 가독성과 유지보수성을 극적으로 향상시킵니다. 비록 최종 산출물은 여전히 YAML이라는 플랫폼의 제약이 있지만, gaji는 개발자가 CI/CD 인프라 구축 과정에서 겪는 피로도를 줄이고 더 안전한 배포 환경을 설계하는 데 유용한 솔루션이 될 것입니다.

Read more →
5

으으음... nix 쓰는 거 점점 부담스러워져서 좀 타개책이 필요하다.

  • nix는 패키지 단위가 아니라 nixpkgs 단위로 버전을 관리하다보니 특정 패키지만 마이너 버전 업하는게 불편하다
    • 나는 A 패키지만 버전업 하고 싶은데용? → 불편하고 힘들게 해야함
  • 각 레포마다 다른 버전의 nixpkgs를 쓰고 있을 수도 있음
    • 이게 의존성 관리에는 문제가 없는데, 내 맥뿍 용량 관리(...)랑 빌드 시간 관리(...)에 영향을 크게 줌
    • 예를 들어 시스템에 이미 A 패키지가 깔려있는데, 어떤 레포에 진입하니 자동으로 A 패키지를 다시 빌드하네? 왜??? 하고 보면 시스템의 nixpkgs와 레포의 nixpkgs 버전이 달라서 그렇다거나
  • darwin-rebuild, nixos-rebuild로만 리빌드하다보니 작은 수정에도 시간이 오래 걸린다
  • home-manager가 돌아가다가 중간에 스크립트가 삐끗하면 그대로 조용히 실패함. 실패라고 알려주는 것도 아니고, 롤백도 아니고, 경고도 아니고, 그거 빼고 실행해주는 것도 아니고, 멈췄다고 알려주는 것도 아니고 그냥 쓱 조용히 멈추고 뒷부분 실행을 안 한다...
    • 가끔 Emcas 설정 로드 안 되어있길래 열심히 뒤적거려보면 이런 문제가 많음
  • 언어가 strict하지 않고 lazy typing이라 그런가 LLM이 종종 해멜 때가 많음
nix-darwin으로 설치한 WezTerm.app이 권한을 요구하는 모습home-manager에서 script가 실패하자 "조용히 실패"한 모습
3
0
0
0
0
0

Imagine how quickly Fortinet and Ivanti and the other usual suspects would unfuck their shit if they were held responsible for the losses of their customers the same way car manufacturers are ( sometimes ) held liable for their negligence.

0
0
0

260216의 주제는
1.까치
2.독점욕
3.커튼 사이로 햇살이 비치면
원하는 주제를 고르시거나, 모든 주제를 엮어 창작하셔도 좋습니다.

편하신 시간대에 1시간 동안 전력을 다해주세요.
글/그림/수공예/그외 모든 창작물 가능.

툿을 올리실 때 @daily_1hour매일_전력_1시간 계정을 태그해주시면 그날 밤~다음 전력 주제 발표 전까지 리노트합니다.
(툿이 리노트할 수 없는 상태라면 마음/북마크만 찍습니다.)

NSFW 컨텐츠의 경우 반드시 CW를 걸어주세요.

0
0
0
0
0
0
0
0
0

drafted snac.css

  • few colors
  • default fonts and everything
  • large high contrast font for content
  • small fonts for controls
  • dark and light color schemes
  • big and small screens
  • works with styles from my site
please note, it's just a draft.

updated /var/snac/data/server.json
  "cssurls": [ "/style.css", "/snac.css" ],
while keeping /var/snac/data/styles.css empty, otherwise snac re-creates it with default styles... :)


0
0
0
0
0

Juntai Park shared the below article:

일주일만에 새로운 엑셀 라이브러리를 만들다

Haze @nebuleto@hackers.pub

SheetKit은 기존 Node.js 엑셀 라이브러리들의 성능 한계와 기능 제약을 해결하기 위해 Rust로 개발된 고성능 스프레드시트 라이브러리입니다. 저자는 대량의 데이터 처리와 동적 템플릿 생성을 위해 Rust 코어 기반에 napi-rs를 활용한 Node.js 바인딩 구조를 설계했으며, 코딩 에이전트와의 긴밀한 협업을 통해 단 일주일 만에 초기 배포부터 v0.5.0 릴리스까지 달성했습니다. 특히 자바스크립트 객체 생성에 따른 가비지 컬렉션(garbage collection) 압박을 줄이기 위해 이진 버퍼(binary buffer)를 통한 데이터 전송 방식을 도입하고, 지연 로딩(lazy loading)과 스트리밍 리더 기능을 통해 대용량 파일 처리 효율을 극대화했습니다. 벤치마크 결과 기존 라이브러리 대비 압도적인 메모리 절감과 속도 향상을 보여주었으며, 특정 쓰기 시나리오에서는 V8 엔진의 최적화 덕분에 Rust 네이티브보다 빠른 성능을 기록하기도 했습니다. 현재 164개의 수식 함수와 43개의 차트 타입을 지원하며 실제 업무 현장에 성공적으로 적용 중인 SheetKit은 Node.js 환경에서 대규모 엑셀 데이터를 다루는 개발자들에게 강력하고 효율적인 솔루션을 제공합니다.

Read more →
8
0
0
1
0
0
0
0
0
0
0