I know it’s hard for Damus because it was the first iOS client and it’s doing its own thing, but in general, we should normalize using libraries so that most clients get core functionality for free. Relay hints should be part of that functionality. I’m hoping Nostr SDK for Apple Platforms becomes that. Similar to what NDK is to Web. Having one for Android would be great too.
The fix would make Damus display and post quoted notes (i.e. event mentions) and replies to threads consistently with the other clients per the NIP-10 preferred spec.
Yes, in theory, Damus would be able to display a true standalone note with the quoted note positioned underneath. A note like that would have a single “e” tag with the “mention” marker. It would not have any “e” tags with “root” or “reply”.
I was already in the middle of cleaning up the language in that NIP and others that relate to event mentioning and referencing. I’ll take a stab at it.
I wrote this code in Damus. It uses Apple’s Natural Language prediction model to make a hypothesis of which language the note is written in, and then sends the translation request to LibreTranslate if it’s not one of your preferred languages. In this case, the hypothesis was incorrect. We’ve been running into this issue quite a bit, which is why I’m complaining about Apple.
This is a sad read. I’ve been looking into self-hosting recently, and email was the only one that everyone discouraged for those reasons. That’s a lot of great history to learn from as we build a decentralized web.
I’ve started my gradual data migration out of Google and other cloud services. ✌🏼Going down the list of accounts in my password manager and moving them from Gmail over to Proton Mail or SimpleLogin. Next up, I’ve just ordered a refurbished laptop which I’m hoping can act as a home server to self-host some services and data. Let’s see how this goes.
I’ve spent a non-trivial amount of time investigating how to bring offline machine translations to iOS. Because I want that for Damus and other Nostr iOS apps. It’s wild that no one has done this yet, including Apple. Except maybe Google, but their ML Kit library is horribly maintained and unusable for the modern iOS development environment. All I’ve been able to find are low-level C++ tools and models that you have to figure out how to piece together. Going to keep searching.
MLC LLM has an iOS implementation of an offline capable chat app using LLMs. However, it’s several gigabytes large and performance isn’t great on my iPhone (faster on my MacBook). Hoping for better performance and more direct translation APIs as a library as folks develop in this space more.
https://apps.apple.com/us/app/mlc-chat/id6448482937https://github.com/mlc-ai/mlc-llm
Found alternative advantages for my swim goggles while I was on hiatus due to my ankle injury.
1. Tear-free onion dicing.
2. Face ID still recognizes me.
My Bitcoin journey would have looked a lot differently if it wasn’t for Nostr. I understood some of the fundamental ideas and bought/sold at times of hype several years ago, but my tie to Bitcoin died down after that. I joined Nostr not because of Bitcoin Twitter and I never actively used Twitter, but because of the appeal of censorship resistance and decentralization. After joining, I’ve been surrounded by amazing people who happen to be Bitcoiners and I’ve learned so much from them. Admittedly I still don’t understand enough. I still don’t know how to read a Mempool.space page, what certain sat/vB numbers really mean, and I haven’t found the time yet to start using a cold wallet, but I’m here to learn. I’m thankful to the community here that I’ve been fortunate enough to connect with, and I’m excited to see what’s next in this journey.
That’s a good analogy. “Gossip” just means that there’s a hint in the event identifier that tells you or the client which relay to read from to find that event, which has nothing to do with relays being in phones.
Reminder that just because we post on only Nostr doesn’t mean we’re free from surveillance or data mining from state actors, companies, etc. through our use of public relays. In traditional centralized social media, we are compelled to follow KYC, clients track our behavior, and algorithms use our data to maximize engagement and sell us stuff we don’t want or need. However, the difference on Nostr is we have full control over what we want to see and how much we want to expose about ourselves beyond just our public key.
If I wanted to start self-hosting and move away from the cloud, what’s the best mini server I could buy? Something less janky and more reliable than a Raspberry Pi, and reasonably priced. To store documents, photos, passwords, Nostr relay, etc.
Caveat: I live in a rented apartment where the building provides the internet service and router/modem (no chance for a wired internet connection), and I own no display monitors or television. So ideally something I could connect via Wi-Fi and headless. #asknostr
And if people still want that experience that they normally get from centralized social media, they could just connect to only the Nostr relays that support that functionality.
It’s using Apple’s Natural Language API language recognizer to make a prediction. It’ll take the top predicted language if Apple tells us the confidence is at least 50% or higher. Sometimes it gets it wrong. I’ve done a bunch of tweaking and this was the best I could do with their API, but maybe there’s more to be done that I’m not realizing.
I got down to the bottom of it. I typed in the text wrong. With the ‘ apostrophe, it think it’s English. With the ’ apostrophe, which is what Noshole used, it thinks it’s Norwegian Bokmål with 52% confidence while English is only 41%, which we know is wrong. OK, blame Apple. Maybe we can try to hack it to be smarter such that if your device locale trails the top prediction by X%, we don’t attempt to translate the note.
https://image.nostr.build/0f07e0b5ec2b40ae877be6455bcda73a4f88bdac92e298ba95d7f6faf2cba5c3.png
Depends on my mood. I sometimes shovel while it’s still coming down, especially when we need to have cars pull in and out, but sometimes I’ll get lazy and wait. However, I no longer live in a house so it’s not currently an issue.
Do you take all the groceries from the car in one go like a madman or do you make multiple trips?
I enjoy your privacy and security advice posts. I don’t always follow them, sometimes for the sake of functionality or comfort within my current set of apps, but I do read them and try to reconsider my choices. Thanks and keep it up.
Testing a reply (with a quoted mention) to your note with my fix in Amethyst to support deprecated positional event tags to see if Damus reads it properly now. Ignore me.
nostr:nevent1qqszdm45v2d9ma09ml49l8zue2a3c3tqts8rxeme3306e7905qv9dlgprdmhxue69uhhyetvv9ujummjv9hxwetsd9kxctnyv4mz7q3qt0nyg64g5vwprva52wlcmt7fkdr07v5dr7s35raq9g0xgc0k4xcsxpqqqqqqzz4xt39
@doc I used the latest GitHub Amethyst release to post the note I'm replying to now and it looks like that fixed the issue when I look at it from Damus.
Notes by tyiu | export