Do you develop on GitHub? You can keep using GitHub but automatically sync your GitHub releases to SourceForge quickly and easily with this tool so your projects have a backup location, and get your project in front of SourceForge's nearly 20 million monthly users. It takes less than a minute. Get new users downloading your project releases today!
Posted
by
michael
from the take-that,-winzip dept.
n8willis writes: "There's a project called lzip at SourceForge that lets you compress your files down to 0% of their original size. How's it work? The "L" stands for "lossy.""
This discussion has been archived.
No new comments can be posted.
Batten down the hatches and hide the women and children -- April 1st is here again. The Register [theregister.co.uk] is already in the spirit. Believe nothing you read until, oh, say, Wednesday, just to be safe.
BTW, I wonder if I could use lzip's license on my next source distribution?
hmm... this makes me wonder if it was a good idea to compress my home directory with this thing...
(peter@mustard)-(/dev/tty1)-(~/lzip)
(Sat Mar 31)-(10:23pm) 13 > strings./lunzip
Goldfinger.
He's the man, the man with the midas touch.
A spider's touch.
Such a cold finger.
Beckons you to enter his web of sin
But don't go in.
Golden words he will pour in your ear,
But his lies can't disguise what you fear,
For a golden girl knows when he's kissed her,
It's the kiss of death from
Mister Goldfinger.
Pretty girl beware of this heart of gold
This heart is cold.
Golden words he will pour in your ear,
But his lies can't disguise what you fear,
For a golden girl knows when he's kissed her,
It's the kiss of death from
Mister Goldfinger.
Pretty girl beware of this heart of gold
This heart is cold.
He loves only gold,
Only gold.
He loves gold.
He loves only gold,
Only gold.
He loves gold.
(peter@mustard)-(/dev/tty1)-(~/lzip)
(Sat Mar 31)-(10:23pm) 14 >
reminds me of the gtk+ frontend to the unix 'true' prog.
If I devise a way to get back the info that is...er... 'compressed,' could that be a DMCA violation if someone else distributes their movies after being lzip'ped?
Jesus, then we're all in for a lot of psychotherapy.
The story is pretty musing but I didn't imagine anyone would even begin to believe it was real.
Even if you could readily imagine a use for seriously lossy data compression it's pretty clear such a mad program would be an April Fool.
You may as well have had the software written by Olaf Pilor.
The nice thing about it is that the "lzip" and "lunzip" utilities work on all modern platforms. I've tested them on Linux, Win32, MacOS and a WebTV so far.
That way you can boast to your buddies, ``You might be able to fit half a billion files with bzip on your 80 gig harddrive, but using this k-rad k3wl program I found, *I* can fit almost 80 BILLION files on it." And prove your l33t abilities with a simple ``ls -l | wc -l".
And they will be so humbled by this show of skill that they will give you the root password.
Contact: Foonly Bar Baz
Office: 810 McGraw Tower
E-Mail: fbb00@cornell.edu
CORNELL UNIVERSITY, ITHACA NY USA--Cryptographic 'Holy Grail' discovered!
Researchers at the U. Ezra Hardware Cryptography Facility at Cornell University have created a completely unbreakable means of cryptography that may be used in a wide variety of applications.
"It's all done in hardware," says Edward Wong Hau Pepelu Tivrusky IV, chief researcher at the facility. "We discovered that it is possible to mass-encrypt any magnetic media through the use of electrically-induced magnetic fields."
Unlike a simple kitchen magnet, the hardware developed by the team can generate encrypted data on the entire surface of a disk at once, speeding up what can be a laborious process on modern desktop computers.
"The idea came to us when Lain started generating Morse code with the bulk eraser and the floppy containing our research data," says Tivrusky. "We tried our darndest to get our data back, even set some grad students loaned from the math department on the problem, but nothing seemed to work. And that's when we realized we had something here."
The U.S. Department of Defense is considering the technology for use as a secret weapon against evil hacker terrorists.
"This is a watershed event in the war against hackers," says a colonel who wishes to remain anonymous. "If we can adapt this to encrypt network transmissions, we could protect our network traffic against rogue Russian teenagers, miscreants in black trenchcoats, and Keanu Reeves."
"Widespread use of this technology has the potential to change the way we use computers," says Tivrusky. "It's a story I'll be able to tell my kids someday."
I must be gullible,since it took me until section 3 (What do you mean I can't restore my files?) and a quick glance at my calendar to figure what the hell was going on.
here's the new source, it's much faster than the original, and the math is much more simple.
#!/bin/sh
rm -f $1
#end
Enjoy. Remember that the syntax is now lzip [filename]. I removed the need for the compression level, and hope to add recursion soon, though that will increase the size of the app.
Actaully, this is probably not the right forum for this, I'll put a page up on sourceforge.
Unisys and Compuserve have just announced that they also hold the patent for lossy compression and will be collecting royalties from all open and closed source implementations.
Okay, this one got me at first... I actually had to read the FAQ before I realized it... Hey! You try reading Slashdot on the morning of April fools day when you haven't slept in 36 hours! Then you just might have the right to laugh at me as hard as I'm laughing at myself right now...:-)
We went to a small small school, and so we got the same teacher all the time, and this guy had a total hard on for two things in life.. addition chains and sorting algorithms
well, after writing bubble sort in our 15th language, my friend gracefully went up to the VT101 which was hooked to a BarfoVision, and fired up his new, totally original sorting program..
the bars just kept flying across the screen.. and after about 15 seconds of this (it should have taken not much longer than a hit of the return button) he informed us that bogosort, while not efficient in the execution phase, was very efficient in the coding phase and theoretically would sort any array in n!/150 seconds...
randomizing is a cool way to cut down coding time.
Too bad it didn't get a foot logo! You should read the FAQ that goes with it. It's geek humor on par with the "Microsoft buys out the Holy Roman Catholic Church" spoof =:-)
On an enebriated saturday night, there's nothing that would have made my day more than this =;-)
"It utilizes a two-pass bit-sieve to first remove all unimportant data from the data set. Lzip implements this quiet effectively by eliminating all of the 0's. It then sorts the remaining bits into increasing order, and begins searching for patterns."
Not only did they revolutionize file compression using high-tech math, they managed to code it such that the executable (on x86 i assume) is a valid jpeg depicting a toy monkey with some bananas. Now *THAT* is art.
1. What is lzip?
Lzip is the most advanced file compression utility ever conceived. It is literally years ahead of gzip (though admittedly gzip was around first), and makes use of mathematical transforms the bzip developers have never even heard of.
So the lzip people know, exactly, the contents of the bzip developers heads? They'll be telepaths then.
2. What makes lzip different from gzip/bzip2?
The second is that the performance is vastly improved.
Tell me it takes longer to MP3 encode than it does to gzip or bzip2. (MP3 being the most used lossy codec, to slashdotters).
We're talking about a constant-time algorithm that can reduce a file down to 0% of its original size. What's not to like?
Contsant time - not linear. In otherwords, give it a large enough file, and it can compress it before it reads it all off the disk.
Compress down to 0% - I reffer the reader to the comp.compression FAQ [landfield.com], point 73. It's impossible.
3. What do you mean I can't restore my files?
On the reassuring side, it is important to note that the compression algorithm used by lzip only discards the unimportant data.
An algotithm that works on generic files, but can identify the important data in them. Guess all the compression research just got made useles then - identfying what parts of the data is important is impossible, only a human can do that [0].
8. What is the Lessiss-Moore algorithm?
It utilizes a two-pass bit-sieve to first remove all unimportant data from the data set. Lzip implements this quiet effectively by eliminating all of the 0's.
Uh-hu. Removes all the 0's. Do I really need to elaborate on that one.
Oh, and thier liscence is the FOOL liscence. Go figure.
[0] In MP3, a human came up with the psychoacoutstic model. The codec just applies that model. --
If someone ran Jon Katz through lzip, would anyone notice?
I believe that would require lbloat, not lzip.
First, let me point out the remarkable progress the new lbloat engine has made since it was demoed exactly one year ago [slashdot.org]. Read down toward the end of those reviews and you'll see one of the many quirks that have been fixed.
lbloat is great for anyone who needs to create long documents utilizing big words without having any real content to base them on. Students and advertisers are sure to find this "if you can't dazzle 'em with brilliance, baffle 'em with bullshit" strategy to be extremely useful.
lbloat is also capable of using its advanced Sensationalizing Technology(tm) to turn any small story into the perfect target for today's media. Witness the story a single geek, relentlessly persecuted by his peers, blossom into a 15,000,000-part "Hellmouth" series. Note how the title instils an instinctive sense of fear, dread, and anticipation in the reader, without needing any of that precious commodity known as content.
lbloat can be using in conjunction with lzip when it becomes necessary to misquote statements by a reliable source in order to further a contrasting viewpoint. Zip that Constitution down to nothing, and then bloat it up to the Communist Manifesto instantly! It's obviously the same document, since all we've done is compressed and decompressed it.
JonKatz is an advanced lbloat beta running on a limited distribution basis. In the meantime, check out WindowsME and Windows98, which take all of the three useful features of Windows95 and double the size and slow it down, all without providing any noticeable new features.
If Microsoft were to embrace a technology, they would need to then extend it. Any proper Microsoft satire is meaningless if it lacks the absurdly logical extension.
Try this instead:
Gates also announced that
Microsoft(R) ActiveLZip(R)(TM) would feature enhancements making it far superior to the Open Source Industry's offerings.
"Microsoft(R) ActiveLZip(R)(TM) is capable of creating compressed files significantly larger than the original, thanks to our meticulously designed Gigantitron technology," said Gates, refering to the code name for Microsoft's latest innovation. "Larger file size means files are a negative percent smaller than the original, and everyone knows that a negative size is smaller than the numbers that those "other" guys put out. Their claim of superiority is just another "Linux Myth." As usual, Microsoft's superior products give consumers another huge incentive to upgrade."
Gates also claimed that the new Microsoft(R) ActiveLZip(R)(TM) technology would be imployed in the next version of Windows, which would explain the amazingly small mere 2 gigabytes of memory used by recent beta versions of Microsoft(R) WindowsXP(R)(TM). Gates did not, however, offer an explanation of the seemingly random pairings of letters being used by Microsoft(R)'s Marketing Department to distinguish between the company's many offerings.
There was a great MS-DOS program which claimed to be a "compression utility." It would simply save pointers to the sectors upon which the original files existed, the file lengths and random data some 10% of the original size.
"Compressing" your files, erasing the originals and uncompressing again generally worked, as it seemed to have some intelligence about recovering deleted files instead of overwriting.
I found this program when a gullible friend lost most of his girlie porn collection to the thing and was crying for help.:)
Some of you seem to under the impression that the LZIP story is a joke.
I am the original designer of the program and would like to state that it is very very real!
LZIP works by compressing the files and, depending on the users choice of compression ratio, removing material from the lzip archive that may be considered offensive, non-PC, or suspicious in any way.
This makes it brilliant for compressing your MP3 collection down to a ner-zero byte file size, as all the nasty stuff the RIAA don't want you to have is discarded!
For anyone interested, you can download the latest version of LZIp from here:
Of course, you will notice that the filesize of the download is extremely small, due to the fact that it has been compressed with very high compression, and hence some parts have been discarded.;)
"How much truth can advertising buy?" - iNsuRge [insurge.com.au] - AK47
I just compressed my huge college Thesis with it. I won't need any back up when its that small! Now I'm just haveing a bit of trouble uncompressing it....
Great. Another "bright idea" from the open source community.
I've spent the past week or so working on getting IBM's WebSphere Advanced server up and running on my custom-compiled Mandrake/LFS system with kernel 2.4.2. Sybase 11.9.2, DB/2 7.1, and several JDKs are all in place, along with Borland's JBuilder Pro.
I've learned the basics of setting up OpenLDAP, downloaded the Kerberos source from MIT and was going to spend the weekend getting a fully functional environment completed.
However, it finally dawned on my thick skull that I'm going about this the wrong way. It's only taken me half the time to get things installed and configured under Linux as it has for NT (which still isn't fully functional.) How is a programmer supposed to make a living with a system that is cleanly structured, modular, and modifiable like Linux is?
As a result, I've decide that enough is enough. I'm going to reformat my hard drives for Win2K and drop this whole Linux thing. It's just too damned easy and I'll never be able to convince a client I'm worth my consulting rates if they ever realize that fact.
Even worse, how can I possibly maintain a steady revenue stream doing patches and fixes for updates when this damned Linux stuff refuses to crash and corrupt itself? The damned open source zealots are going to put all the programmers out of business!
I for one am going to try to convince my current client that we need to drop all the *nix servers and switch everything over to Microsoft. At least that way I know I'll be making some pocket money providing pager support.
Try this:
[fusion@destroyer lzip]# cat lunzip
Goldfinger.
He's the man, the man with the midas touch.
A spider's touch.
Such a cold finger.
Beckons you to enter his web of sin
But don't go in.
Golden words he will pour in your ear,
But his lies can't disguise what you fear,
For a golden girl knows when he's kissed her,
It's the kiss of death from
Golden words he will pour in your ear,
But his lies can't disguise what you fear,
For a golden girl knows when he's kissed her,
It's the kiss of death from
Mister Goldfinger.
Pretty girl beware of this heart of gold
This heart is cold.
Golden words he will pour in your ear,
But his lies can't disguise what you fear,
For a golden girl knows when he's kissed her,
It's the kiss of death from
Mister Goldfinger.
Pretty girl beware of this heart of gold
This heart is cold.
He loves only gold,
Only gold.
He loves gold.
He loves only gold,
Only gold.
He loves gold.
lzip is in binary, but I don't know what kind. it could be garbage.
That'd be "All your BYTE are belong to us." Pluralizing "base" was beyond Zero Wing's capabilities. ---- "Here to discuss how the AOL merger will affect consumers is the CEO of AOL."
If someone ran Jon Katz through lzip, would anyone notice?
Or...
lzip 1.0 bug found - when I ran a Jon Katz article through lzip and the file size INCREASED. I suspect it has to do with an entire file being composed of worthless bits but I'm not sure.
Or...
The US Government has been using this for months now, witness speeches by the Pres...
I am pretty sure this is a joke, as unless the data is somewhat specialized (sound, pictures, moving pictures, to name a few), then it is very difficult to quantify which parts of the data to get rid of when compressing.
You can't just take some random file, drop a few bits here and there, and expect it to be usable on the other side. It works for JPEG, MPEG video, and MPEG audio because they know precisely how human senses work. -----
It utilizes a two-pass bit-sieve to first remove all unimportant data from the data set. Lzip implements this quiet effectively by eliminating all of the 0's. It then sorts the remaining bits into increasing order, and begins searching for patterns...
The algorithm could be made faster by eliminating the sorting step. After all, once you remove the zeros, all you have left is ones. Thus, there is nothing to sort. I don't know about the rest of you, but I wouldn't trust my data to anything written by anyone who could miss such an obvious optimization.
I've just downloaded this thingy - since we're constantly running out of space on our CDs, I thought of lzip-compressing the emacs packages to save space (come on, any change to emacs including an exit(1); right after main() { makes this thing better;) )
Unfortunately, it doesn't work as expected.
I've hacked up a quick fix based on the same lossy algorithm. It's not quite as advanced as lzip (it's just kind of a preprocessor for gzip and bzip2), but it's quite efficient nevertheless...
It's shell code for now, if I have the time I'll optimize it by rewriting it in C.
#!/bin/sh
# lzip preprocessor
# (c) 2001 Red Hat, Inc.
#
# Released under the FO2L license, see
# lzip.sourceforge.net for details
#
if [ -z "$1" -o -n "$2" ]; then
echo "Usage: lzip filename"
exit 1
fi
dd if=/dev/zero of=$1 bs=1 \
count=`stat $1 |head -n2 |tail -n1 \
|cut -d" " -f4
echo "Preprocessing done. You can now gzip or bzip2 the file $1."
It's a picture of a sock monkey holding a bunch of bananas. Hence the "sock monkey wranglers" credit in the CREDITS file. It's just a JPEG, as far as I can tell.
They rejected my application for a Register Tariff 2001 Diamond+ card!
Our Liberian credit-checking agency has rejected your application. Please try again when you are solvent.
And I just found out what an evil company M$ is. I bet I was rejected because M$ bought them out. And worst of all, there TOS says that they can hand out my data to anybody if I use their service. AND I'VE BEEN USING IT FOR OVER A YEAR!
It all boils down to those damned Linux zealots. They keep making jokes about M$ and how bad it is, and it is so insane that it sounds like satire. They should have told me they were serious!
Ladies and Gents, before you get your panties all in a wad, please note that this is an APRIL FOOLS joke.
Come on... it is sooooo easy to spot too! If a file were compressed to 0% of its size, you would have no file. Thus, the compression scheme would be lossy.... it would LOSE the entire file! It could also be therefore constant time, since it can just assume each file is lost before doing any work. Come to think of it, this sounds sortta like del (or rm, depending on what OS and/or shell you like)
-------
-- russ
"You want people to think logically? ACK! Turn in your UID, you traitor!"
Another case of open-source programmers stealing ideas from Microsoft. Heck, Windows has been doing this kind of compression to random files on my hard drives for years!
Why I keep getting parse errors when I try to compile a Windows version using VC++ 6.0!
Too bad... I was looking forward to backing up all our Windows NT Server machines. On their forum, it claims that you can lzip Windows to 0KB and then lunzip it to just over 30KB because it removes all information that is not useful!
Founder of Microsoft Corproation, Bill Gates, announced today the release of a new compression engine for use in Microsoft Windows compressed volumes based on the popular Open Source LZip compression format.
"ActiveLZip will enable Windows users to achieve the kind of file compression they've always wanted and needed. Also, we've added several new features to the compression format you won't find in that low-end Open Source crap," Gates Said in an interview.
Gates went on to list the new featuers of ActiveLZip, including MicrosoftShred, a feature designed to encrypt documents before they are compressed, and MicrosoftIPRights, a feature designed to allow music distributors to designate rights on whate files can and cannot be compressed using ActiveLZip.
Initial usage reports from industry critics indicate that ActiveLZip doesn't quite compare to the open source products. Exhaustive testing on the lossy compression algorithm indicates that it is not capable of reproducing the 0% file-reduction size offered by the Open Source application. When questioned about this discrepancy, Microsoft Chairman, Steve Ballmer responded, "Leave me alone, Damnit! I'm trying to make sure that the Sate of New York is paying for all their Windows 2000 licenses".
While tinkering recently with Outguess [outguess.org], I took a simple image about 28k and used a 1k text file to combine it into a new image (steganography owns). Well in certain instances depending on what I decided to embed into the image, the image would drop in size to about 7k some times, and other times it would still drop in size. Only once did it ever go over 28k which was when I embedded about 50k worth of text into the image, which still looked crisp to the naked eye.
Just thought I would share this. At one point I was thinking about making a script to lower the sizing of the many pics I have on my porn [antioffline.com] section, but I never bothered.
I also noticed there were other tricks to saving space on files but again, never got around to mentioning them, maybe some time I will who knows.
...it makes me wonder if non-graphical applications of lossy compression might be worthwhile. I imagine the first time anyone suggested the idea, the response was something like: "lose data *intentionally*??? are you nuts?" But JPEGs are pretty durn popular.
Hmmm, let's see... I could LZIP my Perl code by taking out the comments and insignificant whitespace; that would probably render it every bit as understandable, so no problem there...
HTML pages? Get rid of every tag other than 'H*' and 'P'. Think of the possibilities: we could all go back to using NCSA Mosaic!
.o/.a files could be stripped of symbols. Debuggers are for wimps anyway (personally, I debug with printf()s and lots of coffee).
Mail messages could be stripped of
sigs and anything other than raw readable
text.
...and/. archives could be stripped of idiotic musings like this, of course.
This is a stupid joke. I was expecting a better joke from the slashdot community. It must be because the author stayed up late. A good April Fools day joke should be harder for people to guess. Stuff like "Duke Nukem Forever has gone gold!" or "John Romero is dead" (topic in #quake on efnet) just don't cut it.
Re:OK folks, it's april first EST... (Score:1)
And you are really stupid. (Score:1)
weird (Score:1)
hmm... 1 in 2^(2^(2^(2^2.2))) or so?
it could happen...
Even Better (Score:1)
Incoming... (Score:3)
BTW, I wonder if I could use lzip's license on my next source distribution?
For those interested... (Score:2)
Re:this is bunk, I think (Score:1)
Slashdot speak!
Read this as: Well, I _think_ I know what I'm talking about, but just in case I'm full of shit here's my disclaimer anyways©
It's still March 31st (Score:2)
strings ./lunzip (Score:2)
(peter@mustard)-(/dev/tty1)-(~/lzip)
(Sat Mar 31)-(10:23pm) 13 > strings
Goldfinger.
He's the man, the man with the midas touch.
A spider's touch.
Such a cold finger.
Beckons you to enter his web of sin
But don't go in.
Golden words he will pour in your ear,
But his lies can't disguise what you fear,
For a golden girl knows when he's kissed her,
It's the kiss of death from
Mister Goldfinger.
Pretty girl beware of this heart of gold
This heart is cold.
Golden words he will pour in your ear,
But his lies can't disguise what you fear,
For a golden girl knows when he's kissed her,
It's the kiss of death from
Mister Goldfinger.
Pretty girl beware of this heart of gold
This heart is cold.
He loves only gold,
Only gold.
He loves gold.
He loves only gold,
Only gold.
He loves gold.
(peter@mustard)-(/dev/tty1)-(~/lzip)
(Sat Mar 31)-(10:23pm) 14 >
Re:strings ./lunzip (Score:2)
it's a kinda wierd picture...
(peter@mustard)-(/dev/tty1)-(~/lzip)
(Sat Mar 31)-(11:35pm) 17 > file lzip
lzip: JPEG image data, JFIF standard
(peter@mustard)-(/dev/tty1)-(~/lzip)
(Sat Mar 31)-(11:35pm) 18 >
hehe... (Score:2)
If I devise a way to get back the info that is
Re:allright allright already! (Score:1)
The story is pretty musing but I didn't imagine anyone would even begin to believe it was real.
Even if you could readily imagine a use for seriously lossy data compression it's pretty clear such a mad program would be an April Fool.
You may as well have had the software written by Olaf Pilor.
Re:hahah.. love that algorithm name (Score:2)
Hey (Score:1)
No... I didn't try it. Really! No... that ISNT the backup tape set I'm holding...
---
Very funny... (Score:1)
Wow, that one was obvious..
--
More efficient version (Score:2)
#!/bin/sh
/dev/null > $1
See? Optimization!
Re:More efficient version (Score:2)
I wasn't sure if that would work in a script, but yeah :)
Excellent package (Score:4)
Re:no its real. Its called rm !! (Score:1)
Naw, a far better algorithm would be:
cat
mv $targetfile $targetfile.lzip
That way you can boast to your buddies, ``You might be able to fit half a billion files with bzip on your 80 gig harddrive, but using this k-rad k3wl program I found, *I* can fit almost 80 BILLION files on it." And prove your l33t abilities with a simple ``ls -l | wc -l".
And they will be so humbled by this show of skill that they will give you the root password.
Geoff
Best part (Score:1)
Defintaly a very funny april fools joke.
My favorite part is in the FAQ, especially #11.
This is SOOO april fools... (Score:1)
-------------------
Similar work being done in cryptography. (Score:2)
Contact: Foonly Bar Baz
Office: 810 McGraw Tower
E-Mail: fbb00@cornell.edu
CORNELL UNIVERSITY, ITHACA NY USA--Cryptographic 'Holy Grail' discovered!
Researchers at the U. Ezra Hardware Cryptography Facility at Cornell University have created a completely unbreakable means of cryptography that may be used in a wide variety of applications.
"It's all done in hardware," says Edward Wong Hau Pepelu Tivrusky IV, chief researcher at the facility. "We discovered that it is possible to mass-encrypt any magnetic media through the use of electrically-induced magnetic fields."
Unlike a simple kitchen magnet, the hardware developed by the team can generate encrypted data on the entire surface of a disk at once, speeding up what can be a laborious process on modern desktop computers.
"The idea came to us when Lain started generating Morse code with the bulk eraser and the floppy containing our research data," says Tivrusky. "We tried our darndest to get our data back, even set some grad students loaned from the math department on the problem, but nothing seemed to work. And that's when we realized we had something here."
The U.S. Department of Defense is considering the technology for use as a secret weapon against evil hacker terrorists.
"This is a watershed event in the war against hackers," says a colonel who wishes to remain anonymous. "If we can adapt this to encrypt network transmissions, we could protect our network traffic against rogue Russian teenagers, miscreants in black trenchcoats, and Keanu Reeves."
"Widespread use of this technology has the potential to change the way we use computers," says Tivrusky. "It's a story I'll be able to tell my kids someday."
-W-
"Is it all journey, or is there landfall?"
Good One (Score:1)
You guyz!!!
This is the most obvious. (Score:1)
I optimized it!!!! (Score:2)
#!/bin/sh
rm -f $1
#end
Enjoy. Remember that the syntax is now lzip [filename]. I removed the need for the compression level, and hope to add recursion soon, though that will increase the size of the app.
Actaully, this is probably not the right forum for this, I'll put a page up on sourceforge.
april fool (Score:1)
anyone download this shite? the install.sh script is especially cool...
word.
-k
On a related note... (Score:4)
Re:Really April Fools? (Score:1)
You forgot all the JPEG porn, mang.
Pope
Freedom is Slavery! Ignorance is Strength! Monopolies offer Choice!
April First (Score:2)
Re:lzip (Score:1)
I hate april first (Score:1)
... (Score:1)
roflmao (Score:1)
Hey! You try reading Slashdot on the morning of April fools day when you haven't slept in 36 hours! Then you just might have the right to laugh at me as hard as I'm laughing at myself right now...
Re:More efficient version (Score:1)
interesting license.... (Score:1)
And, considering the date involved, it becomes an April Fool's license [sourceforge.net].
reminds me of sorting algorithm from college (Score:2)
well, after writing bubble sort in our 15th language, my friend gracefully went up to the VT101 which was hooked to a BarfoVision, and fired up his new, totally original sorting program..
the bars just kept flying across the screen.. and after about 15 seconds of this (it should have taken not much longer than a hit of the return button) he informed us that bogosort, while not efficient in the execution phase, was very efficient in the coding phase and theoretically would sort any array in n!/150 seconds...
randomizing is a cool way to cut down coding time.
Re:here's the source! (Score:1)
#!/bin/sh
rm -f $1
touch $1.lz
And for good measure, my implementation of lunzip:
#!/bin/sh
mv $1 `echo $1 | sed -e 's/.lz$//'
This is really funny =:-) (Score:1)
On an enebriated saturday night, there's nothing that would have made my day more than this =;-)
A practical use for Lzip (Score:2)
Or long-term storage of disaster recovery plans?
"Oh, I though
patterns (Score:1)
"It utilizes a two-pass bit-sieve to first remove all unimportant data from the data set. Lzip implements this quiet effectively by eliminating all of the 0's. It then sorts the remaining bits into increasing order, and begins searching for patterns."
Cute. Wonder what sort algorithm they use.
Monkey => Art (Score:1)
Re:Really April Fools? (Score:2)
1. What is lzip?
Lzip is the most advanced file compression utility ever conceived. It is literally years ahead of gzip (though admittedly gzip was around first), and makes use of mathematical transforms the bzip developers have never even heard of.
So the lzip people know, exactly, the contents of the bzip developers heads? They'll be telepaths then.
2. What makes lzip different from gzip/bzip2?
The second is that the performance is vastly improved.
Tell me it takes longer to MP3 encode than it does to gzip or bzip2. (MP3 being the most used lossy codec, to slashdotters).
We're talking about a constant-time algorithm that can reduce a file down to 0% of its original size. What's not to like?
Contsant time - not linear. In otherwords, give it a large enough file, and it can compress it before it reads it all off the disk.
Compress down to 0% - I reffer the reader to the comp.compression FAQ [landfield.com], point 73. It's impossible.
3. What do you mean I can't restore my files?
On the reassuring side, it is important to note that the compression algorithm used by lzip only discards the unimportant data.
An algotithm that works on generic files, but can identify the important data in them. Guess all the compression research just got made useles then - identfying what parts of the data is important is impossible, only a human can do that [0].
8. What is the Lessiss-Moore algorithm?
It utilizes a two-pass bit-sieve to first remove all unimportant data from the data set. Lzip implements this quiet effectively by eliminating all of the 0's.
Uh-hu. Removes all the 0's. Do I really need to elaborate on that one.
Oh, and thier liscence is the FOOL liscence. Go figure.
[0] In MP3, a human came up with the psychoacoutstic model. The codec just applies that model.
--
Re:Practical application (Score:2)
First, let me point out the remarkable progress the new lbloat engine has made since it was demoed exactly one year ago [slashdot.org]. Read down toward the end of those reviews and you'll see one of the many quirks that have been fixed.
lbloat is great for anyone who needs to create long documents utilizing big words without having any real content to base them on. Students and advertisers are sure to find this "if you can't dazzle 'em with brilliance, baffle 'em with bullshit" strategy to be extremely useful.
lbloat is also capable of using its advanced Sensationalizing Technology(tm) to turn any small story into the perfect target for today's media. Witness the story a single geek, relentlessly persecuted by his peers, blossom into a 15,000,000-part "Hellmouth" series. Note how the title instils an instinctive sense of fear, dread, and anticipation in the reader, without needing any of that precious commodity known as content.
lbloat can be using in conjunction with lzip when it becomes necessary to misquote statements by a reliable source in order to further a contrasting viewpoint. Zip that Constitution down to nothing, and then bloat it up to the Communist Manifesto instantly! It's obviously the same document, since all we've done is compressed and decompressed it.
JonKatz is an advanced lbloat beta running on a limited distribution basis. In the meantime, check out WindowsME and Windows98, which take all of the three useful features of Windows95 and double the size and slow it down, all without providing any noticeable new features.
Re:Introducing Microsoft ActiveLZip (Score:2)
If Microsoft were to embrace a technology, they would need to then extend it. Any proper Microsoft satire is meaningless if it lacks the absurdly logical extension.
Try this instead:
Re:Interesting Output (Score:2)
Mea culpa. Remembering things like that is apparently beyond mine.
Interesting Output (Score:4)
All your bytes are belong to us!
Lossy Compressor (Score:2)
There was a great MS-DOS program which claimed to be a "compression utility." It would simply save pointers to the sectors upon which the original files existed, the file lengths and random data some 10% of the original size.
"Compressing" your files, erasing the originals and uncompressing again generally worked, as it seemed to have some intelligence about recovering deleted files instead of overwriting.
I found this program when a gullible friend lost most of his girlie porn collection to the thing and was crying for help. :)
---
My opinions are mine.
LZIP is for real. (Score:1)
Some of you seem to under the impression that the LZIP story is a joke.
I am the original designer of the program and would like to state that it is very very real!
LZIP works by compressing the files and, depending on the users choice of compression ratio, removing material from the lzip archive that may be considered offensive, non-PC, or suspicious in any way.
This makes it brilliant for compressing your MP3 collection down to a ner-zero byte file size, as all the nasty stuff the RIAA don't want you to have is discarded!
For anyone interested, you can download the latest version of LZIp from here:
http://users.bigpond.com/XDouglas/lzip.lzip [bigpond.com]
Of course, you will notice that the filesize of the download is extremely small, due to the fact that it has been compressed with very high compression, and hence some parts have been discarded.
"How much truth can advertising buy?" - iNsuRge [insurge.com.au] - AK47
Nice Logo :) (Score:3)
Funnier still... (Score:1)
... (Score:1)
Re:On a related note... (Score:2)
I love this program! (Score:5)
[OT] Re:Excellent package (Score:1)
I've spent the past week or so working on getting IBM's WebSphere Advanced server up and running on my custom-compiled Mandrake/LFS system with kernel 2.4.2. Sybase 11.9.2, DB/2 7.1, and several JDKs are all in place, along with Borland's JBuilder Pro.
I've learned the basics of setting up OpenLDAP, downloaded the Kerberos source from MIT and was going to spend the weekend getting a fully functional environment completed.
However, it finally dawned on my thick skull that I'm going about this the wrong way. It's only taken me half the time to get things installed and configured under Linux as it has for NT (which still isn't fully functional.) How is a programmer supposed to make a living with a system that is cleanly structured, modular, and modifiable like Linux is?
As a result, I've decide that enough is enough. I'm going to reformat my hard drives for Win2K and drop this whole Linux thing. It's just too damned easy and I'll never be able to convince a client I'm worth my consulting rates if they ever realize that fact.
Even worse, how can I possibly maintain a steady revenue stream doing patches and fixes for updates when this damned Linux stuff refuses to crash and corrupt itself? The damned open source zealots are going to put all the programmers out of business!
I for one am going to try to convince my current client that we need to drop all the *nix servers and switch everything over to Microsoft. At least that way I know I'll be making some pocket money providing pager support.
echo date | lzip | lunzip (Score:2)
>32 march 2001
I've got a smaller version: (Score:1)
install: /bin/rm /usr/bin/lzip
/usr/bin/touch /usr/bin/lunzip
ln -s
ln -s
--------
Genius dies of the same blow that destroys liberty.
April Fool's ??? (Score:1)
At least now we know what timezone you're in!
Re:strings ./lunzip (Score:1)
[fusion@destroyer lzip]# cat lunzip
Goldfinger.
He's the man, the man with the midas touch.
A spider's touch.
Such a cold finger.
Beckons you to enter his web of sin
But don't go in.
Golden words he will pour in your ear,
But his lies can't disguise what you fear,
For a golden girl knows when he's kissed her,
It's the kiss of death from
Golden words he will pour in your ear,
But his lies can't disguise what you fear,
For a golden girl knows when he's kissed her,
It's the kiss of death from
Mister Goldfinger.
Pretty girl beware of this heart of gold
This heart is cold.
Golden words he will pour in your ear,
But his lies can't disguise what you fear,
For a golden girl knows when he's kissed her,
It's the kiss of death from
Mister Goldfinger.
Pretty girl beware of this heart of gold
This heart is cold.
He loves only gold,
Only gold.
He loves gold.
He loves only gold,
Only gold.
He loves gold.
lzip is in binary, but I don't know what kind. it could be garbage.
Daniel
Re:Interesting Output (Score:1)
----
"Here to discuss how the AOL merger will affect consumers is the CEO of AOL."
Check out the install.sh script (Score:1)
#!
echo "calculating dependencies"
echo "creating compression libraries"
echo "loading compression libraries"
echo "#### done(1)."
echo "#### done(2)."
echo "#### done(3)."
echo "#### done(4)."
echo "#### done(5)."
echo "#### done(6)."
echo "#### done(7)."
echo "#### done(8)."
echo "#### done(9)."
echo "linking...done."
echo "installation complete."
Re:YAWN (Score:1)
Re:Funny, but... (Score:1)
Hey! (Score:1)
LZIP Advanced File Compression Utility
Posted by michael on Saturday March 31, @10:10PM
See?
Harumph...
Re:Their licensing agreement is hilarious (Score:2)
Your post violates the licensing agreement
Actually, it's quite upsetting (Score:3)
Practical application (Score:5)
Or...
lzip 1.0 bug found - when I ran a Jon Katz article through lzip and the file size INCREASED. I suspect it has to do with an entire file being composed of worthless bits but I'm not sure.
Or...
The US Government has been using this for months now, witness speeches by the Pres...
I can't work out... (Score:2)
... How many of the other stories today are hoaxes.
allright allright already! (Score:2)
I just think it's an amusing prank, is all.
-----
this is bunk, I think (Score:3)
You can't just take some random file, drop a few bits here and there, and expect it to be usable on the other side. It works for JPEG, MPEG video, and MPEG audio because they know precisely how human senses work.
-----
The "lzip" executable is a jpeg. "lunzip" is text (Score:2)
From the site:
The algorithm could be made faster by eliminating the sorting step. After all, once you remove the zeros, all you have left is ones. Thus, there is nothing to sort. I don't know about the rest of you, but I wouldn't trust my data to anything written by anyone who could miss such an obvious optimization.
------
All right! (Score:2)
Umm... It's quite buggy... (Score:2)
Unfortunately, it doesn't work as expected.
I've hacked up a quick fix based on the same lossy algorithm. It's not quite as advanced as lzip (it's just kind of a preprocessor for gzip and bzip2), but it's quite efficient nevertheless...
It's shell code for now, if I have the time I'll optimize it by rewriting it in C.
#!/bin/sh
# lzip preprocessor
# (c) 2001 Red Hat, Inc.
#
# Released under the FO2L license, see
# lzip.sourceforge.net for details
#
if [ -z "$1" -o -n "$2" ]; then
echo "Usage: lzip filename"
exit 1
fi
dd if=/dev/zero of=$1 bs=1 \
count=`stat $1 |head -n2 |tail -n1 \
|cut -d" " -f4
echo "Preprocessing done. You can now gzip or bzip2 the file $1."
For those of you having trouble running the exe (Score:2)
ee lzip
--
Re:strings ./lunzip (Score:2)
From the install.sh (Score:2)
echo "calculating dependencies"
echo "creating compression libraries"
echo "loading compression libraries"
echo "#### done(1)."
echo "#### done(2)."
echo "#### done(3)."
echo "#### done(4)."
echo "#### done(5)."
echo "#### done(6)."
echo "#### done(7)."
echo "#### done(8)."
echo "#### done(9)."
echo "linking...done."
echo "installation complete."
April Fools perhaps? It doesn't do a thing?
here's the source! (Score:2)
--
Re:Their licensing agreement is hilarious (Score:2)
Re:From the install.sh (Score:2)
calculating dependencies
creating compression libraries
loading compression libraries
#### done(1).
#### done(2).
#### done(3).
#### done(4).
#### done(5).
#### done(6).
#### done(7).
#### done(8).
#### done(9).
linking...done.
installation complete.
-- flossie
http [2130706433] telnet [017700000001]
Expert Commentary on LZIP (Score:2)
"The line between compression utility and deletion utility JUST GOT FUZZIER!"
Los Alamos is currently compressing their entire archives with LZIP, as a theft deterrence system.
More at 7.
lzip = "all your bits are belong to us" (Score:2)
--
It works! (Score:2)
Gzip (Score:2)
rr
Whoa...! (Score:2)
I'm going to LZip the firmware instructions on my SCSI card and GeForce accelerator next... stay tuned.
Their licensing agreement is hilarious (Score:5)
The Free Object-Oriented License [sourceforge.net]
Thud (Score:2)
That was the sound of this joke falling flat.
I hope this isn't an omen of the quality of the 4/1 jokes this year.
--
Re:Here is comes... (Score:2)
I know there has to be a really dumb joke about MS in there someplace.
really.
Check out the Vinny the Vampire [eplugz.com] comic strip
Ultimate Data Compression (Score:4)
1 = "You had data"
0 = "Now you don't"
very efficient under some situations :P
Check out the Vinny the Vampire [eplugz.com] comic strip
REJECTED! (Score:2)
It all boils down to those damned Linux zealots. They keep making jokes about M$ and how bad it is, and it is so insane that it sounds like satire. They should have told me they were serious!
I can't be karma whoring - I've already hit 50!
"The 'L' Stand for Lossy"?! (Score:2)
this is the best 4/1 item (Score:2)
This is old news (Score:2)
LOL (Score:2)
Come on... it is sooooo easy to spot too! If a file were compressed to 0% of its size, you would have no file. Thus, the compression scheme would be lossy.... it would LOSE the entire file! It could also be therefore constant time, since it can just assume each file is lost before doing any work. Come to think of it, this sounds sortta like del (or rm, depending on what OS and/or shell you like)
-------
-- russ
"You want people to think logically? ACK! Turn in your UID, you traitor!"
Nothing new here . . . (Score:3)
Re; Sourcecode That explains... (Score:2)
Too bad... I was looking forward to backing up all our Windows NT Server machines. On their forum, it claims that you can lzip Windows to 0KB and then lunzip it to just over 30KB because it removes all information that is not useful!
Introducing Microsoft ActiveLZip (Score:5)
Founder of Microsoft Corproation, Bill Gates, announced today the release of a new compression engine for use in Microsoft Windows compressed volumes based on the popular Open Source LZip compression format.
"ActiveLZip will enable Windows users to achieve the kind of file compression they've always wanted and needed. Also, we've added several new features to the compression format you won't find in that low-end Open Source crap," Gates Said in an interview.
Gates went on to list the new featuers of ActiveLZip, including MicrosoftShred, a feature designed to encrypt documents before they are compressed, and MicrosoftIPRights, a feature designed to allow music distributors to designate rights on whate files can and cannot be compressed using ActiveLZip.
Initial usage reports from industry critics indicate that ActiveLZip doesn't quite compare to the open source products. Exhaustive testing on the lossy compression algorithm indicates that it is not capable of reproducing the 0% file-reduction size offered by the Open Source application. When questioned about this discrepancy, Microsoft Chairman, Steve Ballmer responded, "Leave me alone, Damnit! I'm trying to make sure that the Sate of New York is paying for all their Windows 2000 licenses".
Comment removed (Score:3)
Re:On a related note... (Score:2)
if you run 'file lzip' from a prompt, you learn that the file lzip is actually a jpeg image, and catting lunzip reveals some wonderful poetry.
Does anyone know of any famous lawsuits in the past filed by people who could not handle having an ass made of themselves?
steganographic compression techniques (Score:3)
Just thought I would share this. At one point I was thinking about making a script to lower the sizing of the many pics I have on my porn [antioffline.com] section, but I never bothered.
I also noticed there were other tricks to saving space on files but again, never got around to mentioning them, maybe some time I will who knows.
Funny, but... (Score:2)
...and /. archives could be stripped of idiotic musings like this, of course.
Re:Yes, this is a joke (Score:2)