Re: [Math] Serializable (again)

2012-05-28 Thread Heinz Kredel
Am Dienstag 22 Mai 2012, 11:28:27 schrieb Gilles Sadowski: > On Sun, May 20, 2012 at 09:40:25PM +0200, Heinz Kredel wrote: > > Am Dienstag 15 Mai 2012, 23:25:46 schrieb Gilles Sadowski: > > > Hello. > > > > > > > as I am also interested in short term serialization just for > > > > moving > > > > o

Re: [Math] Serializable (again)

2012-05-22 Thread Gilles Sadowski
On Sun, May 20, 2012 at 09:40:25PM +0200, Heinz Kredel wrote: > Am Dienstag 15 Mai 2012, 23:25:46 schrieb Gilles Sadowski: > > Hello. > > > > > as I am also interested in short term serialization just for moving > > > objects between a distributed virtual machines and not in long term > > > serial

Re: [Math] Serializable (again)

2012-05-20 Thread Heinz Kredel
Am Dienstag 15 Mai 2012, 23:25:46 schrieb Gilles Sadowski: > Hello. > > > as I am also interested in short term serialization just for moving > > objects between a distributed virtual machines and not in long term > > serialization, I would support the discussion up to now. To express our > > inte

Re: [Math] Serializable (again)

2012-05-15 Thread Gilles Sadowski
On Tue, May 15, 2012 at 12:50:15PM +0200, Axel wrote: > Hi > > In my opinion for more advanced uses it makes sense to use tools like > Googles protocol-buffers for serialization: > http://developers.google.com/protocol-buffers/docs/javatutorial This is indeed one possibility (which by the way sho

Re: [Math] Serializable (again)

2012-05-15 Thread Gilles Sadowski
Hello. > > as I am also interested in short term serialization just for moving objects > between a distributed virtual machines and not in long term serialization, I > would support the discussion up to now. To express our intentions we could > make an interface, say > > public interface Tr

Re: [Math] Serializable (again)

2012-05-15 Thread Heinz Kredel
Hi, for long term serialization I would also look for an other mechanism than implementing Serializable. I would prefere an ASCII/JSON/XML kind of externalizable format. This would have the advantage of not being limited Java, but open for processing with other languages. I did not see use ca

Re: [Math] Serializable (again)

2012-05-15 Thread Axel
Hi In my opinion for more advanced uses it makes sense to use tools like Googles protocol-buffers for serialization: http://developers.google.com/protocol-buffers/docs/javatutorial The main advantage is, that you can share data with applications written in C++ or Python. -- Axel Kramer ---

Re: [Math] Serializable (again)

2012-05-15 Thread Heinz Kredel
Hi all, as I am also interested in short term serialization just for moving objects between a distributed virtual machines and not in long term serialization, I would support the discussion up to now. To express our intentions we could make an interface, say public interface Transportable ex

Re: [Math] Serializable (again)

2012-05-13 Thread Gilles Sadowski
> [...] > > > > Hmm, a "PointValuePair" is not a "Pair"... That's an original view. :-) ^^^ > > I am not sure whether this was an attempt at humor or not. See . > > My point is not that PointValuePair is not a pair (w

Re: [Math] Serializable (again)

2012-05-13 Thread Luc Maisonobe
Le 12/05/2012 19:10, Gilles Sadowski a écrit : >> [...] >>> >>> I have tried to set up a clean serialization process for the classes >>> that needs it, starting with the PointValuePair class as requested in >>> [MATH-787]. >>> >>> It turns out several previous choices completely prevent this to be

Re: [Math] Serializable (again)

2012-05-12 Thread Gilles Sadowski
> [...] > > > > I have tried to set up a clean serialization process for the classes > > that needs it, starting with the PointValuePair class as requested in > > [MATH-787]. > > > > It turns out several previous choices completely prevent this to be done. > > > > At the beginning, we had a Poin

Re: [Math] Serializable (again)

2012-05-12 Thread Jörg Schaible
Luc Maisonobe wrote: > Hi all, > > Le 09/05/2012 13:41, Gilles Sadowski a écrit : >> On Wed, May 09, 2012 at 07:03:58AM -0400, James Carman wrote: >>> On Wed, May 9, 2012 at 3:03 AM, Luc Maisonobe >>> wrote: > Is there such a thing as short-term serialization? Yes, of course, and t

Re: [Math] Serializable (again)

2012-05-12 Thread Luc Maisonobe
Hi all, Le 09/05/2012 13:41, Gilles Sadowski a écrit : > On Wed, May 09, 2012 at 07:03:58AM -0400, James Carman wrote: >> On Wed, May 9, 2012 at 3:03 AM, Luc Maisonobe wrote: Is there such a thing as short-term serialization? >>> >>> Yes, of course, and this what many people need. This is wh

Re: [Math] Serializable (again)

2012-05-09 Thread Gilles Sadowski
On Wed, May 09, 2012 at 07:03:58AM -0400, James Carman wrote: > On Wed, May 9, 2012 at 3:03 AM, Luc Maisonobe wrote: > >> Is there such a thing as short-term serialization? > > > > Yes, of course, and this what many people need. This is what James > > called marshalling/unmarshalling. This is a st

Re: [Math] Serializable (again)

2012-05-09 Thread Sébastien Brisard
Hi James, 2012/5/9 James Carman : > On Wed, May 9, 2012 at 7:10 AM, Sébastien Brisard > wrote: >> Setting aside the discussion on serialization, this would probably be >> a nice extension. The problem is to find a good (as in "widely used") >> standard. Do you think the file formats used by R are

Re: [Math] Serializable (again)

2012-05-09 Thread James Carman
On Wed, May 9, 2012 at 7:10 AM, Sébastien Brisard wrote: > Setting aside the discussion on serialization, this would probably be > a nice extension. The problem is to find a good (as in "widely used") > standard. Do you think the file formats used by R are good candidates > (meaning: used outside

Re: [Math] Serializable (again)

2012-05-09 Thread Sébastien Brisard
Hi James, 2012/5/9 James Carman : > On Wed, May 9, 2012 at 3:03 AM, Luc Maisonobe wrote: >>> Is there such a thing as short-term serialization? >> >> Yes, of course, and this what many people need. This is what James >> called marshalling/unmarshalling. This is a standard way to communicate >> be

Re: [Math] Serializable (again)

2012-05-09 Thread James Carman
On Wed, May 9, 2012 at 3:03 AM, Luc Maisonobe wrote: >> Is there such a thing as short-term serialization? > > Yes, of course, and this what many people need. This is what James > called marshalling/unmarshalling. This is a standard way to communicate > between some applications that share a commo

Re: [Math] Serializable (again)

2012-05-09 Thread Luc Maisonobe
Hi Gilles, Le 08/05/2012 23:05, Gilles Sadowski a écrit : > On Tue, May 08, 2012 at 02:55:47PM -0400, James Carman wrote: >> I don't know that you want to get into supporting long-term >> serialization support. I would say CM should support transient >> serialization (if that makes any sense), su

Re: [Math] Serializable (again)

2012-05-08 Thread Gilles Sadowski
On Tue, May 08, 2012 at 02:55:47PM -0400, James Carman wrote: > I don't know that you want to get into supporting long-term > serialization support. I would say CM should support transient > serialization (if that makes any sense), such as > marshalling/unmarshalling. If you guarantee long-term s

Re: [Math] Serializable (again)

2012-05-08 Thread Gilles Sadowski
On Tue, May 08, 2012 at 08:43:53PM +0200, Thomas Neidhart wrote: > On 05/08/2012 01:44 PM, Gilles Sadowski wrote: > > > Sorry to correct you: It was removed because it was not implemented > > properly. As a matter of principle, it is better to not support something > > rather to give a false sense

Re: [Math] Serializable (again)

2012-05-08 Thread James Carman
I don't know that you want to get into supporting long-term serialization support. I would say CM should support transient serialization (if that makes any sense), such as marshalling/unmarshalling. If you guarantee long-term serialization support (reading data from serialized for much later, per

Re: [Math] Serializable (again)

2012-05-08 Thread Thomas Neidhart
On 05/08/2012 01:44 PM, Gilles Sadowski wrote: > Sorry to correct you: It was removed because it was not implemented > properly. As a matter of principle, it is better to not support something > rather to give a false sense of what can be done with the code. I do not want to start a heated discus

Re: [Math] Serializable (again)

2012-05-08 Thread Gilles Sadowski
On Tue, May 08, 2012 at 01:22:38PM +0200, Sébastien Brisard wrote: > Hello, > > 2012/5/8 Thomas Neidhart : > > On Tue, May 8, 2012 at 12:24 PM, Gilles Sadowski < > > gil...@harfang.homelinux.org> wrote: > > > >> > I am in favor of this second option: add Serializable were needed upon > >> > > requ

Re: [Math] Serializable (again)

2012-05-08 Thread Gilles Sadowski
On Tue, May 08, 2012 at 12:51:28PM +0200, Thomas Neidhart wrote: > On Tue, May 8, 2012 at 12:24 PM, Gilles Sadowski < > gil...@harfang.homelinux.org> wrote: > > > > I am in favor of this second option: add Serializable were needed upon > > > > request. > > > > > > +1 > > > > +1 > > > > > > In t

Re: [Math] Serializable (again)

2012-05-08 Thread Sébastien Brisard
Hello, 2012/5/8 Thomas Neidhart : > On Tue, May 8, 2012 at 12:24 PM, Gilles Sadowski < > gil...@harfang.homelinux.org> wrote: > >> > I am in favor of this second option: add Serializable were needed upon >> > > request. >> > >> > +1 >> > > +1 > > >> > > In this case, the request seems fair as the

Re: [Math] Serializable (again)

2012-05-08 Thread Thomas Neidhart
On Tue, May 8, 2012 at 12:24 PM, Gilles Sadowski < gil...@harfang.homelinux.org> wrote: > > I am in favor of this second option: add Serializable were needed upon > > > request. > > > > +1 > +1 > > > In this case, the request seems fair as the class is mainly a > > > simple container for two va

Re: [Math] Serializable (again)

2012-05-08 Thread Gilles Sadowski
Hello. > >> > >> There is another complaint about some class not being "Serializable": > >>   https://issues.apache.org/jira/browse/MATH-787 > >> > >> I don't want to argue all over again. > >> > >> We should probably add a section in the user guide stating the policy with > >> regards to this iss

Re: [Math] Serializable (again)

2012-05-08 Thread sebb
On 8 May 2012 10:26, Luc Maisonobe wrote: > Le 07/05/2012 22:16, Gilles Sadowski a écrit : >> Hi. > > Hi Gilles, > >> >> There is another complaint about some class not being "Serializable": >>   https://issues.apache.org/jira/browse/MATH-787 >> >> I don't want to argue all over again. >> >> We sh

Re: [Math] Serializable (again)

2012-05-08 Thread Luc Maisonobe
Le 07/05/2012 22:16, Gilles Sadowski a écrit : > Hi. Hi Gilles, > > There is another complaint about some class not being "Serializable": > https://issues.apache.org/jira/browse/MATH-787 > > I don't want to argue all over again. > > We should probably add a section in the user guide stating

[Math] Serializable (again)

2012-05-07 Thread Gilles Sadowski
Hi. There is another complaint about some class not being "Serializable": https://issues.apache.org/jira/browse/MATH-787 I don't want to argue all over again. We should probably add a section in the user guide stating the policy with regards to this issue. The problem is that I don't know what