<div dir="ltr">bugs can't be reported yet<div><br></div><div><br></div><h2 class="" style="margin:25px 0px 20px;padding:0px;border:0px;outline:0px;font-size:18px;vertical-align:baseline;font-weight:normal;font-family:Ubuntu,sans-serif;line-height:36px;width:540px;height:150px;color:rgb(85,85,85);text-align:center;background-image:initial;background-repeat:initial">SourceForge developer pages are presently offline.<br>See our Twitter feed for more information.</h2></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-19 15:46 GMT-03:00 Alexandre Torres Porres <span dir="ltr"><<a href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hi, what is so hard about initializing the object with a table? The [cycle~] object does that really well, for example.<div><br></div><div>And I don't see how it wouldn't work if the table had its contents saved, for example...</div><div><br></div><div>attached there's a patch using cycle, the table is initialized in the patch with a loadbang, and it still works - remembering that whenever changes are made in the table, cycle needs to be reset so it loads the table back.</div><div><br></div><div>cheers </div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-07-19 15:40 GMT-03:00 Fred Jan Kraan <span dir="ltr"><<a href="mailto:fjkraan@xs4all.nl" target="_blank">fjkraan@xs4all.nl</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span>On 2015-07-19 07:46 PM, IOhannes m zmölnig wrote:<br>
> On 07/19/2015 10:52 AM, Fred Jan Kraan wrote:<br>
>><br>
>> Some time ago I ran into probably the same issue; how to load an<br>
>> array/table at load time, while said array/table is not guaranteed to<br>
>> have loaded yet. From within an object there is nothing like a loadbang<br>
>> AFAIK. I ended up setting a timer for one second (clock_new()) and load<br>
>> the array/timer when it finishes.<br>
><br>
> hmm, i wouldn't recommend that.<br>
> having an external initialize itself after some arbitrary time is prone<br>
> to hard-to-find errors. most likely the user doesn't know that something<br>
> special is happening after 1000ms.<br>
> they also might schedule their own initialization to happen "long enough<br>
> after startup" (e.g. 1000ms), which will then somehow conflict.<br>
<br>
</span>I consider it a hack, not a proper solution. I mentioned it hoping to<br>
get some clue on how to fix it properly here ;-).<br>
<span>><br>
> if you cannot use the table "as is" (and in [partconv~] you cannot), i<br>
> think the object should use an (internal) loadbang for initialization.<br>
> if the table is not ready at that time, the user should do a proper<br>
> initialization on the patch side (after all, they are the only ones who<br>
> can know when all required initialisation has taken place - and they can<br>
> only know if the object don't break the process by doing it "somewhat<br>
> later".<br>
<br>
</span>"internal loadbang" sounds about right. I will try to find out how<br>
[loadbang] does its magic.<br>
If it cannot be made to work, the table name probably shouldn't be an<br>
argument to partconv~.<br>
<span>><br>
><br>
>> But the good news is that just preventing partconv~ to crash shouldn't<br>
>> be too difficult.<br>
><br>
> cool, and should be fixed.<br>
<br>
</span>There is already a patch ready for this that seems to work and doesn't<br>
look too ugly.<br>
><br>
> gfmdsar<br>
> IOhannes<br>
<br>
Greetings,<br>
<br>
Fred Jan<br>
</div></div><div><div>><br>
><br>
><br>
><br>
> _______________________________________________<span class=""><br>
> <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
<br>
_______________________________________________<br>
</span><a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></div>