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

ใ€Œใšใ‚‹ใ„ใ€ใง่กจ็พใ•ใ‚Œใฆใ„ใ‚‹ๆ„Ÿๆƒ…ใฎ9ๅ‰ฒใใ‚‰ใ„ใฏใ€Œ็พจใพใ—ใ„ใ€ใ ใจๆ€ใฃใฆใ„ใ‚‹

0
0
0

้›ป่ปŠไน—ใ‚ใ€œใจๆ€ใฃใŸใ‚‰ใŠ่ฒกๅธƒ่ฝใกใฆใŸใฎใง้ง…ๅ“กใ•ใ‚“ใซๅฑŠใ‘ใพใ—ใŸใ€€ๆœฌๆ—ฅใฎๅ–„่กŒใจใ„ใ†ใ“ใจใง

1
0
0

anybody know how to tell what the *actual* checksum chosen by OpenZFS is, on FreeBSD?

When a zpool is created by bsdinstall, it defaults to checksum=on, and a micro benchmark is done to choose the appropriate checksum (from fletcher4, sha256, sha512, skein, blake3).

I would like to know what that chosen checksum is.

openzfs.github.io/openzfs-docs provides instructions for ZoL but its not matched on FreeBSD.
Sysctl shows only:

$ sysctl -a |egrep -i 'blake3|fletcher|sha2|sha5'
vfs.zfs.fletcher_4_impl: [fastest] scalar superscalar superscalar4 sse2 ssse3 avx2 avx512f avx512bw
vfs.zfs.sha512_impl: cycle [fastest] generic x64 avx avx2
vfs.zfs.sha256_impl: cycle [fastest] generic x64 ssse3 avx avx2 shani
vfs.zfs.blake3_impl: cycle [fastest] generic sse2 sse41 avx2 avx512

Which is not very helpful!

Inspecting zdb shows that the รผberblock uses fletcher4, if so that's a bad choice for almost all the machines I have, vs one of the more modern CPU-accelerated ones.

Uberblock:
magic = 0000000000bab10c
version = 5000
txg = 29818863
guid_sum = 12865431551488305392
timestamp = 1770722160 UTC = Tue Feb 10 11:16:00 2026
bp = DVA[0]=<0:1ef37817000:1000> DVA[1]=<0:1f26e5c1000:1000> DVA[2]=<0:8c341bf000:1000> [L0 DMU objset] fletcher4 uncompressed unencrypted LE contiguous unique triple size=1000L/1000P birth=29818863L/29818863P fill=75881 cksum=00000003035e0207:00000baf31d8f848:0016adf241101a15:1d6126f678dd7a91

0
0

DNAMAG์€ ์ƒˆ๋กœ์šด ๊ฒƒ๋“ค์„ ๋””๊น…ํ•˜๊ณ 
์•„์นด์ด๋น™ํ•˜๋Š” ๋Œ€์ค‘๋ฌธํ™” ๋งค๊ฑฐ์ง„์ž…๋‹ˆ๋‹ค.

DNAMAG์€
์ธ์Šคํƒ€, ํŠธ์œ„ํ„ฐ, ๋ธ”๋ฃจ์Šค์นด์ด,
์Šค๋ ˆ๋“œ, ๋งˆ์Šคํ† ๋ˆ, ๋ฏธ์Šคํ‚ค ๋“ฑ์˜
ํ”Œ๋žซํผ์—์„œ ์—ฐ์žฌํ•˜๋ฉฐ

์œ ๋‹ˆ์Šค์ฟผ๋“œ๋ฅผ ํ†ตํ•ด
๋…์ž๋“ค๊ณผ ์•„์นด์ด๋น™ ํ•ฉ๋‹ˆ๋‹ค.

(ํƒ€๋ž˜์— ์ด์–ด์„œ)

DNAMAG์€ ์ƒˆ๋กœ์šด ๊ฒƒ๋“ค์„ ๋””๊น…ํ•˜๊ณ 
์•„์นด์ด๋น™ํ•˜๋Š” ๋Œ€์ค‘๋ฌธํ™” ๋งค๊ฑฐ์ง„์ž…๋‹ˆ๋‹ค.
0
1
0

