Maintainer of #chardet, a widely used #Python character encoding detector library, replaces entire existing codebase with #AI-generated code, and changes the license in the process. The original author isn't pleased:
https://github.com/chardet/chardet/issues/327
Turns out I do like pre-commit checks when I use prek https://prek.j178.dev/ #python
If you are a tox user, do you use {/} when specifying paths in your tox.ini or pyproject.toml or tox.toml?
It's the portable path separator, and it really only matters to Windows users as the path separator is / on practically all other platforms.
Boosts for reach appreciated!
Reference: https://tox.wiki/en/stable/reference/config.html#other-substitutions
Обзор книг для анализа данных
Я аналитик данных и люблю бумажный формат книг (если есть сомнения, сначала пробую электронную версию, но если книга заходит всегда потом беру бумажную). В этой статье честный обзор, без рекламы, тех книг, которые я купила не так давно в бумажном формате.
https://habr.com/ru/articles/1007024/
#анализ_данных #алгоритмы #python #книги_для_аналитика #data_science #data_analysis #обзор_книг #грокаем #грокаем_алгоритмы #аналитика
I got too excited about "set-and-forget" relative dependency cooldowns coming to #pip that I hacked them together using cron and a script that calculates uploaded-prior-to in pip.conf 👀
https://sethmlarson.dev/pip-relative-dependency-cooling-with-crontab
#python #pypi #dependencycooldowns #security
📢 Clustertreffen CC Authority Files and Community-driven Vocabularies
🎯 Thema: „#Bauwerke in der #GND“
📅 11.3.2026 | 13 Uhr
Im Projekt #GND4C wurden teilautomatische Workflows zur Batch-Einspielung in die GND entwickelt.
🔍 Michael Marchert (#ThULB) berichtet, wie Thüringer Kirchenbauten mithilfe von #Python & #OpenRefine für die GND vorbereitet wurden, inkl. Lessons Learned & Herausforderungen.
💻 Zoom (ohne Anmeldung):
https://dainst-org.zoom.us/j/94473310505?pwd=oHIK7sizOhDH8abpHRuwP6kVaV0qlU.1

🐍 Um dos posts mais lidos do blog continua fazendo sucesso — e faz sentido, porque esse problema acontece em todo projeto Python que escala.
Você já otimizou o lugar errado porque "achava" que era ali? Intuição é um método caro. Profiling é o antídoto.
No post eu cubro a abordagem que funciona na prática:
🔍 cProfile — identifica onde o tempo está sendo gasto, linha a linha de chamada de função. Está na stdlib, não precisa instalar nada, e é suficiente pra 90% dos casos.
📊 pstats — filtra e interpreta os resultados. Ideal pra integrar em scripts de CI e comparar versões.
💾 memory_profiler — quando o problema não é tempo, é RAM. Mostra incremento de memória linha a linha. Aquele f.readlines() inocente que aloca 264 MB? Ele aparece.
A metodologia é simples: reproduza o problema de forma isolada → meça → encontre o culpado nos dados → corrija → meça de novo.
Sem dados, você otimiza o que parece lento. Com profiling, você sabe.
👉 https://www.riverfount.dev.br/posts/profiling-em-python/
#Python #SoftwareEngineering #Performance #Profiling #BackendDev
プログラミング力を上げるオススメの勉強法
#Java #JavaSpringBoot #JavaScript #Python #TECHWORLD #vlog #webエンジニア #エンジニア #エンジニアチャンネル #キノコード #システムエンジニア #しまぶーのIT大学 #セイト先生のWeb・IT塾 #フリーランスエンジニア #プログラミング #プログラミング初学者 #プログラミング学習 #メガベンチャー #大学生VLOG #大学生エンジニア #プログラミング...

Python Tip: Generator Expressions
# Memory-efficient: processes one item at a time
total = sum(x**2 for x in range(1_000_000))
# vs list comprehension that creates full list in memory
Generator expressions use constant memory regardless of input size. Essential for large data...
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
Python Tip: Unpacking with *
first, *middle, last = [1, 2, 3, 4, 5]
# first=1, middle=[2,3,4], last=5
Star unpacking captures multiple values into a list. Works with any iterable.
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
@Radio_Azureus I've been a regular user of #pandoc for years. I'm a heavy user of all things open source but #pandoc is probably in the Top 10. Combined with #python, #jinja, some custom #css and of course #weasyprint I have an extreamly versatile publishing workflow.
If anybody wants to be my direct colleague: we have an open vacancy for a full-stack research software engineer in our "Team Text" at the KNAW Humanities Cluster (Amsterdam): https://vacatures.knaw.nl/job/Amsterdam-Full-Stack-Research-Software-Engineer-HuC-Humanities-Cluster/1344086855/
Great for people who have an affinity with text, language, annotations, science, the humanities and open-source technology! Aside from front-end-skills, #python and #rust skills are much appreciated, as are generic linux and devops skills.
#rse #researchsoftware #nlproc #knaw #fedihire