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
0
0
0
0
1
1

ใชใ‚“ใ‹ๅ›ž่ปข๏ผˆๅ่ปข๏ผ‰ใŒๅค‰ใชใตใ†ใซๆŽ›ใ‹ใฃใฆใ‚‹ใชโ€‹:meow_umm:โ€‹
dp1, dp3 ใฎquattro
Full Frame Foveonใฎ็›ฎๅ‡ฆใŒ็ซ‹ใŸใชใ„ไปฅไธŠใ€ใ‚‚ใ†Foveonใง
โ€‹:misskey:โ€‹ใƒถไธ˜ใ‚’ๆ’ฎใ‚‹ใซใฏใ“ใ‚Œใ—ใ‹็„กใ„โ€‹:shimeikan:โ€‹

RE: https://misskey.io/notes/agm3mniszoqa01wx

1
1
0
1
0
0
2
0
2

์ง€๊ธˆ ๋“ฃ๋Š” ์Œ์•…

D4yd43m - Go! flower:pop / ๋””์ง€์ฝ”์–ด, EDM, ํ•˜์ดํผํŒ
---
soundcloud.com/d4ydr3m/sets/go
---
* ์ฒญ์ทจ์ผ์ž์™€ ์—…๋กœ๋“œ์ผ์ž๋Š” ์ƒ์ดํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

0

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

1
0

ไธญๅคใ‚ฟใ‚คใƒ—ใƒฉใ‚คใ‚ฟใƒผใ‚’่ฒทใฃใŸใ‚‰ใ‚ญใƒผใƒœใƒผใƒ‰ใฎ็–‘ๅ•ใŒใœใ‚“ใถ่งฃใ‘ใŸ๏ฝœ็ฟ”ๆณณ็คพๆŠ€่ก“ๆ›ธ็ทจ้›†้ƒจ
note.com/se_infotech/n/n1c92bb

ไธญๅคใ‚ฟใ‚คใƒ—ใƒฉใ‚คใ‚ฟใƒผใ‚’่ฒทใฃใŸใ‚‰ใ‚ญใƒผใƒœใƒผใƒ‰ใฎ็–‘ๅ•ใŒใœใ‚“ใถ่งฃใ‘ใŸ๏ฝœ็ฟ”ๆณณ็คพๆŠ€่ก“ๆ›ธ็ทจ้›†้ƒจ

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

note.com ยท note๏ผˆใƒŽใƒผใƒˆ๏ผ‰

0
1
0

Skebๅ†้–‹ใ—ใพใ—ใŸ๏ผโ€‹:skeb:โ€‹๏ผˆNSFWโญ•๏ผ‰
ไน…ใ—ใถใ‚Šใชใฎใงใ€ๆง˜ๅญ่ฆ‹ใชใŒใ‚‰1ไปถใšใคใฎไฝœๆฅญใซใชใ‚‹ใจๆ€ใ„ใพใ™ใ€‚
ไธ‡ไธ€ๅ—ใ‘ใใ‚Œใชใ„ๅˆ†ใŒๅ‡บใŸใ‚‰ใ€ๅพŒๆ—ฅๅ†้€ไพ้ ผใ‚’ใŠ้€ใ‚Šใ—ใพใ™ใฎใงใ€ใใฎ้š›ใซใพใŸใ”ๆคœ่จŽใใ ใ•ใ„

โ–ถ๏ธ https://skeb.jp/@oigetsudou

1

ๅŒ‚ใ‚ใ›ใฆใฏใ„ใŸใ‘ใฉใ€โ€‹:misskey:โ€‹ใƒถไธ˜็ต‚ไบ†ใฎใŠ็Ÿฅใ‚‰ใ›ใ‚’่žใ„ใŸใใฎๆ™ฉใซๆฑบๆ–ญใ—ใŸโ€‹:meowflushed:โ€‹
ใŠใ‹ใ’ใงๅ…ˆ้€ฑใฎๅฟซๆ™ดใซ้–“ใซๅˆใฃใŸ
โ€‹:blobcat_niko_hohoemi:โ€‹

