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

 



Forgot your password?
typodupeerror

Comment: Re:System Hardware. Or yum install hardinfo (Score 2, Insightful) 62

by hairyfeet (#48675641) Attached to: Linux 3.19 Kernel To Start 2015 With Many New Features

Which leads us to the sadly all too true obligatory XKCD which is why Linux on the desktop is so low its getting its ass handed to it by "other" and has gotten so low its literally below the margin for error.

Considering that every time Linux starts to get stable the devs take a big steaming shit on it, Pulse, KDE 4, Gnome 3, Systemd, not to mention Torvalds constant kernel fiddling, is anybody really surprised by the plummeting numbers? Its a damned shame but as long as devs would rather put out yet another release instead of fixing the bugs in the previous release Linux will always remain in alpha quality.

Comment: Re:Whoops (Score 3, Insightful) 138

by TheRaven64 (#48675149) Attached to: Bill Gates Sponsoring Palladium-Based LENR Technology

Bill Gates is far more intelligent than you,

That needs a big 'citation needed' next to it, but:

and has already seen a working plant, which is why he is investing on a technology that is going to displace oil and outright kill renewables.

You don't understand risk analysis. He's investing a very small proportion of his wealth in something that may have massive returns. The probability of said returns may be small, but that doesn't make it a bad investment if the potential payoffs are huge, as long as you can afford to take the loss if it doesn't pan out. Most people with his money will invest a few millions in a few fringe ideas, because it only takes one to pay off to more than make up for your investment. The majority of his portfolio will be in relatively safe investments with a close-to-guaranteed return, a bit will be in risky venture.

Comment: Re:LENR is not fusion (Score 2) 138

by TheRaven64 (#48675127) Attached to: Bill Gates Sponsoring Palladium-Based LENR Technology
You missed decay, which is the most common form of nuclear reaction on Earth. Proton capture can technically be thought of as fusion (fusing a hydrogen nucleus with something heavier), but it generally isn't referred to as such. Neutron capture is not fusion and a lot of LENR reactions are neutron capture.

Comment: Re: Call me conervative, but (Score 1) 60

by TheRaven64 (#48674631) Attached to: The World of YouTube Bubble Sort Algorithm Dancing
Insertion sort is terrible for the use cases the grandparent described. For one thing, it requires allocating a new data structure for storing the data (an immediate disqualification for a lot of embedded tasks). Second, it has much worse cache interaction because it requires searching the second array. Assuming that your target is an array, then it also requires a bit memcpy for each insert, which means that it likely requires a similar number of memory operations to the bubblesort, but with more temporaries. You can do a bubblesort in-place, with good cache locality, and only a handful of registers (insert base, top, current, and two for holding the current elements). If your CPU has 8 GPRs then the space requirements of a bubblesort are effectively zero - no memory required.

Comment: Re:Bogus algorithm (Score 2) 60

by TheRaven64 (#48674619) Attached to: The World of YouTube Bubble Sort Algorithm Dancing
Insertion sort is one of these good-on-paper algorithms. It's very fast if insertion is cheap. But insertion relies copying unless your data structure is a linked list. If it's an array (worse, a contiguous on-disk store) then that copying can be very expensive. If it is a linked list, then you're going to have very expensive search (sure, you may still be O(log(n)), but that constant multiple is going to be hurt by the fact that you're hammering your cache and killing your branch predictor).

Teaching algorithms separately from data structures is one of the biggest flaws in modern computer science education. It's impossible to reason sensibly about one without the other.

Comment: Re:Bogus algorithm (Score 1) 60

by TheRaven64 (#48674613) Attached to: The World of YouTube Bubble Sort Algorithm Dancing
Bubblesort has two advantages. The first is that, because it's only swapping adjacent elements, it has very good locality of reference (which means better cache usage, but can also mean more amenable to fine-grained locking). The second is that it performs well on almost-sorted data (that O(n^2) is the worst case - it's closer to O(n) if your inputs are mostly sorted). These two mean that there are situations where bubblesort can be useful, though they're quite rare.

Comment: Re:The Navy sucks at negotiating (Score 2) 111

by TheRaven64 (#48674589) Attached to: US Navy Sells 'Top Gun' Aircraft Carrier For One Penny

And what was the destructive capacity of the Navy in 2006 compared to August 1945? Hell, one Ohio class submarine has more destructive capacity than the entire Navy from 1945

A statistic that floated around earlier in the year when Argentina was grumbling about the Falklands again: one of the battleships that the British were sending to the area could fire, in one minute, more munitions than were fired in the entire 1982 conflict. I'd imagine that the differences between 1945 and now are even more pronounced.

One constant trend has been that soldiers are less expendable. In the first world war, sending men to walk slowly towards machine guns and throw a grenade if they survived to get close enough was their patriotic duty. By Vietnam, having large numbers of soldiers come back in body bags was politically unacceptable.

In the 1940s, Japan was flying aircraft loaded with bombs into American warships. A few years later, people realised that you could design aircraft for this purpose and make them a lot lighter and able to accelerate more if you removed the human pilot. They called them anti-ship missiles.

The fighter screen that fleets needed to protect themselves from aircraft in the '40s is now replaced by anti-aircraft and interceptor missiles (and dumb projectiles). In the next generation of ships a lot of this will be replaced by lasers, which reduces some of the resupply need (you can't run out of laser ammunition on a nuclear carrier unless your ship is so badly damaged that it's not a good idea to be anywhere near it).

Gradually, a lot of the roles for aircraft are being replaced by drones, which means that you need smaller carriers. They don't need to house as many pilots, they don't need as many support staff.

Another part of this trend is to replace reusable vehicles with single-use munitions. Fighters are more expensive than missiles, so you spend a lot on maintaining them. Drones are a lot cheaper, so you can afford to fly them for a couple of missions and then scrap them (explosively, near someone you don't like).

Comparing numbers, as the grandparent did, is completely meaningless. You may as well compare the size of the air force to the number of soldiers Napoleon had.

Comment: Re: The Interview hits warez sites (Score 1) 153

There are basically only three decoders that cover most of the market: Microsoft's DirectShow filter, libavcodec / libavformat, and QuickTime. Hardware decode doesn't help much, because you still have the same software path as everyone else doing the de-encapsulation and file parsing, which is where the exploitable bugs often show up. If you have vulnerabilities in each of these then it's not generally hard to hide them all in the same file, as the codecs aim to be resilient to corrupted data so will usually just drop a frame or two for the exploits aimed at the other implementations.

Oh, and libavcodec / libavformat are used in Android (and in a lot of iOS apps, as AVFoundation doesn't always expose useful APIs), as well as in desktop browsers, so they're a pretty good target to aim for.

Comment: Re: Yes, it's in FB's "ordinary [business] course" (Score 2) 47

by TheRaven64 (#48674547) Attached to: Federal Judge: Facebook Must Face Suit For Scanning Messages
People who think a fake name on Facebook protects them from any of the privacy invasion really haven't been paying attention to the last decade of data mining. The reason Facebook no longer cares if you register with a fake name is that they've been able, with very high accuracy, to get your real name and address without your providing it for a few years.

Comment: Re:Offense: (Score 1) 350

by rtb61 (#48673999) Attached to: UK Man Arrested Over "Offensive" Tweet

As with all legislation, just like contracts, you never know how, good or bad or how they will exactly be interpreted, until they are tested in court. The fun thing about trying to sue them of course is what you are entitled to do under the discovery process. The corporations have no qualms about suing government and try all sorts of things on all of the time. It is about time the electorate did exactly the same thing, form temporary political activism groups and class action sue corporations and the government for all sorts of things. Pretty cheap to try on and by spreading out the cost and using as much volunteer labour as possible, likely reasonable cheap in the long run compared to what they will have to spend.

User Journal

Journal: Merry Christmas! 1

Journal by mcgrew

For the first time in nine years I got to see my youngest daughter on Christmas; this is the first Christmas in nine years she didn't have to work. Great Christmas present!

And the second to last pre-publication copies came Christmas eve eve. I finished going through it this morning, and the book itself is ready. What wasn't was the cover; I fixed it and ordered another copy, so Mars, Ho! should be online in a couple of weeks.

Waste not, get your budget cut next year.

Working...