Part 2.1: Python strings

Photo by Pankaj Patel on Unsplash

Intro

  • We want to build a RegEx Engine.
  • In the first episode we briefly spoke about the grammar we want to recognize.
  • In the second episode we built the lexer (the first of three components we need, the others are the parser, and finally the engine).

Dear Py\thon


Part 2: The Lexer

Photo by Arnold Francisca on Unsplash

Set Up The Environment

mkdir pyregex
cd pyregex
python3 -m venv venv
source venv/bin/activate


Part 1: The Grammar. Building a Regular Expressions Engine Complete With All The Major Features.

Photo by Kevin Horvat on Unsplash
  1. It is well integrated with the Linux command line
  2. Because yes.


A beginner-friendly introduction to cybersecurity fundamental principles

Photo by Michael Dziedzic on Unsplash
  • Confidentiality
  • Integrity
  • Availability.

Confidentiality


CODEX

How much a byte really cost?
The question is detrimental, paralyzin’ my thoughts.

Photo by Adi Goldstein on Unsplash

An Expensive Lesson

How much a byte really cost?
The question is detrimental, paralyzin’ my thoughts


How to create a cool bar chart race animation the easiest way.

Final result.

Step 0

mkdir my_bar_chart_race
python3 -m venv venv
source venv/bin/activate

Step 1

pip3 install pandas
pip3 install bar_chart_race

Step 2


A practical introduction to git basic concepts.

Photo by Yancy Min on Unsplash
git init 
git init <directory_name>

Keep Track Of a File


Like functions, but shorter…more or less. Let’s find out!

Photo by Steinar Engeland on Unsplash
(param1, param2) => { /* do something */ }

Arrow functions are anonymous

functionName(param) => { /* do smth */ }


A brief and practical introduction to their functioning and use

Photo by Oskar Yildiz on Unsplash

What are JavaScript closures?

A practical example


A SIR model simulator using p5.js library

Covid-19 spread map
Covid-19 spread map
Photo by Giacomo Carra on Unsplash

Lorenzo Felletti

Computer Engineering student at the University of Bologna

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store