Avatar
Alex Gleason
79c2cae114ea28a981e7559b4fe7854a473521a8d22a66bbab9fa248eb820ff6
I create Fediverse software that empowers people online. I'm vegan btw. Note: If you have a question for me, please tag me publicly. This gives the opportunity for others to chime in, and bystanders to learn.

It's almost New Year, and in just a few hours Steamboat Willie will enter the public domain: https://www.msn.com/en-gb/news/other/disney-to-lose-copyright-of-early-version-of-mickey-mouse/ar-AA1mfxRH

Steamboat Willie was originally going to enter PD in 2004, but Disney got passed the "Mickey Mouse Protection Act" in 1998 to stop that from happening. They extended the length by 20 years, and it is now 20 years later, so Disney is finally forced to swallow what it chewed.

To celebrate this momentous occasion, I present to you "Copying is Not Theft" by nostr:npub18jnj0lr27gacdnxvkvzgdjjjfj4u8gn78j04d6rrqcw8zq7nqt0s7t7898 :

https://media.gleasonator.com/1c8ebb4ccd803d651e33d8ee80a6eca5bba2c974a92b83d471bafb848a9ae076.mp4

Nostr conditional tag index. Tags are indexed manually, so I can index the minimum amount of tags possible for any situation, allowing me to do it a lot more often and index uncommon tags when I care about it.

I try to keep relay.mostr.pub online, but I don't stress about it too much if it goes down. The bridge itself is a separate service, and I worry only if that goes down. The bridge also publishes to wss://relay.shitforce.one and wss://nostr.coinfundit.com in addition to relay.mostr.pub, so please add one of those additional relays for redundancy. Anyway I increased the number of CPU workers and restarted.

I built a small Nostr in-memory datastore based on what I'm calling "microfilters". A microfilter is a filter to get a single note or author, eg `{ ids: ['123'] }` or `{ kinds: [0], authors: ['456'] }`

When an event is added to the store, it generates all possible microfilters for that event (there are just a couple supported so far), then uses stringify-stable on the filters to use as keys. It sets the event on each key.

To do lookups, you have to pass in microfilters. They get converted to keys with stringify-stable then looked up by key. The result is a key-value store that only works for filters with specific criteria. I know I'm not the first to do this. But it improves performance and reliability a lot for the most basic and common queries.

https://gitlab.com/soapbox-pub/ditto/-/blob/main/src/db/memorelay.ts

I created a Nostr event type to represent a Registered Relay User. It's published by the admin pubkey of the relay itself (NIP-11). It means the relay recognizes the user as having an account, possibly granting it special privileges, and granting it a NIP-05 on the relay's domain.

{

"id": "d6ae2f320ae163612bf28080e7c6e55b228ee39bfa04ad50baab2e51022d4d59",

"kind": 30361,

"pubkey": "4cfc6ceb07bbe2f5e75f746f3e6f0eda53973e0374cd6bdbce7a930e10437e06",

"content": "",

"created_at": 1691568245,

"tags": [

["d", "79c2cae114ea28a981e7559b4fe7854a473521a8d22a66bbab9fa248eb820ff6"],

["name", "alex"],

["role", "user"],

["origin", "https://ditto.ngrok.app"],

["alt", "@alex@ditto.ngrok.app's account was updated by the admins of ditto.ngrok.app"]

],

"sig": "fc12db77b1c8f8aa86c73b617f0cd4af1e6ba244239eaf3164a292de6d39363f32d6b817ffff796ace7a103d75e1d8e6a0fb7f618819b32d81a953b4a75d7507"

}

There are so many YouTube channels of Asian women in the same room playing video game music on a harp, I'm convinced there's some kind of Harp Pimp forcing them to do it.

Threads is blocking more servers than we thought. Why aren't journos writing about this? Do we need to fundraise PR Newswire campaigns? We pool together $900 and publish it. That's what it takes to get a story in front of people.

This is like half of you guys:

YouTube is cracking down on AdBlock because they NEED you to see this.

With all the distractions, sometimes it's important to sit in silence. Just don't do anything at all for a while. Some people call it "meditation" but they have dressed up a very simple thing that is actually just sitting in silence. So close the phone and take a moment of silence my homies. For no reason other than your own mental fortitude.

Wife got me a nut milker and I made pistachio milk.