Monthly Archives: May 2012

Using the Await Keyword with Asynchronous Code in C#

So I hear that when they were planning Windows 8, Microsoft did all this research and determined that, if you give a programmer the choice between doing something synchronously and doing it asynchronously, then 99.9 times out of 100 they’ll … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Building a Unicode Character Chart Using JavaScript

Because no matter how many appendices you read it in, you always want more. The JavaScript function shown below will build and display an HTML table of the first 256 Unicode characters. buildAsciiChart(); function buildAsciiChart() {     var chartAsHtmlTable = … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Hello World in Android Using Eclipse

This tutorial is a simplified, or at least condensed, version of the equivalent tutorial pages on developer.android.com, which are mostly fine, but they aren’t quite brainless enough to suit me. Plus, for the latest version of Android there was a … Continue reading

Posted in Uncategorized | Tagged , , , , | 2 Comments

Generating Psuedorandom Numbers Using a Linear Congruential Generator

A linear congruential generator uses a relatively simple and easy-to-understand algorithm to generate seemingly random numbers.  It’s no Mersenne twister, though, so I wouldn’t use it for anything you might conceivably get sued or sent to jail over, like scrambling … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Writing a Batch Image Processor Plugin for GIMP in Python

Python is not my first choice, except when Scheme is the second choice, and also when there aren’t any other choices. Follow the steps below to create a batch image multiprocessor for GIMP in Python. As written, the plugin will … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment