Featured
Following
51 minutes ago•••
Knock knock ✊🏻
Who’s there?
Orange flower.
Orange flower who?
Orange 🧡 you a stunning flower.
#flowerstr #bitcoin #bloomscrolling #nature #photography #photostr #art
2 hours ago•••
i've decided that my #catstr the #mochi is quite dapper with a collar... i should try and find or make something that has a classic red bow tie on it, that would be awesome
4c800257...3b2f replied 2 hours ago
1
3 hours ago•••
your daily reminder that not eating #meat is starvation
3 hours ago•••
this is probably how it will play out, too
19 hours ago•••
#GN it is time for my repose, after a productive day, 3 hours on the paid gig, and the rest of the day pottering around and making BBQ and finally finishing my nip-98 auth for HTTP on #realy
tomorrow, moar paid gig labors, i have pretty much got a parameterizable user data comparison scheme together for a simple fuzzy matching scheme to back a recommendation engine for gamers to talk to and maybe play with other gamers
and then i will start building out the JSON version of the HTTP only protocol i designed for a simpler text format... and probably also make it so it will be easily changed to other encoding formats such as the one i designed at https://protocol.realy.lol - which is more or less looks like a thing like email... which is what inspired it, but also because i know from experience that this kind of structure is superior to shitty garbage like JSON
it will just be a custom HTTP header to select the encoder
there is some NIP proposals around for this kind of encoder selection right in the HTTP header, i will be coordinating with nprofile1qyv8wumn8ghj7mnxv33zumn0wdmksetjv5hxxmmd9uqsuamnwvaz7tmwdaejumr0dshszythwden5te0dehhxarj9ekxzmny9uq3jamnwvaz7tmjv4kxz7fwdehhxamgv4ex2tnrdakj7qgswaehxw309asjumn0wvhxcmmv9uqzq5455pmtewaacws6a73hxkqkea6fjwcm3keq9vqu3q7930nl4k9a4xdllk as he's the main mover on this, but i think he will like what i have already designed as my event and API message encoding scheme for as far as text formatted goes, i just will first implement something that talks JSON with thisnostr+json or similar parameter in some HTTP header field, Encoding? idk what it is
anyway, amanha, amanha
4c800257...3b2f replied 19 hours ago
1
20 hours ago•••
my next piece of work now i have a working file upload/download with nip-98 auth is to start implementing an actual nostr native http protocol
to explain it in simple terms
this is for simple web app style queries where you just make a standard HTTP request and it returns a HTTP response, none of this websocket jazz
i am kinda stoked because i have mostly defined the protocol already, but specified a different encoding scheme, and have a design for a separate event, auth and API calls, but i'm going to start with something simple
it's basically going to be a refined variation on the existing muddled "filter" and "envelope" scheme
anyway, i'm off to write some documentation
21 hours ago•••
#realy v1.8.2 just dropped
the main new feature is now the admin HTTP ports use nip-98 authentication instead of HTTP-Basic, and there is a new command incmd/curdl that expects your prescrideb nsec in NOSTR_SECRET_KEY environment variable and it can doget for commands that return data (like export) andpost lets you push up ajsonl file to dump a load of events into the database
took me a while to figure out how to get the upload working, some glitch with http and indefinite file sizes so i just discarded the ability to feed it events from localhost
there is ways to do indefinite sized uploads via http but they are complicated and they are simple to do via websockets, so if i feel the need to enable piping stuff up to realy, it will require a new route that upgrades to websocket to do this, most probably... or http/2 or something, idgaf, isn't what i already set it up to do, just wanted working import/export with nostr native auth for all admin
theget mode lets you issue commands via http path and parameters, nothing special has been implemented yet, no fancy swagger openapi bullcrap, and probably never will be, but it has proper security for authentication of the admin remote access of the features it already has
now i can move to doing the http API i dreamed up which i will be collaborating with some client devs in the future to integrate, because for simple queries and uploads, http is far less code and bullshit than having to also deal with sockets, and it makes it really easy for any standard web dev to build an app that talks to this API because it's not some kooky hybrid chimera big ball of mud
#devstr #progressreport
4c800257...3b2f replied 21 hours ago
1
21 hours ago•••
haha, i discovered that for whatever reason, the build running on my VPS is not using the libsecp256k1 bitcoin core signer library but instead is using the fallback btcec from btcd/decred shit
which revealed that it was mangling the pubkey, namely pruning off the first byte, which made it a 31 character key and it refuses to see my nip-98 auth to do an import/export... gonna fix this now, so those who disable CGO to build #realy don't encounter this bug
i really don't recommend not using the cgo but if you must, then i better make it work haha
4c800257...3b2f replied 21 hours ago
1
22 hours ago•••
so i finally figured out the problem with my curl-replacement that uses #nostr nip-98 auth (it's what the relay now uses for its admin port)
yeah... ContentLength
http doesn't do streamy stuff... you must be thinking of websockets
anyway, just to tie up a few bows and realy v1.8 is about to be a thing, with extracurdl for your jsonl import and export pleasure
it's toasted!
26 hours ago•••
#mochi the #catstr is eating espetada madeirense (spit roasted beef skewer) for the first time in his life
i had to chop the chunks up a little bit for him so they were reasonably manageable but i am betting that he's not gonna be hassling for breakfast so intensely as usual after he finishes that bowl full... it's about ~200-250g by weight from the original fresh frozen uraguayan veal loins (the flesh either side of the spine at the back)
4c800257...3b2f replied 23 hours ago
1
LOAD OLDER THREADS