Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment OK, but what did he mean? (Score 1) 871

In response to your question about the "Don't Talk to Cops" video: OK, but what did he mean?

He means, guilty or not, if you are under suspicion of a crime, the cops are NOT looking for evidence to exonerate you. They are looking for anything and everything that can be used to prove your guilt. Including twisting your words in such a way to make you sound as if you were lying or trying to hide something.

Comment Re:Build it and run it (Score 1) 254

I've never been able to get a full understanding of an unfamiliar project by simply reading the code (and mapping out relationships, though I have done that from time to time). The most insight (for me at least) comes from running the code, changing it to see how it breaks, and running it again. Nothing tells you more about a piece of code than seeing how it works normally, then seeing how your changes affect it.

How do you know when things might interact when you don't know the premises of the system?

By deliberately breaking it. When you make a change and something else breaks you know immediately that those components are coupled. No reading/mapping required. Once that coupling is identified you can focus your code reading to understanding how tightly or loosely coupled they really are.

Rinse and repeat. It might seem simplistic or naive, however, once you've spent hours/days reading and mapping code, you're ultimately going to need to run it and modify it. In which case you are going to break it and learn something about component interactions that reading alone didn't tell you. My personal preference is to skip all that business up front and dive in. I'll still end up reading all the code. Just focused on certain areas of functionality one at a time.

Comment Build it and run it (Score 3, Insightful) 254

You will never fully understand the code just by reading it. My approach is to ignore all of it until something needs to be changed. When you need to change something, add a feature, etc... find where in the code the functionality is and tweak it a bit. See what happens. Tweak it some more. See what breaks. You will start to get a deep understanding of a focused section of the code and not have to worry (yet) about other unrelated areas. Start with small changes first. Larger changes may require a deeper understanding of the architecture and how pieces interact. This will come in time. After a few iterations of this and you will eventually become intimately familiar with all the pieces of the code.

Comment Re:Sure... (Score 1) 749

Of course when called out on it he said he meant that the NSA doesn't read citizens email:
http://news.yahoo.com/blogs/ticket/intel-chief-clapper-gave-least-untruthful-answer-u-164742798.html
http://news.yahoo.com/blogs/ticket/spy-chief-clapper-denies-misleading-congress-spying-americans-221024826.html

Which 1) no longer denies phone records are collected and 2) no longer answers the question that was asked in the first place!

Slashdot Top Deals

Kleeneness is next to Godelness.

Working...