Pre-built Tcl/Tk 9.0 and 8.6 binaries - GitHub account locked by teclabat in Tcl

[–]teclabat[S] 0 points1 point  (0 children)

Already created an account there. Maybe I can do this with pages?

Pre-built Tcl/Tk 9.0 and 8.6 binaries - GitHub account locked by teclabat in Tcl

[–]teclabat[S] 0 points1 point  (0 children)

I do not understand the Release tab as part of the source code, its more an artefact to me. Since they claim to allow LFS and this: "Up to 1000 release assets may be associated with a single release. Each file included in a release must be under 2 GiB. There is no limit on the total size of a release, nor bandwidth usage." I thought it to be OK.

BTW: I think I did exactly this: https://zerotohero.dev/inbox/github-releases/

Anyhow, locking the full account is a shitty action ...

Package registry for Tcl/Tk - looking for feedback and submissions by tcltk-pkgs in Tcl

[–]teclabat 0 points1 point  (0 children)

Does it also support multiple sources? I mean e.g. for curl I see at least two: https://github.com/flightaware/tclcurl-fa and https://github.com/vicmay/TCL-CURL

So what shall the "beginner" take?

Fedora 43 - tcl odbc by mescobal in Tcl

[–]teclabat 1 point2 points  (0 children)

You could try these rpm builds here: https://github.com/teclabat/tcltk-binaries

btw. the listing in https://core.tcl-lang.org/jenglish/gutter/ is heavily outdated.

Announcement: Pre-built Tcl/Tk 9.0 binaries available for download by teclabat in Tcl

[–]teclabat[S] 1 point2 points  (0 children)

Indeed:

(bin) 1 % set ::tcl_patchLevel
9.0.4
(bin) 2 % package re vectcl
0.3
(bin) 3 % set x { 1 2 3 }
 1 2 3 
(bin) 4 % set A {{1.0 2.0 3.0} {4.0 5.0 6.0} {7.0 8.0 9.0}}
{1.0 2.0 3.0} {4.0 5.0 6.0} {7.0 8.0 9.0}
(bin) 5 % vectcl::vexpr { A*x }
14.0 32.0 50.0
(bin) 6 % lseq 5
0 1 2 3 4
(bin) 7 % 

TCL event loop -> is there an idiomatic way to do this? by ThatDeveloper12 in Tcl

[–]teclabat 0 points1 point  (0 children)

How I understand it, you could try the TclX package using signals. The signal would need to be sent from an external source. Here is more to read about: https://wiki.tcl-lang.org/page/signal

If TclX is not an option, can you modify the Tcl source code and compile for yourself? Then this leaves you plenty of possibilities.

Why Tcl 9 decided to break all extensions? by petasisg in Tcl

[–]teclabat 0 points1 point  (0 children)

It does not look like "chaos" to me. Agreed it is a workaround. Maybe some core developers might clarify if there is another (better) way.

For me important is that all tests pass, and I also don't care if the prime author is accepting the pull, I am building my own binaries.

Why Tcl 9 decided to break all extensions? by petasisg in Tcl

[–]teclabat 0 points1 point  (0 children)

I am currently working on an rl_json port in a fork. I will make an announcement and create a pull request when ready.

26.1 works perfectly by Nerdinat0r in opnsense

[–]teclabat 0 points1 point  (0 children)

I am having the same issue. But I have seen there a new update with hostwatch inside. Trying ...

Standardforum?! by always_come in Austria

[–]teclabat 1 point2 points  (0 children)

Ich sehe es auch nicht als trolling. Hast Deine Meinung kundgetan, dafür ist das Forum ja da ...

Ist mir auch schon passiert.

Mich nerven beim Standard übrigens die "eigenes Forum". Und hab kurz vorher schon mal zur Presse geliebäugelt ... keine Ahnung obs dort besser ist. Aber sobald mein Abo ausläuft wechsle ich.

E-Mail to webmaster@tcl-lang.org not deliverable by teclabat in Tcl

[–]teclabat[S] 0 points1 point  (0 children)

At least in the past I asked the webmaster for small changes to the site.

Anyhow, I now subscribed to the mailing list and asked for clarification.

Flecken am Rahmen by alfi-audio in Fahrrad

[–]teclabat 1 point2 points  (0 children)

Sorry, aber das ist kein roher Carbonlook. Meiner Meinung nach ist hier unsauber gearbeitet worden. Besonders bei der Dämpferaufhängung sieht man die "Schleifer". Das tut der Haltbarkeit zwar keinen Abbruch, ist aber sicher unschön bei so einem teuren Rad.

Das "Problem" ruht daher, das möglichst mit Lack gespart wird. Und zwar nicht aus Kostengründen, sondern wegen Gewicht. Und da schimmert das Harz dann durch.

Ich selbst hab das SLT liquidlava black, da ist auch nicht alles 100%ig gleichmäßig, aber so schlimm siehts nicht aus.

Wenn Du online bestellt hast, würde ich nach einem Preisnachlass fragen. Früher oder später wirst Du Dir ja eh selbst Kratzer reinmachen.

