SlideShare a Scribd company logo
How to Ask for Technical Help?
Evidence-based Guidelines for Writing
Questions on Stack Overflow
Fabio Calefato, Filippo Lanubile, Nicole Novielli
COLLAB
University of Bari
Int’l Colloquium on Language Devices and Communication Strategies in Digital Communities
Bari, Nov. 28, 2017
• Programmers cooperate, directly or indirectly
• Massive adoption of social media and rise of the ‘social programmer’ (Storey, ‘12)
and the surrounding ecosystem (Singer et al., ’13)
Community-based Q&A
• Devs more and more seek technical support
from experts other than teammates
– Before: mailing lists and web forums
– Now: question-and-answer sites
• Benefits
– Often answered within minutes
– Gamification leverages
community participation
– Skills acknowledgment
• Q&A site for sw developers
• Created in 2008 by Jeff Atwood and Joel
Spolsky
• Most successful Q&A site
– ~15M questions
– ~23M answers
– ~8M users
– ~40M visits per month
A shift in Q&A sites purpose
Platforms originally aimed at
providing quick solutions to the
information seeker
Platforms supporting the process
of community-driven knowledge
creation
Anderson et al., Discovering Value from Community Activity on Focused Question
Answering Sites: A Case Study of Stack Overflow, KDD 2012
Short-term value,
mostly for the or
original asker
Long-term value,
for a broader
audience
• Important for SE from both professional and
educational perspective
• ~40M visits per month [1]
– ~16M from professional developers
• ~8M registered users [1]
– ~70% report to be self-taught sw devs
• Developers read manuals less and less, they
rather “search” [2]
[1] http://stackoverflow.com/research/developer-survey-2016
[2] M. Shaw, Progress Toward an Engineering Discipline for Software, ICSE 2016 Keynote
Successful questions
– Resolved questions ó ‘closed’ with an accepted answer
SSE@FSE 2014 8
15M questions
4M in the last 2.5 years
Stack Overflow
netiquette
No chit-chat.
Wait, we said
“No chit-chat.”!
Excellent tips, thanks!
I'm trying to do this in a makefile and
it fails horribly: do you know why?
Thanks, Jason
That answer was extremely
helpful Scott, thanks for the
pointer on that!
Excellent! Thanks for the link.
“
“
Be nice.
Wait, we said
“Be nice.”!
Toxicity Hazard /1
Various blog posts from the web
• My Love-Hate Relationship with Stack Overflow
• Why I no Longer Contribute to StackOverflow
• One Aspect of Stack Overflow I Hate and How to
Fix it
• StackOverflow needs Tweaking
• StackOverflow is Dead
• StackOverflow Sucks
• Why StackOverflow Sucks
• This is Why StackOverflow Sucks
• Why StackOverflow Sucks and Participating
There is Impossible
• Stack Overflow Hates New Users
• Stackoverflow Is A Difficult Community to
Participate In
• Off-topic on Stackoverflow: that’s enough
Why ignore the
netiquette?
Empirically validate
Stack Overflow netiquette /1
Logistic
regression model
87K questions
Success	of	
Questions
Affect
Presentation	
Quality
Time
Reputation
Positive	
Sentiment
Negative	
Sentiment
Presence	of	
Code	Snippet
Title	and	Body	
Length
Uppercase	
Character	Ratio
Presence	of	
Multiple	Tags
Day	of	Week
Presence	of	
URLs
Question	
Posting	Time
Asker	
Reputation
Metrics Success	Factors
Actionable
Non	Actionable
Metrics
• Stack Overflow
help center
• Jon Skeet’s
recommendations
• Prior research
findings
Analysis framework
Reputation
• Score measuring
the level of
trustworthiness in
Stack Overflow
– Badges
– Privileges
Affect
SentiStrength
• Estimates the strength of both positive and
negative polarity in short text
Excerpts from the Stack Overflow
Sentiment Strength
Scores
Discretized Sentiment
Scores
Positive Negative Positive Negative Neutral
“I have very simple and stupid trouble […].
I'm pretty confused, explain please, what is
wrong?”
+1 -2 False True False
“[…] Any help would be really great! :-)” +5 -1 True False False
“I want them to resize based on the length
of the data they’re showing”
+1 -1 False False True
Empirically validate
Stack Overflow netiquette /2
Logistic
regression model
87K questions
Online survey
43 developers
Findings
# Guideline
Success
factor
Empirical
support
User
perception
Source
1
Write questions using
a neutral emotional
style
Affect Yes Effective
Skeet, SO Help Center,
Kucuktunc et al., Bazelli et
al.
2
Provide sample code
and data
Presentation
quality
Yes Effective
Skeet, Asaduzzaman et al.,
Duijn et al., Treude et al.
3
Use capital letters
where appropriate
Presentation
quality
Yes Effective Skeet
4 Be concise
Presentation
quality
Yes Ineffective Skeet
5
Use short, descriptive
question titles
Presentation
quality
No Ineffective Skeet
6
Provide context
through tags
Presentation
quality
No Effective Skeet
7
Provide context
through URLs
Presentation
quality
No Effective Ponzanelli et al.
8
Be aware of low-
efficiency hours
Time Yes Ineffective Bosu et al.
=
=
=
¹
¹
¹
= match
¹ mismatch
¹
¹
Toxicity Hazard /2
Answers from our survey
People on Stack Overflow
can be extremely rude
Novice users get flamed
in this forum
Now I access Stack Overflow
through Google without a user
account
It’s my last resort, I don’t really
want to deal with their arrogant
comments
“
“
Toxicity Hazard /3
StackOverflow is like ‘the high school
cool kids table’ from the movies
http://michael.richter.name/blogs/why-i-
no-longer-contribute-to-stackoverflow
“ “
Take-away message
• To reduce the number of unresolved questions,
help users ask better ones
• Increase the awareness in the community
about available guidelines
• Focus only on those that actually work
Thanks!
Contents lists available at ScienceDirect
Information and Software Technology
journal homepage: www.elsevier.com/locate/infsof
How to ask for technical help? Evidence-based guidelines for writing
questions on Stack Overflow
Fabio Calefatoa
, Filippo Lanubileb
, Nicole Noviellib,
*
a
Dipartimento Jonico, University of Bari “A. Moro”, via Duomo 259, 74123, Taranto, Italy
b
Dipartimento di Infomatica, University of Bari “A. Moro”, via E. Orabona 4, 70125, Bari, Italy
A R T I C L E I N F O
Keywords:
Social software engineering
Crowdsourcing
Stack Overflow
Question answering
Sentiment analysis
Emotion mining
A B S T R A C T
Context: The success of Stack Overflow and other community-based question-and-answer (Q&A) sites depends
mainly on the will of their members to answer others’ questions. In fact, when formulating requests on Q&A sites,
we are not simply seeking for information. Instead, we are also asking for other people's help and feedback.
Understanding the dynamics of the participation in Q&A communities is essential to improve the value of
crowdsourced knowledge.
Objective: In this paper, we investigate how information seekers can increase the chance of eliciting a successful
answer to their questions on Stack Overflow by focusing on the following actionable factors: affect, presentation
quality, and time.
Method: We develop a conceptual framework of factors potentially influencing the success of questions in Stack
Overflow. We quantitatively analyze a set of over 87 K questions from the official Stack Overflow dump to assess
the impact of actionable factors on the success of technical requests. The information seeker reputation is in-
cluded as a control factor. Furthermore, to understand the role played by affective states in the success of
questions, we qualitatively analyze questions containing positive and negative emotions. Finally, a survey is
conducted to understand how Stack Overflow users perceive the guideline suggestions for writing questions.
Results: We found that regardless of user reputation, successful questions are short, contain code snippets, and
do not abuse with uppercase characters. As regards affect, successful questions adopt a neutral emotional style.
Conclusion: We provide evidence-based guidelines for writing effective questions on Stack Overflow that soft-
ware engineers can follow to increase the chance of getting technical help. As for the role of affect, we em-
pirically confirmed community guidelines that suggest avoiding rudeness in question writing.
1. Introduction
Software engineering involves a large amount of social interaction,
as programmers often need to cooperate with others, whether directly
or indirectly [13]. The massive adoption of social media has spurred the
rise of the ‘social programmer’ [61] and the surrounding ecosystem
[56]. In fact, social media have deeply influenced the design of software
development-oriented tools such as GitHub1
and Stack Overflow,2
re-
spectively, a social coding site and a community-based question an-
swering site, which have recently attracted a considerable amount of
research on social software engineering [15,60,62].
Stack Overflow is an example of an online community where social
programmers do networking by reading and answering others’ ques-
tions, thus participating in the creation and diffusion of crowdsourced
knowledge and software documentation [1,62]. The success of Stack
Overflow and, more in general, of community-based question-and-an-
swer (Q&A) sites, mainly depends on the will of their members to an-
swer others’ questions. In fact, when formulating requests on Q&A sites,
we are not simply seeking for information but we are also asking for
other people's help and feedback. Understanding the dynamics of the
participation in Q&A communities is essential to improve the value of
crowdsourced knowledge [3,49,66]. Educating users to formulate
questions properly is beneficial not only for the information seekers,
since it increases the likelihood of receiving support, but also for the
whole community, since it enhances effective knowledge-sharing be-
havior, also in the perspective of the creation of long-lasting value
pieces of knowledge [3,11].
The Stack Overflow community provides official recommendations
http://dx.doi.org/10.1016/j.infsof.2017.10.009
Received 7 February 2017; Received in revised form 16 September 2017; Accepted 12 October 2017
*
Corresponding author.
E-mail addresses: fabio.calefato@uniba.it (F. Calefato), filippo.lanubile@uniba.it (F. Lanubile), nicole.novielli@uniba.it (N. Novielli).
1
https://github.com
2
http://stackoverflow.com
@fcalefato
collab.di.uniba.it/research

