Content warning:Spoilers Advent of code day 5
🎄 Advent of code day 5 🎄
It aint pretty but it works. Todays solution to the second part looks incredibly convoluted but somehow it does its job.
Enjoyed this one a lot tbh.
https://github.com/Hannes-Schniz/AdventOfCode/blob/main/python/2025/2025-12-05_script.py

PEP 815: Deprecate ``RECORD.jws`` and ``RECORD.p7s``
Why Does My Code Crash ONLY at 2AM
A Python developer discovers their script only crashes at 2 AM, leading to an absurd conversation with Terminal about mysterious bugs.
#python #coding #bugs #developer #programming #terminal #error #night #crash
https://www.youtube.com/watch?v=Bq1FQbApF14
I've written a lot of #python in my time but this behavior was genuinely surprising / cost me a lot of time on today's #adventofcode:
>>> l = [range(1, 1), range(2, 2), range(3, 3), range(4, 4)]
>>> len(l)
4
>>> len(set(l))
1
>>> set(l)
{range(1, 1)}
It seems I'm among the people affected by a @coveragepy performance regression in 3.14: https://github.com/coveragepy/coveragepy/issues/2082
Hmmm rather than using debian:trixie-slim or python:3.13-trixie docker images and installing node am I better off using a default node-based container and using https://github.com/astral-sh/setup-uv ?
I'm shifting ci to use uv as much as possible anyway, it's less CI overall than multiple parallel runs with different python versions via actions/setup-python
#CI #forgejo #forgejoActions #codeberg #python
Dear #Python Developer,
The single sentence, "The interface is like #JavaScript WebSocket object," does not constitute acceptable documentation in the context of a Python project.
Yours,
Annoyed.
#Python Friday #308: Overwrite | to Simulate UNIX Pipes
https://pythonfriday.dev/2025/12/308-overwrite-or-to-simulate-unix-pipes/
V - S1 EP10 T1 - Machine Learning in Python - Installing sklearn in VSCode - Virtual Environment#codingforbeginners #machinelearning #machinelearningbasics #vscode #python #pythoncoding #softwaredeveloper #machinelearningmodels #datascienceforbeginners #mlforbeginners #algorithims #datascience #dataengineering #aiexplained #jupyterlabs #machinelearningtutorial #learnpython #PythonForDataScience #jupyternotebook #statistics