Thursday, 22 January 2015

Why geeks should write

After reading the required reading , I benefit a lot ,especially I prefered the last one (Advice for computer science students ),  I have to say I have thought about the same questions as well . It's a kind of way of thinking  that no matter what kind of subject you are interested , you should learn something you are not good at as well , just to be well-rounded and ,  I think the way that debug it's a phenomenon that reflect you want to do a better job as well . In a word , you should expect more to yourself than others , it's a kind of expectation . That's what I feel , and in the following paragraphs , it's some ideas which I get from the reading.

As to why geeks should write , mostly geeks will use the log to trace their bugs and then fix it out or even find more questions to work on .Some writers recommend the wiki and the blog(tumblr) or Evernote  , the first two (wiki and blog ) are much more public and the last one tends to be private . 

While start to tracing bugs , there are 2  kinds of bugs :
"1.The first is of the form “I think I know where this is” which won’t take long to find. The steps are pretty easy: Figure out how to reproduce it. Set a couple of breakpoints. Add some caveman debugging. Find the problem and fix it.2.The other class of bug is of the form “whoa. Uh… I’m not sure how to even start approaching this problem.” These are the bugs where you know you’re in for a long haul. Maybe it’s one you know is going to be tough to track down because of threading. Maybe it’s an unfamiliar code base."(From Logs for catching bugs ) 

And there are several ways to debug :
1.in the Keep a Debug Journal , there are mainly 3 parts:it is problem , answer and lesson 

2.in the  Logs for catching bugs, it's "With the log you’re building a record, a stream of evidence about the bug. " and then wiki in a document 

And there are some benefit from debugging :
1.By going back and forth between interesting quesions and their answers, I can explore the problem space. (From Logs for catching bugs )

2. This is another tool in your arsenal to solve problems. You may have spent an hour or twelve today struggling with an issue.(Keep a Debug Journal)

3.It’s a simple idea but has the potential to be very effective in saving you time in the future, and helping you to learn too.(Keeping a debugging journal)

4.From  Advice for Computer Science College Students
  1. Learn how to write before graduating.
  2. Learn C before graduating.
  3. Learn microeconomics before graduating.
  4. Don't blow off non-CS classes just because they're boring.
  5. Take programming-intensive courses.
  6. Stop worrying about all the jobs going to India.
  7. No matter what you do, get a good summer internship.

In a word , probably  i will start to use the debugging blog myself since there are so many geek writers that benefit from that :)

Wednesday, 21 January 2015

SLOG 1 the second week csc148

Hi , this is the first time using the blogger 

it's really awesome  that i have a blog website myself !

this week i'm impressed by the subclass (inheritance) part in the class ,

 and i enjoy that a lot ,because we can use that in assignment 1 , 

and I feel a little bit frustrated that our class's process is a little bit slower than Danny's class , 

but i read the required reading part before class ,

 so it's ok for me ,

about the material covered this week,  I feel the stack1 and stack 2 is helpful 

I start to write the assignment last week and i plan to write that on weekend this week 

i didn't ask or answer any question , but i keep an eye on the piazza ,and i find that some post really help me a lot 

finally , it's really a nice week :)

i learned a lot ~