About two weeks ago I blogged about how Adobe had updated ColdFusion Builder but had – oddly – not used the regular Eclipse update mechnism to distribute the update. Instead the expectation was that users should redownload the entire product again.
While I was happy as heck to see installers updated (that makes your post-installation experience a bit nicer imo), I couldn’t understand why they didn’t release an updater.
Well I’m happy to say Adobe released the update the right way. You can now update your Builder directly in the editor itself. To be honest, none of the bug fixes were things that impacted me, but you should check the blog post to see if they impact you.
On the off chance you may not know how to check for updates in Eclipse (come on, Eclipse is simple, right?), just go to the Help menu and select
Check for Updates.
Yes, I did it again. If Adobe ever kills ColdFusion you can blame me. This is just an FYI to let folks know I’ve rewritten ColdFusion Bloggers as a Node.js site running on the AppFog platform. To be clear, no, I’m not trying to kill ColdFusion! I’m migrated off my old ColdFusion server and setting up my old sites in a simpler form because – well – I want my life to be simpler. My only real “server” will be this blog, and as I’m still adjusting the settings a bit and tuning WordPress, I want every other thing I run to be as simple and low-maintenance as possible. Plus – I also kinda want to get better at Node.js!
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.
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?
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.
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.
Yes, I’m calling this lame, consider that a warning. About a year or so ago I migrated ColdFusion Cookbook to a static site using HarpJS. While doing this conversion, I changed my URL for entries from:
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.
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.
A while ago I posted an article discussing how to handle offline and online events in Cordova/PhoneGap (PhoneGap Offline/Online Tip). While working on my book I came across some differences to this behavior that I wanted to document.