Youth culture killed my dog 5 of 17 articles Change bannerposts rsscomments rss

Kentucky Ruby Users Group November 2006 Meeting   04 Nov 06
[print link all ]

We had an excellent turn out at this month’s meeting. I can feel the momentum!

I did a lightning talk on continuations . My aim was to titlate rather than illuminate. I believe I was successful. Oh…and just to be clear the example code is from Jim Weirich .

If you are in the area be sure join us next month. The Kentucky Ruby Users Group meets on the first Thursday of each month, but we haven’t settled into a permanent meeting location yet.


|

Calling All Ruby Nubies   28 Mar 06
[print link all ]

Good friends and fellow Rubists Darren Day and Chuck Fouts are presenting You’ll Be Seeing…Ruby: An Introduction to the Ruby Programming Language .

  • Fri. March 31, 2006
  • 8:30 a.m. – Registration and continental breakfast
  • 9:00 – 11:00 a.m. – Seminar Presentation
  • U of L Shelby Campus Information Technology Resource Center (iTRC)
  • 9001 Shelbyville Road, Louisville, KY 40222

I attended a preview of the seminar this past Sunday and I highly recommend it. Two long time Ruby skeptics in the audience (of four total) were so moved they are looking at using Ruby for their next projects. So if you are in the Louisville area, curious about Ruby, and like free breakfast, I don’t see how you could pass this up.


|

RubyConf 2005   27 Oct 05
[print link all ]

By now you’ve read the trip reports , viewed the slides , and listened to the presentations . If you haven’t then shame on you, because there is lots of good stuff there. So I’ll just talk about what RubyConf did for me and how you should change your life to take advantage of my new found knowledge.

First of all I got to do fan boy things like thank Matz for Ruby.

Note that Martin Fowler snuck into the picture, but I had to smudge him out since my understanding is that you have to buy a book from him before you can take his picture.

I also got to have lots of great conversations with my fellow rubyists. Some of it was finally getting to put faces with irc nicks and blog entries. But the chance encounters at the lunch table and at the laptop filled tables during the panels were also edifying. I’m not a gregarious person by nature, so I am very glad I pushed myself to talk to people while at the conference. Talking things over with smart people that have similar goals is one of the best ways to generate interesting ideas. Now I just need to follow through on some of them.

Probably the best part though was just spending three days concentrating on something like Ruby with lots of other people that were also enthusiastic about it. You could smell the Ruby in the air. Many of us spend our days working to pay the mortgage, changing diapers, and cooking dinner. Even though those things are important it is good for the spirit to put all of that on hold for a few days and just geek out. That I am posting a blog entry should be proof enough that RubyConf was very energizing.

My plan is to go to at least two conferences a year. I went to No Fluff Just Stuff and RubyConf this year. And I am very happy with the results. Next year I plan to be at RubyConf again. I would also like to go to a large conference like OSCON or maybe an open space conference .

So what are you doing to make yourself a better programmer and advance your career? One of the things should be regularly attending conferences.


|

Conferences   11 Aug 05
[print link all ]

There are two conferences I’ll be attending soon: Cincinati No Fluff
Just Stuff
and RubyConf.
If you would like to meet up to discuss Seaside
like web frameworks in Java
( Lakeshore ) or Ruby drop me a line
at hensleyl@papermountain.org .


|

Poor Man's Ajax   17 Apr 05
[print link all ]

Last summer I began working on extending Avi Bryant’s liveUpdater.js and integrating it into Borges . I was successful as far as that went and reported my results here and here . Unfortunately Borges turned out to be a dead end because of some fundamental problems with its implementation.

However my fork of liveUpdater.js has went on to lead a productive part in the Lakeshore project (more about it later). liveUpdater has been a core piece of the user interface for many commercial applications written by myself, the gentle folk at Mission Data , and several other people that are using Lakeshore. So in short, liveUpdater is under active development and is being used successfully in several commercial applications.

Enough with the history lesson… take a look at the demo . What’s happening is that some event on the client side (a keypress, a click, etc) triggers a request to the server via XMLHttpRequest. The server returns one or more snippets of HTML. The snippets replace existing sections of the current document based on their “id”. Very nice things are now possible with only a tiny amount (or in the case of Lakeshore, no) javascript coding. You get the dynamic feel and most of the responsiveness that is promised by Ajax without splitting your logic between the client and the server.

Here is how the “Update time” link on the demo works. The HTML contains an empty div with an id of “time”. The “Update time” link is set to use liveUpdater with a target URL of time.cgi :


document.getElementById(‘time-link’).onclick = liveUpdaterUri(‘time-link’,‘time.cgi’)

time.cgi sets the content type of its response to “text/xml”. It returns a body element containing a div with the current time. Note that the id of the div matches the id of the empty div in the original HTML document. If you wished to replace additional elements on the page just include them in the body element.


|

 

Copyright © 2024 Leslie A. Hensley