[PD] [Limerick, for ICMC2022 attendees] Day-long workshop on Teaching Critical Machine Listening and Machine Learning with FluCoMa

2022-06-08 Thread Pierre Alexandre Tremblay
Dear all

We will run a day-long workshop on the 3rd of July, entitled 'Teaching Critical 
Machine Listening and Machine Learning with FluCoMa’.

More info on the day schedule and topics and opportunities for contribution at 
flucoma.org/icmc2022

Please email i...@flucoma.org to book your place. You need to be registered to 
the conference to attend.

We hope to see you there

p


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Call-for-Help: tips of the day

2022-06-08 Thread Christof Ressi

Sounds great! Thanks a lot!

On 08.06.2022 12:17, IOhannes m zmoelnig wrote:

On 6/8/22 12:11, Christof Ressi wrote:
(like my trusted MS VisualStudio 6) 

Or good old "Clippy" in MS Office :-)

Joking aside, this is really great! I'll certainly contribute.

However, how do people find out about the GUI plugin in the first 
place? I think eventually this has to be shipped with Pd and enabled 
by default, with a simple option to disable it ("Don't show this 
again").



1. yes, my plan is to submit this plugin to the core of Pd (just like 
"deken"), once there's a considerable amount of tips.


2. yes, there's already a checkbox on the dialog to not show the tips 
on startup (but you can re-open it via the help-menu)


3. the plugin also comes with an "Update tips" button, to fetch the 
latest and greatest tips (that weren't even available when you 
installed the plugin (resp. the version that shipped with Pd)


gmasdr
IOhannes




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Call-for-Help: tips of the day

2022-06-08 Thread Christof Ressi
(like my trusted MS VisualStudio 6) 

Or good old "Clippy" in MS Office :-)

Joking aside, this is really great! I'll certainly contribute.

However, how do people find out about the GUI plugin in the first place? 
I think eventually this has to be shipped with Pd and enabled by 
default, with a simple option to disable it ("Don't show this again").


Christof

On 08.06.2022 11:42, IOhannes m zmoelnig wrote:

TL;DR if you know any quick tips for using Pd, submit them at
https://github.com/pd-externals/tipoftheday-plugin/issues/new/choose



long version:

as you all know, Pd comes with a built-in documentation, that 
illustrates how to use various objects and stuff (and alex has done a 
fantastic job in revising these patches in the last months).


for a deeper understanding of Pd, there's the HTML manual (which looks 
nice, after lucarda added some CSS).



however, i think that there are a couple of things that need 
documentation which cannot really be covered by either help patches 
nor manuals.
e.g. "intelligent patching" (where i've spent a bit of time to get it 
working) or other workflow tricks do not fit well in either category:
if they are explained in some help-patches then only people who 
actively walk through those patches will ever see them (and i believe 
most people just open the help-patch of a given object they are 
interested; but what would you open for a non-object that you don't 
even know about).
similarly, i have a feeling that the manual is not the best place for 
this either (first, the manual deals with the "larger picture" rather 
than interface tricks; second, the manual is more of an off-line 
resource (that you may read when not sitting in front of a running 
instance of Pd).


just recently i mentioned the "triggerize" functionality to someone, 
and they never ever heard of it!



to fix this, i've created a small GUI-plugin to display a "tip of the 
day" whenever Pd is started.


i think this (Pd's startup phase) is the right time to learn something 
new (in tiny bits) - after all, other applications (like my trusted MS 
VisualStudio 6) did the same).


the tips are super-simple: just a short text, with an optional URL for 
more information and support for displaying (animated) GIFs (patching 
is oft explained better by showing).



the GUI-plugin is available on
  https://github.com/pd-externals/tipoftheday-plugin/

but there's no release (and thus no deken package) yet.

There's also an experimental webinterface where you can browse the 
existing tips at 



so far so good.
The only drawback right now is, that there are only a very few tips 
available yet (a total of *4*, mainly for testing).


so before this is going to be released to the public, I'd like to 
collect a few (hundred) more tips


this is where you come into play:
if you know any quick tips, patching tricks or hacks, please submit 
them in the issue-tracker at 

(the "Tip of the Day" issue-type will give you a form that you should 
fill in; this should keep the entry barrier to creating new tips low).



thanks for helping out.

gmasdr
IOhannes

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Call-for-Help: tips of the day

2022-06-08 Thread IOhannes m zmoelnig

TL;DR if you know any quick tips for using Pd, submit them at
  https://github.com/pd-externals/tipoftheday-plugin/issues/new/choose



long version:

as you all know, Pd comes with a built-in documentation, that 
illustrates how to use various objects and stuff (and alex has done a 
fantastic job in revising these patches in the last months).


for a deeper understanding of Pd, there's the HTML manual (which looks 
nice, after lucarda added some CSS).



