#tcl
😠 Un incendie volontaire impact aujourd'hui des milliers de nos usagers, je condamne fermement cet acte totalement irresponsable.
Merci à toutes nos équipes #TCL mobilisées qui travaillent depuis nuit pour rétablir au plus vite la circulation des lignes affectées.



🎉🚇 Nous sommes ravis d'annoncer que l'OPEN PAIEMENT du Réseau #TCL @SYTRALmobilites@twitter.com de la Métropole de Lyon a atteint un jalon impressionnant : 8 millions de ventes en un an !
Cela représente plus d'un ticket sur deux vendus sur notre réseau !

TCL C845 Mini LED 電視系列現場開箱
最新影片
The post TCL C845 Mini LED 電視系列現場開箱 appeared first on 香港 unwire.hk 玩生活.樂科技.
#unwire TV #TCL C845
https://unwire.hk/2023/05/31/tcl-c845/unwire_podcast/?utm_source=rss&utm_medium=rss&utm_campaign=tcl-c845

🟣 Dans la Métropole de Lyon, nous avons mis en place la gratuité des tickets #TCL pour tous les élèves lors des sorties scolaires.
Cette mesure permet aux écoles de consacrer le budget jusqu'alors dédié aux transports à des projets éducatifs. 🚍🧩

Do not care at all for #Tcl v8.6 complaining about the un-cuddled "else" & the opening brace being on the next line as start of a block^Wscript.
#wart
Unlike Perl, there seems to be no equivalents of "strict" & "warnings" pragmas, or "-c" run option to check largely without execution. There certainly have been improvements over Tcl. For sanity!
On that note, #noteToSelf #fightTheUrge the urge to rewrite <https://hachyderm.io/@anubhav/110439246149542360>.
... #Tcl #crashCourse
proc parse {fh} {
set map [ dict create ]
while { [gets $fh line] >= 0 } {
if { [ regexp {^[ \t]*([a-zA-Z]+)[ \t]+([0-9]+)[ \t]*$} $line _ user disp ] } {
if { $disp > 0 } {
dict set map $user $disp
}
}
}
return $map
}
if { [ catch { set fh [open {./user-display-map.cf} r] } err ] } {
puts stderr "Could not read: $err"
exit 1
}
set parsed [ parse $fh ]
dict for {user disp} $parsed {
# Use.
puts "$user :$disp"
}
#moreOrLess
#TCL hat einen 8K-Fernseher angekündigt. Der #TV kann sich in einen Tisch verwandeln. https://winfuture.de/news,136470.html?utm_source=Mastodon&utm_medium=ManualStatus&utm_campaign=SocialMedia
CL Lisp UI updates Themes using #TclTk
Must be good @louis likes it
https://lisp-journey.gitlab.io/blog/pretty-gui-in-common-lisp-with-nodgui-tk-themes/
#Tcl #crashCourse
See also:
- catch <https://www.tcl.tk/man/tcl/TclCmd/catch.html>
- dict <https://www.tcl.tk/man/tcl/TclCmd/dict.html>
- error <https://www.tcl.tk/man/tcl/TclCmd/error.html>
- open <https://www.tcl.tk/man/tcl/TclCmd/open.html>
- regexp <https://www.tcl.tk/man/tcl/TclCmd/regexp.html>
#Tcl #crashCourse
Finally on file handling <https://www.tutorialspoint.com/tcl-tk/tcl_file_io.htm> I had been waiting for!
With "#regexp" <https://www.tutorialspoint.com/tcl-tk/tcl_regular_expressions.htm> & "#catch" <https://www.tutorialspoint.com/tcl-tk/tcl_error_handling.htm>, something like ...
(next)
#crashCourse
#Tcl is full of #context #magic. Syntax introduced as a construction of a string ("{anX orY}") behaves differently based on context, "if" test expression; in a "proc" signature, specifying the parameters or setting the default value.
(So is Python with "{}" & need to use parentheses for "tuples" sometimes. Perl is horrible for return value being dependent on assignment context.)
The packaging <https://www.tutorialspoint.com/tcl-tk/tcl_packages.htm> seems to indicate that #Perl had borrowed heavily from it.
- #GoToHell #Tcl for requiring a decimal point for proper division result🖕 Provide another operator instead for integer-division result if must.
- "first" (or "last") & "index" functions are dissimilar: they have order of parameters swapped. Whatever for?
- REPL is painful for lack of history recall; loss of variable on error😒
*ugh*
A #Tcl program has same code copy-pasted in 3 places, /seemingly/. Before I could refactor, will read up on #proc(edure) ... along with the rest.
Then, add configuration file parsing to generate an associative array or a #dict
A long list of values had been hardcoded in 3 places: 2x in one shell script; 1x in above Tcl program.
Already updated the shell script to parse the configuration file via #awk in the main branch of the Git repository. #lowHangingFruit
#softwareDev #life
TV dobrável da TCL pode virar uma mesa para a sala; veja
🟣 Nous avons mis en place la gratuité des tickets #TCL pour tous les élèves lors des sorties scolaires.
Cette mesure permet aux écoles de consacrer le budget jusqu'alors dédié aux transports à des projets éducatifs. 🚍🧩

