Jonathan Sundquist

Web Developer, User Group Organizer, Husband, Father

Learning is half the battle

01/02/2013 6:30 PM

Over the course of my Christmas vacation I decided to completely revamp my personal blog. My original goal was to merly make the entire site a responsive design. Once I started to play around with Twitter Bootstrap, I ultimately decided to ditch my current Wordpress implementation and try my hand at one of the micro frameworks I learned about at Codeworks 2012: Madison. To my surprise after a few minor hickups I was able to get the entire site up and running within only a few hours.

 

Read More

Client-side JavaScript testing

10/08/2012 2:26 PM

With the direction in which the web is moving more and more of our code is being pushed to the client side and off of our backend servers. This opens developers up to more challenges with making sure we don't break our frontend code in the same fashion as we have done for years with our backend code. Developers for many years now have written unit tests that can be run over and over again to verify that any minor or major change will not break our existing code base and that the application runs as it did before prior to the change.

 

Read More

Twin Cities Code Camp 13 Summary

10/08/2012 7:34 AM

Yesterday I attended my first Twin Cities Code Camp. Needless to say I had a blast. There were around 350 people attending around 40 sessions through out the day. It was a great day. I was able to learn about many technologies that I have been interested in and also learned some new techniques as well.

 

Read More

IE8 and ISO Date Format

09/17/2012 8:11 AM

Oh IE8, or even IE for that matter, how I dislike having to create hacks in code just for you. Today is looking to be one of those days. This morning while trying to resolve a bug in parsing a date in IE8 using a standard ISO timestamp I had the wonderful fortune to find out that they are not supported in IE8. Yup that's is correct. IE8 does not support standard ISO timestamps, only non-standard ISO timestamps.

Take the following timestamp for instance, 2012-09-17T09:05:00, that timestamp will not work in IE8. It will parse correctly using new Date.parse("2012-09-17T09:05:00") in any browser except IE8. According to this article on Microsoft's MSDN library site about Formatting Date and Time Strings in Javascript at the bottom of the page is the all important notice:
ISO Date Format is not supported in Internet Explorer 8 standards mode and Quirks mode.

So while working with IE8 you now have to take the above timestamp and split it out. At first I thought I might even be able to split it out into just the date and time without the T. Nope. Wrong. You actually have to fully reformat the string into mm/dd/YYYY hh:ii:ss. Pretty much a pain in the you know what and adds a lot of extra code you don't need for all other browsers out there.

 

Read More

Tail of two servers

02/23/2011 2:37 AM

Over the past weekend I was asked by a good friend to set up a second linux server for him to do database backups of his primary server linux server I set up a few weeks back. The original server I set up for him was a CentOS 5 server so that he could run MantisBT bug tracking software. Honestly it's a great piece of software for what he is looking to do, which is mainly track trouble tickets from different customers.

When it came to finally getting the second server set up I started to think about it, although I like the install interface of CentOS and I currently love being able to have a GUI interface (personally like using gnome), I decided to use Ubuntu 10.10 server instead this time around. I have to say over all I'm really enjoying how easy it is to get Ubuntu up and running. I felt as though the install of Ubuntu went a lot smoother then the install of CentOS. Even though I didn't run into any issues with the CentOS install the set up of the server components and the upgrade of the components I feel is a lot easier using apt-get instead of yum. Maybe it comes down to personal opinion, but over all it just seems easier to use.

One thing I did decide to do while doing my install of Ubuntu was to set myself up to use putty ssh keys to login instead of the typical login/password. Currently we use the same setup at work to be able to login to each server, and honestly it makes logging in so much easier. The nice thing once all is said and done with both servers is I will be able to log into each without a password, only thing that I will need to remember is which ip address goes to which server. If your looking to set something like this up yourself I highly suggest this tutorial, http://www.howtoforge.com/ssh_key_based_logins_putty.

Well I think I have rambled on for long enough this evening. Its time to take a look and figure out why I am not able to access the Ubuntu mysql server, betting its locked down to only be accessed via localhost.

 

Read More