Re: [PD] pd and tcp: what to do against crashes?

2009-03-03 Thread PSPunch
i really wonder, how other projects handle that. i mean, if several people download a big file from apache, then a disappearing client doesn't interfere with the other clients. i guess, in apache it is solved by using threads. when using threads, one single thread doesn't necessarily need to

Re: [PD] strange wave

2009-03-03 Thread Hans Roels
I think/hope that I managed to isolate the problem with writesf~ and readsf~. There are two patches in attach that print out every step that you take so one can't forget to click 'open' for example, it also measures the time between the 'open' and 'start' command. Copy these 2 patches in the

Re: [PD] strange wave

2009-03-03 Thread IOhannes m zmoelnig
Hans Roels wrote: I think/hope that I managed to isolate the problem with writesf~ and readsf~. There are two patches in attach that print out every step that you take so one can't forget to click 'open' for example, it also measures the time between the 'open' and 'start' command. Copy these

Re: [PD] strange wave

2009-03-03 Thread Andy Farnell
Your debug approach is commendable Hans. Notice that the EOF is different. It's not a well formed file unless eof works. The problem, as stated by another poster, is that the file appears zero length. Mike The errors are caused by bad message ordering in the patch. I have highlighted where

[PD] pd-extended on ubuntu intrepid: troubles

2009-03-03 Thread Athos Bacchiocchi
hi, I installed pd on ubuntu intrepid from official repositories through installer manager, and everything worked fine. After, I needed pd-extendend so I went on the pd website and I downloaded the pd-extended contributed build for intrepid, at:

Re: [PD] strange wave

