The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
22 views

How to choose parameter for Golomb coding?

I am trying to implement Golomb coding, but I don't understand how it's tuned to obtain optimal code. It is said that Golomb coding uses a tunable parameter M to divide an input value into two ...
2
votes
4answers
237 views

What data cannot be compressed by huffman codes?

What kind of data cannot be compressed by using the huffman codes and why? I tried looking for the answer, but I only came across loss-less and lossy compression. I don't really understand what ...
0
votes
1answer
113 views

Algorithm for compression of a dictionary (words and definitions)

The theoretical situation is this: Let's say that we have a digital dictionary (by which I mean a traditional list of words and definitions, not an associative array). For the sake of simplicity, ...
-1
votes
1answer
84 views

Take dynamic PHP array, package up as separate files inside a single zip file

I have this dynamic data in PHP, but for each array record, I want to allow a downloadable option to save a zip archive of all records (each as a separate file). These are actually DNS zone records ...
3
votes
4answers
2k views

Fast compression in C++ and decompression in C#

Overview I am working on a client-server application. The client is written in C++ (working on Windows, planning to support Linux) and the server is a .NET RESTful service. I need to HTTP POST some ...
3
votes
2answers
217 views

Arithmetic Coding vs. Machine Numeric Precision

When subdividing intervals for arithmetic coding, the worst case scenario is that the final interval will have size 2^(1-n), where n is the number of unique symbols you are encoding. This will reach ...
2
votes
2answers
321 views

Arithmetic Coding Questions

I have been reading up on arithmetic coding and, while I understand how it works, all the guides and instructions I've read start with something like: Set up your intervals based upon the ...
4
votes
1answer
274 views

What should developers know about Windows executable binary file compression?

I'd never heard of this before, so shame on me, but programs like UPX can compress my files by 80% which is totally sweet, but I have no idea what the the disadvantages are in doing this. Or even ...
1
vote
1answer
126 views

Is it possible to modify a video codec + distribute it?

this is my first question on this particular stackexchange node, not sure if it's the most appropriate place for this question (if not, guidance to the appropriate node would be appreciated). the ...
3
votes
2answers
169 views

Where can I find good example of techniques to compact data in-memory? [closed]

I'm writing a Java framework to manipulate a large amount of data in-memory, where many "cells" that are near each other will have the same value. I'm looking for algorithms and/or techniques ...
4
votes
4answers
852 views

How effective are CSS, Javascript and HTML compression tools and is it worth to compress files?

I looked into minified versions of jQuery and also various online CSS & HTML compression tools. I tried compressing few CSS files and gained only 20-30% compression. Are these compression tools ...
0
votes
3answers
108 views

Should I decompress zips before I archive?

I am writing a small personal archiving tool. I frequently work with a lot of client databases for short periods, what my tool will do is in overnight batch jobs it will detach the database and zip up ...
0
votes
1answer
302 views

What's the best way to deal with large compressed files over FTP?

In my application, I'm getting product information files from an FTP server. They are text files that have been ZIP-compressed. At first, I thought uncompressed the file on the server then reading ...
1
vote
4answers
472 views

What web oriented language would work best with binary data?

I want to create a service where people can upload files. However, since file storage costs money, I want to compress the files so they take less space. I would want to write my own compression ...
4
votes
4answers
302 views

Randomly Accessing Data Packets in a Compressed File

In my line of work I deal with very large files, hundreds of Gigabytes in size. The nature of the data in these files is such that compression would greatly reduce their size. The problem is, the ...