Hi guys, Frequently I need to serialize contents from an inspector/explorer for later work or because image cannot work with big data sets. Do you find yourself doing this from an inspector? FLSerializer serialize: self toFileNamed: 'MyBigArrayOrString.FL' Is there a reason for not having a "Serialize" menu entry in the Raw palette? On the other side, from the File Browser a "Materialize" could be added for .FL files. What do you think? |
> On 12 Mar 2016, at 21:27, Hernán Morales Durand <[hidden email]> wrote: > > Hi guys, > > Frequently I need to serialize contents from an inspector/explorer for later work or because image cannot work with big data sets. > Do you find yourself doing this from an inspector? > > FLSerializer serialize: self toFileNamed: 'MyBigArrayOrString.FL' > > Is there a reason for not having a "Serialize" menu entry in the Raw palette? Good idea. > On the other side, from the File Browser a "Materialize" could be added for .FL files. I think this already exists, but the extension should be .fuel (just .FL is to simple). > What do you think? > > Cheers, > > Hernán > |
In reply to this post by hernanmd
On Sat, Mar 12, 2016 at 5:27 PM, Hernán Morales Durand <[hidden email]> wrote:
Sure. And as you said, I would serialize the contents (the object being inspected) instead of the inspector. Because the inspector may reach UI elements and lots of stuff. Or... serialize the inspector, but be sure to use Fuel provided hooks to cut the graph to be traversed that you know that it may bring lot of unneeded stuff. |
In reply to this post by hernanmd
Package it with Fuel :)
Le 12/3/16 21:27, Hernán Morales Durand a écrit : > Hi guys, > > Frequently I need to serialize contents from an inspector/explorer for > later work or because image cannot work with big data sets. > Do you find yourself doing this from an inspector? > > FLSerializer serialize: self toFileNamed: 'MyBigArrayOrString.FL' > > Is there a reason for not having a "Serialize" menu entry in the Raw > palette? > On the other side, from the File Browser a "Materialize" could be > added for .FL files. > > What do you think? > > Cheers, > > Hernán > |
Hernán 2016-03-13 8:45 GMT-03:00 stepharo <[hidden email]>: Package it with Fuel :) |
Thanks Hernán.
Just for completeness: theres Object>>serializeToFileNamed: as a “shorthand”. Cheers, Max
|
Free forum by Nabble | Edit this page |