Quantcast

Maximum PC

It is currently Sat May 18, 2013 6:33 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: The difference between a hacker and a professional
PostPosted: Mon Jul 16, 2007 7:59 pm 
Team Member
Team Member
User avatar

Joined: Fri Apr 28, 2006 7:52 pm
Posts: 3189
Hacker: Very enthusiastic, curious, and witty intellect; spends his entire vacation working at home just for the fun of it (see ESR's definition)

Professional: Clocks in, clocks out.

As demonstrated by the following:

This guy wrote:
Code:
I've read the man page about 10 times now and I'm sure this issue is my
own stupidity but I can't see where or how.

I'm trying to download all the .zip files listed in the HREF links
located in all the subdirectory index.html files on librivox.org website
(don't worry I have permission).  NOTE: The .zip files are located on
archive.org's website but I've learned that I have to download the
index.html in order to get ot the HREFs.  So, I created the following
wget query:

"wget http://librivox.org/ -o
/home/daxm/public_html/LibriVox-Website/logs
--directory-prefix=/home/daxm/public_html/LibriVox-Website --no-verbose
--continue --progress=dot --no-directories --recursive --level=inf
-Aindex.html,.zip -H -Dlibrivox.org,archive.org --span-hosts --quota=inf
--no-cache --page-requisites --follow-ftp"

According to the man page --no-directories says:
"-nd
      --no-directories
          Do not create a hierarchy of directories when retrieving
recursively.  With this option turned on, all files will get saved to the
          current directory, without clobbering (*if a name shows up
more than once, the filenames will get extensions .n*)."

Thus I would expect to get a directory full of index.html.n files along
with a bunch of .zip files!  Alas, all I get is:

"drwxr-xr-x 2 daxm daxm  32768 2007-07-16 19:16 .
drwxr-xr-x 4 daxm daxm   4096 2007-07-16 17:10 ..
-rw-r--r-- 1 daxm daxm  37233 2007-07-16 18:56 index.html
-rw-r--r-- 1 daxm daxm    767 2007-07-16 19:16 logs
-rw-r--r-- 1 daxm daxm 355707 2007-07-16 19:08 logs.gz
-rw-r--r-- 1 daxm daxm     43 2006-05-31 12:48 robots.txt"

and it appears that the index.html is the "first" index.html (i.e.
librivox.org/index.html).  I've included the log file of the above
command (with the -d option added as well).  Please tell me I'm doing
something wrong and how to fix it.  ;-)


Solution:
Code:
You have quite a few unnecessary (and repetitive) options which I have
omitted. There are too many to mention in detail, so please take note
of these for future reference (and rtfm :-).

I don't have time to walk you through it right now, unfortunately, but
here's the command you need:

"wget http://librivox.org/ --output-file logs --progress=dot
--no-directories --recursive --level=100 -Aindex.html*,*zip*
-Dlibrivox.org,archive.org,www.archive.org --span-hosts --follow-ftp"


Have a nice day! :-)


Top
  Profile  
 
 Post subject:
PostPosted: Tue Jul 17, 2007 5:28 am 
[Team Member]
[Team Member]
User avatar

Joined: Fri Oct 15, 2004 7:07 am
Posts: 1491
Location: 127.0.0.1
I have a similar "issue" here at my work. I'm on the hardware engineering side of the program (system, network, electrical engy), but only one of the software engineers do this because its their "passion" or hobby. With the exception of the one, none of them goes home and "plays" with coding stuff, works on outside projects, or codes things to make their life easier or more fun.

The result is seen in our daily work. The most notable example I have happened about 8 months ago, one of my subordinates needed a discovery and parsing script to mash through a huge text file to get and order data from specific sources and put it into human read-able format. He went to the SW team first, or course, and he got back a 7 page script with almost no commenting. The SW engy's office is two down from mine, so he stopped by my office after printing out the script. I took a look at it, and about 20 seconds in, it was so convoluted, that it gave me a headache. I asked him what he was trying to do, he told me specifically what he wanted, and within the hour, I had a 12 line (without comments) script written and tested for him, and it parsed the file in about 1/20th the time.

And I'm a hardware guy...

