Image for post
Image for post

Have you ever wondered what happens beneath the covers when you talk to your Database? Well, you are in for a treat! In this talk, we are going to uncover the dark magic behind Database Drivers. We will look at everything that is needed to talk to a database, query its data, and transform it into the native data types in Elixir.

https://speakerdeck.com/maqbool/building-a-mysql-database-driver-in-elixir


In Haskell when you define a variable you cannot change that variable values unlike Imperative languages.

Image for post
Image for post
Assignment

For example In C we can define:

int value = 0 value = 1 // We can update the value In this case to 1

The above assignment is legal in C-Style Imperative Programming languages.

While in Haskell if you define a variable and bind a value. In the scope the variable is declared it will remain unchanged

For example let take this snippet

Prelude> inc x = x + 1Prelude> xinc x = inc x Prelude> inc 1
2
Prelude> xinc 1
2
Prelude> inc x = x +…


Image for post
Image for post
Pharo the Modern Smalltalk

Download the Pharo and decompress the file

$ unzip Pharo.zip 
$ sudo mv Pharo /opt/

Create the pharo.desktop file and paste the following contents

pharo.desktop

Move .desktop file to .local/share/applications/

$ mv pharo.desktop .local/share/applications/

Create ~/.icons directory

$ mkdir ~/.icons
$ sudo cp /opt/pharo6.1–64/icons/Pharo.png ~/.icons

Happy Coding!

About

Maqbool

Software developer | blog.maqbool.net

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