Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-30 Thread Thomas Mayer

Hi Olivier,

On 30.01.2012 20:29, Thomas Mayer wrote:

Hi,

thank you for testing.

On 30.01.2012 14:13, Oli44 wrote:

I got a crash when trying to connect to couchdb through your example.

Here is the crash report.

OH

:~/purematter/purestjson$ pdextended
tk scaling is 1.6821192052980132
*** glibc detected *** pdextended: corrupted double-linked list:
0x09609ac8 ***
=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x37f591]


[snip]


/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/home/olivier/pd-externals/purest_json.pd_linux(json_encode_bang+0x2a0)[0x1ad1b20]

pdextended(outlet_bang+0x33)[0x80b9783]
=== Memory map: 


[snip]


22: /usr/lib/libjson.so.0(json_object_put+0x26) [0x1b1adf6]
23:


I just wanted to say, that I have just fixed a bug related to calls to 
json_object_put() [1], so maybe that crash is fixed as well. I have not 
updated the binary packages yet.


[1] https://github.com/residuum/PuRestJson/issues/4

Best regards,
Thomas
--
"From the perspective of communication analysis, government is not
an instrument of law and order, but of law and disorder." (Gracchus
Gruad in: Robert Shea & Robert A. Wilson, The Golden Apple)
http://www.residuum.org/

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


Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-30 Thread Hans-Christoph Steiner

On Jan 30, 2012, at 2:29 PM, Thomas Mayer wrote:

> Hi,
> 
> thank you for testing.
> 
> On 30.01.2012 14:13, Oli44 wrote:
>> Le 27/01/2012 21:58, Thomas Mayer a écrit :
>>> Hello,
>>> 
>> Hi Thomas,
>> 
>>> I have just uploaded new packages for Windows and Debian (i386) of
>>> PuREST JSON.
>> 
>> I just installed the Debian package on a Ubuntu Studio 10.04 LTS install
>> into ~/pd-externals with Pd-extended 0.42-5 and it works fine for two
>> things:
>> 
>> I had to add "_" instead of the spaces of the [print] objects of your
>> help files.
> 
> I have just committed this to Github.

I just committed the old Pd-extended print object which understands spaces, 
it'll be in tomorrow's build.

.hc





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-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-30 Thread Thomas Mayer

Hi,

thank you for testing.

On 30.01.2012 14:13, Oli44 wrote:

Le 27/01/2012 21:58, Thomas Mayer a écrit :

Hello,


Hi Thomas,


I have just uploaded new packages for Windows and Debian (i386) of
PuREST JSON.


I just installed the Debian package on a Ubuntu Studio 10.04 LTS install
into ~/pd-externals with Pd-extended 0.42-5 and it works fine for two
things:

I had to add "_" instead of the spaces of the [print] objects of your
help files.


I have just committed this to Github.



I got a crash when trying to connect to couchdb through your example.



I will investigate this.


Here is the crash report.

OH

