|
Let's not forget that a fundamental thought in Unix was small, individual programs strung together through pipes and stdin/stdout redirection.
So:
find . -print |grep "draw" | grep "\.c$" |tar -c -T - |gzip -c > temp.tar.gz
is an elaborate way (albeit inefficient) of finding all files ending in ".c" in the current directory and all subdirectories that contain "draw" as any part of the file name to create a tar file which is then zipped to stdout to a file named "temp.tar.gz"
The point here is demonstrate hooking together small programs through piping.
So, because they probably found that many tar files got zipped, someone got the idea of combining zip into the tar command through "tar -cvfz temp.tar.gz filelist". A good idea.
|
|
|
|
|
|
Well yes. We support Wales, and whoever is playing against England.
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
F***ing troglodyte.
|
|
|
|
|
This was intended to be a humorous discussion, but I clearly failed in that regard. Based on the responses, I seem to have unintentionally touched a nerve. Since I can't simply delete the post, and I do believe in transparency, I'll leave it unedited below. Needless to say, I won't be collating responses. I'll just take my lumps and move on...lesson learned
--- Original Message ---
I've been lurking around the CodeProject's Q&A forums a little bit lately and noticing a few trends. I thought it might be fun to share pet peeves...I'm coming down with a case of them lately
I truly don't want to discourage anyone from posting questions, so please be nice, keep it general, and don't call out anyone by name. Remember we all started out needing to learn.
So, to get it started, here are some of my pet peeves. What are yours?
"it didn't work" - Help us. What was "it"? And, how did it fail to meet your expectations?
"nothing happened" - Really, nothing? Could you please be less specific?
"help urgently needed" - What makes it urgent? Should I rush to help?
Also...no quote here, but the purity police rush in, leave an opinion, and utterly fail to answer the question.
I am curious to hear your experiences. In a few days, if there is any interest, I'll try to collate and rank similar observations.
Also, what's the consensus? Should I simply edit this post to include the results? Or, should I make a new post with the results?
modified 16-Jun-18 14:31pm.
|
|
|
|
|
|
My biggest pet peeve is "Help = write my code for me".
Having said that, nobody who NEEDS to read your post is ever going to.
|
|
|
|
|
well, if it's just complaining about it: soapbox
if you have solutions you wish to propose: bugs & suggs
This internet thing is amazing! Letting people use it: worst idea ever!
|
|
|
|
|
I would like to respond to you, Eric, but I am not clear what you are talking about, and whether you are describing your own personal reactions, or describing what you have actually observed.
Rather than "lurking," why not lend a hand, and see how that goes ?
«... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12
|
|
|
|
|
I just left a comment on a week-old question that I offered a solution for with no feedback at all from the OP...and it's not the first time. The only time I goto QA is usually on the weekends when it gets boring here.
An interesting question might be 'how many questions have you personally asked in a forum/qa?' I've been here for 11 years and have posted (without looking) maybe 2 questions. Why so few? It's rare that I can't find what I'm looking for without bothering a bunch of strangers who probably have better things to do. I also wouldn't want to discourage anyone from posting questions, but it should be done as a last resort. C'mon, everyone should know how google works in this day and age.
I don't know about others, but I stay away from homework questions. That's what instructors/aides/tutors are paid for.
"Go forth into the source" - Neal Morse
|
|
|
|
|
kmoorevs wrote: I've been here for 11 years and have posted (without looking) may'be 2 questions. Why so few? I Hi, this is not intended as a "trick" question: have you asked questions on StackOverflow during this time period ?
I would interpret your few questions posted on QA here as being possibly correlated with:
1. you had a good technical education, or you self-educated with focus and direction. specifically: you learned the art/skill of debugging, and you learned some-kind-of-SOLID organizing principle for development.
2. you have natural analytic and logical problem-solving skills.
3. you have a work/study ethos that emphasizes self-reliance. you're willing to bear down, and work through frustration.
Hypothetically, I would say you are far from the average QA poster here.
cheers, Bill
«... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12
|
|
|
|
|
BillWoodruff wrote: have you asked questions on StackOverflow during this time period
I don't have a membership at 'that other website'. Google sends me there quite a bit, and I find answers there, but I've never felt like actually joining.
As for the rest, you pretty much nailed it, but all those traits seem to be required for those in our field, or those looking to join it...or at least it was when I started. (PG or Pre-Google)
BillWoodruff wrote: Hypothetically, I would say you are far from the average QA poster here.
Point taken. Thanks Bill!
"Go forth into the source" - Neal Morse
|
|
|
|
|
Eric Lynch wrote: "help urgently needed" - What makes it urgent? Should I rush to help? If it is urgent, call 911. Anything else can wait until tomorrow.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Fun stuff...I was checking out your articles. One of them is almost spot-on for a Q&A I recently tried to help with...getting a place name from a postal code. As with your article, I recommended GeoNames to the OP.
Would have saved me some time, if I simply posted a link to your article
|
|
|
|
|
That was my first article on CodeProject; there's a more modern version by another member - GeoNames .NET WCF Client[^]
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Eddy Vluggen wrote: "help urgently needed"
Google translates this to "I have to hand it in as my homework this morning".
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Regarding your addendum I wouldn't take the responses to your post too much to heart. You may be a little innocent regarding the general tenor of the lounge - probably been too busy writing articles.
In response to your original post I might add that the answers given in Q&A are not always edifying.
Peter Wasser
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
modified 16-Jun-18 20:30pm.
|
|
|
|
|
Thank you, much appreciated. I promise I'm not taking it too much to heart
I was (slightly) surprised that I upset folks with my post, not my intent. What can I say...I've got a weird sense of humor. At this point, simply looking to move on.
You're completely correct, I enjoy writing articles much more. I think I'll stick to that in the future.
Ironically, I also enjoy helping in Q&A, when I've been able. I'll still do that as well.
|
|
|
|
|
pwasser wrote: I might add that the answers given in Q& are not always edifying. But, they are often as surreal as the questions.
«... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12
|
|
|
|
|
What CP needs is an AI that automatically responds to "peeve" questions, particularly homework questions, so we never see them. Imagine the marketing potential -- a few tweaks, and it could filter out and answer 90% of the questions your SO asks! Alexa 2.0: "I'd be happy to answer that question..."
|
|
|
|
|
I'm with you on that one...thank you, Marc
|
|
|
|
|
Yeah, the first filter would be if the user ID starts with "Member", with a rep points value less than 500, and the user is from India.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Marc Clifton wrote: What CP needs is an AI that automatically responds to "peeve" questions,
That is, until the AI gets bored repeating itself then starts creating its own questions for entertainment purposes.
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
One of my personal favorites is "I am new to ...".
And regarding the strange responses to your question: the Lounge has very restricted list of allowed activities, mostly "CCC", "I was sent this" and links to YouTube videos. Your post is not in this list, so ... lesson learned.
|
|
|
|
|
Member 11917640 wrote: the Lounge has very restricted list of allowed activities, mostly "CCC", "I was sent this" and links to YouTube videos. I suggest you test the air you are breathing in your Lounge for nano-particles of reindeer piss with traces of amanita muscaria.
«... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12
|
|
|
|