Regex gymnastics for arxiv articles. Additions welcome.
<code>
#convert split words on line break, e.g. post-\nediting
text = text.replace('-\n', '')
#remove lone new lines in the middle of the sentence - leave only the new lines after .(dot)
one_new_line = r'(?<![\.\n])\n(?!\n)'
text = re.sub(one_new_line, ' ', text)
#encoded sequences will generate sequences larger than the chunk size
latexit = r'<latexit.*latexit> *'
text = re.sub(latexit, ' ', text)
</code>
Most #Mastodon users have a 500 character limit, which means you can't always be overly verbose in your original message
I may start posting an MD5 hash at the end of my posts like -
Follow up MD5 - 0d1003fdd2f914a8fac528dfd02b7190
..so when someone reply guys me I can just post this :
MD5 #encoded from -
We all know some clients allow over 500 characters; thanks for the mansplanation
..kinda like #replyguy insurance 😀
..wouldn't be against making this a #socialmedia standard! 🤣
#mastodon #encoded #replyguy #socialmedia
In your head there is a ceaseless, vocal committee.
https://xxyxxy.com/items/dSf4xCJ4
#fediart #encoded #abstract #painting
another URL Scheme-based action for @TaioApp@twitter.com!
uses @typefully@twitter.com's very simple url scheme (`https://typefully.com/?new=[#encoded]`) to create a new draft thread from the currently selected text (or the entire document contents.) https://github.com/extratone/taio/issues/19
another URL Scheme-based action for @TaioApp@twitter.com!
uses @typefully@twitter.com's very simple url scheme (`https://typefully.com/?new=[#encoded]`) to create a new draft thread from the currently selected text (or the entire document contents.) https://github.com/extratone/taio/issues/19