## Checksum generator in Haskell

##### 22 Jun 2018

A few years ago I wrote a checksum generator app in C++ and evolved in, what I like to say, an app with password cracking capabilities. In fact, it was only an app that opened a file and calculated the hash for each line and tested with the target hash value. Simple! Simple and badly written. I even remove it because I remember that it was “OOP-like” written with a lot of duplicated code, implementations...Read more...

## Monte Carlo Integration

##### 15 Jun 2018

Monte Carlo methods are numerical techniques which rely on random sampling to approximate their results. Thus, in Monte Carlo integration, the process of numerical estimation of integrals is applied. Considering we want to integrate a one-dimensional function $f(x)$ from $\textit{a}$ to $\textit{b}$: . Since the integral of a function $f(x)$ can be interpreted as the area below the function’s curve, we can pick up a random value $x \in [a,b]$ and evaluate the function at...Read more...

## Common-Cathode 7-segments display driver implementation in Verilog

##### 08 Apr 2018

Description 7-segment LED type displays provide a convenient way to display data, like numbers, letters, and typically consist of seven individual LEDs within one single display package. In order to produce the required data ( HEX characters from 0 to 9 and A to F) on the display the correct combination of LED segments need to be illuminated. However, to display BCD information on 7-segments we need to use a BCD to 7 segments decoder...Read more...