Database Administrator — Income and Opportunity

Before we learn about the money, let’s get this question out of the way: What is a Database Administrator? A database administrator (DBA) is an IT professional responsible for maintaining the reliable, efficient, and secure execution of a database management system (DBMS). In this way, a database administrator is responsible for providing the data infrastructure … Read more

Database Engineer — Income and Opportunity

Before we learn about the money, let’s get this question out of the way: What is a Database Engineer? A database engineer is responsible for providing the data infrastructure of a company or organization. This involves designing, creating, installing, configuring, debugging, optimizing, securing, and managing databases. Database engineers can either work as employees or as … Read more

How to Assign the Result of exec() to a Python Variable?

πŸ’¬ Question: Say you have an expression you want to execute using the exec() function. How to store the result of the expression in a Python variable my_result? Before I show you the solution, let’s quickly recap the exec() function: Recap Python exec() Python’s exec() function executes the Python code you pass as a string … Read more

Ethereum Smart Contract Fuzz-Testing with Echidna

What is Fuzzing?                 Fuzz testing (or fuzzing) is an automated software testing method with the goal to find vulnerabilities, security issues, and defects of the application. The idea is to inject invalid, malformed, or unexpected inputs into the application using a fuzzing tool and observing how the system reacts to those inputs (e.g., exceptions, leakage … Read more

Python Try Except: An Illustrated Guide

What is Try/Except in Python? Python’s try and except keywords are used to β€˜catch’ an exception and handle it, preventing it from terminating your program as it normally would. This could be useful in situations where you know there’s potential for an exception to occur, and you want your program to be able to continue … Read more

How to Print Colored Text in Python?

Summary: To print colored text in Python, you can use: The simple_color package, The ‘\033[1m’ ANSI escape-sequence, The termcolor module, The coloroma package, The colored library, The prompt_toolkit package. A simple, no-library way to print bolded text in Python is to enclose a given string s in the special escape sequence like so: print(“\033[38;5;4m”). We’ll … Read more