:~/purematter/purestjson$ pdextended
tk scaling is 1.6821192052980132
*** glibc detected *** pdextended: corrupted double-linked list:
0x09609ac8 ***
=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x37f591]
/lib/tls/i686/cmov/libc.so.6(+0x6ce41)[0x380e41]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x383ecd]
/usr/lib/libjson.so.0(array_list_free+0x47)[0x1b1aae7]
/usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/usr/lib/libjson.so.0(+0x1edd)[0x1b1aedd]
/usr/lib/libjson.so.0(array_list_free+0x35)[0x1b1aad5]
/usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/usr/lib/libjson.so.0(+0x1edd)[0x1b1aedd]
/usr/lib/libjson.so.0(array_list_free+0x35)[0x1b1aad5]
/usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/usr/lib/libjson.so.0(+0x21ff)[0x1b1b1ff]
/usr/lib/libjson.so.0(lh_table_free+0x2c)[0x1b1d7bc]
/usr/lib/libjson.so.0(+0x2b75)[0x1b1bb75]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/home/olivier/pd-externals/purest_json.pd_linux(json_encode_bang+0x2a0)[0x1ad1b20]
pdextended(outlet_bang+0x33)[0x80b9783]
=== Memory map: 
0011-00111000 r-xp  08:03 589083
/usr/lib/pd-extended/extra/libdir.pd_linux
00111000-00112000 r--p  08:03 589083
/usr/lib/pd-extended/extra/libdir.pd_linux
00112000-00113000 rw-p 1000 08:03 589083
/usr/lib/pd-extended/extra/libdir.pd_linux
00113000-00119000 r-xp  08:03 168352 /usr/lib/libv4l2.so.0
00119000-0011a000 r--p 5000 08:03 168352 /usr/lib/libv4l2.so.0
0011a000-0011e000 rw-p 6000 08:03 168352 /usr/lib/libv4l2.so.0
0011e000-0018e000 r-xp  08:03 192404
/usr/lib/libquicktime.so.1.0.0
0018e000-0018f000 r--p 0006f000 08:03 192404
/usr/lib/libquicktime.so.1.0.0
0018f000-00191000 rw-p 0007 08:03 192404
/usr/lib/libquicktime.so.1.0.0
00191000-00192000 rw-p  00:00 0
00192000-001a5000 r-xp  08:03 135097 /lib/libz.so.1.2.3.3
001a5000-001a6000 r--p 00012000 08:03 135097 /lib/libz.so.1.2.3.3
001a6000-001a7000 rw-p 00013000 08:03 135097 /lib/libz.so.1.2.3.3
001a7000-001c1000 r-xp  08:03 192396 /usr/lib/libdv.so.4.0.3
001c1000-001c2000 r--p 00019000 08:03 192396 /usr/lib/libdv.so.4.0.3
001c2000-001c4000 rw-p 0001a000 08:03 192396 /usr/lib/libdv.so.4.0.3
001c4000-001d rw-p  00:00 0
001d-001de000 r-xp  08:03 147925 /usr/lib/libXext.so.6.4.0
001de000-001df000 r--p d000 08:03 147925 /usr/lib/libXext.so.6.4.0
001df000-001e rw-p e000 08:03 147925 /usr/lib/libXext.so.6.4.0
001e1000-001f r-xp  08:03 187000 /usr/lib/libjack.so.0.0.28
001f-001f1000 r--p e000 08:03 187000 /usr/lib/libjack.so.0.0.28
001f1000-001f3000 rw-p f000 08:03 187000 /usr/lib/libjack.so.0.0.28
001f3000-001fb000 rw-p  00:00 0
001fb000-0026c000 r-xp  08:03 143827
/usr/lib/libMagick++.so.2.0.1
0026c000-0026e000 r--p 0007 08:03 143827
/usr/lib/libMagick++.so.2.0.1
0026e000-0026f000 rw-p 00072000 08:03 143827
/usr/lib/libMagick++.so.2.0.1
0026f000-00291000 r-xp  08:03 192394 /usr/lib/libmpeg3.so.1.5.4
00291000-00296000 rw-p 00022000 08:03 192394 /usr/lib/libmpeg3.so.1.5.4
00296000-002a9000 rw-p  00:00 0
002a9000-002ad000 r-xp  08:03 178565
/usr/lib/libXxf86vm.so.1.0.0
002ad000-002ae000 r--p 3000 08:03 178565
/usr/lib/libXxf86vm.so.1.0.0
002ae000-002af000 rw-p 4000 08:03 178565
/usr/lib/libXxf86vm.so.1.0.0
002af000-002cc000 r-xp  08:03 131184 /lib/libgcc_s.so.1
002cc000-002cd000 r--p 0001c000 08:03 131184 /lib/libgcc_s.so.1
002cd000-002ce000 rw-p 0001d000 08:03 131184 /lib/libgcc_s.so.1
002ce000-002fe000 r-xp  08:03 131141 /usr/lib/liblcms.so.1.0.18
002fe000-002ff000 r--p 0002f000 08:03 131141 /usr/lib/liblcms.so.1.0.18
002ff000-0030 rw-p 0003 08:03 131141 /usr/lib/liblcms.so.1.0.18
0030-00302000 rw-p  00:00 0
00302000-00312000 r-xp  08:03 130355 /lib/libbz2.so.1.0.4
00312000-00313000 r--p f000 08:03 130355 /lib/libbz2.so.1.0.4
00313000-00314000 rw-p 0001 08:03 130355 /lib/libbz2.so.1.0.4
00314000-00467000 r-xp  08:03 132578
/lib/tls/i686/cmov/libc-2.11.1.so
00467000-00468000 ---p 00153000 08:03 132578
/lib/tls/i686

Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-30 Thread Thomas Mayer

Hi,


On 30.01.2012 14:52, m.e.grimm wrote:

great! Thanks!

works! ... i just get a pd crash when message
"http://search.twitter.com/search.json?q=%23puredata"; is sent to
[rest-json]


Oops, that was a bug that I reintroduced during some code cleanup. I 
have fixed it in git with commit cee81ff:

https://github.com/residuum/PuRestJson/commit/cee81ff94d044caec1c722cb47b54bdd416ef592

Feel free to post any bugs at https://github.com/residuum/PuRestJson/issues


i will be nice when the oauth is implemented. i was just looking at
this recently to send twitter updates... any idea when this might
work?


Right now, I am merging the helpful patches from Hans-Christoph Steiner 
and writing compilation docs in the Github wiki, cleaning out edges etc. 
When that is done, I will tag it 0.6, and make some binary packages.


After that, I will start with OAuth. The problem with OAuth is not so 
much a programming problem, but more of a design problem. What should be 
done in the Pd object, what is the responsibility of the user, how to 
deal with using one object to get data from different servers, how is 
OAuth really implemented at each provider, etc.


I will start off with some ideas and then post some stuff in the Github 
wiki.




great job... really cool stuff...


Thanks.

