Random Chuck Norris Fact Generator With A Twist

I had some spare time yesterday and decided to put together what I think is a fun little single page website. It displays a random Chuck Norris fact. The fun part is that you can add your name to the site (or someone else) to make the facts about them.

Check out Chuck Norris Facts vs Betty White Facts vs Ben Nadel Facts for examples. My favorite is Betty White facts so far.

The code is simple. Some CF with ORM. Took about an hour to write the core including the admin module of the facts. In fact it took a lot more time to find facts then it did to code up.

Anyway, comment here if you have suggested Chuck Norris facts to add.

Applying ColdFusion Security Patches Gotcha

A friend of mine has been having trouble getting a particular ColdFusion security hotfix applied APSB10-05. He follows the instructions in the KB article, however scans indicate the vulnerability exists.

As it turns out, this fix involved replacing some .jar files in the CF lib folder. The instructions state to make a backup of the files. In this case my friend simply copied them to the same folder. So flex-messaging.jar became copy-of- flex-messaging.jar. He then put up the two new .jar files and started back up the CF service.

The trouble is, those copies were still being loaded. CF loaded all the jar files in the folder, and presto bad jars were again loaded. Once he stopped the service, took the old jar files completely out of the CF install, then restarted everything passed inspection just fine.

A couple things to consider.

1) Just because you applied a hotfix doesn't mean it is applied correctly. 2) You should run scans to confirm. I recommend Hack My CF.

Privacy, Walled Gardens, Standards and Our Future

For those not following the tech sphere you are missing out on some very interesting times. Facebook is becoming, or has become, the biggest website property on the planet. It is also facing a lot of backlash about its privacy stance. Apple is at the top of its game releasing fantastic consumer products, and is also facing a fair amount of criticism from many angles plus significan't mobile OS competition. Web standards have replaced religion as the new most contentious topic to debate. I am loving every bit of it.

At the same time we see some very interesting technology trends. The smartphone world is blowing up. Apple dominates the chatter, but is under heavy fire from Android which is growing quite rapidly. Apps have become the hot new thing, however most never see profitability. The future of apps is in contention, with Apple betting the farm with a walled garden and app store focused on apps, and Google creating a whole new operating system that does away with apps entirely (everything is a website).

There are many questions regarding the future.

Will Facebook keep it together? They are seen by some as biting the hand that feeds them by scaring users with privacy missteps, and forcing game companies to use their new virtual currency. Many regard Facebook as an indestructible force, but remember, MySpace was in their position not all that long ago. Giants can and do fall.

Is Apple's strategy a good long term strategy? Apple protects it's customers, and its revenue. You can't buy any app unless through their app store. And Apple approves every app. This is normal course for phone companies. Until Google came along. Google has changed the model, and is rising rapidly. Will Apple's model survive? Will Apple's heavy handed approach to Gizmodo, Adobe and other vendors end up with long term consequences? Will apps pan out as what users really want? Remember the time you went to a software store to buy software? How many software programs do you buy now? How many have you replaced with websites (gmail, google docs, mint.com, etc). Is the focus on mobile apps a short term blip or simply a natural course of action for the medium? How does HP's purchase of Palm change things? What about Windows 7 Mobile?

Is HTML5 actually what people think it is? Will it be adopted by a majority of browsers (and consumers) any time soon? Can't we all just get along? HTML5 isn't ratified, and wont be for many years. Even the video tag, which would be so very useful, is in contention. FireFox and WebKit use different video codecs, and IE doesn't currently support it at all. And that is just one tag of HTML5. HTML5 support on mobile devises is much more robust. Most new mobile smartphones use webKit and so at least offer the same supported feature base. What about H.264 video? It isn't an open standard. People must license its use. But it has become the most popular codec for HTML5, and is used in Flash. Speaking of Flash... Much of what Flash can do, isn't doable in HTML5. At least not yet. But Apple doesn't want to support Flash, and others are calling for its head. So what are developers to think? Do consumers really care? When do we get to start arguing HTML6? Why doesn't anyone argue about Silverlight or JavaFX these days?

