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.

hmm. I'm trying to design a (read-only) 5.25" floppy disk that can survive damage to the visible disk surface.

Now you could obviously do things at the sector level with parity data, like treat it like multiple pie-slice drives in a RAID5 array.

but a dumb-but-should-still-work way to achieve this would be to just write sectors twice, 180ยฐ across from each other. If you ever fail to read a sector, just read it again. you'll get the other copy of the sector.

0
1

ํ•œ๊ตญ์˜ ์ •์น˜์ธ๋“ค์ด ์ฐจ๋ณ„๊ธˆ์ง€๋ฒ•๊ณผ ์„ฑํ‰๋“ฑ ์ •์ฑ…, ํŠนํžˆ๋‚˜ ๋™์„ฑํ˜ผ์„ ํฌ๊ด„ํ•˜๋Š” ํ‰๋“ฑํ˜ผ ์ œ๋„์— ๋Œ€ํ•ด์„œ ๊ต‰์žฅํžˆ ์šฐ๋ ค๊ฐ€ ๋งŽ์€๊ฑธ ์••๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ๊ฑฑ์ •ํ•˜์ง€ ๋งˆ์‹ญ์‹œ์˜ค. ์•ž์„œ๋‚˜๊ฐ„ ๋‚˜๋ผ๋“ค์ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฌผ๋ก  ๊ทธ ๋‚˜๋ผ๋“ค์˜ ์ •์น˜์ธ๋“ค๋„ ๋Œ€๋ถ€๋ถ„ ์šฐ๋ฆฌ๋‚˜๋ผ์˜ ์ •์น˜์ธ๋“ค๊ณผ ๋น„์Šทํ•œ ๊ฑฑ์ •์„ ํ–ˆ์ฃ . ๊ทธ๋“ค์ด ์–ด๋–ค ๊ฒฝํ—˜์„ ํ–ˆ๋Š”์ง€, ์ง์ ‘ ๋“ค์–ด๋ณด๋ฉด ์–ด๋–จ๊นŒ์š”? ์ง€๊ธˆ ๋ณด์‹œ๋Š” ์˜์ƒ์€ 12๋…„ ์ „ ์œ ํŠœ๋ธŒ์— ์˜ฌ๋ผ์˜จ ๋‰ด์งˆ๋žœ๋“œ ์˜ํšŒ์˜ ๊ธฐ๋ก์ž…๋‹ˆ๋‹ค. youtu.be/gtJCCuuho-s?...

๋‰ด์งˆ๋žœ๋“œ ์˜ํšŒ 'ํ‰๋“ฑ ๊ฒฐํ˜ผ(๋™์„ฑ๊ฒฐํ˜ผ) ๋ฒ•์•ˆ' ํŽธ New...

0
1
0
0
0
0
0

๊ณฝ์ƒ๋„ ์ „ ๊ตญ๋ฏผ์˜ํž˜ ์˜์›์˜ ์•„๋“ค์ด ๋Œ€์žฅ๋™ ๋ฏผ๊ฐ„ ์‚ฌ์—…์ž๋“ค์—๊ฒŒ ํ‡ด์ง๊ธˆ ๋ช…๋ชฉ์œผ๋กœ 50์–ต์›์˜ ๋‡Œ๋ฌผ์„ ๋ฐ›์€ ํ˜์˜์— ๋Œ€ํ•ด ๋ฒ•์›์ด ๋ฌด์ฃ„๋ฅผ ์„ ๊ณ ํ•œ ๊ฒƒ์„ ๋‘๊ณ , ๋”๋ถˆ์–ด๋ฏผ์ฃผ๋‹น์€ 7์ผ โ€œ ๊ตญ๋ฏผ์˜ ์ƒ์‹๊ณผ ๋ฒ• ๊ฐ์ •์„ ๋ฌด์‹œํ•œ ์ถฉ๊ฒฉ์ ์ธ ํŒ๊ฒฐโ€์ด๋ผ๊ณ  ๋น„ํŒํ–ˆ์Šต๋‹ˆ๋‹ค.

๋ฏผ์ฃผ โ€œ๊ณฝ์ƒ๋„ ์•„๋“ค โ€˜50์–ต ํ‡ด์ง๊ธˆโ€™ ์•„๋น ์ฐฌ์Šค์— ๋ฉด์ฃ„๋ถ€...

