Thursday, April 28, 2011

Qt Native Client is running on the Internet

Finally, tonight, I placed the first poke at Native Client running on the Internet up on the Virtual Urantia Book site. Lots of problems though. Tomorrow is another day. First, the size of the window was wrong. Found out that you set the size of the client window in the HTML page code, not the C++ code itself. It's all very new. Also, even though, I am working with this same code on the desktop, it dies after a minute or two. I'll reduce the code till I can figure out where the problem is. Not sure how to debug the Native Client code yet.

Also, for some reason, I'm not getting anything to work on Windows XP or Windows 7. It downloads, runs for a minute and dies on Linux but at least it downloads and runs. The download stats on Windows OS show that Chrome isn't downloading it at all. Sounds like a Chrome problem on this one but I'm not sure.

Also, if your internet speed is 3 megabit, it takes 3 or 4 minutes to download and depending on the speed of your computer, another 10 seconds to 30 seconds to start. The good thing is, once it's downloaded in the background, you don't need to do it again unless the version changes and that's all automatic.

The real good news is that I know I can get it working. If you want to look at it, feel free to do so. I don't have an Apple but it might work right off the bat. Who knows at this time?

To run the Index, you need to install  the latest version of Google's Chrome browser.

After you do, type in 'about:flags' in the address line, scroll down to Native Client and enable it. Restart Chrome. Hopefully, you won't have to do that in Chrome version 12, it might be stable by then. You'll get a nag line at the top telling you that stability and security will suffer. That's normal, the option is there for us developers. There's no way it'll damage your computer though, these people at Native Client are really paranoid about security. I can't even access a file, for God's sake. After that, just visit the site and it'll download in the background and after a few minutes, it'll run.

I left the name wiggly for now, even though this is the index to the Urantia Book. I used wiggly as a template. I'll change it all later.

Anyway, it's been an eventful day. Native Client is running, even though, in fits and starts. Next week, I'll be at the Embedded Convention in Silicon valley. You know, the place where the real geeks of the computer industry are heading to, if you didn't know it, now you do. Embedded computers will wipe out desktops completely. The average home has well over 300 embedded processors (computers) in their home and are almost oblivious to it. Remotes, watches, cell phone, satellite boxes, tv's, radios, mp3 players, car brakes, cameras, thermostats, computer screens, microwaves, refrigerators, alarms, dvd players all contain multiple processors now. Also, desktop computers usually have at least 20 built in. The average new car has well over 100.

It's a completely new world.


No comments:

Post a Comment