Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
Slashdot Deals: Prep for the CompTIA A+ certification exam. Save 95% on the CompTIA IT Certification Bundle ×

Comment Re:Can some explain the puzzles? (Score 1) 180

I believe this is a scenario that could cause two threads performing a incl instruction without lock added to overwrite the same memory address in such a way that the end result would be 2.

thread 1, iteration 0 of 9999: load 0 from memory

thread 2, iteration 0 of 9999: load 0 from memory
thread 2, iteration 0 of 9999: add 1 to 0 = 1
thread 2, iteration 0 of 9999: save 1 to memory

...thread 2 iterates multiple times...
thread 2, iteration 9998 of 9999: load 9998 from memory
thread 2, iteration 9998 of 9999: add 1 to 9998 = 9999
thread 2, iteration 9998 of 9999: save 9999 to memory

thread 1, iteration 0 of 9999: add 1 to 0 = 1
thread 1, iteration 0 of 9999: save 1 to memory

thread 2, iteration 9999 of 9999: load 1 from memory
thread 2, iteration 9999 of 9999: add 1 to 1 = 2

...thread 1 iterates multiples times....
thread 1, iteration 9999 of 9999: load 9999 from memory
thread 1, iteration 9999 of 9999: add 1 to 9999 = 10000
thread 1, iteration 9999 of 9999: save 10000 to memory

thread 2, iteration 9999 of 9999: save 2 to memory

Comment Re:Just in time. (Score 1) 219

The average read/write speed of this drive is 150MB/sec with a maximum sustained read rate of 190MB/sec. See http://www.seagate.com/files/w...

Assuming only the average read/write rate it would take 14 hours and 48 minutes to simultaneously read from one drive and write to another.
8*1000*1000/150/60/60=14.81 hours

Comment Re: WTF Is A "Feature Phone"? (Score 3, Informative) 243

From http://en.wikipedia.org/wiki/F...
"A feature phone is a mobile phone which is priced at the mid-range in a wireless provider's hardware lineup.[dubious – discuss] The term "feature phone" is a retronym. It is intended for customers who want a moderately priced and multipurpose phone without the expense of a high-end smartphone."

In my mind there's 3 general categories to mobile phones:
1. basic phone - Can make and receive phone calls. Example: Jitterbug phone
2. feature phone - Supports limited browsing of web, changing ringtones, very basic games or applications and makes/receives phone calls. Example: Nokia 6020.
3. smart phone - Runs an OS like Android or iOS with an application pool of thousands of applications to do similar functions as a PC along with making and receiving phone calls. Example: Samsung Galaxy S5

Comment Re:Much Wrong Here. (Score 5, Informative) 110

It still is raw. If you follow the link in the summary "looking for help" http://www.spacex.com/news/201... it takes you to their page where they show you the before and after videos via youtube and give you access to the raw footage. Here's the link they provide to the raw footage: http://www.spacex.com/sites/sp...

Comment Re:Sounds like BS to me (Score 3, Informative) 230

If you read the letter they sent to US based search engines you will find they are only talking about FTC Act Section 5 which I believe is codified in 15 USC 45(a). http://www.law.cornell.edu/uscode/text/15/45

If you read that section of the law you will find that it mostly just applies to US businesses.

Do you have any actual evidence that the FTC is trying to assert authority over a non-US based business that runs a search engine?

Comment Re:Before blaming the evil right for this ruling.. (Score 1) 643

Your premise is incorrect. The quote you used in your first sentence is from Karl Marx, a socialist not a liberal. Socialism and liberalism are quite different in many ways.

http://www.merriam-webster.com/dictionary/liberalism
http://www.merriam-webster.com/dictionary/socialism
http://www.merriam-webster.com/dictionary/marxism

Comment Re:UPS does nothing for the common fault case. (Score 1) 204

Assuming you have sysrq keys enabled, you can hit alt-sysrq-s, wait for the sync to complete, alt-sysrq-u, alt-sysrq-b. This performs a filesystem sync then remounts all filesystems read-only then boots the system. Also if you have a stuck mount point you can always use a lazy umount (umount -l) to remove it from filesystem hierarchy so you don't need to reboot in the first place.

Comment Re:Fixed (Score 4, Funny) 1106

I think they have subtle differences.
Chicken shit seems synonymous with scared. It's usually spelled as two words.
Horse shit and bullshit are often interchangeable and mean nonsense, stupid or untrue. However bullshit is more popular as a word.
Bullshit also is the only *shit phrase I know of with a easy to use 2-letter abbreviation; bs.
You forgot to mention batshit. As in "You must be batshit crazy to think that this chicken shit outfit gives horse shit about your bullshit."

Comment Re:Shock and awe (Score 1) 1130

There's a legal difference between an executive order and something that's not an EO like what some media outlets are now calling executive actions. The Supreme Court of the U.S. ruled in Mississippi v. Johnson, 71 U.S. 475 (1866) that EOs help the President execute his duties under the powers granted to him in the U.S. Constitution.

This list of 23 executive actions are just things he intends to do. That's all. He's not even done them yet. Have you actually read them? They're things like nominate a new ATF director. That's within his power. He doesn't even need to pre-declare like this that he's going to do it. He can just do it. The Senate still gets to approve or disapprove of his nomination. It's not granting him any power he doesn't already have.

So, I say again, what specifically is the EXTRAORDINARY POWER that you or SourceFrog believe that President Obama just granted himself?

Comment Re:Shock and awe (Score 1) 1130

There have been 0 executive orders made recently. The last executive order President Obama made was Executive Order #13635 on Dec 27th, 2012 and concerned federal employees' pay. Many news organization incorrectly reported that Obama signed 23 executive orders when in fact he did not. They have now changed their wording to say executive actions. At least one reporter, from Salon.com, admitted to incorrectly reporting this.

http://www.salon.com/2013/01/17/the_23_executive_orders_that_weren%E2%80%99t/
http://www.whitehouse.gov/briefing-room/presidential-actions/executive-orders/
http://en.wikisource.org/wiki/Category:Executive_orders_of_Barack_Obama

Somebody ought to cross ball point pens with coat hangers so that the pens will multiply instead of disappear.

Working...