Page 2 of 2

Re: New npTalk NeoPlugin for NeoBook

PostPosted: Sat Oct 26, 2013 4:59 pm
by dec
Hello,

I can't forget the "ghost" image, but (right now) also can't found a solution. Probably the problem is not in the base 64 actions from npUtil. In my tests I always get the same results. On the other hand has no sense to me the difference (JUST ONE BYTE) between the first and the second and succesive shippings. This difference is not at the beginning or at the end, and really I can't imagine the reason of such difference.

Apparently is possible to get the desired result if we send some text before the first image. Maybe this is not a problem, because always we can send a "hello" from our clients to the server before send any image. The server can just ignore this salute or maybe answer with other. This apparently solve the problem, but do not explain this and I am not sure if we can count everytime with this "solution".

Maybe I can catch this at the end... I am also interested in what can be happend here. :?

Re: New npTalk NeoPlugin for NeoBook

PostPosted: Sun Oct 27, 2013 2:23 am
by schmutly
OK, no worries David.
don't worry to much.. thats a good idea though.
I might put a counter on both, set to one obviously
and if SET to one will clear that image window a be ready
for the rest...in fact i might do this on start up so it happens
without him/me having to do that...so there is a way around it :P
It is odd..on Saturday, for a joke, i remotely connected into his Aussie workstation
late at night and did about 20 images of all different sizes, all 19 good but first as we know is corrupt.
I had not sent ANY from his to mine..so upon sending the FIRST one it was
corrupt, how crazy...then sent only about 4 after that and they were fine.
Maybe its only my connection..i am in China you know (say no more..however
i've tried them all (VPNs) and ExpressVPN using Hong Kong location gives me
about 700-900kb/s on average so thats good (and totally off topic,sorry :P)
ok, you have spent enough time on it so don't do anymore...the plugin is
doing MORE than what you made it for so that's appreciated,
Seeya,
Rob

Re: New npTalk NeoPlugin for NeoBook

PostPosted: Thu Oct 31, 2013 1:03 pm
by David de Argentina
Hi dec,

If you ZIP the string (or file) to be transfer, instead mime/base64 encode, you will send less data, the transfer will be fast...
Zip'ed files are plain text
This is the way that MySQL and SQLite works...

My 0,01
David de Argentina

Re: New npTalk NeoPlugin for NeoBook

PostPosted: Thu Oct 31, 2013 7:55 pm
by schmutly
Hi David,
i cant seem to get it working with zipping it.
What zip plugin you suggest ?..i tried npzip.

Rob

Re: New npTalk NeoPlugin for NeoBook

PostPosted: Fri Nov 01, 2013 3:14 am
by dec
Hello,

schmutly wrote:Hi David,
i cant seem to get it working with zipping it.
What zip plugin you suggest ?..i tried npzip.

Rob


Probably npZip can't help here since they compress or uncompress files but not strings.

Re: New npTalk NeoPlugin for NeoBook

PostPosted: Fri Nov 01, 2013 3:33 am
by schmutly
Hi David,
yes but were talking about the "image" transfer...or rather i was :)
I thought he meant zip the JPG then send it.
No probs...thanks,
Rob