# 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 674
# self = https://watcher.sour.is?uri=https://twtxt.net/user/justamoment/twtxt.txt&offset=374
# next = https://watcher.sour.is?uri=https://twtxt.net/user/justamoment/twtxt.txt&offset=474
# prev = https://watcher.sour.is?uri=https://twtxt.net/user/justamoment/twtxt.txt&offset=274
@prologic you simply don't... π
I made it by relying on parcel JS v1 (made some time ago).
I first tried create-react-app but aborted immediately once I saw it going for 3 minutes with npm install.
@eaplmx you're welcome, I just remembered that some racing games do that.
@eaplmx I got 5 lines only...
Nice game though, didn't feel the "bastardness" until at the end where I was like: "Of course I'm gonna die".
@eaplmx Oh, I see.
Then maybe something like personal objectives?
Also, a "ghost run" of last week's you would be cool, to keep help keeping the pacing pushing forward constantly.
@eaplmx a gamified app that have ranks, scores or something like that maybe?
@lyse I can confirm, a light rain create a unique atmosphere that's worth trying when going for a walk.
@prologic as I said in the issue I think we can use the current list API or a dedicated endpoint that return how many posts since a passed argument like current_timestamp
and simply return the number of new posts, the rest would be handled with a timer on the page, I described the steps in details in the issue here
@prologic yes, I can probably pull it off, seems kinda simple, I'll reply in the issue for more questions.
The other day at work...
"I want to learn how to build an app!"
"Ok, what you want to make?"
"Something like VS Code"
"Good, now I'll show you how!"
An hour later...
https://sunetraalex.gitlab.io/nanitor-app/
Write in HTML to see magic...
That my training process for my junior, how do you go about teaching programming to your colleagues?
@axodys I too have glasses that don't match my short-sightedness because I work on a PC everyday, the only issue is reading texts at a distance, everything is blurry.
I'm probably getting an eye surgery within a year to fix it permanently. βοΈ
@prologic how about me having a full disk space warningb on my 1TB hard drive for only 23 projects filled with node_modules only...
@axodys Try bumping up the font size, I too work on the PC all day and my font is almost gigantic so I can write code without staining my eyes, except when on Gmail damn micro fonts...
@carsten I tried duckduckgo on Android and was pleasantly surprised but it's still somewhat immature as a daily driven browser for me, especially the tabs navigation, I even filed a feedback report about it from the settings in hope it gets better.
Sadly there no Linux version right now, once it's out I'll definitely try it out.
@lyse I too avoid bringing in people, the one I know would compare everything to Twitter or Facebook and ask me directly to have this and that.
From what I follow most is tech related and I'll have to deal with the aftermath of anyone I know getting interested in something they can't handle by themselves... π«£
Also, 99.999% of all the people I know can't speak or even recognize the words here as English. π
@lyse not close to my house but at my uncle's place, there was an identical water tower close by and at sunset it had the sun hide behind it.
That photo reminded me of it and other memories I had there.
@stigatle Wow even his name sounds cool, glad to know he's loved! π€
@lyse 46.jpg feels so familiar to me... π²
@darch @prologic what about showing a button/label on the right of a post heading, it might need a better location on the compact version but it can be a good way to show on mobile.
@stigatle your dog is amazing, it's just so elegant, what's the name of your reliable partner?
@prologic I too often have to use it at work.
I'm on Linux so the xdg-open keep asking me to run the non existent app everytime, I think you can tweak the browser to change the behavior for any custom protocols somewhere, I've seen it in Firefox but not in Chrome.
I need it myself since I use everyday both Teams and Zoom, bothering me on every joining.
@mckinley I wouldn't like to have other install something just to join a call, there's no official web version either since it's designed for performance.
@darch you can but it's more of a development environment from what I can tell.
@prologic you're right π
I haven't noticed the server can't be self-hosted.
@prologic meanwhile I found this should work like an open room to join or just listen, I found it interesting.
@akoizumi It happened to my laptop too, with both fluxbox and plasma, once I closed the lid even for a second it died.
I resolved it by installing the Laptop Mode Tools, seemed like an issue with the power management in my case.
I don't know if it's available in OpenBSD though.
@prologic I used nopaste, this service let you share without storing anything anywhere, that means everything is in the URL, you probably have the query params stripping in your settings.
@prologic it's just an interactive mock but if uses link for the actual actions, that means you can use it on the backend.
Does this style makes sense for a tri-state filter?
@eaplmx oh, nice!
It would need a language metadata to handle that but it looks good to me as a feature.
@prologic maybe simply handling them as visible/hidden could work on the main one?
@carsten I'm a big fan of ASMR but those white, brown and pink noises tracks just make me feel sick somehow.
What I use, both at home and at work are the "white noise" made with long recording of natural sounds, my favorite are the forest, birds and flowing water.
They go well when listening together with ambient or chill out music at the lowest volume.
@axodys Cool, an AR app, I've seen a couple using tensorflow.js
@prologic oh, I see.
Does it work separately from your follows or they are the source?
@prologic that's ok, I told you just in case. π
@darch good ideas for the side bar.
@eaplmx your example is nice but it doesn't cover the "exclude" part.
Also I don't see them as checkboxes but more as a navigation option.
I'll try something later myself when on my PC.
@prologic Checked out zs just now pretty neat!
From the examples I saw it even support some templating for go with amber and gcss, it didn't mention them in the readme though.
I think I'll try it on my next static project.
@movq I don't have an account but I use it a lot to look for related reference when I draw something.
Usually it's much better than google on looking for similar images since I think it's based on human activity for the relationship between the pics.
@eaplmx something like this I guess?
This style would also be good for wrapping on mobile with display: inline-block
or flexbox.
@kt84 I wanna hug them now!!!! πππ
@prologic to out it simply it would reverse a filter, if the filter is "RSS feed" including it would only return RSS while excluding remove them.
From a UX point of view the filters should be "inclusive" by default with the option to reverse them.
@prologic sorry, I was mentioning your pod (twtxt.net) it was for a minute but it was timing out, that's what cloudflare said.
@prologic I guess you can do it?
I think a filter=yes/no/none
should cover the states.
For the UI I can probably help, I think a Chip style design could work... π€
@prologic I see, I can imagine something like a solar battery on a raspberry, I also have one for charging little devices, probably a bit larger than my pocket one.
@prologic Hmm.. π€,
I feel like I wouldn't have a use for it, other than my mentions and filtering bots/RSS I'll only need the usual timeline.
To me those kind of lists feels more like something you'd do as a group to chat together on a specific topic.
What was the idea that started this implementation?
@prologic did something happen to the pod a while ago?
It seems to time out, now it works without issues.
@prologic Repeating here the conv for staying in one flow.
How about a tri-state filter? Selecting the same filter more times loop through this:
- Include filter
- Exclude filter
- Reset/disable filter
It would be much more flexible like this.
@prologic maybe going to a tri-state selection can help a lot.
When you pick a filter it loop through this:
- include filter
- exclude filter
- reset / disable filter
This adds flexibility and compress the filters in one go.
@prologic Is that a joke?
If that's true it's so cool, what's his setup?
@prologic I think it's good like that. π
For the "Lists" does it work by following separately, kinda like a virtual profile, or it's just picking what you want for your current follows?
@eaplmx Of course!
I'm missing your repo thought, have you forked the official? I can't find your version there.
@eaplmx in my case most of my projects can run on my phone and it becomes an early morning coding session before work starts.
@prologic Thanks, hope to get something nice ready soon!
@prologic I'm confused about this feature then? π€
Is this to "hide" feeds you don't want to see or is it to "pick" feeds you want to see?
I'm also missing why there's a "Lists" option in the menu instead of the"Mentions", how does it work?
Since the topic came up again I'll say it here.
I tried getting back at the PWA last week but got frustrated as I struggled with the logic of the framework and UI library and stopped working on it.
The way I build those kind of apps don't seem to blend well with the current project, I still want to build it, but I need to try having my own spin on it.
I apologize to everyone waiting for me until now, I hope you'll like what I'm going to make and still support me on any issues I might stumble upon along the way.
A way to filter out feeds and bots would be great, I check the news here but I often mute them temporarily just to see the human posts without the mess.
@markwylde Seems like a really good lightweight alternative to usual unit test libraries.
I was thinking on having some tests run on a couple of apps I made in JS and it would be a good place to try your tool.
Only two things:
- I haven't noticed the GitHub Pages had a live editor until I saw the code in the repo, you should add a description or an heading to let others know they can play in it.
- I'm confused about the waitFor
, what would be a realistic use case for it?
@abucci you can also simply click "advanced" and choose to ignore manually if you don't remember the keywords.
I'm surprised Firefox doesn't let you even open it at all, has anyone managed to bypass a failed certificate there?
@prologic The worst that happened to me, other than having to remember what they means internally, is like recently when my company worked on a joint project with other two with a newbie manager handling everything, it was hell as nobody knew their specific acronyms and also messed up a couple of tasks altogether because of that.
They should be banned in general, they just hinder productivity and human comprehension.
@eaplmx always dark, everywhere, my eyes can't handle that blinding white light, not only that, I also keep all my screens at almost the lowest brightness level as I can't stand to look at them at all otherwise.
One time I had to check something on a friend's phone and I lowered the brightness temporarily so I could see, when he noticed he quickly put the lights at max and said "It's too dark, you can't see anything!" almost ate him alive... π€¬
@eaplmx no, I use them to remember
to do stuff for the day, sometimes even to remember eating, I'm the type who enter flow state pretty easily when doing relaxed coding or researches.
As of waking up I can actually control at what time I get up just by thinking about it (no clue how my brain works on that) so I don't need to set anything for that.
@prologic what did you put on the camera to take a picture of it looking straight at the lens?
@eaplmx another way could be to password protect the post and have it decrypted on access if privacy is too much of a concern, but I think it's an overkill, in that case having a password protected pod would be a better choice.
@prologic that's right, if would be great for both client and and compiler. I've seen some build script that convert feed to pages. It can works great there too.
@eaplmx quite a Yarnable logo, nice. π
@prologic I think it should be server side, having it handled there greatly help any clients using the API by simply presenting already cleaned data.
Another point that can be included is an pre-compiled markdown content, it would lighten up the burden on the client.
@prologic a place I can see it works could be a private feed, only visible to other via invite or something, it could open the possibility of allowing more "privacy" on the way you publish or if someone wants to share sensible informations only with a select few, maybe using a line by line encryption?
But, personally, I see it as a possible way for bigger companies to get their eyes on yarn/twtxt but not in a good way. π€
@abucci oh, you too?
The other at my place they accidentally chopped off my line and had no internet and landphone for a whole day. π
Now they're still going but they don't do much, except starting to vibrate the ground when I have my work meetings. π
@prologic I think it's just a resell domain page.
Mine is only a plain text file though. π
@eaplmx @will I use some custom aliases to have this workflow:
- nn
: "New Note" create and link a notes.org file in my pwd
from a common git synced repo
- n
: Search recursively a notes.org for pwd
up to ~/
and open it.
For quick tasks I use a todo.txt
and display the tasks for "today" with conky on my screen.
All file are in a single repo I can sync on my phone and use the apps "orgzly" and "todo.txt" to edit them on the go.
As of writing style I write down in org-mode as iterations of the current project with sub tasks tree for what I need to do.
I tend to use the # TODO:
as a "What you where doing yesterday." in my code.
@lyse complicated or not you can rely on classes as a way to semantically group parts, but it's up to you anyway.
As long as you make cool stuff nobody cares how you did it. π
@prologic I could try building it but Android studio is too much to handle for my machine, I'll have to try playing with a nix-shell to have a flutter stack to from the terminal.
@lyse all my project are entirely standalone.
If I want to share parts then those become encapsulated entities to be included is said projects.
The reason to build it scalable with only classes is to have a logic structure that can be read in both HTML and CSS to understand quickly how they work as a block, even though I use lot of classes I often have at most one or two of them per element.
The other reason is that it helps me find the right part to work on on older projects, just yesterday I had to extend a part for a client project and I did it by finding the needed classes like this:
.ProductList > .ProductItem > .ProductItem-price
(The arrows are how I looked for them in HTML)
Then I can append the new element to have a note on the price.
Another thing that helps me is that I have only one level deep selectors with only pseudo selectors and utility classes as exceptions.
@lyse In my case most of what I built is an interactive app or something so it's useful too have a decoupled styling for it, I also heavily really on CSS variables and the like.
@prologic Yarn became so cool that some crap companies started drooling over it. π€
@lyse I absolutely avoid selecting elements for the sake of scalability with only few exceptions, what I prefer is using a convention like suit css or, if I need to, the even better css-modules.
A couple of extra divs is no big deal, you just need to keep everything readable and encapsulated.
@prologic Oh, nice! I'm on 60Mbps on my phone data plan. ππΊπΊπΊπ
@lyse nice pics as always!
@movq here was quite hot too, I had to take off a couple of layers in the evening.
@lyse That's right π, after cleaning then lightly to preserve the taste we freeze some for later so they can be kept for quite some time.
@prologic you don't have coverage in your area?
@prologic please don't hate me, I'm not a bot! I swear! π«£π€
This weekend I got a super fiber connection, now I go at 900Mbps πππ
@akoizumi really nice, I tried ratpoison and herbstluftwm on nice, both worked great on it.
Mine is a Pi 2B.
@lyse especially if you rely on native elements.
I think the main issue is that they call themselves framework so you think they can do everything for you but it's really wrong, CSS is too opinionated when you build complex structure you can't adapt them at all, the only solution is to use utility based classes.
I'll still go for vanilla CSS.
@lyse yes, if one is poisonous better throw everything regardless, luckily they noticed.
Even yesterday my dad got another bag of them. We don't have any more space to store them though.
Yes...
@lyse that's what happen to me too when I use any kind of CSS framework/library, that's why I only use vanilla CSS for everything I work on.
I just came to hate them deeply, Flex and Grids are just there to replace everything for me.
@lyse me and my dad neither... π±
Luckily a friend of his knows a lot and gave him the ok, just to be sure we waited for that dear friend to eat then first. ππ