Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #36290 > unrolled thread

onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard"

Started byJonas Thörnvall <jonas.thornvall@gmail.com>
First post2019-04-01 01:05 -0700
Last post2019-04-01 04:13 -0700
Articles 20 on this page of 22 — 6 participants

Back to article view | Back to comp.lang.javascript


Contents

  onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-04-01 01:05 -0700
    Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-04-01 03:32 -0700
      Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-04-01 15:31 +0200
        Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-04-01 09:09 -0700
          Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-04-01 23:38 +0200
            Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-04-02 11:07 -0700
              Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-04-02 23:21 +0200
                Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Mark-" <nospam@mapson.xyz> - 2019-04-03 00:35 +0000
                  Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-04-03 10:56 +0200
                    Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Mark-" <nospam@mapson.xyz> - 2019-04-03 13:17 +0000
                      Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-04-03 18:41 +0200
                        Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Mark-" <nospam@mapson.xyz> - 2019-04-03 16:52 +0000
                          Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-04-03 22:54 +0200
                            Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Mark-" <nospam@mapson.xyz> - 2019-04-03 21:35 +0000
                        Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" Flng Fck <nothanks@invalid.invalid> - 2019-04-04 08:35 +0200
                          Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-04-04 09:59 +0200
                            Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" Flng Fck <nothanks@invalid.invalid> - 2019-04-04 10:05 +0200
                            Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" Gene Wirchenko <genew@telus.net> - 2019-04-04 10:27 -0700
                              Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-04-04 22:21 +0200
                        Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" John G Harris <niam@jghnorth.org.uk.invalid> - 2019-04-04 20:02 +0100
    Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-04-01 03:56 -0700
      Re: onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-04-01 04:13 -0700

Page 1 of 2  [1] 2  Next page →


#36290 — onMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard"

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-04-01 01:05 -0700
SubjectonMidiSuccess, "fake a midiMessage with mouse and charkeys", create a midiMessage object using mouse or keyboard"
Message-ID<b3e03db3-11de-4696-9a7a-038187855e6c@googlegroups.com>
If midiport initialisations goes well "success(midi) called", it will start listen to midi In port, and send each received message to a function celled onMIDIMessage.

function success(midi) {
  MidiPort=true;
  mid = midi;
  inputs = mid.inputs.values();
  // inputs outputs are Iterators
  for (input = inputs.next(); input && !input.done; input = inputs.next()) {
    //SEND EACH MIDI INPUT TO OUT
    console.log("going to playup midi message");
    input.value.onmidimessage = onMIDIMessage;
  }
}

So the message object is something the system create, when your keyboard generate a message for example keypress.
//MESSAGES SENT TO PORTS
function onMIDIMessage(message) {
  mess = message;
  clock = performance.now() - Rstarttime;
  if ((message.data[0] > 127 && message.data[0] < 166) || message.data[0] == 224 || message.data[0] == 176) {
    if (recordmidi) {
      console.log("I am recording");
      record(message);
    }     
    playbackPort(message);
    if(drawpiroll==true){
       pianoroll.push({
       time: clock,
       data0: message.data[0],
       data1: message.data[1],
       data2: message.data[2]
       });
    }
    if (SFLoad) {sf2synth(message);}
    if (echo) {
     echoNotesCanvas();
     checkMessageType();
    }
  } else {
     checkMessageType();
  }
}


Now you may want other input devices like mouse and keyboard and create a function to take care of it, and send messages to onMIDIMessage(message).
Problem is data the message object do not exist unless a midikey already been pressed. I want all messages to take same path weither they generated from midikeyboard, character keyboard or mouse.

So how can i "fake" generate the midiMessage object so it is not underfined, when using keyboard "message.data[0],messagee.data[1],message.data[2]" that is the object that a press on midikeyboard create.

***UNDEFINED*** message object 
function playNote(A,B){
synth.NoteOn(143+channelTRX,A,B);
if (recordmidi) {
    clock = performance.now() - Rstarttime;
    clock = clock + rs;
    console.log("Clock="+clock);
    midievent++;
    message.data[0]=143+channelTRX; //UNDEFINED unless midikeboard created it
    message.data[1]=A;              //UNDEFINED 
    message.data[2]=B;              //UNDEFINED
    onMIDImessage(message);
   }
}

[toc] | [next] | [standalone]


