Monday, January 24, 2011

Genetic Car Design Demo

This is making the rounds, and it is really neat. This is a demo of using a genetic algorithm to design as simple 2D car.  I find that it goes a little better if you keep the mutation rate lower, so that you don't waste a lot of chances on DOA designs.

Friday, January 21, 2011

Cop Tactics Fail?

Take a look at this still from a video posted on Jalopnik.  After a sloppy PIT maneuver, which causes the policeman on the right to be jammed into the retaining wall, both policeman jump out and draw their pistols.  But since they are approaching from oppposite sides, they are pointing their weapons roughly at one another.

Shouldn't the guy on the right have stayed in front of the vehicle, so the fields of fire would have crossed like an X?  Am I missing something?


Wednesday, January 19, 2011

Nine Ways to Secure Your Installation of iAuto Classified Software

Almost any Web-based software can endanger your server. Hackers can seize your administrator account details to access Admin Panel and wreck chaos to your website.

If you are starting a new script installation, you should take several steps to increase security of your website and server from the very beginning.

Monday, January 17, 2011

Eliminate Left Turns?

Over at Car Gurus, there is a post about a traffic flow design concept which eliminates left turns at intersections. Called a "superstreet", the design prevents cars from crossing a major street, and instead do what is known around here as a "Michigan Left".



From the NCSU study on the subject:

“The study shows a 20 percent overall reduction in travel time compared to similar intersections that use conventional traffic designs,” says Dr. Joe Hummer, professor of civil, construction and environmental engineering at NC State and one of the researchers who conducted the study. “We also found that superstreet intersections experience an average of 46 percent fewer reported automobile collisions – and 63 percent fewer collisions that result in personal injury.”

I like it.

Sunday, January 16, 2011

Development tools

I think you should select the tool that supports the way you are working, not the other way around. This is one of the reasons I think tool discussions usually focus on the wrong thing. They tend to get very long-winded and troublesome since the underlying process is not clear or decided.
However if you are a small team, I think the following tools are of use to you regardless of what process you are using (the version control software are useful for any project size). Many of my students seem to use them when they are doing project work.
  • Version One Team edition - A free tool that supports managing agile software development.
  • Trac - An enhanced wiki and issue tracking system for software development projects.
  • GIT - A free & open source, distributed version control system. I think it is a major upgrade compared to SVN, even if the initial learning curve is steep.
    If you run Windows I suggest you use TortoiseGIT as GIT client.
  • Mercurial - A modern, open source, distributed version control system (sounds very similar to GIT?). I think the learning curve is not as steep as for GIT, and a transition from SVN is probably easier. TortoieseHG is a good client for Windows users and what I use myself.
    In this user-friendly, six-part tutorial, Joel Spolsky teaches you the key concepts.
If someone can comment with suggestions of free simple tools that supports testing/verification or integration I would be very grateful.

Thursday, January 13, 2011

A Few Thoughts About 2011 COTY/TOTY

For 2011, as I am sure you have heard, the North American Car Of The Year award went to the Volt, and the Truck Of The Year went to the Explorer.

I thought both of these were worthy contenders, but I would only have voted for one of them.

The Volt is a solid piece of technology, but it isn't revolutionary--under the skin, its architecture is not all that unique from a Prius or a Fusion Hybrid. Despite what GM says, the Volt is in fact a plug-in hybrid, and it can even (under some conditions) send gasoline torque to the wheels. Like the other hybrids, it has a gasoline engine connected to a generator and traction motor through a planetary gear set. It has been tuned in software not to behave like a gasoline/electric hybrid. As neat as the Volt is, it is not quite the revolution that an all-electric car would be.

For the COTY I would have voted for the Hyundai Sonata. Here is a company which came from a legacy of pushing boring, cheapy cars using a long warranty and low prices. All of a sudden, they are building world class cars, with high quality and handsome design. And unlike the Leaf and Volt, the Sonata will sell in high volumes. Considering its market impact, the Sonata should have won.

For TOTY, I agree with the panel, and I would also have picked the Explorer. A uni-body, front wheel drive mid-size SUV is the way of the future. Most SUV owners don't need to go offroading, and don't tow anything either. Most of them really just want to sit high and look stylish.

The Chrysler trucks were strong contenders, and I actually thought one of them would win, as a pat on the back to Chrysler for not dying. The Grand Cherokee appears to be a solid product and much improved compared to the junky stuff Chrysler was selling previously.


Video: Car vs Bike Drift Battle

I'm not sure why you would want to have a drift contest between a motorcycle and a car on the same track simultaneously, in fact I'm not totally sure what the point is, other than perhaps to die in style. But the video is wicked.