1736467200 Seninha's Personal Chatting Workflow https://seninha.org/notes/chat.txt Seninha's Personal Chatting Workflow\n 2025-01-10\n\n§ SYNOPSIS\n\n{\n\tnet/bitlbee\n\tnet/bitlbee-mastodon\n\tnet/telethon (not packaged on OpenBSD)\n\tnet/irgramd (not packaged on OpenBSD)\n}\n\n§ DESCRIPTION\n\nI use irc, telegram, mastodon and whatsapp services for instant\nmessaging. All those services (but IRC itself) are proxied to IRC.\n\nI use all those services through the Hexchat IRC client. Using a single\nsoftware for all chatting needs is better than relying on multiple\nprograms, as explained below at «§ RATIONALE». Hexchat's interface (and\nthe interface of most IRC clients in general) is also less harmful than\nalternatives for the other services.\n\nTelegram™ is proxied to IRC by irgramd. Irgramd is a Python3 software\nwhich works as both a IRC server and a telegram client (via the telethon\npython library).\n\n(I use Telegram mostly to talk with friends.)\n\nMastodon/fediverse is proxied to IRC by bitlbee with the bitlbe-mastodon\nplugin. Bitlbee works as a IRC server and supports plugins that act as\nclients for different instant messaging services.\n\n(I use fediverse mostly to talk with friendly strangers.)\n\nBoth proxy servers run on a virtual machine, for safety.\n\nFIGURE: My current instant messaging setup.\n┌──────────────────────────────────────────────────────────────────────┐\n│ ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╷ │\n│ ╵ Seninha's Personal Computer ╷ │\n│ ╵ ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╷ ╷ │\n│ ╵ ╵ Virtual Machine ╷ ╷ │\n│ ╵ ╵ ┌──────────────────────┐ ╷ ╷ │\n│ ╵ ╵ │ irgramd (IRC server) │ ╷ ╷ │\n│ ╶╶╶╶╶╶╶╶╶╶╶╶╷ ╵ ╵ │ ┌──────────────────┐ ├──────────────┐ ╷ │\n│ ╵ Telegram ╷──────►│ │ telethon │ │ ╷ │ ╷ │\n│ ╵╴╴╴╴╴╴╴╴╴╴╴╴ ╵ ╵ │ │ (python library) │ │ ╷ │ ╷ │\n│ ╵ ╵ │ └──────────────────┘ │ ╷ │ ╷ │\n│ ╵ ╵ └───────────┬──────────┘ ╷ ⮟ ╷ │\n│ ╵ ╵ ⮟ ╷ ┌─────────────┐ ╷ │\n│ ╵ ╵ ┌──────────────────────┐ ╷ │ Hexchat │ ╷ │\n│ ╵ ╵ │ httpd (web server) │ ╷ │ IRC client │ ╷ │\n│ ╵ ╵ └──────────────────────┘ ╷ └─────────────┘ ╷ │\n│ ╵ ╵ ┌──────────────────────┐ ╷ ⮝ ⮝ ╷ │\n│ ╵ ╵ │ Bitlbee (IRC server) │ ╷ │ │ ╷ │\n│ ╶╶╶╶╶╶╶╶╶╶╶╶╷ ╵ ╵ │ ┌──────────────────┐ │ ╷ │ │ ╷ │\n│ ╵ Fediverse ╷──────►│ │ bitlbee-mastodon │ │ ╷ │ │ ╷ │\n│ ╵╴╴╴╴╴╴╴╴╴╴╴╴ ╵ ╵ │ │ (bitlbee plugin) │ ├─────────┘ │ ╷ │\n│ ╵ ╵ │ └──────────────────┘ │ ╷ │ ╷ │\n│ ╵ ╵ └──────────────────────┘ ╷ │ ╷ │\n│ ╵ ╵╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴ │ ╷ │\n│ ╵╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴ │\n│ ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╷ │ │\n│ ╵ IRC networks ╷───────────────────────────────────────────────┘ │\n│ ╵╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴ │\n└──────────────────────────────────────────────────────────────────────┘\n\nIrgramd is unstable and under active development, but is usable to my\nneeds. Configuring it requires getting a Telegram API id and hash pair.\n\nI use my own fork of irgramd (soon to be released) with the following\ndifferences:\n• Automatically display message backlog when joining channels\n (configurable, disabled by default).\n• Automatic mark messages as read.\n• Option for disabling displaying message reactions on IRC.\n• Asynchronous file uploading and history load on a background task, so\n server do not get unresponsive while doing time-consuming operations.\n• Chat operations done at TelegramServ can now be done directly on channel.\n• Use only letters and digits for message IDs.\n• Also mark mentions as read when marking messages as read.\n• Fix several uncatched exceptions.\n\nFor the telegram proxy, i also set up a web server to access cached\nmedia (sent by Telegram users) from outside the virtual machine. And i\nalso set a cronjob to remove old cached media (otherwise my VM's disk\nget full). Both of those are optional, but useful.\n\nCODE: cleaner cronjob {\n\t@hourly -ns /usr/bin/find /var/www/htdocs/tg -mtime +1 -delete\n}\n\n\n§ RATIONALE\n\nUsing a different program for each service imposes the common annoyances\nof interacting with various softwares for the same thing: write different\nconfigurations and swap interaction between incompatible interfaces.\nAlso (for the nature of instant messaging) that disperses attention\nthrough different sources of information, by having several places to\nlook at for messages.\n\nAlso, the interface of most of those programs induces addiction by\nimposing constant interaction (mostly scrolling). The following design\npatterns are harmful:\n• Large message “bubbles”: makes less information visible at once.\n• Automatic media playing: increases interaction time (watch/scroll).\n• Infinite scroll: induces doomscroll and wasted time.\n\nFIGURE: Imagine scrolling half a screenful to skip a low-effort shitpost…\n┌──────────────────────────────────────────────────────────────────────┐\n│ ╭────────────────────────────────────────╮ │\n│ │ Bob said: │ │\n│ │ Does that game run on Linux? │ │\n│ ╰────────────────────────────────────────╯ │\n│ ╭────────────────────────────────────────╮ │\n│ │ Alice said: │ │\n│ │ DO NOT INVOKE HIM! │ │\n│ ╰────────────────────────────────────────╯ │\n│ ╭──────────────────────────────────────────╮ │\n│ │ I'd just like to interject for a moment. │ │\n│ │ What you're referring to as Linux, is in │ │\n│ │ fact, GNU/Linux, or as I've recently │ │\n│ │ taken to calling it, GNU plus Linux. │ │\n│ │ │ │\n│ │ Linux is not an operating system unto │ │\n│ │ itself, but rather another free │ │\n│ │ component of a fully functioning GNU │ │\n│ │ system made useful by the GNU corelibs, │ │\n│ │ shell utilities and vital system │ │\n│ │ components comprising a full OS as │ │\n│ │ defined by POSIX. │ │\n│ ╰──────────────────────────────────────────╯ │\n│ ╭────────────────────────────────────────╮ │\n│ │ Alice said: │ │\n│ │ SEE WHAT YOU DID?? │ │\n│ ╰────────────────────────────────────────╯ │\n│ ╭──────────────────────────────────────────╮ │\n│ │ @@@@@@ @ │ │\n│ │ @@@@ @@ │ │\n│ │ @@@@ = = @@ │ │\n│ │ @@@ @ _ _ @@ │ │\n│ │ @@@ @(0)|(0) @@ │ │\n│ │ @@@@ ~ | ~ @@ │ │\n│ │ @@@ @ (o1o) @@ │ │\n│ │ @@@ ####### @ │ │\n│ │ @@@ ##{+++}## @@ │ │\n│ │ @@@@@ ## ##### ## @@@@ │ │\n│ │ @@@@@#############@@@@ │ │\n│ │ @@@@@@@###########@@@@@@ │ │\n│ │ @@@@@@@#############@@@@@ │ │\n│ │ @@@@@@@### ## ### ###@@@@ │ │\n│ │ @ @ @ @ @ │ │\n│ │ @ @ │ │\n│ ╰──────────────────────────────────────────╯ │\n│ ╭────────────────────────────────────────╮ │\n│ │ Bob said: │ │\n│ │ What? │ │\n│ ╰────────────────────────────────────────╯ │\n│ ╭────────────────────────────────────────╮ │\n│ │ * seninha was banned * │ │\n│ ╰────────────────────────────────────────╯ │\n└──────────────────────────────────────────────────────────────────────┘\n\nI fixed those issues by using a single unified instant messaging\nsoftware which speaks several protocols and connects to different\nservices, and whose interface has larger information density (ie'\nmore text visible at once) with limited backlog (ie' finite scroll).\n\nFIGURE: I have this instead:\n┌──────────────────────────────────────────────────────────────────────┐\n│ Bob: Does that game work on Linux? │\n│ Alice: DO NOT INVOKE HIM! │\n│ Seninha: I'd just like to interject for a moment. What you're │\n│ referring to as Linux, is in fact, GNU/Linux, or as I've │\n│ recently taken to calling it, GNU plus Linux. │\n│ Seninha: Linux is not an operating system unto itself, but rather │\n│ another free component of a fully functioning GNU system │\n│ made useful by the GNU corelibs, shell utilities and vital │\n│ system components comprising a full OS as defined by POSIX.│\n│ Alice: SEE WHAT YOU DID?? │\n│ Seninha: │\n│ Bob: What? │\n│ * seninha was banned * │\n└──────────────────────────────────────────────────────────────────────┘\n\n\n\n§ HISTORY\n\nPreviously, i used four different softwares which, when combined,\nprovides access to telegram from irc:\n• bitlbee, a irc proxy, compiled with libpurple support;\n• libpurple, a backend for instant message plugins;\n• tdlib, the official Telegram library;\n• tdlib-purple, a libpurple plugin for telegram using tdlib.\n\nI was unsatisfied with that setup for the following issues:\n• I could not upload/download media to/from telegram on bitlbee through\n my IRC client; but i could do that straight at pidgin. This may have\n been a misconfiguration or lack of support on either bitlbee or my irc\n client.\n• TDlib took more than 3 hours to compile on my machine.\n• TDlib-Purple was not maintained and will stop working as soon as\n Telegram decides to change its API or deprecate TDlib (as they have\n already done with libtgl).\n\n\n§ TODO\n\nCurrently, Whatsapp™ is the only service i use which is not proxied to\nirc. In the future, i may addopt a whatsapp-irc gateway. That is not\nurgent, however. I only use Whatsapp™ rarelly, to talk with boomer\nrelatives.\n\nIn the future, i want to replace hexchat with a unified text user\ninterface, similar to that of the Oberon System or the Acme editor.\nSo text operations (editing, selection, search, plumbing, etc) are\ncommon between all text-based software.\n\n\n§ BUGS\n\nHexchat is not maintained anymore.\n\nI do not use a bouncer. That is currently not an issue. I cope with\nthat as it would get me a fear of missing out older messages; and make\nme read backlogs every day.\n plain seninha 1766016000 PEÇAS USADAS DE COMPUTADORES VELHOS https://seninha.org/notes/ferrovelho.txt PEÇAS USADAS DE COMPUTADORES VELHOS\n 2025-12-18\n\nEu postei recentemente no fediverso[1] meu interesse de trocar peças dos\nmeus notebooks (thinkads) antigos por novas peças usadas. Aqui listarei\no que eu tenho e o que eu preciso. Se você quer comprar uma peça minha,\nvender/dar uma peça tua, ou trocá-las, entre em contato comigo.\n\nVou atualizar este documento sempre que tiver algo que não queira mais.\n\n[1]: https://bsd.network/@seninha/115726021912267152\n\n\n§ VENDO/TROCO\n\n• Memórias DDR3 de 2 e 4 GiB.\n• Placa wireless Atheros AR5B225 (IEEE 802.11 b/g/n + IEEE 802.15 BlueTooth).\n• Thinkpad T61 com tela quebrada e sem bateria, mas funcional conectado\n a monitor e carregador. Ou qualquer peça dele.\n• Peças de T430, incluindo:\n\t• Heatsink+fan.\n\t• Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz\n\t• Teclado\n\t• Case\n\t• Tela\n\t• Placa wireless Intel Centrino Advanced-N 6205\n• O ThinkPad T430 que eu uso desde 2018. Bem cuidado (estou digitando\n nele agora mesmo). Quero me desfazer do meu PC velho de guerra. Eu\n fiz as seguintes alterações nele:\n\t• Com CoreBoot.\n\t• Com teclado clássico (7-rows) de T420 adaptado pra T430.\n\t (Teclado layout japonês, com teclas extras pro polegar).\n\n§ COMPRO/ACEITO\n\n• Intel® Core™ i7–3632QM\n• Heatsink+Fan pra T430 com GPU dedicada.\n• Memórias DDR3 de 8 ou 16 GiB.\n plain seninha