9/14/2006

So long, blogger

I've setup Wordpress on my own domain:

rubygeek.com

will feature not only ruby rablings but also PHP and Perl.

I couldn't find a language agnostic domain and I gone one of the coolest ruby names there is :)

Most of my stuff is imported to the new blog, I deleted some of the stupid stuff.

This will no longer be updated

9/08/2006

Employed - 2 weeks!

I accepted a job at www.info.com .... a pretty nifty search engine company in downtown chicago. Its quite interesting work!

I finally WROTE again.
. for a contest over at CodeSnipers. Vote if you want


I have some plans to write some more after my past three months of hermit mode. I guess, I was just soooooooo busy hitting the perl that I didn't keep up with much anything. I even missed the July Issue of Linux Journal, with sexy ruby man (not my words, a friend calls him that!) DHH .. Maybe I can find someone to loan me a copy.

8/22/2006

Day 0: Unemployed

Well ... I had to leave my Perl/Ruby job because of financial difficulties of the company on Monday. But I still learned a ton of stuff and worked with some great people. When I left I had a job offer and another possible one, so it wasn't too upsetting to leave. SO - only one day of unemployment. I would have been very worried leaving and not having any options for employment.

So it seems that my fate is PHP but its all good. I guess I'm just a language freak .. I like perl, ruby too! Next is Python or maybe... smalltalk..

8/12/2006

Dear PHP,

The past few months I've been doing perl for my day job, hacking around with ruby in my free time. I've been to YAPC::NA (perl conference) and sat in a two day intermediate perl training class. I've worked for about two months with mod_perl and mason.

I miss you!

After getting a migrane trying to do AJAX with mod_perl and mason, I said.. hey.. php is not so bad, at least I can do AJAX with it.

Last week in perl, I tried passing any array in a form with this:



<form>
<input name="data[first]" type="text">
<input name="data[last]" type="text">
</form>



Then I was like -- wait, thats not array in perl...that would be considered a hash. So I changed the [ ] to { } ... it didn't work. So I ask my boss, I can do such and such a form in PHP and get my data in as an array, how do you do that in perl? ... He said, well I never saw such a thing. I ask a few other perl people and they thought I was crazy. So I ask some php people and they were like "uhh I never did such a thing?" .. so am I crazy? ... I wrote a parser in perl so I could still do this and it turned out to be pretty handy. I'm told there exists a way to do with CGI perl module but I couldn't figure it out.

So I have become a bit disenchanted with perl as a web development language, at least for the front end. I still like it and will continue to do Perl. I love Devel::Cover for checking test coverage. I think CPAN is neat and will probably submit some modules soon. I've learned a ton doing perl and it has expanded my thinking. I've often said that learning other languages will do that -- say I'm stuck on how to do something in php, so I think.. how to do this in X language? and often I'll come up with an elegant solution.

I will maintain this blog of my php stuff again and my other for Perl/Ruby stuff.

I DID miss you PHP!

6/01/2006

Farewell PHP

I keep a Ruby and Perl book next to my bed.

This morning I woke up and they were in my arms. Apparently, I grabbed them up in my sleep and held them. I didn't read before bed last night, so I don't know why I did that. I did read a little of Intermedia Perl while on treadmill and a bit afterwards.

Is it a sign?

Well, apparently so.

I got a call today for a perl job.

Did I take it?

Yes, Hell Yes.

Over the past 8 monthss or so... making friends first with Liz, then Andy Lester, then Josh McAdams and brian d foy I can't help it. I was saying I'd like a job in PHP5, Perl or Ruby. ... then after working with both Perl and Ruby, I said, only Perl or Ruby. And thats what I got. Perl. Perl is nifty and I love all the libraries and tools for it.

Will I miss php?

I don't honsestly know.

But I don't really think so..

So... so long PHP. You have been a good friend that has paid the bills the last 6 years. But its time to move on. Brief concise code awaits..

Farewell.

Join my new blog at anythingbutphp.blogspot.com

5/23/2006

Towel Day




What do I do?

Carry your towel with you throughout the day to show your participation and mourning.

When do I do it?

May 25th.

Where do I do it?

Everywhere.

Why a towel?

A towel, it says, is about the most massively useful thing an interstellar hitch hiker can have. Partly it has great practical
value - you can wrap it around you for warmth as you bound across the cold moons of Jaglan Beta; you can lie on it on the brilliant marble-sanded beaches of Santraginus V, inhaling the heady sea vapours; you can sleep under it beneath the stars which shine so redly on the desert world of Kakrafoon; use it to sail a mini raft down the slow heavy river Moth; wet it for use in hand-to-hand-combat; wrap it round your head to ward off noxious fumes or to avoid the gaze of the Ravenous Bugblatter Beast of Traal (a mindboggingly stupid animal, it assumes that if you can't see it, it can't see you - daft as a bush, but very ravenous); you can wave your towel in emergencies as a distress signal, and of course dry yourself off with it if it still seems to be clean enough.

More importantly, a towel has immense psychological value. For some reason, if a strag (strag: non-hitch hiker) discovers that a hitch hiker has his towel with him, he will automatically assume that he is also in possession of a toothbrush, face flannel, soap, tin of biscuits, flask, compass, map, ball of string, gnat spray, wet weather gear, space suit etc., etc. Furthermore, the strag will then happily lend the hitch hiker any of these or a dozen other items that the hitch hiker might accidentally have "lost". What the strag will think is that any man who can hitch the length and breadth of the galaxy, rough it, slum it, struggle against terrible odds, win through, and still knows where his towel is is clearly a man to be reckoned with.

5/18/2006

Chicago PHP User Group Report

Well last night a another good turn out at the Chicago PHP User's Group meeting (We don't yet have a short, cute name like chirb or chipy, besides.. how would one pronouce "chiphp" ... ch-PUH-ph or just ch-PUH ?) ... we had about 17 people show up.


Jason Rexilius gave a presentation on "Elements of a globally distributed HA cluster" .. Although I hope to never have the responsiblity of such a system, it was interesting to me as a developer to see some ideas on how such a system could work.

I asked about this...

Say a company has 9 smaller offices and 1 main office. You have a database web application. You want to make sure that if the main office goes down, the individual offices can still access this application. One theory is to have all databased reads come from the local copy of the database and all writes go to the main office database. Then perodically the main office database will update all the smaller office databases.

Jason suggested that the local office could write to its own database and also write to the main database if connection is available.

But for database keys... I'd have to have one master way to make sure each record created some where has a unique key. I guess one way is to have a master sequence table on the master server, and to save .. the office database would have to get the ID. If no connection was available...then.. I suppose it would have to go into a log until such a time the master database was available. Interesting discussion ....

Anyways...after the presentation Larry attempted to fix my borked install of Kubutu, but I guess a reinstall is in order. Since I missed my 9:20 train by about 20 mins, Rich, the group leader drove me back to the loop and we got coffee/ice cream at Dunkin Donuts and talked for a bit till I could catch my train.

Fun times ..

Checkout BarcampChicago that Jason is organizing!