Dr. Dobb's Tcl-URL!
[Posted June 16, 2003 by ris]
| From: |
| John Seal <sealj@indy.raytheon.com> |
| To: |
| "Dr. Dobb's Tcl-URL distribution" :; |
| Subject: |
| Dr. Dobb's Tcl-URL! - weekly Tcl news and links (Jun 16) |
| Date: |
| Mon, 16 Jun 2003 06:29:33 -0500 |
QOTW: "Knowing is better than guessing." -- Derk Qwen
"I am told that regexp matching with mixed-greediness is deterministic
and can be predicted by some people. I was also told about the Easter
bunny." -- Donald Arseneau
POTW: RBTree 1.1.2: Red-black trees for Tcl, by Philip Smolen: "Roughly
speaking, this is a cross between an array and an ordered list. It can
efficiently find a value in the tree, like an array. But it can also
find the closest value to value that is not in the tree, or all the
values between two values, like an ordered list."
http://www.trade-ideas.com/home/phil/RBTree/RBTree.html
Comp.lang.tcl maintains its high signal-to-noise ratio through a fairly
slow week:
"You got forks in my threads!"
"You got threads in my forks!"
Is mixing threads and forks a tasty combination, or a recipe for
disaster?
http://groups.google.com/groups?th=3668bf810b842b9a
C has its asterisks, Tcl has its dollar signs, and they can be just as
confusing:
http://groups.google.com/groups?th=89172343f5c0e6c2
Don't just sprinkle them around until it works, know the 11 rules (The
Endekalogue):
http://www.tcl.tk/man/tcl8.4/TclCmd/Tcl.htm
When are interps like chickens? When they keep running after you cut
off their head!
Tcl Bug 495830 causes problems with bytecode compiled [while] loops:
http://groups.google.com/groups?th=9381cc9b2b01b1ea
Don't even THINK about polling when you can use fileevents instead!
For instance, when "checking if processes have finished":
http://groups.google.com/groups?th=c511d5232dae2690
Deep regexp voodoo exhibited in "Regexp across many lines":
http://groups.google.com/groups?th=8394c32222d2390f
Thanks to Arjen Markus for his review of Wiki activity:
From the recently added and edited pages of last week, a fair number have
a common theme: "make the computer look more human." For instance:
- Two pages on recognising handwritten text, <http://wiki.tcl.tk/1770> and
<http://wiki.tcl.tk/9094>. The approaches are different, yet similar.
- Displaying continuous data as analogue widgets rather than numbers,
three forms of dials, all described at <http://wiki.tcl.tk/9107>
- Choosing the date in "any" language you like, a little GUI at
<http://wiki.tcl.tk/1816>
Then pages on more technical subjects:
- A comparison of TclDOM and tDOM - both have their uses and advantages
as shown in <http://wiki.tcl.tk/9098>
- An example of threads in Tcl, <http://wiki.tcl.tk/9100> contains
a small but instructive example
- Transferring files and sending messages does not have to be complicated
- <http://wiki.tcl/tk/9102> illustrates how to do it in pure Tcl.
Everything 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
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
Google 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=3Ddjq&as_q=3D+Tcl-URL!&as_ugroup=3Dcom=
p.lang.tcl
Suggestions/corrections for next week'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.
(
Log in to post comments)