Smells like a footgun, looks like a footgun, very much is a footgun, I still find the idea funny of bringing back some of Yii's old oddnesses for a lark XD (Please don't actually do this... i think... I think it'd be bad lol.)
I just looked at a bunch of libraries that do dependency injection in Go. Previously, I knew this concept from PHP where your request responders would get additional function parameters to do stuff based off of what the router did before and I was highly skeptical if Go could really do that. ... turns out, it can. And, I genuenly like the approach taken: Might have to re-think how I do certain stuff. But for now, my biggest "worry" is how to optimize HTMX rendering. Like, I do not want to re-render an entire page if I don't have to, so I am trying to see what the dude behind templ thinks. There is a GH discussion about fragments and registering those to the context and then just rendering out the specific component fragment. I feel like something is happening in my dev-mind and it will need time to brew. But once it is done brewing, I should have a pretty neat and nice stack - for both Nostr things and my own personal stuff (like the Dragon's Inn...which will also use Nostr, because I am lazy xD). Ah... it feels good to be in the swing of dev stuff again. ^-^
aww, cute. ^^
Ohey, someone made an installer for Restic, and a bit of UI, that works well on Windows! I need to implement better backup - across all my nodes...and i have a loooooot of them. x.x - 2x Windows (desktop, laptop) with 2TB SSDs each - 3x local Linux boxes (TV server, NAS, single-node k3s) - 1x RISC-V box - 1x remote VPS That's a lot of data. And I fully intend to grow it further - much further. I still have 6U of free space in my rack, it needs to get packed. =)
We need more builders like this. Found it through a Theo video - but I will save you the theobnoxiousness.
Idea: One Billion Notes Challenge - Query as many relays as you can untill you have 1bil - Store the results -> unify into one file (jsonl) - And now ingest it into the relay software of your chosing and see how fast it goes. More of a benchmark, but also a super intriguing thing to test low-level nostr stuff. Inspiration: ...yes, im just shitting on Theo because looooooool i can. :D
What a random, intriguing find this is...
Because Go has no usable PDF generator, and I need to generate PDFs for a school project, I am thinking of using a PHP microservice to do that. So this seems neat af Just a dumb PHP microservice, no routes in fact, that accepts a JSON body. If I can use Roadrunner to run both my main Go app (htmx stack) and then call into PHP when needed, sounds super neato. Ideas do be brewing. PHP was my first ever language and I still use it sometimes for scripting. If you have seen my fake-zap post, then you know. xD I used it's json_serialize() because it was much faster for me to type out than what I would have had to do on Node (consuming all of STDIN, and then JSON.stringify()). It is absolutely possible, but PHP and it's nature just made this significantly easier. A call to file_get_contents("php://stdin") is much faster than the JS equivalent... (in terms of typing, i mean.)
I want this, but for PHP 8.x. Why? ... I sometimes miss PHP and it'd be neat AF to write some stuff in Go and just use them from within Laravel o.o
This makes me wanna pick up an Ace Attorney game. OBJECTION!!!!