A few days ago I thought of an algorithm to calculate square roots. In this article I would like to introduce my algorithm.
I should mention that this algorithm probably exists.
First of all, my algorithm can only find roots between a specific range (for example \(0\) to \(1\)), thus we need to decrease [...]
In this article I will explain the method I suggest for hashing password and saving them in a database.
First of all, never insert passwords to the database as plain text!
If your database is stolen your users will pay the price (maybe you will have to pay them for the damage you have [...]
In the past few years ORMs have become increasingly popular; however I, personally, don’t like most of the ORM libraries.
ORMs are used to map data from the database to access it easily, and generally they do make it easier than regular SQL.
Nevertheless, these libraries are usually very heavy (Doctrine is almost 2MB!) [...]