[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Now that I've developed application for compressing files,

The stories and information posted here are artistic works of fiction and falsehood.
Only a fool would take anything posted here as fact.

Thread replies: 49
Thread images: 4

File: CPlusPlus[1].jpg (36KB, 433x455px) Image search: [Google]
CPlusPlus[1].jpg
36KB, 433x455px
Now that I've developed application for compressing files, what is my next step? It can compress enormous files like 100 GB down to 2 KB and there's now limitations depending on the extension of the files.
>>
>>675770961
post source code
>>
>>675770961
next step would be uncompressing.
>>
>>675770961
>100 GB down to 2 KB
yea okay
>>
>>675771806
You know I can't do that. Sry.

>>675772117
It seems like you don't believe me. It uses complicated algorithms, it works with files on binary level and the algorithms are processing those information. How you may ask? Well, as I said, can't say that.
>>
This is true and I believe you
>>
>>675770961
THIS GUY!

Have you been watching too much silicon valley?
>>
>>675772513
Samefaggin
>>
how do i move up from building stupid console applications? I want to make something that is an actual program thats not in the termial
>>
>>675770961
Topkejk. Who's been watching Silicon Valley
>>
File: Dean (4).png (622KB, 900x900px) Image search: [Google]
Dean (4).png
622KB, 900x900px
>>675772730
Any particular language or platform, anon?
>>
>>675772730
I suggest Visual studio. You can rather easily create GUI applications with drag-drop of the form elements and there's no need to manually code those elements.
>>
>>675772730
Also, you need to learn SQL databases or at least local .txt databases - read/write.
>>
>>675770961
Here's my pseudocode for compressing 100GB to 11 bytes:

> if the input is 100GB of 0s:
> output "100GB of 0s"

Unfortunately, it only works on files that are all 0s. If you have something that is reversable and works on any arbitrary file, congratulations, you've broken math and there's no reason consequence should follow premise anymore.
>>
>>675772936
>>675772960
>>675773088

C++ in linux Id like to make a program i can execute by double clicking and design it like you would in vs
>>
>>675770961
Make a program that downloads the internet
>>
>>675774127
iv been using codeblocks btw
>>
File: Dean (7).png (116KB, 407x449px) Image search: [Google]
Dean (7).png
116KB, 407x449px
>>675774127
If you want to create windows and whatnot, wxWidgets has got your back.
https://www.wxwidgets.org/

Honestly, most GUI work in C++ sucks ass, though. You've been warned.
>>
Newfags, learn a real language like assembly
>>
>>675774723
Kek
>>
>>675772385
>>675770961

It is not possible to compress 100 GB to 2 kb, even for text, which is the most highly compressible thing known to man. Even a 100 GB Text File would compress to Hundreds of Megabytes AT LEAST. 4 MB is a song. 100 GB is 10 full copies of Skyrim. 2 Kb is not even 1 second of audio at a horrible bitrate. You are not going to compress 10 copies of Skyrim into less than one second of audio, it can't be done.
>>
>>675775154
I can compress a 100 GB into a trilobite
>>
>>675772385
He probably does not believe you because you are a liar.

What you claim is not possible.

Well you could divide the file by itself and the result would be 1. But then your program would have to carry the information in some type of data file that would be the same size as the original file.
>>
>>675772385
so basically you didnt do shit and youre a retard. Fuck off.
>>
Go to /g/, what the fuck are you doing here?
>>
>>675770961
you should call your company Pied Piper and move to silicon valley. call TJ Miller asap!
>>
>>675770961
bullshit.
you cannot do that, or use lossy compression, which will probably lose 99.999999999999999%of the data you're compressing.
So
>100 GB down to 2 KB
is bullshit, few lines in notepad is more than 2 KB and you are trying to compress 1,66 copies of GTA 5. Does not make sense, but it is really big.
>>
File: Hah hah.gif (863KB, 277x300px) Image search: [Google]
Hah hah.gif
863KB, 277x300px
>>675770961
To everyone else on this thread: while OP is obviously a gigantic faggot of biblical proportions, I think it's possible to compress 100GB down to 2KB.

If you have 100GB of straight 1's, that's 10^11 bytes. Meaning, we could easily write a 12 digit number:
999,999,999,999

And have our "application" simply print that many 1's into the hard drive.
Assuming each digit is in reality a char (8 bytes)... that's not even close to a fucking kilobyte.

Again, this is just a special retarded case.
>>
>>675774127
use D not C++
>>
>>675770961
Epic meme

Poor guy who actually did it died by the CIA or some shit.

RIP :(
>>
>>675770961
But can you divide by zero?
I can however i can't show you how obviously ;)
>>
>>675770961
Kolmogorov Complexity. Learn it.
>>
>>675770961
You are a lying piece of shit. Case closed.
>>
>>675770961
>inb4 OP put an absolute shitton of zip files inside of each other
>>
eh I could see it being possible, but you would need to have a giant pre-existing program installed so it could lookup what the compressed format is expressing.

Here's my idea, install some giant ass library of data pieces by ID

e.g. 1= 010101010101... 2 = 0110110110... etc...

But then the ID's would start to get longer with the different possibilities and make your compressed file > 2kb

You could make the chunks really big, so there would be less ID's but then you'd be limiting yourself to what you could "compress". You could make some kind of converter to use before the "compressing" but at this point I think it's kind of just a pain in the ass.

Just my brainstorming here.
>>
>>675774127
Just use Qt you dumb nigger, their is even a dedicated component of their IDE to design window by dragging component if you're too dumb to code them
>>
open source or gtfo
>>
>>675775154
of course it is possible. 100gb of the 's' character repeating could be represented as s-100GB. ta-da. compressed 100GB of data to 7 bytes.
>>
>>675771967
underrated post
>>
>>675777833
May as well turn op's retard thread into a thought producing one. Joodjob anon
>>
>>675772385
cite the algorithms, then
>>
>>675775845
gta is like 17 gb for the ps3 i believe
>>
>>675777998
what the fuck did you just call me?
>>
>>675777833
The problem with this is that you need the same amount of data to store the ID as the chunk takes up.
if your chunk is 2 bit, you have possible values of 00, 01, 10, 11. That means you need IDs 1-4. Now your ID's have to be 2 bit numbers, and you've used the same amount of data to store the ID as the data in the first place.
>>
>>675779138
he called you a qt
>>
>>675770961
I made a program that fits all of those qualifications too op! And it does even better than your algorithm!

The file is 100GB of 11111111111111111....

my compression algorithm reduces it to one byte 1.

Then decompresses by repeating the first byte 100 billion times

I win!
>>
okay niggers, imagine this

111100001111111000000111

then it's 14:04:17:06:13

after that you can:

1110 = 14
0100 = 4
10001 = 17
and so on

so we have

030
0120
1031

and then another algorithm until we reach 2 kb
>>
>>675780077
I have literally no idea what you've just done
>>
>>675770961

>i made something that could make me a multi billionaire
>lets post on 4chan

OP you are so full of shit
Thread posts: 49
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.