Jack Palevich

Results 27 comments of Jack Palevich

Hmm, I see the problem is that console writes to stdout, which Android black-holes. So maybe it would be better to provide a separate android log API, and maybe a...

Thanks! On Jul 10, 2012 12:04 PM, "NomadLibra" < [email protected]> wrote: > You can redirect stdio to logcat. > > $ adb shell stop > $ adb shell setprop log.redirect-stdio...

Glad to hear the code is somewhat useful! However, I'm sorry to report that I haven't kept up with Linux or Android development, so I can't help you debug this...

Sounds reasonable. You should include tests.

Ugg, you're right. Thanks for the bug report. I think the best thing to do is change the Unmarshal() API to take a bufio.Reader. That would be a breaking API...

I guess another approach would be to have a whole separate (probably slower) code path for io.Readers that didn't read ahead more than the minimum necessary to decode. The advantage...

That's a good idea, it would fix the issue when the reader was an io.ReadSeeker. But it doesn't fix the issue for clients that don't implement io.Seeker. For a pure...

Thank you for reporting this issue! Unfortunately I don't have a Windows machine to run the sample executable that you have provided. (And if I did, I would be worried...

I read through the source code for bencode-go/struct.go, and it looks like this panic can happen when trying to deserialize a bencode integer into a go struct that has a...

Thanks! Very thoughtful of you to offer.