2
0
1
0
3

๊ฒฝ๋ณต๊ถ ๊ทผ์ •์ „ ์•ž ํฐ ํ–ฅ๋กœ์˜ ๋ชธ์ฒด๋ฅผ 100์—ฌ๋…„๊ฐ„ ๋ฎ๊ณ  ์žˆ๋‹ค๊ฐ€ ํ™€์—ฐํžˆ ์‚ฌ๋ผ์กŒ๋˜ ๋šœ๊ป‘์ด ๋ณต์›๋์Šต๋‹ˆ๋‹ค.

60๋…„ ์ „ ์‚ฌ๋ผ์ง„ ๊ฒฝ๋ณต๊ถ ๊ทผ์ •์ „ ํ–ฅ๋กœ ๋šœ๊ป‘โ€ฆ๋‹ค์‹œ ๋งŒ๋“ค์–ด...

0
0
0
0
0
1

Here's a API design challenge I'm working on: adding async support to (CLI argument parser) without breaking the existing sync API.

The tricky part is combinatorsโ€”when you compose parsers with object() or or(), the combined parser should automatically become async if any child parser is async, but stay sync if all children are sync. This โ€œmode propagationโ€ needs to work at both type level and runtime.

I've prototyped two approaches and documented findings. If you've tackled similar dual-mode API designs, I'd love to hear how you approached it.

https://github.com/dahlia/optique/issues/52

2
0

Designing a dual-mode sync/async API in TypeScript is tricky. For Optique (CLI parser), I want to add async support while keeping the existing sync API intact. Exploring type-level mode propagation so combinators automatically become async when any child is async.

Support both sync and async mo...

0

ใ€Windows vs Linuxใ€‘ใ‚ใŸใ—ใŸใกใŒใƒžใ‚คใ‚ฏใƒญใ‚ฝใƒ•ใƒˆใซๆฑ‚ใ‚ใ‚‹ใƒขใƒŽใ€ใƒžใ‚คใ‚ฏใƒญใ‚ฝใƒ•ใƒˆ่‡ช่บซใŒ็›ฎๆŒ‡ใ—ใŸใ„ใƒขใƒŽใ€‚ youtu.be/ULa_P1iPrVM?si=cjJ5Dt
ใฟใ‚“ใชใซ่ฆ‹ใฆใปใ—ใ„
ใ„ใ‚ใ‚“ใชไบบใซ

0
0

็ถš็ถšใƒปๆณก็ฅญใ‚Šโ€‹:blobcatcomfy_bodywash:โ€‹โ€‹:blobcatcomfy_bodywash:โ€‹โ€‹:blobcatcomfy_bodywash:โ€‹โ€‹:mada_da__i_mada_owaran_yo__ii:โ€‹
ไปŠๅ›žใฏใ€ใ—ใ‚…ใ„ใ‚ใƒžใƒžใซๆ‹…ๅฝ“ใ—ใฆใ„ใŸใ ใใพใ—ใŸ
โ€‹:yotimu_panic:โ€‹

2
1

