Łukasz Jagodziński
Łukasz Jagodziński
@aldeed but how to convert `ReadStream` to `Buffer` using `data-man` package? In `cfs:file-tests` is no code doing that. You only get data from temp file which is not the case...
I could only get `Buffer` using that code: ``` js var dataMan = new DataMan('http://localhost:3000' + thumbnail.url(), thumbnail.type()); dataMan.getBuffer(function (err, buffer) { console.log(buffer); }); ``` (Need to install `cfs:data-man` before...
@aldeed when I'm using GridFS and above code I get error `Error: DataMan constructor received data that it doesn't support`. When I use FileSystem I doesn't get any error but...
Ok nice, now I'm using my custom implementation of it to HTTP request synchronous, but it's not perfect.
`DataMan` apparently doesn't detect ReadStream as a `Stream.Readable` so I've tried make little workaround and execute DataMan code manually: ``` js var readStream = thumbnail.createReadStream(); var dataMan = new DataMan.ReadStream(readStream,...
I think it's not event implemented: https://github.com/CollectionFS/Meteor-data-man/blob/master/server/data-man-readstream.js#L24 Am I right?
@icellan It doesn't work for me. First I've tried using your approach with wrapAsync but, that returned error. Next, I've tried asynchronous version to just check if it works at...
Ok it works but I had to use `data` event instead of `readable`.
IMHO support for package.json is crucial for the `entropic` to be successful. It will never become mainstream if you have to learn from scratch instead of going incementaly. Take a...
Yep at some point I though about it. However, now I changed my mind and honestly I think ORMs are only good for very simple CRUD operations and for everything...