(Technical) Whimsical Writings of the Web
Non-Greedy Regular Expression Matching
This applies to Ruby, and many other languages too (eg. Perl), just that I keep forgetting it.
Command Line Parsing using JFlex
What started out as a small set of commands for a tool I’m writing is slowing growing unwieldy to have to warrant enough repetitious code to parse the command line manually, and to wade through lines of if/else or switch statements (Don’t you preach to me about the virtues of using the Command design pattern, for it is still unwieldy because it does not handle the parsing of arguments even the hash saves you from having long branching segments of code, which I don’t mind.
Setting Up Postgresql
Was mucking around with postgresql again, given that I’ve decided to start everything at right footing, rather than to stick with mysql, which is what I’m more used to, for various reasons I’ve remembered from my database lectures in the past.
Understanding Rubygem's Load Errors
While rubygems is a great way of installing your packages without having yourself to dirty your hands, but if you installed your gems this way, it however does not mean that loading those newly installed gems is automatically.
Proxy forwarding on Apache
If you’re hosting on a web server that requires Apache to be the front-end, like using it as a virtual domain host for multiple domains, chances are it’ll be difficult for you to swap Apache with any other web server, especially if the other domains are happily hosted without a problem.
Circumventing Java's Initialization Process
This is really not a circumvention per se, but rather an understanding of how the Java initialization behaviour works, and highlight the violation of the JVM specification, even in Sun’s version, so that Java will be able to function pragmatically.
Difference between a Register-based and a Stack-based CPU
This is just one small little aspect of how a stack and a register based CPU differs.
Compiling VLC for Streaming Music
Compiling media players from source are perhaps the most problematic and most confusing among most linux packages, given the vast number of dependencies required, and the different choices of codecs to choose from, with some of them just competing sounds and video libraries that provides similar features, adding to the confusion, making it an exercise not for the faint of heart.