Palindromic Word: Answer

Posted by Sean on Feb 19, 2009 under

Earlier this week I posed a simple programming question on how to determine if a string is a palindrome .  That was the first interview question I've recieved in my career, and wanted to share it.  Now I'll share my answer that I gave back then.

Interview Question: Palindromic Words

Posted by Sean on Feb 17, 2009 under

Interviewing as a programmer is always kinda fun (in my opinion).  The developers already at the company get to ask you fun challenges to solve (and what programmer doesn't like to solve problems).  I just rememebered one of the first questions I'd been asked on an interview, and I wanted to write a post on how to solve the problem.  But then I felt it might be nice to get others trying first.  So I'll offer the question, and then I'll offer my own answer in a couple days.

Job Title: Web Magician

Posted by Sean on Feb 12, 2009 under

I vote that because of the amount of "magic" we achieve using Javascript and server-side programming, we should be called developers no more!

Instead, call me Magician from here out.

Make Draggable Items Dockable

Posted by Sean on Feb 10, 2009 under

I've been working on a RTE using Mootools, and I wanted the toolbar to draggable. I always like it when I can drag something to the edge and it will dock itself. So, I extended Drag.Move to allow docking: Drag.Dock. With this class, which requires Drag and Drag.Move from the Mootools More, the draggable elements can now be docked to any side of the window.

Making Objects in an Array Unique

Posted by Sean on Feb 06, 2009 under

I was doing some sorting of Models in PHP.  Unfortunately, I didn't have the luxury of letting the SQL do it all for me.  Usually it does.  But besides sorting, I had to make sure I didn't have any duplicate entries, since I was merging arrays with different queries.  My first hope was PHP's array_unique method.