|
|
|---|
Monday, November 29, 2010
Recurring architectural decisions
What we do have is a long succession of architectural decisions, each with a new set of prerequisites. The task as an architect is to be able to extrapolate from what has been done previously and still maintain some sort of conceptual integrity. To preserve the "feel" or "vision" of the architecture while still fulfilling necessary functional and quality requirements (including cost) and operate within the constraints given by for example our organisation and what is available/possible form suppliers.
Friday, November 26, 2010
How To Move Your Garmin Favorites
GM Ad: "We All Fall Down"
Software testing
Example: I wrote about the "walking skeleton" design principle some days ago.One could write a suitable set of test cases to ensure that the skeleton, with it's various units, always walks. The tests should automatically run before you check in more elaborate units, with more features in them. If the unit doesn't pass you know that you will have integration problems.
There are a lot of resources on testing out there, for example I got an introduction on creating JUnit test cases for Java programs from a colleague. Since I'm trying to learn Erlang I should probably look into EUNIT.
You should also read the blog thoughts from the test eye.
I started working with system integration testing at Volvo Cars many years ago. I learned the basics of test planning, writing test cases and report test results then. Probably very outdated since both it was ten years ago and since the automotive industry has never been on the cutting edge of software development practices. We still have a notion that a specification should be written so that it can easily be tested:
"This easily results in requirements being quantified and often in a contractual style, instead of describing the real needs and desires."There are many other ways of Synthesizing Test Ideas!
So if experts on testing are open to the notion of having specifications focusing on understanding and real needs, why are we still clinging to contractual requirements ? Is it because of so much of the coding is outsourced in the autotmotive industry?
If one aspires to be a software architect I think working with verification & validation (testing) is a good starting point. You learn a lot about good, and bad, design when you are exposed to the errors and unintended behaviour in a system and the effects they have.
Thursday, November 25, 2010
Architectural modelling
An architectural description is organized into one or more views.I am not against using models to represent architectural views, but there are some fallacies that often seem to happen when using various modelling approaches in architecture descriptions.
A view may consist of one or more architectural models. Each such architectural model is developed using the methods established by its associated architectural viewpoint. An architectural model may participate in more than one view.
The viewpoint determines the languages (including notations, model, or product types) to be used to describe the view, and any associated modelling methods or analysis techniques to be applied to these representations of the view.
- The purpose of the architecture model is unclear (in 1471-terminology: It is not obvious what concerns the model addresses). UML is especially problematic since it provides notation that can be used for so many purposes. Read John Daniels paper Modeling with a Sense of Purpose as an introduction.
- Everything is modelled to the same level of detail. Not everything is equally important to know. For some parts of the system it is important for the architecture (and realisation of qualities) to know the details, for other parts it is not.
- Every part of the system must be represented in the architecture, for example if every class must be traceable from some element in the architecture. This could even be a rule of the architecture, "if it is not explicitly allowed it is forbidden". This reeks very much of waterfall mindset with the architects doing much of the design before any developers get involved. I think it is presumptuous of the architects to claim to know everything that needs to be implemented.
- Modelling tools always demands a precision in notation, which is not always desirable when sketching an architecture. You cannot model "sort of a class", or "could be a function" when using a tool, which is possible on a whiteboard or a napkin. In a tool it has to be a class, a function or a package, not something in-between.
Tuesday, November 23, 2010
GM Logo Flip-Flop
New GM Website
.GOV Soaking Up Hybrid Capacity
The government purchased about 64 percent of GM's Chevy Malibu hybrid models and 29 percent of all Ford Fusion hybrids manufactured since Obama took office in 2009, the data show. GM stopped making the Malibu hybrid in 2009 after lack of consumer demand.
Monday, November 22, 2010
Fiat's Nero
Presentations from Lindholmen Software Development Day 2010
"Start with a Walking Skeleton"
There seems to be a proper term for this: Start with a Walking Skeleton. Apparently the term originates with Alistair Cockburn. It is often used in conjunction with the Incremental Architecture pattern.
I feel rather stupid of not knowing what others had done before, but at least I know of the concepts...
It says that this is a useful strategy for large systems. I think it is quite useful for small systems as well, especially if you are not very familiar with the features to be developed. A walking skeleton allows you to try different things in a running platform and with decent version control you can always reverse to something that is running, even if it has little customer value. And the effort of making the skeleton work is never wasted.
Friday, November 19, 2010
Ranking of Software Engineering Journals
This is based on how prestigious these journals are in the scientific community based on some bibliometric index. But I would also like to see a similar ranking of how prestigious a journal is in the community of practitioners. Would it be possible to identify an index for that?
Wednesday, November 17, 2010
Ford Explorer Smashing "Priceless Ming Vases"
ICES-INCOSE Architecting Seminar - presentations now on-line
There is also a summary of of the day, including the ending panel debate, which I personally found very interesting.
Saturday, November 13, 2010
iPod Touch Bug: Alarm
After the end of daylight savings time, my alarm that was set for 6:00 AM now triggers at 7:00 AM, even though the click is set to 6:00 and the alarm is set to 6:00!
Thursday, November 11, 2010
Happy Veterans Day
GE: Eating Up EV Tax Credits
- `(2) PHASEOUT PERIOD- For purposes of this subsection, the phaseout period is the period beginning with the second calendar quarter following the calendar quarter which includes the first date on which the number of new qualified plug-in electric drive motor vehicles manufactured by the manufacturer of the vehicle referred to in paragraph (1) sold for use in the United States after December 31, 2009, is at least 200,000.
Wednesday, November 10, 2010
E15: Big OIl Fights Back
The third option for service station owners is simply not to sell E15, which Mr. Eichberger said seemed likely. "It is an authorization without a mandate," he said. "There is no retailer out there who has to sell this product."
More on quality attributes
Monday, November 8, 2010
Mulally Crushes Jobs
Trends and challenges in architecting embedded systems
I was in Stockholm to talk about architecting automotive software at an ICES-INCOSE seminar. You can find the slides from the other presenters (and mine in PDF) at the ICES homepage.
Staffan Persson is an architect from Scania and he presented a very interesting view on architecting in lean organisations (an introduction by Staffan can be found in Lean Magazine #5).
The finishing panel debate was interesting. I don't know if the notes from that will be published on the site, but I have a few reflections when thinking about it afterwards:
- One trait of a good architect is to freely move between different levels of abstraction. An architect needs to see the whole picture all the time, but he also needs to be able to dive down into details, "the devil is in the details".
- You can teach, and learn, fundamental knowledge for an architect, such expressing quality attributes, be familiar with architectural styles and patterns, know architecture platforms such as AUTOSAR or .NET, and being able to express designs in various views etc. But there are also another set of key skills that are very hard to teach, such as understanding the company culture (the common value ground), earn respect, know not only what technical parts that are affected by various decisions, but also who. So it would be difficult to move form one organisation to another an be productive as an architect.
- An architect needs to be comfortable with uncertainty. I know I am not, and this is one of my weaker points as an architect. And how do you assure other stakeholders that one should not make a decision now since we don't know enough?
Friday, November 5, 2010
Mahindra Update -- Still On Track?
Good Morning Mahindra Truck Fans,
Congratulations. You are part of over 30,000 signed up to be the first to experience the hardworking Mahindra trucks.
I know you are wondering when you will have the opportunity to get behind the wheel of one of these amazing, authentic, robust, fuel-efficient trucks at a Mahindra dealer near you. While I cannot give you a firm answer on timing, I can tell you in my estimation, trucks will arrive in the spring of 2011.
Mahindra has applied for and received their EPA (Environmental Protection Agency) certificate, which means the vehicles have passed emission requirements. They also filed with (NHTSA) National Highway Safety Administration, which handles US standards for safety.
With these hurdles completed, it would seem production is imminent, but other factors may hinder the US launch. India's car sales are on a dramatic trajectory upward. The sales pace combined with an industry wide parts shortage is impacting home market sales, which will have an affect on the United States introduction.
In closing, I know each of you anxiously await the arrival of the Mahindra trucks, and I am confident that you will see a launch announcement in the next few months.
If you haven't seen the Specsheet on the trucks yet, please click on the link below to see it.
Click here to view Specsheet
Or copy and place the following into your browser:
http://mahindrana.com/pdf/specsheet.pdfRegards,
John A. Perez
CEO
Global Vehicles USA, Inc.
1720 Windward Concourse
Suite 400
Alpharetta, GA 30005
www.mahindraNA.com
They Want Trucks!
Which continues to show that Americans want large cars and cheap gas--not small, fuel efficient cars. If Washington forces the automakers to push small cars in a market that doesn't want them, there will be a strong political backlash.The category – known as light-duty trucks – made up 54 percent of all new U.S. vehicle sales last month, compared with 46 percent for cars, according to industry tracker J.D. Power and Associates. It's the biggest difference since December 2005, when trucks accounted for 56 percent of sales.
Wednesday, November 3, 2010
Review: Dyson DC31 Animal Vac
- Excellent suction for the size
- Nice motorized brush attachment
- Easy to empty
- Good ergonomics
- Dyson's hallmark design
- Long 2-year warranty
- No wall-mount feature
- No way run off of vehicle power or recharge in vehicle.
- 3.5hrs of charging only gets you 10min of runtime
- Trigger must be held down continuously, no way to keep it running
- Can be awkward to maneuver in tight spaces
- High pitched whistling sound
- Expensive
Engineering School Q&A
I stumbled across your blog through an internet search and found your writing to be very interesting. I am a 24-year-old Mechanical Engineering student, and I have plans to go into Automotive Engineering.Some advice on the best way to become an Automotive Engineer would be very helpful. I spent 6 years out of highchool as a diesel/auto technician before going back to school. Is this going to be a help for me as an engineer later on?
Is there any drafting software I can get to experement with on my own time in order to put me ahead of the game later on?Again, it depends what you are going into. If you are going to be a designer, or a release engineer who releases parts that someone else has designed, CAD is very useful. If you aren't going to be dealing with part design as much, for example you are in the vehicle testing side of things, it is less useful. The concepts among different CAD programs are probably similar, so I wouldn't sweat it too much--it is the thinking in 3D, and the craft of drawing up designs which matters. You can get a cheap copy of TurboCAD and go to town.
And most importantly: I've almost finished up my basic courses and plan to transfer to a 4-year university to finish my education. What qualities do I need to look for in an engineering program?
How much does the university matter to prospective employers?