# Rodbourn's Blog

## September 2012 Blog Posts

##### Getting rid of an ants nest in a parked car

I keep my car parked outside with a car cover on it and move it about every two weeks. This seems to have made it an ideal home for ants, even though there is nothing they could eat in there. They seem to have decided it's a great home, and to just bring their food to the nest in the trunk… I put the car cover in the trunk running errands one day, nothing out of the ordinary. When I was home and took the cover out of the trunk I noticed a whole swarm of ants migrating...

##### Normal Shock T-s Diagram

A Fanno Flow line on a T-s diagram is developed using the continuity and energy equations. A Rayleigh Flow line on a T-s diagram on the other hand is developed using the continuity and momentum equations. A solution to both a Fanno Flow and Rayleigh Flow is the same as solving continuity, momentum and energy, which are used in solving Normal Shocks. A Normal Shock can then be seen as the intersection of both a Fanno line and Rayleigh line on a T-s diagram. In moving from state 1 to a second state 2 on a Rayleigh line...

##### MediaWiki IIS7 Output Caching and Friendly/Short URLs

MediaWiki has been running painfully slow for me out of the box and the solution, as it always seems to be, was to enable caching. I first enabled caching within MediaWiki, but this only helped… a little. I did this first step within LocalSettings.php $wgCacheDirectory = "c:\your\path\to\cache";$wgFileCacheDirectory = "c:\your\path\to\cache ";$wgEnableSidebarCache = true;$wgUseFileCache = true;$wgShowIPinHeader = false;$wgEnableParserCache = true;$wgCachePages = true;$wgMainCacheType = CACHE_ACCEL;$wgMessageCacheType = CACHE_ACCEL;$wgParserCacheType = CACHE_ACCEL;\$wgMemCachedServers = array(); Using Chrome's Developer Tools, particularly the network tool where each request is shown, I noticed almost all of the time was spent in loading load.php! The result was correctly being...

##### BibTex Citation Management in MediaWiki

Lately I have been setting up a local MediaWiki installation to organize and document my research (see previous posts which relate to installing MediaWiki on Windows). An essential feature is of course documentation, and nise presents a nice solution by combining two extensions, Biblio and Bibtex. This solution allows you to use the BibTex citations from a manager such as Mendeley or JabRef in both the MediaWiki citations and LaTex citations. I integrated the two similarly to how nise has, but with a modification on matching Bibtex entries, using a regular expression instead of a string match. Install Biblio and Bibtex extensions Open...