Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Best way to learn: (Score 0) 293

And by code commenting skills AC doesn't mean add a comment for each line of code. In my experience good commenting would be to add a brief comment for each block of code. If you've written a particularly obscure one-liner or something that might also deserve a quote and perhaps a reference of where you picked it up but that should be rare: I hope you're writing functional and legible code before you start optimizing it.

Comment Will these be all public too? (Score 0) 186

Google's last foray into all-inclusive communications (Voice) resulted in lots of voicemails being made publicly searchable. I wonder if the same fate awaits all your documents. It hasn't happened for the documents that exist already on Google docs but what of the ones that are not created by Google docs and don't have the same rights data associated with them?

Comment Re:To the toolboxes... (Score 1) 251

As an actual lazy slacker even I put in a little bit of work before asking my peers for help. That way I can maximize the benefit I get from asking my peers by making sure they don't give me the same answer I could get frmo Google. That just makes good sense. It also helps me determine who else is a lazy slacker :)

Comment Re:The Dangers of averaging (Score 1) 342

Damnit... I want to keep information on my peaks for capacity planning!

AVERAGE isn't the only archiving function you can use with rrdtool. For your purposes, you should create an additional RRA with an archiving function of MAX. http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html#IRRA_CF_cf_arguments

Comment Coincidentally (Score 5, Informative) 187

I happen to have a printout of an article on "The Liskov Substitution Principle" and was wondering just yesterday how it is that as programmers we use these principles in everyday life yet don't know their names or the stories of how they came about. As the first US woman to earn a PhD in CS, I'm sure there are some interesting stories to tell about it.

For those who might not have her original text handy, the Liskov Substitution Principle states (rather obviously):

If for each object o1 of type S there is an object o2 of type T such that for all programs P defined in terms of T, the behavior of P is unchanged when o1 is substituted for o2 then S is a subtype of T

which, when stated in the words of Robert "Uncle Bob" Martin as something we probably all intuitively understand from our daily work, is:

Functions that use pointers or references to base classes must be able to use objects of derived classes without knowing it

Comment The most interesting thing on the Get Amnesty site (Score 1) 132

"Further, violators are tagged with a complete history of their downloading activities, which is easily translated to create customer profiles for online marketing purposes" This looks like they'll be using file sharing statistics to provide the content owners a benefit too. Seems only fair that the file sharers who, by their very actions, actually give them the information about what is popular and what is not should get compensated for that. Instead they will be fined. Way to go Nexicon/RIAA!
Software

Submission + - Eye Candy 3D OpenGL Transitions for OpenOffice.org (oooninja.com)

ahziem writes: "PowerPoint's push-down transition has done its 15 years of service, and it's time for something new. Do the sleepy faces in your meetings agree? OpenOffice.org Impress 2.4 upstages PowerPoint with ten 3D transitions rendered in OpenGL. Apple's Keynote has already had a similar feature, but Apple was always shiny like that."
The Internet

Submission + - Pirate Bay earns 20,000 Euros a day (rixstep.com) 2

An anonymous reader writes: controverisal pro-piracy website the piratebay likes to portray itself as an innocent hobby site that provides a free index without censorship, but recent facts show that the site is earning up to 20,000 Euros per day from its advertising. Taking in money on this scale puts a different slant on the motives behind the Swedish filesharing site, and could open up the runners of the site to prosecution for profiting from copyright infringement.

Slashdot Top Deals

For large values of one, one equals two, for small values of two.

Working...