Distributing files

11 views
Skip to first unread message

Gonzalo Rodríguez-Baltanás Díaz

unread,
Oct 16, 2010, 7:22:46 PM10/16/10
to ruby...@googlegroups.com
First!

:)

Good to have a list ^_^

I need to share two kinds of file over the distributed network.

Text file: That is just a povray scene.

Image file: That is the resulting render file.

The text file could be distributed by just dumping the text to a String.

I used google and found that the only limit to Ruby String Object is just the memory of the machine, so I don't anticipate any problem for that part.

But I wonder about the image file. Could a image file be marshaled with the same process that a text file?

Regards,
Gonzalo

Guillaume Luccisano

unread,
Oct 16, 2010, 10:09:41 PM10/16/10
to ruby...@googlegroups.com
Hi,

It's the same for the image file, just read the file, and write it over the network !

Good luck with your project.

2010/10/16 Gonzalo Rodríguez-Baltanás Díaz <sio...@gmail.com>

Gonzalo Rodríguez-Baltanás Díaz

unread,
Oct 17, 2010, 12:09:21 PM10/17/10
to ruby...@googlegroups.com

Nice, every day I like Ruby more and more :)

The project is developing quite fast:

And it is my first Ruby project, beside a couple of Rails websites. Ruby is pure magic, just works. 

RSpec and Cucumber are awesome too! I am reading the Book "The RSpec Book: Behaviour Driven Development with RSpec, Cucumber, and Friends" while developing DPovray. Behaviour Driven Development just feels the right way.

Thanks for your help!
Reply all
Reply to author
Forward
0 new messages