Interesting times indeed. While I may, at times, express frustration at some of this I am actually quite in love with it. Innovation is moving at such a rapid pace simply going on vacation puts us behind. Just wait until we get to the really interesting stuff. Facial and voice recognition becoming a part of gesture support in devices. Images appearing on any surface or in mid air. Biomonitors embeded into clothing or even mini tattoos. Chemical sensor inputs into mobile devises. Could we finally have a real tricorder?

What questions about the future do you have? What future technology gets you jazzed?

ColdFusion Security Update

A hotfix has been posted for CF versions 8 and 9 on multiple OS's. There is a cross-site scripting vulnerability. Just in case you may have missed others, you should check the full list.

If you are like me, you may not remember doing each of them, and 'probably' isn't good enough. So I also periodically run this website, hackmycf, against my server to double check.

CF Builder Rocks plus lolcat

As some of you probably know, ColdFusion Builder has been launched. ColdFusion Builder is an IDE for Adobe ColdFusion. I have been using it in beta form for months. So how much do I like it?

I know not everyone has a budget to buy it right away, but for a v1 product CF Builder is pretty great and certainly saves me time and money. Plus it comes with Flash Builder 4 Standard. Which makes it a pretty amazing deal if you ever wanted to look into Flex, or already work with it.

NCDevCon - ColdFusion Basic to Advanced

NCDevCon (this May 22-23) is shaping up to be pretty great. I had a great time last year and am eagerly awaiting the conference once again.

Today Dan Wilson posted something interesting about the conference. They have a LOT of registrations already, and of them a good portion are people who are brand new to ColdFusion. That is great for the CF community and presents a nice opportunity for other, more skilled developers, to help out.

NCDevCon needs speakers to review some basic tasks in CF. I bet everyone reading this blog could think of something they would be able to present on which would provide value to new CF developers.

If you are new to NCDevCon (formally CF in NC) it is a FREE two day conference on CF, Flash, Flex, AIR with JS and CSS mixed in. The event is very professional and has excellent speakers lined up. It is well worth the price of a flight/hotel to attend.

Flash Camp Boston

They just announced Flash Camp in Boston March 19th and it's free!

Ryan Stewart blogged about it and boy it looks exciting. They will be covering Flex 4, Flash Builder 4 and a bit of ColdFusion Builder. Doing the presentations are a good number of the engineers.

Register sooner rather then later, as these have sold out (free) in the past.

Personally I am most excited about Flash/AIR on mobile. It looks like the agenda doesn't fit much time in for that. Hopefully mobile discussion is a natural part of other sections of the agenda as well. If nothing else we can pin the engineers down during the breaks.

If that didn't sell you on the event (free) they will also "be providing the beer, food, prizes".

New Blog Design

I made a few goals for 2010 related to my sites and this weekend I finally crossed some off my list.

I vowed to work on my online brand, blog more and differentiate my personal portal/brand from just being my out of date and sloppy blog.

First thing I did was create a new website. Yes yet another site! It is a one page mini portal of all things me. I put it under joshuacyr.com. The new site aggregates my social media, blog, projects, etc. The idea is that over time I can simply pull in more feeds from sites that I participate in and have them auto populate my page. This is still in its infancy, as I haven't decided if I want to include and or how to include sites such as flickr, facebook, linkedIN, etc. So right now it is just recent blog feeds and twitter posts (filtered) plus select photos.

Next I upgraded this blog to the latest version of BlogCFC, and boy was I way behind. As usual I made the process a much bigger deal than it actually was. Mostly because I was dropping the old design anyway.

Finally my friend Robert Squier, who works at Harbour Light Strategic Marketing, helped me this weekend with a new design for both sites. I owe him a few beers.

There are still a few things I need to do. I am not sold on the image scrolling system at the bottom of my personal page. I still need to add a few more links to projects as well. The headers for both sites are near identical. I think that may be a bit confusing. I also need to add an actual editor into BlogCFC. Just ran out of time.

