Re: [PD] your favorite key:value data structure?

2017-07-19 Thread Dan Wilcox
Wow. Nice! Do you mind if I repackage it in the rc-patches? I usually pull together useful things posted to this list... > On Jul 19, 2017, at 8:56 PM, pd-list-requ...@lists.iem.at wrote: > > From: oliver <oli...@klingt.org <mailto:oli...@klingt.org>> > Subject: Re: [PD]

Re: [PD] your favorite key:value data structure?

2017-07-19 Thread oliver
Dan Wilcox wrote: Wow. Nice! Do you mind if I repackage it in the rc-patches? I usually pull together useful things posted to this list... of course, you're welcome ! what's still missing is an "insert" method. miller announced a native [text insert] for the new PD release (that i didn't

Re: [PD] your favorite key:value data structure?

2017-07-19 Thread Jonathan Wilkes via Pd-list
> By default, "search" matches only lines whose first field(s) match the search key(s).  OTOH, if you have a duplicate key and want to find anything besides the first occurence of the key it will be tricky. Could also just reimplement dogensym in Pd. :) -Jonathan > cheers > Miller #N

Re: [PD] your favorite key:value data structure?

2017-07-19 Thread Dan Wilcox
See also [m_symbolarray] in rjlib > On Jul 19, 2017, at 7:38 AM, pd-list-requ...@lists.iem.at wrote: > > From: Ali Momeni <batc...@gmail.com <mailto:batc...@gmail.com>> > Subject: Re: [PD] your favorite key:value data structure? > Date: July 19, 2017 at 12:06:27 AM G

Re: [PD] your favorite key:value data structure?

2017-07-18 Thread Ali Momeni
Thanks for clarifying Alexandre. I would like a pure Vanilla solution because I need to run my application on a raspberry pi, an iOS device, and Android, and in the browser. I'll make do with the 'text' object for now unless there is an obvious alternative (or a way to use 'struct' with 'keys').

Re: [PD] your favorite key:value data structure?

2017-07-18 Thread Alexandre Torres Porres
2017-07-18 17:45 GMT-03:00 Ali Momeni : > > My understanding is that 'coll' is NOT a part of vanilla, but rather a > part of 'cyclone', not maintained by Miller. Since I'm looking for a pure > Vanilla solution, this is not a good choice. right? > Yep, [coll] is an external

Re: [PD] your favorite key:value data structure?

2017-07-18 Thread Ali Momeni
Thanks everyone, this is all very helpful. "text": Great. Can use search, works fine. "coll": My understanding is that 'coll' is NOT a part of vanilla, but rather a part of 'cyclone', not maintained by Miller. Since I'm looking for a pure Vanilla solution, this is not a good choice. right?

Re: [PD] your favorite key:value data structure?

2017-07-18 Thread Alexandre Torres Porres
that > duplicate that same key. > > -Jonathan > > > -ali > > > > On Tue, Jul 18, 2017 at 1:16 PM, Jonathan Wilkes <jancs...@yahoo.com> > wrote: > > Variable number of keys of arbitrarily typed values, or > set number of keys with set value types? > >

Re: [PD] your favorite key:value data structure?

2017-07-18 Thread Miller Puckette
> > My suggestion would be to start with the more expressive vanilla object-- > [text]-- and see > if it fulfills your needs. Keep in mind though that it is at core not a > key/value store but instead > a 2-dimensional array of atoms. E.g., you can decide that the first item in > each line

Re: [PD] your favorite key:value data structure?

2017-07-18 Thread Jonathan Wilkes via Pd-list
athan Wilkes <jancs...@yahoo.com> wrote: Variable number of keys of arbitrarily typed values, or set number of keys with set value types? -Jonathan From: Ali Momeni <batc...@gmail.com> To: Pd-List <pd-list@lists.iem.at> Sent: Tuesday, July 18, 2017 1:09 PM Subj

Re: [PD] your favorite key:value data structure?

2017-07-18 Thread Miller Puckette
gt; > > > -- > > *From:* Ali Momeni <batc...@gmail.com> > > *To:* Pd-List <pd-list@lists.iem.at> > > *Sent:* Tuesday, July 18, 2017 1:09 PM > > *Subject:* [PD] your favorite key:value data structure? > > > > Hello al

Re: [PD] your favorite key:value data structure?

2017-07-18 Thread Ali Momeni
-- > *From:* Ali Momeni <batc...@gmail.com> > *To:* Pd-List <pd-list@lists.iem.at> > *Sent:* Tuesday, July 18, 2017 1:09 PM > *Subject:* [PD] your favorite key:value data structure? > > Hello all, > > I'm looking for something analogous t

Re: [PD] your favorite key:value data structure?

2017-07-18 Thread Jonathan Wilkes via Pd-list
Variable number of keys of arbitrarily typed values, or set number of keys with set value types? -Jonathan From: Ali Momeni <batc...@gmail.com> To: Pd-List <pd-list@lists.iem.at> Sent: Tuesday, July 18, 2017 1:09 PM Subject: [PD] your favorite key:value data structure?

[PD] your favorite key:value data structure?

2017-07-18 Thread Ali Momeni
Hello all, I'm looking for something analogous to the Max "coll" object, or a python dictionary, or anything with key value pairs. I'm aware of the 'cyclone' and its 'coll' object. i'm wondering if there is a pd-vanilla friendly alternative to this 3rd party external. any hints? thanks in