All the best,
Thomas
--
"Anything can be a tool - poverty, war. War is useful because it
is effective in so many areas." (Bijaz to Hayt in: Frank Herbert -
Dune Messiah)
http://www.residuum.org/

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


Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-30 Thread Oli44
Le 27/01/2012 21:58, Thomas Mayer a écrit :
> Hello,
>
Hi Thomas,

> I have just uploaded new packages for Windows and Debian (i386) of
> PuREST JSON.

I just installed the Debian package on a Ubuntu Studio 10.04 LTS install
into ~/pd-externals with Pd-extended 0.42-5 and it works fine for two
things:

I had to add "_" instead of the spaces of the [print] objects of your
help files.

I got a crash when trying to connect to couchdb through your example.

Here is the crash report.

OH

:~/purematter/purestjson$ pdextended
tk scaling is 1.6821192052980132
*** glibc detected *** pdextended: corrupted double-linked list:
0x09609ac8 ***
=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x37f591]
/lib/tls/i686/cmov/libc.so.6(+0x6ce41)[0x380e41]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x383ecd]
/usr/lib/libjson.so.0(array_list_free+0x47)[0x1b1aae7]
/usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/usr/lib/libjson.so.0(+0x1edd)[0x1b1aedd]
/usr/lib/libjson.so.0(array_list_free+0x35)[0x1b1aad5]
/usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/usr/lib/libjson.so.0(+0x1edd)[0x1b1aedd]
/usr/lib/libjson.so.0(array_list_free+0x35)[0x1b1aad5]
/usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/usr/lib/libjson.so.0(+0x21ff)[0x1b1b1ff]
/usr/lib/libjson.so.0(lh_table_free+0x2c)[0x1b1d7bc]
/usr/lib/libjson.so.0(+0x2b75)[0x1b1bb75]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/home/olivier/pd-externals/purest_json.pd_linux(json_encode_bang+0x2a0)[0x1ad1b20]
pdextended(outlet_bang+0x33)[0x80b9783]
=== Memory map: 
0011-00111000 r-xp  08:03 589083
/usr/lib/pd-extended/extra/libdir.pd_linux
00111000-00112000 r--p  08:03 589083
/usr/lib/pd-extended/extra/libdir.pd_linux
00112000-00113000 rw-p 1000 08:03 589083
/usr/lib/pd-extended/extra/libdir.pd_linux
00113000-00119000 r-xp  08:03 168352 /usr/lib/libv4l2.so.0
00119000-0011a000 r--p 5000 08:03 168352 /usr/lib/libv4l2.so.0
0011a000-0011e000 rw-p 6000 08:03 168352 /usr/lib/libv4l2.so.0
0011e000-0018e000 r-xp  08:03 192404
/usr/lib/libquicktime.so.1.0.0
0018e000-0018f000 r--p 0006f000 08:03 192404
/usr/lib/libquicktime.so.1.0.0
0018f000-00191000 rw-p 0007 08:03 192404
/usr/lib/libquicktime.so.1.0.0
00191000-00192000 rw-p  00:00 0
00192000-001a5000 r-xp  08:03 135097 /lib/libz.so.1.2.3.3
001a5000-001a6000 r--p 00012000 08:03 135097 /lib/libz.so.1.2.3.3
001a6000-001a7000 rw-p 00013000 08:03 135097 /lib/libz.so.1.2.3.3
001a7000-001c1000 r-xp  08:03 192396 /usr/lib/libdv.so.4.0.3
001c1000-001c2000 r--p 00019000 08:03 192396 /usr/lib/libdv.so.4.0.3
001c2000-001c4000 rw-p 0001a000 08:03 192396 /usr/lib/libdv.so.4.0.3
001c4000-001d rw-p  00:00 0
001d-001de000 r-xp  08:03 147925 /usr/lib/libXext.so.6.4.0
001de000-001df000 r--p d000 08:03 147925 /usr/lib/libXext.so.6.4.0
001df000-001e rw-p e000 08:03 147925 /usr/lib/libXext.so.6.4.0
001e1000-001f r-xp  08:03 187000 /usr/lib/libjack.so.0.0.28
001f-001f1000 r--p e000 08:03 187000 /usr/lib/libjack.so.0.0.28
001f1000-001f3000 rw-p f000 08:03 187000 /usr/lib/libjack.so.0.0.28
001f3000-001fb000 rw-p  00:00 0
001fb000-0026c000 r-xp  08:03 143827
/usr/lib/libMagick++.so.2.0.1
0026c000-0026e000 r--p 0007 08:03 143827
/usr/lib/libMagick++.so.2.0.1
0026e000-0026f000 rw-p 00072000 08:03 143827
/usr/lib/libMagick++.so.2.0.1
0026f000-00291000 r-xp  08:03 192394 /usr/lib/libmpeg3.so.1.5.4
00291000-00296000 rw-p 00022000 08:03 192394 /usr/lib/libmpeg3.so.1.5.4
00296000-002a9000 rw-p  00:00 0
002a9000-002ad000 r-xp  08:03 178565
/usr/lib/libXxf86vm.so.1.0.0
002ad000-002ae000 r--p 3000 08:03 178565
/usr/lib/libXxf86vm.so.1.0.0
002ae000-002af000 rw-p 4000 08:03 178565
/usr/lib/libXxf86vm.so.1.0.0
002af000-002cc000 r-xp  08:03 131184 /lib/libgcc_s.so.1
002cc000-002cd000 r--p 0001c000 08:03 131184 /lib/libgcc_s.so.1
002cd000-002ce000 rw-p 0001d000 08:03 131184 /lib/libgcc_s.so.1
002ce000-002fe000 r-xp  08:03 131141 /usr/lib/liblcms.so.1.0.18
002fe000-002ff000 r--p 0002f000 08:03 131141 /usr/lib/liblcms.so.1.0.18
002ff000-0030 rw-p 0003 08:03 131141 /usr/lib/liblcms.so.1.0.18
0030-00302000 rw-p  00:00 0
00302000-00312000 r-xp  08:03 130355 /lib/libbz2.so.1.0.4
00312000-00313000 r--p f000 08:03 130355 /lib/libbz2.so.1.0.4
00313000-00314000 rw-p 0001 08:03 130355 /lib/libbz2.so.1.0.4
00314000-00467000 r-xp  08:03 132578
/lib/tls/i686/cmov/libc-2.11.1.so
00467000-00468000 ---p 00153000 08:03 132578
/lib/tls/i686/cmov/libc-2.11.1.so
00468000-0046a000 r--p 00153000 08:03 132578
/lib/tl

Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-30 Thread m.e.grimm
great! Thanks!

