Thursday, December 23, 2010

CR-48: A Portable HTPC?

Yes, I can watch a bunch of "Dog Whisperer" episodes!


Connect Your CR-48 To Your TV

There's a VGA port, a USB slot, and sound output; all that you need to enjoy some videos on a bigger screen! Okay, so you technically only just need a VGA port to get the output onto the TV, but a wireless keyboard and speakers could help enhance this experience.

The one issue I was first worried about when I first connected the VGA I took a look at the keyboard of the CR-48 and said, "ok...now how do I change the display?". Luckily Google put that keyboard shortcut map (ctrl + alt + /) so I can find out about the display toggle key combination: ctrl + fullscreen

What Apps Are There?

Check out Clicker.TV! Honestly, I knew about this app once the Chrome App Store opened up and have been using it ever since. So, just think about all the videos available on the internet. Now think of [a lot of] that content being aggregated into one repository that you can browse/search. Pretty rad eh?

Now, I'm not saying all videos are free, but there is a large collection of older TV shows available for free (just found Macgyver last night
!), independent shows/movies, and of course web-only videos. You'll also find videos listed via iTunes, Amazon, Comcast, et cetera, those obviously are the ones that you'll either need to pay for or have an account.

We do not have cable television at home, so another medium to play videos is very appealing. --Yes, you have read that correctly, NO CABLE; only those basic channels that you get over-the-air for free.

Another nice one is Crackle. It's got "Final Fantasy" the movie! And of course a bunch of other things in it's repository. I haven't had time to play with Crackle too much, but they seem to have a nice selection!


Wish List

VLC Media Player please! I can't seem to find an app out there that has the ability to play local video files yet. This would be awesome!

DLNA Support We have a PS3, a NAS that supports DLNA, and even my desktop running PS3 Media Server. If the CR-48 had DLNA support, I would be able to access all of my media files on my network too!

Post Scripts & Cruft

Plugging in my USB keyboard/mouse made my navigation much easier! I have a wireless keyboard & mouse (trackpad) combo (usually connected to the PS3 or my laptop when we connect it to the TV). Being able to sit down on my couch and just navigate is always a great thing to have. But the best part was being able to have physical left & right mouse clicks!

I've mentioned this before, but the battery life on the CR-48 is simply amazing! I currently have my Dell Latitude D430 on as well and I only had maybe one hour of battery life (fully charged). Yes, I've had the D430 for a while now, but I don't ever recall having such as good a battery life as the CR-48.

Cheers!

Wednesday, December 22, 2010

CR-48 Images

I'm still trying to figure out how to upload images into Picassa. I technically cheated; I copied images from my phone to the Downloads directory (/home/chronos/user/Downloads) and then and only then was I able to upload using Picassa. That's rather annoying!


The infamous box that we've all seen around the internet many a times.



The screen you see after flipping the "developer" switch.

CR-48 Day 2: New Perspective

Okay, so another day using Chromium; my frustrations really had me worried about the success of this OS. I'm still technically not completely sold on this browser-based OS, but hey, I think it's beginning to grow on me a little.

Who Is the Intended Audience?

I sat back thinking, "wow this is frustrating! I'm an engineer, I know how things work, but this just isn't working for me." But this is new technology; there's always that learning period that you need to get passed and alas, I think I've got it now.

I believe Chromium is advertised as a netbook OS right? Well, I guess that's it then; an OS where you can have the ability to do some internet browsing, watch some videos, and et cetera lightweight processing.

Apps Galore!

"Apps" you ask? Yes, that's right install Chrome Apps and play around with things; that's exactly what I did. I found a lot of useful things (and a lot of non-useful things). But being that this OS is basically a giant Chrome browser, what else am I to do?

But, what's the difference between some of these apps and just browsing to these sites? That, well I'm not exactly sure to be honest. I just found it awfully helpful to be able to click on an icon in my menu, rather than navigating my bookmarks. --also, keep in mind that some apps do have the ability to break out of the chrome browser window (google talk, eBuddy).

Now, why go with this apps approach? Well, if you own a smartphone, you obviously know that this approach has been awfully successful in marketing different software to a wide range of people. So why not?

Stupeflix has a pretty neat app that you can create different videos using their templates.


Heck, I even found a digital recording studio app by the folks at Aviary. I made a short test last night inspired by StrongBad's "techno song" and well, I was awfully surprised to find how detailed it was (for Pro Tools users, check it out, you'll be surprised). As for a guy who still records on a Tascam 4-track (yes, with the cassette tapes), this is a very useful app for me.