#36291

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-04-01 03:32 -0700
Message-ID<699fff11-a3ec-4e43-b9d3-22d3682d7496@googlegroups.com>
In reply to#36290
Den måndag 1 april 2019 kl. 10:05:56 UTC+2 skrev Jonas Thörnvall:
> If midiport initialisations goes well "success(midi) called", it will start listen to midi In port, and send each received message to a function celled onMIDIMessage.
> 
> function success(midi) {
>   MidiPort=true;
>   mid = midi;
>   inputs = mid.inputs.values();
>   // inputs outputs are Iterators
>   for (input = inputs.next(); input && !input.done; input = inputs.next()) {
>     //SEND EACH MIDI INPUT TO OUT
>     console.log("going to playup midi message");
>     input.value.onmidimessage = onMIDIMessage;
>   }
> }
> 
> So the message object is something the system create, when your keyboard generate a message for example keypress.
> //MESSAGES SENT TO PORTS
> function onMIDIMessage(message) {
>   mess = message;
>   clock = performance.now() - Rstarttime;
>   if ((message.data[0] > 127 && message.data[0] < 166) || message.data[0] == 224 || message.data[0] == 176) {
>     if (recordmidi) {
>       console.log("I am recording");
>       record(message);
>     }     
>     playbackPort(message);
>     if(drawpiroll==true){
>        pianoroll.push({
>        time: clock,
>        data0: message.data[0],
>        data1: message.data[1],
>        data2: message.data[2]
>        });
>     }
>     if (SFLoad) {sf2synth(message);}
>     if (echo) {
>      echoNotesCanvas();
>      checkMessageType();
>     }
>   } else {
>      checkMessageType();
>   }
> }
> 
> 
> Now you may want other input devices like mouse and keyboard and create a function to take care of it, and send messages to onMIDIMessage(message).
> Problem is data the message object do not exist unless a midikey already been pressed. I want all messages to take same path weither they generated from midikeyboard, character keyboard or mouse.
> 
> So how can i "fake" generate the midiMessage object so it is not underfined, when using keyboard "message.data[0],messagee.data[1],message.data[2]" that is the object that a press on midikeyboard create.
> 
> ***UNDEFINED*** message object 
> function playNote(A,B){
> synth.NoteOn(143+channelTRX,A,B);
> if (recordmidi) {
>     clock = performance.now() - Rstarttime;
>     clock = clock + rs;
>     console.log("Clock="+clock);
>     midievent++;
>     message.data[0]=143+channelTRX; //UNDEFINED unless midikeboard created it
>     message.data[1]=A;              //UNDEFINED 
>     message.data[2]=B;              //UNDEFINED
>     onMIDImessage(message);
>    }
> }

It is probably a single line of code, but i admit i am clueless howto create the midimessage object, i just know to little about objects, especially the object on success create.

[toc] | [prev] | [next] | [standalone]


#36294

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2019-04-01 15:31 +0200
Message-ID<XnsAA249DF05CCCAeejj99@194.109.6.166>
In reply to#36291
=?UTF-8?Q?Jonas_Th=C3=B6rnvall?= <jonas.thornvall@gmail.com> wrote on 01
Apr 2019 in comp.lang.javascript: 

>  i just know to little about objects, especially the object on success
>  create. 

.. tOO little ...

You do not/never NEED objects, they are just a handy way of doing some kind 
of black boxing, so you can concentrate on the external logic.

Why *not* try,
*not* to use technology you are not fluent in for the moment, 
and *just* have the job work first without such?



-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#36295

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-04-01 09:09 -0700
Message-ID<6b7fab6d-0d82-4147-9f4d-f1b07500c8c6@googlegroups.com>
In reply to#36294
Den måndag 1 april 2019 kl. 15:31:39 UTC+2 skrev Evertjan.:
> =?UTF-8?Q?Jonas_Th=C3=B6rnvall?= <jonas.thornvall@gmail.com> wrote on 01
> Apr 2019 in comp.lang.javascript: 
> 
> >  i just know to little about objects, especially the object on success
> >  create. 
> 
> .. tOO little ...
> 
> You do not/never NEED objects, they are just a handy way of doing some kind 
> of black boxing, so you can concentrate on the external logic.
> 
> Why *not* try,
> *not* to use technology you are not fluent in for the moment, 
> and *just* have the job work first without such?
> 
Well it is not i that create the midi object it is webauido that create it on success, i solved it by copying the object "to a variable", "to an instance", "to another object" well who knows, who cares it work. 
> 
> -- 
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#36296

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2019-04-01 23:38 +0200
Message-ID<XnsAA24F07A316B1eejj99@194.109.6.166>
In reply to#36295
=?UTF-8?Q?Jonas_Th=C3=B6rnvall?= <jonas.thornvall@gmail.com> wrote on 01
Apr 2019 in comp.lang.javascript: 

>> Why *not* try,
>> *not* to use technology you are not fluent in for the moment, 
>> and *just* have the job work first without such?
>> 