0
1
0
0

Favorite Photo: CIVIDALE DEL FRIULI by FRANCO600D flic.kr/p/2rV5rBP

CIVIDALE DEL FRIULI

IL PONTE DEL DIAVOLO Il ponte del Diavolo fu costruito a partire dal 1442, in pietra e sostenuto da due arcate per scavalcare il fiume Natisone. La sua esistenza รจ legata a una leggenda: anticamente i cittadini friulani si riunirono per trovare un modo per passare da una sponda allโ€™altra del fiume, ma non trovando soluzioni invocarono il diavolo, che si offrรฌ di aiutarli in cambio della prima anima che avrebbe solcato il ponte. Cosรฌ egli costruรฌ la struttura in una notte, con la collaborazione anche della madre che pose un masso nel fiume, su cui ancora oggi poggia la struttura. I cividalesi tuttavia riuscirono a raggirare il demonio facendo transitare per primo sul ponte un animale. In ogni caso, il ponte ebbe un tragico epilogo nel 1917, durante la disfatta di Caporetto, quando fu fatto saltare per rallentare lโ€™avanzata nemica. Venne poi ricostruito in tempi brevi dai tedeschi, mantenendo la struttura antica. Note tratte dal sito: www.italia.it/it/friuli-venezia-giulia/ponte-del-diavolo ------------------------------------------------------------------- THE DEVIL'S BRIDGE The Devil's Bridge, built in stone and supported by two arches, spans the Natisone River starting in 1442. Its existence is linked to a legend: in ancient times, the citizens of Friuli gathered to find a way to cross the river. Finding no solution, they invoked the devil, who offered to help them in exchange for the first soul to cross the bridge. So he built the structure in one night, with the help of his mother, who placed a boulder in the river, on which the bridge still rests today. The people of Cividale, however, managed to outwit the devil by having an animal cross the bridge first. In any case, the bridge suffered a tragic epilogue in 1917, during the defeat of Caporetto, when it was blown up to slow the enemy advance. It was then quickly rebuilt by the Germans, maintaining its original structure. Fotocomposizione di 12 immagini CANON EOS 6D Mark II con ob. CANON EF 24-85 f./3,5-4,5 USM

www.flickr.com ยท Flickr

0
0

ใจใ“ใ‚ใง๏ผšๆฌกๅ›žใƒ›ใƒณใƒ€ใซ่กŒใใจใใซใฏ่ปŠๅบซ่จผๆ˜Žใงไฝฟใ†ใ‹ใ‚‰ๅฎŸๅฐใจๅฐ้‘‘่จผๆ˜Žใ‚’ๆŒใฃใฆใใฆใญ๏ผใจ่จ€ใ‚ใ‚Œใ€ใƒ‡ใ‚ธใ‚ฟใƒซๅบใชใ‚“ใจใ‹ใ—ใ‚๏ผใจใ„ใ†ๆฐ—ๅˆ†ใซใชใฃใฆใ„ใพใ™

1

I have a thing I want to write but in order to write it I have to write a build script for invoking wasm-pack

I was hoping I could at least use trunk but then I realized trunk is for creating entire SPAs and I really just want to create 1 wasm binary, and trunk is probably just getting in the way

Super irritating to me btw that you can't just include wasm from html and have to have a js loader for your wasm

0

์ด๋ ฅ์„œ์— ์ฃผ์†Œ๋ฅผ ์“ธ ๋•Œ

์€ํ•˜๊ณ„ ํƒœ์–‘๊ณ„ ์ œ3ํ–‰์„ฑ ์ง€๊ตฌ ์ผ๋ณธ๊ตญ ๋„์ฟ„๋„ ๋„ค๋ฆฌ๋งˆ๊ตฌ

์ด๋Ÿฐ ์‹์œผ๋กœ ์“ฐ๋Š” ํŽธ์ด ์ข‹์„๊นŒ์š”? :spaceblobcat:

0

