20111116

Strawberry Perl: How to install a cpan module with a proxy

goto the portable shell:

----------------------------------------------
Welcome to Strawberry Perl Portable Edition!
* URL - http://www.strawberryperl.com/
* see README.portable.TXT for more info
----------------------------------------------
Perl executable: H:\sperl\perl\bin\perl.exe
Perl version : 5.12.3

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


Type in cpan

H:\sperl>cpan

enter

o conf http_proxy http://10.0.0.1:83

or whatever your proxy is

20110630

How to update a row in YUI2 DataTable

Here's how to update the data in a YUI2 ScrollingDataTable:

this.subscribe('cellClickEvent',function(e, obj) {
    var target                  = e.target,
        column                  = this.getColumn(target),
        record                  = this.getRecord(target),
        data                    = record.getData(),
        recordIndex             = this.getRecordIndex(record);

//manipulate data here
      this.updateRow( recordIndex, data);   

A Switch and A New Direction

This is going to be a collection of little scripts and other stuff from now on.

YUI2 Datatable:

Here's how you refresh the data through the DataSource:

this.DS.sendRequest( null, {
scope: this,
success: function( sRequest, oResponse, oPayload) {
this.onDataReturnInitializeTable( sRequest, oResponse, oPayload);
},
failure: function( sRequest, oResponse, oPayload) {
}
}, this);

20090827

Around Lake Michigan

Getting ready to go around (sort of) Lake Michigan on my bike. Here's a link to the route (planned) Google Maps - Around Lake Michigan.

Stay tuned for updates

20081203

What are we listening too ?

Well, right now, Serge Gainsbourg - Live au Palace 79. Tracks on heavy repeat are Les Locataires and Brigade des Stups.

Of course, here in the U.S. nobody knows him. But he was truly a man that loved the language. Something unique French (which I only understand a little - thanks to my 1st and 2nd grade french lessons - don't ask - an experiment). But with the help of Google Translate I can pick the sense and meaning together - and the Reggae is superb.

Linoléum un peu degueu, trou à la turque
Papier journal,


and

Je suis tombé sur des cops,
Ils ont cherché mon spliff,

20081002

Vim Folding - CSS Stylesheets - IE

A little quirk I noticed when using VIM folding in cascading style sheets with IE6. The foldings html comment entry <!-- {{{ --> seems to mess with IE handling of CSS, the style of the following element does not get honored completely. In my case, left and top were all of a sudden 0.

The fix is to insert a dummy element.

In Firefox the whole thing doesn't work like intended anyway.

20080413

From womb to tomb, from basket to casket

My brother-in-law was in town again for the 4th annual Jakson Spire fundraiser for the Ann Arbor School of Performing Arts. We went to it a little late, and caught the end of the Conqueroots with Al Jacques.

After them I was in for a real treat by George Bedard (of George Bedard and the Kingpins) and Drivin Sideways and Bill Kirchen

20080406

New Job

Well it happened again. Within a short time I was approached through LinkedIn about a job opportunity, and now I'm working developing software that helps in the management of the global network of a large Michigan based company. Since I have been driving two of their cars, and the group I'm working with made a really positive impression, I decided to follow my feelings and start something new. The commute is a little further than before, but so far not to bad. I get there in about 30 minutes.

On other hands, I ran speedtest today and it came up with this:
result

That's the fastest result I have ever gotten, and it's totally atypically of what I get on my larger downloads. And Chicago, which is not what Speedtest suggest as default is even faster

Shows you how much Comcast's PowerBoosts influences statistics. Meanwhile, AT&T offers a comparable service, for a lot less. I'm thinking about it !

20071228

Netbeans 6.0 and C++ on Windows

I've been doing a lot of Java development in the last two months, on Windows and for that I am using Netbeans. Well Netbeans 6.0 got released and it supports C/C++.

Here is a list of what you have to do to get a free C/C++ development environment going on Windows:

1) Download the netbeans 6.0 IDE with Java 6 JDK from here. Pick the all version if you got the bandwidth.

2) install Netbeans 6.0

3) Download MinGW32 and MSys (Minimalist Gnu on Windows) from here. Install MinGW32 to c:\mingw32 and MSys to c:\msys.

4) In Netbeans go to Tools->Options and select C/C++ tab. Then add C:\mingw32\bin and c:\msys\bin to the current path. This should give you all the tools.

Happy development.

20071220

The Perversion of the American Ideal

Never mind what Bush is doing in Washington (and for that matter to the rest of the world in the name of this nation), this is about the lyrics of one of the songs on my christmas playlist. Have you ever listened to 'Winter Wonderland':

In the meadow we can build a snowman,
Then pretend that he is Parson Brown

He'll say: Are you married?
We'll say: No man,
But you can do the job
When you're in town.


And what the heck do you think the job is ? eh ? dirty dirty dirty - and that back from 1934