<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>I like the idea of a puredis-loader object. &nbsp;It could either be blocking, and that's just a known thing to workaround, i.e. load the file at patch startup. &nbsp;That's a good place to start at least, then things like threading, background loading, etc. could be explored later.</div><div><br></div><div>.hc</div><br><div><div>On Jul 26, 2011, at 1:22 PM, Louis-Philippe wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I would probably do the asset loading from outside pd, most programming languages have a redis client library. &nbsp;For this kind of job Ruby, Python, Perl, Lua or even V8 could do it. &nbsp;I think this kind of script would be trivial to implement.<div> <br></div><div>Something could also be achieved from within Redis with Lua, using the soon to be stable "Scripting Branch"&nbsp;<a href="http://antirez.com/post/an-update-on-redis-and-lua.html">http://antirez.com/post/an-update-on-redis-and-lua.html</a></div> <div><a href="http://antirez.com/post/an-update-on-redis-and-lua.html"></a>But as the Scripting Engine blocks Redis, I would not do anything to heavy in there, still it would probably be fast and convenient.</div><div><br> </div><div>Also, having the pdlua external loading stuff in redis from inside of PD could also be an option to consider.</div><div><br></div><div>I'm sure these suggestions trigger more implementations ideas for the experienced pd users.</div> <div><br></div><div>Having a puredis-asset loader object as part of the puredis library could also be a possibility, given a CSV, SQL or JSON file path, the object could make sure redis is preset the right way.</div><div> <br></div><div>what do you think?<br><br><div class="gmail_quote">2011/7/26 Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <div style="word-wrap:break-word"><div><br></div><div>How would you dump large data sets into redis? &nbsp;That's what I would likely use it for: taking data from CSV or SQL files and then using it within Pd.</div><div><br> </div><div>.hc</div><br><div><div class="im"><div>On Jul 26, 2011, at 9:37 AM, Louis-Philippe wrote:</div><br></div><div><div></div><div class="h5"><blockquote type="cite">Thanks for the cue about the Library template, I will look into it and will probably integrate it.<div> <br></div><div>About Puredis intended usage... &nbsp;for my part I have in mind to integrate pd in a larger system using Redis as my data's &nbsp;rosetta stone. &nbsp;For Queue systems, Data Persistence, Pub/Sub IPC... &nbsp;I got used to the way you can manipulate large data sets inside Redis and tought it would match nicely with pd, and after implementating it I am even more excited about its potential.&nbsp;</div> <div><div><br></div><div>L-P</div><div><br><div class="gmail_quote">2011/7/25 Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div style="word-wrap:break-word"><div><br></div><div>That's a great manifesto, sounds like an interesting object. &nbsp;Something like [pool] but with more options. &nbsp;What do you have in mind to use it for?</div><div><br> </div> <div>On the exciting topic of build systems, I recommend using the Library Template for this. &nbsp;It'll save you the headache of making a build system for GNU/Linux, Windows, etc.</div><div><br></div><div><a href="http://puredata.info/docs/developer/LibraryTemplate" target="_blank">http://puredata.info/docs/developer/LibraryTemplate</a></div> <div><br></div><div>.hc</div><div><div><div><div><br></div></div></div></div></div></blockquote></div></div></div></blockquote></div></div></div><br><div> <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;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-size:12px"><div> <br>----------------------------------------------------------------------------<br></div></span><div><br></div><div>"A cellphone to me is just an opportunity to be irritated wherever you are." - Linus Torvalds</div> </span> </div><br></div></blockquote></div><br></div></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br style="font-family: Tahoma; "></div><div>----------------------------------------------------------------------------<br style="font-family: Tahoma; "></div><div><br class="khtml-block-placeholder"></div><div>Man has survived hitherto because he was too ignorant to know how to realize his wishes.&nbsp;&nbsp;Now that he can realize them, he must either change them, or perish. &nbsp; &nbsp;-William Carlos Williams</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>