The source code history of Free Pascal and Lazarus visualized with Gource

Gource is a software version control visualization tool. I thought it would be fun to visualize Delphi’s source code with Gource, but that is not possible for obvious reasons. So, I decided to try-out Delphi’s cousins: Free Pascal and Lazarus.

I checked-out the respective code bases and ran them through Gource.

Below are the Gource commands I used:

gource -1280x720 -o C:\\gource\\fpc.ppm -s 0.01 --hide dirnames,filenames,progress,mouse C:\\gource\\fpc

gource -1280x720 -o  C:\\gource\\lazarus.ppm -s 0.01 --hide dirnames,filenames,progress,mouse C:\\gource\\lazarus

Gource shows the filenames and directories of the source code by default; still, I decided to hide them in these videos, because they were overlapping. You can play more with Gource, FPC and Lazarus on your own :-) For a comprehensive list of the command line options and arguments of Gource click HERE.

The above gource calls create two files: fpc.ppm and lazarus.ppm. I guess these are some kind of uncompressed video format. The files were huge: ~60GB and ~100GB respectively.

Then, I used FFmpeg to encode the above .ppm files into .avi files. The FFmpeg commands are below:

ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i C:\\gource\\fpc.ppm -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 C:\\gource\\fpc.x264.avi

ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i C:\\gource\\lazarus.ppm -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 C:\\gource\\lazarus.x264.avi

Finally, I uploaded fpc.x264.avi and lazarus.x264.avi to YouTube. You can see them below:

Free Pascal source code history visualized with Gource 



Lazarus source code history visualized with Gource 



If you liked this post; please, show your appreciation but clicking the Google Plus (G+) button at the beginning of the article. Thanks!

How much do you know about your Government? – Toronto, Ontario, Canada.

These are the answers to the questions found in Discover Canada (Citizenship Study Guide) from page 34-35.

The Federal Government part is applicable to all Canada. The Provincial Government part is applicable to Ontario and the Municipal Government part is applicable to Toronto.

Also, I have put together a comprehensive list of questions and answers that will help you in studying for the Canadian Citizenship Test. Just follow the link in the line above.  

Federal Government

Head of State: Her Majesty Queen Elizabeth II

The name of the representative of the Queen of Canada, the Governor General, is Julie Payette

The Head of Government, the Prime Minister, is Justin Pierre James Trudeau

The name of the political party in power is Liberal Party

The name of the Leader of the Opposition is Andrew Scheer

The name of the party representing Her Majesty’s Loyal Opposition is Conservative Party of Canada

The names of the opposition parties and leaders are:
  • New Democratic Party of Canada: Jagmeet Singh
  • Bloc Québécois: Mario Beaulieu
  • Green Party of Canada: Elizabeth May

My member of Parliament(MP) in Ottawa is [See below next to the *]

My federal electoral district is called [See below next to the *]

* Click this link and enter your postal code. This will allow you to find out who your MP is and to which federal electoral district you belong to.

Provincial Government

The representative of the Queen in my province, the Lieutenant Governor, is Elizabeth Dowdeswell

The Head of Government (the Premier) is Doug Ford

The name of the provincial party in power is Progressive Conservative Party of Ontario

The names of the provincial opposition parties and leaders are
  • Ontario Liberal Party: John Fraser (interim)
  • New Democratic Party: Andrea Horwath

My provincial representative is [See below next to the **]

** Click this link and look for your provincial representative (also known as MPP - Member of Provincial Parliament-). You can do this by looking up the MPP for your federal electoral district (riding). You should already know you federal electoral district (riding); for details refer to the note above marked with one asterisk *.

    Municipal Government

    The name of the Municipality where I live is Toronto

    The name of the head of the Municipal government (mayor or reeve) is John Tory.

    I would very much appreciate if you recommend this article by clicking the Google Plus (G+)  button at the beginning of the post? Thanks!