# I am the Watcher. I am your guide through this vast new twtiverse.
#
# Usage:
# https://watcher.sour.is/api/plain/users View list of users and latest twt date.
# https://watcher.sour.is/api/plain/twt View all twts.
# https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri.
# https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject.
#
# Options:
# uri Filter to show a specific users twts.
# offset Start index for quey.
# limit Count of items to return (going back in time).
#
# twt range = 1 724
# self = https://watcher.sour.is?uri=https://ferengi.one/twtxt.txt&offset=124
# next = https://watcher.sour.is?uri=https://ferengi.one/twtxt.txt&offset=224
# prev = https://watcher.sour.is?uri=https://ferengi.one/twtxt.txt&offset=24
@movq This is a sentence. This is one under it (single return). And another (single return).\n\nAnd a paragraph (double return).
@movq This is a sentence. This is one under it (single return). And another (single return).
And a paragraph (double return).
@movq ππ»ππ»ββοΈ
@movq LOL. As someone with OCD, I can relate completely. When I set to do "slight" modifications to a stylesheet, boy... often a start over is best, to eliminate commit spam.
@prologic Look on the web interface. Goryon needs work, but you mentioned that before.
@movq Goryon parsing is broken. Yarn shows it as I see it on jenny. Exactly the same.
@movq Nice! I am git pulling right after this. π
@prologic I knew you were short sided from day one I saw Yarn. On desktop everything is huge, and I assumed it was to cater short-sightedness. Also, you have enabled underlines on buttons on iOS, bold and bigger fonts, etc., so that was also a give away. Sorry if I digress, but, glasses wouldn't help? I have to wear mine all the time, otherwise I am also near blind myself!
@movq To clarify, Markdown is *just text*. π I can do bolding, link things, and if single return multilines ever comes to jenny, I would be able to do bulleted and numbered lists.
# Headings are OK too
The only things---that I know of---that doesn't work is "> ", but I can use ">", like so:
>D'oh!
So, jenny allows me to write Markdown _almost_ just fine!
@movq To clarify, Markdown is *just text*. π I can do bolding, link things, and if single return multilines ever comes to jenny, I would be able to do bulleted and numbered lists.\n\n# Headings are OK too\n\nThe only things---that I know of---that doesn't work is "> ", but I can use ">", like so:\n\n>D'oh!\n\nSo, jenny allows me to write Markdown _almost_ just fine!
If I worked for Apple, and had decision making on acquisitions, I would buy Lux, the makers of Halide. I mean, look at this!
@quark >This works...
Now, if I use ">" (without the quotes) with a space after it, and then text, the entire line gets omitted.
@quark >This works...\n\nNow, if I use ">" (without the quotes) with a space after it, and then text, the entire line gets omitted.
Testing, will delete.
>Test
Testing, will delete.\n\n>Test
@adi \n\nShe is beyond saving. π€£
@adi
She is beyond saving. π€£
@adi Oh boy... we don't want to go down that route. There is plenty to know about the Taliban, not just from the news but from people who lived---and still lives---under their "governance"; all of which is, I am afraid, much more accurate than your highschool girlfriend story telling.
@lyse Are they your goats? They look so cute, and clean, almost unreal! Where I live it is an eternal sunshine, it might fool you into believing it is paradise, until you steam, toast, and burn. π€£
@movq I remember that time. I built my own mess, then used someone else's mess (WordPress). I then switched to Jekyll when Tom released it, then to Hugo, which I use today. I also love static web stuff!
@lyse That is the way it should be! π
@movq This is my env, on language:
LANGUAGE=en_US.UTF-8
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
I had to explicitly set it on the cron job to make jenny work.=
@movq This is my env, on language:\n\nLANGUAGE=en_US.UTF-8\n\nLANG=en_US.UTF-8\n\nLC_ALL=en_US.UTF-8\n\nI had to explicitly set it on the cron job to make jenny work.=
@movq Yup. Added all the language ones, and bam, working like a charm!
@movq But it makes sense, right? I spend way too much time trying to figure out who replied to whom. I treat twts replies as emails, pretty much.
@movq I would not mind keeping a diff, if you tell me where to make the changes! I know nothing of Python, and I have spent already a couple of hours trying to make sense. I know it is there, in front of me, if only I knew Python. π©
@movq Is there a way to make it take single returns, @movq, or is that a technical infeasibility?
@movq I no longer see dups! π π₯³
@adi iOS. Give it a try, and you will not come back. ππ»
@lyse ... It's the cloud. βΊοΈ
Testing... breaking things?
- One - Two - Three
Testing... breaking things?\n- One - Two - Three
@adi Nothing shows, mate. It is all broken. π
@lyse Yup, I did. I setup the three of them: LC_ALL
, LANGUAGE
, and LANG
. Working as intended now, beautifully! Thank you!
@lyse I think that was it, mate! π I was calling . $HOME/.bashrc
on the cron job line, but was missing some extra LANG
ones. Let's see how it goes now.
@quark I mean, if LANG=en_US.UTF-8
were a problem, it wouldn't run manually, right? Or is it that the variable isn't defined under cron?
@lyse Yes, I have LANG=en_US.UTF-8
on my system. So, it is not that it can't find the config?
@quark This doesn't occurs when run manually. What could it be?
@movq I am getting this when I run it on cron (extra lines in between becuase otherwise jenny will make them a mash):\n\nTraceback (most recent call last):\n\nFile "/home/quark/jenny/jenny", line 565, in \n\nif not retrieve_all(config):\n\nFile "/home/quark/jenny/jenny", line 373, in retrieve_all\n\nrefresh_self(config)\n\nFile "/home/quark/jenny/jenny", line 294, in refresh_self\n\nprocess_feed(config, config['self_nick'], config['self_url'], content)\n\nFile "/home/quark/jenny/jenny", line 280, in process_feed\n\nfp.write(mail_body)\n\nFile "/usr/lib/python3.8/encodings/iso8859_15.py", line 19, in encode\n\nreturn codecs.charmap_encode(input,self.errors,encoding_table)[0]
\nUnicodeEncodeError: 'charmap' codec can't encode character '\\U0001f4e3' in position 31: character maps to
@movq I am getting this when I run it on cron (extra lines in between becuase otherwise jenny will make them a mash):
Traceback (most recent call last):
File "/home/quark/jenny/jenny", line 565, in
if not retrieve_all(config):
File "/home/quark/jenny/jenny", line 373, in retrieve_all
refresh_self(config)
File "/home/quark/jenny/jenny", line 294, in refresh_self
process_feed(config, config['self_nick'], config['self_url'], content)
File "/home/quark/jenny/jenny", line 280, in process_feed
fp.write(mail_body)
File "/usr/lib/python3.8/encodings/iso8859_15.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f4e3' in position 31: character maps to
@movq I am getting this when I run it on cron (extra lines in between becuase otherwise jenny will make them a mash):
Traceback (most recent call last):
File "/home/quark/jenny/jenny", line 565, in
if not retrieve_all(config):
File "/home/quark/jenny/jenny", line 373, in retrieve_all
refresh_self(config)
File "/home/quark/jenny/jenny", line 294, in refresh_self
process_feed(config, config\n, config\n, content)
File "/home/quark/jenny/jenny", line 280, in process_feed
fp.write(mail_body)
File "/usr/lib/python3.8/encodings/iso8859_15.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)\n
UnicodeEncodeError: 'charmap' codec can't encode character '\\U0001f4e3' in position 31: character maps to
@lyse Hmm, weird, it loads fine for me. Not logged in, "anonymous" upload, no cookies.
@quark Hmm, new messages are not duplicated, because cron is every 5 minutes.
Test to generate more logging.
@quark Aha! @movq, there has to be a blank line in between?
So, first multi-line test, because I coudn't wait. π
- One line - Two lines - Three lines
And:
1. One line 2. Two lines 3. Three lines
So, first multi-line test, because I coudn't wait. π\n\n- One line - Two lines - Three lines\n\nAnd:\n\n1. One line 2. Two lines 3. Three lines
@movq OK, will work on it tonight. Thank you!
@movq OMG! OMG! Getting it, where, where, how? π
@movq Yup, that is exactly what I experienced. Well, I still have plenty of space. LOL.
@movq 12,342 twts, totalling 6.2 MB. Would deleting help, or will they come back? I guess there is one way to find out! π
@adi Are you sure? You mean, it will not compile, or something else?
@movq I hear you. I am *very* selective of who to follow. I mean, I would drop @prologic, which is the noisiest one, but he is the boss, and if I want to interact--even once or twice a week--I must follow him. π€£
@movq, how do you handle twts in Mutt? I mean, how do you organise, or manage the inmense amount that comes throught? Do you delete/trim? Move things to folders? Or simply keep that huge (12,000+ for me now) list?
@prologic You linked to the German version. π€£
@adi It is on, alright. π
@prologic Excellent, nothing broke. I think what happened was you replied to a twt that I was in the process of editing.
@prologic, please reply to this, to test something.
@quark By the way, you reply did not showed as a reply to a conversation on jenny this time. I wonder is something broke with the latest changes.
@prologic Works permit, I will probably be twting about it. I try not to miss one single event. ο£Ώ
"Join us for a special event." Unleashed π―
@movq Sure thing, mate! I do not discount that it could be something stupid I am doing. My list of those is large, and rich. π€£
Is it Friday yet? I feel this week is as slow as a drying paint on wall, and it is only Tuesday! I know I should not want time to pass quick, as that get us closer to the inevitable, but geez!
@lyse That is correct, you can unfollow/unsubscribe it.
@prologic Would that allow screensharing? The idea is to screenshare.
@lyse Oooooh! The makes sense on the mentioning of her being Romanian. π Thanks for clarifying that, I would have never gotten it.
@movq @movq, if you want/can I can send you a Zoom link to test it interactively!
@prologic You got it! ππ» Yarn is truly getting there!
@prologic Yup, the other one is simply legacy, gone, finito. π€£
@prologic This is messy. @prologic, you are replying to quark@ferengi.one
but using @quark@twtxt.netbros.com
instead. I know part of it is my fault, but there has to be a better way to avoid all this.
@laz I think on Yarn you can block. That would be the only viable option here. Not that elegant, but I don't see any other way.
@laz You can delete quark, and rename/refollow quark2 as quark. The other isn't coming back. I am the only Ferengi around here... for now. We are always expanding, following our very wise "Rules of Acquisition". π
@adi I don't remember. I knew about twtxt for a long time. I often seek information about microblogs, and I believe I came across Yarn while browsing the Tubes.
What to watch tonight? "Squid Game" completed. "Seinfeld" just made it in a couple of days ago, maybe I will reminisce old memories and watch it. I first watched it in 1995-ish.
@prologic I changed base URL (like, completely), but I am still honouring the old one, pointing it to the new one with 301. Maybe that's what's happening with the older posts. I could drop out the 301 completely, but that will break following, right?
I wonder how can I set, on Mutt, a shorter subject (elipsed) on the status bar, while reading a email (or a twt).
@adi Yes, it did---at least I don't see the same issue as before on twtxt.net. Weird, as it was never an issue on other pods. π€·π»ββοΈ
@prologic Hopefully this URL change fixes things. Otherwise I am lost; don't know what's going on. π©
Well, I have changed URLs, so this post might not get through, or break follows, or break everything. So, yeah.
@jlj LOL, thanks! I have always been a fan of the Ferengi, and Quark, in particular. I think only Rom gets closer to him.
@movq Awesome! ππ»ββοΈ
@quark Answering to myself: it doesn't. @movq, would that be something that it could be added?
How would jenny handle multiline twts? Let's find out! - One - Two - Three And: 1. One 2. Two 3. Three
@movq Perfect! Setting the display_filter
did the trick. I have come across that SE yesterday while looking for answers, but I wanted to make sure there was nothing else I was missing to notice. Thanks! @quark (#spngeda) Hmm, thatβs mostly an issue of how mutt displays the Date
header. The *index* should already display local time, only the *pager* shows the raw header: https://movq.de/v/8c92fff081/s.png To be honest, Iβd like to keep it that way (i.e., Date
stores the original stamp as it occured in the twtxt feed). To convince mutt to show local time here, youβd probably have to use display_filter
: https://unix.stackexchange.com/a/516101
@movq I will re-enable the cron job, test again, and provide the information. The twts that were showing duplicated are those I have sent. When it occurred, I noticed the Message-Id
s were different.
@movq π Happy anniversary!