Portfolio

ChatGPT for quick prototyping
Textual tutorial: write a TODO app
VS Code shortcuts for efficient Python programmers
Published TIL #56 – Invisible variables in Python
Converting 5,000 RAW images into JPEG
Wrote TIL article #55.
I just wrote a short TIL on how I do code syntax highlighting in PowerPoint for my programming talks. At first, I did it by hand... And it was painful! Then, I discovered that if you copy code from...
I published a new problem on my blog: I have 100 light bulbs, each with its independent switch. All switches are in a room, all light bulbs in another room. How can I find out which switch is assoc...
I went back to my blog article that challenged you to find the centre of a circle in just 5 lines and I edited it to add my proposed solution. You can find the challenge here and an animated soluti...
Wordle is the game of the moment and APL is a programming language from the 60s that is array-oriented. This makes it a great language to try and solve Wordle in! In the article I just published, I...
Gave my talk "Why APL is a language worth knowing" at FnConf 2022. The slides are available on GitHub (https://github.com/mathspp/talks) and the written version of the talk can be read here: https:...
In preparation for my talk β€œWhy APL is a language worth knowing”, I published an article on my blog that is supposed to be a written version of my talk. In this talk/article, I hope to convince you...
I wrote a Twitter thread about the Python implementation of the look-and-say sequence. The thread introduces the tools needed: β€’ `itertools.chain` β€’ `itertools.groupby` And then puts them together ...
I took what I head learned about the look-and-say sequence and wrote a more detailed post about it, covering things like - the way the sequence works; - Conway's constant; - a Python implementation...
I wrote a short thread on how to format dates and times in Python, and I talked about some of the most common % format specifiers, but I also covered some other useful & less-known specifiers. The ...
I published a blog post on the Zen of Python 🐍 guideline β€œExplicit is better than implicit.”. This was an interesting write-up because it's about a philosophical discussion I have very often with o...
I published a blog post on the Zen of Python 🐍 guideline β€œBeautiful is better than ugly.”. This blog post was created automatically from a Twitter thread I published. With this blog post, I also to...
I've always wanted to have a good-looking terminal, and today I learned how to install starship for me to use with PowerShell, the shell I use on my Windows machine. The process wasn't too difficul...
Today I learned a bit more about the look-and-say sequence: β€’ 1 β€’ 11 β€’ 21 β€’ 1211 β€’ 111221 β€’ 312211 β€’ ... This is a very nice sequence and the rules that govern it are β€œword” rules, and yet, the beh...
One of my Pydon't blog articles got featured in issue #516 of PyCoder's Weekly, a Python newsletter with over 100k subscribers!
Just published a short YouTube video showcasing one great function from the built-in module `itertools`, the function `itertools.product`, quite helpful when you need to take 2 or more iterables an...
Today I learnt a lot about pandas, the Python 🐍 tool, and I wrote a short TIL article on the Series data type. In this short TIL I explain how to create pandas Series and how Series indices work.
Today I attended an introductory Python pandas workshop and started learning about this great Python module. It was a great workshop and I learnt about things like β€’ reading and saving data from/to...
Today I published problem #057 on my blog, a problem about geometry and compass/straightedge constructions.
I led a workshop where I introduced the audience (around 25 physics undergrads) to cryptography and some basic number theory/modular arithmetics. As a group, we learned about monographic and digrap...
I led a workshop session on recreational mathematics and graph theory where I helped the audience (mainly physics undergrads) tackle a series of interesting problems.
Just published a short video on getting the current date/time with Python 🐍: https://youtu.be/Ptut9EjTkA4
I wrote a short TIL article how to use the function `pandas.show_versions` to get system diagnostic information related to my Python 🐍 installation, OS, pandas version, and versions of related pack...
I wrote a short TIL article on how to set up a pre-commit hook on GitHub and, in particular, to use the `black` code formatter to make sure my Python 🐍 code looks neat.
I published a short TIL blog post on how transposed convolutions work and how to use them for upscaling.
Published a short video on how to use Python's `round` function to round numbers to the nearest 10, 100, 1000, etc. Here's the video: https://youtu.be/zRgwQGhpjGk
Just published a short TIL blog post on playing around with transposed convolutions.
I just published a new blog post, which incidentally is the written version of my PyCon Sri Lanka talk. You can find the blog post here.
Today I gave a talk at the Python 🐍 conference PyCon Sri Lanka 2022! You can find the talk slides & details on GitHub.
Published the blog post β€œTennis tournament”, which is also problem #56 on my blog: https://mathspp.com/blog/problems/tennis-tournament
Sent issue #10 of my newsletter to 1190 subscribers. Included a couple of interesting links to my blog and a couple of nice tips regarding the Python module `datetime`.