idk why anyone thinks AI is good.
go do some searches for technical content.
it's either 10 years old or AI generated, incorrect, hallucinating garbage.
mleku
_@mleku.online
npub1mlek...x3q5
founder of the gopher milk factory https://geyser.fund/project/gophermilkfactory
Go and Bitcoin maximalist remnant living in Madeira and working to help the free humans connect with each other.
i've just been introduced to systemd-nspawn, and for some reason the simple thing of being able to write a script that does things inside the nspawn rootfs, like, you know, automatic setup, a la Dockerfile - didn't seem to be a problem that anyone was bothering to publish much of a solution about.
based on this
- and btw i duly created an account and submitted edits to the leading answer that fix it up so it actually is correct for current versions of systemd-nspawn.
this is an example of a little piece of script that dives into a rootfs in a folder `mysql` in the current directory:
infuriatingly, some silly people don't see the sense in markdown, which doesn't change anything if you don't specifically use it, for non-marked-up text, isn't the default format for notes. but whatever. so that's why this is pig ugly, but you can c&p it for your own uses:
#!/usr/bin/bash
systemd-nspawn --pipe -q -D mysql /usr/bin/bash << EOF
apt update
apt -y full-upgrade
EOF
#devstr
Super User
Start systemd-nspawn and execute commands inside
I didn't find a question like this. I have a bash script (running in Debian) that start a systemd-nspawn session. After that I would like to contin...
#devstrusing this
and a little rsync command, i finally got it so i can mirror a repo i'm working on into a VM i'm testing in, seamlessly. the editor is set to auto-save when i switch context or after a timeout so i won't have to find myself hammering away at the same command expecting it to do something new that i added and it not being synced yet.
Run on Save - Visual Studio Marketplace
Extension for Visual Studio Code - Run commands when a file is saved in vscode.
i discovered a flaw in my character today.
i project myself into the targets of other people's frustrations, even when i know that the source of the tension has nothing to do with me, and then get this anxiety about being turned into the target of the frustration.
i have a vivid memory of getting this really bad, accentuated by the weed a truck driver gave me, years ago when i was hitch-hiking to cairns. he just liked to bitch and moan loudly, and i was baked out of my tree on the most insane north quensland skunk i've ever smoked, and had to get out. but i could have drawn a mental line between me and him about this and taken the full ride as far as he was going.
sure, the weed didn't help but this conditioned fear, imprinted on me by hundreds of incidents of being treated this way by other people, starting with my father, who trained my sister to do it also, and others, this pattern of behaviour now is oppressing me intensely as i live across the road from a primary school and the sound of squealing girls, in particular, brings me flashbacks of my sister calling the attention of my father to get her way or otherwise punish me.
i also am programmed to give consolations to people when they are feeling off even though i have important things i need to be doing, or have really good reasons why i should not be using my energy this way.
again, similar cause behind it, having been small and oppressed by an emotionally immature/psychotic person, and reinforced later by other similar people who saw my trigger playing out and used it to get their hit at my expense.
it's the wrong reason to give something to anyone. i need to focus on doing what i need to do right now because it's a matter of survival, and the cost of the gifting of such consolations without a heart felt wish is going to be higher in mind and body than i should be allowing.
learning to be your own parent is a hard thing, but continuing to let people affect you as though it was the times when you were weak and uninformed and innocent after realising it is just straight up self torture.
is there a good cli client for nostr?
i prefer to read anyway and i'm just discovering how great simplex chat CLI is and the web browser is so clunky
#asknostr
for those who have heard me talk about indra, this is the juicy, most human-readable form of the design that you can find:
https://github.com/mleku/indra/blob/master/docs/formats.md
before i go on, a tl;dr: indra is a connectionless, prepaid micro-session based source routing protocol that is intended to be used for providing traffic analysis security, similar to Tor, but due to its use of lightning micropayments and sessions, also enables the creation of network-native paywalling systems.
it would enable spam control for nostr, for one thing, and it would eliminate location correlation for bitcoin, and it would enable opaque paths for channels that would prevent state-sized actors from discovering the flow of lightning payments from one user to another, in the same way as currently Tor is used, in addition to lightning's native TLV source onion routing. (indra borrows this as its primary method of constructing paths, but turns it into a network transport, not just short messages but intended for bulk traffic and low latency realtime interactive traffic).
the implementation lags a little behind the specification above. two key elements have not made it to the codebase yet:
- the change of the header size specification with the "offset" (the initial implementation made the onion headers fixed size)
- the use of a connectionless, UDP based network protocol, which is essential due to the problem of scaling the network beyond a few hundred nodes with the current code's use of the libp2p connection oriented protocol.
the offset issue is part way implemented.
the connectionless messaging and DHT protocol still needs to be fully designed. it's a bit of a challenging problem to work out because UDP messaging protocols require the implementation of a flow control system, and with the naturally random nature of indra's messaging, it will require some special considerations to cope with delivering low latency while routing blind and avoiding heavy congestion.
if you are a go programmer, you might be curious to browse through the code, i can tell you the first port of call should be the engine, which is the event loop that manages sending and receiving messages, forwarding them both internally and to external relays to forward onwards.
i would dearly love to be able to go back to working on this project full time, but right now i need money and for that i'm working on simpler things that have a more certain future cash flow.
looking back over the codebase so much of it is mindboggling what i wrote, it's not that it's hard to read, but that to understand it you have to be able to trace the flow of data through the thing, and understand the abstraction and architecture before it is clear what it does.
anyhow, i obviously need to focus on what is gonna pay for my next backpack full of milk but i need to put this out there and remind people i spend a year working on this, october 2022-october 2023 and much of the code is written, but implementing the two elements mentioned above must be done first before it can be put on a network.
@Gigi i know i mentioned it to you previously, @ODELL this is what i've maybe mentioned somewhere in the past. a lot of the basic work has been done, i'd love to get some ideas about how to go about getting this thing going. @Colby Serpa the payment streaming system you talked about might be relevant to this project, perhaps it can be meshed together with it or perhaps there is reason to think that the idea of micro-prepaid-sessions is a viable model for simple connectivity, as opposed to specific content delivery.