works! ... i just get a pd crash when message
"http://search.twitter.com/search.json?q=%23puredata"; is sent to
[rest-json]

i will be nice when the oauth is implemented. i was just looking at
this recently to send twitter updates... any idea when this might
work?

great job... really cool stuff...

cheers
m



On Sun, Jan 29, 2012 at 9:59 PM, Hans-Christoph Steiner  wrote:
>
> I made a 32-bit Mac OS X build, try it here:
>
> http://autobuild.puredata.info/pdlab/purest_json.zip
>
> .hc
>
> On Jan 29, 2012, at 12:56 PM, m.e.grimm wrote:
>
>> no:
>>
>> "Failed: no package found for specification 'libjson'!"
>>
>> all i see as a fink package is libjson-glib
>>
>> but maybe me being on 10.7 has something to do with it?
>>
>> http://pdb.finkproject.org/pdb/package.php/libjson-glib
>>
>> =
>>
>> no source distribution
>>
>>
>>
>> On Sun, Jan 29, 2012 at 11:00 AM, Hans-Christoph Steiner  
>> wrote:
>>>
>>> On Mac OS X: fink install libjson
>>> On Debian/etc: apt-get install libjson0-dev
>>>
>>> .hc
>>>
>>> On Jan 29, 2012, at 9:25 AM, m.e.grimm wrote:
>>>
 i get:

 purest_json.h:7:23: error: json/json.h: No such file or directory

 where is json.h?

 m


 On Sun, Jan 29, 2012 at 12:13 AM, Hans-Christoph Steiner  
 wrote:
>
> This fork I just did should be easy to build on Mac:
> https://github.com/eighthave/PuRestJson
>
> Just have Xcode installed, and then do this in the terminal:
>
> cd ~/Library/Pd
> git clone https://github.com/eighthave/PuRestJson purest_json
> cd purest_json
> make
>
> Then you can [import purest_json] and check out the examples in the Help 
> Browser.  I'm looking forward to playing with this myself!
>
> .hc
>
> On Jan 27, 2012, at 4:30 PM, Tuti wrote:
>
>> can't wait for the MAC OS version!!
>> Regards,
>> JF
>>
>> On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer  
>> wrote:
>>> Hello,
>>>
>>> I have just uploaded new packages for Windows and Debian (i386) of
>>> PuREST JSON.
>>>
>>> PuREST JSON is a library for connecting Pd to HTTP services and encoding
>>> and decoding JSON data.
>>>
>>> The library can issue GET, POST, PUT and DELETE statements, so
>>> consumation of RESTful services is possible, e.g. CouchDB.
>>>
>>> https://github.com/residuum/PuRestJson/downloads
>>>
>>> I have written compilation instructions in the wiki, and am currently
>>> trying to cross-compile for Windows on Debian. The next logical step is
>>> trying to get cross-compilation for Mac OS X working, any pointers on
>>> how to accomplish that?
>>>
>>> Have fun,
>>> {"name": "Thomas"}
>>> --
>>> "We left all that stuff out. If there's an error, we have this
>>> routine called panic, and when it is called, the machine crashes,
>>> and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
>>> http://www.residuum.org/
>>>
>>> ___
>>> Pd-announce mailing list
>>> pd-annou...@iem.at
>>> http://lists.puredata.info/listinfo/pd-announce
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management -> 
>>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>> --
>> -
>> José Fornari (Tuti)
>> http:/sites.google.com/site/tutifornari/
>> email: tutiforn...@gmail.com
>> skype: tutifornari
>> cel: (11) 8318-8778
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>
>
>
>
>
> 
>
> Programs should be written for people to read, and only incidentally for 
> machines to execute.
>  - from Structure and Interpretation of Computer Programs
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list



 --
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com | 315.378.2136
 _
