@wolframkriesing #tcl #tcltk -
% string map {{ } {}} { o n e }
one
@wolframkriesing #tcl #tcltk -
% string map {{ } {}} { o n e }
one
@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 - https://colin-macleod.blogspot.com/2020/10/why-im-tcl-ish.html
#tcl #tcltk
日本語プログラミング言語Mind9βのキャンバスで図形移動してみた
https://qiita.com/mylifewithviolin/items/8f25dd02bc94be8e92ec?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
Tcl is often used in science, mostly behind the scenes. Here's a very recent article in the journal 'software' by Arjen Markus and Lenore Mullin:
"Implementing Mathematics of Arrays in Modern Fortran: Efficiency and Efficacy"
https://www.mdpi.com/2674-113X/3/4/26
It used the Tcl package 'plotchart' to produce the graphs in the paper. This is the package: https://core.tcl-lang.org/tklib/doc/trunk/embedded/md/tklib/files/modules/plotchart/plotchart.md
@willmcgugan @mkennedy Way-to-go! Once again Python finally catches up with something Tcl has had for 20+ years
See: https://code.google.com/archive/p/tclkit/
#python #tcltk
Hoy en mi blog un pequeño resumen sobre las herramientas que vengo usando últimamente para mis cosas:
https://notxor.nueva-actitud.org/2024/11/10/resumen-de-mis-ultimas-herramientas.html
A pauta sobre easter eggs da #SegundaFicha cobre apenas jogos? Como um usuário #Linux da velha guarda, gostaria de resgatar o easter egg das antigas versões do Red Hat (incluindo o #Conectiva Red Hat Linux), que exibiam um chapéu giratório se uma determinada região do `timetool` (aplicativo para ajuste de data e hora) era clicada. Não achei captura de tela, então, precisei eu mesmo fazer uma (emulador PCem, distribuição Conectiva Red Hat Linux Marumbi).
Etiquetas adicionais: #retrocomputing #redhat #fvwm #fvwm2 #anotherlevel #tcltk #emulacao #emulation
Hoy en mi blog, un artículo corto, sobre la nueva versión 9.0 de #TclTk
https://notxor.nueva-actitud.org/2024/09/27/tcl-tk-alcanza-su-version-mayor-9-0.html
Tcl/Tk 9.0 Release Announcement - https://www.tcl-lang.org/software/tcltk/9.0.html
The first major release in 27 years. 64-bit internal structures, so data can be huge. Full unicode with all the funky new emojis. Zip filesystems, etc., etc.
There's lots of new stuff, and some old cruft has been dumped, so some programs may need a few updates, but there's still a high level of compatibility. The page above links to release notes with details of what's in and what's out.
#tcltk #tcl #programming
Hoy nuevo artículo en mi blog sobre un proyecto personal
https://notxor.nueva-actitud.org/2024/08/25/trokola-en-version-alfa.html
@mlnn I had a similar problem a while back (not with Teams but with a company-imposed screensaver that would mess up the screen-switching setup I was using when it kicked in). Since I use Tcl/Tk I was able to prevent this with a one-liner in wish:
while 1 { tk inactive reset; after 60000 }
See docs at https://www.tcl-lang.org/man/tcl/TkCmd/tk.htm#M8 .
I imagine you could do the same thing from Python via Tkinter.
#tcltk #programming
@ben Write the GUI in Tcl/Tk and structure the C++ code as commands that you call from Tcl. If the C++ API is complex use SWIG to automate generation of the Tcl wrappers. See https://tkdocs.com and https://www.swig.org/papers/Tcl .
#gui #programming #tcltk
What's the best logo for Tcl/Tk 9.0, which will be released soon? Please select one, or suggest a better option as a followup. Polls don't allow images, so the images are in the post which this is a followup to.
#tcl #tcltk #programming
Tcl/Tk 9.0 is approaching release, so I think this could be a good opportunity to update the logo. I'm trying to post a poll of options, but it doesn't seem possible to include images in a poll, so I'm posting the images here first, then I will add the poll.
Some discussion of this can be found at https://wiki.tcl-lang.org/page/A+logo+for+Tcl+9 .
#tcl #tcltk #programming @tcl@lemmy.world @tcl@kbin.social
@konstantin Others have recommended Tk - https://tkdocs.com/ - personally I would use Tcl/Tk directly, not via Python. It's still being developed but backward compatibility is taken very seriously so 20-year-old programs still work fine or with minor adjustments.
Tcl/Tk runs natively on windows, macos, linux and most other unix varieties and there is an android port. For web delivery, take a look at CloudTk - you can see some examples at https://wiki.tcl-lang.org/page/Showcase .
#tcl #tcltk #programming
I came up with a neat little hack for running #TclTk from the command line.
https://www.sahill.us/blogs/dist/coding/TCLCommandLine.html
#tcltk #tcl #commandline
The second beta release of Tcl/Tk 9.0 is now available - https://www.tcl-lang.org/software/tcltk/9.0.html
#tcl #tcltk #programming
EuroTcl 2024 registration now open - https://openacs.org/conf2024/info/
11-12 July, Vienna, combined with OpenACS conference.
#tcl #tcltk #programming #openacs
I have #tclTk scripts from over 20 years ago that fire up and run just like they did before.
Meanwhile... #Python says "You have 3.5.1.1 but you need 3.5.1.1.2 to run this"
That is the wrong fucking way of doing a #programmingLanguage