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

๊ณ ์˜ค์˜ค์˜ค๊ธ‰ ์‹์ž์žฌ ํšŒ์‚ฌ ์ง์›์˜ ์˜ค๋Š˜์˜ TMI :
orzo/risoni pastas๋Š”
๋ฆฌ์กฐํ† ๋งŒ๋“ค๋ฉด ๋ง›์ด ๋‹ฌ๋ผ์ง‘๋‹ˆ๋‹ค.(๋น„์ถ”์ฒœ)
๋ฆฌ์กฐํ† ๋Š” ์Œ€์„ ํ–ฅ๋ฏธ์œ ์— ์‚ด์ง ๋–์–ด์„œ ์œก์ˆ˜๋ฅผ ๋ถ€์–ด๊ฐ€๋ฉฐ ๋งŒํƒ€์นด๋ ˆ(์—๋ฉ€์ ผ) ํ•ด๊ฐ€๋ฉด์„œ ์™„์„ฑํ•ด๊ฐ€๋Š” ์š”๋ฆฌ๋ผ์„œ ๊ทผ๋ณธ์ ์œผ๋กœ ํŒŒ์Šคํƒ€์™€ ์กฐ๋ฆฌ๋ฒ•์ด ๋‹ค๋ฆ…๋‹ˆ๋‹ค.
๋ฌผ๋ก  ํ˜„๋Œ€ ์กฐ๋ฆฌ ๊ณผํ•™์€ ์ด๋Ÿฐ ๊ด€๋…์„ ํŒŒ๊ดดํ•˜๊ธฐ๋„ ํ•ฉ๋‹ˆ๋‹ค.
์˜ค๋ฅด์กฐ ๋ฆฌ์กฐํ†  = ๋ณด๋ฆฌ ๋ฒ ์ด์Šค๋กœ ๋งŒ๋“  ๋ฆฌ์กฐํ† 
์˜ค๋ฅด์กฐ ํŒŒ์Šคํƒ€ = ์ˆ ํŒŒ์Šคํƒ€๊ฐ€ ๋“ค์–ด๊ฐ„ ๊ทธ ์–ด๋–ค ํŒŒ์Šคํƒ€ ์š”๋ฆฌ
์ฃผ๋ฌธํ•˜์‹ค๋•Œ ์ฃผ์˜ํ•˜์„ธ์šฉ.

0

ใ“ใ‚ŒไปŠใฎ็พŽ่ก“ๆ‰น่ฉ•ใŒใŠใ‚‚ใ„ใฃใใ‚ŠๅตŒใพใฃใฆใ„ใ‚‹้™ฅ็ฉฝใ˜ใ‚ƒใชใ„ใ‹ใ€‚