>>>
>>>
>>>
>>> 
>>>
>>> "Making boring techno music is really easy with modern tools, but with live 
>>> coding, boring techno is much harder." - Chris McCormick
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> 
>> m.e.grimm | m.f.a | ed.m.
>> megr...@gmail.com | 315.378.2136
>> _
>
>
>
>
> 
>
> All mankind is of one author, and is one volume; when one man die

Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-29 Thread Hans-Christoph Steiner

I made a 32-bit Mac OS X build, try it here:

http://autobuild.puredata.info/pdlab/purest_json.zip

.hc

On Jan 29, 2012, at 12:56 PM, m.e.grimm wrote:

> no:
> 
> "Failed: no package found for specification 'libjson'!"
> 
> all i see as a fink package is libjson-glib
> 
> but maybe me being on 10.7 has something to do with it?
> 
> http://pdb.finkproject.org/pdb/package.php/libjson-glib
> 
> =
> 
> no source distribution
> 
> 
> 
> On Sun, Jan 29, 2012 at 11:00 AM, Hans-Christoph Steiner  
> wrote:
>> 
>> On Mac OS X: fink install libjson
>> On Debian/etc: apt-get install libjson0-dev
>> 
>> .hc
>> 
>> On Jan 29, 2012, at 9:25 AM, m.e.grimm wrote:
>> 
>>> i get:
>>> 
>>> purest_json.h:7:23: error: json/json.h: No such file or directory
>>> 
>>> where is json.h?
>>> 
>>> m
>>> 
>>> 
>>> On Sun, Jan 29, 2012 at 12:13 AM, Hans-Christoph Steiner  
>>> wrote:
 
 This fork I just did should be easy to build on Mac:
 https://github.com/eighthave/PuRestJson
 
 Just have Xcode installed, and then do this in the terminal:
 
 cd ~/Library/Pd
 git clone https://github.com/eighthave/PuRestJson purest_json
 cd purest_json
 make
 
 Then you can [import purest_json] and check out the examples in the Help 
 Browser.  I'm looking forward to playing with this myself!
 
 .hc
 
 On Jan 27, 2012, at 4:30 PM, Tuti wrote:
 
> can't wait for the MAC OS version!!
> Regards,
> JF
> 
> On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer  wrote:
>> Hello,
>> 
>> I have just uploaded new packages for Windows and Debian (i386) of
>> PuREST JSON.
>> 
>> PuREST JSON is a library for connecting Pd to HTTP services and encoding
>> and decoding JSON data.
>> 
>> The library can issue GET, POST, PUT and DELETE statements, so
>> consumation of RESTful services is possible, e.g. CouchDB.
>> 
>> https://github.com/residuum/PuRestJson/downloads
>> 
>> I have written compilation instructions in the wiki, and am currently
>> trying to cross-compile for Windows on Debian. The next logical step is
>> trying to get cross-compilation for Mac OS X working, any pointers on
>> how to accomplish that?
>> 
>> Have fun,
>> {"name": "Thomas"}
>> --
>> "We left all that stuff out. If there's an error, we have this
>> routine called panic, and when it is called, the machine crashes,
>> and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
>> http://www.residuum.org/
>> 
>> ___
>> Pd-announce mailing list
>> pd-annou...@iem.at
>> http://lists.puredata.info/listinfo/pd-announce
>> 
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> --
> -
> José Fornari (Tuti)
> http:/sites.google.com/site/tutifornari/
> email: tutiforn...@gmail.com
> skype: tutifornari
> cel: (11) 8318-8778
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 
 
 
 Programs should be written for people to read, and only incidentally for 
 machines to execute.
  - from Structure and Interpretation of Computer Programs
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -> 
 http://lists.puredata.info/listinfo/pd-list
>>> 
>>> 
>>> 
>>> --
>>> 
>>> m.e.grimm | m.f.a | ed.m.
>>> megr...@gmail.com | 315.378.2136
>>> _
>> 
>> 
>> 
>> 
>> 
>> "Making boring techno music is really easy with modern tools, but with live 
>> coding, boring techno is much harder." - Chris McCormick
>> 
>> 
>> 
>> 
> 
> 
> 
> -- 
> 
> m.e.grimm | m.f.a | ed.m.
> megr...@gmail.com | 315.378.2136
> _






All mankind is of one author, and is one volume; when one man dies, one chapter 
is not torn out of the book, but translated into a better language; and every 
chapter must be so translated -John Donne 



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


Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-29 Thread Hans-Christoph Steiner

