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

ๅฏ’ใ™ใŽใ‚‹ใฎใงๅฏใกใ‚ƒใ„ใพใ™โ€ฆ๏ผโ€‹:af_rosacat_sleeping:โ€‹
ไปŠๆ—ฅใ‚‚ไธ€ๆ—ฅใŠ็–ฒใ‚Œๆง˜ใงใ—ใŸ๏ผ
โ€‹:touhyou_ha_igyo:โ€‹โ€‹:af_rosacat_heart_happy:โ€‹โ€‹:oyasumisskey:โ€‹โ€‹:af_mofumofucat_kotatsu:โ€‹โ€‹:mutsumi__cozynap:โ€‹

1
0
0
0
0
0

Some posts about Mozilla employees and AI are being widely reshared around fedi today. Metaphors of bodily autonomy and consent are being applied to whether Mozilla puts AI in their products

Iโ€™ve worked on products with extremely passionate early communities for decades now and this kind of interaction always makes me sad.

Some people make your software part of their identity and you will never please them. But more broadly we have no institutional structure for software that users can trust

What about non-profits?

My partner works in non-profits, and always emphasizes, they are designed to be controlled by their funders. Not the people they serve.

Itโ€™s a form designed for tax sheltering, for social control, for wielding influence, for indoctrination, for giving spouses of the elite something to do without meaningful power

If you have radical beliefs in your mission statement youโ€™re merely hoping your board is extremely tolerant of undermining their own power

0
0
i was a bit curious about the actual transfer size impact of json-ld, and what would happen if you replaced json-ld with simply explicitly repeating the namespaces. so i threw a few payloads, both compacted and expanded, into lynn.github.io/flateview/ at gzip level 6

my actor, compacted - 1855 bytes gzip'd
my actor, expanded - 1877 bytes gzip'd
my actor, compacted with no context - 1793 bytes gzip'd

quoted post, compacted - 2024 bytes gzip'd
quoted post, expanded - 2033 bytes gzip'd
quoted post, compacted with no context - 1985 bytes gzip'd

mastodon.social instance actor, compacted - 2761 bytes gzip'd
mastodon.social instance actor, compacted, with unused context values removed - 644 bytes gzip'd
mastodon.social instance actor, expanded - 707 bytes gzip'd
mastodon.social instance actor, compacted, with no context - 667 bytes gzip'd

RE:
not-brain.d.on-t.work/notes/aihcsxrs45sw0wbq
0
0
0
0
1
0
0
0
1

new from me: FR#152 - The DSA Needs Big Tech

The panel at FOSDEM with @alexandrageese and @mellifluousboxFelix Hlatky about the DSA and the fediverse showed a deep structural tension: the DSA's power depends on Big Tech platforms existing, and the fediverse is a network specifically designed they won't

connectedplaces.online/reports

0

ๅ‘็Žฐไธ€ไธชๅฐ็Žฉๅ…ท๏ผŒๆฏ”่พƒๆœ‰่ถฃ๏ผŒ้’ˆๅฏนMastodon็”จไบŽ่ฟฝ่ธช็‰นๅฎšๆŽจๆ–‡็š„ๅŽ็ปญๅ›žๅค
github.com/hcschuetz/follow-to
ๆ€ป็š„ๆฅ่ฏด๏ผŒไธๆ˜ฏๅ…ณๆณจ็”จๆˆท๏ผŒ่€Œๆ˜ฏๅ…ณๆณจๅธ–ๅญ

https://hcschuetz.github.io/follow-toots/dist/https://hcschuetz.github.io/follow-toots/dist/tree.html#instance=mstdn.feddit.social&id=115937081428138375https://hcschuetz.github.io/follow-toots/dist/tree.html#instance=mstdn.feddit.social&id=115995995293010716https://hcschuetz.github.io/follow-toots/dist/tree.html#instance=mstdn.feddit.social&id=115999998144507024
1
0
0
0
7
1

I have deeply mixed feelings about 's adoption of JSON-LD, as someone who's spent way too long dealing with it while building .

Part of me wishes it had never happened. A lot of developers jump into ActivityPub development without really understanding JSON-LD, and honestly, can you blame them? The result is a growing number of implementations producing technically invalid JSON-LD. It works, sort of, because everyone's just pattern-matching against what Mastodon does, but it's not correct. And even developers who do take the time to understand JSON-LD often end up hardcoding their documents anyway, because proper JSON-LD processor libraries simply don't exist for many languages. No safety net, no validation, just vibes and hoping you got the @context right. Naturally, mistakes creep in.

But then the other part of me thinks: well, we're stuck with JSON-LD now. There's no going back. So wouldn't it be nice if people actually used it properly? Process the documents, normalize them, do the compaction and expansion dance the way the spec intended. That's what Fedify does.

Here's the part that really gets to me, though. Because Fedify actually processes JSON-LD correctly, it's more likely to break when talking to implementations that produce malformed documents. From the end user's perspective, Fedify looks like the fragile one. โ€œWhy can't I follow this person?โ€ Well, because their server is emitting garbage JSON-LD that happens to work with implementations that just treat it as a regular JSON blob. Every time I get one of these bug reports, I feel a certain injustice. Like being the only person in the group project who actually read the assignment.

