Skip to content

everyday.codes

personal blog by Michael Krasnov

  • feed
  • medium
  • about
  • night mode
  • search
  • search hide

Why Do You Need Decorators in Your Python Code

august 6, 2020 by michael krasnov | tags: metaprogramming
Why Do You Need Decorators in Your Python Code

Python is praised for its clarity and syntactic sugariness. In this article, I will teach you to use decorators in Python to make your code readable and clean.

read more “Why Do You Need Decorators in Your Python Code”

Why Python Written In Python is Faster Than Regular Python

july 27, 2020 by michael krasnov | tags: metaprogramming
Why Python Written In Python is Faster Than Regular Python

Let’s be honest: Python is slow. When I say Python, I mean CPython, it’s reference, C-based, implementation. This is where PyPy comes into play. This is a Python runtime, written in Python (!), which performs 4.4 times faster than CPython. How? Read ahead.

read more “Why Python Written In Python is Faster Than Regular Python”

Abstract Classes and Meta Classes in Python

july 21, 2020 by michael krasnov | tags: metaprogramming
Abstract Classes and Meta Classes in Python

Abstract classes (or Interfaces) are an essential part of an Object-Oriented design. While Python is not a purely OOP language, it offers very robust solutions in terms of abstract and meta classes.

read more “Abstract Classes and Meta Classes in Python”

Awesome New Features in Python 3.9

july 15, 2020 by michael krasnov | tags: python, release
Awesome New Features in Python 3.9

Python 3.9 is currently in the 4th iteration of its beta phase (as of July 2020). While some things may change, it is now pretty clear what the new release will look like.

read more “Awesome New Features in Python 3.9”

Simple Ways To Speed Up Your React App

july 6, 2020 by michael krasnov | tags: performance, react
Simple Ways To Speed Up Your React App

React is, arguably, the easiest UI library out there. But this easiness comes at a cost, which is performance. In this article, I will list some ways to improve the performance of your React app drastically.

read more “Simple Ways To Speed Up Your React App”

JavaScript is The New Plastic

june 29, 2020 by michael krasnov | tags: rant
JavaScript is The New Plastic

JavaScript is an awesome language, it really is. Just like plastic was an awesome invention 100 years ago. But everything comes with consequences, whether it is environmental pollution or computing pollution alike.

read more “JavaScript is The New Plastic”

How Passwordless SSH Login Works

june 23, 2020 by michael krasnov | tags: devsecops, ssh
How Passwordless SSH Login Works

SSH (Secure SHell) is a protocol that is used for remote administration of Linux systems. Obviously, it is secure, but what if I told you that you can make it even more secure by disabling the password?

read more “How Passwordless SSH Login Works”

Services in Systemd: In-Depth Tutorial

june 22, 2020 by michael krasnov | tags: devops, systemd
Services in Systemd: In-Depth Tutorial

systemd is the glue that holds Linux systems together. systemd is a collection of building blocks, which handle services, processes, logging, network connectivity and even authentication. In this article, I will show you how to work with services in systemd

read more “Services in Systemd: In-Depth Tutorial”

Use Syncthing to Create a Cloud Without a Cloud

june 18, 2020 by michael krasnov | tags: syncthing
Use Syncthing to Create a Cloud Without a Cloud

Syncing files across devices is really easy. Just install Google Drive, or iCloud, or Dropbox, or any other cloud storage provider. But this comes at a cost, and the cost is your data. Here I am going to show you how to sync files that matter without anyone in-between.

read more “Use Syncthing to Create a Cloud Without a Cloud”

User Management in Linux Explained

june 16, 2020 by michael krasnov | tags: administration, command line
User Management in Linux Explained

Linux, being a truly multi-user, multi-namespace OS, offers a lot of options when it comes to user management. Here is what you need to know to master it.

read more “User Management in Linux Explained”

Posts navigation

Older posts
Newer posts

Top Posts

  • React.useMemo and when you should use it
  • Please stop using classes in JavaScript
  • 10 Advanced Python Interview Questions
  • Architecture Of Large React Apps: Tools and Techniques
  • 7 really good reasons not to use TypeScript

archives

  • February 2021
  • January 2021
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • August 2019
  • July 2019
  • June 2019

categories

  • best-practices
  • code-review
  • collections
  • fuchsia
  • google
  • graphql
  • java
  • javascript
  • life
  • linux
  • mobile
  • news
  • open-source
  • python
  • react-native
  • tutorials
  • Uncategorized

michael krasnov (c)
linkedin | github | telegram

This website uses cookies to ensure you get the best experience on our website. Learn more