hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Smircer, Clone of the Little Tcl IRC Client #

by why in bits
I saw the link floating around for the IRC client written in 38 lines of Tcl and I just wondered. Obfuscation is so lackluster this season, so here’s a clone in nice, clean 70-something lines instead. The code is here: smircer.rb. It uses the FOX bindings by Lyle Johnson. It’s a great library, but I couldn’t figgr how to italicize only portions of the blamin text. The Tcl example is much more interesting than this one, though, because Tk fits Tcl so well. Ours will be much better once:
 class SmIrcer < FXMainWindow
   dimensions 600, 400
   add_vertical_frame :layout => :fill do
     add_text :text => [:readonly, :wordwrap], :layout => :fill
     add_text_field :frame => [:sunken, :thick], :layout => :fill_x
   end
 end
said on 08 Mar 2006 at 21:15

Ok first it was the cool book, then tryruby, then you weren’t satisfied you had to call a web service from a batch file(marvelous). Winking hood and all(rubyexe!!). Camping thown in just for fun and prose. Now rich clients simplified(on the edge of my seat).

_Why you are a machine!

Thanks for the code, prose and the comics(fanboy)!!

said on 08 Mar 2006 at 21:36

Agreed, you are an awesome inspiration machine. Camping is sexy, for sure, and the book is awesome. Thanks for taking part in the community.

Rock on!

M.T.

said on 09 Mar 2006 at 05:29

What’s with the tabs; it looks like Python.

said on 09 Mar 2006 at 10:33

I’ll have you know I predicted this yesterday

Good stuff.

said on 16 Mar 2006 at 08:45

TABS are great for spacing! half the keystrokes for (more than) twice the spacing. mac << widescreen

said on 16 Mar 2006 at 09:19

I love Why and I love ruby. Very cool. I’ve dugg it. Go Digg it here

said on 16 Mar 2006 at 09:19

I love Why and I love ruby. Very cool. I’ve dugg it. Go Digg it here

said on 16 Mar 2006 at 09:25

It appears I am an idiot. Please disregard the first of my previous comments.

said on 16 Mar 2006 at 13:44

Yeah, tabs are the stuff of gods. We should all be using them. The width can be adjusted, they’re easier to deal with, they can be visualized separate from spaces… I’m a tabguy for sure.

said on 17 Mar 2006 at 01:40

@Branstrom: fantaboy

said on 17 Mar 2006 at 01:44

@Branstrom: fantaboy

said on 17 Mar 2006 at 08:19

@bjork: fantabulous

said on 19 Mar 2006 at 23:34

@Branstrom: fantaboy

Comments are closed for this entry.