Re: [PD] suggestion: $0 in messages

2018-04-04 Thread Seb Shader via Pd-list
>From patching I know that it would be far more convenient to be able to 
>reference the patch-local $0 variable in messages. 
Perhaps in that case there should also be a [selector] object that reports the 
selector of a message? getting it using [route] seems
unnecessarily complicated..


On the other hand, having $0 represent the selector would be the most 
consistent solution, because you can not get other patch-local variables
or arguments in message boxes, and yet you can use $1 $2 etc. to refer to the 
elements of an incoming message. So the behavior of dollar signs
in object boxes and message boxes is already separate and have very different 
uses. It almost would seem more confusing to be the same
for just 1 of the dollar sign numbers, yet different for all the others.


-Seb



-Original Message-
From: Jonathan Wilkes via Pd-list 
To: pd-list ; Roman Haefeli 
Sent: Wed, Apr 4, 2018 1:00 am
Subject: Re: [PD] suggestion: $0 in messages




> Why is nobody complaining about not being able to use the third 
> creation argument directly withing a message? What's the fuzz about the

> $0?



$0 isn't part of the argument vector. It's a unique id automatically 
generated for a patch/abstraction which the user happens to access 
through a dollarsign variable.



That locality hack doesn't require that the unique id be fetched by 
an unused dollarsign arg. For example, you could reserve the keyword 
"let" such that a message box with "let token2" would get converted 
behind the scenes to "1003-token2".


When users for a decade have said they wanted $0 in msg boxes, 
they mean that they want to use Pd's notion of send-symbol locality 
inside message boxes. They want that instead of manually querying 
 the value of a reserved dollarsign variable and sending that value 
to the relevant message box in order to get "let" behavior.


Also, since "$0" is already being used for this purpose it doesn't 
make much sense to try to also get "$0" to refer to the selector. 
You'd end up with inconsistent meaning where it fetches the 
selector in msg boxes but not in object boxes. Plus you can 
already get the selector of an incoming message with [list] 
whereas you cannot get an abstraction's selector (which would 
be handy for error reporting). So adding that inconsistency 
would only duplicate existing functionality without adding 
new functionality. 


-Jonathan


> Roman


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




___pd-l...@lists.iem.at mailing 
listUNSUBSCRIBE 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


Re: [PD] PD on a Rasberry Pi

2018-04-04 Thread Roman Haefeli
Hey Jackson

On Mit, 2018-04-04 at 14:58 +, jackson re-al wrote:
> Someone reached out earlier to see if anyone had experience running
> PD on a Pi.
> 
> If anyone here could help out then please give me a shout - It would
> be much appreciated.

What OS is running on the RPi? Some more info about what you have and
what exactly you want to do would be nice.

If it's a Raspbian:

sudo apt install puredata

Roman

signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] PD on a Rasberry Pi

2018-04-04 Thread Pagano, Patrick
i do

what's going on?




Patrick Pagano B.S, M.F.A

Assistant Professor in Residence

Digital Media & Design

Web & Interactive Technologies

UCONN ECE Faculty Coordinator

University of Connecticut, Stamford

(352)-226-2016


From: Pd-list  on behalf of jackson re-al 

Sent: Wednesday, April 4, 2018 10:58:11 AM
To: pd-list@lists.iem.at
Subject: [PD] PD on a Rasberry Pi


Hi all,

Someone reached out earlier to see if anyone had experience running PD on a Pi.

If anyone here could help out then please give me a shout - It would be much 
appreciated.

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


[PD] PD on a Rasberry Pi

2018-04-04 Thread jackson re-al
Hi all,

Someone reached out earlier to see if anyone had experience running PD on a Pi.

If anyone here could help out then please give me a shout - It would be much 
appreciated.

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


Re: [PD] [PD-announce] ofelia v1.0.6 released

2018-04-04 Thread Zack Lee
Hi, importing vector images is not currently possible in ofelia.

I will add the "SVG loader" to ofelia soon.(hopefully within this month)
I added it to the upcoming features list. :)
Thanks!

Zack


2018-04-04 16:58 GMT+09:00 Py Fave :