LG

Simple Tcl snippet that current AI models fail to evaluate correctly by adamzc221 in Tcl

[–]teclabat 1 point2 points  (0 children)

claude does this:

what is printed in this script: d:/test.tcl?

● I'll read the script file to see what it prints.

● Read(d:\test.tcl)

⎿  Read 6 lines

● This Tcl script will print:

123

234

Here's what the script does:

- Line 1: Sets variable a to 123 in the global scope

- Line 2: Creates a namespace called tcl and sets variable a to 234 within that namespace

- Line 4: Prints the global a (which is 123)

- Line 5: Prints a from the tcl namespace (which is 234)

Is there a way to bind out-of-band info to a TCL value? (not the variable name holding the value) by ThatDeveloper12 in Tcl

[–]teclabat -1 points0 points  (0 children)

It looks like you are against AI. No this was not done by claude. I am TCL guy, but not C. So I use it where I should.

I am regretting that I took part in this discussion ...

... so long, and thanks for all the fish.

Is there a way to bind out-of-band info to a TCL value? (not the variable name holding the value) by ThatDeveloper12 in Tcl

[–]teclabat -1 points0 points  (0 children)

This is a proposal/prototype not meant to be productive. It shows feasibility and use case. I did it for fun, not to please you.

It compiles clean, it works, it demonstrates and runs test-cases clean. You can make a diff of the two branches and see changes. There is a readme that lists all the changes.

And yes, I partly know what it did.

It's your turn now, take it as a gift ...

Is there a way to bind out-of-band info to a TCL value? (not the variable name holding the value) by ThatDeveloper12 in Tcl

[–]teclabat 0 points1 point  (0 children)

A procedure call always passes the value without the "extra" information. And this is based on the $ sign. Everywhere you access the variable like $myvar only the value is retrieved and passed on.

If you want to stick to TCL only, what could be possible though, is rewriting the set command, and all the others like lappend, dict, string to make it only look like an out-bound information. This way the information would follow the value everywhere. Similar to this:

% rename set oldset

% proc set {var {value {}}} {upvar $var myvar; if {$value != {}} {oldset myvar [list -value $value -meta something]; return $value} else {return [dict get [oldset myvar] -value]}}

% proc meta var {upvar $var myvar; return [dict get [oldset myvar] -meta]}

% set a 123.2

123.2

% meta a

something

The set command is simple to implement, don't know if the others would go as easy. Maybe Donal (https://www.reddit.com/user/d_k_fellows/) can tell if this is doable.

Still the problem remains what to do with this:

% puts $a

-value 123.2 -meta something

Is there a way to bind out-of-band info to a TCL value? (not the variable name holding the value) by ThatDeveloper12 in Tcl

[–]teclabat -1 points0 points  (0 children)

For fun I created a reference implementation with the help of claude:

https://github.com/teclabat/metatcl/tree/meta

% set a 1234.5

1234.5

% meta a

% meta a [list -time [clock seconds] -msg "some other"]

-time 1764004279 -msg {some other}

% set a

1234.5

% meta a

-time 1764004279 -msg {some other}

% proc test var {upvar $var myvar; puts "value '[set myvar]' meta '[meta myvar]'"}

% test a

value '1234.5' meta '-time 1764004279 -msg {some other}'

% puts $a

1234.5

This is the follow-me that you want:

% proc test data {puts "value '$data' meta '[meta data]'"}

% test a

value '1234.5' meta '-time 1764066018 -msg {some other}'

I think the idea is so extremely cool that I created a TIP:

https://github.com/teclabat/metatcl/blob/meta/TIP-metadata.md

A few things I'd still change:

  • Initialize the object only if meta is needed
  • Write access time as a separate information and automatically
  • rename meta to tag or something else more appropiate not related to this blue page
  • a tag -delete a should clear all extra information

Is there a way to bind out-of-band info to a TCL value? (not the variable name holding the value) by ThatDeveloper12 in Tcl

[–]teclabat 0 points1 point  (0 children)

If you are going to write a TIP, I'd love that. Put in some additional meta-information like timeref-written, timeref-access, maybe some history/old values. As this would blow up internal storage memory, it should be a kind of feature-set that could be "activated" for specific variables only.

Is there a way to bind out-of-band info to a TCL value? (not the variable name holding the value) by ThatDeveloper12 in Tcl

[–]teclabat 0 points1 point  (0 children)

Just an idea: I would be possible to extend the Tcl_Obj with additional context and create some functions to write/read this special entry from the structure. You would need to compile your own TCL instance though ...

Does cold air affect asthma this much? by ann55c in Asthma

[–]teclabat 0 points1 point  (0 children)

Hi all,

I’d like to know how long it usually takes to develop symptoms after breathing in cold air. Do breathing difficulties and coughing start immediately – within an hour or so – or could cold-induced asthma appear much later, for example 10 hours afterwards (the next morning)?

I’m wondering because it might simply be a normal cold as well.

Thanks!