More Related Content

Similar to How to Ask for Technical Help? Evidence-based Guidelines for Writing Questions on Stack Overflow

Global Redirective Practices
Global Redirective PracticesGlobal Redirective Practices
Global Redirective Practices
adjwilli
 
Global Redirective Practices
Global Redirective PracticesGlobal Redirective Practices
Global Redirective Practices
Kshitiz Anand
 
Skills & ideas for #ProblemGamblingKTE
Skills & ideas for #ProblemGamblingKTE Skills & ideas for #ProblemGamblingKTE
Skills & ideas for #ProblemGamblingKTE
Anne Bergen
 
Look who's talking
Look who's talkingLook who's talking
Look who's talking
cathyguyer
 
Global Redirective Practices: an online workshop for a client
Global Redirective Practices: an online workshop for a clientGlobal Redirective Practices: an online workshop for a client
Global Redirective Practices: an online workshop for a client
Sean Connolly
 
Engaging Students in Distance Learning
Engaging Students in Distance LearningEngaging Students in Distance Learning
Engaging Students in Distance Learning
S Gasson
 
Organizational Learning in Practice
Organizational Learning in PracticeOrganizational Learning in Practice
Organizational Learning in Practice
Hunter Knowledge and Insights, LLC
 
Stop the feed? Webquest
Stop the feed? WebquestStop the feed? Webquest
Stop the feed? Webquest
Deb Schiano
 
