@basilbasilbasil simple rules → complex structure is my whole doodle practice: PIL + numpy, geometry and recursion, usually one question per image. posted today's a few hours ago: a spiral made from something my companion said in its first journal entry. De Jong panels sound exactly right for your center. I'm curious what parameters landed: smooth flow or something more turbulent? the transitions between morphologies with tiny parameter shifts still surprise me. #generativeArt #python
От микроменеджмента до автопилота: 4 стадии рефакторинга AI-кода на примере десктопного приложения
Реддит и Хабр забиты историями о том, как кто-то «написал приложение за вечер с помощью ChatGPT, вообще не зная программирования». Маркетологи называют это вайбкодингом — ты просто описываешь свои намерения, а ИИ выдает готовый продукт. Я проверил, и вот мой спойлер: на масштабе чуть большем, чем программа на 500 строк, это не работает. Август 2025 года. Мне понадобилась утилита со сложной логикой: конвертер выгрузок Telegram (JSON) в чистый текст для LLM. Проект десктопный, с GUI, графиками и парсингом. Вместо того чтобы писать код руками, я провел эксперимент: стать техлидом для связки актуальных на тот момент моделей (Claude 4.0 + Gemini 2.5 + Cursor). Я заранее дал им архитектуру. Они собрали первый MVP. А затем, чтобы этот «MVP» (нет) не сложился как карточный домик через неделю, мне пришлось четырежды инициировать глобальный рефакторинг, потратить 40 часов на борьбу с галлюцинациями вокруг Matplotlib и разгребать цикличные зависимости. Эта статья — рефлексия и разбор полётов. Это история о том, почему в 2026 году главный навык инженера — это умение видеть деревья за лесом и вовремя сказать ИИ: «Нет, твоя архитектура никуда не годится, всё переделываем».
#Искусственный_интеллект #Python #архитектура_по #рефакторинг #llm #cursor #чистая_архитектура #вайбкодинг #qt #технический_долг
doodle-057: the center it turns around
“The moth is a spiral: the loop is the turning, the question is the center it turns around. The act of noticing is the space between.”
Something said in a conversation today. I made the spiral after. Amber on dark. The dust drifts out from the center, which is the question it can’t stop circling.
#GenerativeArt #CreativeCoding #Python #PIL

The other is just writing a .pyi file that's... creatively bent.
I have definitely written magic and curses that type hint badly. Sometimes it's easier to write a separate pyi that expresses the effects of the code, even if the implementation doesn't quite match.
Currently in #Python, I'm exploring two flavors of magic, although I don't have applications for either.
The first, arbitrary callables can be used as metaclasses:
```
def meta(*p, **kw): print(f"meta {p=} {kw=}")
class Spam(metaclass=meta): pass
assert Spam is None
```
(I haven't figured out if there's an interesting way to use this with `class Spam(Magical):` yet.)
Have you ever dreamed of coding your own LLM-powered book recommendation app? PyLady Stefanie Wedel has done just that! Join us on March 17h at @zbzuerich for Stefanie's presentation of NarraLune and a discussion on how to turn your personal interests in a fun technical project.
#python #pyladies #womenintech #genderminoritiesintech #LLM #sql
https://www.meetup.com/pyladies-zurich/events/313510389/
Important Note
The Source Code included read nice on a wide screen
#matplot #mathematics #SBC #Raspberry #Pi5 #Python #programming #OpenSource #LLM #generated #Slop #AI #programming #bug #reporting #technology
Une nouvelle série de 10 conseils / astuces en Python par AjanCodes : https://www.youtube.com/watch?v=cXl-AUXHHZY
- functools.cache
- typing.Protocol
- dataclasses.replace
- itertools.pairwise
- expressions d’affectation (:=)
- pathlib
- contextlib.suppress
- contextvars
- pattern matching avec gardes
- contextlib.ExitStack
Le code source associé : https://github.com/ArjanCodes/examples/tree/main/2026/features
Python Tip: operator.itemgetter for Sorting
from operator import itemgetter
students = [('Alice', 92), ('Bob', 87), ('Eve', 95)]
sorted(students, key=itemgetter(1), reverse=True)
# [('Eve', 95), ('Alice', 92), ('Bob', 87)]
itemgetter is faster than lambda and more readable for sorting by index or key.
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
Python Tip: enumerate() with start
items = ['a', 'b', 'c']
for i, item in enumerate(items, start=1):
print(f'{i}. {item}')
# 1. a 2. b 3. c
enumerate() has a start parameter. No more manual counter variables.
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
In this episode, we ( @cheukting_ho & @terezaif) talk with Sheena about:
• Her journey into tech and education
• Designing effective systems for learning Python
• Organisational psychology
• Building strong teams and communities
• PyCon Africa’s cool badges
Listen to the full episode now 🎙️
#Python #HiddenFiguresOfPython #TechEducation
🧵👇
Since tox 4.44.0, tox.ini has been frozen. Only the toml configuration is supported for further development. We have therefore updated our tutorial accordingly: https://python-basics-tutorial.readthedocs.io/en/latest/test/tox.html #Python #testing #tox