Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: ArrayList and StringBuilder use this (Score 1) 476

by tepples (#49354885) Attached to: No, It's Not Always Quicker To Do Things In Memory

I would realloc the buffer doubling the size each time it overflowed. This allocation strategy is simple, is bounded to 50% worst case overhead, and requires only log N reallocations for a maximum buffer size of N.

It also happens to be the policy used by Java's ArrayList and presumably by its StringBuilder.

Comment: Prepare to restore from backup often (Score 3, Insightful) 247

by tepples (#49350077) Attached to: Generate Memorizable Passphrases That Even the NSA Can't Guess

someone who physically possesses the token has three guesses of my unlocking passphrase before the token locks itself forever and zeroes out the stored keyfile

If fat-fingering your passphrase thrice will make your data permanently inaccessible, then you better have damn good backups and a damn good data plan with which to restore them when and where you need your data.

Comment: Re:Why? Because... (Score 1) 524

Comcast does indeed have competitors

Whose offerings are cost prohibitive. AT&T and Verizon are wireless ISPs, and wireless ISPs in the United States charge $5 per GB or more.

You elected the lawmakers.

Someone who just turned 18 didn't. Someone who voted for a candidate that lost didn't.

"Mr. Watson, come here, I want you." -- Alexander Graham Bell