Channel created
latest_python3.py
11.6 KB
The script to check/download the latest version of Python 3, either source or binary depending on current OS.

github.com/.../latest_python3.py

On Linux, it can also build and install python to $HOME/.local.
On Windows, it can install to the default per-user location (%LOCALAPPDATA%\Programs for python 3.11, see docs.python.org)

pip install lxml packaging before executing :)
Not much here for now. Older posts are all in Russian in @logicdaemon_pubru
With sorrow, I've found out that KC Softwares is shutting down :-( SUMo and DUMo are no longer working, and they will never work again.

There are no replacements for them yet. I’ve temporarily started using https://github.com/NexovaDev/UpdateHub, but it only recognizes a couple of dozen programs out of several hundred I have installed/unpacked in my system :-(
Just wrote a simple IMAP4 backup script, which is mostly a boilerplate of a CLI with a config file, which shows expected locations of the config when invoked with --help.

To use with gmail, create app password first in https://myaccount.google.com/apppasswords
commit_message.py
20.4 KB
Here on Friday and this morning, I whipped up a commit message generator based on git diff, using gpt4all (tested with mistral-7b-openorca.gguf2.Q4_0.gguf but it might work with other models too).
"Notification Light - aodNotify"
https://play.google.com/store/apps/details?id=com.jamworks.aod.notificationlightled

I've got Pro. Each time I unlock my device now after a delay, I have a popup at bottom saying that I've already purchased something. That sounds extremely sus. * No dark theme in the app settings; even though I rarely open them, it shouldn't be hard to to, and considering the app was made with OLED in mind, completely black background would help too. * When it asks for feedback, if I leave 3 stars in the app, it does not proceed to Google play, so consider reviews here scewed.
Found out about Firefox's about:config option signon.includeOtherSubdomainsInLookup. What a bliss!
There's this thing—a passphrase generator written in JavaScript—that I've been using for ages: https://www.fourmilab.ch/javascrypt/pass_phrase.html.

In addition to generating passphrases, it can also be really handy to generate email addresses for my domain.

I got tired of opening a new browser tab and manually copy-pasting from there, so I put together a couple of scripts (inspired by that very JavaScrypt generator and its wordlist):

email.ahk — uses the clipboard as a suffix and types the generated email address directly on the keyboard. It's meant to be assigned to a hotkey.

pass_phrase.ahk — a GUI-based script that generates an email address and a set of words in a text field, ready to be copied.

Both scripts read the file %LocalAppData%\_sec\EmailSuffix.txt and append the first line of that file to the generated email address.

You'll also need wordstab.txt from the same repository for the scripts to work.
Agent mode in Copilot — 💪

This morning, I whipped up a script with it that reposts news from the Magti website to Telegram: https://t.me/magticomnews_wonderdays

99% of the code was written by Copilot itself. And then it fixed the errors (after being asked to).

https://github.com/LogicDaemon/tgbot/