<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
Sounds like a good complication :). I think a general array toolkit
would be very useful. I'm not a fan of expanding the use of Tcl
syntax in Pd tho (i.e. commands with subcommands).<br>
<br>
Pd syntax is nice and simple with always the first word being the
command and the rest being the args. [list ...] is the only except
to this that I can think of, and certainly the only exception
included in pd-vanilla.<br>
<br>
How about just naming them like [tabsize], [tabfoo], etc since there
already are lots of [tab...] objects. Or anything to minimize the
confusion between the 'array', 'table', and 'tab*' objects. Since
there is [table] and [tab*], the menu item Put -> Array could be
renamed to "Put visual table (array)" or something like that, then
the word table/tab would be pretty consistent throughout Pd.<br>
<br>
It may seem trivial, but I've spent a lot of time explaining why the
objects for reading arrays all start with 'tab'.<br>
<br>
.hc<br>
<br>
On 09/27/2012 03:59 PM, Miller Puckette wrote:<br>
<span style="white-space: pre;">> Sorry to further complicate
this -<br>
><br>
> I'm now trying to design a multipurpose object "array" for pd<br>
> vanilla that would allow one to say [array size] and use
"table" or<br>
> "data structure" arrays intercahngeably.<br>
><br>
> I think though, that rather than marking arraysize as
"obsolete" one<br>
> could simply note that it has an equivalent available in Pd
vanilla -<br>
> that need carry no value judgement as to whether people
should be using<br>
> vanilla or extended.<br>
><br>
> cheers<br>
> M<br>
><br>
> On Thu, Sep 27, 2012 at 12:23:35PM -0700, Jonathan Wilkes
wrote:<br>
>>> ________________________________<br>
>>> From: Hans-Christoph Steiner <a class="moz-txt-link-rfc2396E" href="mailto:hans@at.or.at"><hans@at.or.at></a><br>
>>> To: Jonathan Wilkes <a class="moz-txt-link-rfc2396E" href="mailto:jancsika@yahoo.com"><jancsika@yahoo.com></a> <br>
>>> Cc: <a class="moz-txt-link-rfc2396E" href="mailto:pd-list@iem.at">"pd-list@iem.at"</a> <a class="moz-txt-link-rfc2396E" href="mailto:pd-list@iem.at"><pd-list@iem.at></a> <br>
>>> Sent: Thursday, September 27, 2012 3:03 PM<br>
>>> Subject: arraysize WAS apt.puredata.info is back!<br>
>>><br>
>>><br>
>>><br>
> If someone wants to write patches that work on vanilla
anywhere,<br>
> >> then there is a point.<br>
> >><br>
> >> _Everybody_ wants to write patches that work on
vanilla everywhere.<br>
> >><br>
> >> When we can't we try to figure out a course of
action, but when we<br>
> >> can (without employing wild hacks) we should.<br>
> >><br>
> >><br>
> If people are already using Pd-extended or<br>
> >> Debian then I honestly don't see the point,
arraysize is already<br>
> >> there, like many other externals.<br>
> >><br>
> >> It's like you wrote above. People _do_ want patches
to be as cross-platform<br>
> >> as possible. (Not if.)<br>
> >><br>
> >><br>
><br>
> For me, apt-get install pd-arraysize is far easier than
trying to<br>
> >> remember that [expr] trick. And thankfully we can
write externals,<br>
> >> so we can have choice. :-)<br>
> >><br>
> >> If it were a wild hack I'd agree, but it's not. It
is a standard operator for<br>
> >> [expr] that's been there for ages and is clearly
documented.<br>
> >><br>
> >> And who is this mythical user that looks to the
Debian repositories<br>
> >> to figure out how to do something in a programming
language?<br>
> >> (Hm, I'm not getting audio output, let's open up
Synaptic and search<br>
> >> 20,000 mostly non-related packages for a
solution...)<br>
> >><br>
> >> -Jonathan<br>
> >><br>
> >><br>
><br>
> .hc<br>
><br>
> On 09/27/2012 03:00 PM, Jonathan Wilkes wrote:<br>
> >>>> That feature comes at the expense of
compatibility, which<br>
> >>>> normally wouldn't be an issue _except_ that
Pd<br>
> >>>> Vanilla already has the same functionality.
So let's<br>
> >> encourage<br>
> >>>> use of the more compatible way using [expr],
which is<br>
> >>>> clearly documented and supports the _exact_
same features<br>
> >>>> as arraysize.<br>
> >>>><br>
> >>>> -Jonathan<br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>>> ________________________________<br>
> >>>>> From: Hans-Christoph Steiner
<a class="moz-txt-link-rfc2396E" href="mailto:hans@at.or.at"><hans@at.or.at></a><br>
> >>>>> To: <a class="moz-txt-link-abbreviated" href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>
> >>>>> Sent: Thursday, September 27, 2012 2:24
PM<br>
> >>>>> Subject: Re: [PD] [PD-announce]
apt.puredata.info is<br>
> >> back!<br>
> >>>>><br>
> >>>>><br>
> >>>>><br>
> >>>><br>
> >>>> IMHO, arraysize is very useful because it
has a memorable<br>
> >> name. "I<br>
> >>>>> need to find the size of an array... oh,
[arraysize]".<br>
> >>>><br>
> >>>> .hc<br>
> >>>><br>
> >>>> On 09/27/2012 02:13 PM, Jonathan Wilkes
wrote:<br>
> >>>>>>> Please change the description
for the package<br>
> >>>>>>> "pd-arraysize"<br>
> >>>>>>><br>
> >>>>>>> "This object is deprecated. Use
[expr<br>
> >> size("array-name")]<br>
> >>>>>>> which works out of the box for
Pd Extended, Pd<br>
> >> Vanilla,<br>
> >>>>>>> and Pd-l2ork."<br>
> >>>>>>><br>
> >>>>>>> -Jonathan<br>
> >>>>>>><br>
> >>>>>>><br>
> >>>>>>><br>
> >>>>>>> ----- Original Message -----<br>
> >>>>>>>> From: IOhannes m zmoelnig
<a class="moz-txt-link-rfc2396E" href="mailto:zmoelnig@iem.at"><zmoelnig@iem.at></a><br>
> >>>>>>>> To: <a class="moz-txt-link-abbreviated" href="mailto:pd-announce@iem.at">pd-announce@iem.at</a><br>
> >>>>>>>> Cc:<br>
> >>>>>>>> Sent: Thursday, September
27, 2012 9:13 AM<br>
> >>>>>>>> Subject: [PD] [PD-announce]<br>
> >> apt.puredata.info is back!<br>
> >>>>>>>><br>
> >>>>>>> last night hans and me finally
setup a<br>
> >> replacement machine<br>
> >>>>> for<br>
> >>>>>>> apt.puredata.info[1], the
ultimate source for<br>
> >> Pd-extended on<br>
> >>>>>>> Debian-based systems (Debian,
Ubuntu, Li<br>
> >>>>>>> fgmasdfnux/Mint,...)[2].<br>
> >>>>>>><br>
> >>>>>>> it is now hosted on the
puredata.info<br>
> >> portal/mailinglist<br>
> >>>>> server,<br>
> >>>>>>> courtesy of iem.<br>
> >>>>>>><br>
> >>>>>>> fgmasdf<br>
> >>>>>>> IOhannes<br>
> >>>>>>><br>
> >>>>>>><br>
> >>>>>>><br>
> >>>>>>> [1] <a class="moz-txt-link-freetext" href="http://apt.puredata.info/">http://apt.puredata.info/</a><br>
> >>>>>>> [2]
<a class="moz-txt-link-freetext" href="http://puredata.info/docs/faq/debian">http://puredata.info/docs/faq/debian</a><br>
> >>>>>>>><br>
> >>>>>>>><br>
> >>>>>>>><br>
> >> _______________________________________________<br>
> >>>>>>>> Pd-announce mailing list<br>
> >>>>>>>> <a class="moz-txt-link-abbreviated" href="mailto:Pd-announce@iem.at">Pd-announce@iem.at</a><br>
> >>>>>>>>
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-announce">http://lists.puredata.info/listinfo/pd-announce</a><br>
> >>>>>>>><br>
> >>>>>>>><br>
> >> _______________________________________________<br>
> >>>>>>>> <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> >>>>>>>> UNSUBSCRIBE and
account-management -><br>
> >>>>>>>>
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>
> >>>>>>>><br>
> >>>>>>><br>
> >>>>>>>
_______________________________________________<br>
> >>>>>>> <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> >>>>>>> UNSUBSCRIBE and
account-management ->
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>
> >>>><br>
> >>>>><br>
> >>>>><br>
> >>>>>
_______________________________________________<br>
> >>>>> <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> >>>>> UNSUBSCRIBE and account-management ->
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>
> >>>>><br>
> >>>>><br>
> >>>>><br>
><br>
>>><br>
>>><br>
>>><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
>> UNSUBSCRIBE and account-management ->
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></span><br>
<br>
<br>
</body>
</html>