์˜ค๋Š˜ ๋Œ€ํ™”์—์„œ AI ์ฝ”๋”ฉ ์—์ด์ „ํŠธ ์œ ํ–‰๊ณผ ๊ด€๋ จํ•ด์„œ ๋™๋ฃŒ๊ฐ€ ํ–ˆ๋˜ ๊ฐ€์žฅ ์ข‹์•˜๋˜ ๋ง์€ ์š”์ฆ˜ ๊ฐœ๋ฐœ ๋„ˆ๋ฌด ์žฌ๋ฐŒ๊ณ  ๊ฐœ๋ฐœ๋งŒ ํ•˜๊ณ  ์‹ถ๋‹ค

3
0
0

How do I show a confirmation dialog from "withinโ€ a menu like so but not in a toolbar?

Menu {
Button {
โ€ฆ
}
}
.confirmationDialog {
โ€ฆ
}

presents the dialog as a popover pointing at the close menu and

Menu {
Button {
โ€ฆ
}
.confirmationDialog {
โ€ฆ
}
}

doesn't work at all?

A partial screenshot of a new message being composed in Mail on iPhone, with the action sheet open after choosing to cancel the message. The action sheet presents choices to delete the draft or save the draft.
0
0
1

Twitter, Discord illustrent que, oui, vous allez ร  un moment รชtre forcรฉ de partir.

Alors รฉcoutez ceux qui vous prรฉviennent depuis des annรฉes parce que mieux vaut partir selon votre propre rhythme.

Au plus tard vous partez, au plus vous allez accepter des conditions de pire en pire. Et au plus vous retardez la migration des autres.

Car si vous restez sur MACHIN parce que "tout le monde y est", tout le monde y est justement parce que vous y รชtes en premier lieu.

0

ใƒป้ฃฏใŒใ†ใพใใ†
ใƒปๆฉŸๆใŒใคใ‚ˆใ„
ใƒปใ‚‚ใตใ‚‚ใตใ—ใฆใ„ใ‚‹

ใ“ใ‚Œใ ใ‘ใงใฏใชใชใ‚†ใ‚Šใกใ‚ƒใ‚“ใจใ‚‚ใตใ‚‚ใตใ‚‚ใฃใฅๆฐใ‚’ๅŒบๅˆฅใงใใชใ„

0
0
0
0

่ชฐใ‹ใจๆ™‚้–“ๆฑบใ‚ใฆใŠไบ’ใ„ใƒใƒฉใƒใƒฉใซใ‚นใƒŠใƒƒใƒ—ใ—ใฆๅ–ซ่Œถๅบ—ใ‹ใฉใฃใ‹ใงๅ†™็œŸ่ฆ‹ใ›ใ‚ใฃใŸใ‚Š็พๅƒใ—ใ‚ใฃใŸใ‚Šใ—ใŸใ„โ€ฆใ—ใŸใใชใ„โ€ฆ๏ผŸ

1
0
0

์‚ฌ๋žŒ๋“ค์ด ๋‚˜๋ฅผ ์‹ซ์–ดํ•˜๋Š”๊ฒŒ ๊ฑฑ์ •๋ ๋•Œ ๋งˆ๋‹ค ๊ทธ ์œ„๋Œ€ํ•œ ํŽ˜์ด์ปค์—๊ฒŒ๋„ ์•ˆํ‹ฐ๊ฐ€ ๊ต‰์žฅํžˆ ๋งŽ์ด ๊ผฌ์ธ๋‹ค๋Š” ์‚ฌ์‹ค์„ ๋– ์˜ฌ๋ฆฌ์‹ญ์‹œ์˜ค ๋‚ด๊ฐ€ ์‹ซ๋‹ค๋Š” ๋†ˆ์—๊ฒŒ ์ด์œ ๋ฅผ ์ฐพ์„ ํ•„์š” ์—†์ด ๊ทธ๋ƒฅ ๋ญ˜ ํ•ด๋„ ์‹ซ์–ดํ•  ํ™•๋ฅ ์ด ๋†’์Šต๋‹ˆ๋‹ค

1
0
0
0
0
1
0
0

