Hello list,
I need to distribute a patch, which has to be programmed in Pd Vanilla but
with some external libraries. Since the patch will be downloaded by
unexperienced persons, it would be good that the externals would be
automatically installed by deken. I was looking for a script feature in
deken that would allow that, but didn't find any. Is there a way of doing
it, or would it be complex to add to deken's features?
Best,
Joao
Hello list,
I need to distribute a patch, which has to be programmed in Pd Vanilla but with some external libraries. Since the patch will be downloaded by unexperienced persons, it would be good that the externals would be automatically installed by deken. I was looking for a script feature in deken that would allow that, but didn't find any. Is there a way of doing it, or would it be complex to add to deken's features?
I, as a humble Pd user, would not want such a feature and do consider it a potential security risk.
You could include the externals as files with your patch for all operating systems.
P
Hi
On Sun, 2018-12-09 at 14:17 +0100, João Pais wrote:
I need to distribute a patch, which has to be programmed in Pd Vanilla but
with some external libraries. Since the patch will be downloaded by
unexperienced persons, it would be good that the externals would be
automatically installed by deken.
You could also create an all-in-one bundle, containing your patch and abstractions, the externals and a copy of Pd. By modifying tcl/pd- gui.tcl you can make Pd automatically load your patch.
There might be many reasons not to do it this way, but it is certainly very easy for little-experienced end-users.
Roman
HI!
in pd-0.46 - if i try via netsend / tcp to connect to an IP/port that currently does not exist, pd freezes for 76 seconds. (at least in my case) i get: connecting to port 5300 connecting stream socket: Operation timed out (60)
would there be a way to keep pd working while it is looking for the tcp connection?
cheers! michael
On 10.12.18 13:05, michael strohmann wrote:
HI!
in pd-0.46 - if i try via netsend / tcp to connect to an IP/port that currently does not exist, pd freezes for 76 seconds. (at least in my case) i get: connecting to port 5300 connecting stream socket: Operation timed out (60)
would there be a way to keep pd working while it is looking for the tcp connection?
see https://github.com/pure-data/pure-data/issues/378
fgamsdr IOhannes
PS: also, please do not hijack threads. instead start a new one, if you want to discuss something new. a trick i usually employ to faciliate this, is to click on the e-mail address at the very end of any of the mails received from the pd-list: this will open a mail-program with the correct "To" address already filled in.
On 09.12.18 14:17, João Pais wrote:
Hello list,
I need to distribute a patch, which has to be programmed in Pd Vanilla but with some external libraries. Since the patch will be downloaded by unexperienced persons, it would be good that the externals would be automatically installed by deken. I was looking for a script feature in deken that would allow that, but didn't find any. Is there a way of doing it, or would it be complex to add to deken's features?
the "deken" cmdline utility has such a feature: $ deken install -r requirementsfile.txt
however, most people will not have the deken-cmdline utility readily available, so you may find it it of limited use.
apart from, that there's the deken repository where you can file feature requests, and look for/comment on older ones such as [84].
i don't think it is too complicated to add such a feature to the deken-plugin (in principle), but it has to be well thought-thru (as the comment by peter has shown).
fgadsmr IOhannes
the "deken" cmdline utility has such a feature: $ deken install -r requirementsfile.txt
however, most people will not have the deken-cmdline utility readily available, so you may find it it of limited use.
is that command line available in all OSs including windows?
apart from, that there's the deken repository where you can file feature requests, and look for/comment on older ones such as [84].
i don't think it is too complicated to add such a feature to the deken-plugin (in principle), but it has to be well thought-thru (as the comment by peter has shown).
fgadsmr IOhannes
yes, unfortunately I can't do much except pd programming (and testing).
On 11.12.18 19:33, João Pais wrote:
the "deken" cmdline utility has such a feature: $ deken install -r requirementsfile.txt
however, most people will not have the deken-cmdline utility readily available, so you may find it it of limited use.
is that command line available in all OSs including windows?
sure. but again: it's a tool, which you must run from the command-line. you probably will need to teach your average windows user how to open (and use!) a terminal before they can start using it.
apart from, that there's the deken repository where you can file feature requests, and look for/comment on older ones such as [84].
i don't think it is too complicated to add such a feature to the deken-plugin (in principle), but it has to be well thought-thru (as the
yes, unfortunately I can't do much except pd programming (and testing).
i was not asking anybody to learn tcl/tk and implement that feature. "thinking through" is mostly about how this feature actually should work in the user-interface, things it should do and things it should not do. "thinking through" is something everybody can do who can imagine the requested feature. since you raised the request, i think you qualify.
desire-data once had this "do what i want" menu-entry that would do whatever you wanted. that's a prime example of what you can achieve by thinking things through.
tgmsdt IOhannes
I need to distribute a patch, which has to be programmed in Pd Vanilla but with some external libraries. Since the patch will be downloaded by unexperienced persons, it would be good that the externals would be automatically installed by deken. I was looking for a script feature in deken that would allow that, but didn't find any. Is there a way of doing it, or would it be complex to add to deken's features?
the "deken" cmdline utility has such a feature: $ deken install -r requirementsfile.txt
however, most people will not have the deken-cmdline utility readily available, so you may find it it of limited use.
Ah, if you meant developer/deken, it's available only as a bash script.
It's theoretically possible in windows, but it requires installing
advanced features, which the "normal user" won't be able to do (it would
be easier for them to learn how to use deken inside Pd).
But nevertheless I'll see if there's any way of also packaging an
executable that allows to run that script.
best,
joao
On 12/20/18 9:52 PM, João Pais wrote:
however, most people will not have the deken-cmdline utility readily available, so you may find it it of limited use.
Ah, if you meant developer/deken, it's available only as a bash script.
well technically, it's not a "bash script" (you can download a self-contained deken.exe on windows).
but yes, you (can only) run it from the commandline (CLI, terminal, "Eingabeaufforderung",...) which is what i was trying to say all along.
gamsdr IOhannes
however, most people will not have the deken-cmdline utility readily available, so you may find it it of limited use.
Ah, if you meant developer/deken, it's available only as a bash script.
well technically, it's not a "bash script" (you can download a self-contained deken.exe on windows).
ah, where can I find that? it wasn't in the downloaded package from github.
but yes, you (can only) run it from the commandline (CLI, terminal, "Eingabeaufforderung",...) which is what i was trying to say all along.
that wouldn't be a problem - if the terminal is windows-compatible.
I can also try to add instructions on how to install these libraries, but
I heard already comments from people saying that it's too complex for them
even to install pure data and opening a patch. Packaging binaries for all
oss is also a possibility, but it will increase the size and my work on
keeping everything up to date. So I'm still seeing what is the best way of
solving this.
Best,
Joao
On 12/21/18 10:15 AM, João Pais wrote:
ah, where can I find that? it wasn't in the downloaded package from github.
https://github.com/pure-data/deken/tree/master/developer#pre-built-binaries-...
gxmyrd IOhannes