Abridged summary of comp.lang.tcl@googlegroups.com - 26 updates in 10 topics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Abridged summary of comp.lang.tcl@googlegroups.com - 26 updates in 10 topics

comp.lang.tcl mailing list
[hidden email]: Nov 21 12:31AM -0800

>it is not clear to me why
 
Did you not see the part about the $20k? ;)
 
https://github.com/flightaware/Tcl-bounties#a-first-class-high-performance-non-hackish-way-to-do-named-parameters
...more
[hidden email]: Nov 21 11:27AM -0800

> >it is not clear to me why
 
> Did you not see the part about the $20k? ;)
 
> https://github.com/flightaware/Tcl-bounties#a-first-class-high-performance-non-hackish-way-to-do-named-parameters
...more
Andreas Leitgeb <[hidden email]>: Nov 21 05:37PM

> It was normal to change tcl_precision back in the Tcl 7.x days.
> It has been unnecessary to do so since 8.0 arrived.
> The global remains for backwards compatibility with old code.
...more
Cecil Westerhof <[hidden email]>: Nov 21 10:57AM +0100

In Python I have the following code:
output = check_output(temp_cmd).decode('utf-8').split('\n')
array = [elem for elem in output if 'CPUTIN' in elem]
if len(array) != 1: ...more
Arjen Markus <[hidden email]>: Nov 21 02:34AM -0800

On Tuesday, November 21, 2017 at 10:59:06 AM UTC+1, Cecil Westerhof wrote:
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
 
Something along ...more
Cecil Westerhof <[hidden email]>: Nov 21 12:53PM +0100


> set result {}
> foreach line [split [exec temp_cmd] \n] {
> if { [string first "CPUTIN" $line] } {
 
Should be:
if { [string first "CPUTIN" $line] == 0} {
 
Is better as my Python ...more
Cecil Westerhof <[hidden email]>: Nov 21 01:59PM +0100

> Then it selects the lines that contain 'CPUTIN' and put it in array.
> This should be exact one element.
> It then returns the second value from this element.
 
This is what it has become: ...more
Rich <[hidden email]>: Nov 21 04:53PM

> }
> return ${result}
> }
 
If you want to see an alternative, that uses regexp and works (Arjen's
version failed because your original spec didn't clearly indicate (to ...more
Cecil Westerhof <[hidden email]>: Nov 21 10:51AM +0100

> topic (the emphasis below is also in the manpage):
 
> *Applications should not change this value;* it is provided for
> compatibility with legacy code.
 
Aah, then the tutorial I ...more
Arjen Markus <[hidden email]>: Nov 21 03:54AM -0800

On Tuesday, November 21, 2017 at 10:59:06 AM UTC+1, Cecil Westerhof wrote:
 
> > compatibility with legacy code.
 
> Aah, then the tutorial I got is not a very good one. It said it was 12 ...more
Cecil Westerhof <[hidden email]>: Nov 21 01:22PM +0100

>> and one of the suggestions was to change it. I will not do it then.
 
> Hm, which tutorial was that then? The tcl_precision variable has
> been deprecated for such use for many years.
...more
Gerald Lester <[hidden email]>: Nov 21 08:41AM -0600

On 11/21/2017 06:22 AM, Cecil Westerhof wrote:
 
> For one the TCL/TK tutorial from TutorialsPoint (18-19). It is from
> 2015, but there where some other problems with it also. So maybe I ...more
Rich <[hidden email]>: Nov 21 04:35PM

>> compatibility with legacy code.
 
> Aah, then the tutorial I got is not a very good one. It said it was 12
> and one of the suggestions was to change it. I will not do it then.
...more
Rich <[hidden email]>: Nov 21 04:37PM


> For one the TCL/TK tutorial from TutorialsPoint (18-19). It is from
> 2015, but there where some other problems with it also. So maybe I
> should not use tutorials from TutorialsPoint.
...more
Francois Vogel <[hidden email]>: Nov 20 10:24PM +0100

Gerhard Reithofer a écrit le 20/11/2017 à 15:33 :
 
>> Please re-try with 8.6.7 and confirm (preferably directly in the ticket).
> This version does NOT crash, at least not for ca. 100 restarts. ...more
Gerhard Reithofer <[hidden email]>: Nov 21 04:12PM +0100

...more
Cecil Westerhof <[hidden email]>: Nov 21 03:20PM +0100

I have had it several times that things worked when using them in an
interactive shell, but that did not work when used in a script. For
example:
sleep -> that has to become after ...more
Gerald Lester <[hidden email]>: Nov 21 08:39AM -0600

On 11/21/2017 08:20 AM, Cecil Westerhof wrote:
> example:
> sleep -> that has to become after
> date -> that has to become clock
 
The interactive shell has a couple of features to make ...more
Cecil Westerhof <[hidden email]>: Nov 21 02:01PM +0100

In Bash I can use ${FUNCNAME} to get the name of the current function.
Does TCL has something like that to get the name of the current
procedure?
 
--
Cecil Westerhof
Senior Software Engineer ...more
"Ricardo kozmate.net" <[hidden email]>: Nov 21 01:32PM

Em 21/11/17 13:01, Cecil Westerhof escreveu:
> In Bash I can use ${FUNCNAME} to get the name of the current function.
> Does TCL has something like that to get the name of the current
> procedure? ...more
Arjen Markus <[hidden email]>: Nov 21 05:49AM -0800

On Tuesday, November 21, 2017 at 2:32:49 PM UTC+1, Ricardo kozmate.net wrote:
> sure :)
> --
> {ricardo from kozmate.net}
 
[info level 0] may be simpler to use - it gives a list of the procedure ...more
Cecil Westerhof <[hidden email]>: Nov 21 03:18PM +0100

>> --
>> {ricardo from kozmate.net}
 
> [info level 0] may be simpler to use - it gives a list of the procedure name and its arguments.
 
That is what I need. And I should delve deeper in it also, ...more
[hidden email]: Nov 21 05:03AM -0800

Good Morning,
 
I am attempting to control the exposure in Digicam Control (which uses TCL) where I will change the exposure, capture a picture, and change the exposure back.
 
The purpose is that ...more
Ralf Fassel <[hidden email]>: Nov 21 02:40PM +0100

* [hidden email]
| Portions of my script work. However, I am attempting to use a key
| binding to execute this operation, and it is non-functional.
 
Start by describing what "it ...more
[hidden email]: Nov 21 01:00AM -0800

Am Montag, 20. November 2017 05:01:44 UTC+1 schrieb [hidden email]:
 
Bill,
 
> ...
> So I guess the stack is tcl->sdl->X11 emulation layer->Wayland? It'd be interesting if we could just do ...more
[hidden email]: Nov 20 10:45PM -0800

Hi:
I have a program which works fine in Fedora 14 but segfault at Tcl_CreateEventSource() in Ubuntu 16.04.
The program uses Tcl8.5 in both environments.
 
The following are source code and stack ...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].