atom feed24 messages in at.iem.pd-listRe: [PD] benevolent dictator?
FromSent OnAttachments
Martin .Jul 12, 2010 3:23 pm 
Hans-Christoph SteinerJul 12, 2010 3:47 pm 
cyrille henryJul 12, 2010 3:56 pm.zip
Mathieu BouchardJul 12, 2010 5:33 pm 
Martin .Jul 12, 2010 6:01 pm 
cyrille henryJul 13, 2010 12:41 am 
cyrille henryJul 13, 2010 12:46 am 
Roman HaefeliJul 13, 2010 1:44 am 
Roman HaefeliJul 13, 2010 2:47 am 
Frank BarknechtJul 13, 2010 3:26 am 
Roman HaefeliJul 13, 2010 3:42 am 
Frank BarknechtJul 13, 2010 4:18 am.tgz
Mathieu BouchardJul 13, 2010 8:06 am 
Roman HaefeliJul 13, 2010 9:09 am 
Hans-Christoph SteinerJul 13, 2010 9:59 am 
Roman HaefeliJul 13, 2010 3:26 pm 
Frank BarknechtJul 13, 2010 11:31 pm 
Bryan JurishJul 14, 2010 12:30 am 
Roman HaefeliJul 14, 2010 1:21 am 
Roman HaefeliJul 14, 2010 8:45 am 
Mathieu BouchardJul 14, 2010 9:49 am 
IOhannes m zmoelnigJul 14, 2010 10:05 am 
Mathieu BouchardJul 15, 2010 8:53 am 
Hans-Christoph SteinerJul 15, 2010 9:05 am 
Subject:Re: [PD] benevolent dictator?
From:Roman Haefeli (redu@yahoo.de)
Date:Jul 14, 2010 8:45:56 am
List:at.iem.pd-list

On Wed, 2010-07-14 at 09:30 +0200, Bryan Jurish wrote:

morning all,

My technique (read: "hack") for auto-loading libraries in vanilla has been just to instantiate an object [foo] in order to load the library foo.pd_linux. This causes error messages for some libraries (notably xsample, which I use a lot), but works well with the vanilla loader. I guess we can't dictate that every library xyz.pd_linux register a class 'xyz', but that's the simplest way I've found of loading libs. Of course, you can't declare inter-library dependencies this way (that I know of), but it's a start...

I don't see how this is an advantage over using an error-free [declare -stdlib extra/foo] (as I mentioned in my previous mail: this works from everywhere). Also, your way does not work for expanding pathes. Or how are you going to make [list-abs/list-add] available as [list-add]?

Roman

On 2010-07-13 12:26:42, Frank Barknecht <fb@footils.org> appears to have written:

Hi,

On Tue, Jul 13, 2010 at 11:48:18AM +0200, Roman Haefeli wrote:

Personally, I'd prefer to not auto-load anything at all, which would also encourage a nice patching style with explicitly loading the required libraries. I'd be interested to hear what others think about the matter.

I would love a proper way for Pd vanilla/core to load libraries into abstractions. I know of [import] but most of my abstraction libraries target vanilla installs, too, so I cannot use it. And [declare] currently is designed for top-level _main.pd-style patches only, so there's no way to really preload list-abs in RTC-lib-abstractions for example.

If this issue is solved, the problem of autoloading becomes almost moot. Well, there still are some issues like the sad omission of "sssad" in Pd-extended which is not shipped at all but such things are comparatively trivial to fix.

Ciao