SeSim - Stock Exchange Simulator

By | February 19, 2017

Earning money by day trading is considered to be extremely hard. I've often read that about 95% of people who attempt day trading will lose money. This might be true and coincidences with my observations among people I know, because I don't know anybody who is able to make money by day trading. But who… Read More »

Day Trading and Commission Fees

By | December 25, 2016

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 »

Integer Factorization Using Backtracking with Erlang

By | December 18, 2016

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 »

Problems with FTP when Installing FreeBSD

By | February 13, 2016

If you have problems installing FreeBSD using FTP, because you are behind a NAT that doesn't handle FTP properly, simply chose HTTP. In the "Mirror Selection" dialog select the "Main Site", and then chose "Other": And now simply replace ftp with http: The installation should work now.  

Integer Factorization Using Backtracking

By | February 1, 2016

Here is an algorithm, written in Python, to factorize integers, using backtracking. The time consumption should be around  . So it's not the fastest one, but it's nice. To use it, save the code to a file. If you call the file, for example, "", then run python <integer to factorize> Have fun!