2005-04-26:
QOTW: "One of the nicest things about the TIP rendering code is that I
manage different output formats by just executing the code version of the
TIPs in different namespaces." -- Donal K. Fellows
"There are no types. Types are bad. Types are the underlying hardware
implementation showing through into the code." -- D. Richard Hipp
POTW: TclUDP makes UDP programming handy on Windows, Linux, *BSD,
and, soon, MacOS.
http://wiki.tcl.tk/tcludp
Tcl improves constantly. While some remote observers sincerely
believe it moribund, in fact there's interesting, necessary, and
sometimes leading-edge (does the larger software world yet under-
stand stubs or VFS?) work and rework going on every day. Notice,
for example, how the low-level progress of Zoran Vasiljevic, Daniel
Steffen, Jeff Hobbs, and others, apparently having to do only
with obscurities of threading under Mac OS, might well result in
whole new categories of cross-platform capabilities.
http://sourceforge.net/mailarchive/forum.php?thread_id=7063780&forum_id=3853
It's not so much that you're going to need to simulate in software
an old "flip-card" scoreboard, although you'll certainly thank
Chris Nelson and Andreas Leitgeb if you do. The larger point is
simply what interesting results a very few lines of code can give.
http://groups-beta.google.com/group/comp.lang.tcl/browse_thread/thread/9de6c1ae13a37c9a/
Don Porter, Helmut Giese, and others illustrate the modern
alternatives to "big wishes", with the usual consequences for
those working on unusual operating systems, in embedded
situations, and so on.
http://groups-beta.google.com/group/comp.lang.tcl/browse_thread/thread/1dcae46fd40ca1cf/
GUIs are hard to do right. Everything about them is gnarlier
than you think. Even choosing a single color is difficult.
http://groups-beta.google.com/group/comp.lang.tcl/browse_thread/thread/f6771ae4437b8fc3/
Thanks to Arjen Markus for his report from the Wiki(s):
Some things old, some things new - it is the usual kind of activity
on the Wiki ...
Fun with maths
- If your kid collects picture cards and has ambition to get the
complete set, you may want to try this (French) page to compute
the financial consequences ...
- Perhaps it is better to set your kid to this little app and
have him/her sharpen his/her arithmetical skills ...
- For those who already know how to divide and multiply, here
is a more advanced challenge: understand wavelets - the
page is one of several featuring
the concept.
Fun with programming
- Call it webscraping, call it an HTTP robot, the principle
remains the same: get a little program to hunt down the
contents of a web page automatically -
- Does Tk have sufficient support for copying and pasting?
The answer is: it depends -
- Communicating with another program via a two-way pipe is
fraught with details ... or is it?
- Your Wiki chronicler will keep silent about this programming
style -
Fun with Tcl
- Yet another marketing discussion: _we_ know Tcl is a well-kept
secret, but shouldn't we tell others about this?
and, as a kind of answer,
- No documentation for the source code? You might want to
try out some tool to generate it ...
- No online help? You might want to try this tool:
- just Tcl/Tk, so no excuse.
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=djq&as_q=+Tcl-URL&as_ugroup=comp.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
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.