Getting VisualVM to Connect to Railo 4
VisualVM is a great Java VM debugging tool that can show you VM performance as it runs your code. Since Railo runs on Java VM, this is a great tool to see if your code is leaking memory. NOTE: This setup is on a debian linux box running railo installed via the script with an apt-get install apache frontend. This should behave similarly [...]
Building Smarter Forms to Block Spam
I personally hate captchas. Sure they are a great way to stop spam but they are an even better way to stop real users from using your site. And once you understand how they work, they aren’t even that great. Most take a word that it knows, and then takes a word that it doesn’t know. If you want to have some fun, the easier of [...]
Things to know about ColdFusion
I took a job to program in ColdFusion and to be honest I’ve never coded in ColdFusion before. Though I’m not a one trick pony either, my list of languages is ASP, PHP, Javascript, C, C++, X86 Assembler, MIPS Assembler, and some JAVA. I normally don’t have too much trouble flowing between them but I am the strongest in [...]
Some Things I Have Learned Running Websites
Over the years I’ve managed or launched over 30 websites. Here is a list of the mistakes that I’ve made and hopefully will help you not make similar ones. Separate your domain company from your hosting company One day your hosting company will fail you and you will want to move, but if you run your domain through them, [...]
First Impressions of Windows 8 — is it worth it?
I wouldn’t be in any rush. I work as a web developer for a place that has Microsoft site licensing, so we get free upgrades to the latest windows. Today, I installed it to 2 non-critical machines and this is my story. UPGRADE INSTALLATION Personally I hate upgrades compared to full installations, but with the amount of [...]
Javascript JS new Date() format in different browsers
So if you ever use the command “new Date();” this is what you will get from various browsers Google Chrome: Thu May 03 2012 12:40:00 GMT-0500 (Central Daylight Time) Firefox: Thu May 03 2012 12:40:00 GMT-0500 (Central Daylight Time) Safari: Thu May 03 2012 12:40:00 GMT-0500 (Central Daylight Time) Internet [...]
Remote Desktop into Console Session
If you have used remote desktop to a Windows 2003 or 2008 server, you know it likes to open a new session. Which normally is great so you don’t disturb someone using the server’s console but sometimes you need access the main console because a program that can only run one instance may already be running on the console. Goto [...]