Explaining what is P-value and how to calculate it

Definition By definition the P-value is a measure of the probability of obtaining a result that is different from the null hypothesis. The Null Hypotheis is the hypothesis that the result is the same as the one we are testing, in other words, the hypothesis that nothing has changed. The P-value is a number between 0 and 1. The closer to 0 the p-value is, the more likely the result is to be different from the null hypothesis....

November 22, 2021 · 3 min · Jonathan

Generating and using self-signed certificates for local developing

Generating the self-signed certificate Generate a self-signed certificate using the openssl command: openssl req -nodes -new -x509 -keyout localhost.pem -out localhost.pem -days 365 In this case the key and the certificate itself will be in the same ./localhost.pem file. Installing the new certificate using ca-certificates Copy the certificate to /usr/share/ca-certificates/localhost.crt, then set the correct permission. Then use the dpkg-reconfigure to list and enable the certificate. sudo cp ./localhost.pem /usr/share/ca-certificates/localhost.crt sudo chown $USER /usr/share/ca-certificates/localhost....

May 17, 2021 · 2 min · Jonathan

Infra as Code using AWS CDK

Introduction When working at any software, as a developer, you need to know what is going to be delivered to production, for our application code base we use things like git to track changes, keep a history, review and revert if needed. But when we talk about infrastructure resources in our cloud provider, this task is not easy, sometimes because the provider doesn’t have a good API or the tools doesn’t give us what we need, other times is because it is too much complicated, and we are trying to solve something simple as quick as possible, so we do it manually....

April 12, 2021 · 7 min · Jonathan

Getting started with CDK

Installing the cdk CLI tool with npm $ npm install -g aws-cdk Checking if you have installed it correctly: $ cdk --version 1.94.0 (build 2c1c0eb) Remember that the version number could be different. Setup project In any folder execute the command below: $ cdk init app --language=python ... ✅ All done! This command creates the initial structure of our CDK project, it also outputs others commands, including the one to synthesize our application....

April 6, 2021 · 6 min · Jonathan

Building AWS CLI from Source

Installing aws CLI tool from source: git clone --depth=1 https://github.com/aws/aws-cli.git cd ./aws-cli pip install . Configuring access keys: $ aws configure AWS Access Key ID: your-access-key-id AWS Secret Access Key: your-secret-access-key Default region name: eu-west-1 Default output format: json

February 28, 2021 · 1 min · Jonathan