> Well it is not i that create the midi object it is webauido that create
> it on success, i solved it by copying the object "to a variable", "to an
> instance", "to another object" well who knows, who cares it work. 

It apears from your Qs not to work for you.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#36299

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-04-02 11:07 -0700
Message-ID<c23f658d-a0a6-48b6-b7e9-2cb066e643ac@googlegroups.com>
In reply to#36296
Den måndag 1 april 2019 kl. 23:38:28 UTC+2 skrev Evertjan.:
> =?UTF-8?Q?Jonas_Th=C3=B6rnvall?= <jonas.thornvall@gmail.com> wrote on 01
> Apr 2019 in comp.lang.javascript: 
> 
> >> Why *not* try,
> >> *not* to use technology you are not fluent in for the moment, 
> >> and *just* have the job work first without such?
> >> 
> 
> > Well it is not i that create the midi object it is webauido that create
> > it on success, i solved it by copying the object "to a variable", "to an
> > instance", "to another object" well who knows, who cares it work. 
> 
> It apears from your Qs not to work for you.
> 
> -- 
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)

Nope work great, but of course it does not feel great, because maybe my approach making the "thingy" global is wrong.

[toc] | [prev] | [next] | [standalone]


#36300

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2019-04-02 23:21 +0200
Message-ID<XnsAA25ED9F8A3B5eejj99@194.109.6.166>
In reply to#36299
=?UTF-8?Q?Jonas_Th=C3=B6rnvall?= <jonas.thornvall@gmail.com> wrote on 02
Apr 2019 in comp.lang.javascript: 

>> > Well it is not i that create the midi object it is webauido that
>> > create it on success, i solved it by copying the object "to a
>> > variable", "to a 
> n
>> > instance", "to another object" well who knows, who cares it work. 
>> 
>> It apears from your Qs not to work for you.
> 
> Nope work great, but of course it does not feel great, because maybe my
> approach making the "thingy" global is wrong. 

Can you repeat that in English?

Because it seems you are referring to an object that is wrong, while you did 
tell earlier that you don't understand objects, but reject my suggestion not 
to use them then.

Btw, "off course" being a way of speech to assert what you cannot assert 
with a valid argument, so better not use those words in an argument.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#36301

From"Mark-" <nospam@mapson.xyz>
Date2019-04-03 00:35 +0000
Message-ID<q80v3r$una$1@gioia.aioe.org>
In reply to#36300
Evertjan. wrote:

> 
> Btw, "off course" being a way of speech to assert what you cannot
> assert with a valid argument, so better not use those words in an
> argument.

As many words/idioms have multiple meanings, for his use of "but of
course", is defined as "as expected".

"used to show that a situation or a piece of information is not
surprising"

https://dictionary.cambridge.org/dictionary/english/of-course




[toc] | [prev] | [next] | [standalone]


#36303

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2019-04-03 10:56 +0200
Message-ID<XnsAA266F5A1E6BEeejj99@194.109.6.166>
In reply to#36301
"Mark-" <nospam@mapson.xyz> wrote on 03 Apr 2019 in comp.lang.javascript:

> As many words/idioms have multiple meanings, for his use of "but of
> course", is defined as "as expected".

NOT SO,

.. just because words and idioms are not DEFINED,
as dictionaries [and grammars] are descriptive, NOT prescriptive.

AND even if so, quod non,

.. I would not have expected it, or would expect the other party to have done 
so, but would have expected sound arguments for such expectations.


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#36304

From"Mark-" <nospam@mapson.xyz>
Date2019-04-03 13:17 +0000
Message-ID<q82boi$1742$1@gioia.aioe.org>
In reply to#36303
Evertjan. wrote:

> "Mark-" <nospam@mapson.xyz> wrote on 03 Apr 2019 in
> comp.lang.javascript:
> 
> > As many words/idioms have multiple meanings, for his use of "but of
> > course", is defined as "as expected".
> 
> NOT SO,
> 
> .. just because words and idioms are not DEFINED,
> as dictionaries [and grammars] are descriptive, NOT prescriptive.
> 
> AND even if so, quod non,
> 
> .. I would not have expected it, or would expect the other party to
> have done so, but would have expected sound arguments for such
> expectations.

Your ignorance is showing.

[toc] | [prev] | [next] | [standalone]


#36305

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2019-04-03 18:41 +0200
Message-ID<XnsAA26BE0EC295Deejj99@194.109.6.166>
In reply to#36304
"Mark-" <nospam@mapson.xyz> wrote on 03 Apr 2019 in comp.lang.javascript:

