Wednesday, February 2, 2011

Caribou Coffee: Ending My Boycott

In the past, I have been boycotting Caribou Coffee because they were bought out and majority owned by Arcapita (formerly First Islamic Bank of Bahrain). As part of their ownership, Arcapita required Caribou Coffee to have an official policy of adhering to Sharia (Islamic law) with regards to their business, whicn included bans on interest and pork.

Even though Caribou was certified to not be supporting overseas groups involved in terrorism, I did not want to support Arcapita's middle-eastern Muslim investors, so I refused to patronize them.

However, I am changing my position. According to this article, Arcapita has sold a large portion of its shares in Caribou, and now only owns about 25% of the company. Arcapita may be the largest single shareholder, however, the public now owns most of the company.

By the way, you still can't get pork at Caribou, in case you were wondering.

Tuesday, February 1, 2011

Research in software engineering

Researching software engineering is to study the artificial. Other engineering disciplines have "truths" that exist even if no humans are involved. The laws of physics that determine what is possible in mechanical and civil engineering are there regardless if applied when constructing a particular building.
Because of this I strongly believe that research in software engineering must be based on what practitioners do. I started to write professionals, but realised that a lot of important stuff in the world of software are actually made by amateurs (in the sense they are not getting paid to do it). And I also think research methods from the social sciences can provide great insights into software engineering.

A colleague of mine said that a good researcher in software engineering should have three base pillars to stand on:
  1. A good knowledge of real problems that practitioners have
  2. An interest in developing solutions to these problems
  3. Knowledge and experience in evaluating the solutions in practical (real) settings
I have previously written about why I don't like formal methods. I think this is an example of where researchers tend to focus on the appealing solutions without a strong foundation in practitioner's problems or a thorough evaluation in practical settings. The most interesting solutions to investigate from a researcher's perspective are not always related to the most critical problems.

A short litmus test to discern if a researcher has enough experience of practical problems:
Describe the difference between a software process and a software project.

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?


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.


Tuesday, January 11, 2011

Confused by Simulink

The most common modelling tool in the automotive domain is Simulink. It started as a Matlab-based tool to graphically model and simulate differential equations needed in control design. Now it has expanded way beyond that to enable generation of production code for embedded controllers.

For someone like me, with a background in software and systems engineering and only the mandatory control engineering course, Simulink is confusing. Not the model elements as such, since it basically is an executable time-discrete data flow model. But the terminology used in the Simulink community is really confusing since they are using terms very common in software development, but with different meanings. I am not even sure the explanations below are valid...

Some examples:

Monday, January 10, 2011

The Plural Of Prius is Priora

Toyota is asking "What is the plural of Prius?".  

Since Prius is a Latin word, if it is pluralized in Latin, they should probably be called "Prius"  or "Priora".  Apparently "Prii" is not correct.

There is a long explanation here (not mine).

Saturday, January 8, 2011

The Ford Focus Electric "Butterfly Effect"

Ford's big unveiling at the CES in Las Vegas was its new Focus Electric, and associated apps and charging stations.










One of the items that caught my attention was the cutesy butterfly graphics that, like the green leaves on the Ford hybrid instrument clusters, give positive feedback about your driving style. Ford said that the butterflies were inspired by "the butterfly effect".

The Butterfly Effect is an illustration of instability in nonlinear systems, (also known as "Chaos theory"). Which I happened to take a class on in college. Basically, if you have a nonlinear system, and you start out at two very similar but not identical starting points, you may wind up in a very different state. That is, small perturbations may case large changes in the final outcome. The old example was the butterfly that flapped its wings, and caused the weather to shift on another continent.

What this has to do with driving a Focus EV I am not sure. Do they mean to say that driving a Focus EV will save enough gasoline to cause the Saudis to go broke? Seems doubtful. Perhaps a Ford P.R. guy can email me and explain it. In the meantime, I propose that there should be a "Punisher Mode" for these displays.

How this would work is when you drive like a bad-ass, you get little skulls. Hard acceleration, high lateral g's, hard braking, etc.


Tuesday, January 4, 2011

The importance of the team

I am reviewing and grading documentation in a student project. Or rather 12 student projects, all trying to develop similar software. The context is this: The students work in teams of 6. Each student has a separate role; project manager, architect, designer, quality/testing responsible, GUI designer and communications expert (it is an peer-to-peer application based on TCP). Alla students have to write code, and in addition to this they are supposed to turn in documentation related to their role.

