Re: [gentoo-user] Tcl in your system...

2011-11-29 Thread Paul Hartman
On Mon, Nov 28, 2011 at 11:03 PM, Michael Mol  wrote:
> On Mon, Nov 28, 2011 at 11:33 PM, Pandu Poluan  wrote:
>> Just wondering if anyone here ever use Tcl for scripting (i.e., automating
>> repetitive procedures) or even *gasp* serious programming.
>
> Not me, but Tcl is one of the best-represented langauges on the site I run.
>
> http://rosettacode.org/wiki/Category:Tcl

(OT) Hey, that's a great site, I had not seen it before. it reminds me
of the old code snippets archives for C and Pascal that I used to
download from dial-up BBS back in the olden days. I always like to
learn from how other people solved a problem, even if I already solved
it myself (sometimes especially if I already solved it myself,
probably poorly...).



Re: [gentoo-user] Tcl in your system...

2011-11-29 Thread Albert W. Hopkins
On Tue, 2011-11-29 at 11:33 +0700, Pandu Poluan wrote:
> Just wondering if anyone here ever use Tcl for scripting (i.e., automating
> repetitive procedures) or even *gasp* serious programming.

At a previous job we had licensed some software that was written in
TCL.. and even had an API for the system.  I can't recall the name of
the software at the moment, but it was very specialized so not cheap.
This was during the late 90s/early 2000s.

I have no idea if the company is still around of if they still sell the
software or if it's still tcl-based (my memory fails me).

-a





Re: [gentoo-user] Tcl in your system...

2011-11-29 Thread Paul Hartman
On Mon, Nov 28, 2011 at 10:33 PM, Pandu Poluan  wrote:
> Just wondering if anyone here ever use Tcl for scripting (i.e., automating
> repetitive procedures) or even *gasp* serious programming.

At my workplace we use a commercial Tcl-based mail and web server for
sending out millions of emails to our customers. Scripting the
messages with Tcl to generate dynamic mail contents based on their
location, purchasing history, doing A/B tests, etc.



Re: [gentoo-user] Tcl in your system...

2011-11-29 Thread HÃ¥kon Alstadheim

Den 29. nov. 2011 06:03, skrev Michael Mol:

On Mon, Nov 28, 2011 at 11:33 PM, Pandu Poluan  wrote:

Just wondering if anyone here ever use Tcl for scripting (i.e., automating
repetitive procedures) or even *gasp* serious programming.

Not me, but Tcl is one of the best-represented langauges on the site I run.



I use it for small stuff (with expect) regarding keeping my cheap 
consumer-grade routers/switches running. Those things usually have 
either a telnet or ssh interface that allows me to 
monitor/configure/reboot, but they are usually too ficle to be 
programmed in any predictable way. Muddle through a problem manually, 
and record the solution in an expect script to keep until next time. 
Over the years I have accumulated several that are stable enough to run 
unattended. Last couple of times that my most troublesome wifi-box got 
alzheimers, it got rebooted automatically. Dynamic DNS (10+ hostnames) 
and ADSL rebooting happens within 5 minutes of my ISP deciding to do 
something weird. expectk brings a semblance of sanity.


No serious programming though. Did use exmh as my main mailclient until 
~9 years ago. It is still being developed, look into that if you want an 
example of Tcl in a largeish project.







Re: [gentoo-user] Tcl in your system...

2011-11-28 Thread Michael Mol
On Mon, Nov 28, 2011 at 11:33 PM, Pandu Poluan  wrote:
> Just wondering if anyone here ever use Tcl for scripting (i.e., automating
> repetitive procedures) or even *gasp* serious programming.

Not me, but Tcl is one of the best-represented langauges on the site I run.

http://rosettacode.org/wiki/Category:Tcl

-- 
:wq



[gentoo-user] Tcl in your system...

2011-11-28 Thread Pandu Poluan
Just wondering if anyone here ever use Tcl for scripting (i.e., automating
repetitive procedures) or even *gasp* serious programming.

Rgds,