so if I put A + B I should be able to make C... o.o
And validation... but... eh, i'll figure something out. The idea is to take webhooks and produce notes. That way, anything that can send a Webhook like IFTTT or Discord's Status Page, can do Nostr things. ^^ Should be fine, rite?
I love having fun, being happy and all that.
But sometimes being angry helps; you automatically cut back on the overhead and BS and just GO! HARD! :D
ANGRY CODE COMPILING AND NODE RESTAURATION AAAAAAAAAAAA
am hengry and eengry! I need a burger asap...
hue. also machen die noch mehr frei als sonst?
(:
nostr:note19825ptynytxh5ywwlshuh3vm5hq4qzgww2zlk30ezkn856eduxqqwaxh7j
I very often send notes via CLI while at work.
Not like my collegues can tell the difference between which shell is mine or work or customer related (:
So I just alias note=noscl publish
...and go!
It can also be localhost :)
Tried that with a throw-away npub, it was fun.
Recompiling CLN 24.02 because Alpine doesn't have a packabe for that. Shame o.o... Oh well - hopefuly my node will be back up soon!
What mleku said - and, I have _way_ too many nodes under my control now. A RockPro64, NanoPi R6s, VisionFive2 and a 4 vCPU VPS with Hetzner (Ampere ARM - Not to be confused with the NVIDIA one). So... Building a cluster feels like the next logical step o.o Also... if I can build good and reusable deployments, I can publish them as Helm charts which may or may not end up coming in handy for future Nostr hosting. Lord knows how Primal and the others host their stuff; chances are, when Nostr grows, it'll need to scale - and this is something Kubernetes is quite good in. :) So while solving my own little conundrum, I might as well put together something that others can re-use down the line.
Tested - but not fully deployed yet. I have to get Jenkins working first to start dogfeeding the cluster new images it can utilize.
That said, just launch into an alpine-golang image (im sure this exists), mount this whole thing in /app/policy, point strfry to run /app/policy/policy_impl and you're good to go!

I can probably implement a sidecar container down the line that watches for changes and recompiles the utility on the fly - it's not a whole lot. :)
Now then... Off to fix Jenkins! I _need_ it.
Not done yet and by far not tested BUT this SHOULD make a plausible init container to build the policy executor each time I change my config.

#asknostr #devstr #go #k8s
Working on my Strfry deployment and I want to implement key whitelisting. There is a neat go library here: https://github.com/jiftechnify/strfrui
Now, I will need to pre-build that binary as part of an initContainer, each time. So, I would like to employ a little hackery with go:generate. Is there a tool that can generate the whole thing for me? i.e.:
//go:generate json2go whitelisted.json
func main...
And it generates another `package main` file that has the string array inside that I can use for strfui.
Any idea?
aka. the intern is currently learning kubernetes, please stand by.

- Sees a ticket
- Says "I am interested"
- Disappears
- Drops PR
- Doesn't elaborate much
- Leaves.
Aight. Anyone know of a "web server" that sends the payload to a shell script? That way, I could just run nak and post on a pubkey in Nostr. xD
Now that'd be a fun deployment, making a "webhook to nostr" thing.
- Put privkey in a secret
- Load it in env
- Tell nak about it
- Start a webserver that calls a command upon receiving a HTTP message
- Verify the payload (origin, format, ...)
- Post.
This dude rules, period. :D
Also, this unironically covers a lot of his voice's spectrum in terms of "voice acting" - not in the sense of an anime, but in the sense of a presentation and explanation. Notice how his levels hardly increase as he reaches the insanty by the end? Thats damn good voice control - and let me tell you, as a blind person who frequently listens rather than sees, this is super noticeable.
Unironically, great job. :D
nostr:note145y48d90s8qcfjg2fcdrgldyql6rv23vqapdnl5g5gfj5sgqtckq7h60tw
Dude, you rule. I will figure out why my lightning node is broken, and then somehow zap you fat. XD Epic.
Oh my god I didn't know mini-racks like this were a thing - I NEED ONE! Like, I could easily fit a nas, a tiny switch, and two beefy bois in something like that. Not sure on the TuringPi, not being able to see the board state from outside is bothersome... But jeebus, i want this!
Proof that shouting degrades performance.