posts - 81, comments - 262, trackbacks - 0

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...

posted @ Sunday, September 23, 2012 11:42 AM | Feedback (3) |

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...

posted @ Saturday, September 15, 2012 12:44 PM | Feedback (1) |

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...

posted @ Wednesday, September 12, 2012 3:07 PM | Feedback (2) |

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...

posted @ Wednesday, September 5, 2012 10:21 AM | Feedback (1) |

Powered by:
Powered By Subtext Powered By ASP.NET