> and for ofelia, is it possible to import vector images, like svg ?
>
> Thanks
>
> py
>
> 2018-04-04 9:56 GMT+02:00 Py Fave :
>
>> Hi,
>>
>> ahh i need a head update .
>>
>>
>> where is puredata/gem for raspberry pi?
>> i need an easy way, is there any distribution of it?
>> i am willing to do some workshop, but have a very short time and need
>> something working "out of the box.",
>> to try first.
>>
>> Thanks.
>>
>> Pierre-Yves
>>
>> 2018-03-30 14:42 GMT+02:00 Zack Lee :
>>
>>> Hi, I'm planning to build ofelia for Raspberry Pi after the stable
>>> release of openFrameworks 0.10.0 because the current 0.9.8 version which
>>> ofelia uses is not compatible with Raspbian Stretch.
>>>
>>> It will probably compile and run on Jessie but I don't think it's worth
>>> it since most people use Stretch these days.
>>>
>>> So please wait for a few months. I think openFrameworks 0.10.0 is
>>> almost ready for the stable release. :)
>>>
>>>
>>> Zack
>>>
>>>
>>> 
>>> ---
>>> Date: Fri, 30 Mar 2018 09:31:12 +0200
>>> From: Py Fave 
>>> To: PDlist 
>>> Subject: Re: [PD] [PD-announce] ofelia v1.0.6 released
>>> Message-ID:
>>> >> ail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> would it work on a raspberry pi?
>>>
>>> without full opengl but gl es ?
>>>
>>> because gem can't use these boards, it would be very useful.
>>>
>>
>>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [list] example3.pd crash on Pd-0.48.1 / Linux

2018-04-04 Thread Christof Ressi
I already did a PR to fix this (on other) [list store] related bugs in the 
documentation:
https://github.com/pure-data/pure-data/pull/323



> Gesendet: Mittwoch, 04. April 2018 um 10:26 Uhr
> Von: "Roman Haefeli" 
> An: pd-list@lists.iem.at
> Betreff: Re: [PD] [list] example3.pd crash on Pd-0.48.1 / Linux
>
> On Mit, 2018-04-04 at 02:52 +0900, Jonghyun Kim wrote:
> > Hi list,
> > 
> > The problematic patch is:
> > 
> > pd/doc/5.reference/example3.pd
> 
> It's actually in the help of [list] in the serializer example.
> 
> > this patch only crashed on 0.48.1. It's ok on old version of Pd.
> > 
> > I don't know why?
> 
> It's a bug in the documentation. [list store] understands the 'get'
> method, but not the 'range' method, it seems. I guess this was changed
> somewhere along the development of [list store] and was forgotten to
> adjust in the serializing example.
> 
> Change the message box to 'get $1 1' and it works.
> 
> Since you discovered this you might want to file a bug report about
> this (unless Miller reads it here anyway). 
> 
> 
> Roman
> 
> ___
> 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


Re: [PD] [list] example3.pd crash on Pd-0.48.1 / Linux

2018-04-04 Thread IOhannes m zmoelnig
On 2018-04-04 10:26, Roman Haefeli wrote:
> On Mit, 2018-04-04 at 02:52 +0900, Jonghyun Kim wrote:
>> Hi list,
>>
>> The problematic patch is:
>>
>> pd/doc/5.reference/example3.pd
> 
> It's actually in the help of [list] in the serializer example.
> 
>> this patch only crashed on 0.48.1. It's ok on old version of Pd.
>>
>> I don't know why?
> 
> It's a bug in the documentation. [list store] understands the 'get'
> method, but not the 'range' method, it seems. I guess this was changed
> somewhere along the development of [list store] and was forgotten to
> adjust in the serializing example.
> 
> Change the message box to 'get $1 1' and it works.
> 
> Since you discovered this you might want to file a bug report about
> this (unless Miller reads it here anyway). 

the change seems to have been on purpose [ec179065].
but it seems that the help-patch has not been updated accordingly.

afaict, there has neever been any Pd-release that included the "range"
message (although some test releases - 0.48test1,2,3 - did include it)


btw, the bug can be pretty easily found when running Pd from the
cmdline, printing to stderr:

```
$ pd -stderr
[...]
error: list store: no method for 'range'
```

the Pd-console is imply to slow to keep up with posting the errors (and
eventually will crash, because it safes all the error messages and in
case of an infinite loop it will exhaust all available memory; i think
this is far more serious bug)


[ec179065]
https://github.com/pure-data/pure-data/commit/ec179065b925c253355d0b4debc5cc4a49615d89




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


Re: [PD] [list] example3.pd crash on Pd-0.48.1 / Linux

2018-04-04 Thread Roman Haefeli
On Mit, 2018-04-04 at 02:52 +0900, Jonghyun Kim wrote:
> Hi list,
> 
> The problematic patch is:
> 
> pd/doc/5.reference/example3.pd

It's actually in the help of [list] in the serializer example.

> this patch only crashed on 0.48.1. It's ok on old version of Pd.
> 
> I don't know why?

It's a bug in the documentation. [list store] understands the 'get'
method, but not the 'range' method, it seems. I guess this was changed
somewhere along the development of [list store] and was forgotten to
adjust in the serializing example.

Change the message box to 'get $1 1' and it works.

Since you discovered this you might want to file a bug report about
this (unless Miller reads it here anyway). 


Roman



signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Gem on RPi (was Re: [PD-announce] ofelia v1.0.6 released)

