Al Hoang

October 27, 2006

If normal biff needs some more shinyness to it..

Filed under: tagme — @ 10:46 am

cdbiff execute `eject’ command to eject a CD-ROM tray when mail arrives.

Fixing ‘mkmf’ load error Ruby in Ubuntu

Filed under: linux, programming, ruby — hoanga @ 12:15 am

If you’re a Debian or Ubuntu user you’ll find that the Ruby standard

distribution is split into lots of little packages so doing something like

apt-get install ruby

only gives you the ruby binary and a subset of the libraries for Ruby. You’ll

need to add more packages if you want to utilize more of Ruby’s standard

library. This is all in order to comply with

Debian packaging Guidelines.

That is all well and good but a little frustrating when you ‘just want to

do work’.

For example, I wanted to install

sys-proctable

(Something I really believe should be in Ruby’s standard distribution)

however ran into the following:

$ sudo gem install sys-proctable

Building native extensions. This could take a while…

extconf.rb:8:in `require’: no such file to load — mkmf (LoadError)

    from extconf.rb:8

ERROR: While executing gem … (RuntimeError)

   ERROR: Failed to build gem native extension.

Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sys-proctable-0.7.3 for inspection.

To get around this you will need to install ruby1.8-dev (or ruby1.6-dev or

whatever version of ruby you’re running) to get mkmf.rb which is listed

in the Ruby Standard Library.

I’m sure most Ruby hackers worth their salt consider this a ‘duh’ thing

but not of all of us can be shining stars in the Ruby community

How I fixed it…

$ sudo apt-get install ruby1.8-dev

..

$ sudo gem install sys-proctable

Need to update 4 gems from  Comments (6)

October 22, 2006

The Pied Piper of Architects (aka be careful of the wrong brain drain)

Filed under: tagme — @ 8:50 am

Interesting article on trying to keep your technical architects around

as they are the ones that have the scars from war stories and have built

up experience on leading the project in the right direction

But cynically speaking, what company is ever going to see the wisdom in that.

Right? I mean keeping an old fart around on the payroll that might save

you a significant chunk of change is just too forward looking…

Read it yourself

David Pogue reviews the Sony Mylo

Filed under: tagme — @ 8:50 am

From the article…

Sony may be the first company ever to depict throwing up as a way to

sell electronics.

Seems once again Sony missed the target market by a decent amount again.

One of these days they’ll hit the right combination again. But it seems

as usual, their engineers are a little out of touch with the target market.

Read it yourself

October 14, 2006

Getting cvsync running on cygwin

Filed under: tagme — @ 10:56 am

I’m trying to get cvsync running on cygwin

and after looking at the homepage. There didn’t seem to be that many

straightforward instructions nor is there a package in the default

cygwin repository. Bummer.

So I took a shot and tried downloading the tarball and compiling it.

$ wget  Comments (0)

October 10, 2006

Google Groups Beta doesn’t support page up/down or keyboard shortcuts?

Filed under: tagme — @ 6:15 pm

I’ve been testing the new Google

Groups Beta and design-wise it looks a little bit cleaner however one

SERIOUS flaw is that I can’t seem to get paging to work at all. Pressing

Page Up or Page Down results in no response.

Okay, rtfm… Piles

and piles of pages of useless docs on how to create and add content. But

how about people who need to BROWSE content? No documentation whatsoever

if Google Groups Beta uses some sort of special hotkeys for navigation. And

no, I’m not going to experiment/read the JS source/use intuition to guess

what they are. This is something I consider BASIC for any type of news

reader tool.

And yes, I’ve already sent the folks at Google an email about it. However,

frankly I’m a bit disappointed at the Google Overlords for missing such a

brain-dead simple feature (or the failure to document it). How many

advanced algorithms and UI pains did you guys go through just to forget

the lowly Page Down key?

October 7, 2006

A social psychology model answer to why people won’t switch OSes

Filed under: tagme — @ 4:46 am

OSNews has an interesting

article detailing

why people won’t switch OSes even when there might be many technical advantages

to. Definitely an interesting read. It frames the reasoning in something

called the Elaboration Likelihood Model. I’ve not heard of it but then

again I’m no psychologist researcher either so I guess that’s not surprising.

Read it yourself

October 4, 2006

Fixing SVK ‘Oh no, no more exceptions! add_directory() failed’

Filed under: tagme — @ 2:43 am

The Problem

$ svk mirror  http://svn.somewhere.org/project //mirror/project

Committed revision 1.

$ svk sync //mirror/project

Syncing this

bug.

The cause

I’m not sure what the reason but in general the problem seems

to be isolated to the SVN::Mirror perl module. Perhaps if you upgrade

SVK and all its dependencies via your package manager of choice and SVN::Mirror

is updated to the right version I think you can get away from the problem.

A Fix

Upgrade SVN::Mirror (somehow). Since I installed SVK by hand it was possible

to upgrade using cpan. Here’s what I did:

$ /usr/local/bin/cpan

cpan> install SVN::Mirror

Running install for module SVN::Mirror

Running make for C/CL/CLKAO/SVN-Mirror-0.71.tar.gz

After that, I was able to use svk sync as expected.

Clinton ‘endorses’ Ubuntu

Filed under: tagme — @ 2:31 am

Well perhaps not the Ubuntu

I associate with but close enough…

Powered by WordPress

Protected by AkismetBlog with WordPress