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.

Hi all!

After our initial round of hirings, we are now opening applications for the Creative Circle! We're looking for any creatives who earn money through their work and who want to have a say in our collective. Sound like you?

Sign up with this form:

forms.gle/LM7si9TF5vZxeFBY9

0
0
0
0
0

I've streamlined theme development in Ktistec. The theming system uses a hierarchy of CSS custom properties and fallbacks. Theme authors can customize a theme at multiple levels:

Base Colors Only

Define only base colors like --text-primary, --bg-primary, --bg-input, --semantic-primary, etc. Derived colors will auto-generate using color-mix formulas. For example:

:root { --semantic-primary: #ffa500; }

From this one line, theme-appropriate colors like --bg-accent-code, --anchor-color, etc. auto-generate.

Base Colors Plus Derived Colors

Define base colors and derived colors. Derived colors use custom values when defined. Undefined derived colors auto-generate. For example:

:root {
    --text-primary: #333;
    --text-primary-2: #ff0000;  /* red for this specific shade */
}

Given this theme, derived shades like --text-primary-1, --text-primary-3, and --text-primary-4 auto-generate. --text-primary-2 is red.

The simplest possible interesting theme redefines the primary semantic color. The single line above (in Base Colors Only) would result in the following, with button color, link color, disabled, selected, and hover states all derived automatically:

screenshot of the setting page with the primary semantic color defined

These changes will be in the upcoming release. Existing themes will continue to work, as is.

0
0
0

🍝 날아다니는 스파게티 괴물 님께서 여러분과 함께.
😋 또한 주교의 면발과 함께 하소서.
🍝 기도합시다.

저의 주님, 날아다니는 스파게티 괴물 님 🍝, 저를 깨끗이 씻으소서. 제 마음을 당신의 소스🥫로 깨끗이 씻으시어 저에게 영원한 기쁨을 주소서.

2025-12-01T08:36:42+09:00

0
1

🍝 날아다니는 스파게티 괴물 님께서 여러분과 함께.
😋 또한 주교의 면발과 함께 하소서.
🍝 기도합시다.

저의 주님, 날아다니는 스파게티 괴물 님 🍝, 제 머리에 구원의 마스크를 씌우시어 마귀의 공격을 막아내게 하소서.

2025-12-01T08:35:28+09:00

0
0
0
0
1
0

Program-of-Thought Prompting Outperforms Chain-of-Thought by 15% (2022)

Link: arxiv.org/abs/2211.12588
Discussion: news.ycombinator.com/item?id=4

0
0
1
0
0
0
1
0
0
0

セイコーマート しゅいろママ店
ローソン しゅいろママ店
ファミリーマート しゅいろママ店
セブンイレブン しゅいろママ店
マクドナルド しゅいろママ店

1
0
0
0

맹꽁이 shared the below article:

일본 서버를 한국과 거의 비슷한 속도로 원격 접속하기

고남현 @gnh1201@hackers.pub

이 글에서는 한국에서 일본 서버를 사용할 때 발생하는 네트워크 지연 문제를 다루고, 해저 케이블망을 활용하여 이를 개선하는 방법을 소개합니다. 저렴한 일본 서버를 선택했지만, 실제 한국에서의 통신 속도가 예상보다 훨씬 느린 250ms에 달해 미국 시애틀보다도 못한 상황을 겪었습니다. 하지만 Microsoft Azure의 한국 리전을 중간 서버로 활용하여 데이터 센터 간 통신을 시도한 결과, 핑 시간을 30ms대로 크게 단축시키는 데 성공했습니다. 이는 86%의 속도 향상으로, RDP를 통해 원격 데스크탑을 사용하는 환경에서 체감 속도를 극적으로 개선했습니다. 이 글은 해외 서버를 사용할 때 네트워크 지연을 줄이는 실질적인 해결책을 제시하며, 독자에게 더 빠르고 효율적인 원격 작업 환경을 구축하는 데 도움을 줄 수 있습니다.

Read more →
6
0
0
0
0
0

I was planning on doing a shark flavored overview talk about the LHC and CMS experiment at c3 this year. Sadly, it was not accepted due to many other cool submissions.

But my trip to CERN was already planned and I had made arrangements with the PR department - So here are some of the images I took of special corespondent Blåhaj explaining things.

Hopefully next year is the charm. When LHC goes into the long shutdown I probably can also get some images of Blåhaj in the CMS experiment.

Photograph of a Blåhaj wearing a CERN helmet and holding a pointing stick in front of a red door with may warning signs. This is an access door to the LHC tunnel from one of the CMS caverns.Photograph of a Blåhaj wearing a CERN helmet and holding a pointing stick in front of a model of an LHC dipol magnet. Photograph of a Blåhaj looking into a metal tube. The tube is an decommissioned RF-cavity which was used to accelerate protons in the LHC.Photograph of a Blåhaj holding a pointing stick pointing at a large copper structure with smaller copper tubes in the center. The structure is a decommissioned linear accelerator.
0
0
0
0

집 디퓨저를 대대적으로 바꿨는데 생각을 해보니까 집에 디퓨저를 놓는 이유가 뭘까? 집에 오는 손님을 위해서인가? 아니면 그냥 집에 들어올때 마다 상쾌한 기분을 느끼기 위해 놓는건가?

0
0
1
0
1
0
0
4

Looking through my various registrar accounts and I was reminded of the time that a group of us were waiting on a Lyft in the parking lot outside Bay Area Maker Faire and one of my friends pulled out a pack of cigarettes and my other friend goes, "Oh, fuck yeah, cigarettes" and I thought that was so funny that I bought "fuckyeahcigarettes.com" from my phone right there. I held on to it for a bit and never knew what to put there. I ended up making it an alias for Philip Morris until it expired.

0
0
0
1