๊ณฝ์ƒ๋„ ์ „ ๊ตญ๋ฏผ์˜ํž˜ ์˜์›์˜ ์•„๋“ค์ด ๋Œ€์žฅ๋™ ๋ฏผ๊ฐ„ ์‚ฌ์—…์ž๋“ค์—๊ฒŒ ํ‡ด์ง๊ธˆ ๋ช…๋ชฉ์œผ๋กœ 50์–ต์›์˜ ๋‡Œ๋ฌผ์„ ๋ฐ›์€ ํ˜์˜์— ๋Œ€ํ•ด ๋ฒ•์›์ด ๋ฌด์ฃ„๋ฅผ ์„ ๊ณ ํ•œ ๊ฒƒ์„ ๋‘๊ณ , ๋”๋ถˆ์–ด๋ฏผ์ฃผ๋‹น์€ 7์ผ โ€œ ๊ตญ๋ฏผ์˜ ์ƒ์‹๊ณผ ๋ฒ• ๊ฐ์ •์„ ๋ฌด์‹œํ•œ ์ถฉ๊ฒฉ์ ์ธ ํŒ๊ฒฐโ€์ด๋ผ๊ณ  ๋น„ํŒํ–ˆ์Šต๋‹ˆ๋‹ค.

๋ฏผ์ฃผ โ€œ๊ณฝ์ƒ๋„ ์•„๋“ค โ€˜50์–ต ํ‡ด์ง๊ธˆโ€™ ์•„๋น ์ฐฌ์Šค์— ๋ฉด์ฃ„๋ถ€...

0
0
1

์ œ๋ฐœ ์ข€ ๋™์„ฑ๊ฒฐํ˜ผ ๋ฒ•์ œํ™” ์™„๋ฃŒํ•˜๊ณ  ์ด ๋ญ๊ฐ™์€ ๋…ผ์Ÿ๋„ ๊ทธ๋งŒํ–ˆ์Œ ์ข‹๊ฒ ๋‹ค. ์˜†์ง‘์— ๋ˆ„๊ฐ€ ๋ญํ•˜๋ฉฐ ์‚ฌ๋Š”์ง€๋„ ๋ชจ๋ฅผ ์ •๋„๋กœ ํฌ๋ฏธํ•ด์ง„ ์„ธ์ƒ์ธ๋ฐ. ๋‚˜๋ž‘ ๊ด€๊ณ„๋„ ์—†๋Š” ์‚ฌ๋žŒ ๋‘˜์ด ๊ฒฐํ˜ผํ•˜๊ฒ ๋‹ค๋Š”๊ฑฐ ๊ทธ๊ฑธ ์™œ ๋“ค๊ณ  ์ผ์–ด๋‚˜์„œ ํ•˜์ง€ ๋ง๋ผ๊ณ  ์‹œ์œ„๊นŒ์ง€ ํ•˜๋Š”์ง€. ์ฆˆ๊ทธ๋“ค์€ ๋‚˜๋ž์ผ์— ์ง€๋„ค ๊ต๋ฆฌ ๊ฝ‚์•„๋„ฃ๊ณ  ์‹ถ์–ด์„œ ์•ˆ๋‹ฌ์„ ํ•ด๋Œ€๋ฉด์„œ.

1

one of the cardinal sins engineers commit is "forgetting that real people will have to manufacture the stuff they designed, with actual fingers and eyes and abilities". i am not immune to it (and a low-cost pcb fab encourages committing this sin by almost completely abstracting interactions with people who will be making the thing), which is how i came up with the image below

0
0

$ echo 1000ๆ–‡ๅญ—ใใ‚‰ใ„ใ‚ใ‚ŒใฐMastodonใงE2EEใงใใ‚‹ใ‚ˆ | gpg -aer zundan@gmail.com
-----BEGIN PGP MESSAGE-----

