Using notedeck is low-data mode for the flight. Works great:
- Doesn't load any media
- Because it uses a local relay, when it starts up it can look at the latest note it has for each query. It then adds a "since" filter for the remote query based on the last note. This is a simple method of saying "send me notes I don't have in this timeline"
- I only have my notifications column loaded, so on startup no data is used if there are no more notifications, other than the subscription request.
Observations: it's very fast, even on an airplane.
#localfirst #lowdata
Looking forward to trying this out 🧡
as far as I know when u query strfry with --since, it returns latest ones first.. would it be better if it was ascending order?
Is there a testing website or full build app?
You can build it from source at the moment on our github
Plans to work with a tor proxy?
Can't wait to give it a go. I tried compiling it on my Arch Linux, but if failed.
I think I'm having issues with wgpu/vulkan...
This is exactly how snort works, its pretty good, in some cases also negentropy is used which is much more accurate.
damus ios does too, but it can only do it on reconnect. does snort do it on first load? the new thing in notedeck is the initial nostrdb query of all your timelines, and then modifying the remote query based on the results from that.
Yep exactly, we first check the cache with the filter and then modify the filter with the since value before sending it
And this works for any filter ofc, except those which already have since/until/ids set
This entire thread fills me with happiness.
Setting a reasonable `since` should be standard for every client. I assumed all major clients do this...
damus ios does this, but it can only do it on reconnect because it doesn't do nostrdb queries when it boots up (yet). you can only do it on first load if you have a local DB.
negentropy + cursors is the way…