<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">No, I'm talking about sending a list or typed message with libpd as in:<div><br></div><div>[list 1 2 3 4 ... 32 &lt;</div><div>|</div><div>[s toC++]</div><div><br></div><div>The print messaging isn't limited as far as I know.</div><div><br></div><div>I think it's reasonable to limit the message size, but 32 may be too small for some. It would make sense for libpd to have a call that would allow users to set the max message size, akin to how you can set the max packet size on sockets etc</div><div><br></div><div>32 is fine for most people, but there are uses for more ...</div><div><br></div><div>Also, I imagine you don't have this limitation using the new *t_atom sending func. Is this true Peter?</div><div><br><div><div>On Aug 29, 2011, at 1:15 AM, Jonathan Wilkes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br><br><br><br>----- Original Message -----<br><blockquote type="cite">From: Mathieu Bouchard &lt;<a href="mailto:matju@artengine.ca">matju@artengine.ca</a>&gt;<br></blockquote><blockquote type="cite">To: Dan Wilcox &lt;<a href="mailto:danomatika@gmail.com">danomatika@gmail.com</a>&gt;<br></blockquote><blockquote type="cite">Cc: PD List &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;<br></blockquote><blockquote type="cite">Sent: Monday, August 29, 2011 12:54 AM<br></blockquote><blockquote type="cite">Subject: Re: [PD] sending image from of / libpd<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Mon, 29 Aug 2011, Dan Wilcox wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"> I was talking about sending a large list through libpd which, I assume, is <br></blockquote></blockquote><blockquote type="cite">doing some sort of copying of floats as it translates from the libpd api to the <br></blockquote><blockquote type="cite">internal pd api.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Oh, yeah... if you use z_libpd.h, it copies the floats, whereas with m_pd.h, you <br></blockquote><blockquote type="cite">have the option to have your data as atoms in the first place, so that they <br></blockquote><blockquote type="cite">don't have to be copied.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"> Besides, isn't there some sort of limit on the length of lists or does <br></blockquote></blockquote><blockquote type="cite">libpd handle this for you?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">With z_libpd.h, you have an artificial limit of 32 atoms per message<br></blockquote><br>I must be misunderstanding what you've written, because it would break<br>trivial patches:<br><br>[osc~ 440]<br>|<br>| [bang(<br>|/<br>[print~]<br><br><blockquote type="cite">whereas <br></blockquote><blockquote type="cite">with m_pd.h, there's no formal limit&nbsp;; in practice the OS will limit you to <br></blockquote><blockquote type="cite">something like 1000000 atoms on the stack at once, for example. On 32-bit Linux, <br></blockquote><blockquote type="cite">the limit can be as high as 8000000 atoms (64 megs) but I don't remember <br></blockquote><blockquote type="cite">what the default limits are.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________________________________<br></blockquote><blockquote type="cite">| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite"><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br></blockquote><blockquote type="cite">UNSUBSCRIBE and account-management -&gt; <br></blockquote><blockquote type="cite"><a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote><blockquote type="cite"><br></blockquote></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--------</div><div>Dan Wilcox</div><div><a href="http://danomatika.com">danomatika.com</a></div><div><a href="http://robotcowboy.com">robotcowboy.com</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>