Use of online quizzes to support inquiry-based learning in chemical engineering
Use of online quizzes to support inquiry-based learning in chemical engineeringUse of online quizzes to support inquiry-based learning in chemical engineering
Use of online quizzes to support inquiry-based learning in chemical engineering
cilass.slideshare
 
Building and sustaining on-line communities
Building and sustaining on-line communitiesBuilding and sustaining on-line communities
Building and sustaining on-line communities
Collabor8now Ltd
 
Phs webbasedsession
Phs webbasedsessionPhs webbasedsession
Phs webbasedsession
Stacey Campo
 
Technology & Collaborative Learning: Scaffolding for Student Success
Technology & Collaborative Learning: Scaffolding for Student SuccessTechnology & Collaborative Learning: Scaffolding for Student Success
Technology & Collaborative Learning: Scaffolding for Student Success
Julia Parra
 
Making Groups Work: Practical Strategies for Accountability and Engagement - ...
Making Groups Work: Practical Strategies for Accountability and Engagement - ...Making Groups Work: Practical Strategies for Accountability and Engagement - ...
Making Groups Work: Practical Strategies for Accountability and Engagement - ...
Andrea Stone
 
Online collaborative learning oacc 2012
Online collaborative learning oacc 2012Online collaborative learning oacc 2012
Online collaborative learning oacc 2012
Andrea Stone
 