Updates and Ramblings

I'm slowly adapting to this mouse. I still can't get the hang of right-clicking, but at least now I am navigating well.

I did a little bit of work using the CR-48. Nothing too difficult since all I need is a shell to do work.

Since I found a couple of web-based video apps, I'm gonna try hooking the notebook up to my TV see how that experience is. Is the CR-48 really a HTPC in disguise?

Til next update, cheers!

Tuesday, December 21, 2010

CR-48 1st Day Frustrations

Frustrated

Yea, that is how I feel right about now. I didn't think it would matter, but the lack of physical mouse buttons is rather annoying; and I'm not the only one! While browsing sites, I like to do the "right-click and open in new tab" thing. The way you right click here is rather annoying! I honestly don't know how the Macheads live without mouse buttons! --right-click is it still a ctrl+click?

Gone With The Flash

Wow, so I know Linux + Flash hasn't been the greatest of combinations for quite some time, but a lot has changed in the later years. So, the libflashplayer.so crashed and chrome didn't like it; okay that's fine and all if I could only do anything about it! I had mouse and keyboard functionality, but if I clicked anything in Chrome, nothing would work. Luckily, I had a shell open and I could run commands. I tried to kill some chrome instances, but then nothing was happening. I ended up rebooting from the shell and now I can work.

What caused the Flash-Crash?
I'm not sure, it happened twice now and the first time I thought it was caused by a website, but I also noticed that I installed the eBuddy Messenger app and that seemed to have been the issue. So, perhaps not really a Google bug, but nonetheless if bad code can bring the whole system to a hault, then Google needs to do a better job at jailing its processes. --I thought Chrome did jail its flash processes?

Circling back to my mouse complaints, I've noticed that when I type I like to rest my wrists down on the laptop. The mouse sometimes catches that and then my cursor moves somewhere else and I start making typos all over.

All Is Not In the Negative

On a much happier note, the boot time and sleep/awake time is amazing! I've read that it was fast, but wow, I am impressed. Kudos Team Chrome!
Also, I am more than impressed with the battery life of this machine. I'm curious what the "official" battery time is...

Personal, Yet Slightly Related Tangent

I finally realized that receiving the CR-48 last night was also due to the fact that the moon, Earth, and sun were aligned!

Monday, December 20, 2010

CR-48 Webcam Quality Youtube Test

I guess you can say that I don't use youtube enough to realize that you can upload direct-from-webcam videos. Anyhow, since there is a webcam set up in this CR-48, I decided to test it out. --I technically wanted to try and upload the short video I made of the CR-48, but I can't seem to be able to see my files! (I inserted an sdcard.)



Also, as a brief update; I found out a couple more helpful things for the CR-48. It has a physical switch that you can toggle into "developer mode". W00t!

Yes, it is possible to get into a shell! The folks over at Chromeoslounge.com have a thread going that dropped a hint.
Terminal:Ctrl+Alt+T
Then, you can toggle between Chrome and the terminal via Alt+1|2

Terminal first brings you up in this "crosh" shell. You can run shell to get more functionality. Running a simple sudo su will let you gain root!

Also, looks like it's possible to get Ubuntu installed as well, but I'll hold off for now as I promised to test out Chrome Os.

So as long as I've got my shell I'm happy. I can even work, with the exception of email (though, I can just do webmail).

I know I promised pictures, but I would like to try and figure out how to upload files directly from the sdcard on this machine. --Mounting my NAS would even be better. Yes, I can mount the sdcard, but no, I can not see it even if I symlink it to the Downloads directory.

Still testing... but happier than before!

Quick Notes:
Keyboard shortcuts ctrl+alt+/
Terminal ctrl+alt+t
Toggle between Chrome and Shell(s) alt+[1...n] /*works as a stack and your latest shell will be alt+2; your oldest shell will be alt+n*/

A Present? For Me?!

So, yes, yes, I know I haven't written anything in quite a long time, but hey, lots of work at the workplace and at the household.

Anyhow, I am throwing up a quick pablum announcing such exciting news! So, as I type on this laptop, I am one of the lucky ones to be able to test out Google's CR-48 (my typing instincts just tried to look for the non-existant* CAPS lock key and opened a tab instead).

