付费下载
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
HowtoAskQuestionstheSmartWay题目:《HowtoAskQuestionstheSmartWay》时间:2016年7月2日20:00地点:新生大学AppJohn。《HowtoAskQuestionstheSmartWay》byEricStevenRaymond。IntroductionIntheworldofhackers,thekindofanswersyougettoyourtechnicalquestionsdependsasmuchonthewayyouaskthequestionsasonthedifficultyofdevelotheanswer.Thisguidewillteachyouhowtoaskquestionsinawaymorelikelytogetyouasatisfactoryanswer.Nowthatuseofopensourcehas ewidespread,youcanoftengetasgoodanswersfromother,moreexperiencedusersasfromhackers.ThisisaGoodThing;userstendtobejustalittlebitmoretolerantofthekindoffailuresnewbiesoftenhave.Still,treatingexperienceduserslikehackersinthewayswe mendherewillgenerallybethemosteffectivewaytogetusefulanswersoutofthem,Thethingtounderstandisthathackersactuallylikehardproblemsandgood,thought-provokingquestionsaboutthem.Ifwedidn't,wewouldn'tbehere.Ifyougiveusaninterestingquestiontochewonwe'llbegratefultoyou;goodquestionsareastimulusandagift.Goodquestionshelpusdevelopourunderstanding,andoftenrevealproblemswemightnothavenoticedorthoughtaboutotherwise.Amonghackers,“Goodquestion!”isastrongandsincereDespitethis,hackershaveareputationformeetingsimplequestionswithwhatlookslikehostilityorarrogance.Itsometimeslookslikewe'rereflexivelyrudetonewbiesandtheignorant.Butthisisn'treallyWhatweare,unapologetically,ishostiletopeoplewhoseemtobeunwillingtothinkortodotheirownbeforeaskingquestions.Peoplelikethataretimesinks—theytakewithoutgivingback,andtheywastetimewecouldhavespentonanotherquestionmoreinterestingandanothermoreworthyofananswer.Wecallpeoplelikethis“losers”(andforhistoricalreasonswesometimesspellit“lusers”).Werealizethattherearemanypeoplewhojustwanttousethesoftwarewewrite,andwhohavenointerestinlearningtechnicaldetails.Formostpeople,acomputerismerelyatool,ameanstoanend;theyhavemoreimportantthingstodoandlivestolive.Weacknowledgethat,anddon'texpecteveryonetotakeaninterestinthetechnicalmattersthatfascinateus.Nevertheless,ourstyleofansweringquestionsistunedforpeoplewhodotakesuchaninterestandarewillingtobeactiveparticipantsinproblem-solving.That'snotgoingtochange.Norshouldit;ifitdid,wewould elesseffectiveatthethingswedobest.We're(largely)volunteers.Wetaketimeoutofbusylivestoanswerquestions,andattimeswe'reoverwhelmedwiththem.Sowefilterruthlessly.Inparticular,wethrowawayquestionsfrompeoplewhoappeartobelosersinordertospendourquestion-answeringtimemoreefficiently,onwinners.Ifyoufindthisattitudeobnoxious,condescending,orarrogant,checkyourassumptions.We'renotaskingyoutogenuflecttous—infact,mostofuswouldlovenothingmorethantodealwithyouasanequal eyouintoourculture,ifyouputintheeffortrequiredtomakethatpossible.Butit'ssimplynotefficientforustotrytohelppeoplewhoarenotwillingtohelpthemselves.It'sOKtobeignorant;it'snotOKtoplaystupid.So,whileitisn'tnecessarytoalreadybetechnicallycompetenttogetattentionfromus,itisnecessarytodemonstratethekindofattitudethatleadstocompetence—alert,thoughtful,observant,willingtobeanactivepartnerindeveloasolution.Ifyoucan'tlivewiththissortofdiscrimination,wesuggestyoupaysomebodyforacommercialsupportcontractinsteadofaskinghackersto donatehelptoyou.Ifyoudecidetocometousforhelp,youdon'twanttobeoneofthelosers.Youdon'twanttoseemlikeone,either.Thebestwaytogetarapidandresponsiveansweristoaskitlike rsonwithsmarts,confidence,andclueswhojusthappenstoneedhelpononeparticularproblem.(Improvementstothisguideare e.Youcanmailsuggestions orrespond-a .Notehoweverthatthisisnotintendedtobeageneralguidetonetiquette,andwewillgenerallyrejectsuggestionsthatarenotspecificallyrelatedtoelicitingusefulanswersinatechnicalforum.)BeforeYouAskBeforeaskingatechnicalquestionby,orinanewsgroup,oronawebsitechatboard,dothefollowing:Trytofindananswerbysearchingthearchivesoftheforumormailinglistyouplantopostto.TrytofindananswerbysearchingtheTrytofindananswerbyreadingtheTrytofindananswerbyreadingaTrytofindananswerbyinspectionorTrytofindananswerbyaskingaskilledIfyou'reaprogrammer,trytofindananswerbyreadingthesourcecode.Whenyouaskyourquestion,displaythefactthatyouhavedonethesethings;thiswillhelpestablishthatyou'renotbeingalazyspongeandwastingpeople'stime.Betteryet,displaywhatyouhavelearnedfromngthesethings.Welikeansweringquestionsforpeoplewhohavedemonstratedtheycanlearnfromtheanswers.Usetacticslikenga searchonthetextofwhatevererrormessageyouget(searching groupsaswellasWges).Thismightwelltakeyoustraighttofixationoramailinglistthreadansweringyourquestion.Evenifitdoesn't,saying“Idonthefollowingphrasebutdidn'tgetanythingthatlookedpromising”isagoodthingtonornewspostingsrequestinghelp,ifonlybecauseitrecordswhatsearcheswon'thelp.Itwillalsohelptodirectotherpeoplewithsimilarproblemstoyourthreadbylinkingthesearchtermstowhatwillhopefullybeyourproblemandresolutionthread.Takeyourtime.DonotexpecttobeabletosolveacomplicatedproblemwithafewsecondsofGoogling.ReadandunderstandtheFAQs,sitback,relaxandgivetheproblemsomethoughtbeforeapproachingexperts.Trustus,theywillbeabletolfromyourquestionshowmuchreadingandthinkingyoudid,andwillbemorewillingtohelpifyoucomeprepared.Don'tinstantlyfireyourwholearsenalofquestionsjustbecauseyoursearchturnedupnoanswers(ortoomany).Prepareyourquestion.Thinkitthrough.Hasty-soundingquestionsgethastyanswers,ornoneatall.Themoreyoudotodemonstratethathavingputthoughtandeffortintosolvingyourproblembeforeseekinghelp,themorelikelyyouaretoactuallygethelp.Bewareofaskingthewrongquestion.Ifyouaskonethatisbasedonfaultyassumptions,J.RandomHackerisquiikelytoreplywithauselesslyliteralanswerwhilethinking“Stupidquestion...”,andhotheexperienceofgettingwhatyouaskedforratherthanwhatyouneededwillteachyoualesson.Neverassumeyouareentitledtoananswer.Youarenot;youaren't,afterall,payingfortheservice.Youwillearnananswer,ifyouearnit,byaskingasubstantial,interesting,andthought-provokingquestion—onethatimplicitlycontributestotheexperienceofthecommunityratherthanmerelypassivelydemandingknowledgefromothers.Ontheotherhand,makingitclearthatyouareableandwillingtohelpintheprocessofdevelothesolutionisaverygoodstart.“Wouldsomeoneprovideapointer?”,“Whatismyexamplemissing?”,and“WhatsiteshouldIhavechecked?”aremorelikelytogetansweredthan“PleaseposttheexactprocedureIshoulduse.”becauseyou'remakingitclearthatyou'retrulywillingtocompletetheprocessifsomeonecanjustpointyouintherightdirection.WhenYouAskChooseyourforumcarefullyBesensitiveinchoosingwhereyouaskyourquestion.Youarelikelytobeignored,orwrittenoffasaloser,ifyou:postyourquestiontoaforumwhereit'soffpostaveryelementaryquestiontoaforumwhereadvancedtechnicalquestionsareexpected,orvice-versacross-posttotoomanydifferentpostrsonal tosomebodywhoisneitheranacquaintanceofyoursnor allyresponsibleforsolvingyourproblemHackersblowoffquestionsthatareinappropriayedinordertotrytoprotecttheircommunicationschannelsfrombeingdrownedinirrelevance.Youdon'twantthistohappentoyou.Thestep,therefore,istofindtherightforum.Again,andotherWeb-searchingmethodsareyourfriend.Usethemtofindtheprojectwgemostcloselyassociatedwiththehardwareorsoftwaregivingyoudifficulties.UsuallyitwillhavelinkstoaFAQ(FrequentlyAskedQuestions)list,andtoprojectmailinglistsandtheirarchives.Thesinglistsarethefinalplacestogoforhelp,ifyourownefforts(includingreadingthoseFAQsyoufound)donotfindyouasolution.Theprojectpagemayalsodescribeabug-reportingprocedure,orhavealinktoone;ifso,followit.Shootingoffantorsonorforumwhichyouarenotfamiliarwithisriskyatbest.Forexample,donotassumethattheauthorofaninformativewgewantstobeyourfreeconsultant.Donotmakeoptimisticguessesaboutwhetheryourquestionwillbe e—ifyou'reunsure,sendisewhere,orrefrainfromsendingitatall.WhenselectingaWebforum,newsgroupormailinglist,don'ttrustthenamebyitselftoofar;lookforaFAQorchartertoverifyyourquestionison-topic.Readsomeofthebacktrafficbeforepostingsoyou'llgetafeelforhowthingsaredonethere.Infact,it'saverygoodideatodoakeywordsearchforwordsrelatingtoyourproblemonthenewsgroupormailinglistarchivesbeforeyoupost.Itmayfindyouananswer,andifnotitwillhelpyouformulateabetterquestion.Don'tshotgun-blastalltheavailablehelpchannelsatonce,that'slikeyellingandirritatespeople.Stepthroughthemsoftly.Knowwhatyourtopicis!OneoftheclassicmistakesisaskingquestionsabouttheUnixorWindowsprogramminginterfaceinaforumdevotedtoalanguageorlibraryortoolportableacrossboth.Ifyoudon'tunderstandwhythisisablunder,you'dbebestoffnotaskinganyquestionsatalluntilyougetit.Ingeneral,questionstoawell-selectedpublicforumaremorelikelytogetusefulanswersthanequivalentquestionstoaprivateone.Therearemultiplereasonsforthis.Oneissimplythesizeofthepoolofpotentialrespondents.Anotheristhesizeoftheaudience;hackerswouldratheranswerquestionsthateducatemanypeoplethanquestionsservingonlyafew.Understandably,skilledhackersandauthorsofpopularsoftwarearealreadyreceivingmorethantheirfairshareofmis-edmessages.Byaddingtotheflood,youcouldinextremecasesevenbethestrawthatbreaksthecamel'sback—quiteafewtimes,contributorstopopularprojectshavewithdrawntheirsupportbecausecollateraldamageintheformofuselesstraffictotheiralaccountsbecameunbearable.StackSearch,thenaskonStackInrecentyears,theStackExchangecommunityofsiteshasemergedasamajorresourceforansweringtechnicalandotherquestionsandiseventhepreferredforumformanyopen-sourceprojects.StartwithasearchbeforelookingatStackExchange;indexesitinrealtime.There'saverygoodchancesomeonehasalreadyaskedasimilarquestion,andtheStackExchangesitesareoftennearthetopofthesearchresults.Ifyoudidn'tfindanythingthrough,searchagainonthespecificsitemostrelevanttoyourquestion(seebelow).Searchingwithtagscanhelpnarrowdowntheresults.Ifyoustilldidn'tfindanything,postyourquestionontheonesitewhereit'smoston-topic.Usetheformattingtools,especiallyforcode,andaddtagsthatarerelatedtothesubstanceofyourquestion(particularlythenameoftheprogramminglanguage,operatingsystem,orlibraryyou'rehavingtroublewith).Ifacommenterasksyouformoreinformation,edityourmainposttoincludeit.Ifanyanswerishelpful,clicktheuparrowtoupvoteit;ifananswergivesasolutiontoyourproblem,clickthecheckunderthevotingarrowstoacceptitasStackExchangehasgrowntoover100sites,butherearethemostlikelycandidates:SuperUserisforquestionsaboutgeneral-purposecomputing.Ifyourquestionisn'taboutcodeorprogramsthatyoutalktoonlyoveranetworkconnection,itprobablygoeshere.StackOverflowisforquestionsaboutServerFaultisforquestionsaboutserverandnetworkSeveralprojectshavetheirownspecificsites,includingAndroid,Ubuntu,TeX/LaTeX,andSharePoint.ChecktheStackExchangesiteforanup-to-daist.WebandIRCforumsYourlocalusergroup,oryourLinuxdistribution,mayadvertiseaWebforumorIRCchannelwherenewbiescangethelp.(Innon-English-speakingcountriesnewbieforumsarestillmorelikelytobinglists.)Thesearegoodplacestoask,especiallyifyouthinkyoumayhavetrippedoverarelativelysimpleorcommonproblem.AnadvertisedIRCchannelisanopeninvitationtoaskquestionsthereandoftengetanswersinrealtime.Infact,ifyougottheprogramthatisgivingyouproblemsfromaLinuxdistribution(asiscommontoday),itmaybebettertoaskinthedistro'sforum/listbeforetryingtheprogram'sprojectforum/list.Theproject'shackersmayjustsay,“useourbuild”.BeforepostingtoanyWebforum,checkifithasaSearchfeature.Ifitdoes,tryacoupleofkeywordsearchesforsomethinglikeyourproblem;itjustmighthelp.IfyoudidageneralWebsearchbefore(asyoushouldhave),searchtheforumanyway;yourWeb-widesearchenginemightnothaveallofthisforumindexedrecently.ThereisanincreasingtendencyforprojectstodousersupportoveraWebforumorIRCchannel,withmorefordevelopmenttraffic.Solookforthosechannels whenseekingproject-specifichelp.InIRC,it'sprobablybestnottodumpalongproblemdescriptiononthechannelthing;somepeopleinterpretthisaschannel-flooding.Besttoutteraone-lineproblemdescriptioninawaypitchedtostartaconversationonthechannel.Asasecondstep,useprojectmailinglistsWhenaprojecthasadevelopmentmailinglist,writetothinglist,nottoindividualdevelopers,evenifyoubelieveyouknowwhocanbestansweryourquestion.Checktheationoftheprojectanditshomepagefortheaddressofaprojectmailinglist,anduseit.Thereareseveralgoodreasonsforthispolicy:Anyquestiongoodenoughtobeaskedofonedeveloperwillalsobeofvaluetothewholegroup.Contrariwise,ifyouyourquestionistoodumbforamailinglist,it'snotanexcusetoharassindividualdevelopers.Askingquestionsonthelistdistributesloadamongdevelopers.Theindividualdeveloper(especiallyifhe'stheprojectleader)maybetoobusytoansweryourquestions.Mostmailinglistsarearchivedandthearchivesareindexedbysearchengines.Ifyouaskyourquestionon-listanditisanswered,afuturequerentcouldfindyourquestionandtheanswerontheWebinsteadofaskingitagain.Ifcertainquestionsareseentobeaskedoften,developerscanusethatinformationtoimprovetheationorthesoftwareitselftobelessconfusing.Butifthosequestionsareaskedinprivate,nobodyhasthecompletepictureofwhatquestionsareaskedmostoften.Ifaprojecthasbotha“user”anda“developer”(or“hacker”)mailinglistorWebforum,andyouarenothackingonthecode,askinthe“user”list/forum.Donotassumethatyouwillbe eonthedeveloperlist,wherethey'relikelytoexperienceyourquestionasnoisedisruptingtheirdevelopertraffic.However,ifyouaresureyourquestionisnon-trivial,andyougetnoanswerinthe“user”list/forumforseveraldays,trythe“developer”one.Youwouldbewelladvisedtolurkthereforafewdaysoratleastreviewthelastfewdaysofarchivedmessages,tolearnthelocalfolkwaysbeforeposting(actuallythisisgoodadviceonanyprivateorIfyoucannotfindaproject'smailinglistaddress,butonlyseetheaddressofthemaintaineroftheproject,goaheadandwritetothemaintainer.Buteveninthatcase,don'tassumethatthinglistdoesn'texist.Mentioninyourthatyoutriedandcouldnotfindtheappropriatinglist.Alsomentionthatyoudon'tobjecttohavingyourmessageforwardedtootherpeople.(Manypeoplebelievethatprivateshouldremainprivate,evenifthereisnothingsecretinit.Byallowingyourmessagetobeforwardedyougiveyourcorrespondentachoiceabouthowtohandleyour.)Usemeaningful,specificsubjectheadersOnmailinglists,newsgroupsorWebforums,thesubjectheaderisyourgoldenopportunitytoattractqualifiedexperts'attentioninaround50charactersorfewer.Don'twasteitonbabblelike“Pleasehelpme”(letalone“PLEASEHELPME!!!!”;messageswithsubjectslikethatgetdiscardedbyreflex).Don'ttrytoimpressuswiththedepthofyouranguish;usethespaceforasuper-conciseproblemdescriptionOnegoodconventionforsubjectheaders,usedbymanytechsupportanizations,is“object-deviation”.The“object”partspecifieswhat roupofthingsishavingaproblem,andthe“deviation”partdescribesthedeviationfromexpectedbehavior. doesn'tworkproperlyonmylaptop! 6.8.1missh nmousecursor,FoowareMV1005vid.chipset 6.8.1mousecursoronFoowareMV1005vid.chipset-is Theprocessofwritingan“object-deviation”descriptionwillhelpyouanizeyourthinkingabouttheprobleminmoredetail.Whatisaffected?Justthemousecursororothergraphicstoo?IsthisspecifictotheX. versionofX?Toversion6.8.1?IsthisspecifictoFoowarechipsets?TomodelMV1005?Ahackerwhoseestheresultcanimmediayunderstandwhatitisthatyouarehavingaproblemwithandtheproblemyouarehaving,ataglance.Moregenerally,imaginelookingattheindexofanarchiveofquestions,withjustthesubjectlinesshowing.Makeyoursubjectlinereflectyourquestionwellenoughthatthenext searchingthearchivewithaquestionsimilartoyourswillbeabletofollowthethreadtoananswerratherthanpostingthequestionagain.Ifyouaskaquestioninareply,besuretochangethesubjectlinetoindicatethatyou'reaskingaquestion.ASubjectlinethatlookslike“Re:test”or“Re:newbug”islesslikelytoattractusefulamountsofattention.Also,parequotationofpreviousmessagestotheminimumconsistentwithcluinginnewreaders.Donotsimplyhitreplytoalistmessageinordertostartanentirelynewthread.Thiswilllimityouraudience.Som readers,likemutt,allowtheusertosortbythreadandthenhidemessagesinathreadbyfoldingthethread.Folkswhodothatwillneverseeyourmessage.Changingthesubjectisnotsufficient.Mutt,andprobablyothermailreaders,looksatotherinformationinthe 'sheaderstoassignittoathread,notthesubjectline.Insteadstartanentirelynew OnWebforumstherulesofgoodpracticeareslightlydifferent,becausemessagesareusuallymu oretightlyboundtospecificdiscussionthreadsandofteninvisibleoutsidethosethreads.Changingthesubjectwhenaskingaquestioninreplyisnotessential.Notallforumsevenallowseparatesubjectlinesonreplies,andnearlynobodyreadsthemwhentheydo.However,askingaquestioninareplyisadubiouspracticeinitself,becauseitwillonlybeseenbythosewhoarewatchingthisthread.So,unlessyouaresureyouwanttoaskonlythepeoplecurrentlyactiveinthethread,startanewone.MakeiteasytoreplyFinishingyourquerywith“Pleasesendyourreplyto...”makesitquiteunlikelyyouwillgetananswer.Ifyoucan'tbebotheredtotakeeventhefewsecondsrequiredtosetupacorrectReply-Toheaderinyourmailagent,wecan'tbebotheredtotakeevenafewsecondstothinkaboutyourproblem.Ifyourmailprogramdoesn'tpermitthis,getabettermailprogram.Ifyouroperatingsystemdoesn'tsupportanyprogramsthatpermitthis,getabetteroperatingInWebforums,askingforareplyby isoutrightrude,unlessyoubelievetheinformationmaybesensitive(andsomebodywill,forsomeunknownreason,letyoubutnotthewholeforumknowit).Ifyouwantancopywhensomebodyrepliesinthethread,requestthattheWebforumsendit;thisfeatureissupportedalmosteverywhereunderoptionslike“watchthisthread”,“sendonanswers”,etc.Writeinclear,grammatical,correctly-spelledlanguageWe'vefoundbyexperiencethatpeoplewhoarecarelessandsloppywritersareusuallyalsocarelessandsloppyatthinkingandcoding(oftenenoughtobeton,anyway).Answeringquestionsforcarelessandsloppythinkersisnotrewarding;we'dratherspendourtimeSoexpressingyourquestionclearlyandwellisimportant.Ifyoucan'tbebotheredtodothat,wecan'tbebotheredtopayattention.Spendtheextraefforttopolishyourlanguage.Itdoesn'thavetobestifforformal—infact,hackerculturevaluesinformal,slangyandhumorouslanguageusedwithprecision.Butithastobeprecise;therehastobesomeindicationthatyou'rethinkingandpayingattention.Spell,punctuate,andcapitalizecorrectly.Don'tconfuse“its”with“it's”,“loose”with“lose”,or“discrete”with“discreet”.Don'tTYPEINALLCAPS;thisisreadasshoutingandconsideredrude.(All-smallsisonlyslightlylessannoying,asit'sdifficulttoread.AlanCoxcangetawaywithit,butyoucan't.)Moregenerally,ifyouwriikeasemi-literateboobyouwillverylikelybeignored.Sodon'tuseinstant-messagingshortcuts.Spelling"you"as"u"makesyoulooklikeasemi-literateboobtosavetwoentirekeystrokes.Worse:writinglikeal33tscriptkiddiehax0ristheabsolutekissofdeathandguaranteesyouwillreceivenothingbutstonysilence(or,atbest,aheahelofscornandsarcasm)inIfyouareaskingquestionsinaforumthatdoesnotuseyournativelanguage,youwillgetalimitedamountofslackforspellingandgrammarerrors—butnoextraslackatallforlaziness(andyes,wecanusuallyspotthatdifference).Also,unlessyouknowwhatyourrespondent'slanguagesare,writeinEnglish.Busyhackerstendtosimplyflushquestionsinlanguagestheydon'tunderstand,andEnglishistheworkinglanguageoftheInternet.BywritinginEnglishyouminimizeyourchancesthatyourquestionwillbediscardedIfyouarewritinginEnglishbutitisasecondlanguageforyou,itisgoodformtoalertpotentialrespondentstopotentiallanguagedifficultiesandoptionsfettingaroundthem.Examples:Englishisnotmynativelanguage;pleaseexcusetyIfyouspeak$LANGUAGE,please/PMme;Imayneedassistancetranslatingmyquestion.Iamfamiliarwiththetechnicalterms,butsomeslangexpressionsandidiomsaredifficultforme.I'vepostedmyquestionin$LANGUAGEandEnglish.I'llbegladtotranslateresponses,ifyouonlyuseoneortheother.Sendquestionsinaccessible,standardformatsIfyoumakeyourquestionartificiallyhardtoread,itismorelikelytobepassedoverinfavorofonethatisn't.So:Sendplaintextmail,notHTML.(It'snothardtoturnoffMIMEattaentsareusuallyOK,butonlyiftheyarerealcontent(suchasanattachedsourcefileorpatch),andnotmerelyboilerplategeneratedbyyourmailclient(suchasanothercopyofyourDon'dinwhichentireparagraphsaremultiply-wrappedlines.(Thismakesittoodifficulttoreplytojustpartofthemessage.)Assumethatyourrespondentswillbereadingmailon80-character-widetextdisplaysandsetyourlinewrapaccordingly,tosomethinglessthan80.However,donotwrapdata(suchaslogfiledumpsorsessiontranscripts)atanyfixedcolumnwidth.Datashouldbeincludedas-is,sorespondentscanhaveconfidencethattheyareseeingwhatyouDon'dMIMEQuoted-PrintableencodingtoanEnglish-languageforum.Thisencodingcanbenecessarywhenyou'repostinginalanguageASCIIdoesn'tcover,butmanyagentsdon'tsupportit.Whentheybreak,allthose=20glyphsscatteredthroughthetextareuglyanddistracting—ormayactivelysabotagethesemanticsofyourNever,everexpecthackerstobeabletoreadclosedproprietaryformatslikeWordorExcel.Mosthackersreacttotheseaboutaswellasyouwouldtohavingapileofingpigmanuredumpedonyourdoorstep.Evenwhentheycancope,theyresenthavingtodoso.Ifyou'resendingfromaWindowsmachine,turnoff'sproblematic“SmartQuotes”feature(FromTools>AutoCorrectOptions,clearthesmartquotescheckboxunderAutoFormatAsYouType.).Thisissoyou'llavoidsprinklinggarbagecharactersthroughyourmail.InWebforums,donotabuse“sy”and“HTML”features(whentheyarepresent).AsyortwoisusuallyOK,butcoloredfancytexttendstomakepeoplethinkyouarelame.Seriouslyoverusingsysandcolorandfontswillmakeyoucomeofflikeagigglyteenagegirl,whichisnotgenerallyagoodideaunlessyouaremoreinterestedinsexthananswers.Ifyou'reusingagraphical-user-interfacclientsuchasNetscMessenger,MSOutlook,ortheirilk,bewarethatitmayviolatetheseruleswhenusedwithitsdefaultsettings.Mostsuchclientshavea-based“ViewSource”command.Usethisonsomethinginyoursent-mailfolder,verifyingsendingofplaintextwithoutunnecessaryattachedcrud.BepreciseandinformativeaboutyourproblemDescribethesymptomsofyourproblemorbugcarefullyandDescribetheenvironmentinwhichitoccurs(machine,OS,application,whatever).Provideyourvendor'sdistributionandreleaselevel(e.g.:“FedoraCore7”,“Slackware9.1”,etc.).Describetheresearchyoudidtotryandunderstandtheproblembeforeyouaskedthequestion.Describethediagnosticstepsyoutooktotryandpindowntheproblemyourselfbeforeyouaskedthequestion.Describeanypossiblyrelevantrecentchangesinyourcomputerorsoftwareconfiguration.Ifatallpossible,provideawaytoreproducetheprobleminacontrolledenvironment.Dothebestyoucantoanticipatethequestionsahackerwillask,andanswertheminadvanceinyourrequestforhelp.Givinghackerstheabilitytoreproducetheprobleminacontrolledenvironmentisespeciallyimportantifyouarereportingsomethingyouthinkisabugincode.Whenyoudothis,youroddsofgettingusefulanswerandthespeedwithwhichyouarelikelytogetthatanswerbothimprovetremendously.SimonTathamhaswrittenanexcellentessayentitledHowtoReportBugsEffectively.Istrongly mendthatyoureadit.VolumeisnotprecisionYouneedtobepreciseandinformative.Thisendisnotservedbysimplydumhugevolumesofcodeordataintoahelprequest.Ifyouhavealarge,complicatedtestcasethatisbreakingaprogram,trytotrimitandmakeitassmallaspossible.Thisisusefulforatleastthreereasons.One:beingseentoinvesteffortinsimplifyingthequestionmakesitmorelikelyyou'llgetananswer,Two:simplifyingthequestionmakesitmorelikelyyou'llgetausefulanswer.Three:Intheprocessofrefiningyourbugreport,youmaydevelopafixorworkaroundyourself.Don'trushtoclaimthatyouhavefoundabugWhenyouarehavingproblemswithapieceofsoftware,don'tclaimyouhavefoundabugunlessyouarevery,verysureofyourground.Hint:unlessyoucanprovideasource-codepatchthatfixestheproblem,oraregressiontestagainstapreviousversionthatdemonstratesincorrectbehavior,youareprobablynotsureenough.Thisappliestowgesand ation,too;ifyouhavefoundaation“bug”,youshouldsupplyreplacementtextandwhichpagesitshouldgoon.Remember,therearemanyotherusersthatarenotexperiencingyourproblem.OtherwiseyouwouldhavelearnedaboutitwhilereadingationandsearchingtheWeb(youdiddothatbeforecomplaining,didn'tyou?).Thismeansthatveryprobablyitisyouwho ngsomethingwrong,notthesoftware.Thepeoplewhowrotethesoftwareworkveryhardtomakeitworkaswellaspossible.Ifyouclaimyouhavefoundabug,you'llbeimpugningtheircompetence,whiayoffendsomeofthemevenifyouarecorrect.It'sespeciallyundiplomatictoyell“bug”intheSubjectWhenaskingyourquestion,itisbesttowriteasthoughyouassumeyouare ngsomethingwrong,evenifyouarepriva yprettysureyouhavefoundanactualbug.Iftherereallyisabug,youwillhearaboutitintheanswer.Playitsothemaintainerswillwanttoapologizetoyouifthebugisreal,ratherthansothatyouwillowethemanapologyifyouhavemessedup.GrovellingisnotasubstituteforngyourSomepeoplewhogetthattheyshouldn'tbehaverudelyorarrogantly,demandingananswer,retreattotheoppositeextremeofgrovelling.“IknowI'mjustapatheticnewbieloser,but...”.Thisisdistractingandunhelpful.It'sespeci
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 浑源县2025届四年级数学第二学期期中综合测试模拟试题含解析
- 2026年河南省巩义市高三生物下册期末考试模拟卷及参考答案
- 济南市历下区2025-2026学年四下数学期末监测试题(含答案解析)
- 洛宁县2025年数学四年级第二学期期中联考试题(含答案解析)
- 漆器镶嵌装饰工发展趋势测试考核试卷含答案
- 27届沪教版九上化学复习训练题-氧气
- 通信传输设备装调工岗前生产标准化考核试卷含答案
- 淡水珍珠养殖工安全宣传模拟考核试卷含答案
- 稀土后处理工冲突解决强化考核试卷含答案
- 水泥混凝土制品制作工冲突解决测试考核试卷含答案
- 2025国家药品监督管理局医疗器械技术审评中心合同制人员招聘2人笔试备考试题附答案解析
- 第一月考过关测试卷(试卷)2026-2027学年五年级语文上册统编版(含答案)
- 现代农业与生态农业
- 2026年医学科研诚信与伦理课件
- 2026年特种设备安全管理人员A证考试题库(含答案)
- 3.1《买文具》课件 -2026-2027学年五年级上册数学北师大版
- 2026年湖南工业职业技术学院高职单招笔试职业技能测验试题库含答案解析3套试卷
- 中国膝骨关节炎关节腔注射治疗专家共识(2026版)解读
- 孕产妇脓毒症的高危因素与早期识别
- 电子档案和档案数字化副本移交接收规范
- 围手术期高血糖患者营养支持治疗管理专家共识(2025版)
评论
0/150
提交评论