Atlas Shrugged: 1200 Pages in 5 Minutes

In this quick article, I’ll show you my deep dive into the book “Atlas Shrugged” by Ayn Rand. This is useful if you don’t want to spend 20-25 hours reading the ~1,200 pages but you still want to be able to grasp the main ideas. I used OpenAI’s ChatGPT to explore the main ideas — … Read more

Large Audio to Text? Here’s My Speech Recognition Solution in Python

Project Idea A good friend and his wife recently founded an AI startup in the lifestyle niche that uses machine learning to discover specific real-world patterns from videos. For their business system, they need a pipeline that takes a video file, converts it to audio, and transcribes the audio to standard text that is then … Read more

How to Run a Python Script?

Python is a powerful and versatile programming language you can use for many practical programming projects easily and without spending years learning it. This article shows you the basics of how to run a Python script and the various ways it can be done. What is a Python Script? A Python script is a set … Read more

This Simple Python Script Compressed My Folder of 200 Images by 700% Without Much Loss πŸš€

For my current web project I need to upload 200 images to my website. All of them are in the same folder. Here’s the problem: 🀯 Challenge: My images have file sizes of 2 to 3 MB, so they are far too big and will significantly slow down my website. πŸ‘‰ To reduce the file … Read more

I Used This Python Script to Rename All Files in Subfolders (Recursive)

I’m currently working on a website project for the Finxter ecosystem, where I’m given a folder with subfolders (and subfolders within) that contain image files. Example folder structure: folder — subfolder1 —- image1.jpg —- image2.jpg —- image3.jpg — subfolder2 —-image1.jpg —-image2.jpg Across the subfolders, the files may have the same name, which causes an issue … Read more

4 Easy Ways to Profile My Python Memory Consumption

Method 1: Using the Python Memory_Profiler Module The Python memory_profiler module is a great way to track memory usage line-by-line in your code. It measures the memory consumption of individual lines of code and functions. To use the module, install it with the pip command. πŸ‘‰ Recommended: How to Install a Module in Python On … Read more

A Python Script to Uncover Creative Research Gaps Through Recombination

When I was a researcher at University, I had to come up with creative ideas at a rapid pace. Here’s a straightforward approach that may help you generate innovative concepts for your job, business, or research goals. My particular research focus was graph partitioning, i.e., dividing a massive computer science graph structure into smaller chunks … Read more