Abridged summary of comp.lang.tcl@googlegroups.com - 16 updates in 3 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 - 16 updates in 3 topics

comp.lang.tcl mailing list
briang <[hidden email]>: Jul 13 07:28PM -0700

> Yes... I get it now... No exception, just the normal rules.
> I'm just saying, that it's very easy for me to program errors like this. I don't know how other people see this.
> Besides, I was ...more
Alexandru <[hidden email]>: Jul 14 04:42AM -0700

Am Samstag, 14. Juli 2018 04:29:02 UTC+2 schrieb briang:
 
> This is a very interesting statement and question. Having spent >20 years programming in Tcl, writing 100's of thousands of lines of ...more
Gerald Lester <[hidden email]>: Jul 14 08:25AM -0500

On 07/14/2018 06:42 AM, Alexandru wrote:
> }
> return -1
> }
 
Have "index" default to 0 and always to the "set e [lindex $e $index]"
-- note time it both ways, I think always doing it ...more
Robert Heller <[hidden email]>: Jul 14 09:19AM -0500

> }
> return -1
> }
 
This is something of a variation of lsort, where there -increasing (>),
-decreasing (<), and -command ("etc.").
 
Rather than limiting it to a simple scalar compare, I ...more
Robert Heller <[hidden email]>: Jul 14 10:31AM -0500

> want to substitute in the operator -- so either do what you did or do:
> if "\$e $op \$ref" {
> again, time it and see if there is a timing difference.
 
Special cases are often bad news, ...more
briang <[hidden email]>: Jul 14 09:22AM -0700

On Saturday, July 14, 2018 at 7:19:14 AM UTC-7, Robert Heller wrote:
> handle. And you don't need index, since you would embed its functionallity
> into the predicate. This *simplfies* the function ...more
Alexandru <[hidden email]>: Jul 14 09:48AM -0700

Am Samstag, 14. Juli 2018 16:19:14 UTC+2 schrieb Robert Heller:
> Deepwoods Software -- Custom Software Services
> http://www.deepsoft.com/ -- Linux Administration Services ...more
briang <[hidden email]>: Jul 14 10:12AM -0700

On Saturday, July 14, 2018 at 9:48:47 AM UTC-7, Alexandru wrote:
> > http://www.deepsoft.com/ -- Linux Administration Services
> > [hidden email] -- Webhosting Services
...more
Alexandru <[hidden email]>: Jul 14 11:51AM -0700

Am Samstag, 14. Juli 2018 19:12:46 UTC+2 schrieb briang:
> }
 
> set answer [ListFirst $lst sqrtOf 16]
> puts "sqrtOf 16 -> $answer"
 
Thanks for the example. Now I get it.
I have timed the old ...more
Robert Heller <[hidden email]>: Jul 14 02:27PM -0500

> > [hidden email] -- Webhosting Services
 
> So how would I call your procedure now? What forms should have "predicate"?
> Somehow I can't link this to "lsort"...
 
predicate is a ...more
Robert Heller <[hidden email]>: Jul 14 02:30PM -0500

> > puts "sqrtOf 16 -> $answer"
 
> Thanks for the example. Now I get it.
> I have timed the old an new procedure with the result, that the new one is 4x slower than the old one.
...more
"Donal K. Fellows" <[hidden email]>: Jul 14 08:52PM +0100

On 14/07/2018 12:42, Alexandru wrote:
> if {[expr ($e $op $ref)]} {
 
I'd make that be this instead:
 
if {[{*}$op $e $ref]} {
 
since then I'd be able to pass ::tcl::mathop::== or any ...more
Christian Gollwitzer <[hidden email]>: Jul 14 10:23PM +0200

Am 14.07.18 um 15:25 schrieb Gerald Lester:
>>        set e [lindex $e $index]
>>      }
 
 
> Have "index" default to 0 and always to the "set e [lindex $e $index]"
 
...more
Harm Olthof <[hidden email]>: Jul 14 12:32PM -0700

Hello Group,
Does anyone know of a Tcl implementation for the Wasserstein Distance? (a similarity metric), aka "Earth Mover's Distance"?
 
Thanks,
Harm Olthof
...more
Rich <[hidden email]>: Jul 13 08:30PM

> I would like to view notes within a Tcl script using the less command
> and ANSI colors. This small example seems to work, but is there a
> preferred way?
 
Unless you want to start trying to ...more
Jay <[hidden email]>: Jul 13 01:59PM -0700

> tcl script is not "running behind it". The Tcl script is paused,
> waiting for the less command to terminate. Only once the command
> terminates will the Tcl script start running again.
...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].