Categories
Uncategorized

This one boots to eleven…

iMac

While at PhotoCamp, Kevin was kind enough to let me see his Cr-48, which is a Linux laptop from Google which relies on The Cloud™ to do its magic.

For some reason, one of the features he showed off was the ability to boot up really quickly. In fact, he counted while he booted up. I wasn’t too impressed.

Actually, I think my comments were along the lines of “Yeah, it takes my MacBook longer to boot up, and boy, that sure annoys me every 4 to 6 weeks…”

Honestly, I rarely shut down my MacBook, and instead just put it to sleep. Waking up from sleep takes a few seconds at most. Still… I thought I should test things by shutting down and booting it up again. To get to the login screen from a cold boot took about 1 minute. Logging in took about 1 minute. Launching Firefox (and loading 4 tabs) took less than a minute. So in total, it was probably under 3 minutes to boot up.

Believe me, I know boot time is important. The RED ONE boots fairly slowly. in fact it’s been said that when booting up the RED, it’s the longest 90 seconds of your life.

Besides all that, the Cr-48 looks like a fairly nice little laptop, despite the fact that it’s all hobbled in what it can actually do in the world of media creation and hacking…

Categories
Uncategorized

Visitor Stats

For some reason (probably the whole “end of one year, beginning of another” thing, I felt like grabbing the visitor stats for this site.

I hadn’t realized that it was only about 6 months since the last time I did this. Even better, now we can compare! See the July 2010 stats if you want to review.

Visitor Stats

Compared to last time, Firefox is down, while Chrome is up. I guess that’s not surprising. Chrome is gaining in popularity. As for this site, I write about Firefox and Mozilla a lot more than I write about Chrome, so I’d still expect some good Firefox numbers.

Internet Explorer is down (thank goodness!) but so is Safari. I’d almost expect Safari to go up a bit due to the iOS… but I guess not.

Visitor Stats

Windows went up slightly, while the Mac stayed about the same. iPad went from less than 2% to over 11%. I really didn’t write much about the iPad until the end of December, of course, a lot more iPads are out there now.

Visitor Stats

The interesting number here is the second one, 768×1024, which I believe correlates to iPad in portrait mode. Very interesting! The other numbers are all pretty close. Do I really have that many visitors to this site using iPads?

I’ll have to remind myself to check the numbers again in 6 months…

Categories
Uncategorized

Charts & Graphs

I’m in need of graphing some data, and since I looked at the Google Chart Tools long ago but never did anything interesting with it, I figured I’d give it a spin.

Google’s API is pretty simple to use, you feed it a URL, and you get an image in return. Here’s an example expanded out a bit:

http://chart.apis.google.com/chart?
  cht=lc&
  chs=600x400&
  chg=10,5,5,5&
  chco=ff0000&
  chxt=x,y&
  chxr=1,0,100,5|0,0,24,1&
  chd=t:3,3,3,3,3,3,3,65,38,46,60,59,56,58,36,21,13,62,2,3,3,3,3,2

Each parameter controls some part of the image you get returned. (Want to see it? View the URL.)

You should get something that looks like this:

Chart

Wow… but not really. This is probably one of the simplest examples of a chart, but it serves my purpose.

Of course, since I’m not always content relying on others to host my data, I wanted a way to generate and store the image. You can do that too…

curl -o 20101130.png 'http://chart.apis.google.com/chart?cht=lc&chs=600x400&chg=10,5,5,5&chco=ff0000&chxt=x,y&chxr=1,0,100,5|0,0,24,1&chd=t:3,3,3,3,3,3,3,65,38,46,60,59,56,58,36,21,13,62,2,3,3,3,3,2'

Just use curl to make the request and store the image in a file named 20101130.png (or whatever the date is, or file name you’d prefer.) Obviously you’ll need curl installed. If you need to generate a new chart everyday this is ripe for automating.

I also looked at jQuery Visualize as an option. It’s quite different than the Google Chart API as to how it functions.

Chart

With jQuery Visualize you don’t actually create a chart. Well, you do create a table of data, and jQuery Visualize does all the heavy lifting and creates the chart based entirely on your well-formed tabular data.

I sort of like this approach because there’s no external image files to generate, host, or worry about. You just make a table, and include a bit of Javascript. (Of course there are other concerns/issues, but simplicity is pretty high.)

I’m still evaluating what my final choice will be for my current project. If this were 10 years ago, I probably would have used Perl to generate the image files. If it were 5 years ago, I probably would have used Perl to generate some SVG files…

jQuery Visualize uses the HTML 5 Canvas element, so they get some points in the “innovation” column I guess… Also, jQuery Visualize requires less math, and in my world, the less math I have to do, the better!

Categories
Uncategorized

Chrome Annoyance #137

View Source

Here’s a Chrome annoyance… I don’t like that the ‘View Source’ command is under a menu titled ‘Developer.’

It’s bad enough that it’s a submenu and not readily apparent at a top level, but to stick it under ‘Developer’ seems almost as bad as putting it under a menu titled ‘WARNING!’

I’m sure the people behind Chrome believe they are making things simpler for users, right? I mean, such things should be hidden from the “normal” people, as they wouldn’t understand it.

But the thing is… when I learned to write HTML, the number one tool to aid in learning was the ‘View Source’ command. I know this was 15 years ago, but I’m not convinced a better method has come along yet. (If it has, let me know.) I’ve always liked that the ‘View Source’ menu was up front, easily available, calling out to anyone curious as to how a web page worked. Just a click away…

I always feared that a browser would come out that didn’t include a ‘View Source’ option, but I’m pretty sure even Internet Explorer has one.

Oh, and another thing (consider this #138) why do they hide the protocol? I actually like to know if it’s http or https and have the ability to easily toggle between the two. I guess I’m just a developer and these things scare and confuse normal people though…

(And yes, I know the screenshot is Chromium and not Google Chrome but the UI is the same in both.)

Categories
Uncategorized

Evil-O-Mator

Evil-O-Mator

I unveiled the Evil-O-Mator during the September 2010 Web414 “Mystery Show!” It will tell you if your favorite web company is evil.

You may want to ask about Google, or Facebook, or maybe even… Twitter!

I built the Evil-O-Mator because I needed a small project to play around with HTML5 and also because I couldn’t sleep one night. (And also because we had nothing planned for Web414 and I figured this could chew up a good 5 minutes of time…)

So go on, ask me about evil, and when you’re done, think about how you can contribute to Web414. Thank you, and good night.