“A string is a string in the category of string substitutions, what’s the problem?” - #Tcl blog posts
To make good on saying I'd try an offical Mindshifting May language on #exercism I started #tcl and it's a small but tidy language. "What if *everything* was a string?"
I couldn't shake the feeling that I'd heard of it before. It just clicked... tcl/tk - the basic GUI toolkit I know from #rstats ... it's the scripting language part of that! I'd even followed @coolbutuseless' expansion into the {tickle} package, but for some reason I never put the two together in my mind 🤦♂️

The 2023 TCL premium TV lineup is now available
TCL has announced the pricing and availability of its new premium TV line, which includes the S-Series and Q-Series of TVs.
#TCL #technews #hometheater #TVs
https://techaeris.com/2023/05/16/the-2023-tcl-premium-tv-lineup-is-now-available/
📓🎨 Magnifique nouvelle rame de notre réseau @SYTRALmobilites@twitter.com-#TCL réalisée par @PantoneFelipe@twitter.com !
Depuis le début de notre mandat, nous soutenons nos artistes locaux en transformant une partie de nos rames en œuvre d'art mobile.🚊

🚤 Une navette fluviale sur la Saône d'ici à 2️⃣0️⃣2️⃣5️⃣, accessible avec un simple abonnement #TCL. 🎫
Avec nos magnifiques cours d'eau, nous ne pouvions pas manquer cette opportunité pour nos habitants.
➜ Des bateaux décarbonés avec une fréquence toute les 15 minutes.

