Forgot your password?

Comment: Re:Hi speed chase, hum? (Score 1) 370

by Jeremi (#47436309) Attached to: The First Person Ever To Die In a Tesla Is a Guy Who Stole One

Many police departments now have a policy of not performing chases for non-violent crimes because, statistically, you're more likely to kill bystanders by chasing than by letting the criminal drive off.

Given that it's a Tesla (and a dealer-owned one at that), was a chase necessary at all? I suspect that Tesla Corp could have given the police a live feed of the car's GPS co-ordinates at any time?

Comment: Re:Life on Mars? (Score 3, Insightful) 265

by Jeremi (#47420771) Attached to: Dubai's Climate-Controlled Dome City Is a Dystopia Waiting To Happen

No one will EVER live in a permanent space colony. Sorry.

While I share your pessimistic outlook for the foreseeable future, forever is a really long time. Are you willing to say that absolutely nobody will be living in a permanent space colony in 100 years? 500 years? 10,000 years? If so, what makes you so certain?

Comment: Re:ridiculous (Score 2) 583

by Jeremi (#47415929) Attached to: Normal Humans Effectively Excluded From Developing Software

Experience and training is not very important as long as you know how to write good code that's efficient and makes sense to others.

And how did you learn to write good code that's efficient and make sense to others? Maybe you're the rare case of a person that can just intuit what is good code and what isn't, but I think most developers (including myself) learn how to write good code by first writing lots of bad code, and then suffering the consequences until they learn from experience what works and what doesn't.

Comment: Re:Java or Python (Score 1) 411

by grcumb (#47412687) Attached to: Python Bumps Off Java As Top Learning Language

The ability to seamlessly use + with mixed text and numeric types in a language without explicitly declared types is usually considered a design flaw, not a positive feature. Perl uses separate operators for strings vs. numbers to avoid ambiguity....

Though in fairness, it should be mentioned that, as with other aspects of the language, Perl also assumes that you are using the right operator, and that you actually mean what you wrote:

perl -e 'print "x" + 1;'

Or, even better:

perl -e 'print "x" x 22;'

Comment: Re:say wha? (Score 4, Informative) 68

by grcumb (#47412419) Attached to: 'Rosetta Flash' Attack Leverages JSONP Callbacks To Steal Credentials

JSONP callback functions normally return a JSON blob wrapped in a user-specified callback function, which the browser will then execute as JavaScript. Nothing out of the ordinary here. However, the new attack has leveraged a method of crafting a Flash file to contain a restricted character set that's usable within JSONP callbacks (i.e. in a URL). By combining the two, the attack demonstrates it's possible to use a JSONP URL with the contents of the crafted Flash file as the callback function. When set as the data of a standard HTML object tag, the SWF file executes on the targeted site, bypassing all Same-Origin policies in place.

ummmm what? english please!

The code sneaks a Flash file disguised as a URL into some JSON data and cons the browser into treating it as JavaScript, but on the local machine it acts like an HTML <OBJECT>, and because the browser is executing the Flash code locally now (due to the masquerade), it can run with greater privileges than if it were from a remote site.

Or in layman's terms: Flash totally sucks the suckage, dude. Always did. Still does.

Comment: Re:Amusing... (Score 2) 281

by Jeremi (#47407395) Attached to: The World's Best Living Programmers

To the people who hired you, the most important thing is getting the product to work reliably so they can start making money with it. It won't matter at all how pretty the chart bubbles are in the design document, if the program crashes or is otherwise unusable. So score one for the talented programmers there.

Which is not to say software engineering isn't important -- only that exactly how important it is will vary with the size of the project. e.g. for a smaller project like a script or a one-off data processing program, just about any design (or no design) can be made to work well enough. For a large program (or one that will eventually grow into a large program), detailed software engineering is necessary to prevent its eventual collapse under the weight of its own complexity.

Comment: Re:Warp Drive (Score 4, Insightful) 553

Then you have never looked at a ten line C program to implement a PID control loop for a servo motor.

I don't think that would count as learning. That ten-line program will always do exactly what it was programmed to do, neither more nor less. An adaptive program (in the sense the previous poster was attempting to describe) would be one that is able to figure out on its own how to do things that its programmers had not anticipated in advance.

Comment: Re:What about range on this smaller car? (Score 1) 245

by Jeremi (#47386569) Attached to: Tesla Aims For $30,000 Price, 2017 Launch For Model E

if it got 60 miles electric I'd have to make sure I used the gas engine occasional to make sure it didn't have problems.

An interesting feature of the Volt is that it will handle this for you -- i.e. if the gas engine hasn't been used in a long enough time, the Volt's computer will force it to be used for a little while just to give it some exercise (and keep the gas in the tank from getting too stale IIRC).

Comment: Re:Do we need HTML+Javascript at all? (Score 2) 104

by Jeremi (#47386467) Attached to: Do We Really Need Another JavaScript Framework?

Throw out HTML, throw out CSS, throw out JavaScript. Take the best *ideas* from them all, use C# (nothing to do with Microsoft though) and create a common framework on all platforms embracing those *ideas* and use OpenGL as the composition engine.

I'd try to explain the problems with this line of thinking, but I think xkcd does a better job.

If you had better tools, you could more effectively demonstrate your total incompetence.