Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
j0n4s53107y@rostopira I don't want to know how to open it... I wan't to know how 7zip or something like this understands what in the file is..
-
First of all, they are called archives. Secondly, like @rostopira already said...
-
@nobes how does browsers know how to process HTML document? There's specific set of instructions present in those software how to do that. That's why you can't run word file in notepad.
-
j0n4s53107y@Aitkotw Yeah but html is readable.. And i want to know how the set of constructions looks like
-
sha256f3927y@nobes Well, look: The extention (like .zip) is there to differentiate file types, just like the names of real languages. WinRar for example knows how to interpret various compression formats and what to do with them, because it "knows" how they are organized. Somehow this is like asking "How do japanese people know how to read japanese? I can't make sense of it, even if I look at it."
-
@nobes if you really want that, check this out, source of 7zip. It's written in c++. I guess you can figure out the rest.
https://sourceforge.net/projects/... -
@MonsieurMan You're right...if devRant was a school. But it isn't. I thought this was a place for professional devs who know our shit to rant about stuff that is annoying because it's genuinely poor. Instead, devrant has become a place for novice students to spam the community with basic questions about basic stuff that's already been answered, because they are too lazy to look it up, let alone to figure it out on their own. Now that is a behaviour that I judge negative.
-
@MonsieurMan P.S. About the suffering, no pain no gain. Give a dev student an answer to a basic question and you'll get him through the day. Teach him to suffer a bit and you'll get him through school :)
Related Rants
Does any one know how Containers (?) like Zip or exe files work? I mean when you open it with a texteditor you can't see much?!
rant
exe
container file
zip