Bugs item #2806856, was opened at 2009-06-15 22:30 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2806856...
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: None Status: Pending Resolution: None Priority: 5 Private: No Submitted By: Johannes (jpburstrom) Assigned to: Nobody/Anonymous (nobody) Summary: Possible to connect the same in/outlets multiple times
Initial Comment: When connecting objects through dynamic patching, pd can connect an outlet several times to the same inlet if sending the same message many times. The attached patch shows this behaviour, and why it can lead to strange and hard to find bugs.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2009-06-16 14:37
Message: zmoelnig, whenever you do anything with pd, you must know what you're doing, and it's also easily possible to keep track of multiple connections if the editor allowed them, by using comment (ctrl-5) or a piece of napkin.
As a hypothetical question, if canvas_connect disallowed multiple connections, would you really request a multiple connection feature?
see also the article "Real Programmers Don't Use Pascal"...
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2009-06-16 14:29
Message: First, the Pd language as its defined has no way to handle multiple connections from the same outlet to the same inlet. The implementation might. The second question then is, is there ever a reason that duplicate connections would be used? They seem to add nothing but confusion. I don't consider confusion a feature.
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2009-06-16 14:13
Message: i would argue that it is a feature. when programmatically creating patches, you really MUST know what you are doing. it is easily possible to keep track of which connections you have done already, so you don't need to double-connect...
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2009-06-15 23:21
Message: this happens in canvas_connect in src/g_editor.c and happens in _all_ versions of pd ever, all OSes, etc. it is officially undocumented, so you can't tell whether it's a bug or a feature, and you can reasonably argue for either.
----------------------------------------------------------------------
Comment By: Johannes (jpburstrom) Date: 2009-06-15 23:10
Message: Sorry, here's some more:
This is a problem with both pd-0.41.4-extended and pd-0.42.5, on my 64-bit ubuntu 9.04. It seems to happen regardless of sound card and audio API.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2009-06-15 23:03
Message: Please provide as detailed information as possible including which operating system (OS), CPU type, specific hardware, and the exact distro and version of Pd itself, etc.
For example:
Pd version 0.41.4-extended Mac OS X 10.5.7/Intel built-in sound
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2806856...