Become a fan of Slashdot on Facebook


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:if(allocation_succeeded) (Score 1) 729

If b is an expression that returns a reference to a newly allocated resource, such as fopen or malloc, this if statement represents trying to allocate a resource and then skipping the following compound statement if the allocation failed. It's what they had before exceptions, and it's what they still have on microcontrollers too small to have the overhead of a full-featured exception handler.

That completely misses the problem of accidentally performing an assignment when you meant to do a comparison, and is also completely unallowable in safety-critical code, which is a good amount of what runs on microcontrollers in the first place.

Comment Re:Gimmick (Score 1) 243

That depends. A coordinated turn in an aircraft will involve rolling into the turn. A boat (a fast moving one, at least) has naturally coordinated turns due to physics. In both cases, this causes yaw acceleration to be more parallel to your body, which is much more comfortable. A car can't do this because of, well, the road.

I'm not sure that it could roll enough to cause a significant improvement, but the concept is sound.

Comment Re: Undefined (Score 1) 800

america is built on everybody acting in their enlightened self interest"

"Enlightened self-interest" has a specific meaning:

"behavior based on awareness that what is in the public interest is eventually in the interest of all individuals and groups"

"a philosophy in ethics which states that persons who act to further the interests of others (or the interests of the group or groups to which they belong), ultimately serve their own self-interest.t has often been simply expressed by the belief that an individual, group, or even a commercial entity will "do well by doing good""

What you're advocating is the exact opposite, UNENLIGHTENED self-interest - acting directly for your own individual benefit without concern of the impacts on others. THAT is what America is founded upon. If you're ignorant of the definition and are just using "enlightened" as a general adjective, you're actually claiming that America is built on self-interest that is "factually well-informed, tolerant of alternative opinions, and guided by rational thought"? Not in this universe.

if you have two autonomous cars and both act in self interest, it is probably the best way to minimize a crash.

...with each other, and even then, that's such a big "maybe" that it's almost not worth responding to. That also depends on what you consider a "crash": the event of hitting something at all? Is it categorized by risk to the driver? Passengers? Others? How is it weighted? You can, by definition, "minimize a crash" while increasing the number and severity of human casualties. Humans are what are important, end of story.

similarly if you have one autonomous and one non-autonomous car, the driver in the non-autonomous car will act in his self-interest anyway.

You have no idea what any individual's sense of "self-interest" is. My conscious and reflexive desire may be the preservation of others at my own risk, especially if I've created the risk, or based on factors that autonomous control systems simply have no clue about because of their limited situational awareness. It's not only nihilistic to make that sort of claim, it's patently false.

Being a driver today means accepting responsibility, but you're inverting that to mean having an inherent right to minimize injury to yourself regardless of circumstances. What if you don't maintain your car properly, and the maintenance issue leads to a failure that precipitates a crash? What if you're driving the car manually and switch to autonomous mode after the precipitating conditions for a crash are already met? Who is liable? And more importantly, what are the human consequences? The answer is not only much more difficult than you're making it out to be, but your line of reasoning itself is puerile, and based on "unenlightened self-interest".

Comment Re:I wont be a guinea pig (Score 1) 123

On what grounds do you trust an aircraft largely designed by, as you put it, "business idiots" rather than engineers? The largest topic in engineering ethics is the natural conflict between corporate interest and safe design.

I don't trust "engineers" who can't even find the root cause of battery issues, and I certainly wouldn't trust my life to them.

Comment Re:They still don't know the cause... (Score 2) 123

Here's the cause - outsourcing design to their suppliers. A large number of disparate companies had leeway to determine how to make their product meet more general specifications. How is it surprising that we're now seeing poor results of the integration of these systems? And how exactly are you going to troubleshoot it? Boeing can use the delivery specifications all it wants, but any error or omissions (see: A7D brake scandal) will have you running in circles. Boeing needed to own the design top to bottom (as much as possible, anyway) to prevent corner cases. Now, they have a plane that's all corners. The scary part is, this is a common (as far as defect is concerned), somewhat repeatable problem with a generally basic system, and they can't figure it out. What other, more spurious problems are hiding that they have no clue about?

Comment Re:Sigh. (Score 2, Informative) 489

Except the contract she signed allowed no ETFs if she moved into an area with no coverage, which was unilaterally amended by them. That's a significant enough change to have that contract dissolved.

I also love that you think she's "milking her dead husband" by providing the set of circumstances that is putting her in said position. She's not exploiting it for personal benefit, as "milking" would imply. I feel sorry for whatever stooge with mod points rated your comment up.

Comment Re:Simple really... (Score 3, Insightful) 489

They don't "loose" any money except any projected difference in income between contract end and termination data, minus the cancellation fee. It's a tactic to a) make money off of people who aren't even getting any services from the company, and b) force consumers to stick with said company for no other reason than being punished otherwise. Phone carriers have seen a big return on text and data plans. I'd like to see what data you have that says that losses due to customer death are any sort of significant concern for them, though.

Comment Re:Simple really... (Score 2, Insightful) 489

Er, no; being critical of the war(s) while simultaneously being respectful for those who serve in the military and are ordered to war by our elected officials is a perfectly tenable position. It helps to avoid being lumped in with the kind of viewpoint that, say, most Vietnam War protestors held. Nice to see that non-black-and-white opinions seem to be "PC bullshit," though. Of course, this completely ignores the fact that there's nothing inherently "honorable" about anything whatsoever in the universe, since something has to be attributed some amount of respectfulness by society in general for it to be such. Since most societies in the world give such status to their soldiers and their duties, it has been made honorable. So, it *is* honorable, but not a natural law, just like nearly everything in society. I wonder how you interpret most of your interactions with the world at large? I think there would be a lot of contradiction in your viewpoints, if you were knowledgeable enough on the subject to see such contradictions.

Slashdot Top Deals

"We Americans, we're a simple people... but piss us off, and we'll bomb your cities." -- Robin Williams, _Good Morning Vietnam_