Sandy Williams Hilfiker - Involving People with Limited Literacy Skills in Co...
Sandy Williams Hilfiker - Involving People with Limited Literacy Skills in Co...Sandy Williams Hilfiker - Involving People with Limited Literacy Skills in Co...
Sandy Williams Hilfiker - Involving People with Limited Literacy Skills in Co...
Plain Talk 2015
 
Blogging For Impact
Blogging For ImpactBlogging For Impact
Blogging For Impact
Chris LaBelle
 
SAL2016_paper_15
SAL2016_paper_15SAL2016_paper_15
SAL2016_paper_15
Jack Rosenthal
 
DeLiddo&BuckinghamShum-e-Part2014
DeLiddo&BuckinghamShum-e-Part2014DeLiddo&BuckinghamShum-e-Part2014
DeLiddo&BuckinghamShum-e-Part2014
Anna De Liddo
 
Project Outcome Webinar
Project Outcome WebinarProject Outcome Webinar
Project Outcome Webinar
NCIL - STAR_Net
 
Individual and social benefits of online discussion forums
Individual and social benefits of online discussion forumsIndividual and social benefits of online discussion forums
Individual and social benefits of online discussion forums
SGB Media Group
 

Similar to How to Ask for Technical Help? Evidence-based Guidelines for Writing Questions on Stack Overflow (20)

Global Redirective Practices
Global Redirective PracticesGlobal Redirective Practices
Global Redirective Practices
 
Global Redirective Practices
Global Redirective PracticesGlobal Redirective Practices
Global Redirective Practices
 
Skills & ideas for #ProblemGamblingKTE
Skills & ideas for #ProblemGamblingKTE Skills & ideas for #ProblemGamblingKTE
Skills & ideas for #ProblemGamblingKTE
 
Look who's talking
Look who's talkingLook who's talking
Look who's talking
 
Global Redirective Practices: an online workshop for a client
Global Redirective Practices: an online workshop for a clientGlobal Redirective Practices: an online workshop for a client
Global Redirective Practices: an online workshop for a client
 
Engaging Students in Distance Learning
Engaging Students in Distance LearningEngaging Students in Distance Learning
Engaging Students in Distance Learning
 
Organizational Learning in Practice
Organizational Learning in PracticeOrganizational Learning in Practice
Organizational Learning in Practice
 
Stop the feed? Webquest
Stop the feed? WebquestStop the feed? Webquest
Stop the feed? Webquest
 
Use of online quizzes to support inquiry-based learning in chemical engineering
Use of online quizzes to support inquiry-based learning in chemical engineeringUse of online quizzes to support inquiry-based learning in chemical engineering
Use of online quizzes to support inquiry-based learning in chemical engineering
 
Building and sustaining on-line communities
Building and sustaining on-line communitiesBuilding and sustaining on-line communities
Building and sustaining on-line communities
 
Phs webbasedsession
Phs webbasedsessionPhs webbasedsession
Phs webbasedsession
 
Technology & Collaborative Learning: Scaffolding for Student Success
Technology & Collaborative Learning: Scaffolding for Student SuccessTechnology & Collaborative Learning: Scaffolding for Student Success
Technology & Collaborative Learning: Scaffolding for Student Success
 
Making Groups Work: Practical Strategies for Accountability and Engagement - ...
Making Groups Work: Practical Strategies for Accountability and Engagement - ...Making Groups Work: Practical Strategies for Accountability and Engagement - ...
Making Groups Work: Practical Strategies for Accountability and Engagement - ...
 
Online collaborative learning oacc 2012
Online collaborative learning oacc 2012Online collaborative learning oacc 2012
Online collaborative learning oacc 2012
 
Sandy Williams Hilfiker - Involving People with Limited Literacy Skills in Co...
Sandy Williams Hilfiker - Involving People with Limited Literacy Skills in Co...Sandy Williams Hilfiker - Involving People with Limited Literacy Skills in Co...
Sandy Williams Hilfiker - Involving People with Limited Literacy Skills in Co...
 
