Productivity

[Collection] 10 Scikit-Learn Cheat Sheets Every Machine Learning Engineer Must Have

Do you need a little help learning Scikit-Learn in Python? Or maybe you just finding it hard to remember all the different commands to perform different operations? All of those formulas can be confusing and hard to remember. Have no fear!! I have put together 10 of the Best Python Scikit-Learn cheat sheets for you …

[Collection] 10 Scikit-Learn Cheat Sheets Every Machine Learning Engineer Must Have Read More »

A Chat Conversation with OpenAI About Teaching, Programming, and Life

The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly. Human: Hello, who are you? AI: I am an AI created by OpenAI. How can I help you today? Human: My name is Chris, and I’d love to teach people to code. AI: I would recommend the …

A Chat Conversation with OpenAI About Teaching, Programming, and Life Read More »

Captive User Interfaces — Why You Should Avoid Them

This tutorial shows you the meaning of captive user interfaces and why they’re discouraged under the Unix philosophy. I’ve written this as a first chapter draft for my upcoming book “From One to Zero” to appear in 2020 with San Francisco-based publisher NoStarch. What’s a Captive User Interface (CUI)? A captive user interface is a …

Captive User Interfaces — Why You Should Avoid Them Read More »

Python exec() — A Hacker’s Guide to A Dangerous Function

Python’s exec() function executes the Python code you pass as a string or executable object argument. This is called dynamic execution because, in contrast to normal static Python code, you can generate code and execute it at runtime. This way, you can run programmatically-created Python code. Have you ever wondered about the limits of a …

Python exec() — A Hacker’s Guide to A Dangerous Function Read More »

Unix Heros: Celebrating 8 Pioneers to Change Computing Forever

The family of Unix operating systems emerged in the late 1970s when Bell Systems made the source code of its technology open to the public. In the subsequent decades, universities, individuals, and corporations developed a multitude of extensions and new versions. Today, Unix is a trademarked standard that ensures that certain quality standards are met …

Unix Heros: Celebrating 8 Pioneers to Change Computing Forever Read More »

How to Use Flow to Be More Productive as a Coder

“Flow is the source code of ultimate human performance” – Steven Kotler This is a chapter draft of my upcoming book “From One to Zero” with publisher NoStarchPress about minimalism in programming. The book will appear in 2021—stay tuned on my email list with lots of free Python content: In this chapter, you’ll learn about …

How to Use Flow to Be More Productive as a Coder Read More »

How to Run Python Without Installation?

Python is ranked as the second most popular programming language in the Tiobe index according to Zdnet.com. Python has gained popularity among the growing tech areas of machine learning and data science—and it has a simple, elegant syntax that is easy to learn.  If you want to start learning Python—or you sit on another computer …

How to Run Python Without Installation? Read More »

Premature Optimization is the Root of All Evil

This chapter draft is part of my upcoming book “From One to Zero” (NoStarch 2021). You’ll learn about the concept of premature optimization and why it hurts your programming productivity. Premature optimization is one of the main problems of poorly written code. But what is it anyway? Definition Premature Optimization Definition: Premature optimization is the …

Premature Optimization is the Root of All Evil Read More »