Ok,
I came up with a generic csv loader for Redis datatypes.
it is plugged into the [puredis] object with the csv method, it receives a
filepath and a datatype.
Making it possible to build Strings, Lists, Hashes, Sets ans SortedSets from
csv files.
I updates the pd-help files to match a well as
Thanks for the cue about the Library template, I will look into it and will
probably integrate it.
About Puredis intended usage... for my part I have in mind to integrate pd
in a larger system using Redis as my data's rosetta stone. For Queue
systems, Data Persistence, Pub/Sub IPC... I got
I would probably do the asset loading from outside pd, most programming
languages have a redis client library. For this kind of job Ruby, Python,
Perl, Lua or even V8 could do it. I think this kind of script would be
trivial to implement.
Something could also be achieved from within Redis with
I like the idea of a puredis-loader object. It could either be
blocking, and that's just a known thing to workaround, i.e. load the
file at patch startup. That's a good place to start at least, then
things like threading, background loading, etc. could be explored later.
.hc
On Jul
before jumping on the puredis-loader implementation, here is how I see the
specs, please tell me if I get what you think:
___
Strings:
string.csv:
KEY, VALUE
key1, value1
key2, value2
[lpuredis string string.csv]
- creates a String for each line
Where I could see it used it with large data sets like I did in this
project:
http://at.or.at/hans/terrenatale/
The data is used to generate the large scale events like the dropping
of coins for each country, the layout of static representing
population, etc. I suppose that I would need
Hi Pure Data Peoples,
I'm still quite new to the Pure Data world, so please be indulgent to my
first hacked external offering: puredis.
Any of you heard of Redis? http://antirez.com/post/redis-manifesto.html
for those of you who have not, it is:
- NoSQL Key-Value Server
- Fast
- A DSL for
On Mon, Jul 25, 2011 at 09:27:39AM -0400, Louis-Philippe wrote:
I'm still quite new to the Pure Data world, so please be indulgent to my
first hacked external offering: puredis.
Any of you heard of Redis? http://antirez.com/post/redis-manifesto.html
Hi,
Very cool, thanks for sharing!
Chris.
That's a great manifesto, sounds like an interesting object.
Something like [pool] but with more options. What do you have in mind
to use it for?
On the exciting topic of build systems, I recommend using the Library
Template for this. It'll save you the headache of making a build