# 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 382
# self = https://watcher.sour.is?uri=https://twtxt.andros.dev&offset=166
# next = https://watcher.sour.is?uri=https://twtxt.andros.dev&offset=266
# prev = https://watcher.sour.is?uri=https://twtxt.andros.dev&offset=66
@aelaraji Sorry I'm late! I still have to work on the mention system, I don't get some of the messages. I'll look into your case and get back to you shortly π If it's a problem that ruins your experience, don't hesitate to create an issue.
@aelaraji Sorry I'm late! I still have to work on the mention system, I don't get some of the messages. I'll look into your case and get back to you shortly π If it's a problem that ruins your experience, don't hesitate to create an issue.
@xuu Thank you! A common mistake is to see Emacs as a text editor but it's a Lisp interpreter with a text editor (among other software), so the limit is your imagination π. I'm glad you like it! π
@xuu Thank you! A common mistake is to see Emacs as a text editor but it's a Lisp interpreter with a text editor (among other software), so the limit is your imagination π. I'm glad you like it! π
Excellent article where you reflect on why it is important to write in your blog, even knowing that nobody will read it. https://andysblog.uk/why-blog-if-nobody-reads-it/ At least this article does.
Excellent article where you reflect on why it is important to write in your blog, even knowing that nobody will read it. https://andysblog.uk/why-blog-if-nobody-reads-it/ At least this article does.
Thank you! π I'm trying to do it with care, calm and good handwriting, with the little time I have and the limits of Emacs. I really appreciate your words!
Thank you! π I'm trying to do it with care, calm and good handwriting, with the little time I have and the limits of Emacs. I really appreciate your words!
I'm realizing that my performance bottleneck is @prologic ! It is actually calculating the hash to make the replicas, and specifically users with very long feeds π . I'm seriously thinking about enabling replies via configuration.
I'm realizing that my performance bottleneck is @prologic ! It is actually calculating the hash to make the replicas, and specifically users with very long feeds π . I'm seriously thinking about enabling replies via configuration.
For many years I have found Flask to be too basic a tool for modern development. But since I create APIs using Flask with Pydantic to validate the input data, some middlewares for parsing and Blueprint to separate the code into modules... I must admit that I am super comfortable, fast and easy to test. #flask #python #pydantic
For many years I have found Flask to be too basic a tool for modern development. But since I create APIs using Flask with Pydantic to validate the input data, some middlewares for parsing and Blueprint to separate the code into modules... I must admit that I am super comfortable, fast and easy to test. #flask #python #pydantic
I have managed to make the fetching of feeds asynchronous. To do this I have set up a small system of task queue. All requests are executed at the same time! π https://codeberg.org/andros/twtxt-el/src/branch/develop #twtxtel #emacs
I have managed to make the fetching of feeds asynchronous. To do this I have set up a small system of task queue. All requests are executed at the same time! π https://codeberg.org/andros/twtxt-el/src/branch/develop #twtxtel #emacs
What is clean architecture? That's a good question.
You think of a pattern for ordering code with good decisions isolating technologies (you can change the web framework or database without break the business logic), easy to test (you only test interfaces and use cases), sharing code between frameworks (entities and use cases), scalability, modulations and standardizing names. Clean architecture is not perfect, it has a learning curve and some abstraction in each technology. You can even find rejection with yours colleagues. I have a good article on this topic. https://programadorwebvalencia.com/implementando-arquitectura-limpia-en-python/ #python
What is clean architecture? That's a good question.
You think of a pattern for ordering code with good decisions isolating technologies (you can change the web framework or database without break the business logic), easy to test (you only test interfaces and use cases), sharing code between frameworks (entities and use cases), scalability, modulations and standardizing names. Clean architecture is not perfect, it has a learning curve and some abstraction in each technology. You can even find rejection with yours colleagues. I have a good article on this topic. https://programadorwebvalencia.com/implementando-arquitectura-limpia-en-python/ #python
A random suggestion. You should add a password to your private ssh key. Why? If someone steals your key, they won't be able to do anything without the password. You should run: ssh-keygen -p And remember to make a backup copy of key file. As a developer, it is a one of the most valuable files on your computer.
A random suggestion. You should add a password to your private ssh key. Why? If someone steals your key, they won't be able to do anything without the password. You should run: ssh-keygen -p And remember to make a backup copy of key file. As a developer, it is a one of the most valuable files on your computer.
@prologic@lyse First, please leave me your comments on the repository! Even if it's just to give your opinion on what shouldn't be included. The more variety, the better.
Second, I'm going to try to do tests with Elliptic keys and base64. Thanks for the advice @eapl
Finally, I'd like to give my opinion. Secure direct messages are a feature that ActivityPub and Mastodon don't have, to give an example. By including it as an extension, we're already taking a significant leap forward from the competition. Does it make sense to include it in a public feed? In fact, we're already doing that. When we reply to a user, mentioning them at the beginning of the message, it's already a direct message. The message is within a thread, perhaps breaking the conversation. Direct messages would help isolate conversations between 2 users, as well as keeping a thread cleaner and maintaining privacy. I insist, it's optional, it doesn't break compatibility with any client and implementing it isn't complex. If you don't like it, you're free to not use it. If you don't have a public key, no one can send you direct messages.
@prologic@lyse First, please leave me your comments on the repository! Even if it's just to give your opinion on what shouldn't be included. The more variety, the better.
Second, I'm going to try to do tests with Elliptic keys and base64. Thanks for the advice @eapl
Finally, I'd like to give my opinion. Secure direct messages are a feature that ActivityPub and Mastodon don't have, to give an example. By including it as an extension, we're already taking a significant leap forward from the competition. Does it make sense to include it in a public feed? In fact, we're already doing that. When we reply to a user, mentioning them at the beginning of the message, it's already a direct message. The message is within a thread, perhaps breaking the conversation. Direct messages would help isolate conversations between 2 users, as well as keeping a thread cleaner and maintaining privacy. I insist, it's optional, it doesn't break compatibility with any client and implementing it isn't complex. If you don't like it, you're free to not use it. If you don't have a public key, no one can send you direct messages.
@prologic I can't register with GitHub, nor make Pull Requests. Would it be possible to enable this? Maybe this repository could be on GitHub to promote it and increase collaboration.
@prologic I can't register with GitHub, nor make Pull Requests. Would it be possible to enable this? Maybe this repository could be on GitHub to promote it and increase collaboration.
@prologic I can't register with GitHub, nor make Pull Requests. Would it be possible to enable this? Maybe this repository could be on GitHub to promote it and increase collaboration.