For Programmers: Free Programming Magazines  


Home > Archive > Tcl > July 2005 > Dr. Dobb's Tcl-URL! - weekly Tcl news and links (Jul 21)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Dr. Dobb's Tcl-URL! - weekly Tcl news and links (Jul 21)
Cameron Laird

2005-07-24, 8:59 pm

QOTW: "Tcl doesn't work ... it [plays]." -- Miguel Sofer

"The number one bug I see in other people's Tcl code is failure to
account for the possibility that a file name or pathname may have a
space in it.

Come on people! Pathnames can have spaces in them!

Even on Unix!" -- Stephen Huntley


POTW: TclRobots is "based on an old version of tcl, but ... it's ...
a really game!"
http://www.nyx.net/~tpoindex/tcl.html#TclRobots


ActiveTcl 8.4.11.0 is available.
http://groups-beta.google.com/group...b3df1b0a169cf4/

"Tcl/Tk ... [is] a nice Macintosh development framework", thanks
to Jim Ingham, Daniel Steffen, and others.
http://www.kevin-walzer.com/pivot/entry.php?id=70

It is feasible to embed an xterm in a Tcl application.
http://groups-beta.google.com/group...26517f914e72aa/

What does "drag a file onto a (Tcl) application" mean at the
command-line level?
http://groups-beta.google.com/group...46df0016c875f0/


Everything Tcl-related you want is probably one or two clicks away in these
pages:
The "Welcome to comp.lang.tcl" message by Andreas Kupries
http://www.purl.org/net/tcl-welcome

The Tcl Developer Site is Tcl's "home base".
http://www.tcl.tk

Larry Virden maintains a comp.lang.tcl FAQ launcher.
http://www.purl.org/NET/Tcl-FAQ/

The Tcl Developer Xchange is a highly organized resource center
of documents and software with provisions for individuals to
maintain references to their own software:
http://www.tcl.tk/resource/
The TDX sponsor, ActiveState, also keeps info to convince your
boss Tcl is a good thing
http://www.tcl.tk/scripting/

The Tcl'ers Wiki is a huge, dynamic, collaboratively edited repository
of documentation, examples, tutorials and pontifications on all things
Tcl.
http://wiki.tcl.tk/0
For the ideal overview of the topics about Tcl most likely to
interest a newcomer, see "Arts and Crafts ..."
http://wiki.tcl.tk/969

ActiveState maintains binaries distribution and development tools
http://www.activestate.com/Tcl
along with a Cookbook of Tcl recipes
http://aspn.activestate.com/ASPN/Cookbook/Tcl

deli.cio.us presents an intriguing approach to reference commentary.
It already aggregates quite a bit of Tcl intelligence.
http://del.icio.us/tag/tcl


Cameron Laird tracks several Tcl/Tk references of interest
http://phaseit.net/claird/comp.lang.tcl/

Cetus Links maintains a Tcl/Tk page with verified links
http://www.cetus-links.org/oo_tcl_tk.html

"Yahoo! Groups" archives comp.lang.tcl.announce posts
http://groups.yahoo.com/group/tcl_announce/

Previous - (U)se the (R)esource, (L)uke! - messages are listed here:
http://www.ddj.com/topics/tclurl/
An alternative is
http://groups.google.com/groups?oi=...p=comp.lang.tcl

Suggestions/corrections for next w's posting are always welcome.

To receive a new issue of this posting in e-mail each Monday, ask
<claird@phaseit.net> to subscribe. Be sure to mention "Tcl-URL!".
--
Dr. Dobb's Journal (http://www.ddj.com) is pleased to participate in and
sponsor the "Tcl-URL!" project.
lusol

2005-07-24, 8:59 pm

Cameron Laird <tcl-url@phaseit.net> wrote:

> POTW: TclRobots is "based on an old version of tcl, but ... it's ...
> a really game!"
> http://www.nyx.net/~tpoindex/tcl.html#TclRobots


I had lots of fun writing Tcl robot control programs when TclRobots
first appeared, and it's non-trivial do it right. So much fun, in
fact, that I wrote a Tk::TclRobots module for Perl/Tk that allowed you
to write your RCP in either Tcl or Perl, and they could battle each
other.

As you might guess, the language didn't determine the better RCP, luck
and good algorithms did.

Steve
--
@_=map{eval"100${_}"}split/!/,'/5!*2!+$]!/10+$]';use Tk;$m=tkinit;$t='just an'.
'other perl hacker';$z='createText';$c=$m->Canvas(-wi,$_[1],-he,25)->grid;$c->$
z(@_[2,3],-te,$t,-fi,'gray50');$c->$z($_[2]-$],$_[3]-$],-te,$t);$m->bind('<En'.
'ter>',sub{$y=int(rand($m->screenheight));$m->geometry("+$y+$y")});MainLoop;
Aric Bills

2005-07-24, 8:59 pm

> @_=map{eval"100${_}"}split/!/,'/5!*2!+$]!/10+$]';use Tk;$m=tkinit;$t='just
an'.
> 'other perl

hacker';$z='createText';$c=$m->Canvas(-wi,$_[1],-he,25)->grid;$c->$
>

z(@_[2,3],-te,$t,-fi,'gray50');$c->$z($_[2]-$],$_[3]-$],-te,$t);$m->bind('<E
n'.
>

'ter>',sub{$y=int(rand($m->screenheight));$m->geometry("+$y+$y")});MainLoop;

No offense to crafty Perl guys out there, but two things I love about Tcl
are that the language lends itself to legible programs, and that the
community shies away from "gibberish as programming". Thank you, Tcl.
Thank you, Tcl'ers.

Aric


Andreas Leitgeb

2005-07-24, 8:59 pm

Aric Bills <aricb@u.wwashingtonn.edu> wrote:
> z(@_[2,3],-te,$t,-fi,'gray50');$c->$z($_[2]-$],$_[3]-$],-te,$t);...


> No offense to crafty Perl guys out there, but two things I love about Tcl
> are that the language lends itself to legible programs, and that the
> community shies away from "gibberish as programming". Thank you, Tcl.
> Thank you, Tcl'ers.


Perl allows the programmer to write legally open source, writing
effectively closed source.

John Seal

2005-07-24, 8:59 pm

Andreas Leitgeb wrote:
> Perl allows the programmer to write legally open source, writing
> effectively closed source.


The proverbial "write-only" language. I felt the same way about APL
when I was in college, although I loved the language and was fairly
fluent in it.

I am also reminded of the humorous rationale for not commenting your
code: "It was hard to write, so it should be hard to read, too".
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com