however, i think that there are a couple of things that need 
documentation which cannot really be covered by either help patches nor 
manuals.
e.g. "intelligent patching" (where i've spent a bit of time to get it 
working) or other workflow tricks do not fit well in either category:
if they are explained in some help-patches then only people who actively 
walk through those patches will ever see them (and i believe most people 
just open the help-patch of a given object they are interested; but what 
would you open for a non-object that you don't even know about).
similarly, i have a feeling that the manual is not the best place for 
this either (first, the manual deals with the "larger picture" rather 
than interface tricks; second, the manual is more of an off-line 
resource (that you may read when not sitting in front of a running 
instance of Pd).


just recently i mentioned the "triggerize" functionality to someone, and 
they never ever heard of it!



to fix this, i've created a small GUI-plugin to display a "tip of the 
day" whenever Pd is started.


i think this (Pd's startup phase) is the right time to learn something 
new (in tiny bits) - after all, other applications (like my trusted MS 
VisualStudio 6) did the same).


the tips are super-simple: just a short text, with an optional URL for 
more information and support for displaying (animated) GIFs (patching is 
oft explained better by showing).



the GUI-plugin is available on
  https://github.com/pd-externals/tipoftheday-plugin/

but there's no release (and thus no deken package) yet.

There's also an experimental webinterface where you can browse the 
existing tips at 



so far so good.
The only drawback right now is, that there are only a very few tips 
available yet (a total of *4*, mainly for testing).


so before this is going to be released to the public, I'd like to 
collect a few (hundred) more tips


this is where you come into play:
if you know any quick tips, patching tricks or hacks, please submit them 
in the issue-tracker at 

(the "Tip of the Day" issue-type will give you a form that you should 
fill in; this should keep the entry barrier to creating new tips low).



thanks for helping out.

gmasdr
IOhannes


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [command] can't execute "ls | wc -l"

2022-06-08 Thread IOhannes m zmoelnig


On 6/8/22 09:43, Alexandros wrote:
While [ggee/shell] outputs the correct number of files in a directory 
with the message "ls | wc -l", [command] outputs an error code 2 with 
"exec ls | wc -l" and doesn't output anything.


Is this intentional? If so, how can this command be executed by [command]?


probably by chaining up multiple [command]s?


but more importantly: "ls | wc -l" is an anti-pattern: you shouldn't 
parse the output of `ls` [1]
e.g. your script breaks as soon as your directory contains files with a 
newline in their name.


a safer way would be to run
> find * -maxdepth 0 -type f  -exec printf . ";" | wc -c

but this is absymally slow (and still has the problem with the pipe).

a faster way would be to run this simple shell-script:
```sh
i=0
for f in *; do
  i=$((i+1))
done
echo $i
```

you can run this by creating a single symbol (without the quotes)
"i=0; for f in *; do i=$((i+1)); done; echo $i"

and then send a message "exec bash -c $1" (with $1 replaced by the 
symbol) to [command].
this will launch a full-fledged bash that will then interpret your 
little script.



an even better way would be to just use [file glob]


fmgasdr
IOhannes


[1] http://mywiki.wooledge.org/ParsingLs


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [command] can't execute "ls | wc -l"

2022-06-08 Thread Alexandros
While [ggee/shell] outputs the correct number of files in a directory 
with the message "ls | wc -l", [command] outputs an error code 2 with 
"exec ls | wc -l" and doesn't output anything.


Is this intentional? If so, how can this command be executed by [command]?




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list