Software Engineer. Geek. Technojunkie.

Post navigation

About Devin

I'm a software developer for a large company and have a lifelong passion for technology. I learned to type on an Atari 400 on my father's lap and started programming basic when I was 11. I haven't stopped programming since.
I have a strong background in ASP.Net and C# development and any of the related web technologies that it requires. [CSS/JavaScript/SQL]
Lately I have been focusing on producing highly maintainable code. I dabble in iOS development but still consider myself very much a novice on the platform.

I absolutely deplore companies that bundle toolbars with their products in an attempt to monetize them. I can’t tell you how many times I will be asked to help someone with their computer and I’ll find a browser that has 4 or 5 toolbars installed on it.

I’ll tolerate this behavior from little companies that are maybe trying to get their foot in the door and survive while giving their products away. But when large companies, like Adobe bundle McAfee with Flash or Oracle bundle the Ask toolbar with Java I just find it absolutely disgusting.

For a long time, Mac users were spared this garbage by Oracle but they’ve recently decided that we’ve had it too good for too long so as of Java 8 Update 40 the ask toolbar has come to Mac too. Check out more coverage over at Zdnet which is where I originally saw the story.

Disable Sponsored Offers via Terminal

If you want to prevent this from happening run these two Terminal Commands prior to updating to Java 8 Update 40.

I’m working on a side project and needed to validate if an email address format was valid. I started doing searches and found a very interesting article by Ross Kendall. His javascript implementation strictly implements RFC822, which although out of date [RFC2821 & RFC2822] is better than most alternatives that I came across.

My biggest issue with his script was that it didn’t require the domain to be at least two parts. This meets spec and is certainly not a bug, however for all practical purposes online it would allow unsuitable email addresses. I know just enough about regular expressions to realize it was a simple fix to make multiple domain parts required. So I made the following modifications

I added an optional requiredFQDN parameter that’s intended to be a boolean value.