All entries of my technical and business blog

Facebook connect: An unknown error occurred. - but why??

Mar 1, 2011 misc-web

I had been working with the facebook connect javascript API on one site and transferred over the code to another site. I changed the app ID and clicked connect. Every time I got a popup saying an unknown error occurred and they were taking a look into it.

To WWW or not to WWW

I run into this question a lot. Should my website have www in the domain name. Should I be going to aaronsaray.com or www.aaronsaray.com?? That is to say, which should be the default home page domain? Let’s discuss…

Solving the Problem, Not the Solution

Feb 8, 2011 business

Raise your hand if you’ve ever been told how to do your job… Yep. It’s happened more than once - and I’m sure you already had a flash of red and maybe some warmth come to your face even hearing that phrase. In my current position, I run into scenarios where people seem to think they have the best solution for the problem. And, you know, they may be right, but it’s not their job. This is generally a problem that either technically minded stake holders or completely ill-informed users have. Let’s dig deeper, however.

Zend_db fill in multiple placeholders

Jan 11, 2011 zend-framework

I’ve been using Zend_db to create a query which does a simple search on three columns of a table. Fortunately, I found out that the where() statement handles single parameters intelligently when there are multiple placeholders. In the case that there are many placeholders but only one parameter, that parameter will be added to each of the placeholders the same.

jQuery Validation - greedy on your forms?

Dec 28, 2010 javascript jquery

I was creating a page with two forms on it. I ran into an issue where I would fill out one form, and it would fail validation. Then, I tried to do the other form with passing fields, and it would keep invalidating the previous form on the same page.