Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Beware of the Turing Tar-pit in which everything is possible but nothing of interest is easy.


devel / comp.lang.tcl / Re: Invalid command name ""

SubjectAuthor
* Invalid command name ""Jayashree Peluri
`* Invalid command name ""Rich
 `* Invalid command name ""Jayashree Peluri
  `- Invalid command name ""heinrichmartin

1
Re: Invalid command name ""

<fbfc04ae-b357-4c31-92b4-d579188f0a74n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10085&group=comp.lang.tcl#10085

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a37:8981:0:b0:6f1:1560:ac7d with SMTP id l123-20020a378981000000b006f11560ac7dmr38790287qkd.659.1667878826543;
Mon, 07 Nov 2022 19:40:26 -0800 (PST)
X-Received: by 2002:a05:6214:b62:b0:4bb:9c0f:e923 with SMTP id
ey2-20020a0562140b6200b004bb9c0fe923mr48042838qvb.102.1667878826119; Mon, 07
Nov 2022 19:40:26 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Mon, 7 Nov 2022 19:40:25 -0800 (PST)
In-Reply-To: <Pine.OSX.4.60.0507291859170.773@powerbook.cleverly.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:b400:e3e2:730c:3cde:92d7:cd59:7534;
posting-account=cIdn_AoAAAA7vmtZ2iPudGvtU0wGnYEB
NNTP-Posting-Host: 2001:b400:e3e2:730c:3cde:92d7:cd59:7534
References: <1122667604.622799.250800@g47g2000cwa.googlegroups.com>
<1122668610.142328.218100@g43g2000cwa.googlegroups.com> <dce5tq$tbb$1@gnus01.u.washington.edu>
<Pine.OSX.4.60.0507291859170.773@powerbook.cleverly.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fbfc04ae-b357-4c31-92b4-d579188f0a74n@googlegroups.com>
Subject: Re: Invalid command name ""
From: shreepel...@gmail.com (Jayashree Peluri)
Injection-Date: Tue, 08 Nov 2022 03:40:26 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2123
 by: Jayashree Peluri - Tue, 8 Nov 2022 03:40 UTC

On Saturday, July 30, 2005 at 9:02:07 AM UTC+8, Michael A. Cleverly wrote:
> On Fri, 29 Jul 2005, Aric Bills wrote:
> > By the way, it is possible to define a Tcl procedure whose name is the empty
> > string. Probably not a good idea,
> I use this idiom with tdom fairly regularly. It allows me to write
> something like:
> [[$node selectNodes $xpath] someMethod]
> where $xpath is an xpath expression that might return 0 or 1 nodes. To
> avoid having to explicitly deal with the case where no nodes would be
> returned I define:
> proc "" args {}
> Michael

I tried using the proc "" args {}
Now I don't see any error, but this function is breaking the flow of my program. Should I place any statment that continues the execution? I tried return "none" but of no use.

Re: Invalid command name ""

<tkcjj3$3r4ts$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10086&group=comp.lang.tcl#10086

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: Invalid command name ""
Date: Tue, 8 Nov 2022 03:48:51 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <tkcjj3$3r4ts$1@dont-email.me>
References: <1122667604.622799.250800@g47g2000cwa.googlegroups.com> <1122668610.142328.218100@g43g2000cwa.googlegroups.com> <dce5tq$tbb$1@gnus01.u.washington.edu> <Pine.OSX.4.60.0507291859170.773@powerbook.cleverly.com> <fbfc04ae-b357-4c31-92b4-d579188f0a74n@googlegroups.com>
Injection-Date: Tue, 8 Nov 2022 03:48:51 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b233f8975f7199f5a35ba69dbfc1bde3";
logging-data="4035516"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JBuwG8KwnnfCw14IWS92p"
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.10.17 (x86_64))
Cancel-Lock: sha1:RZMm1vtYkheVsExXTZnsTENkhMg=
 by: Rich - Tue, 8 Nov 2022 03:48 UTC

Jayashree Peluri <shreepeluri@gmail.com> wrote:
> On Saturday, July 30, 2005 at 9:02:07 AM UTC+8, Michael A. Cleverly wrote:
>> On Fri, 29 Jul 2005, Aric Bills wrote:
>> > By the way, it is possible to define a Tcl procedure whose name is the empty
>> > string. Probably not a good idea,
>> I use this idiom with tdom fairly regularly. It allows me to write
>> something like:
>> [[$node selectNodes $xpath] someMethod]
>> where $xpath is an xpath expression that might return 0 or 1 nodes. To
>> avoid having to explicitly deal with the case where no nodes would be
>> returned I define:
>> proc "" args {}
>> Michael
>
> I tried using the proc "" args {}
> Now I don't see any error, but this function is breaking the flow of
> my program. Should I place any statment that continues the
> execution? I tried return "none" but of no use.

Wow, resurrecting a 17 year old thread.....

Please explain how "this function is breaking the flow of my program".
That statement makes no sense.

Re: Invalid command name ""

<8a12aae3-8934-4065-8d05-599d7ed73ea2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10087&group=comp.lang.tcl#10087

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:20e2:b0:4bb:7aa5:bf0a with SMTP id 2-20020a05621420e200b004bb7aa5bf0amr47969829qvk.112.1667887560523;
Mon, 07 Nov 2022 22:06:00 -0800 (PST)
X-Received: by 2002:a05:6214:4109:b0:4bb:e8dd:9fa5 with SMTP id
kc9-20020a056214410900b004bbe8dd9fa5mr42764093qvb.118.1667887560269; Mon, 07
Nov 2022 22:06:00 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Mon, 7 Nov 2022 22:05:59 -0800 (PST)
In-Reply-To: <tkcjj3$3r4ts$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:b400:e3e2:730c:3cde:92d7:cd59:7534;
posting-account=cIdn_AoAAAA7vmtZ2iPudGvtU0wGnYEB
NNTP-Posting-Host: 2001:b400:e3e2:730c:3cde:92d7:cd59:7534
References: <1122667604.622799.250800@g47g2000cwa.googlegroups.com>
<1122668610.142328.218100@g43g2000cwa.googlegroups.com> <dce5tq$tbb$1@gnus01.u.washington.edu>
<Pine.OSX.4.60.0507291859170.773@powerbook.cleverly.com> <fbfc04ae-b357-4c31-92b4-d579188f0a74n@googlegroups.com>
<tkcjj3$3r4ts$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8a12aae3-8934-4065-8d05-599d7ed73ea2n@googlegroups.com>
Subject: Re: Invalid command name ""
From: shreepel...@gmail.com (Jayashree Peluri)
Injection-Date: Tue, 08 Nov 2022 06:06:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2868
 by: Jayashree Peluri - Tue, 8 Nov 2022 06:05 UTC

On Tuesday, November 8, 2022 at 11:48:56 AM UTC+8, Rich wrote:
> Jayashree Peluri <shree...@gmail.com> wrote:
> > On Saturday, July 30, 2005 at 9:02:07 AM UTC+8, Michael A. Cleverly wrote:
> >> On Fri, 29 Jul 2005, Aric Bills wrote:
> >> > By the way, it is possible to define a Tcl procedure whose name is the empty
> >> > string. Probably not a good idea,
> >> I use this idiom with tdom fairly regularly. It allows me to write
> >> something like:
> >> [[$node selectNodes $xpath] someMethod]
> >> where $xpath is an xpath expression that might return 0 or 1 nodes. To
> >> avoid having to explicitly deal with the case where no nodes would be
> >> returned I define:
> >> proc "" args {}
> >> Michael
> >
> > I tried using the proc "" args {}
> > Now I don't see any error, but this function is breaking the flow of
> > my program. Should I place any statment that continues the
> > execution? I tried return "none" but of no use.
> Wow, resurrecting a 17 year old thread.....
>
> Please explain how "this function is breaking the flow of my program".
> That statement makes no sense.
Sorry for waking up the dead 😅 Looks like the program restarted because of another issue. Resolved it now!
I confirm this 'proc "" args {} ' is working wonders! :) Thanks for prompt reply making me reassess the error!

Re: Invalid command name ""

<7a6205d5-5c91-4e93-9c37-6bfcdaa7d5ean@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10088&group=comp.lang.tcl#10088

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a0c:e2d4:0:b0:4bb:5902:922c with SMTP id t20-20020a0ce2d4000000b004bb5902922cmr47946460qvl.57.1667891546729;
Mon, 07 Nov 2022 23:12:26 -0800 (PST)
X-Received: by 2002:ae9:ef15:0:b0:6fa:bb6:3485 with SMTP id
d21-20020ae9ef15000000b006fa0bb63485mr38155850qkg.322.1667891546564; Mon, 07
Nov 2022 23:12:26 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Mon, 7 Nov 2022 23:12:26 -0800 (PST)
In-Reply-To: <8a12aae3-8934-4065-8d05-599d7ed73ea2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=84.115.226.59; posting-account=Od2xOAoAAACEyRX3Iu5rYt4oevuoeYUG
NNTP-Posting-Host: 84.115.226.59
References: <1122667604.622799.250800@g47g2000cwa.googlegroups.com>
<1122668610.142328.218100@g43g2000cwa.googlegroups.com> <dce5tq$tbb$1@gnus01.u.washington.edu>
<Pine.OSX.4.60.0507291859170.773@powerbook.cleverly.com> <fbfc04ae-b357-4c31-92b4-d579188f0a74n@googlegroups.com>
<tkcjj3$3r4ts$1@dont-email.me> <8a12aae3-8934-4065-8d05-599d7ed73ea2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7a6205d5-5c91-4e93-9c37-6bfcdaa7d5ean@googlegroups.com>
Subject: Re: Invalid command name ""
From: martin.h...@frequentis.com (heinrichmartin)
Injection-Date: Tue, 08 Nov 2022 07:12:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 43
 by: heinrichmartin - Tue, 8 Nov 2022 07:12 UTC

On Tuesday, November 8, 2022 at 7:06:02 AM UTC+1, shree wrote:
> On Tuesday, November 8, 2022 at 11:48:56 AM UTC+8, Rich wrote:
> > Jayashree wrote:
> > > On Saturday, July 30, 2005 at 9:02:07 AM UTC+8, Michael A. Cleverly wrote:
> > >> On Fri, 29 Jul 2005, Aric Bills wrote:
> > >> > By the way, it is possible to define a Tcl procedure whose name is the empty
> > >> > string. Probably not a good idea,
> > >> I use this idiom with tdom fairly regularly. It allows me to write
> > >> something like:
> > >> [[$node selectNodes $xpath] someMethod]
> > >> where $xpath is an xpath expression that might return 0 or 1 nodes. To
> > >> avoid having to explicitly deal with the case where no nodes would be
> > >> returned I define:
> > >> proc "" args {}
> > >> Michael
> > >
> > > I tried using the proc "" args {}
> > > Now I don't see any error, but this function is breaking the flow of
> > > my program. Should I place any statment that continues the
> > > execution? I tried return "none" but of no use.
> > Wow, resurrecting a 17 year old thread.....
> >
> > Please explain how "this function is breaking the flow of my program".
> > That statement makes no sense.
> Sorry for waking up the dead 😅 Looks like the program restarted because of another issue. Resolved it now!
> I confirm this 'proc "" args {} ' is working wonders! :) Thanks for prompt reply making me reassess the error!

Imo, the current level of divine support is unhealthy - you want more or less of it, depending on your belie...ehm requirements.

Less wonders: You are maybe covering an issue, and you are not even logging it. Is "do nothing" an expected result of transform_line?
More wonders: If transform_line may return nothing (or a command with args), then you actually want <code>{*}[transform_line ...]</code> in modern Tcl..

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor