Oddbean new post about | logout
 Serialized article example.

https://next.nostrudel.ninja/#/u/npub12umrfdjgvdxt45g0y3ghwcyfagssjrv5qlm3t6pu2aa5vydwdmwq8q0z04/articles 
 These articles display properly in Njump, Habla, Coracle, and Nostrudel, but if you check the tags, they refer to an article that is previous/next with "a" tags.

So that a long-form client could add paging through the articles, and 30040 can be auto-created that contains all of the articles in a series, in the correct order, so that they could be displayed in #Alexandria, as a magazine. 
 My Sybil client is going to do this @Sebastix, but I wanted to check that the resulting articles aren't rejected by the other clients.

So, I'm writing a loooooonnnnnggg article on building Sybil and you'll know the MVP is complete, when the article is visible as a series, under my @Silberengel npub. 
 Cool. So this perhaps can also be used for documenting content like how it’s published on nostr-php.dev for example? 
 Well, the idea is that writers often start off with one, long, markdown file and scaffold it into sections and then they fill in the sections, like I'm doing below. And then they end up with one gigantic document.

They would have the choice to publish that as a serialized article and auto-generate a matching 30040. Then a client that only does 30023s could add a button or breadcrumb at the bottom, for "next" and "previous" (like on a blog, but only for this particular series), and a more advanced tool like Alexandria could display the entire thing as an eBook with chapters that you can navigate over a ToC.

So, it's a linked-list that is delivered with a matching index.

https://github.com/SilberWitch/Sybil/blob/main/BuildingSybil/BuildingSybil.md 
  @Sebastix do you know how I can generate a naddr?
I'm calling nak from shell to do encoding and decoding, so far, but I was thinking it might make sense in the PHP Helper.

https://m.primal.net/LTZz.png  
 Its not in the library yet (NIP-19) 
 Okay, then I'll stick with the shell scripting, for now, and then switch it out in a later increment. No rush, just thought that would be a nice addition. Fiddling with identifiers is a PITA. 😅  
 It’s on the roadmap, I need it too for my Drupal modules 🤓 
 Yeah, know the feels. Had to add serial articles to Sybil because my article about Sybil is too long to post to most relays. 😂 
 Just curious, what 'logic' or mechanism do you use to generate the d-tags? 
 looks like there's a bug, that event has a bech32 on the event address in the place where the pubkey should be 
 It's not a bug. Articles don't usually have `a` tags. I was trying them out, to see how the clients would respond. Since no clients use `a` tags, I'm considering using them for something novel.

The pubkey is contained in the naddr. 
 ah ok, it's just very different to how all other tags are used (no bech32 encoding) so supporting that would require changing libraries and querying for two types of indexed values (i.e. the way NIP-01 describes it and this new encoding) 
 Okay, I was trying to avoid adding another tag, but I guess I should avoid single-letter tags. I could call it "navigation", or something. 
 it's not the a tag, it's the encoding of the tag that is very non-standard (i.e. doesn't follow NIP-01); I'm guessing some relays might bark at the non-standard format 
 Yeah, I need the eventID in there, unfortunately. Can't go with pubkey. 
 Ah, real note 🧵 ? I think, right now, it's just replies posted rapidly in succession, in the hopes that nobody posts in-between. But, as soon as people start replying, the thread breaks down a bit. 
 Yes, that could be a very nice web component. 
 is that inspired from this Sybil?

https://www.telegraph.co.uk/content/dam/fashion/2023/02/09/TELEMMGLPICT000324809445_trans_NvBQzQNjv4BqgCXocDQF5kP7s3jSjli3eCH0-jRUT4rHK8EgtaGoQwQ.jpeg?imwidth=960 
 more likely the sybil from infosec security lore 
 Ahh, a confidence trickster! There's an episode on that 
 sybil is the name for the social network attack where you make many accounts and pretend to be many different people, i forget exactly the root of it, i think it's a greek myth about a crazy bitch who keeps on pretending to be other people 
 Oh so it's a classical phenomenon  
 more likely the sybil from infosec security lore 
 Ahh, a confidence trickster! There's an episode on that 
 sybil is the name for the social network attack where you make many accounts and pretend to be many different people, i forget exactly the root of it, i think it's a greek myth about a crazy bitch who keeps on pretending to be other people 
 Oh so it's a classical phenomenon  
 Oooooh 🤯. Damn, that's real elegant actually and solves a problem I've been having with threads 🧵. 

With this you can have a reply section **for** the thread, instead of doing it proxy-style with the replies on the first post.  
 For Stories (Instagram style) that's a downside however. 🤔  
 With stories you'd probably index the videos, then use kind 1111 comments on each video.  You could have collections of stories, maybe pinned to a user homepage.

(I don't use Instagram so forgive me if I'm misunderstanding something.) 
 Yup, no you got that right  That's literally my plan! 
And that's also all I really need. 

The reply section for the full story (which is bsdically a 🧵 of visual frames, not videos btw) is something that adds more confusion than it'd help with UX. And I also don't have pixel space for it neither. 

So still definitely using 30040 for it, just without those general replies.  
 Ok, I was wrong about all this. 

It's not more elegant, it's more confusing in the UI and harder to cleanly code and be interoperable on. 

Using the first post as the header works just fine.  
 Yup, no you got that right  That's literally my plan! 
And that's also all I really need. 

The reply section for the full story (which is bsdically a 🧵 of visual frames, not videos btw) is something that adds more confusion than it'd help with UX. And I also don't have pixel space for it neither. 

So still definitely using 30040 for it, just without those general replies.  
 So simple, makes me feel silly in hindsight.  
 Everything seems simple, once you know the answer. 😂 
 Indeed!
The fact that it's replaceable is fantastic too. Damn, ticks a lot of boxes for me this insight.  
 Teaching Twitter a lesson in elegance here. 
 Lol, forgot that kind 1111's are called general replies. Confusion town.  

So to be clear, I'm going with a reply section (kind 1111's) under each frame of the story, but without a reply section on the full story (index).  
 Precisely. A use case i thought would work great for nostr:nprofile1qqszak7w562dzerznp222fvrgk8adkt9k9s783yt2lf6luqegp2c3pqpzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtcdpp3wz.