2009-03-03 Thread Hans Roels
thanks a lot for this information, I added the [loadbang]-[; pd dsp 0; pd dsp 1( to my recording abstraction and after testing it a few times, this seems more reliable. Hans r At 12:40 3/03/2009, IOhannes m zmoelnig wrote: Hans Roels wrote: I think/hope that I managed to isolate the problem

Re: [PD] pd-extended on ubuntu intrepid: troubles

2009-03-03 Thread Ilias Anagnostopoulos
Hello Athos, The packages of Puredata (Ubuntu Repos) and Pd-extended are made in such a way that only one can be installed at any given time. This is due to conflict issues. -Ilias Message: 4 Date: Tue, 03 Mar 2009 14:23:07 +0100 From: Athos Bacchiocchi athos.bacchioc...@tin.it Subject:

Re: [PD] pd and tcp: what to do against crashes?

2009-03-03 Thread Martin Peach
PSPunch wrote: From my understanding, the alternative to using multiple threads/processes would be to set the socket to non-blocking and implement a Pd object that buffers the messages requested to be sent. Then attempts to retry sending what the OS once rejected should be made. It seems

Re: [PD] pd-extended on ubuntu intrepid: troubles

2009-03-03 Thread Athos Bacchiocchi
Ilias Anagnostopoulos ha scritto: Hello Athos, The packages of Puredata (Ubuntu Repos) and Pd-extended are made in such a way that only one can be installed at any given time. This is due to conflict issues. Thanks for the help, but I still can't manage. I tried removing the puredata

[PD] evaluate 3d iterative structures

2009-03-03 Thread simeon cosik
Hello, how can i evaluate 3d structures generated in puredata to know if it can support itself if i build it in reality? for example imagine that each structure is conformed by a group of boxes one over the others made with repeat,i would like to add gravity and weight to all the boxes so i

Re: [PD] evaluate 3d iterative structures

2009-03-03 Thread Mathieu Bouchard
On Tue, 3 Mar 2009, simeon cosik wrote: Hello, how can i evaluate 3d structures generated in puredata to know if it can support itself if i build it in reality? for example imagine that each structure is conformed by a group of boxes one over the others made with repeat,i would like to add

Re: [PD] Pd seriell printers (fwd)

2009-03-03 Thread Mathieu Bouchard
I don't know why anyone still uses iem.kug.ac.at... is it an old address? Anyway, I re-send my reply just in case it's not getting through. -- Forwarded message -- Date: Tue, 3 Mar 2009 09:53:34 -0500 (EST) From: Mathieu Bouchard ma...@artengine.ca To: bra...@subnet.at Cc: Pd

Re: [PD] Pd seriell printers

2009-03-03 Thread Mathieu Bouchard
On Tue, 3 Mar 2009, bra...@subnet.at wrote: Does anybody Know how to control a dot matrix printer troughout the seriell port First you need to install the [comport] class or any equivalent. It's best to use my hacked version because none of the other versions can't handle flow-control

[PD] Call for GSoC mentors! March 9th deadline!

2009-03-03 Thread Hans-Christoph Steiner
Hey all, The Google Summer of Code ((http://code.google.com/soc/) application is due very soon, March 9th, and we need mentors! At this point, you just need to put down your name. Then once the projects are in, we'll choose projects and who will mentor them. You will then work with a

Re: [PD] Call for GSoC mentors! March 9th deadline!

2009-03-03 Thread Georg Holzmann
Hallo! I started to put ideas together at the following WIKI page: http://puredata.info/dev/summer-of-code/GoogleSummerOfCodeIdeas2009 If you are interested joining one project as a mentor, please just add your name in the list of possible mentors ... Please also add your projects using the

Re: [PD] Call for GSoC mentors! March 9th deadline!

2009-03-03 Thread Georg Holzmann
Hallo again ! I added now quite some projects from last year to the WIKI page: http://puredata.info/dev/summer-of-code/GoogleSummerOfCodeIdeas2009 Please look through them and correct my bad english and/or add additional resources and ideas ! @Hans: I added you to some projects as mentor, I

Re: [PD] pd-extended on ubuntu intrepid: troubles

2009-03-03 Thread Ilias Anagnostopoulos
Hey Athos, I don't remember if there is a menu item coming with the package. If not, just start it from the terminal by typing: pd and pressing enter. You can manually add a menu item if there isn't one with the package, at least until I (or anybody else) find enough time to add one and

Re: [PD] pd and tcp: what to do against crashes?

2009-03-03 Thread PSPunch
Hi Martin, From my understanding, the alternative to using multiple threads/processes would be to set the socket to non-blocking and implement a Pd object that buffers the messages requested to be sent. Then attempts to retry sending what the OS once rejected should be made. It seems

Re: [PD] pd and tcp: what to do against crashes?

2009-03-03 Thread Roman Haefeli
On Mon, 2009-03-02 at 18:51 -0500, Martin Peach wrote: Roman Haefeli wrote: On Sun, 2009-03-01 at 22:53 -0500, Martin Peach wrote: So I made [tcpserver] send the messages one byte at a time. This latest version should not block, since it adds only one element to the buffer for each

Re: [PD] pd-extended on ubuntu intrepid: troubles

2009-03-03 Thread Athos Bacchiocchi
Ilias Anagnostopoulos ha scritto: I don't remember if there is a menu item coming with the package. If not, just start it from the terminal by typing: pd and pressing enter. You can manually add a menu item if there isn't one with the package, at least until I (or anybody else) find

Re: [PD] pd and tcp: what to do against crashes?

2009-03-03 Thread Roman Haefeli
On Wed, 2009-03-04 at 00:45 +0100, Roman Haefeli wrote: how do i know, when the [tcpserver] socket is ready to transmit another byte? do i have to nag it every ms with a message? if i go the BYTE-AT-A-TIME route, the interval would even need to be slower, if higher troughput should be

Re: [PD] pd and tcp: what to do against crashes?

2009-03-03 Thread Roman Haefeli
On Wed, 2009-03-04 at 00:45 +0100, Roman Haefeli wrote: how do i know, when the [tcpserver] socket is ready to transmit another byte? do i have to nag it every ms with a message? if i go the BYTE-AT-A-TIME route, the interval would even need to be slower i either wanted to say 'lower' or

Re: [PD] pd and tcp: what to do against crashes?

2009-03-03 Thread Roman Haefeli
On Tue, 2009-03-03 at 18:44 +0900, PSPunch wrote: i really wonder, how other projects handle that. i mean, if several people download a big file from apache, then a disappearing client doesn't interfere with the other clients. i guess, in apache it is solved by using threads. when using

Re: [PD] pd and tcp: what to do against crashes?

2009-03-03 Thread Roman Haefeli
On Wed, 2009-03-04 at 08:08 +0900, PSPunch wrote: The earlier sounds like to introduce massive overhead caused by TCP headers, especially when we are speak of sending amounts of data that may flood the socket's send buffer. In the later case, the OS may indicate that bytes entered the

[PD] httpget: fun with tcpclient and pdstring

2009-03-03 Thread Hans-Christoph Steiner
I made [httpget] for fetching webpages into pd: httpget-help.pd Description: Binary data httpget.pd Description: Binary data .hc http://at.or.at/hans/