I recently had to add build time Javascript validation to an ASP.NET project. It took me quite a while to figure out how to do so in a (reasonably) maintainable, understandable way. I’m using Visual Studio 2010, and the project targets .NET 3.5. The same approach would work fine if the project was targeting .NET … Continue reading jshint in msbuild
Category: Uncategorized
Best way to use HttpClient in Android
Many Android applications access the Internet resources over HTTP (and my projects are no exception). There are 2 common ways to do that: use Apache HttpClient 4.x (which is included in Android) or use HttpURLConnection (from Java). Google stated in a September 29, 2011 blog post that they prefer you use HttpURLConnection, but many apps … Continue reading Best way to use HttpClient in Android
My First Android App: CallerID
I’ve been looking for an excuse to write an Android app, and those annoying “unknown number” phone calls presented themselves at the perfect problem to solve. My CallerID application consists of two parts: a service that runs on a server and given a phone number returns the information associated with it, and an Android app … Continue reading My First Android App: CallerID
The Coming IPv6 Evolution
Learn why IPv6 is important and how IPv4 exhaustion will affect you
Facebook Went Down – Did You?
Facebook’s downtime affected 1,000s of sites. Is having a single point of failure worth it?
Microblogging inside the Firewall
Cross posted to Molecular Voices. Please comment there. Little strings of text are big business – both publicly and inside the corporate firewall. As we all know, Twitter is pretty big – TV and radio ads for major companies mention their Twitter sites and even business cards reference Twitter URLs nowadays. But Twitter cannot be … Continue reading Microblogging inside the Firewall
Running Ubuntu in VMWare
VMWare is a leading (if not the leading) virtualization solution. Unfortunately, it is also proprietary software, which means that distributions tend not to care too much about it (and in my opinion, rightfully so!). My employer is one such company that uses VMWare, and it recently instituted a policy that all VMs must have VMWare … Continue reading Running Ubuntu in VMWare
oEmbed
oEmbed is a relatively simple concept, which can be basically thought of as hyperlinking to the next level. According to oembed.com: “oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user … Continue reading oEmbed
Install JBoss 4.2 on Centos/RHEL 5
I was recently tasked with installing JBoss 4.2 on Centos/RHEL 5. I found the experience remarkably difficult, so I figured I should share it for my own future reference, and hopefully to also save the sanity of whatever other poor souls are tasked with the same project. Start off with RHEL 5 or Centos 5 … Continue reading Install JBoss 4.2 on Centos/RHEL 5
Compression (deflate) and HTML, CSS, JS Minification in ASP.NET
As I’ve already demonstrated, I like performance. So I cache and compress a lot. When I was put onto an ASP.NET project at work, I obviously wanted to optimize the site, so here’s what I did. Taking some hints from Y! Slow, I decided I wanted to: Get rid of all the MS AJAX/toolkit javascript, … Continue reading Compression (deflate) and HTML, CSS, JS Minification in ASP.NET