CGM, to tcl
@CGM@mastodon.scot avatar

The second beta release of Tcl/Tk 9.0 is now available - https://www.tcl-lang.org/software/tcltk/9.0.html

wvc, to random
@wvc@emacs.ch avatar

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…

Font: https://www.pvv.org/~roarl/nethack/nethack.html
bdfedit: https://hea-www.harvard.edu/~fine/Tech/bdfedit.html

Screenshot of an open bdfedit window

dusthillperson, to programming
@dusthillperson@mastodon.me.uk avatar

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

https://github.com/dusthillresident/FolderSizeAnalysis

https://wiki.tcl-lang.org/page/Folder+Size+Analysis

#tcltk #coding #programming

jbzfn, to opensource
@jbzfn@mastodon.social avatar

🎯 Highlights of Tk 9.0

✏️ 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.

https://www.tcl.tk/software/tcltk/9.0.html

#TclTk #Tk #Opensource

howtophil, to random
@howtophil@mastodon.social avatar

Chatting with a "percentage-chance based full sentence response "AI" thing I made in #tclTk decades ago.

A new thing said becomes a new list (what arrays are in tcl) with that thing as the first thing in the list

Responses when the computer "says" a thing get added to the list of that thing.

Then you get a pool of "normal responses" to a sentence after a while and pluck one at random

jer, to Redis
@jer@hachyderm.io avatar

ok, after all that 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!

CGM,
@CGM@mastodon.scot avatar

@jer Perhaps it's worth pointing out that Redis itself started life as a prototype hacked up in Tcl, see https://gist.github.com/antirez/6ca04dd191bdb82aad9fb241013e88a8

CGM, to tcl
@CGM@mastodon.scot avatar

The latest patch release of Tcl/Tk 8.6.14 is now available - http://www.tcl-lang.org/software/tcltk/8.6.html

CGM, to usenet
@CGM@mastodon.scot avatar

Newsgrouper - a web interface to Usenet Groups - https://cmacleod.me.uk/newsgrouper

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

CGM, to programming
@CGM@mastodon.scot avatar

The first beta release of Tcl/Tk 9.0 is now available - https://www.tcl-lang.org/software/tcltk/9.0.html

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

gisgeek, to linux
@gisgeek@floss.social avatar

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?

CGM,
@CGM@mastodon.scot avatar

@gisgeek You call it legacy knowledge, I call it appreciating the classics. 😀

An awful lot of wheels get reinvented in the computing field, and often end up square. The number of genuinely useful innovations is quite small.

So I'm still hacking with because I find it more productive than the newer alternatives.

dusthillperson, to programming
@dusthillperson@mastodon.me.uk avatar
CGM, to random
@CGM@mastodon.scot avatar

Tartan Design Program Now Online

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

CGM, (edited ) to programming
@CGM@mastodon.scot avatar
dekkzz76, to tcl
@dekkzz76@emacs.ch avatar
jhx, to linux
@jhx@fosstodon.org avatar

What is your cross platform toolkit of choice?

I target and (10/11)
( )

Saw that would fit the bill 🙂 (From what I read)

Looking for some experiences 🙂

Languages: #C++

Note: For I use or

CGM,
@CGM@mastodon.scot avatar

@jhx My cross platform #GUI toolkit of choice?

Tk of course - https://tkdocs.com/index.html - I use it from Tcl, but other language bindings are available, and Tcl interoperates easily with C. I often also add Tktreectrl - https://tktreectrl.sourceforge.net/ - for tree and tabular data display.

#programming #tcltk

stalecu, to cpp

Let me make this #introduction as short and sweet as on Fosstodon.

I am Stefan (or your equivalent in your native language, I also accept Alecu). I am a 21 year old pansexual and leftist programmer with a special interest in #tcltk, #ada, #pascal, #perl, #cpp, #lisp, #FunctionalProgramming #FP and #emacs.

I also like linguistics, math, sudoku, low-level programming, conlangs and conscripts, typography, compiler design, operating systems, politics and contemporary history.

Nice to meet you!

tcltk, to 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, , , and has served as one of the inspirations of and due to its simplicity and elegance.

(1/🧵)

tcltk,

#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.

(3/🧵)

tcltk,

is used by large corporations in the sphere such as (now ) with their Vivado IDE, as well , Cadence, and . Tcl is also trusted by , , , , , , , and other companies invested in the and business.

(4/🧵)

alecui, to linguistics

I'll make this #introduction short and sweet

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.

#pascal / #tcltk / #perl / #lisp / #ada / #cpp / #dotnet / #linux

howtophil, to tcl
@howtophil@mastodon.social avatar

Other TCL/TK devs out there?

Say hi :)

CGM, to programming
@CGM@mastodon.scot avatar
alecui, to openSUSE

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)

yugaego, to tcl

Writing a for , I touched the basics of . This programming language appeared to be elegant, with clear and catchy syntax.

It looks like a very nice choice for . Now I'm not surprised that Sqlite was born as Tcl extension initially. And surprised Tcl isn't widely used in , for instance. I'm quite sure this is suitable for a number of tasks in today's , so pls share if you have real life example(s).

dekkzz76,
@dekkzz76@emacs.ch avatar

@yugaego

Check out Tk & Extend

#Tcl #TclTk

CGM, to programming
@CGM@mastodon.scot avatar

Last chance to register for EuroTcl 23 / OpenACS conference, 20-21 July, Vienna!
Registration closes on Friday 30th June - https://openacs.org/conf2023/info/
#tcl #tcltk #programming
@tcl @tcl

CGM, to tcl
@CGM@mastodon.scot avatar

@tcl Test posting to yet another new Tcl forum.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • modclub
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • megavids
  • provamag3
  • normalnudes
  • Leos
  • lostlight
  • All magazines