chan create1015 (4/12/2013 6:56:56 PM) comp.lang.tcl I've got a piece of code, where given a list of filenames $files, I call:
set fd [open |[list cat {*}$files] rb]
Out of curiosity, I wondered how that could be done with reflective
channels, and skimmed... Andreas
modulo-big-prime math2112 (3/25/2013 10:12:20 PM) comp.lang.tcl I've done an implementation of "secp256k1" elliptic curve group
arithmetics based on Tcl's [expr]. Unfortunately, calculating
a (2**256-sized) power of some EC-group element takes about two
seconds, whereas ... Andreas
really odd problem with jar signing2322 (1/11/2013 1:38:11 PM) comp.lang.java.programmer When signing a particular JAR file with jarsigner *one* of the
enclosed .class files does *not* get signed !
So, when signing, then to the original manifest a list of *almost*
all content-files with each'... Andreas
dancing bunnies as variable names for avoiding clashes: bad,bad,bad119 (12/13/2012 9:07:04 PM) comp.lang.tcl MartinLemburg@Siemens-PLM wrote:
>> > set {} [clock clicks]
>> > set lambda [list {} "catch [list $body] ${}Reason ${}Options;\nlist \$${}Options \$${}Reason;"];
>> Fundamentally bad idea! Turns Bohrbug int... Andreas
Case study: "local" (inspired by thread about dict with)821 (12/13/2012 3:01:13 PM) comp.lang.tcl Recently, someone expressed his unhappiness with [dict with] as it
mangles the key-space of the dict into the local proc's var-space.
This made me wonder about local blocks with their own local var space,
... Andreas
tcllib and sha512 ?423 (12/9/2012 10:11:50 PM) comp.lang.tcl Googling for tcl and sha512 gave me a few results of people
claiming that sha2 from tcllib was supposed to contain
functions for sha512, but as it seems, 1.14 is the latest
version of tcllib and it is the ... Andreas
double,triple,... clicks in Tk728 (12/5/2012 1:08:38 PM) comp.lang.tcl For determining if a click was really a doubleclick, tk seems
to keep a history of previous clicks within some timeframe.
My app, which binds on now shows some odd effect:
When too shortly after double-cl... Andreas
bug in panedwindow?223 (12/3/2012 4:35:47 PM) comp.lang.tcl I've recently used panedwindow in a program, and stumbled over strange
behaviour:
panedwindow .p ; pack .p -expand yes -fill both
foreach num {1 2 3} { button .$num -text $num }
..p add .1 .2 .3 -stretch... Andreas
tablelist questions...431 (11/30/2012 12:32:15 PM) comp.lang.tcl I haven't done tk-programming for a while (only tcl), and now
I'm programming some GUI utility, whose central component is
a tablelist. Most of it is already done, but there's some
details, that I now feel l... Andreas
Question about HashMap and Map.Entry ...1522 (8/30/2012 5:39:54 PM) comp.lang.java.programmer Given a (Hash)Map map and two Long values k and v,
Some task is to see if k is already in the map, and only if so,
then update the value in the map based on previous value and v.
Of course, that is trivial... Andreas
really odd problem with jar signing2322 (1/11/2013 1:38:11 PM) comp.lang.java.programmer When signing a particular JAR file with jarsigner *one* of the
enclosed .class files does *not* get signed !
So, when signing, then to the original manifest a list of *almost*
all content-files with each'... avl1(2656)
ctrl-c ctril-v1437 (1/24/2013 12:23:53 PM) comp.lang.java.programmer Is it possible to reconfigure copy paste to some other keystrokes
besides ctrl-C ctrl-V either within Java or Windows entirely?
They are quite inconveniently placed in a dsk layout.
--
Roedy Green Canadi... see_website(4862)
creeping consensus717 (2/15/2013 8:13:12 AM) comp.lang.java.programmer I have been reading a couple of books about evolution. It has
stretched my patience considerably on what I expect a reasonable
length of time it should take to come to various computer consensuses.
I have... see_website(4862)
abbreviated generic syntax1825 (2/18/2013 4:26:43 AM) comp.lang.java.programmer In generics in Java 1.7 you can abbreviate
ArrayList a = new ArrayList( 100 );
as
ArrayList a = new ArrayList a = new ArrayList( 100 );
If not, why the <>?
--
Roedy Green Canadian Mind Prod... see_website(4862)
String and list command syntax difference1017 (2/21/2013 6:56:19 PM) comp.lang.tcl Hello, I've got a basic question. Why does Tcl string commands follow the '=
main command' followed by 'sub command' convention ( such as 'string length=
' or 'string first') while list is all main commands (... togauravm(1)
simple StringBuilder proposal5225 (2/26/2013 11:53:14 AM) comp.lang.java.programmer
With FastCat, I can write:
sb.append( "\n" );
It is just shorthand for
sb.append( "\n" );
I propose StringBuilder learn the same trick.
--
Roedy Green Canadian Mind Products http://mindprod.co... see_website(4862)
wish crash on ubuntu1020 (3/8/2013 1:16:09 AM) comp.lang.tcl This crashes on my Ubuntu box:
===
namespace eval GUnamespace eval GUIPeers {
proc init {} {
array set ::GUIPeers::peersListContent_RO {}
}
proc peersWidget { p... derek7800(26)
modulo-big-prime math2112 (3/25/2013 10:12:20 PM) comp.lang.tcl I've done an implementation of "secp256k1" elliptic curve group
arithmetics based on Tcl's [expr]. Unfortunately, calculating
a (2**256-sized) power of some EC-group element takes about two
seconds, whereas ... avl1(2656)
Using exec with an arg which happens to start with <413 (3/26/2013 6:56:20 AM) comp.lang.tcl I'm trying to use exec to shell out to a utility (curl) which has a command line argument which happens to start with '<' (as in <xml...). exec sees the < as special, and I don't seem able to switch this off.
... derek7800(26)
chan create1015 (4/12/2013 6:56:56 PM) comp.lang.tcl I've got a piece of code, where given a list of filenames $files, I call:
set fd [open |[list cat {*}$files] rb]
Out of curiosity, I wondered how that could be done with reflective
channels, and skimmed... avl1(2656)