Recent Blog Posts

Fortune

Once upon a time, in the Before Times (call it the 1990s), software engineers would add to an otherwise boring login by displaying additional things like time, date or weather. Another was to display a random fortune. Some are movie quotes, some are literary quotes and some are just fortunes. Some are profane and some are a little profound. This bit of code accesses an online API to generate a fortune and display it.

Credit to HelloACM, which provides and hosts the API for this and many other cool things.