A tool that I often find helpful when tutoring introductory computer science students is a converter of positive integers from one base to another. You can find my implementation of the procedure below.
Recently, I caught myself on the idea that I have completely forgotten where most countries are on the map.
Growing up in Yerevan, Armenia, knowledge of the map was essential in any middle school geography class. We learned countries, capitals, rivers, lakes, etc...
Unfortunately, I have forgotten all of this as I have gotten older. In my experience, too few know their way around a map, even for the most "mainstream" countries.
The game is simple. The map will fill a random country blue, and the objective is to guess which country it is (text input in the top left corner).
If you are stuck, open up the client console (shift+ctrl+i), type `rand_country` and hit enter to see the answer. (shift+ctrl+i again to close the console.)
When you type in the correct name of the country, the blue fill color will disapear, revealing the country. After three seconds, the map will reload with a new country filled in.
If any bugs occur, just refresh the page.
Please note that the the purpose of this project is not a demonstration of solid software engineering practice, but it is rather purely educational.
If you wish to refactor this into an application, with an actual backend, etc., you are more than welcome to clone the repository and do whatever you want with the code.
For my first post, I want to share a recording of a magnificent piece of choral music I stumbled upon while listening to KUSC (Classical station supported by USC).
The inspiring text is said to be written by a Jewish prisoner in a concentration camp during World War II and found shortly after the end of the war.
The video is posted on youtube by St. Olaf College. Below is the video description.
The St. Olaf Choir, Anton Armstrong, Conductor, performs "Even When He Is Silent" by Kim André Arnesen. Recorded in concert at Nidaros Cathedral, Trondheim, Norway on June 16, 2013 Commissioned by the St. Olaf Festival in Trondheim, Norway (Olavsfestdagene). The text was found in a concentration camp after World War 2: I believe in the sun, even when it's not shining. I believe in love, even when I feel it not. I believe in God, even when He is silent. The piece is published by Norsk Musikforlag in both SATB and SSAA versions. http://www.norskmusikforlag.no http://www.kimarnesen.com Copyright © 2013 St. Olaf College. Music posted by permission of the composer.