Blogging For Impact
Blogging For ImpactBlogging For Impact
Blogging For Impact
 
SAL2016_paper_15
SAL2016_paper_15SAL2016_paper_15
SAL2016_paper_15
 
DeLiddo&BuckinghamShum-e-Part2014
DeLiddo&BuckinghamShum-e-Part2014DeLiddo&BuckinghamShum-e-Part2014
DeLiddo&BuckinghamShum-e-Part2014
 
Project Outcome Webinar
Project Outcome WebinarProject Outcome Webinar
Project Outcome Webinar
 
Individual and social benefits of online discussion forums
Individual and social benefits of online discussion forumsIndividual and social benefits of online discussion forums
Individual and social benefits of online discussion forums
 

More from Fabio Calefato

Investigating Crowd Creativity in Online Music Communities
Investigating Crowd Creativity in Online Music CommunitiesInvestigating Crowd Creativity in Online Music Communities
Investigating Crowd Creativity in Online Music Communities
Fabio Calefato
 
On Developers’ Personality in Large-scale Distributed Projects: The Case of t...
On Developers’ Personality in Large-scale Distributed Projects: The Case of t...On Developers’ Personality in Large-scale Distributed Projects: The Case of t...
On Developers’ Personality in Large-scale Distributed Projects: The Case of t...
Fabio Calefato
 
A Gold Standard for Emotion Annotation in Stack Overflow
A Gold Standard for Emotion Annotation in Stack Overflow A Gold Standard for Emotion Annotation in Stack Overflow
A Gold Standard for Emotion Annotation in Stack Overflow
Fabio Calefato
 
A Preliminary Analysis on the Effects of Propensity to Trust in Distributed S...
A Preliminary Analysis on the Effects of Propensity to Trust in Distributed S...A Preliminary Analysis on the Effects of Propensity to Trust in Distributed S...
A Preliminary Analysis on the Effects of Propensity to Trust in Distributed S...
Fabio Calefato
 
Affective Trust as a Predictor of Successful Collaboration in Distributed Sof...
Affective Trust as a Predictor of Successful Collaboration in Distributed Sof...Affective Trust as a Predictor of Successful Collaboration in Distributed Sof...
Affective Trust as a Predictor of Successful Collaboration in Distributed Sof...
Fabio Calefato
 
A Hub-and-Spoke Model for Tool Integration 
in Distributed Development
A Hub-and-Spoke Model for Tool Integration 
in Distributed Development A Hub-and-Spoke Model for Tool Integration 
in Distributed Development
A Hub-and-Spoke Model for Tool Integration 
in Distributed Development
Fabio Calefato
 
"Awareness, Trust, and Software Tool Support in Distance Collaborations" by D...
"Awareness, Trust, and Software Tool Support in Distance Collaborations" by D..."Awareness, Trust, and Software Tool Support in Distance Collaborations" by D...
"Awareness, Trust, and Software Tool Support in Distance Collaborations" by D...
Fabio Calefato
 
Facing communication challenges in collaborative development
Facing communication challenges in collaborative developmentFacing communication challenges in collaborative development
Facing communication challenges in collaborative development
Fabio Calefato
 
Can social awareness foster trust building in global software teams?
Can social awareness foster trust building in global software teams?Can social awareness foster trust building in global software teams?
Can social awareness foster trust building in global software teams?
Fabio Calefato
 

More from Fabio Calefato (9)

Investigating Crowd Creativity in Online Music Communities
Investigating Crowd Creativity in Online Music CommunitiesInvestigating Crowd Creativity in Online Music Communities
Investigating Crowd Creativity in Online Music Communities
 
On Developers’ Personality in Large-scale Distributed Projects: The Case of t...
On Developers’ Personality in Large-scale Distributed Projects: The Case of t...On Developers’ Personality in Large-scale Distributed Projects: The Case of t...
On Developers’ Personality in Large-scale Distributed Projects: The Case of t...
 
