<div class="gmail_quote">2011/7/6 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">


On Wed, 06 Jul 2011 15:32 +0200, &quot;András Murányi&quot; &lt;<a href="mailto:muranyia@gmail.com" target="_blank">muranyia@gmail.com</a>&gt;<br>
wrote:<br>
&gt; 2011/7/3 Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; On Jul 3, 2011, at 10:04 AM, András Murányi wrote:<br>
&gt; &gt;<br>
&gt; &gt; On Sat, Jul 2, 2011 at 20:41, Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I just finished a big, long-overdue reorg of the<br>
&gt; &gt;&gt; <a href="http://puredata.info/docs/**developer" target="_blank">http://puredata.info/docs/**developer</a>&lt;<a href="http://puredata.info/docs/developer" target="_blank">http://puredata.info/docs/developer</a>&gt;section of the website.<br>



&gt; &gt;&gt;<br>
&gt; &gt;&gt;  * Its now a &quot;wiki folder&quot; so it acts like a regular wiki, not like a<br>
&gt; &gt;&gt; weird plone mix of things.  It also allows email subscripts to wiki pages.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;  * I purged old pages and redirected them to the new versions<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;  * I cleaned up the formatting on the front page<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;  * I updated references to CVS, etc.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;  * I purged a couple very out-of-date things<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Let me know what you think, and please contribute where you can! :-D<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; .hc<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt; IMHO the whole GUI Plugins stuff could go under Developer.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; One goal for me is to make it easy enough for all Pd users to write their<br>
&gt; &gt; own GUI plugins.  Honestly, I think we can make GUI plugins replace the idea<br>
&gt; &gt; of preferences.  A simple set of preferences is very easy to understand.<br>
&gt; &gt;  But many people find a simple set limiting, so you see many programs<br>
&gt; &gt; implementing huge preferences systems that mystify most users (think<br>
&gt; &gt; Photoshop, MS Office, OpenOffice, etc.)  I think with a well designed<br>
&gt; &gt; scripting/plugin system, it would work better than preferences.<br>
&gt; &gt;<br>
&gt; &gt; .hc<br>
&gt; &gt;<br>
&gt;<br>
&gt; Understood. However, I think plugins can never replace preferences as<br>
&gt; they<br>
&gt; are two different things. Plugins need to save their data somewhere too,<br>
&gt; and<br>
&gt; that somewhere is the preferences. If the file format of preferences was<br>
&gt; something programmatic (ie. not &quot;loadlib9: moonlib&quot; but &quot;variable<br>
&gt; loadlib9<br>
&gt; &#39;moonlib&#39;&quot; or something like that) there would be more change for a<br>
&gt; convergence, but at the same time the format would be less easy to<br>
&gt; parse/write/etc. So at the end, preferences are data, and plugins are<br>
&gt; programs, and that&#39;s how it&#39;s good.<br>
&gt; But, I understand and agree that you want to bring plugins closer to the<br>
&gt; users and that that&#39;s why plugin docs won&#39;t go under developer docs.<br>
&gt;<br>
&gt; Andras<br>
<br>
In the context of a programming environment, I don&#39;t see a lot of reason<br>
to have a separate preferences system.  Things like configuring the<br>
audio and MIDI interface are usually best handled in the patch, and that<br>
should be as easy as possible.  IOhannes has made big progress there<br>
with the &#39;mediasettings&#39; library.  Things like loading libraries should<br>
definitely be done in the patch and not globally.  Just look at python,<br>
ruby, java, C++, C, etc. etc. etc for examples there.<br>
<br>
What I&#39;d like to see is a standard Pd patch that is loaded in the place<br>
of preferences.  Then you could configure your Pd setup using a Pd<br>
patch.  Any Pd user is going to know how to make a patch, so if you can<br>
configure Pd with a Pd patch, then you don&#39;t need to learn any new<br>
preferences file format or system.<br>
<font color="#888888"><br>
hc<br>
</font></blockquote></div><br>OK, sounds good. But let&#39;s just remember the use case when we want pd to remember which plugins to load and which not. As plugins load before any patch, and they couldn&#39;t really be enabled/disabled per patch, their preferences will have to be stored somewhere else. We agreed before that the &quot;/disabled&quot; folders method is no good, and that we (probably me) will code up a logic which stores this in preferences (via ::pd_guiprefs). I&#39;m interested in further brainstorming but right now I feel that good old preferences is something we&#39;ll have to live with for a longer time. We&#39;ll have to make a distinction between global stuff (plugins, global prefs) and those things which are better handled per patch, from inside patches.<br>


<br>Andras<br>