Tcl-Lang Showcase
wiki.tcl-lang.org
Tcl-Lang Showcase
1–10 of 45 posts
Re: Tcl-Lang Showcase
#2When I started that job I didn't know the difference between Tcl and TCP. I spent a couple months studying Phillip Greenspuns books. It also made me a better engineer because unlike PHP I couldn't just Google how to do basic web server stuff so I had to learn from first principles. That's how I ended up building my first asset minification pipeline that served the "$file.gz" if it existed with content-encoding: gzip.
Nearly 20 years later and I'm basically a http specialist (well, CDN/Ingress/mesh/proxy/web performance).
Tcl is still kind of neat in a hacky way (no other language I've run across regularly uses upvars so creatively).
Shout-out to ad_proc and aolserver.
Re: Tcl-Lang Showcase
#3No it isn't; I just get an empty frame with a close button. This is consistent on multiple browsers/platforms.
Re: Tcl-Lang Showcase
#4"By clicking on the image, an interactive demonstration of the Tcl/Tk application is launched using CloudTk." No it isn't; I just get an empty frame with a close button. This is consistent on multiple browsers/platforms.
Re: Tcl-Lang Showcase
#5"By clicking on the image, an interactive demonstration of the Tcl/Tk application is launched using CloudTk." No it isn't; I just get an empty frame with a close button. This is consistent on multiple browsers/platforms.
Re: Tcl-Lang Showcase
#6Coincidentally Tcl also inspired my first deep dive into Vim. The test automation framework at that company required meaty Tcl expressions packed into CSV cells. Tcl was mind-boggling enough when properly formatted, so hand-editing squashed 1800 character long expressions on a single line was way too much. I'm fairly certain the assignment was part hazing and the framework part "job security".
Jokes on them, I spent 2 weeks on a side quest to make a Vim plugin that could add line breaks and indent a Tcl expression into a split temporary buffer for editing and squash it back to the right cell when I was done. Halfway through the summer I had completed the entire backlog. The manager got a reprimand for being a jerk and I spent the rest of the summer making the framework less painful.
Re: Tcl-Lang Showcase
#7LUks is a requirement and requires a random password on each workstation. Password generation with handmade web gui stored natively in sqlite all under 200 LoC so far.
Tcl gets flak, but it's battle tested. Still under active development and has a cool GUI, Tk, I love it as a language. In terms of simplicity it just works out of the box, execution in a single file, in a sanely manner.
Wrap a variable in brackets {} and you've secured yourself from injections or run the procedure in a lightening safe interpreter if your paranoid.
Threading is a breeze. It does make you think in a different methodology which folk may rebuttal, but once you get it, it's great.
NaviServer too, AOLs original webserver is awesome.
Re: Tcl-Lang Showcase
#8Re: Tcl-Lang Showcase
#9I'm currently working on a PXE provisioning system with Tcl. This crafts a KickStart configuration hosted on a virtual URL. LUks is a requirement and requires a random password on each workstation. Password generation with handmade web gui stored natively in sqlite all under 200 LoC so far. Tcl gets flak, but it's battle tested. Still under active development and has a cool GUI, Tk, I love it as a language. In terms…