"ๆ‰น่ฉ•ใฏใตใŸใคใฎๆฅตใธใฒใฃใฑใ‚‰ใ‚Œใ‚‹ใ‚ˆใ†ใซๅผ›็ทฉใ—ใฆใ€ใ‚ใ‚‹ใ„ใฏไธกๆฅตใ‹ใ‚‰ใŽใ‚…ใ†ใŽใ‚…ใ†ใซๅœง่ฟซใ•ใ‚Œใ‚‹ใ‹ใŸใกใงใ‚ทใƒฅใƒชใƒณใ‚ฏใ—ใฆใ€ใคใ„ใซใฏๅฑ…ๅ ดๆ‰€ใ‚’่ฆ‹ใ†ใ—ใชใฃใŸใ€‚ ใตใŸใคใฎๆฅตใจใ„ใ†ใฎใฏใคใŽใฎใ‚ˆใ†ใชใ‚‚ใฎใ ใ€‚ ไธ€ๆ–นใซใ€ใ‚จใƒ“ใƒ‡ใƒณใ‚นไธป็พฉใจๆˆๆžœไธป็พฉใจๅˆถๅบฆ็š„ๆ€่€ƒใจใงใŒใ‚“ใ˜ใŒใ‚‰ใ‚ใซใชใฃใŸใ‚ขใ‚ซใƒ‡ใƒŸใƒƒใ‚ฏใช่ซ–ๆ–‡ใธใฎๆ“ฌๆ…‹ใŒใ‚ใ‚‹ใ€‚่‡ชๅทฑๅ•“็™บใจๅ•†ๅ“ใƒฌใƒ“ใƒฅใƒผใซไฝ“็พใ•ใ‚Œใ‚‹็ตฑ่จˆๅญฆ็š„ใชๅ“่ณชไฟ่จผใธใฎ็•ฐๆง˜ใชใพใงใฎไฟก้ ผใฏใใฎ่ฃใƒดใ‚กใƒผใ‚ธใƒงใƒณใซใปใ‹ใชใ‚‰ใชใ„ใ€‚ ไป–ๆ–นใซใฏใ€ใ‚ขใ‚คใƒ‡ใƒณใƒ†ใ‚ฃใƒ†ใ‚ฃใƒปใƒใƒชใƒ†ใ‚ฃใ‚ฏใ‚นใฎ่ฆ–็ทšใŒใใพใชใ่กŒใใ‚ใŸใฃใŸไธ–็•Œใงใ€ใ‚ฑใ‚ขใฎ็คพไผš็š„่ฆ่ซ‹ใจๅฝ“ไบ‹่€…ๆ€งใธใฎ้…ๆ…ฎใจใ‚’ๅŽŸๅ‹•ใจใ—ใŸ่จ€่ซ–ใฎใ€Œ็งใ€ๅŒ–ใŒใ‚ใ‚‹ใ€‚่ซ–ๅฃ‡ใ‚„ๆ–‡ๅฃ‡ใซใŠใ‘ใ‚‹ใ‚จใƒƒใ‚ปใ‚คใƒปใƒ–ใƒผใƒ ใฏใใฎใ‚ใ‹ใ‚Šใ‚„ใ™ใ„ไธ€็—‡ไพ‹ใ ใ€‚ๅ”ฏไธ€็„กไบŒใฎๅฝ“ไบ‹่€…ใฎไฝ“้จ“ใŒใปใจใ‚“ใฉใ‚จใƒ“ใƒ‡ใƒณใ‚นใฎใ‚ˆใ†ใซใ—ใฆๅ‰้ขใซ็ซ‹ใคใจ่ฆ‹ใ‚‹ใชใ‚‰ใ€ใ“ใกใ‚‰ใ‚‚ๅบƒ็พฉใฎใ‚จใƒ“ใƒ‡ใƒณใ‚นไธป็พฉๅŒ–ใจใ—ใฆ็ตฑๅˆใŒๅฏ่ƒฝใซใชใ‚‹ใ€‚ ่จปใ‚’ใšใ‚‰ใšใ‚‰ใจๅผ•ใใคใ‚ŒใŸๅญฆ่ก“่ซ–ๆ–‡ใพใŒใ„ใฎๆ‰น่ฉ•ใ‚„ใ€ใƒ‹ใƒƒใƒใช่‚ฉๆ›ธใ‚’้€š่กŒๆ‰‹ๅฝขใจใ—ใŸๅค–้ƒจใฎๅฐ‚้–€ๅฎถใซใ‚ˆใ‚‹็Ÿฅ่ฆ‹ใŒ่ซ–ๅฃ‡่ชŒใจๆ–‡่Šธ่ชŒใ‚’้—Šๆญฉใ™ใ‚‹ใ€‚ใ“ใ‚Œใฏๅ‰่€…ใฎๅธฐ็ตใ€‚ใŸใจใˆใฐใ€ใ‚จใƒƒใ‚ปใ‚คใฎ้Žๅบฆใฎๅพฉๆจฉใฏใใ‚“ใชๆฏ่‹ฆใ—ใ•ใ‹ใ‚‰ใฎ้€ƒ้ฟ็พ่ฑกใ‚‚ใ—ใใฏ็ทฉๅ’Œ็ญ–ใงใ‚‚ใ‚ใ‚‹ใ€‚ใ“ใ‚ŒใŒๅพŒ่€…ใ€‚ไปฅๅ‰ใชใ‚‰ใŠใŠใ–ใฃใฑใซใ€Œๆ‰น่ฉ•ใ€ใจ้Š˜ๆ‰“ใฃใŸใงใ‚ใ‚ใ†ๆ–‡็ซ ใŒใ€ใ„ใพใฏใ€Œร—ร—ใ‚จใƒƒใ‚ปใ‚คใ€ใจใƒ‡ใ‚ฃใ‚ทใƒ—ใƒชใƒณๅใ‚’ๅ† ใ—ใŸใ‚จใƒƒใ‚ปใ‚คใจๅŒ–ใ™ใ€‚ ใ€Ž็พไปฃๆ—ฅๆœฌใฎๆ‰น่ฉ•ใ€ไปฅ้™ๆ€ฅ้€Ÿใซ้€ฒ่กŒใ—ใŸใฎใฏใ“ใ†ใ—ใŸไบ‹ๆ…‹ใ ใฃใŸใ€‚ใฉใกใ‚‰ใซใ‚‚ใ€ใ„ใ‚ใ‚†ใ‚‹ๆ‰น่ฉ•ใฎใ€Œ่ชญ่€…ใ€ใฏๅญ˜ๅœจใ—ใชใ„ใ€‚"