This is great, I'm happy to see you working on it more.  I'm also looking to 
working with more data sources.  I've played around with it a little, and am 
getting a crash running on Mac OS X 10.6.8/64-bit.  I open the 
rest-json-help.pd and add a [json-decode] to the bottom of the [rest-json] 
object.  When I click on a URL, it crashes. I tried to debug it a little but no 
luck, basically its crashing on the first line of output_json():

enum json_type outer_type = json_object_get_type(jobj);

I also posted another pull request, this one is has a script for embedding the 
needed libraries when building on Mac OS X.

.hc

On Jan 27, 2012, at 3:58 PM, Thomas Mayer wrote:

> Hello,
> 
> I have just uploaded new packages for Windows and Debian (i386) of
> PuREST JSON.
> 
> PuREST JSON is a library for connecting Pd to HTTP services and encoding
> and decoding JSON data.
> 
> The library can issue GET, POST, PUT and DELETE statements, so
> consumation of RESTful services is possible, e.g. CouchDB.
> 
> https://github.com/residuum/PuRestJson/downloads
> 
> I have written compilation instructions in the wiki, and am currently
> trying to cross-compile for Windows on Debian. The next logical step is
> trying to get cross-compilation for Mac OS X working, any pointers on
> how to accomplish that?
> 
> Have fun,
> {"name": "Thomas"}
> -- 
> "We left all that stuff out. If there's an error, we have this
> routine called panic, and when it is called, the machine crashes,
> and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
> http://www.residuum.org/
> 
> ___
> Pd-announce mailing list
> pd-annou...@iem.at
> http://lists.puredata.info/listinfo/pd-announce









"It is convenient to imagine a power beyond us because that means we don't have 
to examine our own lives.", from "The Idols of Environmentalism", by Curtis 
White





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


Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-29 Thread m.e.grimm
no:

"Failed: no package found for specification 'libjson'!"

all i see as a fink package is libjson-glib

but maybe me being on 10.7 has something to do with it?

http://pdb.finkproject.org/pdb/package.php/libjson-glib

=

no source distribution



On Sun, Jan 29, 2012 at 11:00 AM, Hans-Christoph Steiner  wrote:
>
> On Mac OS X: fink install libjson
> On Debian/etc: apt-get install libjson0-dev
>
> .hc
>
> On Jan 29, 2012, at 9:25 AM, m.e.grimm wrote:
>
>> i get:
>>
>> purest_json.h:7:23: error: json/json.h: No such file or directory
>>
>> where is json.h?
>>
>> m
>>
>>
>> On Sun, Jan 29, 2012 at 12:13 AM, Hans-Christoph Steiner  
>> wrote:
>>>
>>> This fork I just did should be easy to build on Mac:
>>> https://github.com/eighthave/PuRestJson
>>>
>>> Just have Xcode installed, and then do this in the terminal:
>>>
>>> cd ~/Library/Pd
>>> git clone https://github.com/eighthave/PuRestJson purest_json
>>> cd purest_json
>>> make
>>>
>>> Then you can [import purest_json] and check out the examples in the Help 
>>> Browser.  I'm looking forward to playing with this myself!
>>>
>>> .hc
>>>
>>> On Jan 27, 2012, at 4:30 PM, Tuti wrote:
>>>
 can't wait for the MAC OS version!!
 Regards,
 JF

 On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer  wrote:
> Hello,
>
> I have just uploaded new packages for Windows and Debian (i386) of
> PuREST JSON.
>
> PuREST JSON is a library for connecting Pd to HTTP services and encoding
> and decoding JSON data.
>
> The library can issue GET, POST, PUT and DELETE statements, so
> consumation of RESTful services is possible, e.g. CouchDB.
>
> https://github.com/residuum/PuRestJson/downloads
>
> I have written compilation instructions in the wiki, and am currently
> trying to cross-compile for Windows on Debian. The next logical step is
> trying to get cross-compilation for Mac OS X working, any pointers on
> how to accomplish that?
>
> Have fun,
> {"name": "Thomas"}
> --
> "We left all that stuff out. If there's an error, we have this
> routine called panic, and when it is called, the machine crashes,
> and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
> http://www.residuum.org/
>
> ___
> Pd-announce mailing list
> pd-annou...@iem.at
> http://lists.puredata.info/listinfo/pd-announce
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list



 --
 -
 José Fornari (Tuti)
 http:/sites.google.com/site/tutifornari/
 email: tutiforn...@gmail.com
 skype: tutifornari
 cel: (11) 8318-8778

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -> 
 http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>>
>>>
>>>
>>> 
>>>
>>> Programs should be written for people to read, and only incidentally for 
>>> machines to execute.
>>>  - from Structure and Interpretation of Computer Programs
>>>
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management -> 
>>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>> --
>> 
>> m.e.grimm | m.f.a | ed.m.
>> megr...@gmail.com | 315.378.2136
>> _
>
>
>
> 
>
> "Making boring techno music is really easy with modern tools, but with live 
> coding, boring techno is much harder." - Chris McCormick
>
>
>
>



