Tony Agudo's avatar
Tony Agudo
badwolf0524@iris.to
npub1pw4q...tjx0
Hobbyist programmer.
Tony Agudo's avatar
BadWolf0524 2 years ago
Running a Linux distribution via proot-distro on Termux is a weird experience. While the filesystem is properly isolated from the host, the process view isn't, so traditional init systems can't be used in proot(not even Rich Felker's minimal init). I had to strip Felker's init down to literally this as a working starting point: int main() { return execve("/etc/rc", (char *[]){ "rc", 0 }, (char *[]){ 0 }); }
Tony Agudo's avatar
BadWolf0524 2 years ago
Well, if you wanted a sure sign that the birdsite's infrastructure is degrading, look no further. image
Tony Agudo's avatar
BadWolf0524 2 years ago
Snort: A great Nostr web client with a name that makes me think of this scene from "Goodfellas": Yes, I know "Snort" is supposed to be an anagram of "Nostr", but it wasn't obvious until someone pointed it out.
Tony Agudo's avatar
BadWolf0524 2 years ago
So far, I've used Amethyst, Coracle, Iris, Plebstr, and Snort. The only complaint I have is that with the exception of Coracle, all of the clients have only a purple theme. Otherwise, everything is already fairly solid.
Tony Agudo's avatar
BadWolf0524 2 years ago
Okay, so here's an overview of what my Nostr shell scripts will do, at least initially: 1. Retrieve the user's private key and relay list. 2. Send the respective event with the appropriate arguments to all available relays in the list either via websocat or /dev/tcp. 3. Clear the private key and relay list from memory. 4. Exit. Note that these scripts won't be a full featured client like nostr-console, but specific task-based commands like nostr-note, nostr-follow, nostr-zap, etc.
Tony Agudo's avatar
BadWolf0524 2 years ago
TIL the Danish word for "speed check", and I'm dying. "Oh, there's a *What*-kontrol over there now?"
Tony Agudo's avatar
BadWolf0524 2 years ago
Thinking about writing a suite of quick and dirty shell scripts that interact with Nostr like standard Unix/Linux commands, when I get some free time.
Tony Agudo's avatar
BadWolf0524 2 years ago
Okay, so one thing I'm certain the #plebstr devs are working on is search, because while the basic interface for it is already fleshed out, it isn't returning any real results. For now I gotta use Coracle or Iris for search.
Tony Agudo's avatar
BadWolf0524 2 years ago
I think there should be a NIP to add note translation to and from Morse code.
Tony Agudo's avatar
BadWolf0524 2 years ago
GM everyone. On my way to work, and checking out #plebstr. Even though it's still a WIP like Primal, it's looking like a pretty solid client.
Tony Agudo's avatar
BadWolf0524 2 years ago
Despite the fact that I currently do not have a laptop ๐Ÿ˜ข, I've been able to keep hacking away with the #Termux environment on my Android. With it, I've been able to run various Linux distros via proot and qemu, and even run #FreeDOS for some retro nostalgia. But I wanna do something really crazy with it, like see if I can compile a minimal Linux system and run it, like this old project of mine I want to revive:
Tony Agudo's avatar
BadWolf0524 2 years ago
Okay, so I'm hearing people rave on about the #Primal web client. I head on over to primal.net on my phone, and... I understand that it's still a WIP, but where the heck is the way to login to it?
Tony Agudo's avatar
BadWolf0524 2 years ago
Well, I figured out where the zap came from, and it was for recommending w3schools.com's free online tutorial on HTML5. Of course, they also have great tutorials on JS and several other programming languages, and even server side stuff. It really is a great resource for learning.
Tony Agudo's avatar
BadWolf0524 2 years ago
A small reflection i just had when thinking about what happens when a Nostr user(user1) posts a note and it writes to multiple relays simultaneously, and when another user(user2) browses user1's notes stored on those relays. Isn't this in a sense like a decentralized and distributed RAID array?
Tony Agudo's avatar
BadWolf0524 2 years ago
Over on the birdsite, WordPress has officially dropped Twitter from its JetPack extension due to Musk's ludicrous API price hikes, *and* Musk announced that Twitter will allow publishers to directly charge Twitter users to read news articles directly from Twitter. He's literally banking on Twitter's inertia to keep users in his increasingly repressive walled garden. He'll lose that bet hard.
Tony Agudo's avatar
BadWolf0524 2 years ago
Okay, first I tried Amethyst, then Coracle, and right now I'm on Iris on my Android, and I'm struggling to find the logout option, lol. Can someone help me out with that?
โ†‘