> Evertjan. wrote:
> 
>> "Mark-" <nospam@mapson.xyz> wrote on 03 Apr 2019 in
>> comp.lang.javascript:
>> 
>> > As many words/idioms have multiple meanings, for his use of "but of
>> > course", is defined as "as expected".
>> 
>> NOT SO,
>> 
>> .. just because words and idioms are not DEFINED,
>> as dictionaries [and grammars] are descriptive, NOT prescriptive.
>> 
>> AND even if so, quod non,
>> 
>> .. I would not have expected it, or would expect the other party to
>> have done so, but would have expected sound arguments for such
>> expectations.
> 
> Your ignorance is showing.

1 Just saying something does not make it so, 
there is no DEFINITION involved in word and idiom interpretation.

2 making ad hominem remarks only shows your anger. ;-)

3 Anonimous remarks makes that worse.


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#36306

From"Mark-" <nospam@mapson.xyz>
Date2019-04-03 16:52 +0000
Message-ID<q82oda$12j0$1@gioia.aioe.org>
In reply to#36305
Evertjan. wrote:

Just because you do not know something, does not mean it does not exist.

>2 making ad hominem remarks only shows your anger. ;-)

I am not the one that is CONSTANTLY seeking to fight and argue with
people in this forum. I was trying to help you understand the poster’s
communication. You are the angry participant.


[toc] | [prev] | [next] | [standalone]


#36307

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2019-04-03 22:54 +0200
Message-ID<XnsAA26E91A0E0D7eejj99@194.109.6.166>
In reply to#36306
"Mark-" <nospam@mapson.xyz> wrote on 03 Apr 2019 in comp.lang.javascript:

> Evertjan. wrote:
> 
> Just because you do not know something, does not mean it does not exist.
> 
>>2 making ad hominem remarks only shows your anger. ;-)
> 
> I am not the one that is CONSTANTLY seeking to fight and argue with
> people in this forum. I was trying to help you understand the poster’s
> communication. You are the angry participant.

See, at hominem again, in stead of addressing the subject.

Helping someone by using fallacious arguments, like proclaiming words and 
idioms have definitions, seems not very helpfull to me.

However, I would not dream attacking your person for that, only your method.

Weel, perhaps I would dream, but it would stay a dream.


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#36308

From"Mark-" <nospam@mapson.xyz>
Date2019-04-03 21:35 +0000
Message-ID<q838uh$1eqb$1@gioia.aioe.org>
In reply to#36307
Evertjan. wrote:

> 
> ...like proclaiming words
> and idioms have definitions, seems not very helpfull to me.

<shaking head> 

[toc] | [prev] | [next] | [standalone]


#36309

FromFlng Fck <nothanks@invalid.invalid>
Date2019-04-04 08:35 +0200
Message-ID<q848kc$a04$1@dont-email.me>
In reply to#36305
Il 03/04/2019 18:41, Evertjan. ha scritto:
>>> .. just because words and idioms are not DEFINED,
>>> as dictionaries [and grammars] are descriptive, NOT prescriptive.
>>>
>>> AND even if so, quod non,
>>>
>>> .. I would not have expected it, or would expect the other party to
>>> have done so, but would have expected sound arguments for such
>>> expectations.
>> Your ignorance is showing.
> 1 Just saying something does not make it so,
> there is no DEFINITION involved in word and idiom interpretation.
>
>
He's right, as Oxford English shows:


*"How do you know what the definition of a word is?*

It’s all about the context. Often we will have an instinct for what a 
word means because we all use it or it’s familiar, but many times we are 
defining a word that is unfamiliar. Because we only include words for 
which our lexicographers can find evidence, it is this evidence which is 
crucial in helping us pin down the best and most precise definition for 
a word."

https://www.oxforddictionaries.com/news-and-press/oxford-dictionaries-faq

[toc] | [prev] | [next] | [standalone]


#36310

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2019-04-04 09:59 +0200
Message-ID<XnsAA2765A52B73Aeejj99@194.109.6.166>
In reply to#36309
Flng Fck <nothanks@invalid.invalid> wrote on 04 Apr 2019 in 
comp.lang.javascript:

> Il 03/04/2019 18:41, Evertjan. ha scritto:
>>>> .. just because words and idioms are not DEFINED,
>>>> as dictionaries [and grammars] are descriptive, NOT prescriptive.
>>>>
>>>> AND even if so, quod non,
>>>>
>>>> .. I would not have expected it, or would expect the other party to
>>>> have done so, but would have expected sound arguments for such
>>>> expectations.
>>> Your ignorance is showing.
>> 1 Just saying something does not make it so,
>> there is no DEFINITION involved in word and idiom interpretation.
>>
>>
> He's right, as Oxford English shows:
> 
> 
> *"How do you know what the definition of a word is?*
> 
> It's all about the context.

