Yeah you're kinda doing exactly what he's writing about
237 karma · joined February 19, 2013
Yeah you're kinda doing exactly what he's writing about
The link leads to a blog post saying how they mercifully unblocked the users in Iran, but that was some time after they first suddenly blocked those users without any recourse and any way to even download their data and private repositories hosted there, without any advance warning…
I feel like I'm missing something here…
Also someone from Nostr made a tool that let you upload image files and encode them (split into parts) into plc directory records…
> I’m confused here. You established indexing is by UTF-8 code unit, then said it’s because of JavaScript which… doesn’t do UTF-8 so well?
It's not that UTF-8 is because of JavaScript, it's that indexing by bytes instead of UTF-8 code units is because of JavaScript. To use UTF-8 in JavaScript, you can use TextEncoder/TextDecoder, which return the string as a Uint8Array, which is indexed by bytes.
So if you have a string "Cześć, #Bluesky!" and you want to mark the "#Bluesky" part with a hashtag link facet, the index range is 9...17 (bytes), and not 7...15 (scalars).
They are working on this, but it's still gonna take a while as I understand.