What strikes me is that in the teams with good documentation all documents are good, regardless of author. How come? There could be several explanations:
  • Good students want to work with each other (they could choose their teammates, they weren't assigned by us teachers).
  • In good teams they cooperate on everything, inlcuding reviewing each others documents. In not-so-good teams they instead might try to split the tasks and work as independently as possible.
  • In the good teams there is an exceptional student that functions as a mentor to the others.
  • Excellent documementation from one role supports the others in their roles, e.g. an excellent architeture description supports testing etc.
  • The good teams had not only a notion about what to deliver when they started, they also had a good notion on how to do it early on, e.g. they discussed so they had a common understanding of coding responsibility (everybody had to write code) and they choose an interative process or SCRUM already the first week.
  • The good teams started with coding as quickly as possible. This is counterintuitive, but I think they felt more comfortable spending time on documentation if they already had some prototype running.
  • It seems that analysis paralysis actually produces worse documentation. I think this is due to an inability to focus on the vital concerns and stop when they are sufficiently covered.
  • It is hard to excel if your teammates drag you down. This could explain why there are no groups where just one role shines above the rest.
I'm sure there could be other explanations that I didn't think of...

Tuesday, December 28, 2010

Tesla Stock Price

Are investors cashing out before the end of the year for tax reasons, or is this a vote of no confidence for Tesla? In the last month, Tesla's stock price has dropped by ~20%.

Grandma The Fighter

I am sitting at the hospital bedside of my 93 year old grandmother. Rebecca was born in Russia, and survived Stalin and the Wehrmacht siege of Leningrad. Now she is fighting with her heart and her lungs, gasping and coughing to get a breath. She's a tough old lady, but I think she is getting tired.

Don't give up yet Grandma!

Fiat's Nero

This morning on Autoline Detroit, John McElroy's auto talk show, a Fiat lady stated that part of the Fiat 500's ordering experience will be calling colors by their Italian names. So red will be rose, and black will be nero. Cue the Rome burns jokes. But what I don't get is, why not call it Cinquecento then? For mist people, if you say "five hundred", they will think of a very bland large sedan from Ford.

If you're going to go Italian, go all in, that's what I say.

Wednesday, December 22, 2010

IT talents in Sweden

For my Swedish readers:
Skill har skickat ut enkäten till studenter vid samtliga svenska lärosäten som har IT-utbildningar. 1140 IT-talanger har besvarat enkäten och det är deras svar som ligger till grund för denna rapport. Av de som har svarat är 20% kvinnor och 80% män. IT-talangerna är 27 år i snitt och åldersspridningen är mellan 19 och 54 år.

Aptera Dead?

Aptera has been very quiet since participating (but not finishing) in the Progressive Automotive X-Prize competition.  After a very promising early start, and lots of great media coverage, Aptera went through a management shake-up, and now appears to be starving slowly.  Without government loans to develop their product, or a large angel investor to come in and rescue them, they seem to be adrift.

You know it is bad when the fans, some of whom have put down actual deposits, are losing faith.  Look at this poll on the unofficial Aptera forums.  As of now the 68% of the responses say that they don't think they will ever get their car.

Tuesday, December 21, 2010

The Redesigned 300C

Allpar.com has some nice side-by-side photos of the refreshed 300C along with the previous design.  

I like the increased windshield rake, and how they lowered the door shoulders to allow for a less slab-sided look, with a little more glass.  There is a nice, slightly upward sweeping character line.  From the side, it looks a little more like a Cadillac (not a bad thing), while the front is distinctly Chrysler.

The interior is much nicer looking as well.

In my opinion, this is a good redesign of Chrysler's flagship.

Where Chrysler will be challenged for a while yet is in the powertrain department.  The new Phoenix V6 will bring much needed refinement and better fuel economy, but the rumor at Allpar is that the 300C will probably launch with a Mercedes sourced 5-speed automatic transmission, when the fuel economy leaders are getting into 6 speed transmissions.  Will Chrysler have the money to outsource a 6 or 7 speed auto?  Consider that the closest competitor to the 300C at Ford, the Taurus, gets EPA combined 22mpg with a 6spd auto, while the Cadillac STS gets 21mpg combined, also with a 6 speed auto.  Toyota's Avalon gets 23mpg from a 6 speed. 

Automakers Sue EPA over E15

The Alliance of Automobile Manufacturers, the trade group that represents most of the OEMs operating in the U.S., has joined the lawsuit originally filed by other organisations to try to block the E15 waiver that the EPA is granting for newer vehicles.  Detroit News story here.

Good.

The E15 waiver is a half-baked idea.  It should only be issued when it is determined that the vast majority (say, 95%) of cars on the road today can safely operate with E15.  Otherwise, consumer confusion will ensue, and the result will be that no gas station will want to carry the stuff.  If the data isn't there yet then the EPA should wait until the data is in.

Sunday, December 19, 2010

Review: Pep Boys Definity Dakota H/T Tires

In my previous post, I reviewed the experience of buying tires at Pep Boys.*

The tires that were chosen were Definity Dakota H/T, which are a highway tread light truck/SUV tire. The Definity line is a store-brand of Pep Boys, manufactured by Cooper Tire. Cooper also makes Avon, Mastercraft, and Starfire branded tires. The Dakotas are also available in offroad (M/T) and all terrain (A/T) tread patterns.

These tires have a 520 treadwear rating (very good), A traction (good) and B (decent) temperature rating. They come with a 60,000mi tread life warranty.

And they're even Made In The U.S.A., not Chinese rubber here.

Consumer Reports did not review Definity Dakotas, but they did review Cooper's Discovery SUV tires, and gave them a good rating, particularly for dry handling, hydroplaning, and noise.

The new Dakotas were a marked improvement over the worn Kelly tires that were previously mounted on Anne's Escape. We noticed the difference right away, the Escape rode much quieter and a bit softer than it had on the old tires. "Wow, this is like a new car!", said a very happy Anne.

Wet braking and handling on snow seemed good, definitely better than the old tires. The highway tread still seemed to have plenty of bite to get going in the snowy and icy road conditions that prevail in Michigan now.

Overall, I would say that the Definity Dakota tires are a good tire, and are quite good for the money. Pep Boys is currently charging $120/tire for them, with the 4th tire free, though this does not include balancing and tire stems. If I was in the market for inexpensive all season SUV tires, I would definitely consider Dakota H/T.

Summary:

Pros
  • Quiet
  • Good wet/snow grip
  • Soft ride
  • Made in USA

Cons
  • Balancing, stems cost extra
  • 4th tire free deal is a prepaid Visa rebate, not cash back at sale

*Disclosure: Pep Boys provided a free set of Definity tires to my friend in exchange for this review. The blogger was not compensated.