Skip to main content

Posts

Showing posts from December, 2011

Hulu Plus, Netflix, and Other Streaming Video Content on the TouchPad

Disclaimer: This post isn't an outline of a clever hack to get Hulu Plus and Netflix working on the TouchPad. It discusses using the TouchPad in conjunction with an application called PlayOn that runs on Windows. Just wanted to let you know what you'd be reading about so you could bail now if you're not interested in this solution, but if you're not familiar with PlayOn I encourage you to keep reading--it's pretty slick!
One of the major holes in webOS and the HP TouchPad is the lack of video streaming apps such as Hulu Plus and Netflix. Not a problem since you can just go to Hulu and Netflix in your browser, right?
Wrong. Netflix uses Microsoft Silverlight (hopefully not for long) and therefore won't work on the TouchPad, and Hulu for some inexplicable reason actually blocks video from playing in the TouchPad's browser, even though unless I'm missing something it would be perfectly capable of doing so.
So what's a TouchPad-using streaming video jun…

Upgrading the HP TouchPad to webOS 3.0.4

If you follow me over on Google+ you'll know my latest favorite gadget is my HP TouchPad. I absoultely love webOS and think it's the greatest mobile OS on the planet (seriously), and the TouchPad hardware is exceptionally well built and polished. I have numerous tablets now (iPad 1, Kindle Fire, Nook Tablet, and the TouchPad) and the TouchPad is far and away the one that's most enjoyable to use. (In case you're wondering, the Fire would be #2, Nook Tablet #3, and iPad somewhere down in the "why the heck would I ever use that thing" range.)
If like me you were lucky enough to nab one of these beauties before they were all gone, you may find that you're running an old version of webOS and even if you go to System Updates it tells you you're running the latest version. In my case my TouchPad was on version 3.0.0 and it said I had the latest, but my brother (from whom my TouchPad was a gift) said his is stuck at 3.0.2.
While I can't tell you the why …

Setting MySQL to Allow Multiple Statements In a Single Query In JDBC/OpenBD

This came up in a discussion on the OpenBD Google Group today so I figured it was worth a quick blog post.

Depending on what you're doing with MySQL you may be in a situation where you need to run multiple SQL statements separated by a ; as part of a single query. By default this isn't enabled in the JDBC connection with MySQL, but it's easy to enable in your JDBC connection string.

When creating a MySQL datasource in the OpenBD admin, click on the "Advanced Settings" button, and in the "Connection String" box input the following text:
allowMultiQueries=true

If you're creating the datasource for the first time this will be all you need to do, but if you're adding this to an existing datasource you'll want to bounce OpenBD to make sure the connection pool is cleared out.

To test that the setting change worked, simply write a CFQUERY that contains two statements:
<cfquery name="foo" datasource="foo">
SELECT * FROM fo…