Live data from Hacker News

Should a senior in Comp Sci know what a .tar file is?

news.ycombinator.com

31–40 of 53 posts

Re: Should a senior in Comp Sci know what a .tar file is?

#31

Computer Science can be taught without a student ever having used a computer; it's a branch of mathematics. Would you expect a mathematician to know what a .tar file is? Reminds me of a quote from one of the most famous Computer Scientists, who was really a mathematician: "Computer Science is no more about computers than astronomy is about telescopes." - E. W. Dijkstra (1930 - 2002)

Reminds me of Hal Abelson.

http://www.youtube.com/watch?v=zQLUPjefuWA

Re: Should a senior in Comp Sci know what a .tar file is?

#32
post #22
post #5

Earlier quoted context omitted.

Why isn't it?

this is important, because anyone with any degree of genuine curiosity will have at least seen a tar file in the context of compression. if you use winrar, tar files are included in the open file list. with any sense of curiosity and intuition one would guess a tar file has to do with compression. i may not expect someone to know how to use a tar, but i would expect them to know what one is.

...except that a tar file really has nothing to do with compression at all. It's just a way of serializing a hierarchy of files into a single file, without any compression. The compression comes when you run gzip or bzip2 (typically using the -z or -j option to tar) on the tar file.

Re: Should a senior in Comp Sci know what a .tar file is?

#33
post #23

Earlier quoted context omitted.

OT: I'm in a similar situation: I've 11 years' experience and want to take some CS classes now that I live near Berkeley. Any tips?

I can't speak for Berkeley, but my favorite classes in CS were always the ones on Algorithms and novel languages. Avoid classes that teach syntax, unless the syntax is used to highlight a language feature you have never encountered before, like continuations or currying.

I can speak for Berkeley, and you won't have any trouble with taking a class where you have to learn "syntax." I enjoyed the operating systems class there (project work in C++). I don't know if they are still using it, but the first CS class there used to be taught in Scheme using SICP.

Re: Should a senior in Comp Sci know what a .tar file is?

#34
I had something similar to this happen to me in my 2nd semester programming class at Berkeley. I was in the lab for a class that was taught in Java for data structures (and C when the memory management talk started). We were 5 weeks into a 10 week class. The guy programming to my left turned to me and asked me what "double equals" (as in ==) meant. I was stunned, but then answered. Later it struck me: how the hell did this guy get through the metacircular evaluator in the first semester? How had he gotten through the previous 5 weeks of assignments? I think about it even now and wonder.

Re: Should a senior in Comp Sci know what a .tar file is?

#35

We had a guy at our company with a Masters in cs and he didn't know the shortcuts for copy and paste! His first code review was unbelievably painful. Suffice to say he didn't last too long.

Funny, I find the people who are expert at copy and paste tend to generate the more painful code.

Re: Should a senior in Comp Sci know what a .tar file is?

#36
post #7
post #5

Earlier quoted context omitted.

Why isn't it?

What's important is whether this person has any important skills that you care about. Also, it's quite possible to get by under Windows without knowing anything about tar files.

"Getting by under windows" doesn't really scream 'great coder' to me.

Re: Should a senior in Comp Sci know what a .tar file is?

#37

Computer Science can be taught without a student ever having used a computer; it's a branch of mathematics. Would you expect a mathematician to know what a .tar file is? Reminds me of a quote from one of the most famous Computer Scientists, who was really a mathematician: "Computer Science is no more about computers than astronomy is about telescopes." - E. W. Dijkstra (1930 - 2002)

This is true, in the purest sense of CS. However, how much pure mathematical theory can you fill three and a half years of university education with? I would imagine that a comp sci department where they never reach a point where the "rubber meets the road" is not worth the trouble.

I think there are enough subjects in computer science to fill three and a half years with theory, no problem at all.

In my CS classes they had exercises, but students where left on their own with the details of programming. OK, there might have been dedicated courses on "how to solve the exercises", but still.

My first day in the computer lab I was completely lost, because I had gotten into Computers with Commodore C64 and then later DOS+Windows 3.1, and I had no idea how UNIX works. Other times, though - WWW was in it's earliest infancy, today it is certainly easier to get information on UNIX.

Re: Should a senior in Comp Sci know what a .tar file is?

#38
To be honest, I still don't completely see the point of tar - isn't it redundant, since zip puts things into an archive anyway? Coming from windows, I never used tar, I just zipped everything. Any now that I am on Linux, I never had the need to tar anything. Untaring thankfully is provided by the Gnome File Explorer.

Using Notepad for programming, however, is really odd...

Re: Should a senior in Comp Sci know what a .tar file is?

#39
post #3

eh I don't really feel that a professor should go through and explain common filetypes, that really isn't computer science. However, if a 21 year old is passionate about programming, they will have come into contact with a command line and tar files on their own obviously.

At 21, I was pretty passionate about programming, but I had never dealt with a tar files. I was sticking with Windows because it just worked for me, and the barrier to installing a Linux on my PC seemed so huge (and they were. The first time I installed, it broke my FAT). It was just not worth it. Python works great on Windows, as does Corman Lisp.

I'm passionnate about programming, but computers and OSes are just a pain getting in my way.

Re: Should a senior in Comp Sci know what a .tar file is?

#40
post #8
post #3

eh I don't really feel that a professor should go through and explain common filetypes, that really isn't computer science. However, if a 21 year old is passionate about programming, they will have come into contact with a command line and tar files on their own obviously.

Agreed. It's not the school's responsibility to teach a student what a .tar is, but if the kid is doing any programming out of personal interest he should have come across it. In my experience, CS students who know what they are doing are usually using Mac or Linux by the time they graduate.

At my university, we used Unix for everything. We never had any lectures about how to use make, tar, cvs or LaTeX. But we were required to use them, so we had to learn stuff ourselves. I think that is the best way to learn, since it made us more independent.
Post reply on HN