2018-04-04 Thread IOhannes m zmoelnig
On 2018-04-04 10:17, Py Fave wrote:
>  i can type that.
> 
> what is the distribution it will work on best?

anything Debian based. (e.g. raspbian).

i doubt that a single derivative distribution puts extra love in any of
the Pd-related packages and that all just take the packages directly
from Debian.

fgamdrs
IOhannes



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


Re: [PD] [PD-announce] ofelia v1.0.6 released

2018-04-04 Thread Py Fave
 i can type that.

what is the distribution it will work on best?

and by the way, what does fgamdrs mean/stands for?


have a nice day

py


2018-04-04 10:04 GMT+02:00 IOhannes m zmoelnig :

> On 2018-04-04 09:56, Py Fave wrote:
> > Hi,
> >
> > ahh i need a head update .
> >
> >
> > where is puredata/gem for raspberry pi?
> > i need an easy way, is there any distribution of it?
> > i am willing to do some workshop, but have a very short time and need
> > something working "out of the box.",
> > to try first.
>
> # apt-get install gem
>
> i cannot possible think of anything more out-of-the-box short of
> lobbying the rpi foundation to include Pd+Gem on their images.
>
> fgamdrs
> 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


Re: [PD] [list] example3.pd crash on Pd-0.48.1 / Linux

2018-04-04 Thread IOhannes m zmoelnig
On 2018-04-03 19:52, Jonghyun Kim wrote:
> I don't know why?
please fix the fan-out beforehand :-)

fgamsdr
IOhannes



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


Re: [PD] [PD-announce] ofelia v1.0.6 released

2018-04-04 Thread IOhannes m zmoelnig
On 2018-04-04 09:56, Py Fave wrote:
> Hi,
> 
> ahh i need a head update .
> 
> 
> where is puredata/gem for raspberry pi?
> i need an easy way, is there any distribution of it?
> i am willing to do some workshop, but have a very short time and need
> something working "out of the box.",
> to try first.

# apt-get install gem

i cannot possible think of anything more out-of-the-box short of
lobbying the rpi foundation to include Pd+Gem on their images.

fgamdrs
IOhannes



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


[PD] [PD-announce] jit_expr 0.1.1 for osx 10.10+: just in time compiled expr family clones

2018-04-04 Thread Alex
jit_expr is a clone of the pure data expr/expr~/fexpr~ objects. It
just-in-time compiles its expressions so they should be much more optimized
than the original. If all works as designed, they should use less CPU than
the equivalent vanilla, non-expr, patching and have a significant CPU
advantage over the original expr objects.

This release has no functional difference with the previous 0.1 release,
and there is no update needed for Linux. All this does is support more
versions of Mac OsX. The 0.1 release was built for 10.13.
Thanks go to Marco Matteo Markidis for doing this compilation!

I've put the external, compiled for 64-bit Mac-OS 10.10+, up on deken: in
pd, go to help menu, find externals, search for "jit_expr", click on the
0.1.1 version to install. Unfortunately it shows up below 0.1 in the
current implementation of "find externals" but an update has already been
implemented for that for the future.

Please report any issues here:
https://github.com/x37v/jit-expr/issues

I would still love help building Windows and 32-bit Linux versions of the
externals.

The source code can be found in the git repo:
https://github.com/x37v/jit-expr

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


Re: [PD] [PD-announce] ofelia v1.0.6 released

2018-04-04 Thread Py Fave
and for ofelia, is it possible to import vector images, like svg ?

Thanks

py

2018-04-04 9:56 GMT+02:00 Py Fave :

> Hi,
>
> ahh i need a head update .
>
>
> where is puredata/gem for raspberry pi?
> i need an easy way, is there any distribution of it?
> i am willing to do some workshop, but have a very short time and need
> something working "out of the box.",
> to try first.
>
> Thanks.
>
> Pierre-Yves
>
> 2018-03-30 14:42 GMT+02:00 Zack Lee :
>
>> Hi, I'm planning to build ofelia for Raspberry Pi after the stable
>> release of openFrameworks 0.10.0 because the current 0.9.8 version which
>> ofelia uses is not compatible with Raspbian Stretch.
>>
>> It will probably compile and run on Jessie but I don't think it's worth
>> it since most people use Stretch these days.
>>
>> So please wait for a few months. I think openFrameworks 0.10.0 is almost
>> ready for the stable release. :)
>>
>>
>> Zack
>>
>>
>> 
>> ---
>> Date: Fri, 30 Mar 2018 09:31:12 +0200
>> From: Py Fave 
>> To: PDlist 
>> Subject: Re: [PD] [PD-announce] ofelia v1.0.6 released
>> Message-ID:
>> > ail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> would it work on a raspberry pi?
>>
>> without full opengl but gl es ?
>>
>> because gem can't use these boards, it would be very useful.
>>
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] ofelia v1.0.6 released

