News for hackers. Stuff that matters.
Re:Using the Google Cr-48 for Coding by ukdm on Friday December 10, 2010 @05:40PM (#1993478)
Useful comment posted from Chrome team member Jen:

I’m a Chrome team member and saw this going around Twitter.

Just wanted to say, you can right-click on the Cr-48 by tapping with two fingers (or holding Alt and single clicking).

You can also flip the developer mode switch under the device and get full access to a shell: http://www.chromium.org/poking-around-your-chrome-os-device

hope this resolves some of the comments!

Re:Using the Google Cr-48 for Coding by jlees on Friday December 10, 2010 @06:49PM (#1993664)
That was me. Happy to answer further questions here, though I don't want to turn HN into Reddit.

(No, I'm afraid I don't know when or if you're going to get one.)

Re:Using the Google Cr-48 for Coding by RexRollman on Friday December 10, 2010 @09:08PM (#1993928)
Does Chrome OS use X11 at all? If so, is there a window manager or is Chrome itself serving that function?
Re:Using the Google Cr-48 for Coding by jlees on Saturday December 11, 2010 @12:07AM (#1994229)
There is a window manager. You can dig into the code via chromium.org if you want to understand the details :)
Re:Using the Google Cr-48 for Coding by crocowhile on Saturday December 11, 2010 @07:06AM (#1994677)
Why don't you let people install ChromeOS on existing netbook? It's linux based, it should work on any netbook. Also, most of those machines have the same hardware anyway.
Re:Using the Google Cr-48 for Coding by nswanberg on Saturday December 11, 2010 @08:12AM (#1994739)
Try these instructions: http://www.chromium.org/chromium-os/developer-guide#TOC-Gett...

Linked from that page is a list of hardware known to be compatible with Chrome OS: http://www.chromium.org/chromium-os/getting-dev-hardware/dev...

Have fun!

Re:Using the Google Cr-48 for Coding by crocowhile on Saturday December 11, 2010 @08:20AM (#1994744)
Thank you. That's interesting. However, mine was more a policy question. ChromeOS is not thought to be just another OS you can download and install. It will be mainly bound to new devices. I don't understand why.
Re:Using the Google Cr-48 for Coding by lincolnq on Saturday December 11, 2010 @12:13PM (#1995174)
Presumably it's like OS X -- it's a lot harder to make an OS that runs on any old hardware than it is if you know the hardware ahead of time.
Re:Using the Google Cr-48 for Coding by jlees on Saturday December 11, 2010 @12:30PM (#1995203)
Absolutely. Also, there are plenty of great open source developers contributing to the Chromium project to help get the OS working on multiple platforms. If you have an Eee or Dell Mini, for example, there are builds for those freely available.
Re:Using the Google Cr-48 for Coding by lwhi on Friday December 10, 2010 @08:44PM (#1993890)
Is the trial likely to extend to other countries?
Re:Using the Google Cr-48 for Coding by jlees on Saturday December 11, 2010 @12:07AM (#1994228)
The devices we have right now will all be given out to US pilots.
Re:Using the Google Cr-48 for Coding by lwhi on Saturday December 11, 2010 @12:53PM (#1995278)
(* applies for citizenship / enrols in flight-training programme)
Re:Using the Google Cr-48 for Coding by Sephr on Friday December 10, 2010 @11:12PM (#1994151)
Do you at least know if whether or not you signed up using the "basic" form or advanced form matters for the early shipments? I signed up about half an hour after the form was live and then found the advanced form and signed up using that instead. Judging by reports from other Cr-48 recipients, I should have signed up using the "basic" form. Can you confirm this?
Re:Using the Google Cr-48 for Coding by jlees on Saturday December 11, 2010 @12:06AM (#1994224)
I know nothing about the distribution side, sorry.
Re:Using the Google Cr-48 for Coding by CWIZO on Friday December 10, 2010 @05:36PM (#1993468)
Keep in mind, while reading this, that the Cr-48 is a beta product of sorts. So the mentioned hardware faults will most likely be fixed when this thing actually ships.

Somewhat unrelated:

Right now my ideal laptop would be: Take a 13″ Macbook Pro, replace the HD with an SSD, replace the DVD drive with more battery, add 3G.

I couldn't agree more, that really would be a perfect laptop.

Re:Using the Google Cr-48 for Coding by jasonjei on Friday December 10, 2010 @06:03PM (#1993557)
I'm extremely happy with my 13" MacBook Air and its 7 hour battery life. Chances are, I'll be tired of looking at my laptop before I'll encounter a situation where I run out of juice, and I have my iPad to tether, even though not technically allowed...
Re:Using the Google Cr-48 for Coding by pmjordan on Saturday December 11, 2010 @04:42AM (#1994545)
There's a Trekstor Portable 3G/HSPA Wifi router (a Rebranded Huawei E5) on its way to me right now. Lack of built-in 3G in the Macbook Air is a little annoying - I'd prefer it over the SD card slot - but this little router should do the trick. Dragging an iPad around together with an Air just for the 3G seems a little over the top. :-) An iPhone 3GS or 4 with bluetooth tethering would be OK I suppose; my 3G's modem is annoyingly slow (384kbit/s) due to lack os HSPA support.
Re:Using the Google Cr-48 for Coding by tbob22 on Friday December 10, 2010 @08:17PM (#1993841)
Sony Vaio Z, well other than the battery part.

Oh yeah, 1920x1080 on a 13". :-)

Re:Using the Google Cr-48 for Coding by glhaynes on Friday December 10, 2010 @06:04PM (#1993559)
Sounds like a 13" Air with 3G. I agree, too — would be a super sweet machine. I'd like to see them offer 3G on the 11" Air, too!
Re:Using the Google Cr-48 for Coding by poet on Friday December 10, 2010 @08:30PM (#1993858)
The other day I saw the announcement for the new Chrome OS test laptop and decided to sign up on the off-chance that I might be able to snag one.... Surprisingly the laptop arrived this morning and I’ve been having fun putting it through its paces.

Oh stop being humble. :P I don't think it's surprising in the least that the creator of JQuery was able to snag a Cr-48. ;)

Re:Using the Google Cr-48 for Coding by shawndumas on Saturday December 11, 2010 @08:27AM (#1994753)
Nor is it inappropriate.
Re:Using the Google Cr-48 for Coding by junkbit on Friday December 10, 2010 @07:54PM (#1993799)
If you run "Shell In A Box" on the server you can browse to a full bash prompt in a browser tab. It even has Tab-completion and works with ncurses apps too.

You just run a tiny daemon and then connect to it such as https://192.168.1.1:4200

http://code.google.com/p/shellinabox/

Re:Using the Google Cr-48 for Coding by crabman on Friday December 17, 2010 @04:35PM (#2017901)
172.16.1.199:22
Re:Using the Google Cr-48 for Coding by Groxx on Friday December 10, 2010 @05:38PM (#1993475)
Basic summary:

Respectable battery life, a poor terminal, and an infuriating trackpad. And John Resig is spoiled from owning a Mac.

Battery life is good to hear, terminal strikes me as "fail" (seriously. Developer mode. It should be as developer-friendly as possible, no? That means a good terminal application.), trackpad could be fixed through software, and who isn't (who has one)? [edit: correction: there's a non-developer-mode terminal, which is this one. Developer mode has SSH key abilities & others]

Not too surprising, given that this is an early-release test. But in that way it's similar to many other Google products; first version is crap but interesting enough to use, and in time (if not dropped) it tends to take over everything because it gets better and better. It seems to me this might take off whenever they put out offline versions of GMail and Docs. Until then, it's of limited (though interesting) use and most definitely not for everyone.

Re:Using the Google Cr-48 for Coding by jeresig on Friday December 10, 2010 @05:42PM (#1993487)
I've since been able to flip over into developer mode (you have to toggle a physical switch to enable it). It gives you a proper shell (which allows you to install an SSH key) but beyond that there doesn't seem to be much else that you can do (it's not obvious to me how you would install a package or compile code).
Re:Using the Google Cr-48 for Coding by Groxx on Friday December 10, 2010 @05:46PM (#1993501)
Good to know, SSH keys are essential to a lot of people. Seems strange that the "normal" terminal doesn't support them, though...

Thanks for the write-up! I found it useful :)

edit: a thought: mind trying `compgen -abc` at the terminal? Idea came from: http://stackoverflow.com/questions/948008/linux-command-to-l...

Re:Using the Google Cr-48 for Coding by mbreese on Friday December 10, 2010 @06:16PM (#1993583)
I'm guessing that the lack of proper ssh key support is part of the desire to have nothing permanent on the device. Since one of the security aspects is to make it so that if you lose the machine, you have no risk of compromising your information. Having your private key stored on the machine kind of defeats that purpose.

That being said: when I was playing with dev builds on my netbook last year, the first thing I did was put my private key on it.

Re:Using the Google Cr-48 for Coding by Groxx on Friday December 10, 2010 @06:18PM (#1993591)
That's a very good point, I hadn't thought of it from that perspective.

Though you could refer to SSH keys which are on a USB drive, fully protecting your info if your laptop is lost (as long as your drive wasn't plugged in)...

Re:Using the Google Cr-48 for Coding by bretthoerner on Friday December 10, 2010 @08:17PM (#1993840)
compgen: http://pastebin.com/Mkyv9990

Though I think you're misunderstanding this machine as both a developer machine and something more than just a browser. Chrome is really the only app. That I can get to a terminal at all is a huge surprise to me, I don't believe this is supposed to compete with normal laptops as dev machines. I didn't expect this to have ssh installed at all.

As a matter of fact I can't figure out how to (or if I can) copy/paste in the shell, I scp'd that somewhere else so I could post it.

Re:Using the Google Cr-48 for Coding by Groxx on Friday December 10, 2010 @09:01PM (#1993917)
Oh, I fully understand the disconnect there. I'm just interested in how far this thing can be bent, and how easily. And this was the first thing I came up with, however poor it may be.

Thanks much for the (sc)paste!

edit: wow, there's not much there, is there? The only text editor I see is qemacs, which I've never touched: http://man.cx/qemacs and no clue on copy / paste.

Re:Using the Google Cr-48 for Coding by Raphael on Saturday December 11, 2010 @01:44AM (#1994371)

    I wanted to quickly crunch some numbers and went looking 
    for a calculator. Surprisingly there wasn’t one in the 
    store. I ended up having to use the JavaScript console to 
    do the calculations – which, I suspect, is not what 
    Google expects most users to do.
But Google Search is a calculator!
Re:Using the Google Cr-48 for Coding by zandor on Saturday December 11, 2010 @08:59AM (#1994799)
And Wolfram Alpha.
Re:Using the Google Cr-48 for Coding by nagnatron on Friday December 10, 2010 @07:06PM (#1993716)
After seeing those large ALT and CTRL keys, looking down on my Thinkpad's keyboard and seeing FN|CTRL|WIN|ALT makes me sad.
Re:Using the Google Cr-48 for Coding by sayrer on Friday December 10, 2010 @06:30PM (#1993617)
This seems like what to expect at this stage. Something to dismiss as a toy because you can't create anything serious on it... yet.

There has to be a reason Google is bundling Flash on this thing, and I bet the reason is not that Google thinks Flash is so awesome. That has to be the first part of a trade with Adobe.

I guess we'll find out how photoshop.com with NaCL plugins works out. :)

Re:Using the Google Cr-48 for Coding by kj12345 on Friday December 10, 2010 @09:05PM (#1993921)
Pitted against Chrome, Flash supports webcams, microphones, cross-domain requests, DRM on video/audio, and a certain amount of multithreading through Pixel Bender. Plus (and this is huge) a designer-friendly content creation tool. HTML5 is gaining fast, but there are still some legitimate advantages for Flash.
Re:Using the Google Cr-48 for Coding by Sephr on Friday December 10, 2010 @11:21PM (#1994161)
HTML5 has every one of those features (DRM not so much, though it's possible with binary XHR Blob buffers, but there's no point to do that as users could easily steal video data from the decoded output canvas).

Webcams and microphones can be accessed via the HTML5 <device> API, cross-domain requests can be done with HTTP Cross-Origin Resource Sharing (CORS), which is arguably much nicer than Flash's cross-origin policy XML file solution, and multithreading can be done with web workers.

Re:Using the Google Cr-48 for Coding by kj12345 on Saturday December 11, 2010 @12:05AM (#1994222)
Cool, didn't know CORS was implemented so widely, and its true about WebWorkers. But Chrome doesn't support <device> yet, or DRM. (I only mention DRM since the Youtube team says its one reason they can't fully move off Flash).
Re:Using the Google Cr-48 for Coding by Sephr on Saturday December 11, 2010 @12:19AM (#1994245)
I thought the only reason YouTube hasn't isn't fully supporting HTML5 was ads. Afaik, YouTube doesn't use any DRM whatsoever.
Re:Using the Google Cr-48 for Coding by kj12345 on Saturday December 11, 2010 @01:35AM (#1994360)
Apparently they use it for movies and other proprietary content:

http://apiblog.youtube.com/2010/06/flash-and-html5-tag.html

Re:Using the Google Cr-48 for Coding by salmonsnide on Saturday December 11, 2010 @02:18AM (#1994412)
Adobe might help with the sandboxing of flash. Google could also be planning to use flash to help drive adoption of WebM.
Re:Using the Google Cr-48 for Coding by Timothee on Friday December 10, 2010 @07:14PM (#1993733)
"The other day I saw the announcement for the new Chrome OS test laptop and decided to sign up on the off-chance that I might be able to snag one."

I would think that someone as high profile as John Resig could get one pretty easily. (actually he did! I mean without filling out the same form as "normal" people) Maybe it shows that he's too humble to ask for one directly...

Re:Using the Google Cr-48 for Coding by al_james on Saturday December 11, 2010 @06:08AM (#1994627)
" I’d love to be able to have access to a shell and the ability to install vim + screen + git + a web server"

I can't help thinking thats beside the point and exactly what google are not designing this for.

Re:Using the Google Cr-48 for Coding by pyre on Saturday December 11, 2010 @07:36AM (#1994707)
I think that point is that, like with the iPhone, people want the ability to 'flip a switch' to be able to go beyond the 'canned' experience. Apple wants to force you to only stay within the canned experience, but I would expect a little more from Google. Sure it's not what they are designing it for, but I don't necessarily think that people are expecting support for these actions from Google.
Re:Using the Google Cr-48 for Coding by mian2zi3 on Saturday December 11, 2010 @12:12AM (#1994237)
When the first Cr-48 reviews popped up, I had exactly this question: "What kind of setup would you want for development?" (Or maybe writing papers in TeX.) ymacs seems like a good start for a web-based editor, but it is useless without filesystem support (C-x C-f directly to Dropbox?) Without ssh'ing into a home box somewhere, I'm not sure what the cloud-based compile/execute/debug development model is supposed to be.

Any other ideas what development should look like in the idea cloud-based world?

Re:Using the Google Cr-48 for Coding by stcredzero on Friday December 10, 2010 @05:46PM (#1993500)
Take a 13″ Macbook Pro, replace the HD with an SSD, replace the DVD drive with more battery, add 3G. I would use that laptop until the end of time.

I just replaced the HD on my 13" Macbook with an SSD, but I haven't seen anything about replacing the DVD with a battery. I do have an external laptop battery with a home made magsafe connector and a portable 4G hotspot. I suspect that this setup is only going to last about a year or so longer, though.

Re:Using the Google Cr-48 for Coding by icegreentea on Friday December 10, 2010 @06:57PM (#1993694)
You cannot replace the optical with battery on MBPs. I know older Thinkpads had that ability, but I haven't checked any of the new ones. Regardless, Lenovo seems to be dropping all the funky/awesome Thinkpad accessories from their site.
Re:Using the Google Cr-48 for Coding by shimon on Friday December 10, 2010 @10:02PM (#1994023)
You can still do this with many of the newest Thinkpads. They call it the "Ultrabay". Example: http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPo...
Re:Using the Google Cr-48 for Coding by wazoox on Saturday December 11, 2010 @12:38PM (#1995223)
You could replace the floppy drive with a second battery pack on the PowerBook 5x0, in 1994. OK, I know this is useless trivia but I still have one :)
Re:Using the Google Cr-48 for Coding by rwhitman on Friday December 10, 2010 @08:59PM (#1993912)
As someone who spends a lot of time doing UI dev work, I need to open up photoshop and cut up PSDs into CSS quite a bit..

The ability to run a terminal and local PHP or Django are also biggies, but other than that I don't need much of an OS. Everything else I use on a day to day basis is cloud based anyhow

Eagerly awaiting the day I can break free of the desktop os for good

Re:Using the Google Cr-48 for Coding by webXL on Friday December 10, 2010 @05:43PM (#1993488)
Still waiting for mine. I knew I should have used John Resig as my alias!

Too bad about the terminal and *nix tools. I guess I'll have to use something like Cloud9 IDE to code. I'm really looking forward to the free 3g, though. That and the old black macbook feel.

Re:Using the Google Cr-48 for Coding by trickjarrett on Saturday December 11, 2010 @02:12AM (#1994401)
I love the idea of mapping caps lock to ctrl + t to make it a new tab button my normal boring laptop. I'm currently looking for an app which will allow that, or a Chrome extension which allows this - anyone have an idea?
Re:Using the Google Cr-48 for Coding by Huppie on Saturday December 11, 2010 @02:17AM (#1994409)
On windows you could use Autohotkey to do just that. I'm about to do that just now ;-)
Re:Using the Google Cr-48 for Coding by brown9-2 on Friday December 10, 2010 @06:13PM (#1993575)
Is Google re-selling the 3G service from another carrier? Didn't realize they were getting into the wireless provider business with this.
Re:Using the Google Cr-48 for Coding by jlees on Friday December 10, 2010 @06:20PM (#1993594)
The 3G is provided by Verizon on this device.
Re:Using the Google Cr-48 for Coding by RexRollman on Friday December 10, 2010 @09:27PM (#1993968)
Although I appreciate Google's efforts to provide it, I am NOT a fan of Flash. Is the a way to turn it off in Chrome OS?
Re:Using the Google Cr-48 for Coding by patrickaljord on Friday December 10, 2010 @10:22PM (#1994055)
Same as in chrome, just go to chrome://plugins
Re:Using the Google Cr-48 for Coding by arhughes on Friday December 10, 2010 @10:19PM (#1994048)
I believe you can disable it in about:plugins
Re:Using the Google Cr-48 for Coding by RexRollman on Friday December 10, 2010 @10:30PM (#1994068)
Thanks!
Re:Using the Google Cr-48 for Coding by spektom on Saturday December 11, 2010 @04:25PM (#1995695)
How do you verify that your code behaves correctly in different browsers when developing in JavaScript on Chrome OS?
Re:Using the Google Cr-48 for Coding by modality on Thursday December 16, 2010 @06:47PM (#2014418)
Unit tests! :)
Re:Using the Google Cr-48 for Coding by bitwize on Saturday December 11, 2010 @07:21PM (#1996003)
tl;dr i want a macbook air and this isn't it
Re:Using the Google Cr-48 for Coding by nikster on Saturday December 11, 2010 @03:49AM (#1994496)
Does Eclipse run on Chrome? No Eclipse, no coding...
Re:Using the Google Cr-48 for Coding by wccrawford on Friday December 10, 2010 @05:39PM (#1993476)
Wow. Lack of SSH niceties like keys must be painful.