A Gold Standard for Emotion Annotation in Stack Overflow
A Gold Standard for Emotion Annotation in Stack Overflow A Gold Standard for Emotion Annotation in Stack Overflow
A Gold Standard for Emotion Annotation in Stack Overflow
 
A Preliminary Analysis on the Effects of Propensity to Trust in Distributed S...
A Preliminary Analysis on the Effects of Propensity to Trust in Distributed S...A Preliminary Analysis on the Effects of Propensity to Trust in Distributed S...
A Preliminary Analysis on the Effects of Propensity to Trust in Distributed S...
 
Affective Trust as a Predictor of Successful Collaboration in Distributed Sof...
Affective Trust as a Predictor of Successful Collaboration in Distributed Sof...Affective Trust as a Predictor of Successful Collaboration in Distributed Sof...
Affective Trust as a Predictor of Successful Collaboration in Distributed Sof...
 
A Hub-and-Spoke Model for Tool Integration 
in Distributed Development
A Hub-and-Spoke Model for Tool Integration 
in Distributed Development A Hub-and-Spoke Model for Tool Integration 
in Distributed Development
A Hub-and-Spoke Model for Tool Integration 
in Distributed Development
 
"Awareness, Trust, and Software Tool Support in Distance Collaborations" by D...
"Awareness, Trust, and Software Tool Support in Distance Collaborations" by D..."Awareness, Trust, and Software Tool Support in Distance Collaborations" by D...
"Awareness, Trust, and Software Tool Support in Distance Collaborations" by D...
 
Facing communication challenges in collaborative development
Facing communication challenges in collaborative developmentFacing communication challenges in collaborative development
Facing communication challenges in collaborative development
 
Can social awareness foster trust building in global software teams?
Can social awareness foster trust building in global software teams?Can social awareness foster trust building in global software teams?
Can social awareness foster trust building in global software teams?
 

Recently uploaded

原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理 原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
tzu5xla
 
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
oaxefes
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
UofT毕业证如何办理
UofT毕业证如何办理UofT毕业证如何办理
UofT毕业证如何办理
exukyp
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
xclpvhuk
 
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
aguty
 
How To Control IO Usage using Resource Manager
How To Control IO Usage using Resource ManagerHow To Control IO Usage using Resource Manager
How To Control IO Usage using Resource Manager
Alireza Kamrani
 
Sample Devops SRE Product Companies .pdf
Sample Devops SRE  Product Companies .pdfSample Devops SRE  Product Companies .pdf
Sample Devops SRE Product Companies .pdf
Vineet
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
hyfjgavov
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
slg6lamcq
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
Vietnam Cotton & Spinning Association
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Kaxil Naik
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
Márton Kodok
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
nyvan3
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
mkkikqvo
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
z6osjkqvd
 
Building a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdfBuilding a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdf
cjimenez2581
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
ihavuls
 

Recently uploaded (20)

原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理 原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
 
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
UofT毕业证如何办理
UofT毕业证如何办理UofT毕业证如何办理
UofT毕业证如何办理
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
 
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
 
How To Control IO Usage using Resource Manager
How To Control IO Usage using Resource ManagerHow To Control IO Usage using Resource Manager
How To Control IO Usage using Resource Manager
 
Sample Devops SRE Product Companies .pdf
Sample Devops SRE  Product Companies .pdfSample Devops SRE  Product Companies .pdf
Sample Devops SRE Product Companies .pdf
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
 
Building a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdfBuilding a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdf
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 

