Featured
Following
37 minutes ago•••
#PSA for those who like reading my retarded rants, i am now using #jumble https://jumble.social and as a consequence, i would prefer to use it as my main place for you to read my retarded rants
so, make sure to add wss://mleku.realy.lol to your relay in/outbox lists (and application relay too why not) and if you can't write to that relay, that may be because you annoyed me some time ago, or i never heard of you and you aren't in the 11000 npubs that are already whitelisted
i read messages that arrive from other relays, nostr.wine, nostr.land, so put them there and i will find you, and you can participate in the lunacy that is my relay
thankyou for your cooperation
4 hours ago•••
watching a #castr eat proper food, like a cat should naturally be eating, is awesome
knowing that he's gonna have no gingevitis in the next week or two: priceless
4c800257...3b2f replied 3 hours ago
1
7 hours ago•••
i reverted the implementation of rate limiting on #realy because it just resulted in a massive increase in goroutines... some 700 threads holding maybe that many sockets open and cpu usage was at max likely due to constant need to do garbage collection
the websockets for everything model of #nostr as it stands today is an utterly retarded and broken idea that should never have got this far, it's impossible to maintain this many connections without exhorbitant resources, and it's unnecessary - and the simple fact of the ambiguity about whether a filter without an "until" value means "keep open the subscription" is even worse because every time a new event is submitted, every single thread with an open subscription is checking for a match
it might almost work if there was an optimized matching engine and we switched to HTTP/3 with its multiplexing and QUIC but this isn't what we are looking at here
there is a reason why most of the web runs on RESTful interfaces
subscriptions on websockets is fine, but that is the sole purpose and reason to use websockets, everything else can be done with standard HTTP, without the ridiculous resource consumption
so, as such, and because i need to stack more sats if i'm gonna have any hope of realising the boat ownership dream, with the #catstr #mochi as my first mate and support animal, i'm putting all my nostr work on hold unless i can get funding to focus on it... and i need to finish the current task i am assigned to in my paid gig, so i might as well do this
the other thing is that #realy desperately needs a full code review and refactor... there is things dangling in there like the spider, which needs to be popped out to be its own separate service that is run from a more secure position than inside the relay itself, the rate limiter needs to actually be installed and some kind of resource management scheme to garbage collect stale and long living websockets needs to be done... ideally there would also be an accounting system added and then paying users could be charged for their use instead of the open slather that is the current situation, only mitigated by the limitation of having only a small (ie 11k) whitelisted writers... and then there is the implementation of the simplified HTTP-focused redesign of the protocol, which i have specced up but will take me weeks to build
so, since i don't have the time or resources to do this, for now it's on hold
gotta go spend my 6-8 hours a day in the fiat mines and finish my current assignment
the other thing is that i'm starting to get tired of working with shitcoins... what has really triggered me is remembering kate beckinsale and underworld and penis facial and sony corporation and they are talking about supporting the sony deployment of the ethereum network (their own, called soneium) which makes me vomit in my mouth just a bit when i think about the whole constellation of associations i have with that company, and with ethereum, jp morgan, consensys, me having almost got a job with consensys - and ethereum, before falling homeless
and what really triggered all that was i woke up to a dream this morning, where i lost some important documents, cards, or something, while stuck in a place full of homeless people and filth
and i'm like
yeah, nah
gonna finish the work i have pledged to do, and stack my ass off and then try to find something less vomit inducing to do for my income
9 hours ago•••
the most obvious thing that isn't obvious to grantee devs because the user is not the customer
20 hours ago•••
i was just watching #realy get hammered by yet another spider as i was tinkering with ... idk, something... and i wanted to check up on how this rate limiter was supposed to be set up
turns out i had it in there, but was not triggering the wait timer it has for unauthed requests
it is now triggering, and spiders get very slow responses... 0.033 responses per second, or in other words one every 30 seconds with a burst of 5 (meaning it can do 5 in thirty seconds but then not again until 30 seconds passes
the logs are soso much quieter now haha
it's public readable, but the "public" does not include spiders
if the spider tolerates this lag, then ok, they can have their 6 requests per minute
my spider drops a connection if it notices that the within the last 5 requests it is being limited
that's called "manners" but that's why we have rate limiters and that's why i'm pleased to announce that #realy actually has one now
i should add a pair of options to configure the rate and burst limits... what i have set is pretty aggressive really, but fuck the spiders
many spiders on nostr are just gathering social graph traffic data, if you ask me, figuring out who is talking to who because most relays give out DM events to anyone
4c800257...3b2f replied 19 hours ago
1
21 hours ago•••
a really bizarre thing i have noticed with #mochi the #catstr is that he gets in these dark moods with me sometimes, like he's mad at me - in this case because i closed the shutter on a window he was spying on my landlord's family working on the little garden they made next to my cottage, and after it, he's all dark and grumpy with me
but the weirdest thing is that when he's grumpy, the way he looks at me, it's like, he's looking straight in my eyes, because his reflectors are shining straight back at me
they say that cats only look into the eyes of enemies, and when they stare like this they are pissed off
haha... well, sorry mochi, i can't have you making a spectacle of watching my landlord who i am not sure i have permission to keep you in here lol
anyhow, he'll get over it, i'm sure
it's just funny, because this is the second time he has had the glowing eyes at me and it's uncanny, normally i never see his glowing eyes unless i shine a light at him and stuff... but even then, i guess he was mad at me because he was hiding under a bed or whatever
when you can see a cat's reflectors, it means kitty is grumpy, just sayin
22 hours ago•••
watching my #catstr chew through spit roasted beef chunks taken off the skewer is definitely a kind of pleasure
one, i know he is loving the whole experience
two, this is totally gonna fix his gingevitis
thre, the good nutrition is going to make him less susceptible to parasites
the gratitude cats give for their care is a different kind of thing than the simple gratitude of dogs for attention
i hope he likes his new ghetto litter box/hooman toilet training rig... it turned out better than i expected
4c800257...3b2f replied 22 hours ago
1
25 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 25 hours ago
1
25 hours ago•••
your daily reminder that not eating #meat is starvation
25 hours ago•••
this is probably how it will play out, too
42 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 42 hours ago
1
43 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
44 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 44 hours ago
1
44 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 44 hours ago
1
45 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!
2 days 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 46 hours ago
1
90 days ago•••
Have you figured out that these towers aren't for making your Internet better yet? #5G
91 days ago•••
"But I can take supplements for that!"
Wrong. Pill-form vitamins are a giant scam. They're not bioavailable at all, i.e. your body cannot absorb vitamins in this form.
If you're not eating red meat regularly, you are going to be vitamin deficient and develop health problems down the road, 100% of the time.
LOAD OLDER THREADS