News for hackers. Stuff that matters.
Re:Do binary files contain more 1s or 0s? by uwydr on Tuesday November 12, 2019 @03:35PM (#21517861)
There's a Linux application called "ent" that calculates the entropy of a file. I use it to see if it's worth it to compress a file before I ship it somewhere else.
Re:Do binary files contain more 1s or 0s? by gigama on Tuesday November 12, 2019 @05:19PM (#21518809)
Elegant solution, learned something new today, thanks for posting.

$ ent -bc <filename>