To be fair, there are real practical reasons why most people don't bother with proper JSON-LD processing. Implementing a full processor is genuinely a lot of work. It leans on the entire Linked Data stack, which is bigger than most people expect going in. And the performance cost isn't trivial either. Fedify uses some tricks to keep things fast, and I'll be honest, that code isn't my proudest work.

Anyway, none of this is going anywhere. Just me grumbling into the void. If you're building an ActivityPub implementation, maybe consider using a JSON-LD processor if one's available for your language. And if you're not going to, at least test your output against implementations that do.

2
28
1
0

๋„์„œ๊ด€ ๊ด€๋ จ ์•„์‹œ๋Š” ๋ถ„๋“ค๊ป˜ ์—ฌ์ญ™์Šต๋‹ˆ๋‹ค. 1) ํฌ๋ง๋„์„œ์‹ ์ฒญ ๊ฑฐ๋ถ€์‚ฌ์œ ๋กœ โ€˜์ •์น˜์ โ€™์ธ ๊ฒฝ์šฐ๊ฐ€ ๋ฌด์—‡์„ ๋งํ•˜๋Š”์ง€ ์•Œ๊ณ  ์‹ถ์Šต๋‹ˆ๋‹ค. 2) ํ˜„์—ญ์‹œ์žฅ์˜ ๋„์„œ๋“ค์ด ์ง€๋ฐฉ์„ ๊ฑฐ๋ฅผ ์•ž๋‘๊ณ  ์ง€์—ญ๋„์„œ๊ด€์— ๋“ค์–ด์˜จ ๊ฒฝ์šฐ ์ด๋ฅธ๋ฐ” ์–ด๋ฅธ์˜ ์‚ฌ์ •์ด ์žˆ๊ฒ ์ง€๋งŒ ๋ฌธ์ œ ์—†๋Š”์ง€์š”? ์‹œ์žฅ์˜ ๋„์„œ๊ธฐ์ฆ์ด์–ด๋„, ๋„์„œ๊ด€์—์„œ ๋ˆ์ฃผ๊ณ  ์ƒ€์–ด๋„, ๋ˆ„๊ตฐ๊ฐ€์˜ ํฌ๋ง๋„์„œ์‹ ์ฒญ์ด์—ˆ์–ด๋„ ์ •์น˜์ ์ธ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค๋งŒ. ์ง€์—ญ ๋„์„œ๊ด€์— ๋ฌธ์ œ ์ œ๊ธฐํ•˜๊ธฐ ์ „์— ๊ด€๋ จ ์ •๋ณด๋“ค์„ ์•Œ๊ณ  ์‹ถ์Šต๋‹ˆ๋‹ค.

RE: https://bsky.app/profile/did:plc:3obgngj5swalbbzl4t7xvny6/post/3medn4vmutc2n

0
0

ไบ•้–ขๆบไบŒ ไธญ้‡ŽๅŒบ่ญฐไผš่ญฐๅ“ก ใ‚Œใ„ใ‚ๆ–ฐ้ธ็ต„ (@isekigenji) on X
ๆผซ็”ปๅฎถใ‚„ใ‚ขใƒ‹ใƒกใƒผใ‚ฟใƒผใ‚„ๅฃฐๅ„ชใฎๆ–นใ€…ใŒไธ€ๆ–‰ใซๆ”ฟๆฒป็š„็™บ่จ€ใ‚’ใ—ใฆใใ‚Œใ‚‹ใฎใฏใ‚ใ‚ŠใŒใŸใ„ใ—ใ€ๅฌ‰ใ—ใ„ใ‚“ใ ใ‘ใฉใ€ๅฑฑๆœฌ็›ดๆจนใ•ใ‚“ใ‚„ๆ–ฐไบ•่‹ฑๆจนใ•ใ‚“ไธฆใฟใซๆ™ฎๆฎตใ‹ใ‚‰ใ—ใฆๆฌฒใ—ใ„ใชใใ€‚

ๆ”ฟๆฒป็š„็™บ่จ€ใŒๆ™ฎ้€šใซใชใ‚Œใฐใ€ใใ‚“ใชๅ‹‡ๆฐ—ใ‚‚ใ„ใ‚‰ใชใใชใ‚‹ใ‚ˆใ€‚ x.com/i/status/202035965745865
่‡ชๆฐ‘ๅ…šๅ‹ๅˆฉ่‰ฏใ‹ใฃใŸ๏ผใฃใฆ่จ€ใฃใฆใ‚‹ใ‚ฏใƒชใ‚จใ‚คใ‚ฟใƒผใฎไบบใ„ใŸใ—ใ€ใใฎไบบใ‚คใƒณใƒœใ‚คใ‚นใซใคใ„ใฆใ‚‚่จ€ใฃใฆใŸๆฐ—ใŒใ™ใ‚‹ใญ

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