DNAMAG์€ ์ƒˆ๋กœ์šด ๊ฒƒ๋“ค์„ ๋””๊น…ํ•˜๊ณ 
์•„์นด์ด๋น™ํ•˜๋Š” ๋Œ€์ค‘๋ฌธํ™” ๋งค๊ฑฐ์ง„์ž…๋‹ˆ๋‹ค.

DNAMAG์€
์ธ์Šคํƒ€, ํŠธ์œ„ํ„ฐ, ๋ธ”๋ฃจ์Šค์นด์ด,
์Šค๋ ˆ๋“œ, ๋งˆ์Šคํ† ๋ˆ, ๋ฏธ์Šคํ‚ค ๋“ฑ์˜
ํ”Œ๋žซํผ์—์„œ ์—ฐ์žฌํ•˜๋ฉฐ

์œ ๋‹ˆ์Šค์ฟผ๋“œ๋ฅผ ํ†ตํ•ด
๋…์ž๋“ค๊ณผ ์•„์นด์ด๋น™ ํ•ฉ๋‹ˆ๋‹ค.

1
1
0
1
1

DNAMAG์€ ์ƒˆ๋กœ์šด ๊ฒƒ๋“ค์„ ๋””๊น…ํ•˜๊ณ 
์•„์นด์ด๋น™ํ•˜๋Š” ๋Œ€์ค‘๋ฌธํ™” ๋งค๊ฑฐ์ง„์ž…๋‹ˆ๋‹ค.

DNAMAG์€
์ธ์Šคํƒ€, ํŠธ์œ„ํ„ฐ, ๋ธ”๋ฃจ์Šค์นด์ด,
์Šค๋ ˆ๋“œ, ๋งˆ์Šคํ† ๋ˆ, ๋ฏธ์Šคํ‚ค ๋“ฑ์˜
ํ”Œ๋žซํผ์—์„œ ์—ฐ์žฌํ•˜๋ฉฐ

์œ ๋‹ˆ์Šค์ฟผ๋“œ๋ฅผ ํ†ตํ•ด
๋…์ž๋“ค๊ณผ ์•„์นด์ด๋น™ ํ•ฉ๋‹ˆ๋‹ค.

(ํƒ€๋ž˜์— ์ด์–ด์„œ)

DNAMAG์€ ์ƒˆ๋กœ์šด ๊ฒƒ๋“ค์„ ๋””๊น…ํ•˜๊ณ 
์•„์นด์ด๋น™ํ•˜๋Š” ๋Œ€์ค‘๋ฌธํ™” ๋งค๊ฑฐ์ง„์ž…๋‹ˆ๋‹ค.
0
1
0
2
0
1
1
1
0
0
1
0
0
0
0

๊ฒฝ์ฐฐ์ฒญ๊ณผ ํ•œ๊ตญ๋„๋กœ๊ตํ†ต๊ณต๋‹จ์ด 11์ผ๋ถ€ํ„ฐ โ€˜์‹ค์ฐจ ๋ฐ ๊ฐ€์ƒํ™˜๊ฒฝ(VR) ๊ธฐ๋ฐ˜ ์šด์ „๋Šฅ๋ ฅ์ง„๋‹จ์‹œ์Šคํ…œโ€™์„ ์‹œ๋ฒ” ์šด์˜ํ•œ๋‹ค๊ณ  ๋ฐํ˜”์Šต๋‹ˆ๋‹ค. ์šด์ „๋Šฅ๋ ฅ์ง„๋‹จ์‹œ์Šคํ…œ์€ ํ–ฅํ›„ ๊ณ ์œ„ํ—˜ ์šด์ „์ž์— ๋Œ€ํ•œ ์ ์„ฑ๊ฒ€์‚ฌ ๋“ฑ์— ํ™œ์šฉ๋ฉ๋‹ˆ๋‹ค.

๋ฉดํ—ˆ ๋บ๋Š” ๊ฒ€์‚ฌ ์•„๋‹™๋‹ˆ๋‹คโ€ฆ75์‚ด ์ด์ƒ ์šด์ „๋Šฅ๋ ฅ VR ํ…Œ...

0
0