Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

PURGE COMPLETE.


devel / comp.lang.javascript / Re: Option list selection

SubjectAuthor
* Option list selectionJonas Thörnvall
+- Re: Option list selectionJonas Thörnvall
`* Re: Option list selectionluserdroog
 +- Re: Option list selectionJonas Thörnvall
 `* Re: Option list selectionJonas Thörnvall
  `* Re: Option list selectionluserdroog
   `* Re: Option list selectionJulio Di Egidio
    `* Re: Option list selectionluserdroog
     `* Re: Option list selectionJon Ribbens
      `- Re: Option list selectionluserdroog

1
Option list selection

<496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17389&group=comp.lang.javascript#17389

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:622a:11d6:: with SMTP id n22mr28777457qtk.337.1635758634064;
Mon, 01 Nov 2021 02:23:54 -0700 (PDT)
X-Received: by 2002:a05:6830:1ad5:: with SMTP id r21mr20292810otc.192.1635758633769;
Mon, 01 Nov 2021 02:23:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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.javascript
Date: Mon, 1 Nov 2021 02:23:53 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.164.86; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.164.86
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com>
Subject: Option list selection
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Mon, 01 Nov 2021 09:23:54 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 10
 by: Jonas Thörnvall - Mon, 1 Nov 2021 09:23 UTC

I am pretty sure this code did run a week ago, have their been changes to the API it seem it never enter loop because e.options.length undefined?

function getPortIndex(){
var e = parent.document.getElementById("out_portsel");
alert(parent.out_portsel.length);
for (var i=0;i<parent.out_portsel.length;i++){
alert("WTF");
if (e.options[i].value=="FW1884 Control"){ctrlportindex=i; alert(ctrlportindex); break;}
else{alert("nonevalid port");}
}
}

Re: Option list selection

<784cc4a7-f6f4-4707-9781-f12677414cc9n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17390&group=comp.lang.javascript#17390

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:ac8:6112:: with SMTP id a18mr28298480qtm.401.1635758901731;
Mon, 01 Nov 2021 02:28:21 -0700 (PDT)
X-Received: by 2002:aca:5b56:: with SMTP id p83mr18948352oib.119.1635758901483;
Mon, 01 Nov 2021 02:28:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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.javascript
Date: Mon, 1 Nov 2021 02:28:21 -0700 (PDT)
In-Reply-To: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.164.86; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.164.86
References: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <784cc4a7-f6f4-4707-9781-f12677414cc9n@googlegroups.com>
Subject: Re: Option list selection
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Mon, 01 Nov 2021 09:28:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 15
 by: Jonas Thörnvall - Mon, 1 Nov 2021 09:28 UTC

måndag 1 november 2021 kl. 10:23:57 UTC+1 skrev Jonas Thörnvall:
> I am pretty sure this code did run a week ago, have their been changes to the API it seem it never enter loop because e.options.length undefined?
>
> function getPortIndex(){
> var e = parent.document.getElementById("out_portsel");
> alert(parent.out_portsel.length);
> for (var i=0;i<parent.out_portsel.length;i++){
> alert("WTF");
> if (e.options[i].value=="FW1884 Control"){ctrlportindex=i; alert(ctrlportindex); break;}
> else{alert("nonevalid port");}
> }
> }
Changed to e.length now it work, but i am pretty sure i used length of the form last week.

Re: Option list selection

<4552c8e0-d9da-4b3a-95f8-fe5f4a721b07n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17391&group=comp.lang.javascript#17391

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:ac8:584a:: with SMTP id h10mr21125954qth.78.1635783440836;
Mon, 01 Nov 2021 09:17:20 -0700 (PDT)
X-Received: by 2002:a05:6830:3113:: with SMTP id b19mr9791322ots.383.1635783440492;
Mon, 01 Nov 2021 09:17:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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.javascript
Date: Mon, 1 Nov 2021 09:17:20 -0700 (PDT)
In-Reply-To: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=97.87.183.68; posting-account=G1KGwgkAAAAyw4z0LxHH0fja6wAbo7Cz
NNTP-Posting-Host: 97.87.183.68
References: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4552c8e0-d9da-4b3a-95f8-fe5f4a721b07n@googlegroups.com>
Subject: Re: Option list selection
From: luser.droog@gmail.com (luserdroog)
Injection-Date: Mon, 01 Nov 2021 16:17:20 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 28
 by: luserdroog - Mon, 1 Nov 2021 16:17 UTC

On Monday, November 1, 2021 at 4:23:57 AM UTC-5, jonas.t...@gmail.com wrote:
> I am pretty sure this code did run a week ago, have their been changes to the API it seem it never enter loop because e.options.length undefined?
>
> function getPortIndex(){
> var e = parent.document.getElementById("out_portsel");
> alert(parent.out_portsel.length);
> for (var i=0;i<parent.out_portsel.length;i++){
> alert("WTF");
> if (e.options[i].value=="FW1884 Control"){ctrlportindex=i; alert(ctrlportindex); break;}
> else{alert("nonevalid port");}
> }
> }

Here again, I think this code could be factored to be easier to read and verify.

let E = (x)=>parent.document.getElementById(x);

function getPortIndex(){
let e = E("out_portsel");
return e.options.findIndex( (opt)=>opt.value=="FW1884 Control" );
}

I started to write a findfirst() function using .forEach() but after glancing
at online refs I noticed .findIndex() which does all the looping business.
There is a difference here in that my version uses the length of
e.options[] instead of parent.out_portsel[] but that part doesn't really
make sense to me so I'm not sure if it's important. If they're not the same,
it might be worth investigating that so functions like this can be short
and sweet.

Re: Option list selection

<62f33292-be2f-4d5a-bf4f-824f5cd45c92n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17392&group=comp.lang.javascript#17392

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:ac8:584a:: with SMTP id h10mr23269625qth.78.1635804340378;
Mon, 01 Nov 2021 15:05:40 -0700 (PDT)
X-Received: by 2002:a05:6830:401b:: with SMTP id h27mr22820128ots.255.1635804340013;
Mon, 01 Nov 2021 15:05:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Mon, 1 Nov 2021 15:05:39 -0700 (PDT)
In-Reply-To: <4552c8e0-d9da-4b3a-95f8-fe5f4a721b07n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.164.86; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.164.86
References: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com> <4552c8e0-d9da-4b3a-95f8-fe5f4a721b07n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <62f33292-be2f-4d5a-bf4f-824f5cd45c92n@googlegroups.com>
Subject: Re: Option list selection
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Mon, 01 Nov 2021 22:05:40 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jonas Thörnvall - Mon, 1 Nov 2021 22:05 UTC

måndag 1 november 2021 kl. 17:17:25 UTC+1 skrev luser...@gmail.com:
> On Monday, November 1, 2021 at 4:23:57 AM UTC-5, jonas.t...@gmail.com wrote:
> > I am pretty sure this code did run a week ago, have their been changes to the API it seem it never enter loop because e.options.length undefined?
> >
> > function getPortIndex(){
> > var e = parent.document.getElementById("out_portsel");
> > alert(parent.out_portsel.length);
> > for (var i=0;i<parent.out_portsel.length;i++){
> > alert("WTF");
> > if (e.options[i].value=="FW1884 Control"){ctrlportindex=i; alert(ctrlportindex); break;}
> > else{alert("nonevalid port");}
> > }
> > }
> Here again, I think this code could be factored to be easier to read and verify.
>
> let E = (x)=>parent.document.getElementById(x);
>
> function getPortIndex(){
> let e = E("out_portsel");
> return e.options.findIndex( (opt)=>opt.value=="FW1884 Control" );
> }
>
> I started to write a findfirst() function using .forEach() but after glancing
> at online refs I noticed .findIndex() which does all the looping business..
> There is a difference here in that my version uses the length of
> e.options[] instead of parent.out_portsel[] but that part doesn't really
> make sense to me so I'm not sure if it's important. If they're not the same,
> it might be worth investigating that so functions like this can be short
> and sweet.
Nice.

Re: Option list selection

<e53e7ed2-8cfc-4ae3-a0dc-6d8d9ebaebacn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17393&group=comp.lang.javascript#17393

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:6214:96e:: with SMTP id do14mr24235588qvb.39.1635804617266;
Mon, 01 Nov 2021 15:10:17 -0700 (PDT)
X-Received: by 2002:a9d:7f93:: with SMTP id t19mr23223618otp.306.1635804617009;
Mon, 01 Nov 2021 15:10:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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.javascript
Date: Mon, 1 Nov 2021 15:10:16 -0700 (PDT)
In-Reply-To: <4552c8e0-d9da-4b3a-95f8-fe5f4a721b07n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.164.86; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.164.86
References: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com> <4552c8e0-d9da-4b3a-95f8-fe5f4a721b07n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e53e7ed2-8cfc-4ae3-a0dc-6d8d9ebaebacn@googlegroups.com>
Subject: Re: Option list selection
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Mon, 01 Nov 2021 22:10:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 42
 by: Jonas Thörnvall - Mon, 1 Nov 2021 22:10 UTC

måndag 1 november 2021 kl. 17:17:25 UTC+1 skrev luser...@gmail.com:
> On Monday, November 1, 2021 at 4:23:57 AM UTC-5, jonas.t...@gmail.com wrote:
> > I am pretty sure this code did run a week ago, have their been changes to the API it seem it never enter loop because e.options.length undefined?
> >
> > function getPortIndex(){
> > var e = parent.document.getElementById("out_portsel");
> > alert(parent.out_portsel.length);
> > for (var i=0;i<parent.out_portsel.length;i++){
> > alert("WTF");
> > if (e.options[i].value=="FW1884 Control"){ctrlportindex=i; alert(ctrlportindex); break;}
> > else{alert("nonevalid port");}
> > }
> > }
> Here again, I think this code could be factored to be easier to read and verify.
>
> let E = (x)=>parent.document.getElementById(x);
>
> function getPortIndex(){
> let e = E("out_portsel");
> return e.options.findIndex( (opt)=>opt.value=="FW1884 Control" );
> }
>
> I started to write a findfirst() function using .forEach() but after glancing
> at online refs I noticed .findIndex() which does all the looping business..
> There is a difference here in that my version uses the length of
> e.options[] instead of parent.out_portsel[] but that part doesn't really
> make sense to me so I'm not sure if it's important. If they're not the same,
> it might be worth investigating that so functions like this can be short
> and sweet.
Can't say i like the Javascript syntax though what is the (opt)=> about and why is it necessary?
Why not just e.options.findIndex( (opt.value=="FW1884 Control" );

Re: Option list selection

<5d0d82f9-0dd6-4b73-afb0-d1ad505e28a4n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17394&group=comp.lang.javascript#17394

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:620a:1a84:: with SMTP id bl4mr17237364qkb.411.1635819852535;
Mon, 01 Nov 2021 19:24:12 -0700 (PDT)
X-Received: by 2002:a05:6830:1ad5:: with SMTP id r21mr24524175otc.192.1635819852267;
Mon, 01 Nov 2021 19:24:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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.javascript
Date: Mon, 1 Nov 2021 19:24:12 -0700 (PDT)
In-Reply-To: <e53e7ed2-8cfc-4ae3-a0dc-6d8d9ebaebacn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=97.87.183.68; posting-account=G1KGwgkAAAAyw4z0LxHH0fja6wAbo7Cz
NNTP-Posting-Host: 97.87.183.68
References: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com>
<4552c8e0-d9da-4b3a-95f8-fe5f4a721b07n@googlegroups.com> <e53e7ed2-8cfc-4ae3-a0dc-6d8d9ebaebacn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5d0d82f9-0dd6-4b73-afb0-d1ad505e28a4n@googlegroups.com>
Subject: Re: Option list selection
From: luser.droog@gmail.com (luserdroog)
Injection-Date: Tue, 02 Nov 2021 02:24:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 72
 by: luserdroog - Tue, 2 Nov 2021 02:24 UTC

On Monday, November 1, 2021 at 5:10:23 PM UTC-5, jonas.t...@gmail.com wrote:
> måndag 1 november 2021 kl. 17:17:25 UTC+1 skrev luser...@gmail.com:
> > On Monday, November 1, 2021 at 4:23:57 AM UTC-5, jonas.t...@gmail.com wrote:
> > > I am pretty sure this code did run a week ago, have their been changes to the API it seem it never enter loop because e.options.length undefined?
> > >
> > > function getPortIndex(){
> > > var e = parent.document.getElementById("out_portsel");
> > > alert(parent.out_portsel.length);
> > > for (var i=0;i<parent.out_portsel.length;i++){
> > > alert("WTF");
> > > if (e.options[i].value=="FW1884 Control"){ctrlportindex=i; alert(ctrlportindex); break;}
> > > else{alert("nonevalid port");}
> > > }
> > > }
> > Here again, I think this code could be factored to be easier to read and verify.
> >
> > let E = (x)=>parent.document.getElementById(x);
> >
> > function getPortIndex(){
> > let e = E("out_portsel");
> > return e.options.findIndex( (opt)=>opt.value=="FW1884 Control" );
> > }
> >
> > I started to write a findfirst() function using .forEach() but after glancing
> > at online refs I noticed .findIndex() which does all the looping business.
> > There is a difference here in that my version uses the length of
> > e.options[] instead of parent.out_portsel[] but that part doesn't really
> > make sense to me so I'm not sure if it's important. If they're not the same,
> > it might be worth investigating that so functions like this can be short
> > and sweet.
> Can't say i like the Javascript syntax though what is the (opt)=> about and why is it necessary?
> Why not just e.options.findIndex( (opt.value=="FW1884 Control" );

That's a good question. I believe it's part of a batch of features added to
IIRC Ecma 5 (and more in 6) to support functional programming.
A lot of the array methods are really nice for replacing loops of various
kinds. But the price is you have to do it "functionally" which means
passing in a function. It doesn't have to use the array syntax.

You could also write it like:
e.options.findIndex( function(opt){ return opt.value=="FW1884 Control"; } );

But the code in middle (the *predicate* here, because it returns a boolean)
has to be wrapped up in a function. I like the arrow syntax because it
feels very lightweight and direct, but not everyone likes it. That's a valid
reaction. It does look weird.

This is a change I had to learn (twice) in my programming life. First in college,
then again years later when I picked it back up as a hobby. The downside is
you never stop hunting bugs, but the bugs get weirder and more interesting.
I've been scratching my head for weeks over a 200 line program in PostScript
that does (tries to do) parsing of regular expressions using parser combinators.
It's only 200 lines, but I can't find the bug! But I don't envy what the task
would be like if the program were 2000 or 20000 lines.

Re: Option list selection

<4654561d-ea56-4512-abfc-b3752739897cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17395&group=comp.lang.javascript#17395

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:6214:c81:: with SMTP id r1mr33988417qvr.31.1635836055806;
Mon, 01 Nov 2021 23:54:15 -0700 (PDT)
X-Received: by 2002:a05:6830:401b:: with SMTP id h27mr24607690ots.255.1635836055565;
Mon, 01 Nov 2021 23:54:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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.javascript
Date: Mon, 1 Nov 2021 23:54:15 -0700 (PDT)
In-Reply-To: <5d0d82f9-0dd6-4b73-afb0-d1ad505e28a4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=93.41.100.114; posting-account=F3H0JAgAAADcYVukktnHx7hFG5stjWse
NNTP-Posting-Host: 93.41.100.114
References: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com>
<4552c8e0-d9da-4b3a-95f8-fe5f4a721b07n@googlegroups.com> <e53e7ed2-8cfc-4ae3-a0dc-6d8d9ebaebacn@googlegroups.com>
<5d0d82f9-0dd6-4b73-afb0-d1ad505e28a4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4654561d-ea56-4512-abfc-b3752739897cn@googlegroups.com>
Subject: Re: Option list selection
From: julio@diegidio.name (Julio Di Egidio)
Injection-Date: Tue, 02 Nov 2021 06:54:15 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 14
 by: Julio Di Egidio - Tue, 2 Nov 2021 06:54 UTC

On Tuesday, 2 November 2021 at 03:24:16 UTC+1, luser...@gmail.com wrote:
> On Monday, November 1, 2021 at 5:10:23 PM UTC-5, jonas.t...@gmail.com wrote:

> > Can't say i like the Javascript syntax though what is the (opt)=> about and why is it necessary?
> > Why not just e.options.findIndex( (opt.value=="FW1884 Control" );
> That's a good question. I believe it's part of a batch of features added to

It's a stupid question but your answer it's an even worse pile of pure crap:
as usual, your incompetence is second only to your arrogance.

When Dunning-Kruger is a compliment...

*Plonk*

Julio

Re: Option list selection

<d7e2a36d-cf5a-4b46-819a-f68a69c0eb6cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17396&group=comp.lang.javascript#17396

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:620a:2589:: with SMTP id x9mr28755278qko.454.1635855675738;
Tue, 02 Nov 2021 05:21:15 -0700 (PDT)
X-Received: by 2002:a9d:67d2:: with SMTP id c18mr11882308otn.185.1635855675450;
Tue, 02 Nov 2021 05:21:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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.javascript
Date: Tue, 2 Nov 2021 05:21:15 -0700 (PDT)
In-Reply-To: <4654561d-ea56-4512-abfc-b3752739897cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=97.87.183.68; posting-account=G1KGwgkAAAAyw4z0LxHH0fja6wAbo7Cz
NNTP-Posting-Host: 97.87.183.68
References: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com>
<4552c8e0-d9da-4b3a-95f8-fe5f4a721b07n@googlegroups.com> <e53e7ed2-8cfc-4ae3-a0dc-6d8d9ebaebacn@googlegroups.com>
<5d0d82f9-0dd6-4b73-afb0-d1ad505e28a4n@googlegroups.com> <4654561d-ea56-4512-abfc-b3752739897cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d7e2a36d-cf5a-4b46-819a-f68a69c0eb6cn@googlegroups.com>
Subject: Re: Option list selection
From: luser.droog@gmail.com (luserdroog)
Injection-Date: Tue, 02 Nov 2021 12:21:15 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 14
 by: luserdroog - Tue, 2 Nov 2021 12:21 UTC

On Tuesday, November 2, 2021 at 1:54:20 AM UTC-5, ju...@diegidio.name wrote:
> On Tuesday, 2 November 2021 at 03:24:16 UTC+1, luser...@gmail.com wrote:
> > On Monday, November 1, 2021 at 5:10:23 PM UTC-5, jonas.t...@gmail.com wrote:
>
> > > Can't say i like the Javascript syntax though what is the (opt)=> about and why is it necessary?
> > > Why not just e.options.findIndex( (opt.value=="FW1884 Control" );
> > That's a good question. I believe it's part of a batch of features added to
> It's a stupid question but your answer it's an even worse pile of pure crap:
> as usual, your incompetence is second only to your arrogance.
>
> When Dunning-Kruger is a compliment...
>
> *Plonk*

Dude, chill the fuck out.

Re: Option list selection

<slrnso2cgi.503.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17397&group=comp.lang.javascript#17397

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jon+usenet@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.javascript
Subject: Re: Option list selection
Date: Tue, 2 Nov 2021 12:41:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <slrnso2cgi.503.jon+usenet@raven.unequivocal.eu>
References: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com>
<4552c8e0-d9da-4b3a-95f8-fe5f4a721b07n@googlegroups.com>
<e53e7ed2-8cfc-4ae3-a0dc-6d8d9ebaebacn@googlegroups.com>
<5d0d82f9-0dd6-4b73-afb0-d1ad505e28a4n@googlegroups.com>
<4654561d-ea56-4512-abfc-b3752739897cn@googlegroups.com>
<d7e2a36d-cf5a-4b46-819a-f68a69c0eb6cn@googlegroups.com>
Injection-Date: Tue, 2 Nov 2021 12:41:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b023aae51caad4e4d1b39c7ab8b82411";
logging-data="9402"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19aGgVj+MzEEiXvyc8ZbL+N++Z80SYmHSw="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:fB9KlqhkyjH7QYt0DbaioV0jpXc=
 by: Jon Ribbens - Tue, 2 Nov 2021 12:41 UTC

On 2021-11-02, luserdroog <luser.droog@gmail.com> wrote:
> On Tuesday, November 2, 2021 at 1:54:20 AM UTC-5, ju...@diegidio.name wrote:
>> On Tuesday, 2 November 2021 at 03:24:16 UTC+1, luser...@gmail.com wrote:
>> > On Monday, November 1, 2021 at 5:10:23 PM UTC-5, jonas.t...@gmail.com wrote:
>>
>> > > Can't say i like the Javascript syntax though what is the (opt)=> about and why is it necessary?
>> > > Why not just e.options.findIndex( (opt.value=="FW1884 Control" );
>> > That's a good question. I believe it's part of a batch of features added to
>> It's a stupid question but your answer it's an even worse pile of pure crap:
>> as usual, your incompetence is second only to your arrogance.
>>
>> When Dunning-Kruger is a compliment...
>>
>> *Plonk*
>
> Dude, chill the fuck out.

Don't worry about Julio the Plonker, he just gibbers non-stop
foul-mouthed nonsense into the group. Killfiling him is the
recommended solution.

Re: Option list selection

<afaee1a6-3258-4c57-b1eb-d3b7e80e86cfn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17398&group=comp.lang.javascript#17398

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:6214:2a8f:: with SMTP id jr15mr46115153qvb.49.1635981302054;
Wed, 03 Nov 2021 16:15:02 -0700 (PDT)
X-Received: by 2002:a05:6808:f0c:: with SMTP id m12mr13265428oiw.150.1635981301721;
Wed, 03 Nov 2021 16:15:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.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.javascript
Date: Wed, 3 Nov 2021 16:15:01 -0700 (PDT)
In-Reply-To: <slrnso2cgi.503.jon+usenet@raven.unequivocal.eu>
Injection-Info: google-groups.googlegroups.com; posting-host=97.87.183.68; posting-account=G1KGwgkAAAAyw4z0LxHH0fja6wAbo7Cz
NNTP-Posting-Host: 97.87.183.68
References: <496b70db-3aaf-41ad-9044-e703be59a92dn@googlegroups.com>
<4552c8e0-d9da-4b3a-95f8-fe5f4a721b07n@googlegroups.com> <e53e7ed2-8cfc-4ae3-a0dc-6d8d9ebaebacn@googlegroups.com>
<5d0d82f9-0dd6-4b73-afb0-d1ad505e28a4n@googlegroups.com> <4654561d-ea56-4512-abfc-b3752739897cn@googlegroups.com>
<d7e2a36d-cf5a-4b46-819a-f68a69c0eb6cn@googlegroups.com> <slrnso2cgi.503.jon+usenet@raven.unequivocal.eu>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <afaee1a6-3258-4c57-b1eb-d3b7e80e86cfn@googlegroups.com>
Subject: Re: Option list selection
From: luser.droog@gmail.com (luserdroog)
Injection-Date: Wed, 03 Nov 2021 23:15:02 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 22
 by: luserdroog - Wed, 3 Nov 2021 23:15 UTC

On Tuesday, November 2, 2021 at 7:42:02 AM UTC-5, Jon Ribbens wrote:
> On 2021-11-02, luserdroog <luser...@gmail.com> wrote:
> > On Tuesday, November 2, 2021 at 1:54:20 AM UTC-5, ju...@diegidio.name wrote:
> >> On Tuesday, 2 November 2021 at 03:24:16 UTC+1, luser...@gmail.com wrote:
> >> > On Monday, November 1, 2021 at 5:10:23 PM UTC-5, jonas.t...@gmail.com wrote:
> >>
> >> > > Can't say i like the Javascript syntax though what is the (opt)=> about and why is it necessary?
> >> > > Why not just e.options.findIndex( (opt.value=="FW1884 Control" );
> >> > That's a good question. I believe it's part of a batch of features added to
> >> It's a stupid question but your answer it's an even worse pile of pure crap:
> >> as usual, your incompetence is second only to your arrogance.
> >>
> >> When Dunning-Kruger is a compliment...
> >>
> >> *Plonk*
> >
> > Dude, chill the fuck out.
> Don't worry about Julio the Plonker, he just gibbers non-stop
> foul-mouthed nonsense into the group. Killfiling him is the
> recommended solution.

You're right. I overreacted. I thought I'd made some progress with Julio in our
last exchange. I apologize for increasing the foul-mouthedness.


devel / comp.lang.javascript / Re: Option list selection

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor