The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
My Apprenticeship - Friday, June 25, 2004

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jake Scruggs

Posts: 336
Nickname: aurorae314
Registered: Feb, 2008

Jake Scruggs is a developer at ThoughtWorks
My Apprenticeship - Friday, June 25, 2004 Posted: Jun 28, 2009 8:07 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Jake Scruggs.
Original Post: My Apprenticeship - Friday, June 25, 2004
Feed Title: Jake Scruggs
Feed URL: http://jakescruggs.blogspot.com/feeds/posts/default
Feed Description: Ruby, Rails, Metrics, Testing, and pursuit of clean code.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Jake Scruggs
Latest Posts From Jake Scruggs

Advertisement
This summer I'm revisiting my short apprenticeship at Object Mentor. I'll be posting commentary on all my posts from the summer of 2004 exactly 5 years later to the day.

Friday 6-25-04

We finished the C# class today with an exercise devoted to Threads. In case you have some operation that will take lots of time (like, say, writing to a file) you can send it off on its own while the rest of the program continues on its own way. This is called MultiThreading and it's pretty cool. We designed a thread that scans a directory (folder) every second to see if any text files have been placed in it. If it finds any, it moves them to another folder. We forgot to kill the thread when we were done with it, so the test kept running after we thought it was done. When we tried to manually place some files in the forbidden directory they automatically moved away. Because the cowboys and I are nerds, we created a whole bunch of text files and tired to jam them in the folder before the program could catch up. Alas, the program was too fast for us.

Micah's gonna be gone next week so the apprentices will be on their own.

The really weird thing about that week was that, up until that moment in my life, I truly sucked at puzzles. Somebody would start in with "You and three friends are walking through the forest and each of you has a prime number of hotdogs..." and I'd get lost and start to panic. I'd be thinking that everyone knows the answer to this but me and they are finally going to find out that I'm a fraud and the dumbest guy in the room. So I'd spend most of my thinking time worrying about how much time was left before someone figured it out and then what if they announced that they had got it but didn't tell me the answer and I had to keep thinking about it knowing that someone had beat me to it and it was probably obvious and... Etc., etc., etc.

The weird thing about that week was that I solved every puzzle without getting crazy. It was like after I got the first one I could relax and think about the problem. It's a constant surprise to me how many things essentially boil down to confidence and comfort. If people feel comfortable in a situation they will perform exponentially better than they will in a tense environment.

Read: My Apprenticeship - Friday, June 25, 2004

Topic: My Apprenticeship - Thursday, June 24, 2004 Previous Topic   Next Topic Topic: ar_mailer 1.4.0

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use