-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com | 315.378.2136
_

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


Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-29 Thread Hans-Christoph Steiner

On Mac OS X: fink install libjson
On Debian/etc: apt-get install libjson0-dev

.hc

On Jan 29, 2012, at 9:25 AM, m.e.grimm wrote:

> i get:
> 
> purest_json.h:7:23: error: json/json.h: No such file or directory
> 
> where is json.h?
> 
> m
> 
> 
> On Sun, Jan 29, 2012 at 12:13 AM, Hans-Christoph Steiner  
> wrote:
>> 
>> This fork I just did should be easy to build on Mac:
>> https://github.com/eighthave/PuRestJson
>> 
>> Just have Xcode installed, and then do this in the terminal:
>> 
>> cd ~/Library/Pd
>> git clone https://github.com/eighthave/PuRestJson purest_json
>> cd purest_json
>> make
>> 
>> Then you can [import purest_json] and check out the examples in the Help 
>> Browser.  I'm looking forward to playing with this myself!
>> 
>> .hc
>> 
>> On Jan 27, 2012, at 4:30 PM, Tuti wrote:
>> 
>>> can't wait for the MAC OS version!!
>>> Regards,
>>> JF
>>> 
>>> On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer  wrote:
 Hello,
 
 I have just uploaded new packages for Windows and Debian (i386) of
 PuREST JSON.
 
 PuREST JSON is a library for connecting Pd to HTTP services and encoding
 and decoding JSON data.
 
 The library can issue GET, POST, PUT and DELETE statements, so
 consumation of RESTful services is possible, e.g. CouchDB.
 
 https://github.com/residuum/PuRestJson/downloads
 
 I have written compilation instructions in the wiki, and am currently
 trying to cross-compile for Windows on Debian. The next logical step is
 trying to get cross-compilation for Mac OS X working, any pointers on
 how to accomplish that?
 
 Have fun,
 {"name": "Thomas"}
 --
 "We left all that stuff out. If there's an error, we have this
 routine called panic, and when it is called, the machine crashes,
 and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
 http://www.residuum.org/
 
 ___
 Pd-announce mailing list
 pd-annou...@iem.at
 http://lists.puredata.info/listinfo/pd-announce
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -> 
 http://lists.puredata.info/listinfo/pd-list
>>> 
>>> 
>>> 
>>> --
>>> -
>>> José Fornari (Tuti)
>>> http:/sites.google.com/site/tutifornari/
>>> email: tutiforn...@gmail.com
>>> skype: tutifornari
>>> cel: (11) 8318-8778
>>> 
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management -> 
>>> http://lists.puredata.info/listinfo/pd-list
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Programs should be written for people to read, and only incidentally for 
>> machines to execute.
>>  - from Structure and Interpretation of Computer Programs
>> 
>> 
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> -- 
> 
> m.e.grimm | m.f.a | ed.m.
> megr...@gmail.com | 315.378.2136
> _





"Making boring techno music is really easy with modern tools, but with live 
coding, boring techno is much harder." - Chris McCormick





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


Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-29 Thread m.e.grimm
i get:

purest_json.h:7:23: error: json/json.h: No such file or directory

where is json.h?

m


On Sun, Jan 29, 2012 at 12:13 AM, Hans-Christoph Steiner  wrote:
>
> This fork I just did should be easy to build on Mac:
> https://github.com/eighthave/PuRestJson
>
> Just have Xcode installed, and then do this in the terminal:
>
> cd ~/Library/Pd
> git clone https://github.com/eighthave/PuRestJson purest_json
> cd purest_json
> make
>
> Then you can [import purest_json] and check out the examples in the Help 
> Browser.  I'm looking forward to playing with this myself!
>
> .hc
>
> On Jan 27, 2012, at 4:30 PM, Tuti wrote:
>
>> can't wait for the MAC OS version!!
>> Regards,
>> JF
>>
>> On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer  wrote:
>>> Hello,
>>>
>>> I have just uploaded new packages for Windows and Debian (i386) of
>>> PuREST JSON.
>>>
>>> PuREST JSON is a library for connecting Pd to HTTP services and encoding
>>> and decoding JSON data.
>>>
>>> The library can issue GET, POST, PUT and DELETE statements, so
>>> consumation of RESTful services is possible, e.g. CouchDB.
>>>
>>> https://github.com/residuum/PuRestJson/downloads
>>>
>>> I have written compilation instructions in the wiki, and am currently
>>> trying to cross-compile for Windows on Debian. The next logical step is
>>> trying to get cross-compilation for Mac OS X working, any pointers on
>>> how to accomplish that?
>>>
>>> Have fun,
>>> {"name": "Thomas"}
>>> --
>>> "We left all that stuff out. If there's an error, we have this
>>> routine called panic, and when it is called, the machine crashes,
>>> and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
>>> http://www.residuum.org/
>>>
>>> ___
>>> Pd-announce mailing list
>>> pd-annou...@iem.at
>>> http://lists.puredata.info/listinfo/pd-announce
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management -> 
>>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>> --
>> -
>> José Fornari (Tuti)
>> http:/sites.google.com/site/tutifornari/
>> email: tutiforn...@gmail.com
>> skype: tutifornari
>> cel: (11) 8318-8778
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>
>
>
>
>
> 
>
> Programs should be written for people to read, and only incidentally for 
> machines to execute.
>  - from Structure and Interpretation of Computer Programs
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list



