# 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 379
# self = https://watcher.sour.is?uri=https://twtxt.net/user/lukem/twtxt.txt&offset=179
# next = https://watcher.sour.is?uri=https://twtxt.net/user/lukem/twtxt.txt&offset=279
# prev = https://watcher.sour.is?uri=https://twtxt.net/user/lukem/twtxt.txt&offset=79
@lukem cc @prologic re [this](https://github.com/jointwt/twtxt/issues/167#)
@lukem And this is even nicer reply to this twt.
This is a nice twt.
@prologic we also need to fix the _audience_. Shitty clickbait sells. Guess who is the buyer.
@dooven aaah god dammit Daven, I'm jealous.
I don't always use newlines.\n\nBut when I do, I try to use them for actual plot twists, not some dumb testing of an awesome feature lol.
The fact Kerbal Space Program keeps crashing on my PC is one of the biggest tragedies about my entertainment. And perhaps one of the best things about my open source activity.
@prologic also, thank you for serving as my rubber duck for this bug. Given the complexity of the matter and the fact I'm completely outside of my comfort zone it was super helpful.
@prologic when you SET value with expire time you can choose between seconds and miliseconds. What I did in my project was setting EXPIRE on existing key and it only accepts seconds.
@prologic more importantly, there are apparently two methods of setting expiry time on Redis keys and only one of them uses miliseconds. I'm still digging into it as I handle Redis via server drivers and it's not super obvious. But damn, do I feel so stupid sometimes.
Dear Luke. When it comes to expiring Redis keys there is _actual_ difference between 600000 miliseconds and 600000 seconds, okay?
@prologic acknowledged. Btw, we talked about boards on GitHub, I created one for myself. As a corporate animal I operate better when I have task lists :)
@prologic Okay, basically a 'Share to Twt' component. Fair enough. If you have more ideas I'll be happy to read them.
@prologic I can try but I personally don't use any social media via browser extensions so I don't know what needs I want to address. GitHub issue with a rough list of use-case scenarios would be great.
@prologic I was thinking about that too tbh.
@prologic but I looked at the projects of yours and they look cool! I use plain ol' Redis for basic caching and I wonder if I could replace it with Bitcask or Bitraft.
@prologic fortunately for my post-release sprint I'll migrate to a dedicated solution that didn't exist when I was starting. Hell, it's about damn time.
@prologic In my case it was a MongoDB document store but I generally dread working with anything that (a) deals with user-generated data, (b) requires special treatment when it comes to backups and (c) cannot be easily fixed in case of a destructive event. It takes a lot of my brainpower while offering very little value in return.
I accidentally dropped production database in my side project while writing a migration script. Luckily snapshots were available to restore. Did I already tell you how much I hate working with databases?
@prologic awesome!
@prologic I can't really argue with performance implications but I'm curious of one thing. Is the limit of 10 days / 150 items adjustable in any way? I can see why it matters for a crowded instance like the one we're on but what about a single-user self-hosted pod?
@prologic @dilbert (Becoming Golem) I'm glad it's called 'Conversations', not 'threads' 😌 Also, removed parentheses, now we wait for a strip tomorrow.
@prologic @dilbert (Becoming Golem) sure thing, will do that before tomorrow's strip.
@prologic @dilbert (Becoming Golem) it finally worked without my intervention, oh thank goodness. Also, I identify myself a lot with this strip.
@antonio (re ipad) hard to tell, but I find it plausible :)
@antonio catch this
@melyanna (Urban Dictionary) no. UD is often more reliable than traditional online dictionaries.
Ansible variables make me feel so stupid.
@prologic (re Github Kanban) in fact it looks like this has been around since 2016.
@prologic (re Github Kanban) no, I've been using this since at least 2018 :)
@prologic (re Github Kanban) If you add a board on the organization level it does support multiple repos, here's my private example. As for companies, well, I don't know ¯\\\\_(ツ)_/¯_
Kanban boards on GitHub are very underrated.
@prologic @dilbert (Wally Will Look Into It) yeah, it took me a few minutes to notice the irony of today's title in relation to my script problems :'-) (also, having '#' sign in user password and encoding it as an environment variable is a questionable idea that might result in failed API authentications)
@dilbert (Wally Will Look Into It) THANK YOU
I have very hard time getting @dilbert to work automagically. Something keeps failing silently and I can't figure out what. Works fine on test instances, refuses to work on production. *sigh*
Good morning peeps.
If you ever in your life regret deploying something to production that shouldn't have landed there, think about Nik Kershaw and the fact his iconic song 'The Riddle' basically contains Lorem Ipsum as its lyrics. https://www.youtube.com/watch?v=bDygS0a6Tgo
@dooven @antonio @prologic (re injured foot) thanks for the heads-up, I'll have to add support for it in twt.js.
Who on Earth put this unit test here when there's no support for it in the project. Goddamit, what a brainless idio... oh wait, it was me.
@dooven (re injured) Ouch. Here's to speedy recovery!
@antonio end of 2020 is my deadline but I hope to make it sooner. I'll ask you about yours once I'm done with mine :D
@prologic I don't know exactly what it means in my language but it contains all Polish diacritics and thus it's been used for a while to test Polish language support in text editors and font faces. As of my strategy for long writing, even though I'll probably bring some more here and there, I'm generally in love with static site generators. You can't beat simplicity of a few HTML files that can be hosted pretty much free of charge for an infinite amount of time.
For some weird reason SpaceX has their upcoming launch stream unlisted on YouTube, so here's the link from their website if anyone wants to watch some expensive piece of metal being launched high above our heads in less than an hour. https://www.youtube.com/watch?v=P-gLOsDjE3E
@prologic @off_grid_living there is something about the fact you both have your avatars showing side profile :)
New Blog Post Just testing this cool feature by @lukem 📝
@prologic @off_grid_living oh. So you're a father and a son. Wow. I wish I could bring my dad here.
@prologic @dilbert (automated Dilbert) at least I hope cron does the job because I will be asleep when it goes off haha.
@dooven (re goryon) thanks for sharing it! Great job!
All right. Mission accomplished. Starting tomorrow @dilbert goes fully automatic.
Hello from Goryon on Android 👋
I also shared a sample Express.js server app using Twt.js, but it still needs proper documentation (soon).
🎉 I just released twt.js - JavaScript library for Twtxt.net API. It's reasonably tested and documented, installable via npm and available on GitHub. I'll be dogfooding it myself a lot very soon.
@prologic @lyxal (Rick Astley) if this was intentional, it was briliant.
@prologic @dooven @antonio the need for automating all the things aligns well with my inner laziness. I hate repetitive chains of tasks and my ultimate dream is to have a single button for everything. Nothing bad about iterating fast at the expense of bugs here and there as long as issues aren't ignored.
I've done that multiple times but unit testing anything that performs fetch requests always intimidates me at first.
@prologic (session bug) I wonder if my symptoms were related to this.
@lyxal @prologic (double mentions) yup, same here. yup, same here
@prologic @antonio (re Mentions bug) seems to be gone.
@antonio (pandemic eternal April March) True that. I was thinking about March and typed April 🤦 Yeah, within those few months since March I was in the office for 15 days. And it sucked big time. I'm still in the process of setting up proper home office but I really enjoy WFH. So much time saved and I don't have to pay for car rental.
@antonio (pandemic) Yes. On the other hand though, I call pandemic 'eternal April', just like Eternal September.
@antonio @prologic (broken mentions) same here
Baby steps
@prologic @dilbert still doing this manually. Automation will be done when I finish and release API wrapper in JS (we're getting close). Dogfooding as much as I can :)
@prologic @dilbert good call, I'll have it in mind when I start automating this.
@prologic @dooven (cache ttl) I'm about to go to sleep as it's almost morning. I'll should be able to give it a look in ~10 hours.~
@eli_oat streaming games on Twitch.tv.
@prologic (re old undated blog tutorials) also, hooray to random guys who try to be the change they want to see in the world. Not all heroes wear capes.
Dear people who post tech tutorials on your blogs. PRETTY EFFIN' PLEASE WITH A CHERRY ON TOP provide dates of publication on your sites. I'd rather know your tips are severely outdated *before* I spend 2 hours on testing them.
@recipes Happiness is back. I missed you.
@prologic (re ping) no worries, thanks!
@prologic gentle ping
@prologic (Dilbert) it's possible to license single strips for fixed fees. Long-term deals would probably require reaching their sales team.
@prologic (Dilbert) if 'politely' means 'pay for a licensing deal', than yeah, that could work. But I'm afraid we won't get it free of charge. This is a quite a big business ran by a serious corporation.
@prologic @dilbert no more waiting for avatars to get refreshed. Wooohoo! Good job.
@prologic (Dilbert) technically it's possible and I've seen unofficial applications doing that. I'm just not sure if I want to join the dark side.
@prologic @dilbert (re Ted Takes Selfie With Bear) as long as Dilbert strips are funny, it's all good. Having worked as a corporate drone for a few years some of them hit very close to home.
@prologic @dilbert no big deal, fixed. :)
I upgraded all capable devices at home to use 5 Ghz wifi. I have no idea when and why any of them would ever need 300 Mbps download speed, but it feels good.
@prologic (re Theme) no problem :)
Windows 10 and Xbox should be owned by PornHub. Microsoft doesn't understand reliability or smooth gaming experiences, especially when cross-platform play is involved.
@prologic (re Theme) looks fine on my end now. That was quick.
@prologic @dilbert (re 5G Doorway To The Demon World) Dilbert can be so brutally on point under the disguise of light-hearted satire.
@prologic (re Theme) I have a weird feeling you broke profile pages in the process.
@dooven THAAAAANK GOOOOOOOOOD IT'S FRIIIIII.... wait, where I live it's Saturday already. :)
@mdosch if it's hacky, but it works, it works. I don't use XMPP these days but if I would I'd definitely try it out.
@prologic (postas) oh, true that. :) No problem, I'll get my first lines of code in Go in some other PR.
@prologic @antonio @dooven (re Flutter App functionality) just saying I'm still planning to come up with my Android app as well and I'll probably call it 'X for Twtxt.net' or 'X for Twt.social', where X is a word I haven't decided upon yet. Like Relay for Reddit or Fenix 2 for Twitter. Whether it becomes 'official' or not doesn't really matter to me. There's no 'official' app for XMPP, World Wide Web or e-mail.
@prologic @dilbert (re automated Dilbert feed) I haven't coded Go before, but I might give it a shot unless anyone is faster than me. I'm having two weeks off work starting next Monday and that means more time slots for side projects.
@prologic @dilbert (re automated Dilbert feed) Yeah, being able to post-as via API would be nice, but Dilbert is still particularly tricky to work with because their official RSS feed is broken and their TOS are very prohibitive. Doesn't change the fact I can see certain solutions to that problem.
Okay. Now that I created @dilbert feed I have two weeks to figure out how to make it automatic. For now I have enough time and processor cycles to curate it manually.
With Blackberry confirming new phone in 2021 I might have a second look to an idea of using a phone with physical keyboard as my workhorse.
@prologic (upside down ranch) not an Australian ranch in California any more. :)
@prologic (ranch) Damn, I knew this was an easy trap.
@prologic (ranch) True Australian ranch. Upside down. 😂
https://fs.blog/2019/01/how-not-to-be-stupid/ - note to self: read in full later
@netdata @prologic sure thing, feel free :)
@netdata @prologic I know, I saw your GitHub profile. :) 'use' is rather bold term, I prefer to say I sometimes look at dashboards and mark alert emails as read. I like the project though.
Yes netdata, I get it, my Raspberry Pi is struggling. Already bought a new one but I still can't find time to replace it.
@hjertnes https://opencollective.com/
@prologic (Surface Duo) I don't know exact sales figures, but judging from my anecdotal experience of never seeing anyone using any MS-branded device since Windows Phone, I'd say either US-based sales or enterprise sales. Or both.