Blog

Category Filtering: 'techie-gotchas'

15
December 2016

Gavin Pickin

CommandBox rewrites are easier and more powerful

CFML Server, CommandBox, Lucee, Techie Gotchas

Using CommandBox as my every day dev server is awesome. I know the pain developers feel, trying to run multiple versions of their server software locally. I have even presented at conferences about how to get your host machine setup to run Railo, Lucee, and ACF 9 through ACF 11 on the same machine, with a lot of headaches, but you can do it. There is a demand for that, and to be honest, CommandBox put me out of a job. Although, as great as CommandBox is, for running multiple servers, a couple of things were not that easy, a couple of things the lightweight built in webserver didn't do as well, mainly REWRITES... until now.

10
June 2015

Gavin Pickin

How to solve Authorize.net CFHTTP SSL issues with CFML Engines like Railo and Lucee

CFML Language, Lucee, Migrating to Railo, OpenSSL, Server Admin, Techie Gotchas

There was a lot of noise about CFHTTP not working when Authorize.net was planning on updating their SSLs in May this year. Will Genovese, one of the good people at CF WebTools, posted ‘ColdFusion 8 & 9 CFHTTP still works with Authorize.net’  about early testing and confirmed that ColdFusion 8 and 9, and even some of their customers using 7 had this working. Of course, just the other day, some of my customers, running on Railo / Lucee started to see some issues. This is how I solved those problems.

26
May 2015

Gavin Pickin

A quirk of Cross Platform WebSQL in Hybrid Mobile Development for iOS Android and Windows

Android, Cordova / Phonegap, Ionic, Javascript, Mobile Development, Techie Gotchas, WebSQL

When is WebSQL not compatible across devices? This is really a quick question, as if you recall reading in previous blog posts ( if you haven’t read them, I urge you to ) I am using WebSQL for my hydrib mobile app development with Phonegap and Cordova… and although WebSQL is supported on Android and iOS, it is not natively supported on Windows Phones / Devices. That is where the lovely people at MS OpenTech come in, Microsofts Open Source company, which wrote a WebSQL wrapper for SQLite to allow you to work with SQLite like you would WebSQL. FANTASTIC, until you hit those issues… so lets look at a couple of them.

22
May 2015

Gavin Pickin

Strange offline issues with Mac Mail and Gmail over Imap

Techie Gotchas

This is a super short and sweet post, mainly a reminder for myself. Using a mac, I have moved over to using Mac Mail, and for the most part it behaves pretty well.Sometimes I have noticed that I lose my IMAP mail connection with Google. You know that GOOGLE and Gmail should not be down, so what is the problem?

20
March 2015

Gavin Pickin

ColdFusion JSON serialization failure - Unable to serialize binary data to JSON

CFML Language, CFML Server, Migrating to Railo, Techie Gotchas

Recently we finally migrated some big legacy websites off of some ColdFusion 8 servers. Yes, 8, we were still running one last server, and to be honest the only things running on it were BIG higher traffic websites, that we had not got the time to migrate. We have been migrating from Windows to Linux, and CF8 to CF9 and Railo / Lucee. Baby steps, but with our legacy code not having test coverage, it became a long painful process. You would think moving from ColdFusion 8 to 9 is a breeze, and for the most part it is, but I ran into a strange issue, which I am sharing today.

11
March 2015

Gavin Pickin

Windows Store Metro App issues with jQuery Ember Angular - Solved

Angular, Javascript, jQuery, Mobile Development, Techie Gotchas

During my recent adventures with cross platform app development, I have come across a few issues,.. and solved them along the way. I had an old issue just reappear. Since the Windows Platform gives you Javascript API access to some lower level features, there are some additional security you have to deal with, one of those includes Adding Dynamic Content. This of course is a key part of jQuery, Ember, Angular and Knockout, so this by default will make developing apps for the windows store and windows devices troublesome. 
 

05
March 2015

Gavin Pickin

Did you turn it off and on again? Troubleshooting Gotchas with Cordova and WebSQL

Chit Chat, Mobile Development, Techie Gotchas, WebSQL

If you have not seen IT Crowd, you are missing out on some strange but funny geek culture... and one of the highlights of that show is the line, "Did you turn it off and on again". Sometimes with troubleshooting, the simple things can throw you off, and that happened with me recently, so I wanted to share my frustration. This might not be the most informative post, but hopefully it helps someone, so they don't shoot themselves, like I was tempted to do so.

17
February 2015

Gavin Pickin

WebSQL - When is a Javascript Object not a Javascript Object?

Cordova / Phonegap, Javascript, Mobile Development, Techie Gotchas, WebSQL

After a short break from WebSQL, I am back to talk to you about WebSQL again, as I continue my work on my Cordova / Phonegap cross platform app. Today I ran into one of those Gotchas, that cost me a couple hours of time trying to debug a strange happening in my app. It is one of those things in our developers lives, if you only knew what you didn’t know, you'd know more than you know now. In finding this gotcha, I remembered a couple of other lessons when using Web Developer tools, which you may or may not know… so I’ll share those too.

11
February 2015

Gavin Pickin

How to Work with WebSQL and Managing Multiple Deferred and Promises

Javascript, jQuery, Techie Gotchas, WebSQL

My last post with WebSQL looked at the difference between sync and async, and how you can use Deferred and Promises. The example I showed was a simple query, so we create a deferred, run the query, when the query is completed, it resolves the deferred… and our $.when is waiting for that to complete to move on. That works great in this simple situation, what if you have to loop through 50 items, and have to update each one, and after all of them have done, you want to query the list and display those updates… how do we do that? Its easier than you think. I searched over several blogs and stack overflow questions, API docs, and got it working. I thought you would love a step by step simple example to solve this problem, so here it is.

08
February 2015

Gavin Pickin

Apache and Tomcat - Save yourself the XML Editing - No more Tomcat restarts

Apache, CFML Server, Lucee, Migrating to Railo, Server Admin, Techie Gotchas

On the Lucee Google group the other day, someone mentioned a way to connect Nginx to Tomcat, so you do not need to bother adding the XML Host for every new website you want to run on Lucee (or Railo). This has always been a pain point for switching from Adobe ColdFusion, to Railo or now Lucee, dealing with a Virtual Host for Apache in httpd.conf, and a XML Host in server.xml and making sure they match, and editing requires a restart. Adobe’s ColdFusion runs on a hacked Tomcat, that they specially tuned to work like jrun used to, but a lot of people don’t like being stuck on their upgrade path too. I decided to look at this Nginx approach, and get it running in Apache, and see what downsides I could find.

Blog Search