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

 



Forgot your password?
typodupeerror

Comment Re: This thing is crazy (Score 1) 53

Just ask it to find and fix the bug! I suspect bugs like this will become less common as the model is tweaked or additional compute time is given to "reflect" on the response and check for logical consistency.

Question: Would the write to substring[6] cause an error?

Answer: Yes, the write to substring[6] in the code you have provided would cause an error, because the substring array is only defined to have a length of 6, so attempting to write to the seventh element (substring[6]) would overrun the bounds of the array and result in undefined behavior.

To avoid this issue, the code could be modified to ensure that the substring array has a length of 7, so that the null-terminator character can be safely written to substring[6] without overrunning the bounds of the array. This could be done by changing the definition of the substring array to the following:

char substring[7];

Government

Anonymous Takes Down Turkish Government Site 117

arisvega writes with word that the group of hackers known as Anonymous "has taken down a Turkish government website in a protest against recently introduced Internet filters that many consider to be censorship. They also appear to have published a manifesto. Turkey has a long history of Internet censorship, with the country's ISPs having blocked YouTube and numerous other sites in the the past couple of years." From the linked manifesto: "(The Turkish government) has blocked thousands of websites and blogs while abusive legal proceedings against online journalists persist. The government now wants to impose a new filtering system on the 22nd of August that will make it possible to keep records of all the people's internet activity. Though it remains opaque why and how the system will be put in place, it is clear that the government is taking censorship to the next level."
Science

Colliding Particles Can Make Black Holes After All 269

cremeglace writes with this excerpt from ScienceNOW: "You've heard the controversy. Particle physicists predict the world's new highest-energy atom smasher, the Large Hadron Collider (LHC) near Geneva, Switzerland, might create tiny black holes, which they say would be a fantastic discovery. Some doomsayers fear those black holes might gobble up the Earth — physicists say that's impossible — and have petitioned the United Nations to stop the $5.5 billion LHC. Curiously, though, nobody had ever shown that the prevailing theory of gravity, Einstein's theory of general relativity, actually predicts that a black hole can be made this way. Now a computer model shows conclusively for the first time that a particle collision really can make a black hole." That said, they estimate the required energy for creating a black hole this way to be roughly "a quintillion times higher than the LHC's maximum"; though if one of the theories requiring compact extra dimensions is true, the energy could be lower.

Comment Re:what seriously? (Score 1) 346

This is slashdot, so I'm not surprised you'd be unable to make a conclusion that requires you to think about things in a light other than white or black. I'll spell it out for you. What Apple's good at is not necessarily always coming up with an original idea, but at making an idea or feature actually easy to use. Let me repeat that, so you get it. They're good at making technology easy to use. Got it? What good is a device or application that has every feature you could imagine or want, yet no one understands how to use it, what the feature is, why it matters to them, or how to find it? The current state of user interface on windows and linux is so bad, that Apple probably doesn't even have to try that hard to make something that isn't crap in comparison. So rather than looking down upon every person you feel isn't capable of "dealing" with the complicated windows world, consider most would rather their computers just fucking work. Hope that helps.

Comment Re:Collusion (Score 1) 1186

You'd be surprised how quickly you slow down when your sleepy ass releases the pressure on the accelerator.

I'd have been just as likely to push it to the floor when I fell asleep asleep as to let up on it, cruise control or not.

I admit though, I have no idea which one I did. All I know is I was driving, then I woke up in the woods with a seatbelt bruise and a cloud of smoke.

Comment Re:Collusion (Score 1) 1186

Thanks for the vid. I enjoyed watching all those Smarts get destroyed...

But if the head of the dummy strikes the steering wheel in a 40mph frontal crash test, God help you if you're doing 55, or 70 which is the interstate speed limit in most of the US. I once fell asleep at the wheel in a Dodge Intrepid doing 70mph, ran off the road and hit a tree. I walked away with barely a scratch. I think the story would have ended differently in a Smart.

And the side impact test? 30mph, and their simulation of a truck or SUV is a joke. In the real world, the bumper height of those trucks is significantly higher than their test rig. And I am not impressed at all by the fact that I might live through a 30mph side impact in a Smart. My '71 Ford Maverick could protect me from that, and the only safety feature that thing is a brake pedal.

Rear impact test... "Simulating forces in a stationary vehicle rear-ended by another vehicle of the same weight at 20mph." What a joke! There is no other road legal car in the US in that weight class!

I'm from the southern US, therefore my weight is about the same as a Smart Fortwo. And 20mph is about the amount of force that my wheezing American body can muster up in a good solid kick. So why not just let me ram my size 12 steel toe boot up it's ass. That would be just about as useful as the rear-end crash test this thing scored so well on.
Linux

Quick Boot Linux Hopes To Win Over Windows Users 440

Al writes "A company called Presto hopes to exploit the painful amount of time it takes for Windows computers to start up by offering a streamlined version of Linux that boots in just seconds. Presto's distro comes with Firefox, Skype and other goodies pre-installed and the company has also created an app store so that users can install only what they really need. The software was demonstrated at this year's Demo conference in Palm Desert, CA. Interestingly, the company barely mentions the name Linux on its website. Is this a clever stealth-marketing ploy for converting Windows users to Linux?"
Television

Comcast Apologizes For Super Bowl Porn Glitch 526

DrinkDr.Pepper writes "Just after the last touchdown by the Cardinals, with 3 minutes to go in the game, approximately 30 seconds of pornographic material was shown, seen by an unknown number of Comcast customers in Tucson, Arizona who were watching the game in standard definition. Comcast has apologized (they used the word 'mortified') and is issuing a $10 credit to any customer who claims to have been impacted. Various news accounts suggest that the incident was a malicious act, but no one knows how it was done or by whom."
Biotech

Family Dog Cloned, Thanks To Dolly Patents 261

patentpundit writes "BioArts International announced today that they have delivered the world's first commercially cloned dog, a 10-week old Labrador named Lancey, to Florida residents Edgar and Nina Otto. According to the press release issued by the company, 'BioArts International is a biotech company focused on unique, untapped markets in the global companion animal, stem cell and human genomics industries. The Best Friends Again program is a collaboration between BioArts and the Sooam Biotech Research Foundation in South Korea, home to the best and most experienced dog cloning team in the world.' The technology that makes this animal cloning possible stems from the cloning patents developed at the Roslin Institute for the cloning of the now famous, or infamous depending on your view, Dolly the sheep."

Comment Re:That's it? (Score 1) 594

Computer controlled steering of any type is a scary idea. These innovations are good, and need to happen, but the number 1 design feature needs should be graceful failover to human control, and the ability for the driver to turn it off. I just don't see that happening on any kind of drive-by-wire system, or steering of the type described above.

If computers always did what they were told, and always knew better than me, I (like many of you) would have a completely different career.

Also, "front-wheel drive" is a bug, not a feature.

Slashdot Top Deals

In English, every word can be verbed. Would that it were so in our programming languages.

Working...