ใ€Œ่žใๆ‰น่ฉ•ใ€ๅคงๆพค่ก ไธ‰ๅฎ…้ฆ™ๅธ†; ๆฃฎ่„‡้€้’; ๆพ็”ฐๆจน; ๅคงๆพค่ก; ๆฑๆตฉ็ด€; ๆค็”ฐๅฐ†ๆš‰. ใ„ใพๆ‰น่ฉ•ใฏๅญ˜ๅœจใงใใ‚‹ใฎใ‹ (p. 20). (Function). Kindle Edition.

0
0
0
0
0
0

The month that wasโ€”August in the Astroverse! Check out our roundup:

๐Ÿš€ Official updates, announcements, and launches
๐Ÿ“œ A super-sized showcase: scrooooll for inspiration
๐Ÿค“ Articles, how-tos, and more!

astro.build/blog/whats-new-aug

0
0
0
0

Hey friends, I'm experimenting on a VPS. They assigned me a /64 IPv6 subnet, but I can't use it. Long story short, I think I need an NDP proxy, but as far as I know, one isn't available on illumos. So, I've created a ULA and mapped it using NAT66: map vioif0 myULA/64 -> publicIPV6/128. It works, but the server eventually crashes and reboots. When I look at the /var/adm/messages file, I see:

[...]
2025-09-01T17:47:59.314554+00:00 hostname unix: [ID 836849 kern.notice] #012#015panic[cpu1]/thread=fffffe00040f4c20:
2025-09-01T17:47:59.314564+00:00 hostname genunix: [ID 335743 kern.notice] BAD TRAP: type=e ( Page fault) rp=fffffe00040f3b20 addr=0 occurred in module "unix" due to a NULL pointer dereference
2025-09-01T17:47:59.314569+00:00 hostname unix: [ID 100000 kern.notice] #012
2025-09-01T17:47:59.314574+00:00 hostname unix: [ID 839527 kern.notice] sched:
2025-09-01T17:47:59.314578+00:00 hostname unix: [ID 753105 kern.notice] Page fault
2025-09-01T17:47:59.314582+00:00 hostname unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x0
2025-09-01T17:47:59.314587+00:00 hostname unix: [ID 243837 kern.notice] pid=0, pc=0xfffffffffb887d3b, sp=0xfffffe00040f3c18, eflags=0x10246
2025-09-01T17:47:59.314591+00:00 hostname unix: [ID 619397 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 3606f8<smap,smep,osxsav,pcide,xmme,fxsr,pge,mce,pae,pse,de>
2025-09-01T17:47:59.314596+00:00 hostname unix: [ID 152204 kern.notice] cr2: 0
2025-09-01T17:47:59.314599+00:00 hostname unix: [ID 634440 kern.notice] cr3: 22800000
2025-09-01T17:47:59.314603+00:00 hostname unix: [ID 625715 kern.notice] cr8: 0

[...]

If I disable that map, it's stable (but I can't use ipV6 from the non global zones)

Any ideas?

0

Hey friends, I'm experimenting on a VPS. They assigned me a /64 IPv6 subnet, but I can't use it. Long story short, I think I need an NDP proxy, but as far as I know, one isn't available on illumos. So, I've created a ULA and mapped it using NAT66: map vioif0 myULA/64 -> publicIPV6/128. It works, but the server eventually crashes and reboots. When I look at the /var/adm/messages file, I see:

[...]
2025-09-01T17:47:59.314554+00:00 hostname unix: [ID 836849 kern.notice] #012#015panic[cpu1]/thread=fffffe00040f4c20:
2025-09-01T17:47:59.314564+00:00 hostname genunix: [ID 335743 kern.notice] BAD TRAP: type=e ( Page fault) rp=fffffe00040f3b20 addr=0 occurred in module "unix" due to a NULL pointer dereference
2025-09-01T17:47:59.314569+00:00 hostname unix: [ID 100000 kern.notice] #012
2025-09-01T17:47:59.314574+00:00 hostname unix: [ID 839527 kern.notice] sched:
2025-09-01T17:47:59.314578+00:00 hostname unix: [ID 753105 kern.notice] Page fault
2025-09-01T17:47:59.314582+00:00 hostname unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x0
2025-09-01T17:47:59.314587+00:00 hostname unix: [ID 243837 kern.notice] pid=0, pc=0xfffffffffb887d3b, sp=0xfffffe00040f3c18, eflags=0x10246
2025-09-01T17:47:59.314591+00:00 hostname unix: [ID 619397 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 3606f8<smap,smep,osxsav,pcide,xmme,fxsr,pge,mce,pae,pse,de>
2025-09-01T17:47:59.314596+00:00 hostname unix: [ID 152204 kern.notice] cr2: 0
2025-09-01T17:47:59.314599+00:00 hostname unix: [ID 634440 kern.notice] cr3: 22800000
2025-09-01T17:47:59.314603+00:00 hostname unix: [ID 625715 kern.notice] cr8: 0

[...]

If I disable that map, it's stable (but I can't use ipV6 from the non global zones)

Any ideas?

0
0
0
0
0
0
0
0
0
0

A new BSDCan video has been posted:
Running a root DNS server on FreeBSD -- from Alpha to Now by Daniel Mahoney

youtu.be/vCiCvQsxucc

ISC has been proudly using FreeBSD in production for a long time, including to serve critical internet infrastructure with a global user base (including you!), from the DEC Alpha days up till now, mostly on bare-metal.

In this talk I'll go over some of how we (and I) got here, how we've managed far-away installs and upgrades without remote hands during a global pandemic, and how we believe that in a Linux-centric world, BSD gives us an advantage, not only in diversity, but from the community, and touch on how a single FreeBSD box has replaced an install that used to consist of separate routers and switches.

We'll cover some of our MacGyver moments, share some head-scratchers, and even cover some of the things we'd love to see in the future, both from the community as well as where we're hoping to go.

If the conference leaders think it wise, this talk could also include a light touch on how BGP and Anycast work, both in general, as well as how the global routing table is affected by the less-and-more specific routes to F that we announce to keep local traffic local, and how ISC works with its CDN partner. (These are not BSD-specific topics, but the maturity of reasonable routing daemons in ports have meant that we can now do this without needing an upstream router).

For more information, please visit:
bsdcan.org/2025/
- and -
bsdcan.org/2025/timetable/time

0
0
0

"One notable difference between and is the case of โ€œGrayโ€ and its variants.

In , โ€œGrayโ€ is specifically reserved for the 128 triplet (50% gray). However, in X11, โ€œgrayโ€ was assigned to the 190 triplet (74.5%), which is close to W3C โ€œSilverโ€ at 192 (75.3%), and had โ€œLight Grayโ€ at 211 (83%) and โ€œDark Grayโ€ at 169 (66%) counterparts.

As a result, the combined 3.0 color list that prevails on the web today produces โ€œDark Grayโ€ as a significantly lighter tone than plain โ€œGrayโ€, because โ€œDark Grayโ€ was descended from X11 โ€“ for it did not exist in HTML nor CSS level 1 โ€“ while โ€œGrayโ€ was descended from HTML."

0
0
0
0
0
0
0
0
0
0
0

another somewhat obscure Git question: if you've ever passed a <tree-ish> to a Git command that was not a commit, but instead some other tree, what were you doing?

I'm trying to come up with some kind of rationale for Git using <tree-ish> instead of <commit> in its documentation (other than the obvious "that's how the software works"), but it's hard for me to understand the use case

0
0
0
0

Literally nobody asked for this, but here is sample code for a web app with server-side html rendering in Rust with Yew, client-side dom rendering in TypeScript with Preact, and fetch to let the two communicate.

The included minimal demo is a net server that generates random numbers based on a novel method where the generator has more bits of entropy depending on how much traffic the server is currently receiving

codeberg.org/mcc/rocket-hello

"Internet Random Number Server"
(Limit: 16)

4
0
0
0
0
0
0
0
2
0
0
0

93% of GPT-4 performance at 1/4 cost: LLM routing with weak bandit feedback

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

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