I was registering for access to the Sencha forums (www.sencha.com) today when I saw the following on the registration form:
That's pretty advanced math for a CAPTCHA, isn't it?
So, is the math problem this:
6 – (2 x 3)
Or is it this:
(6 – 2 ) x 3
Having a degree in Physics and more than 30 years of experience as a professional software developer, I was certain I knew what I was doing. However, I'd be lying if I told you I got this right on the first try.
All of my years of experience with math told me that the actual problem I was trying to solve was this: 6 – (2 x 3). Everything I knew from high school and college told me that without parenthesis clarifying the problem, the more complicated math happened first followed by less complicated. Even Wikipedia confirmed this here: http://en.wikipedia.org/wiki/Order_of_operations.
The answer's Zero, right?
Nope, that's not the case. So, not only is the registration forum asking me to do more complicated math than simple addition, subtraction or multiplication – but it's also scoffing at normal precedence of operators and essentially forcing me to give the deliberately wrong answer which, according to them, is 12.
Site Migration Starts Today
Mon, Dec 1st 2014 10:11a John Wargo I will be migrating this site to a new hosting account starting today. I don't know how long this process is going to take, so please be patient as I work through this.
I'm migrating the site for several reasons. It's been running on one of my personal hosting accounts and I want to move it to its own account/server for performance and security reasons. It's been running on Joomla 2.5 for a while and I want to get it to Joomla 3.x. Hackers have been having some fun with my site lately, so [read] Keywords: security
Poorly Designed Web Sites
Tue, Sep 16th 2014 7:11a John Wargo As look at the world around me, I’m surprised that in the world of the connected, mobile user, that companies are still not thinking of mobile-first users. There are millions or billions of mobile devices sold every year, but companies with public facing web sites still don’t seem to notice and I’m really surprised by that.
The local Charlotte BIG insurance company is Novant Health, and they’re usually pretty organized. I was in one of their facilities a while back and noticed that ther [read] Keywords: css
Bootstrap Complete NavBar Example Application
Mon, Sep 1st 2014 6:12a John Wargo I had an idea a while back for a web application I wanted to create. I’d not worked much with Bootstrap (http://getbootstrap.com/) and wanted to have some experience with it, so I thought I’d play around with building the app I wanted using the framework.
The Bootstrap web site is pretty detailed, and I quickly found an application template I could use for my application. As I poked around, I noticed that the template allowed me to add a simple menu to my application and that worked for me. [read] Keywords: application
When to Check for Updates
Mon, Aug 11th 2014 7:12a John Wargo I’ve been trying to build a sample application using Ionic, an HTML5 framework specifically designed for hybrid applications. I read the instructions, downloaded the code and initiated the command to create a new project.
What happened? Failure.
I posted my issue on their forum only to be told that my Cordova development environment must be old. I explained that it was all up to date and working perfectly for every other Cordova development I’ve ever done and what I got for my trouble was [read] Keywords: application
CEF & Monty Python
Mon, Aug 4th 2014 8:16a John Wargo Note: The original title for this post was supposed to be ‘How is the Chromium Embedded Framework Documentation like a Sketch from Monty Python’s Meaning of Life?’ but the title was just too long.
I was getting some exercise yesterday and came up with an idea for an app I wanted to write. The app needed to work for Windows as well as Macintosh, so I started thinking about how I’d do it. I’m a big Delphi developer, and the recent Delphi tools support Windows & Macintosh, but I imag [read] Keywords: application
Free Introduction to Apache Cordova
Thu, Jul 31st 2014 5:15p John Wargo Whenever I publish a book with my publisher, they always pick one chapter and post it online for anyone to read. Picking the right chapter has always been a challenge for me because I want them to publish a chapter that’s interesting enough to make you want to buy the book while at the same time not being so good that you get everything you need and don’t buy the book.
Get it? Please buy my books. I write them because I like to write and think I have a special skill when it comes to describ [read] Keywords: development
Apache Cordova API Cookbook Print Copies
Sun, Jul 13th 2014 7:12a John Wargo Print copies of Apache Cordova API Cookbook arrived on Friday; my expectation is that they will be available for shipment from Amazon.com and other retailers by the end of next week.
This book, along with my Apache Cordova 3 Programming, provide 600 pages of coverage for Apache Cordova. These two books give mobile developers everything they need to be able to write cross-platform mobile applications using Apache Cordova or Adobe PhoneGap. [read] Keywords: applications
Apache Cordova API Cookbook Kindle Edition
Fri, Jul 11th 2014 3:11p John Wargo I was poking around on Amazon yesterday and noticed that the Kindle edition of Apache Cordova API Cookbook was published back in June. You can get your copy immediately using the following link: http://www.amazon.com/gp/product/B00LB6X2SO/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00LB6X2SO&linkCode=as2&tag=mcnsof-20&linkId=AXKNHCPITM4FNLNK. [read] Keywords:
PhoneGap Essentials Sales
Thu, Jul 3rd 2014 7:11a John Wargo I keep hearing from readers who have just started reading my PhoneGap Essentials book. That book was published more than two years ago and PhoneGap has changed dramatically since then. The code in the book should still work - not much has changed on the API side of things. The content covered in the first half of the book however is no longer valid. I rewrote the first half of PhoneGap Essentials last year and released it as Apache Cordova 3 Programming in December. That book takes the first [read] Keywords: development