Something happened to the internet around 2018. It didn’t happen overnight. It crept in slowly. The way a room gets messier until one day you can’t find anything. First, tweets became threads. A format built for brevity stretched into multi-part essays, because engagement algorithms rewarded length and click-through. Writers who had something real to say were forced to perform it in a…
I used to think of Procrastination as a villain. If I had to complete a task before a deadline next week, I would not start work until the deadline gets uncomfortably close. The work ends up being more rushed than if I had used the entire week. Procrastination often robs the opportunity of producing better quality work. I do not sense Procrastination as an urge or a feeling. It is rather the…
You are reading a post from a multi-part series of articles Staying on the bleeding edge Home pages that morph Have you ever struggled to create a beautiful landing page for your Django site? A common ask by users of the Edge project template was the support for home pages that had a completely different layout than the inner pages. For example, a first time visitor opening https://example.com…
A new programming problem has been trending recently - write a program to print numbers from one to hundred without using any loops or mentioning numbers in the source. Naturally, I was interested in a solution in Python. I got many brilliant answers on Twitter. But first let me show you how I approached it. I was looking for a general and readable solution than the shortest one. My thought…
You are reading a post from a multi-part series of articles Staying on the bleeding edge Home pages that morph How fast can you go from getting an amazing product idea to bringing it in front of real users? It is a process that has several steps - some fun but mostly boring. It could also take a long time. In fact the longer it takes, the lower your motivation levels dip and competition starts…
Earlier this week, Anthony a french economics university student wanted to talk to me over Zoom about my ray tracer tutorials . He and his friend were new to Python but were excited to implement their own ray tracer after following my videos. One of the questions that popped up in the conversation was - “Can we put all the classes in one file instead of breaking it into individual files per…
In August this year, Django 3.1 arrived with support for Django async views. This was fantastic news but most people raised the obvious question – What can I do with it? There have been a few tutorials about Django asynchronous views that demonstrate asynchronous execution while calling asyncio.sleep . But that merely led to the refinement of the popular question – What can I do with…
You are reading a post from a multi-part series of articles Ray Tracer in Python (Part 1) - Show Notes of 'Points in 3D Space' Ray Tracer in Python (Part 2) - Show Notes of 'Revealing the True Colors' Ray Tracer in Python (Part 3) - Show Notes of '3D Balls in 2D Space' Ray Tracer in Python (Part 4) - Show Notes of 'Let there be light' Ray Tracer in Python - Show Notes of 'Ray Tracing a…
You are reading a post from a multi-part series of articles Ray Tracer in Python (Part 1) - Show Notes of 'Points in 3D Space' Ray Tracer in Python (Part 2) - Show Notes of 'Revealing the True Colors' Ray Tracer in Python (Part 3) - Show Notes of '3D Balls in 2D Space' Ray Tracer in Python (Part 4) - Show Notes of 'Let there be light' Ray Tracer in Python - Show Notes of 'Ray Tracing a…
You are reading a post from a multi-part series of articles Ray Tracer in Python (Part 1) - Show Notes of 'Points in 3D Space' Ray Tracer in Python (Part 2) - Show Notes of 'Revealing the True Colors' Ray Tracer in Python (Part 3) - Show Notes of '3D Balls in 2D Space' Ray Tracer in Python (Part 4) - Show Notes of 'Let there be light' Ray Tracer in Python - Show Notes of 'Ray Tracing a…