Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Submission + - Wire The Programmer To Prevent Buggy Code (i-programmer.info)

mikejuk writes: Here's a new idea.
You might have heard of aids that keep a driver from falling asleep by detecting how alert they are but what about the same idea applied to programmers. In this case the object isn't to stop a crash, well it sort of is, but a bug.
Microsoft Researcher Andrew Begel, together with academic and industry colleagues have been trying to detect when developers are struggling as they work, in order to prevent bugs before they are introduced into code. A paper presented at the 36th International Conference on Software Engineering, reports on a study conducted with 15 professional programmers to see how well an eye-tracker, an electrodermal activity (EDA) sensor, and an electroencephalography (EEG) sensor could be used to predict whether developers would find a task difficult. Difficult tasks are potential bug generators and finding a task difficult is the programming equivalent of going to sleep at the wheel.
Going beyond this initial investigation researchers now need to decide how to support developers who are finding their work difficult. What isn’t known yet is how developers will react if their actions are approaching bug-potential levels and an intervention is deemed necessary. Presumably the nature of the intervention also has to be worked out. So next time you sit down at your coding station consider that in the future they may be wanting to wire you up just to make sure you aren't a source of bugs. And what could possibly be the intervention?

Comment Re:Useless (Score 1) 177

According to http://www.scotusblog.com/stat... the Supreme Court recently affirmed 27% of lower court decisions and reversed 73%. This means that if you guess that the Supreme Court reverses the lower court every time, you'll be 73% accurate. 70% accuracy is ridiculously low if you can get 73% accuracy *without* taking into consideration the records of each justice or any other kind of details.

Of course, the usual reason why the case got to the Supremes in the first place is because there were two cases by different Appeals Circuits which conflicted.

Comment Re:cretinous because (Score 1) 316

Speaking strictly about wireline ISPs, no wireline ISP sells a consumer grade plan as 20Mbps for 24/7 usage.

Mine did, but doesn't now: their lowest grade plan is now faster than that. The upper tiers might have throttling, but I don't thing the base grade tier can hit the level at which they care.

But then I'm not in the US. We have real competition between communications providers.

Comment Re:Well at least they saved the children! (Score 1) 790

The bigger issue is how much effort Google is placing into search people's accounts for child porn

apparently a lot FTFA: "It’s why Google actively removes illegal imagery from our services -- including search and Gmail -- and immediately reports abuse to NCMEC. "

This is very scary. I wouldn't touch any google device or service with a ten foot pole. If I owned any google stock I would dump it all immediately. While this sounds all well and good, how long before google starts looking for stock tips or other information in email? They already said they will scan your emails for anything they want and you can't do anything about it: "how much privacy users can expect when using Google's services like email. In a word: none. A year ago, in a court brief, Google said as much. Then, in April, after a class-action case against Google for email scanning fell apart, Google updated its terms of service to warn people that it was automatically analyzing emails."

I'm putting my android devices on ebay, I don't want to use anything google for anymore than I have to. Google has gone from "don't be evil" to "only be evil"

Comment Re:Public transport will be obsolete (Score 1) 84

Once driverless car technology has sufficiently matured, there will be no need for buses, underground trains, or any other current public transport system.

Are you sure about that? You seem to be assuming that everyone will be travelling from and to different places and that there will be no concentrations of people attending the same location at the same time. It's been my experience that people don't work like that. I also suspect that the price that these vehicles would charge would make them rather less economic than you think. Unless there's evidence that what you propose would be cheaper than public transport currently is, or that there will be no common locations and times for people to go somewhere, there will be an incentive to have public transport of some form.

Comment Re:Trains sound like a good idea. (Score 2) 84

US moves 10 times as much over rail as Europe does, over 25% of all freight is moved by rail in the US

I suspect that this difference may be in large part due to the more widespread use of water-based transport in the EU; it's a lot more efficient than even rail (provided you've got a suitable river going in the right direction or are close to the sea, which describes more of the EU than the US).

Comment Re:ATO - GoA 4 (Score 1) 84

Operating the doors in a safe manner. (hard)

How so? You don't even need a computer. Just make it so the train doesn't move if the doors aren't closed, the doors move with little force, and if they fail to close they re-open and try again in 5 seconds.

I've seen a few driverless trains around the world (e.g., in Paris, Copenhagen and at ORD in the US for transfer between terminals) and they usually operate with two sets of doors: one set on the train, and the other on the platform. This keeps people from accessing the track area except when the train is there to let them board. Combine this with obstruction detection when the doors are closing (without which millions of automatic doors wouldn't be safe) and I think we can say that this particular problem is solved.

Or was the GP foolishly assuming that they had to use the existing equipment? That no investment was possible?

Comment Re: How many drivers? (Score 2) 84

Will be as in inevitable or will be as in the jobs are in the future so they're not really "lost" since they don't exist yet? I'm guessing you mean both. Very few will be fired from driverless cars, I'm guessing most people will stop choosing a career as a bus driver. Besides 40 years is long enough that everyone who drives a bus now probably won't be in 40 years.
Taxi drivers could be replaced by smartphone apps, you'll tell your smartphone where you want to go and a taxi arrives to take you do the destination, no need to tell anyone in the taxi where you need to go so no problems with speech recognition or a language barrier

Comment Re: Speech recognition (Score 1) 84

Agreed, why would you need speech recognition on a bus? I can maybe understand on a taxi, but a bus just goes from one stop to another.

Anyone else notice it said next 4 decades? 40 years, yes everything will be driverless in 40 years. That's sort of obvious, we already have much of the driverless technology in many high end cars now, with them able to stay in a lane, adjust cruise control and even stop to avoid a collision.

Comment Re: You're welcome to them. (Score 1) 402

>

And one final point: the fact that you can apply any standard UNIX command to a range of lines in vi is just amazing. Look it up if you don't already know it, but are interested.

BINGO!

Reading this thread, SOMEBODY had to mention this. I use the "use buffer (can be range) as stdin to command and replace with results" feature of vim EVERY SINGLE DAY. It is one of the most amazing and productive features I can't believe it isn't more well known.

And once you've started getting nice snippets of "buffer code", the power grows by typing <CTL-f> at the colon ":" prompt and finding recently used commands. Amazing and powerful stuff. (Set your remembered vim commands to >1000 for long term buffer-command goodness!)

I don't know of any other editors that do this

Submission + - Researchers Jailbreak iOS 7.1.2 (i-programmer.info)

mikejuk writes: The constant war to jailbreak and patch iOS has taken another step in favor of the jailbreakers. Georgia Tech researchers have found a way to jailbreak the current version of iOS. What the Georgia Tech team has discovered is a way to break in by a multi-step attack. After analysing the patches put in place to stop previous attacks, the team worked out a sequence that would jailbreak any modern iPhone. The team stresses the importance of patching all of the threats, and not just closing one vulnerability and assuming that it renders others unusable as an attack method.
It is claimed that the hack works with any iOS 7.1.2 using device including the iPhone 5s.
It is worth noting that the The Device Freedom Prize (https://isios7jailbrokenyet.com/) for an open source jailbreak of iOS7 is still unclaimed and stands at just over $30,000.
The details are to be revealed at the forthcoming Black Hat USA (August 6 & 7 Las Vegas) in a session titled Exploiting Unpatched iOS Vulnerabilities for Fun and Profit:

Slashdot Top Deals

If you want to put yourself on the map, publish your own map.

Working...