Andrew Aladjev

Results 49 comments of Andrew Aladjev

The only one option is ruby 2.3.8. We have to rewrite it from scratch because API changed in 2.4 completely. I have no time to do it.

I've figured out how to use new native socks support. ``` rvm reinstall ruby-2.5.5 -C --enable-socks ``` It is required because default socks support is disabled. ``` require "net/ftp" ENV["SOCKS_SERVER"]...

Workaround: ``` environment: matrix: - job_name: Ubuntu appveyor_build_worker_image: Ubuntu2004 APPVEYOR: True CI: True ```

LZW `compress` is old. The problem is that it was used all over the world for creating `smth.tar.Z` and content via ancient web servers. Today nobody will try to use...

I've investigated this question. I am not able to read this idea in `ncompress`, it is not readable, but we have [LZW AB](https://github.com/dbry/lzw-ab/blob/master/lzw-lib.c#L226-L228) instead: ``` prev_code = prefixes[code] last_symbol =...

We want to reset when `(s + m) / (d + n) < s / d`. `m` is new source bytes `m >= 10000`, `n` is new destination bytes length....

I've found a small issue: ``` outbuf[0] = MAGIC_1; outbuf[1] = MAGIC_2; outbuf[2] = (char)(maxbits | block_mode); boff = outbits = (3 3) - HEADER_BYTES_LENGTH) ``` Main condition is a...

I couldn't decode this ["bomb"](https://github.com/vapier/ncompress/blob/ncompress-4.2.4/compress42.c#L1455): ``` boff = outbits = (outbits-1)+((n_bits

@vapier, Hello, could you please describe what is boff? Let's try to simplify it. ``` boff = outbits = (outbits-1)+((n_bits

@vapier, I've just finished implementing decompressor and I can confirm that I can't decompress ncompress output because of zeroes provided by formula above. I wan't ever touch this formula if...