Imagine you were a day trader, and you make in average one trade per day on 200 days a year. Further imagine you have to pay a commission fee of $10 when buying shares, and again you have to pay a commission fee of $10 when selling shares, which is effectively $20 per trade. So you can simply… Read More »
A Hykker mechanical keyboard with pretty nice Chinese blue switches illuminates my desktop. It's Christmastime.
In an earlier post I showed an algorithm to factorize integers using backtracking. The algorithm was implemented in python. Here we have now the same thing in erlang. To run the code, copy the script and save it to a file named "factorize.erl". Then enter a shell and compile the module using the following command:… Read More »