Indeed, quite so. 

Definitions, however, do not change with context.

> Often we will have an instinct for what a 
> word means because we all use it or it's familiar, but many times we are 
> defining a word that is unfamiliar. Because we only include words for 
> which our lexicographers can find evidence, it is this evidence which is 
> crucial in helping us pin down the best and most precise definition for 
> a word."
> 
> https://www.oxforddictionaries.com/news-and-press/oxford-dictionaries-faq

Which, in casu strictu, is nonsense, because dictionaries are descriptive, 
they describe the usage of a word, and the word "definition" is 
prescriptive.

So words, as described in dictionaries, do not have definitions, the 
description of a word can even describe "wrong" usage, in the sense that 
does not match and even is in contradiction with earlier use or reality.

I submit the use of "definition" by oxforddictionaries.com is "wrong" in 
this sense.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#36311

FromFlng Fck <nothanks@invalid.invalid>
Date2019-04-04 10:05 +0200
Message-ID<q84dul$ceh$1@dont-email.me>
In reply to#36310
Il 04/04/2019 09:59, Evertjan. ha scritto:
>> Often we will have an instinct for what a
>> word means because we all use it or it's familiar, but many times we are
>> defining a word that is unfamiliar. Because we only include words for
>> which our lexicographers can find evidence, it is this evidence which is
>> crucial in helping us pin down the best and most precise definition for
>> a word."
>>
>> https://www.oxforddictionaries.com/news-and-press/oxford-dictionaries-faq
> Which, in casu strictu, is nonsense, because dictionaries are descriptive,
> they describe the usage of a word, and the word "definition" is
> prescriptive.


<shaking head>

[toc] | [prev] | [next] | [standalone]


#36312

FromGene Wirchenko <genew@telus.net>
Date2019-04-04 10:27 -0700
Message-ID<mdfcaet2ehltb6vt5do8in3oqlnf5o4pg2@4ax.com>
In reply to#36310
On Thu, 04 Apr 2019 09:59:31 +0200, "Evertjan."
<exxjxw.hannivoort@inter.nl.net> wrote:

>Flng Fck <nothanks@invalid.invalid> wrote on 04 Apr 2019 in 
>comp.lang.javascript:

[snip]

>> *"How do you know what the definition of a word is?*
>> 
>> It's all about the context.
>
>Indeed, quite so. 
>
>Definitions, however, do not change with context.

     But a very different definition can apply depending on context,
especially in technical fields.

[snip]

Sincerely,

Gene Wirchenko

[toc] | [prev] | [next] | [standalone]


#36314

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2019-04-04 22:21 +0200
Message-ID<XnsAA27E38338519eejj99@194.109.6.166>
In reply to#36312
Gene Wirchenko <genew@telus.net> wrote on 04 Apr 2019 in 
comp.lang.javascript:

> On Thu, 04 Apr 2019 09:59:31 +0200, "Evertjan."
> <exxjxw.hannivoort@inter.nl.net> wrote:
> 
>>Flng Fck <nothanks@invalid.invalid> wrote on 04 Apr 2019 in 
>>comp.lang.javascript:
> 
> [snip]
> 
>>> *"How do you know what the definition of a word is?*
>>> 
>>> It's all about the context.
>>
>>Indeed, quite so. 
>>
>>Definitions, however, do not change with context.
> 
>      But a very different definition can apply depending on context,
> especially in technical fields.

Indeed, I just was talking about dictionary entries of natural languages.

Proper computer languages, like Pascal and artificial langages, like 
Esperanto, can have word definitions.

Javascript is not among them, as it is implementation [= "context"?] 
dependent, where even sometimes the implementators seem to have missed the 
point of the concept makers.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#36313

FromJohn G Harris <niam@jghnorth.org.uk.invalid>
Date2019-04-04 20:02 +0100
Message-ID<50lcaepee23u0vshmf3vmb6te0tu3roicu@4ax.com>
In reply to#36305
On Wed, 03 Apr 2019 18:41:00 +0200, "Evertjan."
<exxjxw.hannivoort@inter.nl.net> wrote:

  <snip>
>2 making ad hominem remarks only shows your anger. ;-)

Evertan, the way you use those latin words means that 
  "You are completely correct."
is, you believe, an ad hominem remark.


>3 Anonimous remarks makes that worse.

Hotel visitors often use the name John Smith : so that name is
anonymous too, but not as much as A Nonny Mouse.

  John

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.javascript


csiph-web