hQGMAxZPIf8AHIzRAQwArTow/uDfea0VOEYs1tOHUv+XVnT6B4Yu147PyoxKBTJG
00fs7ygEhu0SxQU93y1A2GnHbbxvHDsUdALVYUwWyMO5H2+iiZJpJFQGFS43Jxye
ZIvshEnmAthxz+78JmlJO3sgjgtU2VKc3eVkkKJR5x5clnI/km00TAirgBz81ozh
pJ+aDWeN42X7MmUIWUDNnV48itUVIMK7t58gbOkf5PAWNpkgYwCXqGRMuds5yf9N
F1eHjO/DM8Pa8v5aBRKcRLxZzwHqdvuPdzZ9WC7NUeICwwFVYoKPUxorF3dmSVQ3
rKqgP3vW43u5e0Q1gQQNvtXzJRFgJnjgT1qk3DStemH4KM/hMn4yunk9fXfQRLaf
0NmbpF3GID8avSMk05ZpkRlnuHnYPjqjtclXTanOwd6p8gu9tLQN1BsWUYXlDXXF
KlLfLlWtJOpN64UTS/McCLGFLyxlHc8tfj88On1ARz9kDeitj3ravLgJ1Qny+N67
EJL3iQofkUzm7eFPfzKD0nQBDkAoigrCAaNSnqUgbzNTReOeS8YtE68HccBfne62
+/ilOi/YlubD1WXeBsdXF4EjaMGv9YSELZLp+FNHsBdxAzRsKXp64oMp/y7M8MJR
f6MqGfyv1mbZiRhsBoJAddi854cjFLzQKIckEV5WaZtaOHcwow==
=L+Xd
-----END PGP MESSAGE-----

0

์ด๋ ฅ์„œ์— ์ฃผ์†Œ๋ฅผ ์“ธ ๋•Œ

์€ํ•˜๊ณ„ ํƒœ์–‘๊ณ„ ์ œ3ํ–‰์„ฑ ์ง€๊ตฌ ์ผ๋ณธ๊ตญ ๋„์ฟ„๋„ ๋„ค๋ฆฌ๋งˆ๊ตฌ

์ด๋Ÿฐ ์‹์œผ๋กœ ์“ฐ๋Š” ํŽธ์ด ์ข‹์„๊นŒ์š”? :spaceblobcat:

0
0

์˜ค๋ž˜ ํ•จ๊ป˜ํ•œ ๊ฒฌ๊ณต (14์„ธ) ์ด ์š”์ฆ˜ ๋ฐค๋งˆ๋‹ค ๊ธฐ์นจ์ด ์‹ฌํ•ด์š”.
ํ˜ธํก๊ธฐ ์ „๋ฌธ ๋ณ‘์›์„ ๊ฐˆ ์˜ˆ์ •์ธ๋ฐ ์˜ˆ์•ฝ์ด ๋งŽ์•„์„œ ๋ฐฉ๋ฌธ+ ์ง„๋ฃŒ๊นŒ์ง€๋Š” ์‹œ๊ฐ„์ด ์ข€ ๊ฑธ๋ฆฐ๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.
ํ˜น ๊ธฐ์นจ์„ ์ข€ ๊ฐ€๋ผ์•‰ํžˆ๋Š”๋ฐ ๋„์›€๋˜๋Š” ๊ฒƒ์ด ์žˆ๋‹ค๋ฉด ์•Œ๋ ค์ฃผ์‹ค ์ˆ˜ ์žˆ๋‚˜์š”?

0
0
0

ํ‚ค์บก์ด ๊ฐœ๋‹น 5์ฒœ์›์ธ๊ฑธ ์ƒ๊ฐํ•˜๋ฉด ํ‚ค์บก ๊ฐ’๋งŒ ๋ฐ›๋Š”๊ฒƒ์ž…๋ฏธ๋‹ค ๊ทธ๋ฆผํˆด ์ตœ์ ํ™” ๋ฐ ํ‚ค๋งคํ•‘์ด ์ด๋ฏธ ๋˜์–ด์žˆ์–ด์„œ ๋งคํ•‘ํŒŒ์ผ๋„ ๊ฐ€ํ‹ฐ ๋“œ๋ฆผ๋ฏธ๋‹ค~! ๋ฌธ์˜๋Š” ๋””์—  ใ…ก

0

