Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cmacleod4
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
cmacleod4
2y ago
This is something to be aware of. It can be guarded against, see https://www.tcl-lang.org/man/tcl/TkCmd/send.htm#M9 .
62.
▲
by
cmacleod4
2y ago
I recommend https://wiki.tcl-lang.org/page/LUCK as a very easy way to build self-contained executables which bundle Tcl, a large choice of extensions, and your own code. There is a tutorial on the Tcl wiki which should
63.
▲
by
cmacleod4
2y ago
jimtcl was originally created by the same Antirez who wrote the linked article.
64.
▲
by
cmacleod4
2y ago
No more so than any other dynamic language. Of course if you execute untrusted input you are asking for trouble. But Tcl has very well-defined rules for how and when substitutions and evaluations will be performed - https://www
65.
▲
by
cmacleod4
2y ago
TIP 401 proposed a fix for this but has not progressed so far - https://core.tcl-lang.org/tips/doc/trunk/tip/401.md .
66.
▲
by
cmacleod4
2y ago
Leading-zero-means-octal-number is one of the things which got fixed in Tcl 9.0, see https://www.tcl-lang.org/software/tcltk/9.0.html#tclchanges - the subsection headed "Numbers".
67.
▲
by
cmacleod4
2y ago
Modern Tcl already has a lot more stuff in it than the early resource-constrained versions, though the basic principles are the same. Still, there's no harm in reinventing a better wheel :-)
68.
▲
by
cmacleod4
2y ago
Cut the App Crap! If it can't be done on the web it's probably not worth doing.
69.
▲
by
cmacleod4
2y ago
Only two or three of the people mentioned here are still active in the Tcl community, but others have come along and we still find plenty to argue about :-)
70.
▲
by
cmacleod4
2y ago
I'm not familiar with JWT at all, but I found a description of how to generate an ES256 JWT from the command line: https://techdocs.akamai.com/iot-token-access-control/docs/ge... . I don't know if this w
71.
▲
by
cmacleod4
2y ago
Take a look at http://www.ch-werner.de/LUCK.html . This site builds custom single-file Tcl executables for various architectures. It has a large selection of packages and you can choose which ones get included in the buil
72.
▲
by
cmacleod4
2y ago
This reminds me of something I wrote in Tcl at my previous employer - a little utility that could decode an in-house data format and display it in an understandable way. Quite a few other people found it useful for debugging issues.
73.
▲
by
cmacleod4
2y ago
The original design decision was to behave like a shell, where ~ means your own home dir and ~fred means fred's home dir. With the benefit of experience, this is now seen to be unwise and a different decision has been made.
74.
▲
by
cmacleod4
2y ago
Sorry no, antirez (Salvatore Sanfilippo) was the original author, Steve Bennett took over maintenance later - https://jim.tcl.tk/index.html/doc/www/www/about/ .
75.
▲
by
cmacleod4
2y ago
Some people like Tcl and use it, some people don't. The Tcl Wiki sees a regular stream of updates - https://wiki.tcl-lang.org/recent . Personally I'm working on a Usenet/Web gateway which does web serving,
76.
▲
by
cmacleod4
2y ago
Hey, you missed out coroutines :-)
77.
▲
by
cmacleod4
2y ago
There is a redesign of the website in progress. In the meantime, take a look at https://wiki.tcl-lang.org/page/Showcase .
78.
▲
by
cmacleod4
2y ago
It's unfortunate that people who dont "get" Tcl feel forced to use it because they are in EDA. I used to have the opposite problem. My employer would not allow me to write anything mission-critical in Tcl because they thought
79.
▲
by
cmacleod4
2y ago
No, ~abc will be interpreted as the home directory of user abc in Tcl 8.*
80.
▲
by
cmacleod4
2y ago
In the long run, special cases like that often turn out to be more trouble than they are worth. If an ordinary file happened to start with '~' it would not be handled correctly. So you either accept or ignore that potential prob
81.
▲
by
cmacleod4
2y ago
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 pro
82.
▲
by
cmacleod4
2y ago
A while back I had some fun creating animated GIFs using GraphicsMagick via the Tcl binding - http://www.graphicsmagick.org/TclMagick/doc/ . Here's an example that was topical back then: https://cm
83.
▲
by
cmacleod4
2y ago
How the **** do you decline cookies on this site??!!!
84.
▲
Tcl/Tk logo – rebrand for 9.0 or stay consistent?
(mastodon.scot)
3 points
by
cmacleod4
2y ago
|
1 comments
85.
▲
by
cmacleod4
2y ago
Tcl/Tk 9.0 is approaching release, so I think this could be a good opportunity to update the logo. My feeling is that the existing feather logo is obscure, and also too easily confused with the Apache project logo. However some people
86.
▲
by
cmacleod4
2y ago
Indeed, one point that's often missed about Tcl is that the ability to treat code as data makes it easy to use metaprogramming techniques that are awkward or impossible in most other languages.
87.
▲
by
cmacleod4
2y ago
Comp.lang.tcl is still alive. If you don't want the hassle of setting up an nntp client, you can use the web interface I operate at https://cmacleod.me.uk/ng/comp.lang.tcl . There is also a fair amount of activity
88.
▲
by
cmacleod4
2y ago
These days Tcl has a small but enthusiastic following. This year's European Tcl conference just happened, see https://openacs.org/conf2024/info/ . The 9.0 release of Tcl and Tk is coming soon - https:/
89.
▲
EuroTcl 2024 – only one week left to register
(openacs.org)
2 points
by
cmacleod4
2y ago
|
0 comments
90.
▲
by
cmacleod4
2y ago
I very much doubt that 50% of people even have jobs!
More ›