6751047205_2df88f2ddc_z

Front-End Interview Questions

A few days ago, either someone tweeted or someone shared with me an interesting document: Front-end Developer Interview Questions. This document (well, Git repo really) is a large set of questions that could be appropriate for interviewing someone for the role of a front-end developer. While this was new to me, apparently this document started way back in 2009 (did we even have browsers then?) and has had contributions from quite a few people.

Continue reading

Drag and Drop on File Inputs in HTML

A big thank you to Sara Soueidan for sharing this on Twitter. I’ve worked with a few web apps that allow for drag and drop file uploads and when it works well, it is really handy. In fact, being able to drag and drop an image onto my WordPress editor is one of the things I’m most happy about since my migration. But did you know that you can drag and drop a file onto a regular HTML input file field?

Continue reading

PhoneGap/Cordova Tip: Working with files under www and Android

This is a topic that has come up a few times in comments recently but I wanted to post something a bit more explicit. First and foremost, you cannot use the File system APIs to work with files under the www folder. The docs for the File plugin incorrectly states that you have Read access to the application directory (which would contain www) but that is incorrect.

You can use XHR to read in files from under www. For text files this is rather trivial. For binary data you want to be careful before reading in large amounts of data. Remember that you can work with binary data via Ajax using XHR2 (spec and support levels).

Finally – one problem you may run into is supporting a dynamic list of files. Since you can’t read the directory, if you want to support a random set of assets under www then you would need to ship a file that contains a list of those resources. You would then do an XHR to that file, get the list, and process as you see it.

Alt-History on TV – The Man in the High Castle

As readers know, I am a huge fan of alt-history. It has been a while since we’ve had any on TV (earlier seasons of Fringe), but I was stoked to discover this week that Amazon Prime has created a new adaptation of Philip K Dick’s famous story, “The Man in the High Castle.” While one of the more common alt-history types (Nazi Germany wins WWII), the story is quite fascinating and well worth a read. If you have Amazon Prime, you can watch the premier now.

Continue reading

New Year, New Job

I’ve been leaving hints the last few weeks that this was coming, but today I can finally share with all of you. When January ends I will be leaving Adobe. I joined Adobe a few years back as an evangelist, something that had been a dream of mine for nearly a decade. I joined a team of really smart and talented people. I had no problem considering myself the worst person there. That wasn’t a slight on me at all but merely how damn good the team was. I joined Adobe at an interesting time. Not long after they begun a serious push into web standards. I saw some amazing tools get created (Brackets, Edge Animate, Inspect) and something I never thought I’d see – folks mentioning Adobe at web conferences. Sure it may have been, “Can you believe *Adobe* is doing this?” but that was perfectly fine with me.
Continue reading

Know WordPress? Need some advice.

Ok, time to throw in the towel and ask for help. ;) After upgrading the virtual server this blog runs on to a better level of hardware (1.7 gigs of RAM versus 0.6), my uptime improved quite a bit. But I still get – a few times a week – the infamous “Error Establishing Database Connection” issue. I’ve got a monitor set up for it now so I can reboot quickly, but last night it happened about an hour and a half after I went to bed so it was down for hours.

I’ve Googled quite a bit but most of what I’ve found focuses on the issue happening immediately and focus on your authentication values for MySQL. Obviously that isn’t the problem. Other items I found focus on using caching plugins to help with performance. I’m using WP Super Cache so I’ve already done that.

So – any ideas? All I can think of is to try to find out if MySQL isn’t using as much RAM as it can. Maybe there is a setting where I can tweak that higher.

ColdFusion Builder 3 Updated (and I bet you didn’t know…)

Did you know ColdFusion Builder 3 was updated? There was a tweet and blog post about it: Remote server settings lost after restart, now fixed in ColdFusion Builder 3. Unfortunately, the normal way of doing updates, the method that was actually used already for CFB3, was not applied here. You can’t use the “Check for Updates” method to get this update. Instead, you must download the installer and reinstall CFB3 from scratch. Now – I’m happy that the installer was updated – that’s something I’ve wanted to see for CF server for some time. (Even with the new updater, it would be nice if the bits you get were 100% updated.) But I don’t understand why the usual mechanism for Eclipse-based projects wasn’t used. I’m trying to find out if this will happen in the future for folks who may not want to do a complete update.

In case you need reminding, the link to download CFB is http://www.adobe.com/go/trycoldfusionbuilder/.

Quick show of hands – of my readers using CFB3 – how many of you knew about the update?