Do we have a GUI dor systemd-cryptenroll allowing people to change enrolled passphrases to unlock their LUKS partition ?
Better yeu something which is capable of enrolling the tpm2 module and a fido2 key.
#linux #systemd #systemd-cryptenroll #python #gtk #yubikey #fido2 #tpm2 #security #debian
Generating truth tables in #python #Y0
from sympy.logic.boolalg import truth_table
from sympy.abc import x, y, z
table = truth_table((x ^ y) ^ z, [x, y, z])
for t in table:
print('{0} -> {1}'.format(*t))

Python Tip #81 (of 365):
Normalize cases with the string casefold method.
When normalizing the cases of strings for the sake of a comparison, consider using casefold instead of lower or upper.
Instead of this:
matches = (value.lower() == target.lower())
Consider this:
matches = (value.casefold() == target.casefold())
The casefold method lowercases, but it handles SLIGHTLY more cases than the lower method.
But honestly, that's not the reason I'd use it.
🧵 (1/2)
🚀 Mein erstes Paket ist live! 🛰️
Ich habe gerade toybox-calc veröffentlicht – ein kleines CLI-Tool für Funkamateure, um die optimale Länge des Strahlers für die Comet HFJ-350M (Toy Box) Antenne zu berechnen.
Jetzt verfügbar auf:
📦 PyPI: pip install toybox-calc
🏔️ AUR (Arch Linux): pikaur -S python-toybox-calc
Inklusive i18n Support (DE/EN/JA) und ANSI-Farben fürs Terminal. Vy 73 de DO3EET! 📻
#HamRadio #Amateurfunk #Python #ArchLinux #AUR #PyPI #OpenSource #HFJ350M #ToyBox #POTA #SOTA #Linux

https://winbuzzer.com/2026/03/22/openai-acquires-astral-python-tools-codex-xcxwbn/
OpenAI Acquires Python Toolmaker Astral to Boost Codex AI Agent
#AI #OpenAI #Python #MergersAndAcquisitions #ClaudeCode #OpenSource #AICoding #DeveloperTools #CodingTools #Coding #Astral #Codex

The Slow Collapse of MkDocs https://lobste.rs/s/qhtpe5 #python
https://fpgmaas.com/blog/collapse-of-mkdocs/
A #Python #Pandas column contains comma-separated values. How can you get the first of those?
First, break each string into a list:
df['x'].str.split(',')
Then use .str[0] to grab the first element from the resulting list:
df['x'].str.split(',').str[0]

Как я взвесил черную дыру и отменил Темную материю с помощью Python (Анализ данных LIGO и SPARC)
Привет, Хабр! Меня зовут Павел, я независимый исследователь. Последние пару недель я находился в состоянии непрерывного потока, в результате которого с нуля написал 100-страничную монографию, вывел математический аппарат и написал Python-скрипты, доказывающие одну безумную, на первый взгляд, гипотезу. Весь этот путь от чистого листа до готовой публикации с DOI занял у меня ровно 15 дней. Суть гипотезы — Теории Вибрационно-Энергетического Резонансного Континуума (ТВЭРК) — состоит в том, чтобы отказаться от эйнштейновской абстрактной «искривленной пустоты» и описать Вселенную методами строгой механики сплошных сред и нелинейной гидродинамики. Звучит амбициозно и попахивает «теорией всего», я знаю. Но любая теория — это просто слова, пока она не подтверждена цифрами. Поэтому я отложил философию, взял Python и пошел проверять свою математику на реальных, сырых данных из открытых астрофизических баз. В этой статье я покажу, как мне удалось смоделировать кинематику 175 галактик одним набором параметров (без Темной материи) и «услышать» резонансный гул черной дыры Cygnus X-1 в данных интерферометров LIGO. Смотреть расчеты и Python-код
https://habr.com/ru/articles/1013386/
#астрофизика #черные_дыры #темная_материя #python #анализ_данных #LIGO #гравитационные_волны #SPARC #ТВЭРК #дифференциальная_эволюция
Generate Hypnotic Spiral
Iterative logic generates art nested loops create structured patterns through systematic repetition Modify and share
#python #pythontricks #codingtips #programmingtutorial #hypnoticspiral #spiralart #opticalpattern #pythonvisual #viralpython #pythonshorts #spiralpattern
https://www.youtube.com/watch?v=r2jAOf34vNM
More success porting Lilypond/Frescobaldi capabilities over to Neovim: I can now easily do musical transformations on Lilypond notation!
I can transpose passages, double/halve the durations, dot/undot everything, apply a completely new rhythmic pattern, or remove repeated duration indicators or make them explicit again.
This uses the remote plugin feature on Neovim: https://github.com/reillypascal/nvim/tree/main/rplugin/python3
#Neovim #Nvim #Lilypond #Frescobaldi #Python #Composition #ClassicalMusic
AIエージェントがコマンドラインでブラウザを自動操作できる「Browser Use CLI 2.0」リリース。Chrome DevToolsへの接続などで操作速度が2倍に
https://www.publickey1.jp/blog/26/aibrowser_use_cli_20chrome_devtools2.html
#publickey1 #Web技術 #プログラミング言語 #機械学習_AI #開発ツール #Python #Webブラウザ
Python
Python is one of my favorite programming languages due to its terseness and amazing flexibility, and after decades using it I find it quite amusing that it is now the language of c(...)
#data #development #programming #python #science #scripting
https://taoofmac.com/space/dev/python?utm_content=atom&utm_source=mastodon&utm_medium=social
