Better HN
topnewbestaskshowjobs
Log inSign up

hexxagone

84 karma · joined Aug 18, 2021 (5y ago) · 26 submissions

Submissions

comment 1mo ago · link · parent

People like to blame the bureaucrats in Brussels for everything. They have nothing to do with the decision of the Danish government.

comment 8mo ago · link · parent

Then you should take a look at https://github.com/flanglet/kanzi-cpp: it is optimized for fast roundtrips, multi-threaded by design and produces a seekable bitstream.

comment 8mo ago · link · parent

In the LZ high compression regime where LZ can compete in terms of ratio, BWT compressors are faster to compress and slower to decompress than LZ codecs. BWT compressors are also more amenable to parallelization (check bsc and kanzi for modern implementations besides bzip3).

comment 8mo ago · link · parent

Notice that bzip3 has close to nothing to do with bzip2. It is a different BWT implementation with a different entropy codec, from a different author (as noted in the GitHub description "better and stronger spiritual successor to BZip2").

comment 2y ago · link · parent

There are experts working at the commission.

6.

Show HN: Kanzi, fast lossless data compression(github.com ↗)

15 points · by hexxagone · 2y ago · 3 comments

comment 2y ago · link · parent

Is BFMTV also biased when reporting words directly from the mouth of Piotr Tolstoi or are you just trolling ?

comment 2y ago · link · parent

You mean like Piotr Tolstoi talking about nuking Paris on BFMTV just today ? (https://fr.yahoo.com/news/calcule-proche-vladimir-poutine-%C...).

comment 4y ago · link · parent

It is not. Just look at the frequencies in the data (histogram) and compute the order 0 entropy. Then you know if your data is compressible.

comment 4y ago · link · parent

Go does not have threads but something like "tasks". The fact that no thread handle is exposed allows for transparently moving these tasks across threads if the scheduler decides so.

"go makes concurrency a first-class concept" I think it usually refers to goroutines being built in the language.

"Go is abnormally dangerous when it comes to concurrency IMO". Personnally, it has not been my experience with Go concurrency. However I have hit some issues when trying to ocrhestrate tasks via channels and ended up resorting to atomics to do the job.

comment 4y ago · link · parent

the "god particle" was actually the "goddamn particle" https://www.businessinsider.com/why-the-higgs-is-called-the-...

comment 4y ago · link · parent

"Ukraine did not behave reasonably" UH ?

comment 4y ago · link · parent

"Turns out a good arith coder is much faster". Citation needed.

comment 4y ago · link · parent

In data compression, inverting a BWT with large blocks or using Context Mixing to compress large blocks (which requires huge context maps). These 2 cases require a lot of random memory accesses.

comment 5y ago · link · parent

I am sure the Scotts and Irish are thrilled by the change.

comment 5y ago · link · parent

Arguably the EU is enforcing the rights of their citizens more than in many other places (eg. GDPR). Ultimately the EU citizens should vote when there are parliament elections instead of complaining about the bureaucrats afterwards. Only 50% turnout last time.

comment 5y ago · link · parent

If you knew anything about the EU institutions, you would know that the Commission's role is only to enforce rules that member states have agreed upon but it has _no_ power. Of course facts do not fit with the Brexiters' rhetoric.

comment 5y ago · link · parent

No mention of Louis Pasteur ? Odd.

comment 5y ago · link · parent

Isn't it how free markets work ?

comment 5y ago · link · parent

The Huffman encoding loop is 2 lines and decoding loop is 4 lines of branchless code. Do you have an example of branchless arithmetic encoder or decoder ?

comment 5y ago · link · parent

pigz is no match for zstd...

comment 5y ago · link · parent

"Arithmetic coding is much, much simpler." Let us agree to disagree. "And decompression speed is not a limiting factor in most applications of data compression like this". It depends on the application. Zstd and Brotli are certainly aiming at the fastest decompression speed possible.

comment 5y ago · link · parent

"FSE achieves markedly higher compression ratio". I do not thin it is true, FSE/ANS achieves slightly better ratios in general. Zstd uses both Huffman (for large alphabets) and FSE (for small alphabets).

comment 5y ago · link · parent

PAQ and PPM are not fast, certainly not in the same category as LZ codecs.

comment 5y ago · link · parent

Huffmann is rather simple and hard to beat in decompression speed.

comment 5y ago · link · parent

You mean like zstd and brotli ? Is there any new LZ codec not using Huffman ?