* Add [.] key to enable timer
* "Loading..." message turns red and italic when timer is active
* Press [.] key to disable timer.
After a bit of experimentation, 5s seemed optimal: 2 seconds would cause
the imgur api to trip if the app is used more than once at a time; 5
seconds is enough time to view the image without feeling particularly
slow.
Maximums:
1 images in 5 seconds
3600 images in 5 minutes
43200 images in an hour
This is a fairly simple hack to record any imgur URLs discovered via the
random image facility that match a certain MD5 hash.
A known bug with this commit is that it may crash the bot the first time
the bot tries to add to the database, as the category is undefined. This
can be easily worked around by ensuring that the category is
prepopulated with at least one image before letting the bot add
automatically.
An issue should probably be opened to merge this code into something
reading hashes from a configuration file: it's pretty hardcoded at the
moment.
* There is probably a much nicer way of doing it (perhaps a better
hash)?
* Added a counter to the imgur random page counting the number of
[Facebook Monopoly Men](http://i.imgur.com/3Tt6N.gif).
* Added the md5sum of the current image to the getRandomImage api call.
* Future functionality might be storing every image md5 in an array and
counting duplicates, instead of the current check-against-known-dupes.
* There is probably a much nicer way of doing it (perhaps a better
hash)?
* Added a counter to the imgur random page counting the number of
[Facebook Monopoly Men](http://i.imgur.com/3Tt6N.gif).
* Added the md5sum of the current image to the getRandomImage api call.
* Future functionality might be storing every image md5 in an array and
counting duplicates, instead of the current check-against-known-dupes.
Added current branch to note underneath last-diff.
For the purposes of licensing, this commit is licensed under
copyleft-next, version 0.1.0 or later. Therefore, this commit is
compatible with any version of the GNU General Public License as
published by the Free Software Foundation.