Hello ; It's albert
You guys banned me from the FB forum..
I got a compression formula done...
Could you guys un-ban me from the forum..
I need some help doing the search and replace in the decoder..
I've got the decoder started.. you can set the show var on 129 to 1 to see the printout..
This formula compresses any size file down to 23K...
It's slow as hell , so you might want to use files of 100 - 300 KB..
It take 2.5 to 3 minutes to compress Zlib.dll ( 225KB ) down to 23K.
Attached is:
1) Free BASIC source code
2) Windows executable
3) Zlib.dll ( zipper library )
dim as string outs = ""
dim as string map = ""
dim as string n2 , n3
for a as longint = 1 to len( bits ) step 3
n1 = mid( bits , a , 3 )
n2 = ""
if n1 = "000" then n2 = "00" : map+= "0"
if n1 = "001" then n2 = "01" : map+= "0"
if n1 = "010" then n2 = "10" : map+= "0"
if n1 = "011" then n2 = "11" : map+= "0"
if n1 = "100" then n2 = "0" : map+= "11"
if n1 = "101" then n2 = "1" : map+= "11"
if n1 = "110" then n2 = "" : map+= "010"
If n1 = "111" then n2 = "" : map+= "101"
outs+= n2
next
There's no mistaking one value for another and there's no duplicates in the output..
There's only 0 , 11 , 010 , 101
Could you guys ( un-ban ) me from the forum..
I see you are interested in data compression but don't know much about it. I love the subject too. I recommend reading Matt Mahoney's fantastic Data Compression Explained:
http://mattmahoney.net/dc/dce.html
I can't speak to the ban.
Related; [#956],
@Albert, about the ban ... what's changed? You have the same attitude as ever where you ask for help, people give it to you, but then you ignore it. I really did hope for a new attitude or a fresh start when you registered at the forum under a new user name a few months ago.
Now, maybe it seems unfair to let some external site influence if you remain banned at fb.net, however, the code sample you posted in this ticket, and the attached source (which is different from the post) both suffer from bugs, logic problems, and misunderstandings we discussed on fb.net forums years ago. In the past this has caused frustration for other members and I can't force them to ignore you and the end result is that it requires extra effort from admins/moderators to allow your kind of participation on fb.net. In the past when we have tried to set down some rules that would ease the friction between you and other members, you eventually ended up ignoring them. Hence, banned.
External: https://encode.su/threads/3817-Redditt_Zip?p=74371#post74371
There's lots of great advice in that topic.
Related
Bugs:
#956