Stylelint v17.1 ใง display-notation ใƒซใƒผใƒซใŒ่ฟฝๅŠ ใ•ใ‚ŒใŸใ€‚ stylelint.io/user-guide/rules/
display ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃใฎ Multi keyword syntax ใ‚’ๅผทๅˆถใงใใ‚‹ใ€‚inline-block โ†’ inline flow-root ใฟใŸใ„ใชใ‚„ใคใ€‚
ใƒฌใ‚ฌใ‚ทใƒผๆง‹ๆ–‡ใ‚’้•ทๅนดไฝฟใฃใฆใ„ใ‚‹ใจๆœ€ๅˆใฏๆˆธๆƒ‘ใ†ใ ใ‚ใ†ใŒใ€ใ™ใใซๆ…ฃใ‚Œใ‚‹ใจๆ€ใ†๏ผˆ่‡ชๅˆ†ใฏ1ใ‹ๆœˆ็จ‹ๅบฆใงๆ…ฃใ‚ŒใŸ๏ผ‰ใ€‚

ๅŒใ˜ๆฉŸ่ƒฝใ‚’ๅ€‹ไบบ็š„ใซใƒ—ใƒฉใ‚ฐใ‚คใƒณใงไฝœใฃใฆใ„ใŸใŒใ€ใ“ใ‚ŒใงใŠๅฝนๅพกๅ…ใ€‚ github.com/SaekiTominaga/style

0
1
1
0
0
0
0
0
0
1

ํ•œ์—ฌ๋ฆ„๋‹˜ @: ์ดˆ ์นด๊ตฌ์•ผ ๊ณต์ฃผ ์ข‹์•˜๋˜ ์  ๋ณดํ†ต ์ด๋Ÿฐ ๊ฐ€์ƒํ˜„์‹ค ๋‹ค๋ฃจ๋Š” ์˜ํ™” ๋ณด๋ฉด (e.g. ๋ ˆ๋”” ํ”Œ๋ ˆ์ด์–ด ์›, ๋งˆ์ธํฌ๋ž˜ํ”„ํŠธ) ๊ฒฐ๊ตญ ๋งˆ์ง€๋ง‰ ๋ฉ”์‹œ์ง€๋Š” "๊ฒŒ์ž„์€ ์ ๋‹นํžˆ ํ•˜๊ณ  ๋ฐ–์— ๋‚˜๊ฐ€์„œ ํ˜„์‹ค์„ ์‚ด์•„๋ผ"์ธ ๊ฒฝ์šฐ๊ฐ€ ๋งŽ์€๋ฐ ์ดˆ ์นด๊ตฌ์•ผ ๊ณต์ฃผ๋Š” "๋‹น์‹ ์ด ์ข‹์•„ํ•˜๋Š” ์ฐฝ์ž‘์„ ์ข‹์•„ํ•ฉ๋‹ˆ๋‹ค, ์ฐฝ์ž‘์„ ๊ณ„์† ํ•ด์ฃผ์„ธ์š”"๋ผ๊ณ  ๋งํ•ด์ฃผ๋Š”๊ฒŒ ์ข‹์•˜๋‹ค

0

๊ทธ๋ฆฌ๊ณ  ์ž‘์ค‘์—์„œ ์นดํ†ก(๋ผ์ธ), ๊ฐ์ข… ๊ฒŒ์ž„(์ค€ ํ”„๋กœ ํฌํ•จ), VR-๋ฉ”ํƒ€๋ฒ„์Šค, ์œ ํŠœ๋ธŒ-๋ฒ„ํŠœ๋ฒ„ ๋“ฑ์ด ๋Œ€๋‹จํ•˜๊ณ  ํŠน๋ณ„ํ•œ ๊ฒƒ์ด ์•„๋‹ˆ๋ผ ์ž‘ํ’ˆ์˜ ์ผ์ƒ์ผ ๋ฟ์ด๋ผ๋Š” ๊ฒƒ๋„ ๊ธฐ์กด์˜ ์ž‘ํ’ˆ๋“ค๊ณผ ๋‹ค๋ฅธ ์ ์ด๋ผ๊ณ  ์ƒ๊ฐํ–ˆ์Œ.

RE: https://bsky.app/profile/did:plc:a6qvfkbrohedqy3dt6k5mdv6/post/3me7jv2oj3s2i

0