Sad isn't it? I'm just so glad that I get to do what I love, so that work for me is just doing what I like (and would have been doing anyway as a hobby) on someone else's project...

.


Top
  Profile  
 
 Post subject:
PostPosted: Tue Jul 17, 2007 5:35 am 
Java Junkie
Java Junkie
User avatar

Joined: Mon Jun 14, 2004 10:23 am
Posts: 24150
Location: Granite Heaven
Skilless wrote:
Sad isn't it? I'm just so glad that I get to do what I love, so that work for me is just doing what I like (and would have been doing anyway as a hobby) on someone else's project...
.


I think that if we can find a way to instill that value in our youth, or discover why it has disappeared over the past 2 or 3 generations, that our society (I'm lumping you in with Canucks .. sorry!) would improve immensely.

What happened to pride of craft in carpentry (for example)? Why does everyone want a paycheque instead of a satisfying day's work?


Top
  Profile  
 
 Post subject:
PostPosted: Tue Jul 17, 2007 7:03 am 
Team Member
Team Member
User avatar

Joined: Fri Apr 28, 2006 7:52 pm
Posts: 3189
This is what's been bugging me for a really long time, especially now that I'm in college. It took me a really long time to figure out where to go, and even now I'm not completely satisfied. It bugs me that most people just learn about computers at school, and they only work with them "at work".

Then we get idiots like this guy I had to deal with (btw, did you guys read his resume?).

What a sad generation..

Isn't it ironic that the literal interpretation of "professional" is "one who *claims* to be an expert"?


Top
  Profile  
 
 Post subject:
PostPosted: Tue Jul 17, 2007 8:12 am 
SON OF A GUN
SON OF A GUN
User avatar

Joined: Mon Nov 01, 2004 5:41 am
Posts: 11602
Jipstyle wrote:
Why does everyone want a paycheque instead of a satisfying day's work?


A day of satisfying work doesn't put plasma screen tvs in their living room?


Top
  Profile  
 
 Post subject:
PostPosted: Tue Jul 17, 2007 8:13 am 
[Team Member]
[Team Member]
User avatar

Joined: Fri Oct 15, 2004 7:07 am
Posts: 1491
Location: 127.0.0.1
yurimxpxman wrote:
This is what's been bugging me for a really long time, especially now that I'm in college. It took me a really long time to figure out where to go, and even now I'm not completely satisfied. It bugs me that most people just learn about computers at school, and they only work with them "at work".

Then we get idiots like this guy I had to deal with (btw, did you guys read his resume?).

What a sad generation..

Isn't it ironic that the literal interpretation of "professional" is "one who *claims* to be an expert"?


This gets back to college for me. I went to school to become an electrical engineer, only because I was so "into" computers (and not just hardware, but operating systems too). Prior to every semester, there was a mandatory session on ethics and documentation. In that (my) first session for EEs, there were 600 students. By the time I graduated, 70 (including the 17 in my graduating class) of the 600 ended up with engineering degrees. Of those, I can tell you about 50% of the 600 were there for "the money" because everyone knew that engineers get paid a lot right out the gate. Well, what I thought then still holds true...if you're doing it for the money, you'll never see it through, its just too difficult. In the work world, once you have the job, its just the quality of the work that suffers and the effort of "good" engineers is spent making up the difference. My company has a habit of designing programs (proposals) with crappy, unsound design, and then when the shit hits the fan, taking all of the really good engineers from around the company and throwing them at the problem. The problem with that is, that the good engineers have to make the bad design work and then because these are usually long term projects, have to support that crap for years...when I first got to the program I'm currently on, I was excited because there was SO MUCH WRONG, that I knew I could make a huge difference in remaking it into a good design. I can't even tell you the personal satisfaction I get from seeing my designs not only getting implemented, but working and seeing the huge improvements that occur because of the design. Now, we are almost to a point where techs/engineers with minimal experience (I'd call them sub-standard, but that sounds mean, doesn't it?) can maintain the system for a good 5-10 years.

That's something that money just can't buy. If you aren't enjoying your job and don't derive personal satisfaction from your work, I really feel sorry for you...

Oh, and the big DLP television in my family room looks dandy. I just happen to get paid fairly well too...icing on the cake.


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group