Twitter Text Obj
base32768
Twitter Text Obj | base32768 | |
---|---|---|
9 | 5 | |
3,056 | 127 | |
0.2% | - | |
0.0 | 4.8 | |
6 days ago | 3 months ago | |
HTML | JavaScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Twitter Text Obj
-
Why is GPT-3 15.77x more expensive for certain languages?
I recall that Twitter allowed 140 Chinese characters in tweets originally, but when they switched to 280 ascii characters, CJK languages were not included. The current documentation does say that some languages and emojis use 2 characters per symbol of the 280 limit, limiting those languages to 140. https://developer.twitter.com/en/docs/counting-characters
-
Mini Musk in making
I assume you we’re going for half of the (new) character limit? That wouldn’t be bad as a rough guess, except Twitter uses UTF-8 encoding and what counts as a character is a bit complicated. Certain objects like usernames in a reply or image URLs hosted on Twitter are not counted, either. The maximum size of a modern tweet could therefore be upwards of 280 x 4 = 1,120 bytes.
-
A rust crate that lets you compress ASCII text to a single Unicode "character"
Given the examples in this article it seems like it could potentially be used for this!
-
Tweet-counter: A module to calculate the length of a tweet
It turns out, working this out is non-trivial, as Twitter has a few rules around how it count's characters. These are basically:
-
[DISC] The Tsunderedere Girl Getting More and More Dere Day by Day | Day - 13 by @yakitomahawk & @kota2comic
Japanese, Korean and Chinese were excluded from that increased cap, because they already had a significant advantage in being able to put more information into a single character. (More specifically, it's implemented such that ideograms count as 2 characters now, and emoji do, too.)
- Guinness World Regex
-
TIL the assumption that string length does not change when upper-cased is false
The 280 character limit in a tweet isn't equal to the number of glyphs in a tweet.
https://developer.twitter.com/en/docs/counting-characters
- Tech skill shortage
base32768
- Does anybody remember Google People
- NPM won't publish packages containing the word keygen
-
What digit bases do you like?
qntm did a fun project of using larger bases, constrained to subsets of unicode instead of ASCII like base64. It's specifically for social channels where you're constrained by the number of code points, but not bytes, so you want to maximize data per code point. base2048 is pretty impressive, and base32768 is just absurd.
-
Base58 - What Is it? Why Use It?
base32768 is ideal for storing binary data in localStorage with an efficiency of 94%.
-
A rust crate that lets you compress ASCII text to a single Unicode "character"
A similar thing is actually practical in JavaScript which mandates that all strings are UTF-16. You can cram more data into strings in memory if you use base-327168 encoding, and it serializes to equally compact JSON.
What are some alternatives?
MarkdownTextView - Rich Markdown editing control for iOS
ecoji - Encodes (and decodes) data as emojis
YYText - Powerful text framework for iOS to display and edit rich text.
base32k - binary-to-text encoding with a better encoding ratio in character-limited situations such as twitter
Iconic - :art: Auto-generated icon font library for iOS, watchOS and tvOS
keygen-go - Keygen SDK for Go. Integrate license activation, automatic updates and offline licensing for Go binaries.
DTCoreText - Methods to allow using HTML code with CoreText
incubator-retired-wave - Apache Wave is now retired
Atributika - Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement.
keygen-api - Keygen is an open, source-available software licensing and distribution API built with Ruby on Rails. For developers, by developers.
PhoneNumberKit - A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber.
totally-safe-transmute