25th
NOV

Try Google Chrome OS

Posted by Keith under Unix/Linux

Download VMWare or VirtualBox image from this site – it requires to create an account:

http://gdgt.com/google/chrome-os/download/

Or use this torrent for VMWare image:

http://torrents.thepiratebay.org/5170843/chromeos-image-999.999.32309.211410-a1.vmdk.bz2.5170843.TPB.torrent

For Windows Torrent client, I use this client: http://www.utorrent.com/

23rd
NOV

Ubuntu: turn off - show window contents when moving and resizing

Posted by Keith under Unix/Linux

$ gconf-editor

apps > metacity > general > reduced_resources –> check off

8th
JAN

Death of Sparc Solaris Workstation?

Posted by Keith under Unix/Linux

Sparc Solaris workstations were dream machines when I was in school.  It was fast, reliable, and very expensive.  When Sun introduced the models using PC components with affordable price, I was so glad and bought one soon as it was available.  I bought a Blade 100 in 2001, and I’m still using it running Solaris 9.  (10 was too heavy for that machine.)

I recently checked Sun.com for Sparc workstation/desktop page and found that they pulled out all Sparc based workstations from their web site. 

It’s sad to see that Sparc based workstation/desktops are no longer produced. :’-(

9th
DEC

"erl -man io" doesn’t work?

Posted by Keith under Erlang, Tips, Unix/Linux

While I was playing around with erlang, I found my installation of erlang’s man page does not work:

$ erl -man io
No manual entry for io

I have compiled and installed (with configure’s prefix option) in /opt/erlang on Solaris 9, put the man page files just in /opt/erlang/man.  Clearly this doesn’t work.  So I did some tracking with:

$ truss -o /tmp/output.txt erl -man io 

(truss is like strace for Solaris; "strace" on Solaris is completely different thing.)

And found that the "/man" directory should live in /opt/erlang/lib/erlang/man.

"erl -man io" works now.  It’s in MANPATH and Windex is created — so just "man io" would work just fine, but I just wanted to fix it anyway.

6th
DEC

Trying Erlang

Posted by Keith under Development Tools, Erlang, Unix/Linux

I tested DB and Yaws a bit, and found DB access wasn’t working for Solaris version of Erlang.  After some digging, I found that iodbc does not work.  There are two (open source) flavors for ODBC in Unix.  iodbc and unixODBC.  I recompiled Erlang with unixODBC, and DB access works — sort of.  Still some SQL doesn’t work properly, and I haven’t figured it out yet.  But it’s good enough to test Erlang and Yaws for now.  For Ubuntu, no problem.  Installing Erlang, ODBC, and Yaws were effortless.  But I like Sparc Solaris I use at home. :-)  It’s quite old, but still have enough disk space, RAM and works extremely well.

unixODBC: http://www.unixodbc.org/

One thing about Yaws on Solaris — while I was building Yaws, I got an error from ‘id’ with option ‘-u’.  This is due to Solaris 9’s ‘id’ (located in /usr/bin) doesn’t support -u option.  I temporarily changed GNU’s ‘gid’ to ‘id’ and it built correctly.