Mon 26 December 2022
I recently got myself a Dell XPS 15 9520 to replace my aging laptop. It's
highly Linux-compatible and just following the official installation
guide got me 90% of the
way of having a well-behaved Arch Linux laptop. One big thing wasn't working,
though: 3D graphics!
Symptoms: glitchy 2D graphics and …
Read more...
Sun 20 November 2022
About a month ago I signed myself up to do a talk at a Python meetup hosted by
HiQ. I brazenly set my topic as Under the Hood of CPython,
thinking I had sufficient understanding of its inner workings to produce a
riveting talk. As I started preparing the talk …
Read more...
Sat 19 November 2022
At one point or another, every Python developer or hobbyist encounters the word
CPython. For example, the dis
module states that it exposes an
"implementation detail of the CPython interpreter". What does that mean?
Some ask themselves how CPython differs from Python, and then
they move on with their lives …
Read more...
Sun 06 November 2022
The modern day ternary operator is well-known to most Pythonistas:
<expr_if_true> if <condition> else <expr_if_false>
It's officially known as a conditional expression and was introduced
back in Python 2.5 with PEP
308. Some like it, some
don't, and while discussing it with a colleague of mine he mentioned that …
Read more...
Sat 29 October 2022
I don't write this blog in hopes that it will get a lot of traction. I don't
market it, I don't try to optimize it for SEO and I I don't even tell my
friends and coworkers about it. Although I would of course be delighted to hear
someone who …
Read more...