Re: [PD-dev] [once] default closed...
On Sep 11, 2006, at 7:47 PM, Frank Barknecht wrote: Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote: I was thinking that it would be nice to have [once] accept a single argument which would set the initial state of the object, just like [spigot]. But this means that it would have to be default closed like spigot, breaking backwards compatibility. Do you mind if I make this change in abstractions/purepd/once.pd and add a warning message on load? I've never used [once] but to me it seems that breaking compatibility just for something that would be nice may do more harm than good to people who have actually used [once] and who now would need to find and change the patches where they did. Additionally I would find it confusing to have a [once] which would actually be more like a [nonce] unless called with an argument. I actually think that default closed would be more consistent behavior, especially if [once] uses an argument. Changing [once] to default-closed would make it exactly like [spigot], except with the added feature of closing itself after receiving one piece of data. The more objects behave consistently with each other, the better Pd will be. .hc As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin ___ PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
[PD-dev] [ pure-data-Patches-1551825 ] autoscrollbars
Patches item #1551825, was opened at 2006-09-04 04:17 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=478072aid=1551825group_id=55736 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: wishlist Status: Open Resolution: None Priority: 5 Submitted By: oskude (oskude) Assigned to: Nobody/Anonymous (nobody) Summary: autoscrollbars Initial Comment: autoscrollbars patch for pd cvs. dunno how good the code is, but it works :) -- Comment By: Hans-Christoph Steiner (eighthave) Date: 2006-09-13 15:26 Message: Logged In: YES user_id=27104 can you elaborate on what this patch does? -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=478072aid=1551825group_id=55736 ___ PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Re: [PD-dev] [once] default closed...
There are many objects that control flow. [spigot], [gate], etc. They take float arguments. Float arguments are initialized to 0. 0 means closed in Pd. [once] controls flow. It should take a float argument like [spigot] and [gate] so you can choose the default state. No argument implies an argument of 0. Therefore it makes sense that [once] would be default closed. If you want it to be default open, you can easily do [once 1]. This has worked well for [spigot], I think this will work well for [once]. If you doubt that [once] and [spigot] are related, then open up the once.pd and check what is controlling the flow of data. Low and behold, its [spigot]. .hc On Sep 13, 2006, at 12:31 PM, IOhannes m zmoelnig wrote: Hans-Christoph Steiner wrote: I actually think that default closed would be more consistent behavior, especially if [once] uses an argument. Changing [once] to i cannot follow you here: what makes [once] consistent if it was closed by default? while the object should be consistent to other objects (and i don't think it is inconsistent), it should be consistent to itself in the first place. (e.g.: making an empty object [Symbol] output 0 if you bang it (after instantiation without arguments), might be consistent to [f] and [t f], but somehow i have the feeling it should do symbols...;-)) default-closed would make it exactly like [spigot], except with the added feature of closing itself after receiving one piece of data. i follow frank here: if this object was exactly like [spigot] then you should use [spigot]. if there is a need for your suggested hybrid between [spigot] and [once], then this object should be, but with a different name. The more objects behave consistently with each other, the better Pd will be. but the more objects will behave as expected, the even better Pd will be. consistency is really a lot about how do i expect an object to behave imho, the biggest inconsistency for [once] is, that you can reset it at all. mfg.asdr IOhannes ___ PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith ___ PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev