Re: [Pharo-users] Making STON exportation lighter

2016-03-26 Thread Sven Van Caekenberghe
Very good ! > On 26 Mar 2016, at 17:08, Offray Vladimir Luna Cárdenas > wrote: > > Hi, > > On 25/03/16 13:10, Offray Vladimir Luna Cárdenas wrote: > > [...] >> >> The next step is to made STON DVCS friendly by removing long lines [2] >> >> [2] >> http://forum.world.st/Citizen-example-for-m

Re: [Pharo-users] Making STON exportation lighter

2016-03-26 Thread Offray Vladimir Luna Cárdenas
Hi, On 25/03/16 13:10, Offray Vladimir Luna Cárdenas wrote: [...] The next step is to made STON DVCS friendly by removing long lines [2] [2] http://forum.world.st/Citizen-example-for-manipulating-a-bibtex-file-tp4784240p4822035.html Done since http://smalltalkhub.com/#!/~Offray/Grafosco

Re: [Pharo-users] Making STON exportation lighter

2016-03-25 Thread Offray Vladimir Luna Cárdenas
Thanks Mariano and Cyrill for your answers. The reason for trying to make STON lighter is to use it as a document format for interactive notebooks. When I saved the notebooks nodes from the graphical interface their content become Text instead of strings and it generated a lot of format informa

Re: [Pharo-users] Making STON exportation lighter

2016-03-04 Thread Mariano Martinez Peck
Not sure which is the reason of making it lighter, but you may also want to use a compressing stream so that the resulting stream is much smaller. On Thu, Mar 3, 2016 at 2:03 PM, Cyril Ferlicot wrote: > HI, > > There is a method in the class side of Object to override. This method > return all t

Re: [Pharo-users] Making STON exportation lighter

2016-03-03 Thread Cyril Ferlicot
HI, There is a method in the class side of Object to override. This method return all the instVar name that need to be serialized. You can override it to store only the text. For example: Text class >>stonAllInstVarNames "Override to encode my instances using a custom set of instance variabl

[Pharo-users] Making STON exportation lighter

2016-03-03 Thread Offray Vladimir Luna Cárdenas
Hi, I'm using STON as my notebook storage file format for grafoscopio[1]. One example of such notebooks is at [2], but they grow large easily. That's because STON serialize a lot of information of each node. A snipped of such info is something like [3], showed at the end of this mail. I remem