Email or username:

Password:

Forgot your password?
1,576 posts total
Alex Gleason
A Nostr datastore (eg a relay) is actually just a Set. So here's an EventSet class, which implements the ES6 Set interface, and supports replaceable events: https://gitlab.com/soapbox-pub/ditto/-/blob/main/src/utils/event-set.ts
Alex Gleason
Usage of Infinity just to make the comparison `>=` type-safe when `opts.limit` is undefined.
Alex Gleason
Imagine having a global search that just works, from the very beginning, without having to build up your database with follows. Mastodon fears this.
Alex Gleason
How does it work, you say? Just add a search server to your config. Of course, you can self host one too. And if you don't do this, it will fall back to local full-text-search of your own SQLite database.

Regrettably, nostr.band currently offers the best experience. But I think with some tweaks we can change that.
Alex Gleason
Issues with the Mostr relay should finally be solved. The issue was with Nginx - I was looking in the wrong place.
Alex Gleason
I needed to increase the number of Nginx workers. Also, I found out that a particular Nostr client was hitting it repeatedly with requests: https://github.com/SnowCait/nostter/issues/964
Alex Gleason
Mastodon users on Reddit stressing about adding content warnings for eye contact to their posts.
Alex Gleason
A guy says he was blocked from the DWAC Stock Truth Social group because he posted my video. 🤣 https://truthsocial.com/group/dwac-tmtg/posts/111679298269465365
Alex Gleason
I created a whole-ass complicated in-memory Nostr lookup thing, only to benchmark `matchFilters` and realize I could search my entire dataset 14,000 times per second in 5 lines of code.
Alex Gleason
gleasonator.com

bigotry (2x!!!!!)

trainphobia

Evidence: n/a (???)
Alex Gleason
Does anyone have 3x or 4x or even 5x bigotry score?
Alex Gleason
GM, goal today is making search good in Ditto.
Alex Gleason
Mastodon has a "pure anarchism" approach to decentralization, where every server should stand completely on its own without relying on other services.

Modern protocols are more willing to take a Settlers of Catan political approach, where services depend on other services, as long as they are interchangeable.

While Ditto has a built-in full-text search already, it can only search what it knows. It can't discover new content on the network. If we compromise our pure anarchism approach a little, we can connect to a service like nostr.band (proprietary!!!) or Primal's caching service (open-source, but lacks support for NIP-50) just for search.

Some work needs to be done in the area to make it right. But the result will be a better search than any Mastodon or Pleroma server.
Mastodon has a "pure anarchism" approach to decentralization, where every server should stand completely on its own without relying on other services.

Modern protocols are more willing to take a Settlers of Catan political approach, where services depend on other services, as long as they are interchangeable.
Alex Gleason
A huge Happy Birthday to everyone born January 1, 1970!
Alex Gleason
Mastodon API followController, unfollowController, blockController, unblockController on Nostr using NIP-51 tag lists. I built a system to find the old event, update its tags, and republish it in an easy way.
Go Up