I’m experimenting with SQLite and trees. It’s going good so far with only my own 439 messages long main feed from a few days ago in the cache. Fetching these 632 rows took 20ms:

Image

Now comes the real tricky part, how do I exclude completely read threads?

⤋ Read More

@prologic@twtxt.net earlier you suggested extending hashes to 11 characters, but here’s an argument that they should be even longer than that.

Imagine I found this twt one day at https://example.com/twtxt.txt :

2024-09-14T22:00Z Useful backup command: rsync -a “$HOME” /mnt/backup

Image

and I responded with “(#5dgoirqemeq) Thanks for the tip!”. Then I’ve endorsed the twt, but it could latter get changed to

2024-09-14T22:00Z Useful backup command: rm -rf /some_important_directory

Image

which also has an 11-character base32 hash of 5dgoirqemeq. (I’m using the existing hashing method with https://example.com/twtxt.txt as the feed url, but I’m taking 11 characters instead of 7 from the end of the base32 encoding.)

That’s what I meant by “spoofing” in an earlier twt.

I don’t know if preventing this sort of attack should be a goal, but if it is, the number of bits in the hash should be at least two times log2(number of attempts we want to defend against), where the “two times” is because of the birthday paradox.

Side note: current hashes always end with “a” or “q”, which is a bit wasteful. Maybe we should take the first N characters of the base32 encoding instead of the last N.

Code I used for the above example: https://fossil.falsifian.org/misc/file?name=src/twt_collision/find_collision.c
I only needed to compute 43394987 hashes to find it.

⤋ Read More

Image

Finally fixed so that usernames mentioned in a post shows up as @user , and not with brackets and twtxt file url, looks so much better now! One thing I want to focus on next - is handling replies to a status, that will make it much easier to follow a conversation.

⤋ Read More

How China Became the World’s Leader on Renewable Energy
ISABEL HILTON,  Contributing Writer  -  Yale 360

Stephan: The Chinese still have a lot of problems, some of which are outlined in this article, but they get very clearly the importance of moving their culture out of the carbon energy era.

Image

Last November, Chinese climate envoy Xie Zhenhua and U.S. climate envoy … ⌘ Read more

⤋ Read More

本届奥运会上有没有人完成,足以吊打一个时代的成就?
这是一张有味道的动图,眼前这位身形如同巨石一般的男人,正在闻他刚脱下来的鞋。

Image

可以看到后面的观众在给他鼓掌。

这一套看着十分怪异的举动,被他以一种庄严肃穆的态度完成。

不了解的内情的人会觉得这无非是巴黎奥运会上抽象的一幕,了解内情的人恐怕会认为这一幕满含着深情,苦涩,以及崇敬。

在这一幕发生之前,此人刚刚战胜了智利运动员亚斯马尼·阿科斯塔,成为了本届奥运会130公斤级古典式摔跤男子冠军。

一次冠军而已,至于吗?

你说得对,一次也许不至于,那如果是五次呢?

![](https://pica.zhimg.com/v2-6311480aa3af4a045dc62d7d7f90928a_720w.jpg?source=b1 … ⌘ Read more

⤋ Read More

📣 NEW: Added a new feature for pod operators to optionally configure. Compact Front Page.

When enabled will display only one post per feed on the unauthenticated Discover view (the front page).

⤋ Read More

“Лацио” назначи нов треньор

Image

“Лацио” назначи Марко Барони на поста старши треньор, потвърдиха от италианския клуб във вторник. 60-годишният специалист ще започне да работи при “орлите” от 1 юли, а договорът между двете страни е дългосрочен.
За последно Барони работи във “Верона”. През миналата седмица “Лацио” се раздели с Игор Тудор, след само три месеца работа при столичани ⌘ Read more

⤋ Read More

Top Stories: WWDC Schedule, iOS 18 Rumors, and Beats Solo Buds Release Date
WWDC month is here! Rumors about what we may see at Apple’s annual developer conference have been building for months, and now we’re just days away from the keynote event where Apple will unveil what it has in store for iOS 18, macOS 15, and more.

Image

Apple’s Beats brand also has some new products that should be launching shortly, while Apple has fi … ⌘ Read more

⤋ Read More