-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com | 315.378.2136
_

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


Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-28 Thread Hans-Christoph Steiner

This fork I just did should be easy to build on Mac:
https://github.com/eighthave/PuRestJson

Just have Xcode installed, and then do this in the terminal:

cd ~/Library/Pd
git clone https://github.com/eighthave/PuRestJson purest_json
cd purest_json
make

Then you can [import purest_json] and check out the examples in the Help 
Browser.  I'm looking forward to playing with this myself!

.hc

On Jan 27, 2012, at 4:30 PM, Tuti wrote:

> can't wait for the MAC OS version!!
> Regards,
> JF
> 
> On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer  wrote:
>> Hello,
>> 
>> I have just uploaded new packages for Windows and Debian (i386) of
>> PuREST JSON.
>> 
>> PuREST JSON is a library for connecting Pd to HTTP services and encoding
>> and decoding JSON data.
>> 
>> The library can issue GET, POST, PUT and DELETE statements, so
>> consumation of RESTful services is possible, e.g. CouchDB.
>> 
>> https://github.com/residuum/PuRestJson/downloads
>> 
>> I have written compilation instructions in the wiki, and am currently
>> trying to cross-compile for Windows on Debian. The next logical step is
>> trying to get cross-compilation for Mac OS X working, any pointers on
>> how to accomplish that?
>> 
>> Have fun,
>> {"name": "Thomas"}
>> --
>> "We left all that stuff out. If there's an error, we have this
>> routine called panic, and when it is called, the machine crashes,
>> and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
>> http://www.residuum.org/
>> 
>> ___
>> Pd-announce mailing list
>> pd-annou...@iem.at
>> http://lists.puredata.info/listinfo/pd-announce
>> 
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> -- 
> -
> José Fornari (Tuti)
> http:/sites.google.com/site/tutifornari/
> email: tutiforn...@gmail.com
> skype: tutifornari
> cel: (11) 8318-8778
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list







Programs should be written for people to read, and only incidentally for 
machines to execute.
 - from Structure and Interpretation of Computer Programs


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


Re: [PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-27 Thread Tuti
can't wait for the MAC OS version!!
Regards,
JF

On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer  wrote:
> Hello,
>
> I have just uploaded new packages for Windows and Debian (i386) of
> PuREST JSON.
>
> PuREST JSON is a library for connecting Pd to HTTP services and encoding
> and decoding JSON data.
>
> The library can issue GET, POST, PUT and DELETE statements, so
> consumation of RESTful services is possible, e.g. CouchDB.
>
> https://github.com/residuum/PuRestJson/downloads
>
> I have written compilation instructions in the wiki, and am currently
> trying to cross-compile for Windows on Debian. The next logical step is
> trying to get cross-compilation for Mac OS X working, any pointers on
> how to accomplish that?
>
> Have fun,
> {"name": "Thomas"}
> --
> "We left all that stuff out. If there's an error, we have this
> routine called panic, and when it is called, the machine crashes,
> and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
> http://www.residuum.org/
>
> ___
> Pd-announce mailing list
> pd-annou...@iem.at
> http://lists.puredata.info/listinfo/pd-announce
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list



-- 
-
José Fornari (Tuti)
http:/sites.google.com/site/tutifornari/
email: tutiforn...@gmail.com
skype: tutifornari
cel: (11) 8318-8778

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


[PD] [PD-announce] Windows and Debian packages for PuREST JSON

2012-01-27 Thread Thomas Mayer
Hello,

I have just uploaded new packages for Windows and Debian (i386) of
PuREST JSON.

PuREST JSON is a library for connecting Pd to HTTP services and encoding
and decoding JSON data.

The library can issue GET, POST, PUT and DELETE statements, so
consumation of RESTful services is possible, e.g. CouchDB.

https://github.com/residuum/PuRestJson/downloads

I have written compilation instructions in the wiki, and am currently
trying to cross-compile for Windows on Debian. The next logical step is
trying to get cross-compilation for Mac OS X working, any pointers on
how to accomplish that?

Have fun,
{"name": "Thomas"}
-- 
"We left all that stuff out. If there's an error, we have this
routine called panic, and when it is called, the machine crashes,
and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
http://www.residuum.org/

___
Pd-announce mailing list
pd-annou...@iem.at
http://lists.puredata.info/listinfo/pd-announce

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