Dr. Dobb's Tcl-URL!
[Posted August 12, 2003 by cook]
| From: |
| John Seal <tcl-url@phaseit.net> |
| To: |
| "Dr. Dobb's Tcl-URL distribution" :; |
| Subject: |
| Dr. Dobb's Tcl-URL! - weekly Tcl news and links (Aug 12) |
| Date: |
| Tue, 12 Aug 2003 09:04:47 -0500 |
QOTW: "It is good to know that expertise like yours can be found
on this newsgroup, when it is needed." -- Andrew Wilford
"Take your medicine like a good boy." -- Donald Arseneau
POTW: Tkgeomap 2.0 by Gordon. "[A] set of extensions to the Tcl/Tk
scripting language for manipulation and display of geographic data."
http://tkgeomap.sourceforge.net
You're not alone if you want a way to display postscript on a canvas:
http://groups.google.com/groups?th=750b9ec58d760f7
If you need a "Windows Explorer"-like file browser, there are several
choices:
http://groups.google.com/groups?th=c6ee11e62cd0d08b
When building a command now, to evaluate later, you have to distinguish
between what you know now and what you won't know until later. This
epic thread shows us how to avoid quoting hell by understanding and
respecting the quoting, parsing, and evaluation rules:
http://groups.google.com/groups?th=ef24f3f569efb6e9
Mark Roseman has photos from the Tcl conference:
http://www.markroseman.com/tcl/conf2003.html
An interesting interaction between canvas coordinates and -anchor:
Putting the corner at 0 0 is easier than putting the center at w/2 h/2!
http://groups.google.com/groups?th=9d1989829895c191
Use of a custom -command with lsort is discussed:
http://groups.google.com/groups?th=25bfd3e1975c9d5a
TIP #146: Add Overall Anchoring to the Grid Geometry Manager. Now, how
about other overall defaults? Whenever I use grid, I find myself writing
the same "-padx 2 -pady 2 -sticky nsew" over and over!
http://groups.google.com/groups?th=d6a21b9f44f2b07f
"Themes for Tk" is the theme of this opinionated thread:
http://groups.google.com/groups?th=cce168d3dafb562e
Printing "progress indicators" doesn't do much good if they get buffered
until you're done! (Hmm. I've always called them "dancing bears", but
that doesn't seem to be in the Jargon File.)
http://groups.google.com/groups?th=e4f75aaf09db560b
Do newbies experience cognitive dissonance when they learn that Tcl
doesn't have 2-dimensional arrays, then see expressions like foo($a,$b)?
http://groups.google.com/groups?th=b3a9f24b41530ba8
TIP #148: Correct [list]-Quoting of the '#' Character.
(The reference to "shimmering" is the first one I've seen in a long time!)
http://groups.google.com/groups?th=c735599f74feba5b
Rejoice, for a soul is saved from packing hell!
http://groups.google.com/groups?th=5b3009305c7d6bca
Thanks to Arjen Markus for his summary of recent Wiki activity:
Your chronicler refrains in this summary from including the lively
debates on argument expansion and how to make Tk more acceptable.
These two are vast subjects and they have spawned a number of
Wiki pages.
Instead, let us have a look at these:
Elements in user-interfaces:
- Analogue widgets are described on page <http://wiki.tcl.tk/9107> -
they are available as a nice little package now.
- Two small scripts, just to show what can be done with Tk and listboxes:
<http://wiki.tcl.tk/9561> and <http://wiki.tcl.tk/9562> give listboxes
an alternating colour or a flashing entry.
Games and other applications:
- A sailplane to be flown at your own or with another person -
<http://wiki.tcl.tk/9085>
- Building a triangulation network, it is easy enough -
<http://wiki.tcl.tk/9598> - if you are a "mental giant" (oops, I could
not help myself, if you understand what I mean, but then you are probably
a Dutch-spoken person with the same fondness of "Olivier Bommel")
- Tough problems exist in maths, here is one: evaluating complicated
logical expressions - <http://wiki.tcl.tk/9582>
- Easier to solve and very useful: creating charts at
<http://wiki.tcl.tk/9503>
- Logo keeps us occupied, this time a whole new implementation in Tcl.
<http://wiki.tcl.tk/9593> gives the details and invites the reader
to comment!
Finally, Andreas Kupries put together an extensive account of the
Tenth Annual Tcl/Tk Conference at <http://wiki.tcl.tk/9569>.
I wonder if someone can fill in the results of the BOFs he did not
attend ...
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
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.