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

LogTape 2.0.0 released!

LogTape is a zero-dependency logging library for JavaScript/TypeScript that works across Deno, Node.js, Bun, and browsers.

What's new in 2.0.0:

  • lazy() for dynamic context: with() now supports values that are evaluated at logging time, not when the logger is created. Child loggers inherit the lazy wrapper, so they always see the current value.
  • Configuration from files: New @logtape/config package lets you load logging configuration from JSON, YAML, or TOML instead of writing TypeScript code.
  • Better error logging: Pass Error objects directly to logger.error(err) instead of wrapping them in properties.
  • Async lazy evaluation: Logging methods now accept async callbacks for expensive async operations.
  • isEnabledFor() method: Check if a log level is enabled before running expensive computations.
  • Time-based log rotation: Rotate logs daily, hourly, or weekly with automatic cleanup of old files.
  • New integrations: Elysia framework support and log4js adaptor.

https://github.com/dahlia/logtape/discussions/133

2
0
0
0
0
0
0
0
1
0
0
1
사실 만년필에도 조금 취미가 있어서 만년필 수십자루 가지고 있는데, 이것들에게 채워진 잉크 종류를 어딘가에 기록하고 있긴한데, 이거 쉽게 트래킹 해주는 앱이 있었으면 좋겠음.

사실 여기서 주워들은 바이브코딩?(정확히 뭔지 모름 ㅋㅋ)을 ChatGPT로 하면 (어떻게 하는지 모름 ㅋㅋㅋ) 그런 앱을 만들 수 있지 않을까 싶어서 몇달전에 프로젝트 이름만 만들어 놨었음.

당연히 아이디어만 조금 내봤고, 진척은 1도 없음;;;;;

프로그램이야 어릴 때 해봤던, 애플용 베이직과 GW-BASIC, 대학때 전공교양?이었나로 들은 포트란, 파스칼(기억? 당연히 하나도 안남)등의 수박 겉핥기가 끝이어서...

가능하다면 만년필 제조사를 풀다운 메뉴등으로 선택하면 해당 만년필의 모델이 나오고 펜촉의 가늘기가 나오고 본체의 색이 나오고 그리고 잉크 제조사를 고르면...

뭐 이런식으로 언제 무슨 잉크를 넣었다. 그리고 내가 가진 만년필과 잉크의 인벤토리 정도???

그런 앱이 있으면 좋겠다는 생각을 해봤슴다.

;-)
0
0
0
0
0
0
0
0

미국은 보다보면 제대로 난개발인데 그래서 사람들 원성이 더 자자한것 같음 근데 이동네도 보면 무슨 단독주택가 옆에 보잉이니 록히드마틴 회사 시설 있고 철조망 쳐져있고 그러함 ㅋㅋㅋ 그러다가 뜬금 상가 시작하고 이러는데 애시당초 도시계획이 개판났으니 뭘 어떻게 하려고해도 개판인 상황임. 개에게 미안할정도(?)로 정말 개판임 무계획 그 자체인데 ㅋㅋㅋ... 이런 상황에 데이터센터 지으니 더 문제가 되는것 같긴함;;

0
1
0
0
0
0
0
0
0

[차별금지법안에 대하여 찬성의견으로 힘을 보태주세요] 어디서 반대의견이 저렇게 많이 달렸나 봤더니 윤어게인이었네요. 진보당 손솔 의원님 트위터 글입니다. 모두 차별금지법안에 찬성글로 연대하시어 지속중인 저들의 내란을 막아주세요!

RE: https://bsky.app/profile/did:plc:2sjfdilgcpeyjnqo7u6apdfn/post/3mcbydtk4ck2o

0
0

“되도 않는 출산율보다 청년 자살률부터”…김동완, 저출산 담론 직격

n.news.naver.com/article/009/0

자살률이 심각한 문제라서 신경써야 하는건 맞음. 나도 그 이야기 계속했고.
하지만 어차피 자살 문제도 출산문제랑 같은 원인인 경우도 많고, 둘다 사회구조적 문제라 해결하기 빡셈. 굳이 "되도 않는"문제라고 하자면 오히려 자살문제가 해결하기 더 되도 않을 문제임. 출산은 집문제만 어떻게 해주면 조금이나마 해결되거든.

그리고 무엇보다 둘다 개선해야 할 문제이지 무엇 하나를 우선할 문제가 아님. 출산율문제가 뉴스에 자주 나와서 그렇지 자살 관련도 나름 많은 예산과 노력이 기울여지고 있음.

청년들의 고생을 살피라거나, 자살문제도 신경쓰라는 거라면 맞는 말이지만, '출산율은 되도 않는 문제이니 자살율이나 신경쓰라'는 식은 뻘소리라고 생각함. 결혼 안하고 있는 청년들에게는 일부 혹할 소리일수도 있지만.

0
0
0
0
0
0
0
1
1
0

자사호님 @: 작가는 기본적으로 "내가 너에게 현실보다 쩌는 허구를 보여줄게. 돈과 시간을 쓸 가치가 있는거야"라는 약속에 성립되는거임 즉 작가는 엔터테이너의 가오가 있어야하는데 현실에 안주하는 저자세를 보이면 가오 없고, '내가 얘 말을 왜 들어주지...' 싶어 떠나게 됨 게임회사도 마찬가지라고 생각한다. 엔터테이너의 가오.

0

이누야샤 '역발의 유라' 투명수채화
1기 처음에 등장했던 미친 색기에 악당요괴였음. 어렸을때 처음보고 임팩트가 나름 강했었음. 루미코 작가님이 참 남여 가리지않고 이브고 색기있는 포인트를 상당히 잘 표현한다고 생각하기도함.

1
1
0

LogTape 2.0.0 released!

LogTape is a zero-dependency logging library for JavaScript/TypeScript that works across Deno, Node.js, Bun, and browsers.

What's new in 2.0.0:

  • lazy() for dynamic context: with() now supports values that are evaluated at logging time, not when the logger is created. Child loggers inherit the lazy wrapper, so they always see the current value.
  • Configuration from files: New @logtape/config package lets you load logging configuration from JSON, YAML, or TOML instead of writing TypeScript code.
  • Better error logging: Pass Error objects directly to logger.error(err) instead of wrapping them in properties.
  • Async lazy evaluation: Logging methods now accept async callbacks for expensive async operations.
  • isEnabledFor() method: Check if a log level is enabled before running expensive computations.
  • Time-based log rotation: Rotate logs daily, hourly, or weekly with automatic cleanup of old files.
  • New integrations: Elysia framework support and log4js adaptor.

https://github.com/dahlia/logtape/discussions/133

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