I am very open to constructive criticism, so let it fly.

Pre-Conference Training at cf.Objective()

Did you know that there are a BUNCH of training opportunities just before cf.Objective() this year? Some are just one day, others two full days. All of which have great instructors.

Building Secure CFML Applications (April 21) - Jason Dean and Pete Freitag

Coldbox:100 Training (April 21) - Luis Majano

Developing Applications with ColdFusion 9 Object Relational Mapping (ORM) (April 20-21) - Bob Silverberg and Mark Mandel

Getting Started with Flex and AIR Development with the Flex SDK (April 21) - John Mason

Mach-II and OOP from the Ground Up (April 20-21) - Kurt Weirsma, Peter Farrell and Matt Woodward

Rapid Development with Model-Glue 3 (April 20-21) - Dan Wilson and Ezra Parker

FireFox 3.6 KTML Editor Fix

With the introduction of Firefox 3.6 today I was alerted that the KTML editor used by some clients wasn't fully loading. The error indicated a missing setter. It turns out it is an easy fix.

In the file

/ktm/core/mozilla_ie_compat.js

you will find

view plain print about
1obj_doc.readyState = "complete";

This line is trying to set what FF 3.6 apparently thinks is a read only variable. I removed the line. So far no issues.

Next the file:

/ktm/modules/css/scripts.js

view plain print about
1if (this.edit.readyState != "complete") {
2setTimeout(function () {
3_this.init_fillCssClasses();
4},
5400);
6return;
7}

As a dirty hack to test I simply changed it to

view plain print about
1if (1 == 0) {
2setTimeout(function () {
3_this.init_fillCssClasses();
4},
5400);
6return;
7}

Basically the code always waited for the complete value in the readystate but firefox wasn't setting it. So it would never fire. Now we force it to fire by skipping the reload timeout.

So far these are the only two items to fix and the editor is working back to normal. However I am not 100% certain other issues may not come up.

The javascript is minified, so can be hard to read. If you ever need to read it there are some online utilities to help make it readable again. I found this one to be very useful.

More Entries


NAVIGATION

Home
About Me

RSS


Search

Subscribe

Enter your email address to subscribe to this blog.

Recent Entries

Inception Plot Questions
Random Chuck Norris Fact Generator With A Twist
Virtual Currency for Buses
Applying ColdFusion Security Patches Gotcha
Privacy, Walled Gardens, Standards and Our Future

Recent Comments

FireFox 3.6 KTML Editor Fix
rock guitar said: Is the ktml realy discontinued for dreamweaver [More]

FireFox 3.6 KTML Editor Fix
Joshua said: Hi Wayne, I just tried opening the editor in IE from the link you supplied. I was able to open the ... [More]

FireFox 3.6 KTML Editor Fix
wayne said: Hi everybody, thanks for your reply joshua. I still have a bug for ktml in asp for a link properties... [More]

Inception Plot Questions
said: [More]

Inception Plot Questions
Taylor said: Hey there Josh, Great questions all. You seem to think this is more of a Jacob's Ladder equivalent ... [More]

Calendar

Sun Mon Tue Wed Thu Fri Sat
   1234
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30   

Archives By Subject

blogs (31) [RSS]
books (4) [RSS]
Crazy (39) [RSS]
DIY (8) [RSS]
Flex (3) [RSS]
games (10) [RSS]
GRRR (13) [RSS]
Ideas (11) [RSS]
Local (14) [RSS]
LOLpics (2) [RSS]
money (9) [RSS]
music (3) [RSS]
Personal (27) [RSS]
Photos (8) [RSS]
Politics (8) [RSS]
Projects (22) [RSS]
Review (19) [RSS]
RPM (9) [RSS]
Spam (16) [RSS]
Technology (68) [RSS]
Testing (3) [RSS]
TV (15) [RSS]
video (32) [RSS]
Web Dev (224) [RSS]
World of Warcraft (16) [RSS]