Found some retro way to display #NetHack
One interesting thing — the BDF font editor is written in #TclTk and relase from 2003 runs perfectly on a modern system.
Now I think that to display 80 columns of symbols with 16x16 font you need at least 1280 pixels wide display…
I've released 'Folder Size Analysis', a tool for visualising the size of various items in your filesystem, written in Tcl/Tk,
tested on Linux, Mac OS, and Windows
✏️ Access to OS facilities: notifications, print, and tray systems
✏️ Scalable Vector Graphics: partial support in images, extensive use to enable scalable widget and theme appearances.
✏️ Images: full access to metadata and alpha channel.
✏️ Platform Features and Conventions: many improvements, including two-finger gesture support where available.
ok, after all that #redis kerfuffle let's have some fun:
Who built a Redis-like cache/data store/database (maybe protocol compatible?) for fun or shit-posting?
May that be in bash, awk, storing data in DNS, ...
Share your silly project!
This is a little project I've been working on for a few weeks. I think the basic functionality is now working, though there are still many aspects I hope to improve. Of course much of usenet is now a wasteland inhabited only by spammers and cranks. But there are still worthwhile corners, such as comp.lang.tcl, so I think this may have some value. 🙂 #usenet#tcl#tcltk#programming
New features include general conversion to 64-bit architecture allowing very large data structures, support for the full range of unicode characters, ability to mount zip archives as virtual filesystems, etc. #tcl#tcltk#programming@tcl@tcl
I'm old enough to have begun using #unix before #linux, and in the first years, I used *nix (well, SunOS, Solaris, and Digital OSF/1, to say more precisely) for so long. I'm what nowadays is considered a Veteran Unix Admin or #vua. I'm still curious enough to stay updated about current tech, but I wonder how many people out there in the #fediverse are still passionate about tech novelties but even cultivate legacy knowledge such as #C, #Perl, #Tcl, #autoconf and #automake, #m4 and above all why?
A couple of years ago I wrote a desktop program to design Scottish tartans. I have now set up an online version which can be used without downloading any software. The resulting designs can be downloaded in a format compatible with the desktop program and later re-uploaded, also a PNG image of the design can be exported. The program is at https://cmacleod.me.uk/tartaniser/ #scottish#tartan#tcltk
I also like linguistics, math, sudoku, low-level programming, conlangs and conscripts, typography, compiler design, operating systems, politics and contemporary history.
#Tcl (also known as Tool Command Language; pronounced as either "tickle" or as an initialism) is a high-level, general-purpose, interpreted, dynamic programming language.
It was made in 1988 by John Ousterhout and it was inspired mainly by #C, #Lisp, #Shell, #Awk and has served as one of the inspirations of #PowerShell and #Python due to its simplicity and elegance.
#Tk is the #GUI extension for #Tcl which allows rapid GUI (graphical user interface) development with a native look and feel, often accomplishing to make a GUI application in half the size of competing GUI frameworks or even less. #TclTk is either pronounced as "tickle teak" or as an initialism, as with Tcl. Tcl/Tk is shipped as the default GUI framework in #Python in the form of #Tkinter with an active user base.
Hello! I am Ștefan (you can use your native language's Stephan equivalent).
I am interested in (computational) #linguistics, {natural,constructed} x {languages,scripts}, contemporary history, #typography (#texlatex ftw), compiler and programming language design, low-level programming, #astrology, #deism, #politics and operating systems among other things.
Every day I get more and more fascinated about #tcltk and its simplicity, it was the sort of language I was looking for without knowing.
While searching for libsqlite3, I noticed that #openSUSE has sqlite3-tcl, so that made me curious, but then I remembered #sqlite began as a Tcl extension (that’s the reason SQLite has a feather in its logo). There’s something about this combination that fits… so well.
For example, this is how you can all table names from a SQLite database: set tableNames [db eval {SELECT tbl_name FROM sqlite_master}] (after you do sqlite3 db example.db).
(yes, you can just do strings like that like it’s nobody’s business, no fancy schmancy string interpolation). I find it satisfying to straight up write SQL uninterrupted.
Another example: db eval {CREATE TABLE t1(a TEXT, b INTEGER)}, then you can do db eval {SELECT a FROM t1} { puts a=$a} and it will print out the first column, exactly as you’d expect.
You can also naturally extend SQLite using Tcl. Let’s take a trivial example: a square root function. It might look something like this: proc sql_sqrt {v} {return [expr {sqrt($x)}], then you register it using db function sqrt sql_sqrt. Once that’s defined, you can use it wherever any of the built-in SQL functions are allowed: db eval {CREATE TABLE t2 AS SELECT sqrt(b) FROM t1} or db eval {SELECT x FROM t3 WHERE sqrt(a*a+b*b)>10}. The beauty of this is that the procedures can be arbitrarily complex and can even take advantage of the metaprogramming Tcl offers using uplevel, upvar and eval. For example, if you need a function that executes arbitrary Tcl code supplied as its argument, you can do something like proc sql_eval {code} {uplevel #0 $code} and then db function eval sql_eval, thus giving you the ability to evaluate Tcl from within SQL (ain’t that cool?)
I severely underestimated Tcl and you, the reader, probably have too, so come and give it a try, join the dark side, we have cookies, milk and a good Emacs mode (I think vim’s mode is also good fwiw)
Writing a #Portfile for #MacPorts, I touched the basics of #Tcl. This programming language appeared to be elegant, with clear and catchy syntax.
It looks like a very nice choice for #scripting. Now I'm not surprised that Sqlite was born as Tcl extension initially. And surprised Tcl isn't widely used in #DevOps, for instance. I'm quite sure this #language is suitable for a number of tasks in today's #programming, so pls share if you have real life example(s).