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


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: Re:OMG america is stupid (Score 1, Insightful) 155

by PCM2 (#49361967) Attached to: Commercial Flamethrower Successfully Crowdfunded

If ever there was a weapon that would be classified as only a weapon of terror with no practical application beyond fear.

Well, fear and burning people to death so they're no longer a threat. Not very efficient, but effective.

And I guess the "practical applications" of your guns, if they don't involve fear, involve gunning people down, right? Don't bother with scaring them off, just kill them.

Between you and me, it seems like the practical application of creating fear is working just great on you, quick-draw.

Comment: Re:Youtube? (Score 1) 197

by Teancum (#49339597) Attached to: Pixar Releases Free Version of RenderMan

It doesn't even need a watermark. Simply a tag in the data stream. Yes, I know a clueful user could strip this out, but most people don't know enough about data streams to properly remove such tags, especially if there is a checksum or some other feature that needs to be recalculated. Such tags are commonly passed on when used in most editors, so it isn't even a new feature.

This isn't time consuming at all. YouTube and other similar channels commonly scan for tags as well for other kinds of meta data, so adding a simple if clause that flags the video as lacking proper licensing is enough to kick it out. YouTube in particular does processing of all videos uploaded into its own proprietary data format for internal storage and does other kinds of processing like scanning for copyrighted content. This is literally trivial in comparison.

Comment: Re:that's sad (Score 2) 56

by Teancum (#49324899) Attached to: NASA's Abandoned Launch Facilities

The problem is that they are sitting in the middle of a wildlife refuge, and doing any demolition would actually cause far more damage to the local environment than simply leaving them in place. This is both in terms of simply hauling the demolition equipment in and trying to "rehabilitate" the land in some fashion after you have cleared away the mess.

Besides, there is always the possibility that some of those sites could still be reused, and concrete poured in the past for a launch pad is often very useful for subsequent launch site. For instance, the landing pad site at KSC that SpaceX is using to recover the Falcon 9 1st stage components is a former launch site that SpaceX got permission from both NASA and the USAF to clear away the metal on the site and set up the other things (like a radio beacon for the core to find) that needed to be put into the site as well.

Otherwise, the land is not really all that useful and can't be used for anything other than a place to study wildlife or launch rockets. Certainly no commercial businesses or homes can be built in the area unless it is directly in support of launch vehicles themselves. There is nothing else for it to do other than rot away, which has other very useful value in terms of trying to see what actually stands up to the environment of Florida over time and what doesn't.

Comment: Re:How quaint, a new Windows SDk (Score 0) 131

by Teancum (#49324813) Attached to: Microsoft Releases Windows 10 SDK

Yup, the motto of Microsoft truly is:

We take yesterday's technology one step closer to today!

The problem is that betting against Microsoft has generally be a bad thing, especially in the operating system software realm. I've been trying hard to avoid using Windows, but it keeps coming back from the dead each time I try to kill it and switch to Linux due to various kinds of issues. This might be the final nail in the coffin for me though as I may just weld shut any attempt to use Windows in the future.

Comment: Not at all surprising (Score 4, Insightful) 187

by PCM2 (#49210651) Attached to: China's Arthur C. Clarke

This will probably come across as a kneejerk response, but the submission makes it sound like Liu's themes are almost entirely derived from PRC propaganda. You hear this sort of stuff all the time if you pay any attention to Chinese state media ... planned economies are best, the individual's primary responsibility is to the family unit, Western ideas have failed, and so on. If anything, these books demonstrate the poverty of a literary scene where everybody has to constantly watch what they say.

Comment: Re:There might be hope for a decent adaptation (Score 2) 331

by Teancum (#49186947) Attached to: 'The Moon Is a Harsh Mistress' Coming To the Big Screen

The Number of the Beast is a horrible introduction to Heinlein, and is sort of the last in a long line of books about Lazarus Long. It purposely went into a fictional tangent of multiverses where literally anything could happen, and it was written as though it could. It was basically written for the hardcore fans of his other books to tie together multiple characters and wrap up dangling storylines as a capstone book to his entire collection. It would be like watching a TV series final episode that has been running for many years, and you trying to make sense of what was going on when it was the very first episode you ever watched.

No wonder you couldn't figure it out.

Of books I'd recommend, "Have Spacesuit, Will Travel" and "The Man Who Sold the Moon" are much more approachable and don't contain characters from other books (although Harriman does show up in some other books too). "Friday" is one of his more recent books that IMHO is pretty good too, but was written in the "Dirty Old Man" stage of his career none the less.

If you absolutely don't want to take on Heinlein or feel like not reading any other books of his, I'd then suggest reading some Isaac Asimov... especially the Foundation Series. Unfortunately those stories do need to be read in order though.

Comment: Re: There might be hope for a decent adaptation (Score 2) 331

by Teancum (#49186861) Attached to: 'The Moon Is a Harsh Mistress' Coming To the Big Screen

All of that meant that he completely missed the story in the book itself. It would be like telling the story of the Lord of the Rings from the viewpoint of Sauron and making it very sympathetic to his viewpoint too, portraying Gandalf as a stupid idiot sent to torment him. I could use other examples, but at least Peter Jackson was a fan of the Tolkein books. Verhoeven hated the political philosophies of Heinlein and didn't even really bother trying to finish the book itself before finishing the screenplay.

The point here is that "The Moon is a Harsh Mistress" is likely to become the same kind of crap that misses what it could become if it was made by a genuine fan of the author and book. The adaptation, while perhaps a bit funny, misses some of the key undertones of the book and what actually sets it apart from an ordinary story.

I only hope that a real Heinlein fan will eventually do his books justice. The only film that has done his stories justice is "Destination: Moon", and that is partly because Heinlein himself was on set for much of the film shoot as a technical adviser.

Comment: Re:I'll be rich! (Score 1) 61

by Teancum (#49186815) Attached to: SpaceX's Challenge Against Blue Origins' Patent Fails To Take Off

In fairness to Blue Origin, the "Do X" happens to be "Make a rocket launch, rise up to a substantial height, and bring the rocket safely back to the Earth in one piece".

Blue Origin has done that, although the "great height" is debatable. Their New Shepherd test flight is impressive engineering, although watching the Falcon 9 test article fly in Texas is IMHO far more impressive. SpaceX flying a rocket into space (the 1st stage actually gets past the Kármán line even though it doesn't get to orbital velocities) and bringing it back to the ground safely is definitely much, much more impressive. They haven't had the rocket return successfully mainly because of pretty lousy weather in the North Atlantic Ocean on the last several launches, including one storm that nearly destroyed the barge. 30 foot swells overwhelmed the stabilizers trying to keep the barge flat and level.

Comment: Re:Wow, (Score 1) 61

by Teancum (#49185601) Attached to: SpaceX's Challenge Against Blue Origins' Patent Fails To Take Off

It could be treated as a defensive patent. Basically saying that the whole concept of patents stink, but as a necessary evil since they do exist we should try to get a bunch of patents anyway to make sure our competitors don't sue us into the ground with patent lawsuits of their own. It becomes a massive patent war where you can charge back with your own patents, or go after trolls because you not only have prior art but have prior patents that should have been cited by any subsequent patent claims.

Prior art is one thing, but a prior patent takes precedence like none other in federal court. For that matter, a prior patent is useful even if it has expired.

Comment: Re:Why can't they fairly negotiate? (Score 1) 61

by Teancum (#49185579) Attached to: SpaceX's Challenge Against Blue Origins' Patent Fails To Take Off

"I don't want to hear about it. It's guaranteed to be invalid on the basis of obviousness, but if they get lucky in court and I've actually read or even heard about that specific patent they'll be able to take us to the cleaners."

This is one of the aspects of the whole concept of a patent that to me invalidates why patents even have a right to exist. The purpose of a patent, according to the U.S. Constitution, is "To promote the Progress of Science and useful Art". I fail to see how the current system even attempts to secure that goal if engineers are basically prohibited from even hearing and talking about various patents.

Comment: Re:International waters (Score 1) 61

by Teancum (#49185377) Attached to: SpaceX's Challenge Against Blue Origins' Patent Fails To Take Off

SpaceX keep changing their mind, it seems, as to if they will continue to use the barge after they get FAA-AST clearance to land on the landing pad at KSC. It appears as though they want to keep the option available for either super heavy launches that push the fuel envelope, like what can happen with the GEO launch that just happened, or for trying to recover the Falcon Heavy central core (which will be quite far down range when it finally does stage separation).

For many launches though, they do plan on eventually going back to the original launch site if possible. On the other hand, there are two barges that SpaceX is using, with one on each coast at the moment (the west coast one being kept near Los Angeles when not recovering rockets from Vandenberg).

Comment: Re:So... (Score 3, Insightful) 61

by Teancum (#49185121) Attached to: SpaceX's Challenge Against Blue Origins' Patent Fails To Take Off

Those who support the patent system claim that their purpose is to disclose all of the information that somebody "skilled in the art" (aka somebody trained in that specific engineering field with credentials, degrees, or some other recognition of competence) can take the information disclosed in the patent and be able to duplicate the invention.

In former times, the USPTO actually required either a copy of the invention or a working model to demonstrate the concept. Thousands of these models can still be found floating around the USPTO building, including some funny perpetual motion machines that have been tried before. The working models at least forced the patent developer to show that the idea was physically possible.

I might even buy this argument, assuming that it was possible with the patent application and supporting documents to be able to treat the USPTO as a sort of archive of technological knowledge. Unfortunately, as you sort of point out, it doesn't do any of that, nor is there any way for an engineer to be able to dig through the stacks of patent applications of years past to try and come up with some interesting ideas for future products or even simply to figure out how something worked, like the Saturn F1 engine (or something comparable from 50+ years ago).

The current patent database is a waste of paper, time, and effort beyond a way for large companies to grind into the dust any small company that can't afford the patenting process. It is IMHO the single best thing to shut down small business development and kill job creation in general. I have to presume those are goals for politicians who support the patent process?

Comment: Re:Good grief... (Score 1) 681

by Mr Z (#49127891) Attached to: Bill Nye Disses "Regular" Software Writers' Science Knowledge

At a quick look, the XOR trick depends on there being an integral type large enough to hold the pointer type, and if there is it appears to be legal. A strictly conforming implementation apparently might not have a sufficiently large integral type, although I can't imagine anybody writing one.

The XOR trick is inherently implementation dependent, since it requires manipulating a pointer while it's an integer. I think it's fair to assume anyone using it is only using it on a machine with a sufficiently wide integral type.

What's not strictly conforming in my mind is performing any manipulation on the pointer while it's represented as an integer. However, you would be correct to point out that if reinterpret_cast< sufficient_int_type >( pointer ) gives me value X, and regardless of the shenanigans I pull with X, as long as I supply that exact same bit pattern X to reinterpret_cast< orig_ptr_type >( X ) I should get the original pointer back. And if round-tripping a pointer through an int back to a pointer is strictly conforming, then the XOR trick is strictly conforming too.

(At the risk of sounding like I'm shifting goal posts, I do know the C++11 standard tried to get some wording in there to support garbage collectors. I have no idea how that language reads against the XOR trick. I do know the XOR trick would confuse GC by hiding pointers from it though. As for whether GC could ever work out-of-the-box in real, non-trivial C++98 programs that have been around awhile, allow me to show you my deeply skeptical face. You pretty much need a C++11/14 program written in a more modern style.)

In any case, can we both agree that the XOR-pointers trick is a trick best left in the last millennium in most modern systems?

The extra pointer could be legally put into the padding by a sufficiently smart compiler, I believe.

I don't believe structure copies are guaranteed to copy padding.

It's also moot on most systems: If pointers have the strictest alignment of any type on a given platform, there will never be contiguous padding large enough to accommodate a pointer. The only cases I can think of where pointers don't share the strictest alignment are systems with 32 bit pointers, but require 64-bit alignment for double and/or long long. Surprisingly (or maybe not), 32-bit x86 only requires 4 byte alignment for double and long long.

So even if it was legal for the compiler to play games on you within the padding in a POD type, on most commercially viable systems you'll never have the padding you need in a contiguous field.

We're rather far into the "theoretically possible, but with such restrictions that nobody would bother."

At the source of every error which is blamed on the computer you will find at least two human errors, including the error of blaming it on the computer.