#TclTk

Colin MacleodCGM@mastodon.scot
2025-08-09

@heikkiket I would say Tcl/Tk but I'm biased of course 😎
wiki.tcl-lang.org/page/Showcase
#tcltk

Colin MacleodCGM@mastodon.scot
2025-07-29

@tcl_tk - or more compactly: dict getdef
#tcl #tcltk #programming

Colin MacleodCGM@mastodon.scot
2025-07-18

EuroTcl/OpenACS conference 2025 presentation videos are now online at learn.wu.ac.at/eurotcl2025/lec 🎬 🎞️ 🎥
#tcl #tcltk #programming #webdev

doctorambientdoctorambient
2025-07-08

I have never heard a story that begins with the words "Richard Stallman..." and ends in a good place.

In other news, TIL tcl got screwed.

smh...again.

Colin MacleodCGM@mastodon.scot
2025-07-07

Neat new video on Tcl - "The Most MISUNDERSTOOD Programming Language" - youtube.com/watch?v=PYh6D1Nhat
#tcl #tcltk #programming

Colin MacleodCGM@mastodon.scot
2025-06-30

The programme for the EuroTcl / OpenACS conference 2025 has been published:
cmacleod.me.uk/tcl/bologna/pro

Registration officially ends today but I hear that late registrations will be accepted: openacs.km.at 😎
#tcl #tcltk #webdev #openacs

Colin MacleodCGM@mastodon.scot
2025-06-26

Last chance to register for the 2025 OpenACS & Tcl/Tk Conference, 10-11 July, Bologna, Italy!
Registration closes on Monday 30th June, see openacs.km.at .
#tcl #tcltk #programming #webdev

Colin MacleodCGM@mastodon.scot
2025-06-20

@tcl_tk I like this proposal and would like to see it TIPed!
#tcl #tcltk

Colin MacleodCGM@mastodon.scot
2025-05-30

@farooqkz Here's the equivalent in Tcl9 - not very different:

foreach i [lseq 0 255] {
foreach size {nanod minid microd halfd thirdd majord} {
foreach r {1 2 4 8 16} {
puts "$i [clock format now -format %T]"
w_run p4_${size}_$r $i
}
}
}
#tcl #tcltk

Colin MacleodCGM@mastodon.scot
2025-05-16

@h4ckernews Amazing progress! Pretty soon thread support in Python will have caught up to what Tcl had 25 years ago! 😎
#python #tcltk #programming

Colin MacleodCGM@mastodon.scot
2025-05-07

@Setok It's worth pointing out there is a good reason for this change. With the old behaviour you could get very weird breakage if you happened to run otherwise-correct code on a file or directory whose name started with '~' .
#tcltk #programming

N-gated Hacker Newsngate
2025-05-05

🚀🎉 "Tkintergalactic": because nothing screams "modern" like a React-style interface... in Tcl/Tk. 🕰️ Get ready to dive into the time warp where developers trade sanity for , and GitHub tries to convince us that Tcl/Tk is the of . 🌀
github.com/leontrolski/tkinter

Colin MacleodCGM@mastodon.scot
2025-04-21

@abcdw It's not too hard in Tcl:

proc run_for_n_seconds {n f} {
set time_limit [clock seconds]
incr time_limit $n
set worker [interp create]
$worker limit time -seconds $time_limit
try {
$worker eval $f
} on error {} {
return "no value"
}
}

Actually this limits execution of f to n seconds *elapsed time* not CPU time, I think it could be extended to check cpu time, but that would be more work.
See docs at tcl-lang.org/man/tcl9.0/TclCmd .

#programming #tcltk

Lukianos (Fabian)lukianos
2025-04-19

The first Tcl9 book arrived today. Many thanks to Ashok Nadkarni for the work!

Colin MacleodCGM@mastodon.scot
2025-03-13

@wolframkriesing #tcl #tcltk -
% string map {{ } {}} { o n e }
one

Colin MacleodCGM@mastodon.scot
2025-02-09

@mcc dicts are a relatively recent addition, arrays were in Tcl from early on. A dict is a single value, which can be assigned to a variable, passed around etc.. An array is more like a collection of variables.
I tried to capture what's distinctive about Tcl in a blog post a while back - colin-macleod.blogspot.com/202
#tcl #tcltk

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst