Avatar
El Presidento Ben
0adf67475ccc5ca456fd3022e46f5d526eb0af6284bf85494c0dd7847f3e5033
Souveränes Leben und Cypherpunk Anarchie 🔑 B2DD 9D99 69E6 1E61 7125 346E 6D5B 01E0 6AA1 1B68

Another poll test, there was a js error.

With this post I want to test if the automatic polling pulls this new event and displays a button at the top of the page that new event is available.

https://void.cat/d/9aYx5z22hJqH1izgjKmawT.webp

Writing Notes is now possible.

But for now only a simple editor.

Image upload etc. must be added step by step.

https://einundzwanzigstr.codingarena.de/markus-turm-feed

I am writing this note from my own client at https://einundzwanzigstr.codingarena.de/markus-turm-feed

Let's see if it works.

Das ist gut. Natürlich kann das noch optimiert werden.

Aber wenn die Zeit nicht so schnell vergehen würde.

Replying to Avatar Egge

Hey nostr:npub1getal6ykt05fsz5nqu4uld09nfj3y3qxmv8crys4aeut53unfvlqr80nfm! What client are you using? Looks like is not setting a „root“ tag in your replies

Hahah,

nostr:npub1getal6ykt05fsz5nqu4uld09nfj3y3qxmv8crys4aeut53unfvlqr80nfm!

gute neue Aufgabe den Parser auf das extra ! Zeichen abzustimmen :-D

Replying to Avatar Egge

Just cracked the code on bringing threads to nostr:npub1current7ntwqmh2twlrtl2llequeks0zfh36v69x4d3wmckg427safsh3w ! 💜

It took a while for me to find a balance between UX and optimizing battery/data usage, but I think we finally got there. Can’t wait for this to go live! https://nostr.build/av/5025c283076503eebc795294761f54a3987bc07fa3257aecf0f157f4fc5b7291.mov

Nice work!

Nice! Jetzt verstehe ich auch was du da machst :-D Macht schon Spaß mit Nostr rumzuspielen. LG

Experimentiere herum mit der Nostr NDK und versuche herauszufinden, wie man einen Nostr Client entwickelt und welche Fallstricke es so gibt.

Falls das Ergebnis gut genug ist, kann man es gerne benutzen.

Aber es fehlen noch ein paar grundlegende Dinge.

Es soll optimiert für große Bildschirme sein und wird nicht für mobile gebaut werden. Möchte so viel Informationen auf den Monitor bringen wir möglich und trotzdem noch schnelle Ladezeiten haben.

Ab 2K Monitor würde ich sagen. Aber HD ist auch noch in Ordnung.

The speed is pretty good in my opinion.

That would be a whole 24 hours from the cache the first time load and then fetch with LOAD MORE the next 24 hours.

The client is now tightly meshed with a REDIS cache in the background plus the browser Dexie cache supported by the Nostr NDK.

For those who want to test the cache themselves here is the entire 24 stream from all twenty-one plebs: https://einundzwanzigstr.codingarena.de/einundzwanzig-feed

https://void.cat/d/Hwm68Kbv1DEMGvhRapLqZL.webp

Ok, that was very interesting to build.

Direct communication with the backend and a Redis cache server.

Let's see how it goes further.

https://einundzwanzigstr.codingarena.de/d11n-feed

nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft I try to work with the NDK and I like it a lot.

Is it possible to fetch events with a list of IDs I want to exclude?

{kinds: [eventKind.text]}

Is there a NOT IN Operator?

https://void.cat/d/9W2RVqQXFNpE4uoVa3Gk2d.webp

Ok, now you can also respond to the replies.

But now without loaded statistics.

It's not so easy to constantly check the status of any element. And then to keep the whole thing with good performance.