So today, I received a package that didn't show what company it was from. I open it up and I read something about a "lithium battery" and then it clicks! "Aha! I was picked to test out Google's Chromium OS!" (I just hit the "search" button looking for the CAPS lock again!) This will be exciting, I start this testing with an open-mind and feeling awfully anxious.

First thoughts...
So, if you've read this far I'm sure you might be able to tell, that the keyboard is a little bit annoying for me. I believe I read some post about the CAPS lock being some sort of feature that I can enable (maybe)? The mouse is a bit odd as well (not that I need it). I never did like the Mac one-button-mouse setup. --I can adjust.

Boot-time! Whoa! It's like the folks at Google wanted to seriously give the "wow effect" on people as soon as I put in the battery and opened up the laptop, it surprised me with booting itself up and wow, I wish I had a video of it so I can see how fast it was! Amazing!

That's it thus far. I took the usual "new toy" pics, so I'll post them up soon. Hmmm...just noticed there's no "home|end|del" buttons?! Anyhow, stay tuned for updates!

Cheers!

(I just hit the "search" button again instead of the...well, you know!)
P.S. I need a shell, can I assume there's an app for that? ;-)

*The CAPS lock is actually the "search" button.

UPDATE: (yes, I just used the CAPS lock) THANK YOU! Chromestory.com showed me the way to change the search key into my CAPS lock. --I knew I read it was possible somewhere!

Tuesday, September 28, 2010

WordPress: Using the user_has_cap Filter

I finally worked out a WordPress plugin of mine that utilizes the user_has_cap filter. Thankfully John B. on the wp-hackers list had an example of how he used it in his plugin, since there was practically no documentation on this filter!

A simple example of mine would be:

function a_user_cap($allcaps, $cap, $args) {
$allcaps['upload_files'] = true;
return $allcaps;
}

add_filter('user_has_cap', 'a_user_cap', 10, 3);


Now, you can see it's basically giving the "upload_files" capability to all users. Thank you WP Hackers!

Cheers!

Wednesday, September 8, 2010

Official Google Blog: Search: now faster than the speed of type

Official Google Blog: Search: now faster than the speed of type

I really can't say too much about Google Instant. Why? Well, because it's apparently not rolled out in my area right now (which ironically happens to be right around the corner from Google).

Ah well, anyhow, for those of you who have it enabled let me know how it is.

Tuesday, August 31, 2010

"But it works on my computer!"

If you're a developer, I'm sure you've all used the phrase, "But it works on my computer!". If you haven't, I'm sure you've at least thought that in your head.

Anyhow, on goes my rant about my compatibility woes; we just finished some beta code for a soft release to maybe only 20 of our sites. The code was stable, the functionality was tight, and everything was working how we wanted it to be. Well, at least it was on my computer. Now, don't get me wrong, I do a lot of testing before I show anyone my work, but for some reason I completely forgot to test my work on different platforms.

So, unknowing of the issues, I walk over to the project manager and show him (what I thought to be) a finished product on his computer and... "huh?! why is it not working now?" Firefox issues...IE6 issues...

Turns out some of the javascript that another devloper wrote (and some that I wrote) were not compatible in older browsers. Bah...and that's why we test on different platforms kiddies!

Happy QA'ing!

Cheers!

Wednesday, August 4, 2010

Facebook Is Now The Best Tech Company To Work For

Really? Facebook?! "Best Tech Company To Work For" really?!

Wow, so it sounds like this place has gotten a load of rave reviews from its employees! Good for them, though, I'm really curious how they edged out Google.

Interesting...

Facebook Is Now The Best Tech Company To Work For

Wednesday, July 14, 2010

How to Tell the Difference Between Nerds and Geeks - wikiHow

How to Tell the Difference Between Nerds and Geeks - wikiHow

Funny, I saw this article in my iGoogle today. As a self-proclaimed geek, but also as a person who does not like to live up to any stereotypes, I agree and disagree with some things said. But overall, I do find this "How To" to be entertaining and interesting.

"...the term 'geek' has a more modern, updated and positive connotation than that of 'nerd'..." is definitely something I found true. To this day, I still feel a little offended when someone calls me a "nerd"!

I take articles like this to be entertaining, not as a general guideline; so, just warning you before you go and follow this HowTo to not expect the person to be as amiable as I would be.

Cheers!

Tuesday, June 15, 2010

Rip Javascript in PHP with a str_replace()

So yesterday, I gave a nod to David Baker's preg_match across multiple lines. And now, the reason I was looking for something along that route, tada!



