Follow Slashdot stories on Twitter


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:you can do osx and ios in c++ (Score 1) 407

by rjh (#49177343) Attached to: Ask Slashdot: Which Classic OOP Compiled Language: Objective-C Or C++?

Cfront worked by translating C++ into C, which was then run through a C compiler. As such, cfront had to be abandoned in the early 90s because there were certain syntactic structures that simply couldn't be expressed in a reasonable amount of C source code.

The original poster is (mostly) correct. Cfront was a compiler only in the sense that it did a transform of one language (C++) into another (C). It was not a compiler to any extent beyond that; compiling to native code was left up to the system C compiler.

Where the original poster is wrong is calling C++ a "preprocessor for C". That's a reasonably-correct way to describe one early implementation of a C++ compilation system, but it's not an accurate way to describe the language itself.

Comment: Parody is protected (Score 3, Informative) 255

by rjh (#49173757) Attached to: Gritty 'Power Rangers' Short Is Not Fair Use

Parody is protected; satire is not. Parody uses the objects of an artistic creation to criticize, lampoon, or make fun of the original creation. Satire uses the objects of one artistic creation to criticize, lampoon, or make fun of other creations. Using A to mock A is fair game in copyright law. Using A to mock B is seen as a violation of the copyright holder of A's rights.

As an example: Demolition Man used commercial jingles and Taco Bell to satirize modern American life and where it was headed, but they weren't really holding up the Oscar-Meyer Company or Taco Bell up for ridicule. The laughs were aimed elsewhere. As a result, they had to get permission from the Oscar-Meyer company to use the Oscar-Meyer wiener jingle, and permission from Taco Bell to use the Taco Bell logo. That's satire.

The Power Rangers fan film is pretty much straight-up parody. They're not scoring points about anything outside the Power Rangers franchise: they're just holding it up for brutal mocking. That's parody, and that means the people who made it were A-OK.

Comment: Re:Mostly right. (Score 1) 681

by rjh (#49130731) Attached to: Bill Nye Disses "Regular" Software Writers' Science Knowledge

I'm not rejecting Noether's theorem -- I'm rejecting temporal invariance. Spacetime is dynamical, therefore not invariant, etc., etc.

You can definitely torture the definitions of words until you reach a kind of invariance, but I feel this creates more problems than it solves. Better to just say, "conservation of energy only holds true for static backgrounds."

See Sean Carroll's "Energy Is Not Conserved" blogpost for a more detailed explanation. He convinced me to stop talking about the energy of the gravitational field as the escape hatch for conservation. :)

Comment: Your own humanity (Score 1) 698

by rjh (#49130349) Attached to: Ask Slashdot: Terminally Ill - What Wisdom Should I Pass On To My Geek Daughter?

It's commendable that you want to pass on wisdom. But I suspect your daughter isn't going to miss your wisdom anywhere near as much as she's going to miss you. What is it that makes you so uniquely you?

For example: I have some really strong memories associated with science fiction, particularly Poul Anderson's Tau Zero. So I might record myself reading Tau Zero, and whenever I reached a passage that really resonated with me I might go into a long digression about why it resonated with me, and things in my life and history that also strike that same thematic note. By the end of it, she would know not only that I loved Tau Zero, but she'd know a lot more about me and why I loved it and why it spoke to me and why, with only six good months left, I'd choose to spend six hours of it recording it for her.

Wisdom is overrated. It really, truly is. It's valuable but it's not the best thing out there. And I say that as the son of a father who has the keenest mind I've ever known, a guy who has enormous life experience and wisdom and has shared it with me freely throughout my life. If-and-when he goes, I'll miss his wisdom a lot. But I'll miss him more.

The most important gift you have to pass on to your daughter isn't your wisdom. It's you.

Comment: Re:Mostly right. (Score 1) 681

by rjh (#49114401) Attached to: Bill Nye Disses "Regular" Software Writers' Science Knowledge

So where are the perpetual motion machines?

This is a great question. Let me rephrase it: "How can we collect dark energy and convert it into something useful?"

Nobody knows. Nobody knows if it's possible, for that matter. But yes, energy is constantly being pumped into spacetime; that's what's causing the expansion of spacetime. The nature of that energy and its origin (is it produced ex nihilo? Is it leaking in from another universe?) are currently hotly debated within physics.

But again, it's a great question. I wish we had an answer for it! :)

Comment: Re:Mostly right. (Score 1) 681

by rjh (#49114341) Attached to: Bill Nye Disses "Regular" Software Writers' Science Knowledge

Try high-school level details. The basic principles of relativity ("no preferred reference frames; time and space are relative; the speed of light is constant") are taught in high school physics, as are such things as barycenters (although they usually call it the "center of gravity"). The bit about the Uncertainty Principle is college-level physics, but the rest is straight-up high school physics -- and not AP Physics, either.

And if you say the earth goes 'round the sun, you're every bit as wrong as if you say the sun goes 'round the earth. The reason why you're just as wrong is because you're making the same fundamental mistake: you're assuming the existence of a preferred reference frame.

So, in a sense, thanks for proving my points.

Comment: Re:Mostly right. (Score 1) 681

by rjh (#49112721) Attached to: Bill Nye Disses "Regular" Software Writers' Science Knowledge

I've never heard of this Goedel guy but he sounds like either a hippy or a troll or both.

Kurt Goedel is widely regarded as the finest logician since Aristotle. Guy was Einstein's best friend (Einstein said he worked at Princeton "solely for the privilege of walking Kurt Goedel home"), did foundational work in general relativity, developed the Goedel Metric for GR, tore mathematics down to its foundations so violently that Bertrand Russell was shaken, lay the foundation for modern computer science, and more.

Not knowing who Kurt Goedel is, is kind of like not knowing who Isaac Newton is. Seriously. The guy was a major player in mathematics and physics from the 20s up until the 1970s. And when people call him the greatest logician since Aristotle, they're not kidding.

Comment: Re:Mostly right. (Score 1) 681

by rjh (#49111555) Attached to: Bill Nye Disses "Regular" Software Writers' Science Knowledge

From any point of reference the sun is the centre of this solar system and everything in this system orbits the sun.

Not at all. Nothing orbits the sun. The planets and the sun all orbit the barycenter of Sol System, which happens to almost coincide with the center of the Sun. See, e.g.:

Anyway, the claim that "from any point of reference the sun is the centre of this solar system" is just wrong. Walk out your front door on a clear night and you can watch the planets and stars rotate around you. You're the center, from that particular frame of reference. Sure, to describe the motions of the planets accurately requires an absurdly complex set of epicycles, so complex that they cannot be evaluated without the use of computers... but you can do it: the math gives equivalent results. The math may be easier in one reference frame, but that doesn't make one reference frame more correct.

Here's another example: stand still and spin around really fast. Your arms will naturally lift and move outwards. In one frame of reference, you're spinning and centrifugal forces are lifting your arms up. In another frame of reference, you're standing still and the entire universe has started spinning around you, and the tidal forces generated by that much mass (at, admittedly, that great a distance) generate a pull on your arms that lift them up.

That may sound pretty out there, and it is -- it was one of the arguments Kurt Goedel used against relativity back in the early 20th century. ("That's all well and good, Einstein, but if there's no preferred reference frame then how do you account for this?") Then Goedel sat down with the math, crunched a ridiculous lot of numbers, and discovered that yes, General Relativity gave the exact same results as classical physics.

We may want to choose one reference frame or another to make the math easier -- but that doesn't make one reference frame more correct than another.

Comment: Mostly right. (Score 2, Interesting) 681

by rjh (#49108675) Attached to: Bill Nye Disses "Regular" Software Writers' Science Knowledge

Look at how many people think they're scientifically literate because they think --

  1. The Earth goes around the sun. It doesn't, and in fact, this is just as wrong as saying the sun goes round the Earth. Both positions implicitly advocate there's some privileged and special frame of reference in which to view the universe, and Einstein says there isn't one. It's sort of like people who say there's no such thing as centrifugal force: stand inside a rotating reference frame and derive Newton's Laws and yes, yes it exists, and yes, yes it's real. The mistake: "some reference frames are more true than others." The reality: "you pay your money and you take your frame of reference."
  2. Conservation of energy. Conservation of energy only happens in a static spacetime; astronomy says our spacetime is dynamical; energy is not conserved in our universe.
  3. E=mc**2. Only true for objects at rest, and pretty much nothing in the universe is at rest. The real equation is E**2=m**2c**4 + p**2c**2. This is why light can have energy without mass: a photon's energy is carried entirely in its momentum.
  4. If you measure a particle's position, you'll necessarily tweak its velocity. That's the Uncertainty Principle. No, that's the Observer Effect. The Uncertainty Principle isn't a statement about the fidelity of our measurement apparatus: it's a statement about the total information available, period. If you think the data actually exists but we just can't measure it, then you're subscribing to a Hidden Variables interpretation of quantum mechanics, and the Aspect experiments put a pretty comprehensive set of nails in that coffin.

... and that's just the tip of the iceberg. You don't have to talk to flat earthers and antivaxxers to see profound science illiteracy; usually, the people condemning the science illiteracy are just as wrong, but about different things.

Comment: Re:Cue the libertarian fucktards (Score 1) 379

by rjh (#48983855) Attached to: Confirmed: FCC Will Try To Regulate Internet Under Title II

As a fellow libertarian fucktard, I'm ashamed of you. Really? Really?

And I'll take a unicorn, as long as you have enough for everyone.

There's never going to be an infinite supply of unicorns! That's why we have markets, so that the buyers and sellers of unicorns can meet and negotiate prices at the intersection of the supply and demand curves, ensuring that everyone who's willing to pay the price for a unicorn is able to get one! Come on! Adam Smith! Invisible Hand! Milt Friedman! Nozick! Rothbard! PAUL KRUG--

-- wait, hold on, belay that last one. My bad. But the rest, yes, carry on!

(Note to the humorless: this is all tongue firmly in cheek.)

Comment: Re:This. SO MUCH This. (Score 2) 492

by rjh (#48901439) Attached to: Ask Slashdot: Is Pascal Underrated?

This is true and good, so long as you're interested in making software that can be done entirely with existing technologies. As soon as you hit the brick wall of "but there isn't anything in the standard library that does this," you need the old graybeards who spent their entire careers making the standard libraries you rely on.

Speaking as one of them, the pay and hours are both good and it keeps me on the cutting edge of some fascinating technologies.

The common idea is that we over-40s who've been doing this professionally for 25+ years can't adapt to modern software dev practices. Quite the opposite, really. Mostly we're kept so busy that we don't have the time.

None of this is meant to disrespect what the younger generation does with (as you say) "connect the dots library calls". That code needs to be written, and it's best if it's written by smart people who care about their work. :)

Comment: Awful. Insulted my intelligence. (Score 4, Informative) 98

by rjh (#48840521) Attached to: Silicon Valley Security Experts Give 'Blackhat' a Thumbs-Up; Do You?

Terrible. It insulted my intelligence at every opportunity. To pick just three:

  1. A hard drive that's been at Ground Zero of a Chernobyl-level event, exposed to hundreds of sieverts of ionizing radiation, extraordinary extremes of temperature, a hydrogen-oxygen explosion with such tremendous overpressure that it blew the containment dome, and seawater pumped through the building as a last-ditch effort at cooling the core, is still somehow so readable that it just requires a classified forensics program to recover it fully.
  2. The main bad guy's ultimate plan involves speculating on the future of a commodity that isn't exactly rare.
  3. Targeting nuclear reactors in the U.S. and China as a practice run for the real attack is pretty stupid, as the practice run is so devastating that it guarantees an immediate and vigorous reaction from two world-power countries known to have active cyberwarfare programs, thereby announcing your presence to exactly the people you want to keep completely in the dark

This movie insulted my intelligence at every turn. I have a long (and spoilerific) list of all the what-the no-they-didn't good-Christ moments I saw in the movie; if there's interest I'll post them here.

Comment: Momentum, not mass (Score 5, Informative) 109

by rjh (#48752563) Attached to: Entanglement Makes Quantum Particles Measurably Heavier, Says Quantum Theorist

The photon has zero rest mass, yes.

E = mc**2 is a nice popularization; it's also wrong. It's actually E**2=(mc**2)**2 + (pc)**2, where p is the momentum. When momentum is zero, you can usually simplify this to E=mc**2, but a photon's existence is defined mostly by its momentum. Since m is zero for a photon, this means the energy of a photon is given by entirely by E=pc.

Hope this helps!

Comment: Re:Land of the free (Score 2) 580

by rjh (#48628395) Attached to: Reaction To the Sony Hack Is 'Beyond the Realm of Stupid'

So, the NJ State Senate Majority Leader admits that New Jersey's law, which would make smart guns mandatory within three years of the first commercially-available smart gun being sold anywhere in the United States, can be reversed... if only the NRA will agree to stop obstructing the sale of smart guns within the United States, which they do specifically because of the New Jersey law?

I don't see the problem. The NRA is obstructing a law that goes against their stated interests, and New Jersey is promising to reverse that law if only the NRA will stop obstructing what that law regulates?

For the NRA's stated position, see here. Particularly:

NRA does not oppose new technological developments in firearms; however, we are opposed to government mandates that require the use of expensive, unreliable features, such as rigging a firearm so that it could not fire unless it received an electronic signal from an electronic bracelet worn by the firearm's lawful owner (as was brought up in Holder's recent testimony).

That's their stated policy, right there.

An inclined plane is a slope up. -- Willard Espy, "An Almanac of Words at Play"