Join us for an upcoming webinar on January 16, Get Started with Containers and Kubernetes, which will go through this exact content. Getting Started with Containers and Kubernetes Workshop Kit Materials This meetup kit is designed to help a technical audience become familiar with core Kubernetes concepts and practices. The …
Read More »Getting Started with Containers and Kubernetes: A DigitalOcean Meetup Kit
Getting Started with Containers and Kubernetes Meetup Kit Materials This meetup kit is designed to help a technical audience become familiar with core Kubernetes concepts and practices. The aim is to provide a complete set of resources for a speaker to host an event and deliver an introductory talk on …
Read More »Python dis module and constant folding
Hi people! Recently, I was super confused when I found out that: >>> pow(3,89) runs slower than: >>> 3**89 I tried to think of a suitable answer but couldn’t find any. I timed the execution of both of these statements using the timeit module in Python3: $ python3 -m timeit …
Read More »Running Python in the Browser
Running Python in the web browser has been getting a lot of attention lately. Shaun Taylor-Morgan knows what he’s talking about here – he works for Anvil, a full-featured application platform for writing full-stack web apps with nothing but Python. So I invited him to give us an overview and comparison …
Read More »Speeding up Python code using multithreading
Hi lovely people! ? A lot of times we end up writing code in Python which does remote requests or reads multiple files or does processing on some data. And in a lot of those cases I have seen programmers using a simple for loop which takes forever to finish …
Read More »Setting up dev environment for SciPy
Hi everyone! ? I got an email from someone pretty recently who wanted to setup a dev environment for SciPy. He had made changes to the source code of SciPy and now wanted to test if his changes were working or not. He had gotten so far without actually testing …
Read More »Python mind-teaser: Make the function return True
Hi everyone! ? I was browsing /r/python and came across this post: The challenge was easy. Provide such an input that if 1 is added to it, it is the instance of the same object but if 2 is added it is not. Solution 1: Custom class The way I personally thought …
Read More »Filtering & Closing Pull Requests on GitHub using the API
Hi everyone! ? In this post, I am going to show you how you can use the GitHub API to query Pull Requests, check the content of a PR and close it. The motivation for this project came from my personal website. I introduced static comments on the website using …
Read More »