My 18yo nephew asked me what my favorite #ProgrammingLanguage is and I don’t actually know the answer.
I *use* #C and #Go for applications. I write #Python for data munging and scripts and small apps. I’ve written many thousands of lines of each. I sponsor #Zig.
But is one of them my *favorite*?
I think my favorite would probably be something like #APL or #BQN or #Lisp or #Prolog or #PostScript or #Forth or #REXX or #Tcl or #Eiffel or #REBOL or #Oberon or #HyperTalk or #TutorialD or…
Interesting #biography of Salvatore ‘antirez’ Sanfilippo, the creator of #Redis:
“Story: Redis And Its Creator Antirez”, Chang-Hung Liang (https://blog.brachiosoft.com/redis-en).
Original in #Chinese: https://blog.brachiosoft.com/redis
Via Lobsters: https://lobste.rs/s/ldamqv/story_redis_its_creator_antirez








Wed, May 17 @ 7pm Central (00:00 UTC): Rashad Gover on "Okampi: A Simpler Web Framework for Haskell"
Discussions: https://discu.eu/q/https://hfpug.org/
#elm #functionalprogramming #haskell #ocaml #programming #tcl
@AccordionGuy Hi, I thought it could be interesting to try one of your examples in my favourite language #tcl . Tcl's clock command doesn't have quite as many options as the Swift library, but it can do a lot with quite compact code, see https://www.tcl-lang.org/man/tcl8.6/TclCmd/clock.htm . Here's my version of your fridayThe13ths:
![Tcl code:
proc fridayThe13ths year {
set date [clock scan 01/13/$year]
set end [clock add $date 1 year]
while {$date < $end} {
set day [clock format $date -format %a]
if {$day eq "Fri"} {
lappend result $date
}
set date [clock add $date 1 month]
}
return $result
}
puts "\n\U0001F47B Here are the Friday the 13ths for 2024:"
foreach fridayThe13th [fridayThe13ths 2024] {
set fridayThe13thFormatted [clock format $fridayThe13th]
puts "• $fridayThe13thFormatted"
}](https://s3.eu-central-2.wasabisys.com/mastodonworld/cache/media_attachments/files/110/306/900/329/210/737/small/d8f72e8492547f68.png)
Supprimer les cookies du site permet de récupérer l’interface de https://tcl.fr/ suite à cette manipulation.
Dimanche dernier, j’ai vu de la publicité pour un outil de surcouche d’accessibilité, projeté sur les murs du métro. Ces publicités concernent le site web des Transports en Commun Lyonnais, publié par le SYTRAL (https://tcl.fr/).
J’ai testé l’outil et j’ai activé les différentes options, dont plusieurs masquent le bouton **et** le menu du site.
Le site devient difficilement navigable au prochain chargement car le bouton n’est plus visible ; le site semble cassé.
james farrell also did an earlier post in february
https://opensource.com/article/23/2/learn-tcl-writing-simple-game
Learn Tcl/Tk and Wish with this simple game | Opensource.com
https://opensource.com/article/23/4/learn-tcltk-wish-simple-game #Tcl #Programming
🌳 Le réaménagement des quais de la Saône sur l'ancien parking Saint-Antoine va être aussi l'occasion de préparer la halte fluviale de la future navette @SYTRALmobilites@twitter.com.
Les abonnés #TCL pourront emprunter ce nouveau mode de transport avec leurs abonnements.


🟣 La tarification sociale @SYTRALmobilites@twitter.com a permis de faire baisser le tarif moyen de nos abonnés #TCL.
La répartition des tarifications montre que 96,5% de nos abonnés payent moins de 35€ par mois.
En moyenne, nos abonnés payent 20,4€/mois.

🚍 Rétablissement de l'Offre de plusieurs lignes de Bus #TCL.
Face à la pénurie de conducteurs de bus : aucun fatalisme.
👉 48 nouveaux conducteurs et conductrices ont été recrutés pour renforcer leur effectif et rétablir une partie de l'offre sur 15 lignes de bus.

@lispi314 Tcl's "safe interpreter" mechanism is very useful in such cases: https://www.tcl-lang.org/man/tcl8.6/TclCmd/safe.htm
#programming #security #tcl #tcltk
Installing #Tcl/Tk on Mac M1 #OSX
https://comp.lang.tcl.narkive.com/YZHW2pJ8/installing-tcl-tk-on-mac-m1
https://www.tcl.tk/software/tcltk/download.html
https://sourceforge.net/p/tkimg/
https://sourceforge.net/projects/drakon-editor/ #DRAKON
https://github.com/stepan-mitkin/drakon_editor/issues/48
¹ https://mro.name/aszz42x
@flaki I would certainly be very interested in #tcl support on #wasm , can you point me to any more detail on this?
#tcltk #webassembly
Last week at the #wasmio #wasmio23 conference our friends over at the VMWare Wasm Labs (🌐 wasmlabs.dev) presented about bringing interpreted languages to #WebAssembly — such as #ruby, #python, #php, and more, soon even comparably obscure languages like #tcl!).
Okay that was quite enough hashtags for now, but if your first thought was “…but why?!”, that's an easy answer: you want to meet your users where they are! What's better, telling your future users off with "sorry you will need to learn Rust/JavaScript/whatever first", or telling them "You know Python? Great, we support Python!"?
Exactly.
On the other hand, if your first thought was “okay... but how??” boy have I got a blogpost for you! Here we talk about how we use the Wasm Labs team's work in our extension engine at Suborbital:
https://blog.suborbital.dev/bringing-python-to-se2-with-webassembly
@AstraKernel Asks about using i++ ? - I use `incr i` (in Tcl) 😎
#programming #tcl #tcltk
@dekkzz76 @louis To be precise, the current Tcl version is 8.6.13, see https://www.tcl-lang.org/ , and 8.7 and 9.0 are currently being worked on. #tcl #tcltk
"#pantcl" by Detlef Groth: Document conversion with #Tcl based filters using pandoc or Tcl only. It comes with an extensive library of filters, including filters for ABC music, GraphViz, PlantUML, R, Python, and many more. Each filter is remarkably well documented.
https://github.com/mittelmark/pantcl
@hankg Great! Almost as simple as in good old Tool Command Language. #TclLang #tcl https://tcl-lang.org
Tech Addicts Podcast – Sunday 12th March – Rolling with the Rizr
Motorola Rizr and Razr, Xiaomi 13 and 13 Pro, Honor updates, CAt S75, TCL Nxtpaper and the not Nxtpaper, Miraxess MiraDock, Oppo has a lot of nits, Samsung Galaxy Tab S9 sizes
https://garethmyles.com/rolling-with-the-rizr/
#Podcast #TechAddicts #Android #apple #CATS75 #honor #MiraDock #Miraxess #motorola #MWC #Nxtpaper #oppo #Razr #Rizr #Samsung #StarLink #TabS9 #TCL #Xiaomi13 #ZFold5

@ranvel @b0rk Some say #MacPorts insistence on sudo is a feature because plain users should not be able to install software, especially when added to one’s default PATH. In practice, both MacPorts and #Homebrew’s package files are in full scripting languages ( #Tcl and #Ruby, respectively), so with MacPorts you’re handing over the keys to the kingdom to whomever last updated a portfile.
TCL NXTPaper 11 : une tablette « semblable à du papier » ?
TCL a lancé le NXTPaper au début de 2022 avec une promesse, proposer une alternative à la fois aux écrans traditionnels et à l'encre électronique.... #minimachines #mwc2023 #tcl
https://www.minimachines.net/actu/tcl-nxtpaper-11-116368 27 février 2023

@CGM @matdevdug @uncanny_kate @doriantaylor My friend @xan wrote what looks to be a decent web app framework in #Tcl: https://tanzer.io
When I first checked out Tcl in the early 1990s, interactively building GUIs with Tk on Unix felt magical. Back then the alternative was to batch compile endless, boilerplate-filled C sources to get a fraction of the functionality.
This interesting interview with Tcl's creator John Ousterhout puts these innovations into perspective by discussing the impact of the language:
"Jim Clarke and Marc Andreessen approached me [John Ousterhout, the creator of the Tcl programming language] about the possibility of my joining Netscape as a founder, but I eventually decided against it (they hadn't yet decided to do Web stuff when I talked with them). […] If I had gone to Netscape, I think there's a good chance that Tcl would have become the browser language instead of JavaScript"
"Tcl had its heyday in the 1990's, due in large part to the power of the Tk toolkit and the awfulness of the other X Window GUI toolkits; Tcl/Tk was the easiest and most powerful way to create GUI apps. Unfortunately, Tcl didn't make the jump to the Web, and most of the applications for which people would have used Tcl in the 1990s became Web applications."
you can fp in any lisp dialect, it can even tco, even #tcl can fp
New server, new #introduction? I'm Michael, you may know me from the birdsite. In my professional life, I am a CS professor trying to make search & recommender systems not bigoted. This account is not my professional life (although it may do occasional boosts of work-me). This account is for the shitposts, the random musings on life and tech and stuff. And Star Trek, of course.
#rustlang, #TCL, #rabbits (@Tardis), #bicycles, #ADHD, #StationTrashCanOnFire
@sam A distributed solution for #git #github and #codeberg would be fossil, which already integrates command line, self hosting web interface, tickets, forum and chat in one executable. Available for all relevant platforms. I run it on ARM and Intel. The #sqlite and #tcl source repositories are #fossil based.
https://www.fossil-scm.org/
What's the best portable monitor to wear ON YOUR FACE?
https://youtu.be/pV2qnS5lmMo
I have TCL, Rokid, and NReal glasses in the GadgetLab, and it's time for a 3-way battle! Wearable displays are RAD, but which might be the best for you eyes?
Let's put screens in some glasses!
#tech #technology #monitor #glasses #geek #tcl #RokidAir #nreal #geek #ar #geekchic #gadgets #display

RayNeo X2 und Nxtwear S: Mehr AR und VR von TCL
Auf der CES 2023 hat TCL zwei neue AR- und VR-Brillen angekündigt. Eine ist zunächst nur für Entwickler gedacht, die andere schon bald zu kaufen.
#Ankündigung #AugmentedReality #CES #Headset #Peripherie #SmartGlasses #TCL #VirtualReality
OLED, LCD, Laser: Fernseher und Monitore auf der CES 2023
Neben Autos, Startups und allen möglichen Tech-Hypes bleibt die CES ihren Wurzeln treu. Die großen Markenhersteller zeigen ihre neuen TVs und Monitore.
#CES #CES2023 #Display #Fernseher #Hisense #LCD #LG #LaserTV #Monitor #OLED #Samsung #TCL #TV #Unterhaltungselektronik
Les bus #tcl à #lyon, c'est de pire en pire...
La fiche horaire à l'arrêt qui annonce un bus toutes les 10 minutes (mention applicable au 12/12/2022)
La fiche horaire dans l'application TCL qui donne des horaires différents (un bus toutes les 13 minutes)
La réalité : un bus toutes les 20 minutes.
@BrunoBernard : une explication ?
@wizzwizz4 @suetanvil @FiverX2
> With Tcl/Tk applets, you can have Tcl on the front-end and the back-end! Full-stack Tcl is supported by all modern web browsers.
I mean, that *is* a cool feature, but I'm slightly amused that's your first example in support of the claim that #tcl is more powerful than *#typescript*
@micahflee I’ve been shocked to find it even writes decent #Tcl. I made it write to files and everything, even connected the text to some Tk widget. I’m stunned.
RFC:
Why was Python ever invented, when there were already plenty of established scripting languages around?
I'd say, there were two main reasons:
1. OOP was all the craze of the time, so reinventing the wheel was the fancy thing to do.
2. People didn't like Perl's sigils ($@%) before variable names.
What do you think?
Zur IFA kommen Fernseher mit Roku OS auch hierzulande auf den Markt. Nach der Einführung der Player geht das US-Unternehmen damit den nächsten Schritt.
Fernseher: Metz und TCL bringen Roku TV nach Deutschland
@tfb @JonYoder That is a really interesting point. I remember two programming languages, #Perl and #Tcl, that were really hot for awhile, for various reasons. Both went through a sort of boom and then a decline. I wonder what it is about these interpreted languages that caused that effect? I also wonder if we will see it effect more interpreted languages.
OLEDs wie gedruckt: Ultrahochauflösender 8K-Schirm aus dem Tintendrucker
I used to be a lot weirder. I'm a middle-aged geek, father to two boys, and I bang out code at #Google. I live near Boston now, but I grew up in central Mississippi.
I know the conlangs #Lojban and #TokiPona. I write hobby code in #Tcl and #CommonLisp.
I play a bunch of #music instruments, but none well enough to perform. I've been playing around with a DAW.
I started the cantos.social instance, trying to be a part of the small-scale Internet.
I try to be as kind as I can.