๋น„ํŠธ์ฝ”์ธ ์ „๋žต๋น„์ถ• ๋ฃจ๋ฏธ์Šค๋ฒ• ๊ณต์‹ ํ๊ธฐ...๋ฏธ๊ตญ ์žฌ๋ฌด๋ถ€ "์•”ํ˜ธํ™”ํ ๊ตฌ์ œ๊ธˆ์œต ํฌ๊ธฐ" www.g-enews.com/article/Glob... ๊ณต๋งค๋„ ์ €์Šน์‚ฌ์ž ๋งˆ์ดํด ๋ฒ„๋ฆฌ "์ฃฝ์Œ์˜ ์‡ผ์šฉ๋Œ์ด" ์‹œ์ž‘, "๋น„ํŠธ์ฝ”์ธ์€ ๊ธˆ๊ณผ ๊ฐ™์€ ๊ฐ€์น˜ ํ•˜๋ฝ ๋ฐฉ์–ด ์ˆ˜๋‹จ(hedge)์ด ์•„๋‹Œ ์ˆœ์ˆ˜ ํˆฌ๊ธฐ ์ž์‚ฐ์ž„์ด ๋“œ๋Ÿฌ๋‚ฌ๋‹ค"

[์†๋ณด] ๋น„ํŠธ์ฝ”์ธ ์ „๋žต๋น„์ถ• ๋ฃจ๋ฏธ์Šค๋ฒ• ๊ณต์‹ ํ๊ธฐ...๋ฏธ๊ตญ...

0

๊ณ ๊ฐ•๋„ ๋…ธ๋™๊ณผ ์—ด์•…ํ•œ ์ฒ˜์šฐ ํƒ“์— ํ•™๊ต ๊ธ‰์‹๋…ธ๋™์ž ๊ตฌ์ธ๋‚œ์— ์‹œ๋‹ฌ๋ ธ๋˜ ์ œ์ฃผ ์ง€์—ญ์—์„œ ๋ณ€ํ™”๊ฐ€ ์ผ์–ด๋‚˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๊ธ‰์‹๋…ธ๋™์ž๊ฐ€ ๋ฐฉํ•™ ๊ธฐ๊ฐ„์—๋„ ์ผํ•˜๋Š” โ€˜365์ผ ์ƒ์‹œ ๊ทผ๋ฌดโ€™ ์ œ๋„๊ฐ€ ์ „๊ตญ์—์„œ ์ฒ˜์Œ์œผ๋กœ ์‹œํ–‰๋˜์ž, ๊ณผ๊ฑฐ์™€ ๋‹ฌ๋ฆฌ ์ง€์›์ž๊ฐ€ ๋ชฐ๋ฆฐ ๊ฒƒ์œผ๋กœ ๋‚˜ํƒ€๋‚ฌ์Šต๋‹ˆ๋‹ค.

๋ฐฉํ•™์—๋„ ์ผํ•˜๋‹ˆ ์ข‹๋„คโ€ฆ๊ธ‰์‹๋…ธ๋™์ž ๊ฒฝ์Ÿ๋ฅ  0.4 ๋Œ€ 1โ†’...

0
2
0

๊ทธ๋ฆฌ๊ณ  ์ž‘์ค‘์—์„œ ์นดํ†ก(๋ผ์ธ), ๊ฐ์ข… ๊ฒŒ์ž„(์ค€ ํ”„๋กœ ํฌํ•จ), VR-๋ฉ”ํƒ€๋ฒ„์Šค, ์œ ํŠœ๋ธŒ-๋ฒ„ํŠœ๋ฒ„ ๋“ฑ์ด ๋Œ€๋‹จํ•˜๊ณ  ํŠน๋ณ„ํ•œ ๊ฒƒ์ด ์•„๋‹ˆ๋ผ ์ž‘ํ’ˆ์˜ ์ผ์ƒ์ผ ๋ฟ์ด๋ผ๋Š” ๊ฒƒ๋„ ๊ธฐ์กด์˜ ์ž‘ํ’ˆ๋“ค๊ณผ ๋‹ค๋ฅธ ์ ์ด๋ผ๊ณ  ์ƒ๊ฐํ–ˆ์Œ.

RE: https://bsky.app/profile/did:plc:a6qvfkbrohedqy3dt6k5mdv6/post/3me7jv2oj3s2i

0
1
0
0
0
1
0
0
1