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

I spent a while implementing resilient parsing this weekend, and I am kind of thinking that this isn't quite what I want.

Instead, I want a resilient *grammar*. What I mean by this is, a resilient grammar is designed with the temporal process of typing out the code in mind, to minimise the number of *errors* that may occur whilst the code is only partly written. In particular, there are many places where we *know* that we need to have a certain keyword, or an identifier, or a block, and instead of emitting an error or a diagnostic in those places, we should just allow them to be empty.

Then, the magic part is when we also instrument the concrete syntax trees with inlay hints that indicate to the user what they would have been supposed to type there. These aren't errors, they are hints.

I am sick and tired of "live errors" (live nitpicking) whilst writing my code. What I want is "live reminders of the syntax".

0
0

⏳ Just a few hours left! 🔥

We're in the final stretch of the Bonfire crowdfund. Help unlock new features for community-run spaces in the ! Every share or contribution makes a real difference.

Support or boost before time runs out:
indiegogo.com/projects/bonfire

Read about our groups stretch goal, to bring genuine community spaces to the fediverse:
bonfirenetworks.org/posts/why-

Endless thanks to everyone who supported us already! Let’s show what open and caring federated networks can achieve! 💜🌱

0
0
0
0
0
1

@reiver@reiver ⊼ (Charles) :batman: …and it's not just the sheer amount of storage; prudent expiration and cleanup (e.g., #Enigmatick clears cache data each night that's greater than 30 days old) helps to manage that. It's the application load of pulling up the same records tens of thousands of times within a few seconds when new content is created (i.e., the fan-out of initial delivery and the resulting requests back for content).

I use Varnish and that helps a lot with the latter case. But a #FediCDN could be built on Varnish (like Fastly is) and provide decentralization in that service.

0
1
0

I think it is telling that we are about three years into the AI craze and, still, every single time someone says to me "I asked ChatGPT ___ " or "The chatbot told me ____" I know they are about to say something completely stupid and devoid of facts. Every single time.

0
0
0

我某段時候有捐過無國界,後來取消了,應該就是2019年的事

倒是國際特赦一直是在我的捐獻名單內,直到香港分部因為國安法而解散為止

0
0
2

Hi, I'm Ridley!

I think a lot about building healthier online communities. I'm interested in distributed computing, consent-focused design, privacy, and object capability programming.

I am currently working on a Dart-based implementation of ocapn.org which I hope will make it easier to create distributed and federated applications.

I am very grateful to have @nlnet sponsoring some of this work.

0

當初接受香港人一年捐超過 20 億新台幣,結果 2019 反送中不救香港抗議民眾的「無國界醫生」,Meta 廣告資料庫顯示最近 30 天花了40萬在台灣買廣告,總共已經花了快 700 萬買廣告,Threads 上說現在捷運站也很多工讀生,大家慎選愛心對象哦 🤗
#無國界醫生

0
1
0
0
1
0

컴퓨터 잘 다루시는 분들 계신가요 도움이 필요합니다 막 급한건 아니긴 한데.. 저는 아직도 음원을 저장해서 음악을 듣습니다. 그런데, 오늘 갑자기 저장된 음악 파일들에 아이콘 미리보기에 앨범아트가 전부 하나도 안나오는거에요. 뭐지 싶어서 Mp3tag 켜서 확인해보니 앨범아트가 날라간건 아니었어요. 폰에 다운받으면 잘 뜨고요. 그래서 임시파일, 캐시 문제인가 싶어서 임시파일, 캐시 다 지워보고 재부팅해봤는데도 안뜨더라고요. 그 과정에서 앨범아트가 손상됐나 싶어서 다시 확인해보니 그렇지 않았습니다. 혹시 해결방법 아시는분..?

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

You can refuse to provide official ID or biometric data for social media accounts requiring age verification.

Actually, I bet if everyone did refuse, and let their account dormant for a couple of weeks, you would suddenly see American Big Tech transforming into the fiercest defender of your privacy rights, using their powerful network of lobbyists to fight these invasive government regulations.

They need you more than you need them.
Force them to work for your rights.
Do not comply.

0
24
0
0
0
0
0

With NASA under constant threat, I have been digging up their new and old documents Archive.org and later Wikipedia for my own personal safekeeping, particularly a lot from the Biden era. It all started when I discovered their unfinished First Women (to the moon) comic, featuring a diverse cast of fictional characters with a robot mascot. It was supposed to conclude with a third issue that never made it passed the drawing board due to poor timing, to say the least. I later tripped upon a D&D campaign (Archive.org mirror) they made around the same time frame. This led me down the rabbit hole about the Artemis program that I unfortunately missed due to taking care of an ill grandparent. The Biden era really showed a return to optimism that the second Trump administration has thrown a big wrench into.

For the writers and artists out there, the fictional stuff is ripe for the picking thanks to the lack of copyright protections.

0
1
0
0

컴퓨터 잘 다루시는 분들 계신가요 도움이 필요합니다 막 급한건 아니긴 한데.. 저는 아직도 음원을 저장해서 음악을 듣습니다. 그런데, 오늘 갑자기 저장된 음악 파일들에 아이콘 미리보기에 앨범아트가 전부 하나도 안나오는거에요. 뭐지 싶어서 Mp3tag 켜서 확인해보니 앨범아트가 날라간건 아니었어요. 폰에 다운받으면 잘 뜨고요. 그래서 임시파일, 캐시 문제인가 싶어서 임시파일, 캐시 다 지워보고 재부팅해봤는데도 안뜨더라고요. 그 과정에서 앨범아트가 손상됐나 싶어서 다시 확인해보니 그렇지 않았습니다. 혹시 해결방법 아시는분..?

0
1
0
0

👀

--no-combine … U+20DD〜U+20E4 の囲み文字の前にスペースを追加します。 本来これらは直前の文字を囲み合成する Unicode 文字ですが、 Twitter では絵文字セレクタとともに利用して安易に文字や数字を強調する 手段として使われがちです。 そのため、端末およびフォントによって合成した結果読めないものが 表示されてしまう環境では、強調された肝心な部分だけが読めないという 残念なことが起こります。それが場合によってはマシになるかも知れません。
github.com/isaki68k/sayaka

0
0
1
0
0
0