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 mailto:oli...@klingt.org>> > Subject: Re: [PD] your favorite key:va

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 dare

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 s

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 mailto:batc...@gmail.com>> > Subject: Re: [PD] your favorite key:value data structure? > Date: July 19, 2017 at 12:06:27 AM GMT+2 > To: Alexandre

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

2017-07-18 Thread Peter Nyboer
Maybe PuRestJson fits the bill? I checked this out a while ago on CHIP using vanilla. I had some issues that were eventually fixed, but I ended up doing the bulk of the work in python then passing some control data over to PD via OSC. I was using it to load data from EchoNest into a PD patch. B

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 from cyclone, not par

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? "s

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

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

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 is

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

2017-07-18 Thread Jonathan Wilkes via Pd-list
18, 2017 at 1:16 PM, Jonathan Wilkes wrote: Variable number of keys of arbitrarily typed values, or set number of keys with set value types? -Jonathan From: Ali Momeni To: Pd-List Sent: Tuesday, July 18, 2017 1:09 PM Subject: [PD] your favorite key:value data structure? Hello all, I

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

2017-07-18 Thread Miller Puckette
> ---------- > > *From:* Ali Momeni > > *To:* Pd-List > > *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 Ali Momeni
- > *From:* Ali Momeni > *To:* Pd-List > *Sent:* Tuesday, July 18, 2017 1:09 PM > *Subject:* [PD] your favorite key:value data structure? > > Hello all, > > I'm looking for something analogous to the Max "coll" object, or a python > dictionary, or

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 To: Pd-List Sent: Tuesday, July 18, 2017 1:09 PM Subject: [PD] your favorite key:value data structure? Hello all, I'm looking for something analogo

[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 adva