I think it's worth documenting it as a debuting tool, since that's what it's there for, as far as I can tell for Miller's response.
On Mar 24, 2022, at 12:00 PM, pd-dev-request@lists.iem.at wrote:
Message: 2 Date: Wed, 23 Mar 2022 17:39:36 -0300 From: Alexandre Torres Porres <porres@gmail.com mailto:porres@gmail.com> To: Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu> Cc: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: Re: [PD-dev] pd 0.52-2 release plan Message-ID: <CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com mailto:CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Not sure it's worth documenting then... I should test and see it for myself how it works so I actually get it.
keeping it as a hidden feature for now.
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Em qui., 24 de mar. de 2022 às 11:05, Dan Wilcox danomatika@gmail.com escreveu:
I think it's worth documenting it as a debuting tool, since that's what it's there for, as far as I can tell for Miller's response.
I tried the flag and I couldn't really see any difference... Miller also said "*one should always use the default, binary connection.*" so I really don't know what to do here... if I could at least have seen the difference when I tried it...
but anyway, I can just go ahead and write exactly something you people think it's best, just tell me here what to say => https://github.com/pure-data/pddp/issues/60
cheers
On Mar 24, 2022, at 12:00 PM, pd-dev-request@lists.iem.at wrote:
Message: 2 Date: Wed, 23 Mar 2022 17:39:36 -0300 From: Alexandre Torres Porres porres@gmail.com To: Miller Puckette msp@ucsd.edu Cc: pd-dev pd-dev@lists.iem.at Subject: Re: [PD-dev] pd 0.52-2 release plan Message-ID: CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com Content-Type: text/plain; charset="utf-8"
Not sure it's worth documenting then... I should test and see it for myself how it works so I actually get it.
keeping it as a hidden feature for now.
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com robotcowboy.com
Le 28/03/2022 à 05:15, Alexandre Torres Porres a écrit :
Em qui., 24 de mar. de 2022 às 11:05, Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> escreveu:
I think it's worth documenting it as a debuting tool, since that's what it's there for, as far as I can tell for Miller's response.
I tried the flag and I couldn't really see any difference... Miller also said "/one should always use the default, binary connection./" so I really don't know what to do here... if I could at least have seen the difference when I tried it...
you need a network analysing tool to see the difference. (I use wireshark)
cheers c
but anyway, I can just go ahead and write exactly something you people think it's best, just tell me here what to say => https://github.com/pure-data/pddp/issues/60 https://github.com/pure-data/pddp/issues/60
cheers
On Mar 24, 2022, at 12:00 PM, pd-dev-request@lists.iem.at <mailto:pd-dev-request@lists.iem.at> wrote: Message: 2 Date: Wed, 23 Mar 2022 17:39:36 -0300 From: Alexandre Torres Porres <porres@gmail.com <mailto:porres@gmail.com>> To: Miller Puckette <msp@ucsd.edu <mailto:msp@ucsd.edu>> Cc: pd-dev <pd-dev@lists.iem.at <mailto:pd-dev@lists.iem.at>> Subject: Re: [PD-dev] pd 0.52-2 release plan Message-ID: <CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com <mailto:CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com>> Content-Type: text/plain; charset="utf-8" Not sure it's worth documenting then... I should test and see it for myself how it works so I actually get it. keeping it as a hidden feature for now.
-------- Dan Wilcox @danomatika <http://twitter.com/danomatika> danomatika.com <http://danomatika.com> robotcowboy.com <http://robotcowboy.com>
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Le 28/03/2022 à 08:26, cyrille henry a écrit :
Le 28/03/2022 à 05:15, Alexandre Torres Porres a écrit :
Em qui., 24 de mar. de 2022 às 11:05, Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> escreveu:
I think it's worth documenting it as a debuting tool, since that's what it's there for, as far as I can tell for Miller's response.
I tried the flag and I couldn't really see any difference... Miller also said "/one should always use the default, binary connection./" so I really don't know what to do here... if I could at least have seen the difference when I tried it...
you need a network analysing tool to see the difference. (I use wireshark)
oh, well no. It was to early in the morning! pd~ did not use a socket, so you can't see anything with wireshark. sorry cheers c
cheers c
but anyway, I can just go ahead and write exactly something you people think it's best, just tell me here what to say => https://github.com/pure-data/pddp/issues/60 https://github.com/pure-data/pddp/issues/60
cheers
On Mar 24, 2022, at 12:00 PM, pd-dev-request@lists.iem.at mailto:pd-dev-request@lists.iem.at wrote:
Message: 2 Date: Wed, 23 Mar 2022 17:39:36 -0300 From: Alexandre Torres Porres <porres@gmail.com mailto:porres@gmail.com> To: Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu> Cc: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: Re: [PD-dev] pd 0.52-2 release plan Message-ID: <CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com mailto:CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Not sure it's worth documenting then... I should test and see it for myself how it works so I actually get it.
keeping it as a hidden feature for now.
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com robotcowboy.com http://robotcowboy.com
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
On 3/28/22 09:13, cyrille henry wrote:
you need a network analysing tool to see the difference. (I use wireshark)
oh, well no. It was to early in the morning! pd~ did not use a socket, so you can't see anything with wireshark.
while the tool was wrong, the methodology was correct.
alexandre said:
I tried the flag and I couldn't really see any difference
how did you test? more specifically, how was your test patch designed to show a difference between ascii and binary mode?
both modes are designed to get the data from the parent process to the subprocess (and vice versa), so from a user perspective there shouldn't be *much* difference, if you just look at the messages on a patch level.
an example from the internet: you can access both http://puredata.info and https://puredata.info - the two sites are equivalent, more: they are the same. (except that the browser might indicate that you are using an insecure connection (or not); but in pd~'s ASCII mode there is also a big fat '-ascii' flag in the [pd~] invocation indicating that you are using non-binary mode). but that is only from a user's perspective. if they are the same: why would anybody want https:// instead of http://? because what the user does not see is that with https:// the data is transmitted encrypted, whereas with http:// it's transmitted as simple text. so if you care for privacy, you should use https://. but if things don't really work and you want to see which data is actually transmitted (and you think that the encryption part is not the problem), then you might launch a simple 'telnet' session that connects to your webserver and see what data it sends. it help's tremendously in debugging, if this data is not some encrypted binary blob, but just simple text.
similar for pd~. the result will be *quite* the same (within limits), but you lose some capabilities only the binary transport can guarantee: - higher transport speed (you don't really want to spend all those CPU-cycles you gained by using a 2nd Pd process on decoding the data) - precision: textual representations of numbers will inherently lose some information - depending on the actual number (*some* numbers can be represented with the same precision in text and binary form). if you want your numbers to be bit-for-bit identical between you must use binary mode.¹
don't use '-ascii' unless you *know* that you need to.
Miller also said "/one should always use the default, binary connection./" so I really don't know what to do here...
i'm not sure i can follow. how about just following the advice you got?
vmnasdr IOhannes
¹ this also hints at a simple way to show a difference between the two transport modes. send a number to the subprocess where the binary and the textual representation differ noatbly. e.g. 1/3 (btw, this number cannot be represented precisely in both text and floating point). on the "other side" multiply that number by 3, which should give you roughly 1 in both representations, but note how the result actually differs.
As others have said, Pd originally only used ASCII mode and binary mode has been introduced later to avoid loss of precision. The ASCII mode has not been designed to help with debugging.
As Miller said, there is no real reason to ever use "-ascii". I don't think we need to document it at all.
Christof
On 28.03.2022 09:13, cyrille henry wrote:
Le 28/03/2022 à 08:26, cyrille henry a écrit :
Le 28/03/2022 à 05:15, Alexandre Torres Porres a écrit :
Em qui., 24 de mar. de 2022 às 11:05, Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> escreveu:
I think it's worth documenting it as a debuting tool, since that's what it's there for, as far as I can tell for Miller's response.
I tried the flag and I couldn't really see any difference... Miller also said "/one should always use the default, binary connection./" so I really don't know what to do here... if I could at least have seen the difference when I tried it...
you need a network analysing tool to see the difference. (I use wireshark)
oh, well no. It was to early in the morning! pd~ did not use a socket, so you can't see anything with wireshark. sorry cheers c
cheers c
but anyway, I can just go ahead and write exactly something you people think it's best, just tell me here what to say => https://github.com/pure-data/pddp/issues/60 https://github.com/pure-data/pddp/issues/60
cheers
On Mar 24, 2022, at 12:00 PM, pd-dev-request@lists.iem.at mailto:pd-dev-request@lists.iem.at wrote:
Message: 2 Date: Wed, 23 Mar 2022 17:39:36 -0300 From: Alexandre Torres Porres <porres@gmail.com mailto:porres@gmail.com> To: Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu> Cc: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: Re: [PD-dev] pd 0.52-2 release plan Message-ID: <CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com mailto:CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Not sure it's worth documenting then... I should test and see it for myself how it works so I actually get it.
keeping it as a hidden feature for now.
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com robotcowboy.com http://robotcowboy.com
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Actually I think it can still be used (for instance, fork the comms to a separate file and use a text editor to see what happened. Also, I use the subprocess in 'ascii' mode to show people how the synchronization works - it can be run in ascii mode right from the command line.
So still useful, at first for ease of debugging, but now primarily didactically.
cheers Miller
On Mon, Mar 28, 2022 at 11:20:23AM +0200, Christof Ressi wrote:
As others have said, Pd originally only used ASCII mode and binary mode has been introduced later to avoid loss of precision. The ASCII mode has not been designed to help with debugging.
As Miller said, there is no real reason to ever use "-ascii". I don't think we need to document it at all.
Christof
On 28.03.2022 09:13, cyrille henry wrote:
Le 28/03/2022 à 08:26, cyrille henry a écrit :
Le 28/03/2022 à 05:15, Alexandre Torres Porres a écrit :
Em qui., 24 de mar. de 2022 Ã s 11:05, Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> escreveu:
   I think it's worth documenting it as a debuting tool, since that's what it's there for, as far as I can tell for Miller's response.
I tried the flag and I couldn't really see any difference... Miller also said "/one should always use the default, binary connection./" so I really don't know what to do here... if I could at least have seen the difference when I tried it...
you need a network analysing tool to see the difference. (I use wireshark)
oh, well no. It was to early in the morning! pd~ did not use a socket, so you can't see anything with wireshark. sorry cheers c
cheers c
but anyway, I can just go ahead and write exactly something you people think it's best, just tell me here what to say => https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pure-2Ddata_... <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pure-2Ddata_...
cheers
   On Mar 24, 2022, at 12:00 PM, pd-dev-request@lists.iem.at mailto:pd-dev-request@lists.iem.at wrote:
   Message: 2    Date: Wed, 23 Mar 2022 17:39:36 -0300    From: Alexandre Torres Porres <porres@gmail.com mailto:porres@gmail.com>    To: Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu>    Cc: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at>    Subject: Re: [PD-dev] pd 0.52-2 release plan    Message-ID: <CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com mailto:CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com>
   Content-Type: text/plain; charset="utf-8"
   Not sure it's worth documenting then... I should test and see it for myself    how it works so I actually get it.
   keeping it as a hidden feature for now.
   --------    Dan Wilcox    @danomatika <https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_danomatika&a... >    danomatika.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__danomatika.com&d=DwI... >    robotcowboy.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__robotcowboy.com&d=Dw... >
Pd-dev mailing list Pd-dev@lists.iem.at https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_lis...
Pd-dev mailing list Pd-dev@lists.iem.at https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_lis...
Pd-dev mailing list Pd-dev@lists.iem.at https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_lis...
Pd-dev mailing list Pd-dev@lists.iem.at https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_lis...
Good points! Just for fun, I tried to run the subprocess in the terminal with ASCII mode and indeed: I can type the input audio data + messages in the console and Pd will print the audio output :-)
On 28.03.2022 16:39, Miller Puckette wrote:
Actually I think it can still be used (for instance, fork the comms to a separate file and use a text editor to see what happened. Also, I use the subprocess in 'ascii' mode to show people how the synchronization works - it can be run in ascii mode right from the command line.
So still useful, at first for ease of debugging, but now primarily didactically.
cheers Miller
On Mon, Mar 28, 2022 at 11:20:23AM +0200, Christof Ressi wrote:
As others have said, Pd originally only used ASCII mode and binary mode has been introduced later to avoid loss of precision. The ASCII mode has not been designed to help with debugging.
As Miller said, there is no real reason to ever use "-ascii". I don't think we need to document it at all.
Christof
On 28.03.2022 09:13, cyrille henry wrote:
Le 28/03/2022 à 08:26, cyrille henry a écrit :
Le 28/03/2022 à 05:15, Alexandre Torres Porres a écrit :
Em qui., 24 de mar. de 2022 às 11:05, Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> escreveu:
I think it's worth documenting it as a debuting tool, since that's what it's there for, as far as I can tell for Miller's response.
I tried the flag and I couldn't really see any difference... Miller also said "/one should always use the default, binary connection./" so I really don't know what to do here... if I could at least have seen the difference when I tried it...
you need a network analysing tool to see the difference. (I use wireshark)
oh, well no. It was to early in the morning! pd~ did not use a socket, so you can't see anything with wireshark. sorry cheers c
cheers c
but anyway, I can just go ahead and write exactly something you people think it's best, just tell me here what to say => https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pure-2Ddata_... <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pure-2Ddata_... cheers
On Mar 24, 2022, at 12:00 PM, pd-dev-request@lists.iem.at mailto:pd-dev-request@lists.iem.at wrote:
Message: 2 Date: Wed, 23 Mar 2022 17:39:36 -0300 From: Alexandre Torres Porres <porres@gmail.com mailto:porres@gmail.com> To: Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu> Cc: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: Re: [PD-dev] pd 0.52-2 release plan Message-ID: <CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com mailto:CAEAsFmhxRSpD5pLg0TBjxH08Ugo1zw7LQV2jv=+1arDdBA0m5w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Not sure it's worth documenting then... I should test and see it for myself how it works so I actually get it.
keeping it as a hidden feature for now.
-------- Dan Wilcox @danomatika <https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_danomatika&a... > danomatika.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__danomatika.com&d=DwI... > robotcowboy.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__robotcowboy.com&d=Dw... >
Pd-dev mailing list Pd-dev@lists.iem.at https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_lis...
Pd-dev mailing list Pd-dev@lists.iem.at https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_lis...
Pd-dev mailing list Pd-dev@lists.iem.at https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_lis...
Pd-dev mailing list Pd-dev@lists.iem.at https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_lis...