News for hackers. Stuff that matters.
Re:The Benefits of Talking to Yourself by gregmac on Thursday June 08, 2017 @07:14PM (#14517918)
This made me think of rubber duck problem solving [1][2], though it didn't mention it specifically. Talking through a problem out loud forces you to structure your thoughts in a logical way, and sometimes doing that you'll realize an obvious connection or step you missed.

[1] https://en.m.wikipedia.org/wiki/Rubber_duck_debugging

[2] http://hwrnmnbsol.livejournal.com/148664.html

Re:The Benefits of Talking to Yourself by __jal on Thursday June 08, 2017 @07:21PM (#14517951)
For me, it isn't even vocalizing - I discovered that forcing things into words helps me troubleshoot after noticing that I solved my own problems after giving up and composing an email to someone to ask for help. The act of describing the problem in written form allowed me to see what I was missing.

Since noticing that, I started doing it fairly, and not just with programming. At some point, I realized I was keeping a (somewhat oddly structured) journal.

Re:The Benefits of Talking to Yourself by wjdp on Thursday June 08, 2017 @07:43PM (#14518082)
When writing SO questions I tend to only press the submit button 5–10% of the time before realising my error (typically something mundane). The act of putting the problem into words, along with writing up a good background of the problem (as you should for a good question) often forces an objective viewpoint/reevaluation of the problem.
Re:The Benefits of Talking to Yourself by chucksmash on Thursday June 08, 2017 @08:16PM (#14518257)
Very much this. The flow for me goes:

1) I don't understand that. Let me ask StackOverflow.

2) I'm having trouble phrasing my question properly. What do you call $X? Googling ensues

3) Oh nevermind, I get it now <closes tab>

Re:The Benefits of Talking to Yourself by piracyde25 on Friday June 09, 2017 @02:28AM (#14519529)
Damn. I thought I was the only one who does this :'D

On a serious note, this effect can be applied to our everyday problem as well. Such as when you are feeling lethargic, you'd want to write down all of your thoughts in a list to see the bigger picture and figure out how simple it can be to finish a task at hand.

Re:The Benefits of Talking to Yourself by TeMPOraL on Friday June 09, 2017 @03:38AM (#14519781)
s/lethargic/anxious/, and I do this all the time! Doing a quick mind dump usually clears out my anxiety, or at least reduces it to a manageable level, allowing me to continue doing things.
Re:The Benefits of Talking to Yourself by reificator on Friday June 09, 2017 @10:15AM (#14521492)
You should check out the book "Getting Things Done", which is based on taking what you described and using it to stay organized and adaptable. If you've got anxiety it would probably help at least a little bit.
Re:The Benefits of Talking to Yourself by anc84 on Friday June 09, 2017 @04:11AM (#14519934)
Consider posting and answering yourself. I found myself searching for the same problem months later and once I found my own answer.
Re:The Benefits of Talking to Yourself by reitanqild on Friday June 09, 2017 @06:49AM (#14520493)
Hehe, has happened to me as well.

Also when I kept updating my blog posts about stupid problems that gooogle didn't answer seemed to attract some audience.

Re:The Benefits of Talking to Yourself by gregmac on Friday June 09, 2017 @11:50AM (#14522219)
More than once I've had a problem, found the solution on stackoverflow, clicked up-vote and then got "you cannot vote on your own answer."
Re:The Benefits of Talking to Yourself by JasonSage on Thursday June 08, 2017 @08:45PM (#14518396)
This makes me wonder what the bounce rate for Stack Overflow questions is and what percent of visitors actually make it through the submission process.
Re:The Benefits of Talking to Yourself by i336_ on Thursday June 08, 2017 @09:49PM (#14518648)
This would actually be an answerable question, because of SO's draft mechanism.

Opens new tab

Sound of typing

https://meta.stackexchange.com/questions/296990/what-are-the...

I've been thinking along the same lines for a very long time. Thanks for the inspiration to finally ask!

Re:The Benefits of Talking to Yourself by tayo42 on Friday June 09, 2017 @01:38AM (#14519373)
They've responded to questions like that before.

https://www.reddit.com/r/sysadmin/comments/5y9l9n/showerthou...

Re:The Benefits of Talking to Yourself by i336_ on Friday June 09, 2017 @07:31AM (#14520640)
Ooooh, nice one. Thanks for the link!
Re:The Benefits of Talking to Yourself by taneq on Friday June 09, 2017 @03:39AM (#14519787)
That's awesome!

If they have a big enough database of half-typed-then-abandoned questions, do you think it would be possible to train an RNN (or something) to read a post in progress and predict at what point the answer should be obvious to you?

Re:The Benefits of Talking to Yourself by wingerlang on Friday June 09, 2017 @04:03AM (#14519901)
Not the same, but while writing the title it suggest other posts.
Re:The Benefits of Talking to Yourself by taneq on Friday June 09, 2017 @08:53AM (#14520993)
I seem to recall something similar which does pattern matching comparing the code that you're typing with a database of code in accepted stackoverflow answers and gives "smart autocomplete". Not sure how I stand on the overall impact of such a thing but technically it was cool. :)
Re:The Benefits of Talking to Yourself by bryanrasmussen on Friday June 09, 2017 @05:10AM (#14520154)
On the other hand in the past year especially my experience has been I am asking something for which the documentation is very bad, I don't know enough about the particular problem area I am trying to solve to make a concise description with code examples that nearly work but don't, and as a consequence I just drop it and say it's not worth asking here because nobody will help you understand the problem area unless you understand it really well. Too bad SO has replaced user groups in so many cases.
Re:The Benefits of Talking to Yourself by bhrgunatha on Friday June 09, 2017 @01:08AM (#14519290)
Writing things down - or sketching or using mind-maps (not software but actually drawing your own manually) - seems to have an amazing effect on the brain.

We haven't been writing long (in evolutionary terms) so I wonder why that is?

Re:The Benefits of Talking to Yourself by vanderZwan on Friday June 09, 2017 @08:06AM (#14520797)
I think it's because our brains are good at manipulating tangible things - it's what they've been doing since before we had a neocortex, after all. Making thoughts tangible, sensory experiences can help engage the full machinery of the brain, instead of just limiting it to higher brain functions.
Re:The Benefits of Talking to Yourself by jansho on Friday June 09, 2017 @03:57AM (#14519870)
I think that the stuff in our mind is mostly abstract. We absorb things from the world all the time, conscious and unconscious, and make conscious and unconscious connections between them.

Thinking aloud, whether in the mind, on paper or even vocally, helps us to identify some of these points, and thus quantify a meaning from it. There's only so many points that we can mentally hold though - we're not good multi-taskers after all! So the better we can think aloud, the better we can consciously grab thoughts and identify the real gaps - which we can fill in by searching/ creating more points in our mind, or go external.

Hmm, just thinking aloud though ;)

Re:The Benefits of Talking to Yourself by moonforeshot on Friday June 09, 2017 @02:12AM (#14519481)
maybe writing things down frees up some resource allocation? e.g. save on the memory/disk to save some precious cache resources

lol just saying

Re:The Benefits of Talking to Yourself by BurningFrog on Friday June 09, 2017 @01:04AM (#14519281)
This might be splitting hairs, but I think hearing/reading my own question is more important than the act of writing down the problem.

I theorize that words you hear/read pass through some part of the brain specialized in finding answers, that is not engaged during regular problem solving.

Re:The Benefits of Talking to Yourself by hliyan on Thursday June 08, 2017 @09:20PM (#14518528)
I do this with writing. Even if the problem has 3 points, I write down a list on the whiteboard. Even if the part of the system I'm concerned about has two components, I draw two boxes with a connecting line. Then I stare at the board. It's surprising how effective this can be.

Edit: I suspect Sherlock Holmes was the first fictional character to employ rubber-ducking (albeit with Watson as the duck). Greg House would be a more recent example (who uses his entire team).

Re:The Benefits of Talking to Yourself by kevin_thibedeau on Thursday June 08, 2017 @11:06PM (#14518914)
House is Sherlock Holmes.
Re:The Benefits of Talking to Yourself by terheyden on Thursday June 08, 2017 @11:55PM (#14519075)
Yep, House -> Holmes; Wilson -> Watson.
Re:The Benefits of Talking to Yourself by BurningFrog on Friday June 09, 2017 @12:16AM (#14519142)
Cocaine -> Vicodin
Re:The Benefits of Talking to Yourself by douche on Friday June 09, 2017 @06:46AM (#14520478)
Holmes was also quite into opiates himself - I seem to remember a Persian slipper that housed his heroin stash, and some incidents of opium smoking.
Re:The Benefits of Talking to Yourself by bryanrasmussen on Friday June 09, 2017 @05:11AM (#14520160)
wouldn't that be Holmes -> House?
Re:The Benefits of Talking to Yourself by falcolas on Friday June 09, 2017 @09:10AM (#14521064)
Sherlock Holmes has been around since around 1891; predating Gregory House by about 113 years.
Re:The Benefits of Talking to Yourself by bryanrasmussen on Sunday June 11, 2017 @03:05PM (#14533239)
Right so House is later than the Holmes.

the arrow of time in Western cultures moves from left to right.

Re:The Benefits of Talking to Yourself by mowenz on Friday June 09, 2017 @12:17AM (#14519145)
Anyone's workplace promote rubber duck debugging?

It seems to have a lot of positive press, and it works for me--though I'm cautious of talking to myself at work before knowing if it would come across negatively.

Re:The Benefits of Talking to Yourself by TeMPOraL on Friday June 09, 2017 @03:43AM (#14519807)
I learned to do my self talk in writing. I just switch to Emacs and start typing (either in my project "notebook", general "mind dump" file, or a throwaway buffer).

These days I actually feel I'm worse at talking to myself in my head than I am in talking to myself via a keyboard.

Re:The Benefits of Talking to Yourself by rubber_duck on Friday June 09, 2017 @07:33AM (#14520648)
I don't buy the whole "if you hear it you'll see it" thing for coding - unless you're used to saying things you're working on I guess, but I'm not. I can see the extra focus it could bring because you're spending more effort in vocalizing your thoughts and it's going trough different systems as well (physically hearing yourself speak).

I've tried both and you can talk yourself trough the problem inside of your head step by step just as effectively when it comes to coding tasks IMO.

Immediate problem solving/planning like "OK I need to do this then this" is a different story - saying stuff out loud helps here.

Re:The Benefits of Talking to Yourself by mowenz on Friday June 09, 2017 @09:36PM (#14525742)
Not everyone is the same :)
Re:The Benefits of Talking to Yourself by jboggan on Friday June 09, 2017 @02:28AM (#14519532)
I haven't been in such a workplace but I wish that I would have.

Would you use "rubber ducky debugging as a service" - like a chat service that stimulated you to find your own solutions?

Re:The Benefits of Talking to Yourself by crisp on Friday June 09, 2017 @03:03AM (#14519631)
Just out of curiosity I went and googled for this. To my surprise, there is actually a service for this: http://duckie.me/

You can thank me later.

Re:The Benefits of Talking to Yourself by majewsky on Friday June 09, 2017 @04:43AM (#14520066)
M-x doctor

"Is it because of the loop condition that you came to me?"

Re:The Benefits of Talking to Yourself by jboggan on Friday June 09, 2017 @02:42AM (#14519579)
What percentage of your problems do you end up solving either with rubber ducky debugging or just in the process of explaining them to someone else? I feel like 80% of the things I can't figure out on my own are solved once I start to explain them.
Re:The Benefits of Talking to Yourself by Antrikshy on Friday June 09, 2017 @02:43PM (#14523456)
I have experienced this by starting to write a Stack Overflow question.