How to get the SHA512 sum of a string using Python
If you need to get the SHA512 sum of a string using Python, then you can do the following.
Step 1
Firstly, we need to use the hashlib module:
import …
Read Article →
In-depth guides, insights, and best practices for modern software engineering
If you need to get the SHA512 sum of a string using Python, then you can do the following.
Firstly, we need to use the hashlib module:
import …
Read Article →
If you need to get the SHA256 sum of a string using Python, then you can do the following.
Firstly, we need to use the hashlib module:
import …
Read Article →
If you need to get the MD5 sum of a string using Python, then you can do the following.
Firstly, we need to use the hashlib module:
import …
Read Article →
If you get the following error in Python:
TypeError: Object of type datetime is not JSON serializable
..then you can solve it by using this trick: …
Read Article →Build comprehensive monitoring.
Why monitoring microservices is fundamentally …
Read Article →If you would like to list all AWS Lambda Function Names in your CLI using the AWS CLI, then you can do this:
aws …
Read Article →
The speed of Python code compared to other programming languages depends on a variety of factors, such as the specific task being performed, the …
Read Article →Master containerization strategies.
Containers transformed how I think about application deployment. After …
Read Article →If you have a Python dictionary, and want to encode it as a string and zip it to save space, perhaps for passing a dictionary through as an …
Read Article →Comprehensive guide to MLOps covering model development.
Understanding the end-to-end machine learning process:
ML …
Read Article →There are many different categories of websites, but here are some of the most common:
E-commerce websites: These websites sell products or services …
If you need to generate a random number between two (2) numbers in Python, then you can make use of the random module.
First, import the module: …
Read Article →If you need to install AWS SAM CLI on a Mac, then the easiest option is to use Homebrew with the following commands:
brew tap aws/tap
brew install …
Read Article →
If you need to find the fastest way to count the number of rows in a massive MariaDB, or MySQL table, then you can do the following instead of …
Read Article →0, 0, 1, 0, 2, 0, 2, 2, 1, 6, 0, 5, 0, 2, 6, 5, 4, 0, 5, 3, 0, 3, …
This is the Van Eck’s Sequence.
Let’s go through it step by step.
Term …
Read Article →0, 0, 1, 0, 2, 0, 2, 2, 1, 6, 0, 5, 0, 2, 6, 5, 4, 0, 5, 3, 0, 3, …
This is the Van Eck’s Sequence.
Let’s go through it step by step.
Term …
Read Article →A bookseller has lots of books classified in 26 categories labeled A, B, … Z. Each book has a code c of 3, 4, 5 or more characters. The 1st …
Read Article →If you are using AWS Elemental MediaPackage and hit the following error, then you need to either do one of the following:
Read Article →
Error: error waiting for …
To bootstrap an AWS CDK environment, you simply need to do the following:
npx aws-cdk bootstrap
…for each environment that you would like the …
Read Article →If you need to get the current Account Number, or Account ID from within a Lambda execution, then you can access invoked_function_arn from the context …
Learn fault tolerance patterns.
Recognizing what can go wrong:
Common Failure …
Read Article →AssumeRole – is useful for allowing existing IAM users to access AWS resources that they don’t already have access to. For example, the user might …
Read Article →Optimistic locking is a strategy to ensure that the client-side item that you are updating (or deleting) is the same as the item in DynamoDB. …
Read Article →CodeDeploy provides two (2) deployment type options:
In-place deployment: The application on each instance in the …
Read Article →