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

그러니까 이게
기존에 클플 없는 상태에서 인증서 인증받고 -> 클플 연결 -> 재인증할 날짜가 되니까 클플이 막아버림
이 원인으로...
기존의 인증서를 삭제하고 클플이 있는 상태에서 인증할 수 있게 재인증을 했어요
szkorean.net/2020/05/cloudflar

마지막에 다 했는데 왜안돼......!!!! 하다가 nginx 리로드를 안한 걸 깨닫고 평화롭게 해결

0

ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
성난 블롭캣이 몰려온다!!!

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

작금의 입춘대길 촌극을 보면서, 입춘대길에 대해 중국인같다. 라고 말하는 사람의 연배가 대충 나와 비슷한 혹은 그보다 많은 사람들일 것이다 라는 생각이 들었는데(그들이 평소 주장하는 소속된 집단에서의 위치라던가, 경제적 혹은 가족 환경 등을 고려해 보았을 때), 그렇게 생각하니 기분이 언짢을 수 밖에 없었다. 내 또래의 사람들은 입춘대길이 무엇인지 학교에서 배우고 자란 세대이며, 집에서 어른들이 그것을 집의 대문(혹은 정문)에 붙이는걸 보면서 자란 세대이기 때문이다. 그 뜻을 모를리가 없다.

0
0
0
0
1

misskeyは身内になれない人に『どうして身内にならないんですか?』って煽られる鯖なのでね​:murakamisan_smile:

ただ、別に分からないノリに乗らなくても怒られたり除け者にされたりはしないからね。乗れそうなノリに乗って少しずつ慣れていけば良いんじゃないかな?と思ってる
:ablobcatfloofpat:​​:anata_no_pace_de:

1
1
0

Politics tinged Friday’s ceremony when Vice President JD Vance received a round of boos at San Siro Stadium after being shown on a big screen. Italy’s Corriere della Sera newspaper reported that he was booed again on Saturday while leaving a women’s hockey match between the U.S. and Finland, as jeers erupted from a part of the arena mainly filled with American fans.

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