์ข€ ๋’ค๋Šฆ๊ฒŒ QED iff 29๊ถŒ์„ ์ฝ์—ˆ๊ณ ์š”. ๊ทธ๋™์•ˆ์˜ ์‚ฟ๋œ ์ปคํ”Œ๋ง ๋ง์–ธ์„ ์‚ฌ์ฃ„ํ•ฉ๋‹ˆ๋‹ค. ๋‘ ์‚ฌ๋žŒ์˜ ๊ด€๊ณ„๋Š” ์‚ฌ์‹ค์ƒ ๋ฐ๋ฐํ‚จํŠธ์˜ ์ ˆ๋‹จ(=์—ํ”ผ์†Œ๋“œ ์‚ฌ์ด์‚ฌ์ด์—์„œ ์‚ฌ๊ท„๋‹ค ๋•…๋•…)์ด๋ผ๋Š” ๋ง๋ฐœ์„ ์ผ์‚ผ๊ณค ํ–ˆ๋˜ ์ €์˜ ์„ฃ๋ถ€๋ฅธ ์ฒ˜์‹ ์„ ๊นŠ์ด ๋ฐ˜์„ฑํ•ฉ๋‹ˆ๋‹ค. ์ด๋ ‡๊ฒŒ ์ด์–ด์ง€๋Š” ์‹ ๋ขฐ๊ด€๊ณ„์˜ ํ•„์—ฐ์ด ์—†์ด๋Š” ์„ฑ๋ฆฝ๋˜์ง€ ์•Š๋Š”, ๊ณ„์‚ฐ์ด ๋‚œํ•ดํ•จ์—๋„ ์กด์žฌํ•  ์ˆ˜๋ฐ–์— ์—†๋Š” ์ •๋‹ต๊ณผ ๊ฐ™์€ ๊ฒƒ์ด ์ด๊ณณ์— ์žˆ์—ˆ๊ธฐ์—... ์ด ๊ด€๊ณ„์—๋Š” ์—ฌ๊ธฐ์„œ ๋น„๋กœ์†Œ ์ด๋ฆ„์ด ๋ถ™์–ด์•ผ ๋งˆ๋•…ํ•œ ๊ฒƒ. ์–ด๋”˜๊ฐ€ ์ˆจ๊ฒจ์ ธ ์žˆ์„ ๊ฑฐ๋ผ๋Š” ์ถ”์ธก์€ ํ„ฐ๋ฌด๋‹ˆ์—†๋Š” ๊ฒƒ์ด์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ๋ฐฉ์ •์‹์—๋Š” ๋ช…๋ฐฑํ•œ ์ •์ˆ˜ํ•ด๊ฐ€ ์กด์žฌํ•˜๋ฉฐ ๊ทธ๊ฒƒ์€ 79๊ถŒ์งธ์— ์žˆ๋‹ค.

0
0
3
1
1

์˜ˆ์ „ ํŠธ์œ„ํ„ฐ์— ์ผ๋Š”๋ฐ ๊ฑฐ๊ธด ๋งํ–ˆ์œผ๋‹ˆ ๋‹ค์‹œ ์จ๋ณด๋Š” ์ด์•ผ๊ธฐ.

๋งŒ์ผ ์ผ์ œ๊ฐ€ ํ•œ๋ฐ˜๋„์˜ ํ˜ˆ๋งฅ์„ ๋Š๊ฒ ๋‹ค๊ณ  ์‡ ๋ง๋š์„ ๋ฐ•์•˜์œผ๋ฉด ๊ทธ๋Ÿฐ ๋ฏธ์‹ ์ ์ธ ์ •์ฑ…์„ ๋ฏฟ๋Š” ์ง‘๋‹จ์ด ์•ˆ ๋งํ•˜๋Š” ๊ฒƒ์ด ์ด์ƒํ•˜๋‹ค. ๊ทธ๋Ÿฌ๋‹ˆ ํ˜ˆ๋งฅํƒ€๋ นํ•˜๋ฉด์„œ ๋ง๋š ์ข€ ๊ทธ๋งŒ ๋ฝ‘์ž.

0
0
0
0
0
0
0

Here's a API design challenge I'm working on: adding async support to (CLI argument parser) without breaking the existing sync API.

The tricky part is combinatorsโ€”when you compose parsers with object() or or(), the combined parser should automatically become async if any child parser is async, but stay sync if all children are sync. This โ€œmode propagationโ€ needs to work at both type level and runtime.

I've prototyped two approaches and documented findings. If you've tackled similar dual-mode API designs, I'd love to hear how you approached it.

https://github.com/dahlia/optique/issues/52

2