FF a.k.a. Federico Ferri Notes about me: Italian, student in Computer Science Engineering, programmer, newcomer tcl addict, [[...]] You can find me on IRC, I identify as ''federico__'' on Freenode. When posting to the wiki (from home) my IP is 83.187.192.0/83.187.255.255 (netname=IT-TELE2-ADSL) ---- My projects: * [ResistorFinder]: an utility to quickly find resistors of a specified value, by trying singles, series and parallel combinations, highlighting the better matching one * [MimeTexPreview]: embedding [TeX] formulas into Tcl canvas * [MimeTexBuffer]: as above, plus interactive editing [[''experimental!'']] * [Periodic Table of Chemical Elements] with clickable elements. A tiny example of tDOM/XPath usage. * [TrackerWidget]: a grid/table/spreadsheet like widget * [TemplaTcl: a Tcl template engine] suitable and designed for web page generation (it embeds nicely (and inline!) into HTML/XML documents; WYSIWYG-editor friendly). Really has unlimited uses: I use it also for code generation. My snippets: Since I keep re-coding and re-coding, and asking on #tcl things I (once) know how to do... I'll begin putting here my code snippets, in the hope they will be useful again to me (ah, and to others of course! ;P) * [Canvas moving objects and toggle tags] is a very minimal example on how to make interactive objects in canvas with few code. Relevant features: moveable canvas objects, mouse hover changes style, middle click toggle (moveable) tag. * [Widget Hiding as opposed to Widget Overloading] started as a simple widget with a Tk-like programming interface (would you call that '''gadget'''?) but now it's seriously taking the form of a real useful widget. Stay tuned Random stuff: KeepNick, an [[XChat Plugin]] to automate the nickname recover after the automatic reconnect of the IRC client (simply put '''keepnick.tcl''' file into your ~/.xchat2 directory): set ::nick_to_keep "YourNickname" set ::nickserv_pw "YourNickServPassword" timer -repeat 30 { if {[me] != $::nick_to_keep} { /msg NickServ RECOVER $::nick_to_keep $::nickserv_pw /msg NickServ RELEASE $::nick_to_keep $::nickserv_pw /nick $::nick_to_keep /msg NickServ IDENTIFY $::nickserv_pw print "keepnick.tcl: recovered your nickname" } } ---- I thought, when I first saw the title of this page, it was going to be about Marvel's "Fantastic Four"... sigh. Wonder if Reed Richards embeds Tcl into his devices to beat Doom, etc. ''[escargo]'' - Wouldn't an extension of a different existing language be more likely, namely Fantastic [Forth]? ---- [Category Person]