2018-04-04 Thread Py Fave
Hi,

ahh i need a head update .


where is puredata/gem for raspberry pi?
i need an easy way, is there any distribution of it?
i am willing to do some workshop, but have a very short time and need
something working "out of the box.",
to try first.

Thanks.

Pierre-Yves

2018-03-30 14:42 GMT+02:00 Zack Lee :

> Hi, I'm planning to build ofelia for Raspberry Pi after the stable release
> of openFrameworks 0.10.0 because the current 0.9.8 version which ofelia
> uses is not compatible with Raspbian Stretch.
>
> It will probably compile and run on Jessie but I don't think it's worth it
> since most people use Stretch these days.
>
> So please wait for a few months. I think openFrameworks 0.10.0 is almost
> ready for the stable release. :)
>
>
> Zack
>
>
> 
> ---
> Date: Fri, 30 Mar 2018 09:31:12 +0200
> From: Py Fave 
> To: PDlist 
> Subject: Re: [PD] [PD-announce] ofelia v1.0.6 released
> Message-ID:
>  ail.com>
> Content-Type: text/plain; charset="utf-8"
>
> would it work on a raspberry pi?
>
> without full opengl but gl es ?
>
> because gem can't use these boards, it would be very useful.
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] suggestion: $0 in messages

2018-04-04 Thread Jonathan Wilkes via Pd-list
> Why is nobody complaining about not being able to use the third > creation 
> argument directly withing a message? What's the fuzz about the
> $0?
$0 isn't part of the argument vector. It's a unique id automatically generated 
for a patch/abstraction which the user happens to access through a dollarsign 
variable.

That locality hack doesn't require that the unique id be fetched by an unused 
dollarsign arg. For example, you could reserve the keyword "let" such that a 
message box with "let token2" would get converted behind the scenes to 
"1003-token2".
When users for a decade have said they wanted $0 in msg boxes, they mean that 
they want to use Pd's notion of send-symbol locality inside message boxes. They 
want that instead of manually querying  the value of a reserved dollarsign 
variable and sending that value to the relevant message box in order to get 
"let" behavior.
Also, since "$0" is already being used for this purpose it doesn't make much 
sense to try to also get "$0" to refer to the selector. You'd end up with 
inconsistent meaning where it fetches the selector in msg boxes but not in 
object boxes. Plus you can already get the selector of an incoming message with 
[list] whereas you cannot get an abstraction's selector (which would be handy 
for error reporting). So adding that inconsistency would only duplicate 
existing functionality without adding new functionality. 
-Jonathan

> Roman___
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] [list] example3.pd crash on Pd-0.48.1 / Linux

2018-04-04 Thread Jonghyun Kim
Hi list,

The problematic patch is:

pd/doc/5.reference/example3.pd

it hangs when it started.

==

Error log:

$ pd pd-hangs-serialize.pd
watchdog: signaling pd...
watchdog: signaling pd...
*max size for a Tcl value (2147483647 bytes) exceeded*
watchdog: signaling pd...
watchdog: signaling pd...
*Aborted (core dumped)*
watchdog: signaling pd...
watchdog: signaling pd...
^CPd: signal 2
kim@computer:~/$

==

this patch only crashed on 0.48.1. It's ok on old version of Pd.

I don't know why?
#N canvas 721 528 651 481 10;
#X obj 134 433 print;
#X obj 122 318 until;
#X msg 148 262 1 2 3 4 a b c;
#X text 95 128 example 3: serializing a message without delays;
#X text 82 161 The "until" object can be used as shown to iterate through
all the items of a list.;
#X text 285 217 <- click to test;
#X text 250 245 First store list \, then start the loop;
#X text 225 269 "until" bangs its output until told to stop by a "bang"
to its right inlet.;
#X text 230 330 Store the remaining list.;
#X obj 135 401 list store;
#X obj 148 285 t b b l;
#X obj 122 343 f;
#X obj 160 344 + 1;
#X msg 174 318 0, f 2;
#X msg 121 372 range \$1 1;
#X text 147 54 /usr/local/lib/pd/doc/5.reference/example3.pd;
#X text 70 29 TEST;
#X obj 104 203 loadbang;
#X obj 104 224 delay 1000;
#X connect 1 0 11 0;
#X connect 2 0 10 0;
#X connect 9 0 0 0;
#X connect 9 1 1 1;
#X connect 10 0 1 0;
#X connect 10 1 13 0;
#X connect 10 2 9 1;
#X connect 11 0 12 0;
#X connect 11 0 14 0;
#X connect 12 0 11 1;
#X connect 13 0 11 1;
#X connect 14 0 9 0;
#X connect 17 0 18 0;
#X connect 18 0 2 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list