function rip_java($content) {
$p = '|(\<script.+?\>.+?\</script\>)|ms';
preg_match_all($p, $content, $matches);
if ($matches[0]) {
foreach ($matches[0] as $v) {
$gp = '|http://drincruz\.blogspot\.com|i';
preg_match($gp, $v, $gpmatches);
if (!$gpmatches) {
$content = str_replace($v, '', $content);
}
}
}
return $content;
}


Javascript is very useful in this revision of the internet. However, if you allow other people's javascript on your site, then well, that's an entire whole different security issue. So what we wanted to do at work was only allow certain javascript to run on our sites; and that javascript being the code that we write.

This was written in PHP because we're using it with WordPress' content_save_pre filter.

Cheers!

Monday, June 14, 2010

preg_match across multiple lines

preg_match across multiple lines

I'm working on a plugin that required a multiple-line REGEX match. For whatever reason, my mind went blank even though I've done it before. Anyhow, here's a nice write-up by David Baker.

Cheers!

Wednesday, June 2, 2010

Exclude Directories in Bash Find | practical web development & design. cincinnati, oh

Exclude Directories in Bash Find | practical web development & design. cincinnati, oh

Just a quick blurb to thank tcmacdonald's blog for the help with this bash find command snippet:

find . -type f -not -path "*svn*" -exec chmod 644 '{}' \;


To be specific, I'm using `find` in a for loop to get all directories but I didn't want the results for the root directory (./).

So my snippet now looks like:

for f in `find . -maxdepth 1 -not -path '.' -type d`; do
...


And now I don't see the results for ./ listed! Thank you! Cheers!

Thursday, May 20, 2010

Google TV Is Official: The Web And Pay-TV Have Finally Clashed - HotHardware

Google TV Is Official: The Web And Pay-TV Have Finally Clashed - HotHardware

Alas the long awaited big news from the 2nd day of Google's I/O: Google TV.

We already abandoned cable, satellite, etc., television and only receive the free OTA (over-the-air) channels. To supplement with OTA, we also watch a lot of shows online via my laptop connected to the TV. But now, Google innovates the two?! Interesting. At this point, I'd still rather just build my own HTPC, but this makes it a lot easier for the less tech-savvy TV watcher.

Let's see how things go with Google TV. Cheers!

Thursday, May 6, 2010

Lego Robot Solves a Rubik's Cube in 25 Seconds Using Droid Phone | Inhabitat - Green Design Will Save the World

Lego Robot Solves a Rubik's Cube in 25 Seconds Using Droid Phone | Inhabitat - Green Design Will Save the World

You know when people say, "you have to see it to believe it"? Well, this was one of the moments for me. I read the article and was amazed at first, but the pictures look deceiving. They look fun, playful, perhaps a bit jovial, so I didn't take it seriously.

Until I saw the video that is! Wow! I mean, really WOW!

Kudos! Cheers!

Wednesday, May 5, 2010

Google Rolls Out Flashified, Turbo-Charged Version of Chrome | ConceivablyTech

Google Rolls Out Flashified, Turbo-Charged Version of Chrome | ConceivablyTech

Heh...very interesting. So I have been just using the dev daily Chromium releases and May 4th's release seemed so unstable that I had to remove it and then just install the public beta.

It just so happens that I installed on a wonderful day. This release is so up-to-par and wonderful! I was wondering why it's flash was running so well (compared to the earlier betas).

Kudos guys!

Cheers!

Wednesday, March 3, 2010

MediaPost Publications Bloggers Now Eligible For Press Passes In NYC 03/03/2010

Wow, well would ya look at that! Bloggers now are eligible to obtain press passes in NYC!

MediaPost Publications Bloggers Now Eligible For Press Passes In NYC 03/03/2010

This is such a big win! Though, this might open the flood gates for any psycho with a blog. Well, they say otherwise, "Certainly you can't give credentials to everybody with a computer," but, how are they going to distinguish these legitimate bloggers? Interesting...

Wednesday, February 24, 2010

Slashdot Entertainment Story | Timmy O'Riley By L. Hadron and the Colliders

Wow, if you wanna see some uber cool geekiness, you have to check this out from the guys at thinkgeek.com. Wow...just wow...

Kudos guys! Probably one of the most entertaining covers of The Who too!

Slashdot Entertainment Story | Timmy O'Riley By L. Hadron and the Colliders