You've stumbled across the archive of the blog posts I wrote back in 2014 and prior. Feel free to peruse, through everything from code snippets that never made it to GitHub, to random ramblings about my passion for technology.

Table animations are not supported presently in jQuery (1.8.1 or less). Thus, when someone needs a tr to slide up/down, this is a nightmare. So, I devised a simple script in which we can slide a tr up or down.

Continue reading...

I had a bunch of tracks named by disc number, track number, and name, in the format "<disc> - <track>. <name>", so I wrote a quick Windows JScript tool to automate their renaming (and setting their ID3 values) through regex for me.

Continue reading...

After a rather interesting StackOverflow question, I got thinking about different types of efficiency in Java and, consequently, Android.

Continue reading...

Many people use the Date class in Android, and it's really handy. But it's deprecated in later Java versions, and in Android as well. Given the fact that it was once the de facto standard, it's still widely used. So, why not use it? You can just use @SuppressWarnings("deprecated"), right?

Wrong.

Continue reading...

Sometimes, we need to get a resource from the Android resource library without knowing its name. Perhaps we have R.id.data1 through R.id.data9 and want to fetch all 9 of them without hardcoding each one.

This has been possible since API 1, through the use of getIdentifier(). I will start off by saying that this is not as efficient as referencing R, so it should be used ONLY in the event that you cannot be sure of the ID you are fetching.

Continue reading...