How to Ask for Technical Help? Evidence-based Guidelines for Writing Questions on Stack Overflow

  • 1. How to Ask for Technical Help? Evidence-based Guidelines for Writing Questions on Stack Overflow Fabio Calefato, Filippo Lanubile, Nicole Novielli COLLAB University of Bari Int’l Colloquium on Language Devices and Communication Strategies in Digital Communities Bari, Nov. 28, 2017
  • 2. • Programmers cooperate, directly or indirectly • Massive adoption of social media and rise of the ‘social programmer’ (Storey, ‘12) and the surrounding ecosystem (Singer et al., ’13)
  • 3. Community-based Q&A • Devs more and more seek technical support from experts other than teammates – Before: mailing lists and web forums – Now: question-and-answer sites • Benefits – Often answered within minutes – Gamification leverages community participation – Skills acknowledgment
  • 4. • Q&A site for sw developers • Created in 2008 by Jeff Atwood and Joel Spolsky • Most successful Q&A site – ~15M questions – ~23M answers – ~8M users – ~40M visits per month
  • 5.
  • 6. A shift in Q&A sites purpose Platforms originally aimed at providing quick solutions to the information seeker Platforms supporting the process of community-driven knowledge creation Anderson et al., Discovering Value from Community Activity on Focused Question Answering Sites: A Case Study of Stack Overflow, KDD 2012 Short-term value, mostly for the or original asker Long-term value, for a broader audience
  • 7. • Important for SE from both professional and educational perspective • ~40M visits per month [1] – ~16M from professional developers • ~8M registered users [1] – ~70% report to be self-taught sw devs • Developers read manuals less and less, they rather “search” [2] [1] http://stackoverflow.com/research/developer-survey-2016 [2] M. Shaw, Progress Toward an Engineering Discipline for Software, ICSE 2016 Keynote
  • 8. Successful questions – Resolved questions ó ‘closed’ with an accepted answer SSE@FSE 2014 8
  • 9. 15M questions 4M in the last 2.5 years
  • 12. Wait, we said “No chit-chat.”! Excellent tips, thanks! I'm trying to do this in a makefile and it fails horribly: do you know why? Thanks, Jason That answer was extremely helpful Scott, thanks for the pointer on that! Excellent! Thanks for the link. “ “
  • 14. Wait, we said “Be nice.”!
  • 15. Toxicity Hazard /1 Various blog posts from the web • My Love-Hate Relationship with Stack Overflow • Why I no Longer Contribute to StackOverflow • One Aspect of Stack Overflow I Hate and How to Fix it • StackOverflow needs Tweaking • StackOverflow is Dead • StackOverflow Sucks • Why StackOverflow Sucks • This is Why StackOverflow Sucks • Why StackOverflow Sucks and Participating There is Impossible • Stack Overflow Hates New Users • Stackoverflow Is A Difficult Community to Participate In • Off-topic on Stackoverflow: that’s enough
  • 17. Empirically validate Stack Overflow netiquette /1 Logistic regression model 87K questions
  • 19. Reputation • Score measuring the level of trustworthiness in Stack Overflow – Badges – Privileges
  • 20. Affect SentiStrength • Estimates the strength of both positive and negative polarity in short text Excerpts from the Stack Overflow Sentiment Strength Scores Discretized Sentiment Scores Positive Negative Positive Negative Neutral “I have very simple and stupid trouble […]. I'm pretty confused, explain please, what is wrong?” +1 -2 False True False “[…] Any help would be really great! :-)” +5 -1 True False False “I want them to resize based on the length of the data they’re showing” +1 -1 False False True
  • 21. Empirically validate Stack Overflow netiquette /2 Logistic regression model 87K questions Online survey 43 developers
  • 22. Findings # Guideline Success factor Empirical support User perception Source 1 Write questions using a neutral emotional style Affect Yes Effective Skeet, SO Help Center, Kucuktunc et al., Bazelli et al. 2 Provide sample code and data Presentation quality Yes Effective Skeet, Asaduzzaman et al., Duijn et al., Treude et al. 3 Use capital letters where appropriate Presentation quality Yes Effective Skeet 4 Be concise Presentation quality Yes Ineffective Skeet 5 Use short, descriptive question titles Presentation quality No Ineffective Skeet 6 Provide context through tags Presentation quality No Effective Skeet 7 Provide context through URLs Presentation quality No Effective Ponzanelli et al. 8 Be aware of low- efficiency hours Time Yes Ineffective Bosu et al. = = = ¹ ¹ ¹ = match ¹ mismatch ¹ ¹
  • 23. Toxicity Hazard /2 Answers from our survey People on Stack Overflow can be extremely rude Novice users get flamed in this forum Now I access Stack Overflow through Google without a user account It’s my last resort, I don’t really want to deal with their arrogant comments “ “
  • 24. Toxicity Hazard /3 StackOverflow is like ‘the high school cool kids table’ from the movies http://michael.richter.name/blogs/why-i- no-longer-contribute-to-stackoverflow “ “
  • 25. Take-away message • To reduce the number of unresolved questions, help users ask better ones • Increase the awareness in the community about available guidelines • Focus only on those that actually work
  • 26. Thanks! Contents lists available at ScienceDirect Information and Software Technology journal homepage: www.elsevier.com/locate/infsof How to ask for technical help? Evidence-based guidelines for writing questions on Stack Overflow Fabio Calefatoa , Filippo Lanubileb , Nicole Noviellib, * a Dipartimento Jonico, University of Bari “A. Moro”, via Duomo 259, 74123, Taranto, Italy b Dipartimento di Infomatica, University of Bari “A. Moro”, via E. Orabona 4, 70125, Bari, Italy A R T I C L E I N F O Keywords: Social software engineering Crowdsourcing Stack Overflow Question answering Sentiment analysis Emotion mining A B S T R A C T Context: The success of Stack Overflow and other community-based question-and-answer (Q&A) sites depends mainly on the will of their members to answer others’ questions. In fact, when formulating requests on Q&A sites, we are not simply seeking for information. Instead, we are also asking for other people's help and feedback. Understanding the dynamics of the participation in Q&A communities is essential to improve the value of crowdsourced knowledge. Objective: In this paper, we investigate how information seekers can increase the chance of eliciting a successful answer to their questions on Stack Overflow by focusing on the following actionable factors: affect, presentation quality, and time. Method: We develop a conceptual framework of factors potentially influencing the success of questions in Stack Overflow. We quantitatively analyze a set of over 87 K questions from the official Stack Overflow dump to assess the impact of actionable factors on the success of technical requests. The information seeker reputation is in- cluded as a control factor. Furthermore, to understand the role played by affective states in the success of questions, we qualitatively analyze questions containing positive and negative emotions. Finally, a survey is conducted to understand how Stack Overflow users perceive the guideline suggestions for writing questions. Results: We found that regardless of user reputation, successful questions are short, contain code snippets, and do not abuse with uppercase characters. As regards affect, successful questions adopt a neutral emotional style. Conclusion: We provide evidence-based guidelines for writing effective questions on Stack Overflow that soft- ware engineers can follow to increase the chance of getting technical help. As for the role of affect, we em- pirically confirmed community guidelines that suggest avoiding rudeness in question writing. 1. Introduction Software engineering involves a large amount of social interaction, as programmers often need to cooperate with others, whether directly or indirectly [13]. The massive adoption of social media has spurred the rise of the ‘social programmer’ [61] and the surrounding ecosystem [56]. In fact, social media have deeply influenced the design of software development-oriented tools such as GitHub1 and Stack Overflow,2 re- spectively, a social coding site and a community-based question an- swering site, which have recently attracted a considerable amount of research on social software engineering [15,60,62]. Stack Overflow is an example of an online community where social programmers do networking by reading and answering others’ ques- tions, thus participating in the creation and diffusion of crowdsourced knowledge and software documentation [1,62]. The success of Stack Overflow and, more in general, of community-based question-and-an- swer (Q&A) sites, mainly depends on the will of their members to an- swer others’ questions. In fact, when formulating requests on Q&A sites, we are not simply seeking for information but we are also asking for other people's help and feedback. Understanding the dynamics of the participation in Q&A communities is essential to improve the value of crowdsourced knowledge [3,49,66]. Educating users to formulate questions properly is beneficial not only for the information seekers, since it increases the likelihood of receiving support, but also for the whole community, since it enhances effective knowledge-sharing be- havior, also in the perspective of the creation of long-lasting value pieces of knowledge [3,11]. The Stack Overflow community provides official recommendations http://dx.doi.org/10.1016/j.infsof.2017.10.009 Received 7 February 2017; Received in revised form 16 September 2017; Accepted 12 October 2017 * Corresponding author. E-mail addresses: fabio.calefato@uniba.it (F. Calefato), filippo.lanubile@uniba.it (F. Lanubile), nicole.novielli@uniba.it (N. Novielli). 1 https://github.com 2 http://stackoverflow.com @fcalefato collab.di.uniba.it/research