Wednesday, September 10, 2014
Why So Long To Release the Apple Watch?
Friday, August 29, 2014
Musings of the Sorry State of Developer Accountability
5 minute change takes three days.
Screens developed don't look like screens delivered.
Data developed is only marginally like data specified.
Developers concentrate on code, not understand what they are coding and why.
It all falls down to this: Developers don't take the time to plan, they just code and make things up rather than understand why, create a plan, execute and validate.
Why is this happening? Management... But that's just pointing fingers. Management has not really caused a problem. Yes management wants it right now. The problem is that programmers are fighting for their jobs and feel like they must do everything that management says. There is no give and take. There is no negotiation. Programmers don't think and push or pull to get it right, they just do what management says and the blame customers/mangers for being unreasonable and causing the errors.
This is akin to war crimes. Really. Sorry. I just did what my superior said. I am but a soldier and not responsible for the crimes of my superiors.
Projects fail, applications crash, customers complain, data is corrupted, core capabilities don't exist or are so wrong that they are so poorly executed that they can't even be compared to wrong, let alone close to right.
Nothing can fix this but personal responsibility and pride in your work. Agile, Scrum or any other process is useless. If you can't fight for doing it right, please go home.
Wednesday, December 21, 2011
Associative Reality
Aggregation (white diamonds), composition (black diamonds), simple associations, directed associations, and ownership(containers) are steak and potatoes of object oriented structures and our favorite modeling language, UML. I recently worked with a client that used composition for parts of a configuration rather than aggregation which seems logical given the reuse of parts between configurations. This was SysML, but the standard used the common UML concepts and meaning. The customer used composition for configuration relationships because the concept itself was light weight, i.e. the car configuration was a configuration of car, not a true car.
You might say an illusion owns elephant, thus when the illusion dissipates, so does the elephant. Or for you dessert rats, the water in the mirage is gone when the mirage is gone. In a car, the parts are created and destroyed like arms and legs, but when we stop creating a model of car, it ceases to own the responsibility for those parts. Another model of car may be composed of the same radio, but they are not shared nor does deleting one car model destroy the other's parts.
It may be that we are always struggling to pin our hopes and dreams on our ability to control our destiny through these concepts when they are the wrong hopes. Take for instance, directionality of relationship. This is pure software isolation, not system engineering. What if I know your name, but you do not know mine... yet? Is that bidirectional? Does an engine know the transmission it is connected to and vis versa? Yet both have effects on each other via linkage.
Aggregate/composite/owns are software terms and perhaps not as applicable to the real world. It would be interesting if we dug into the haggis of software concepts to find why and where these terms originated. They certainly loose their shine when applied to systems engineering.
Sunday, May 22, 2011
Moon Buggy
There were no specs. We made it up. And its always amazing to me, why was I allowed to program something that hadn't even been specified, that would be critical in assuring the success of the whole Apollo space program. I couldn't believe it. But, that's the way it was. We made it up as we went along.
Saturday, March 26, 2011
UML helps you prevent your brain from exploding
What about class diagrams? Think about it for a second, based on how hard it is to imagine a couple thousand lines per class of spaghetti (just 100 lines lasagna if you are good programmer). A class diagram symbol is just a symbol. At most we define name, attribute and method signatures. We do this for good reason. To add more detail implies we actually can absorb, understand, and remember the complete program.
The facts are, we are sloppy and lazy. We can't keep more than a few things in our heads at one time. Sure we match patterns, but not thousands of lines of Java at the same time. We think linearly. We also are not savants with photographic memories.
Sorry, no idiot savant here. We need a crutch. That's UML.
Developed by nerds, not artists, UML is a cartoon of symbols, not a detaied 3d representation. UML is ugly and unimaginative. Ugly is good. You don't buy ugly a new car from irrational imaginings of a good time. Ugly is functional.
People complain that UML is confusing. Sure, that's true, but only if you don't understand UML, or objects, or in fact have the ability to abstract life and the world. UML is just a language of symbols. You need to learn to read and write before the alphabet is really useful.
Ok, enough. Go learn. We'll be waiting.
Tuesday, March 15, 2011
Proof of Life
Proof of life or existence of a concept in the real world should be confirmed before allowing a concept to be added to the process or metadata. Simply, there are things we imagine that might exist that do not exist in reality. Imagination and antidotal-based evidence lead us to create scenarios that are not realistic. We need to limit effort based on impossible or rare edge cases.
Dealing with edge cases and error conditions is important. How exceptions are dealt with can be designed so that the effort is applied at the exception, rather than designing expensive infrastructure to solve a problem that may never occur.
We hate failure and that is why we come up with many scenarios that may only be imagined. If something might happen, we believe it actually does happen. The difficulty is proof that will satisfy a critic. The best case is that without proof, we cannot assume it is necessary to address or that we address with a lower level of effort. Those things that have definitive proof have priority.
It is important that our primary modeling tool is UML-based with UPDM, SysML and other standards. These give us all the building blocks and levels of abstraction so that we avoid reinventing the wheel. We also have one place to look for what we have proved to exist and even what does not. Unlike cowboy-agility where we erase the whiteboard on every iteration, we have a history that gets smarter after each iteration. Don't be afraid to document an activity and add metadata to classify it as 'do not implement.'
Address primary use cases and important edge cases, but should not attempt to address those that cannot be proved. There may be guidance for addressing such unknowns and ensure that efforts are reviewed to ensure success.
A good test of "Proof of Life" is a repeatable and complete test. If you can create a test, then it is at least possible to show the exception in practice. This works well for software, but also applies to your development process and any automation and metadata of the process.
Thursday, September 2, 2010
Why Software Sucks (more than it should)
If we can create a vacuum that never loses suction, why can't we write software that doesn't suck?
We think the real reason is the invention of railroads. One track minds have plagued us as a metaphor ever since the iron giants rolled across the American plains scarring prairie dogs. The common programmer seems to be trapped on the tracks with just one goal at a time in their heads.
Ask a programmer to create an game. They will create a great game, but that's all. What they won't do is make it easy to learn, simple to install, and other useful things like integrate with facebook and worse, won't show up on google. The game will be one dimensional suckyness.
You might say, "My iPad games were easy to install." Well, that's one. But why was the game easy to install? Because Apple installed it, not the programmer. The game might (and few are) be easy to use. Again, the only reason is iPad's touch interface and accelerometers. The same game would require the user to memorize fifty keyboard commands. The programmer is still on one track, but the track is happily going through some scenic parks rather than a toxic waste dump. The same programmer in front of a PC is still writing the same garbage.
What is the solution? Jump the tracks! Toss a few pennies in front of that train and derail it! The pennies are the imperatives that we know as who, what, why, when, and how. Programmers just have the rails of what and how. They need the rest to really get things moving.
But don't stop with the imperatives. We need to also have time, location, emotion, motivation, least surprise, novelty, and a web of connections to all of these concepts and the imperatives.
Why shouldn't the game play differently based on your location? If you play a driving game in Dallas, half the drivers have guns (and use them), and the other half of drivers are moving at ten miles under the speed limit and have Oklahoma license plates. See what just location adds? What about 'when'? Imagine racing at rush hour or through cop infested school zones in the early morning?
NOTE: These ideas and concepts copy write by Daniel Brookshier. All ideas are for sale at a reasonable price.
Saturday, August 28, 2010
The Zombie Plain
If you are a 'real' programmer, you have been to a zombie plain. To others, you seem as shuffling oblivious to the rest of the world, except for one goal that common humans cannot fathom. Like a regular zombie, you are preoccupied with the ultimate goal similar to a succulent brain.
My adventure was a little disorganized. I had never programmed on Android. I had a few books, but to put it simply, these books were written by other zombies, perhaps possessed as well by a publisher with a deadline, not humans. I am a great Java programmer, but Java is only as good as your tools libraries, and documentation. Sadly I was missing all of these and was stuck shuffling in search of a design that works.
The menu items of zombie programmer are the little pieces of software you need to get working. With standard programming, these are hard enough to all make work at once, add a phone OS and we have a whole new level of desire for our gray matter. Phones now have their own user interface libraries, special ways to configure, wacky features like a screen that rights itself to the correct orientation (maybe), and worst of all an application lifecycle that starts and stops the application because of slightly more important tasks like phone calls or an important email. Mobile phone programming is like taking the simplicity of zombie brain chomping and moving upscale to cook your brains in the style of French cuisine without a saute pan or a whisk (a good merlot brings out the overtones of neurotransmitters).
Back to the shuffling of the zombie programmer. As a zombie you go from one scent of brains to the next. Zombie victims of course do not just sit there and wait for you to finnish spooning their cranium, they keep screaming and running away. Same is true with programming and worse on Android. Fix the screen to work great in portrait mode, then it stops working in landscape. Get landscape and portrait to work and suddenly the app won't talk with the camera.
The tools you use are another matter. They are akin to the shuffling. Zombies are not coordinated and neither are most development tools. Just when you think you have solved your problem, nothing seems to change and the application too is undead. This is of course a ruse. The tool is simply playing undead to fool you. Really your fix worked, but you keep shuffling on to other solutions that all fail to work and you probably forget the best fix that would have worked if the tool was listening to you.
The tools for Android are quite tricky. Once they figure out how to fool you, the only choice is to shut it all down and start again. Luckily most of the evil goes away when you hit reset. Sadly there are still things the tool remembers. The debugger might work again, but you can't compile because some setting was permanently munged. Between resets, you are blowing things away and starting over. A fine example of this evil was adding a sound file. Add a folder and the file, it stops seeing this R.java file. If you add the folder, delete the generated R.java, then add the sound file, it all works. Sadly though the sound file won't load...
DISCLAIMER: We here at Boys Books don't want to mislead you. Everything here is true. However, it is our own alternative universe of truth. Try this on another computer or someone other than your identical twin, or evil twin, it really does not matter, all the problems are all different with solutions to our issues are unrelated to yours. The only truth here is that Android programming is like a vacation at a high-priced beach resort, in Hell. This is why programmers are generally highly compensated, it's hazard pay and helps pay for PTSD therapy.
Zombies are never satisfied. Same goes for software developers. Here is the problem. Applications should have lots of features and of course be perfect. What the brain can imagine, the programmer must develop. Imagine writing science fiction. You imagine a big spaceship that travels faster than light. Now imagine building that spaceship... That's the joy and frustration of programming. Cool to imagine, satisfying to know you are creating something cool, but frustrating because of the impossibility of the dream. Oh, then add wacky tools, sad libraries, and programming languages that are not very good at mind reading.
Welcome to the zombie plain!
Wednesday, March 10, 2010
Business Analyst Wanted
The jobs are in London and up state New York. This is in Banking and concentrates on Risk Management, Disaster Recovery and other aspects related to financial and operational risks.
Need three people in each location. This is for Business Analysts skills and specifically the ability to create models with the BPMN standard (Version 1 and especially version 2). Not too picky about being in banking, but it helps. Mainly looking for the ability to do a mind meld of a business and document in BPMN.
At this time I am unaware of rates or duration, etc. Given that it is for six people, it smells quite big. This will be with No Magic.
So, if you feel this is your cup of tea, call 214-291-9100 and ask for Jim Rice our head of services. If this is not in a comfort zone and you have some friends that can play in this area, please forward the email.
Thursday, January 14, 2010
Why does UML seem so hard?
I wrote up the following in response to Why is UML So Hard? I have edited a few things, but the message is fairly timeless. The blog, called CRAIC PROPAGATION, that I am responding to was not just that UML seemed hard, that it also produced poor results. With that context, lets get into why UML 'seems' so hard.
I have been doing UML now for approximately forever... at least in software years.
I am also the chief architect at NoMagic, producers of MagicDraw UML. So I am a little biased, but only in this job for a few years, so not born into the religion of UML because of the signature on the paycheck.
Here's the problem: UML is a language. Just like you might experience with Java, if you don't get it, you don't have it.
Just because you know English does not mean you can write the great American Novel. You need to know how to model to create a great design. UML is just syntax for the model.
When you come to my class, I teach modeling. The syntax of the larger pieces of UML sort of disappear because of the approach which is to only model certain things at one time.
The biggest problem people have is levels of abstraction. Most people have verbal diarrhea when they model. This causes most of the problems.
Another issue is people seem to forget about requirements. Requirements have a bad name, so let me say that these are just simply statements about what the design 'must' do. The more you constrain your design to fulfilling the requirements, the fewer issues you will have with pointless models.
There are two new OMG standards that have been added. UPDM does enterprise architecture. I love it because it forces you to think about software in the context of its use.
The second is SysML. It was created for engineering. However its most useful and strangely simplistic feature is the ability to model requirements and relate them to your design and tests.
But why is UML so hard? Most people are allowed to simply do, not learn and perfect their modeling skills. There is not a silver bullet unless you have the skills to shoot the gun and hit the target.
I am working on changing this in our tool. We are adding wizards, helpers, and even a little artificial intelligence. It won't make you a world class modeler, but it will keep you from shooting yourself in the foot.
Monday, January 11, 2010
Two ways to program
Programmer Thinking
- Solve the problem conceptually.
- Design the user and data interfaces to allow the problem to be solved.
- Use the API and language to implement the solution.
- Create this in a context that executes the language and the APIs you have used so that it scales to the size of your user base.
- You understand how to solve complex problems.
- You understand the problem domain which may be many domains.
- You understand your programming language.
- You understand many different libraries and standards to use as part of the solution.
- You understand principals of good user interface design.
- You understand basic principals of data design and perhaps database design.
- You can think through your basic knowledge of the items above in a way that can create a viable solution
Thursday, January 7, 2010
Shibboleth Software Developer Interviews
Gilead then cut Ephraim off from the fords of the Jordan, and whenever Ephraimite fugitives said, 'Let me cross,' the men of Gilead would ask, 'Are you an Ephraimite?' If he said, 'No,' they then said, 'Very well, say Shibboleth.' If anyone said, 'Sibboleth', because he could not pronounce it, then they would seize him and kill him by the fords of the Jordan. Forty-two thousand Ephraimites fell on this occasion.
Friday, October 30, 2009
Artificial Stupidity
- Dumb monsters in games
- Automating the news reporting at Fox News
- Anticipating typos or mistakes
- Turning off computers in the cockpits of airplanes that are overshooting airports
- Politicians
- Testing of artificial intelligence
- Thesis committees for AI doctoral candidates
- Better ways to annoy MS Word users with silly assumptions about spelling or formatting automation
Monday, October 19, 2009
JRuby Trick: Saving time instrumenting Java classes
Saturday, October 10, 2009
Like a Ruby in a Goat's A@@
Sunday, September 13, 2009
The End of Dumb Software = The End of Dumb Thinking
Wednesday, September 2, 2009
Ending an Argument
- "That's a Good Thing"
- "Just forget it."
- "...or the terrorists win."
- "Be a man and..."
- "We all have to do things we don't like."
- "You are not being a 'team player'."
Non-political examples
- "That's a Good Thing."
- "Why? Because I said so." (bare assertion fallacy—also “I’m the parent, that’s why” appeal to authority).
- "That’s a no-brainer."[3][4][5]
- "When you get to be my age..." (as in “When you get to be my age you’ll find that’s not true.”)
- "You don’t always get what you want."
- "What goes around comes around."
- "The best defense is a good offense."
- "Everyone is entitled to their own opinion." (appeal to ridicule if said sarcastically)
- "It works in theory, but not in practice." (base rate fallacy)
- "There’s no silver bullet."
- "Stupid is as stupid does."
- "Easy come, easy go."
- "Life is unfair."
- "Such is life."
- "It is what it is."
- "It was his time."
- "Whatever."
- "Yawn."
- "Be a man and..."
- "Think about it."
- "Just forget it."
- "...so, you do the math."
- "We will have to agree to disagree."
- "We all have to do things we don't like."
- "You are not being a 'team player'." (ignoratio elenchi).
- "That's just wrong." or "You just don't do that."
- "It takes all kinds to make a world."
- "Just do it."
- "That's a cliche."
- "That's what s/he said."
- "Don't be that guy."
- "Just look at me now."
- "Touché!"
- "Better to have it and not need it, than need it and not have it."
- "Because that is our policy."
- "Don't be silly."
- "There's no smoke without fire." (used to convince others that a person is guilty based on accusation or hearsay and to discourage further examination of evidence)
- "Your mom."
- "But...anyways...."
- "I'm just sayin'"
- "C'est la guerre"
- "Amen!"
- "So it goes."
Political examples
Thought-terminating clichés are sometimes used during political discourse to enhance appeal or to shut down debate. In this setting, their usage can usually be classified as a logical fallacy.
- "Racist." (Ad hominem attack).
- "That’s just a (liberal/conservative/libertarian/communitarian/etc.) argument." (association fallacy).
- "Socialism or Barbarism!" (false dichotomy)
- "'Anarchist organisations', isn't that an oxymoron?" (equivocation)
- "If you are not with us, you are against us." (or its opposite, "Who is not against us is with us")(false dichotomy)
- "Love it or leave it." (false dichotomy)
- "Support our troops." (ignoratio elenchi).
- "...or the terrorists win." (false dichotomy).
- "If you're not outraged, you're not paying attention." (false dichotomy)
- "Better Dead than Red!" or its inverse "Better Red than Dead!"
- "That's a conspiracy theory."
- "Freedom is not free." (Bare assertion fallacy)
- "Live free or die."
- "Fascist arguments need no comments." (weasel words)
- "If we gave it to you, we'd have to give it to everyone."
- "Freedom is non-negotiable."
- "Especially in this economy."
Religious examples
Thought-terminating clichés are also present in religious discourse in order to define a clear border between good and evil, holiness and sacrilege, and other polar opposites.[citation needed] These are especially present in religious literature.
- "God has a plan and a purpose."
- "The Lord giveth, and the Lord taketh away." Job 1:21
- "Adam and Eve, not Adam and Steve!" (opposing same-sex marriage)
- "God works in mysterious ways."
- "Trust in the Lord with all thine heart; and lean not unto thine own understanding. " Proverbs 3:5
- "Forgive and forget."
- "That's not Biblical."
- "Jesus loves you." (ignoratio elenchi)
The religious or semi-religious ideas of cults, heretics, and infidels are also often used as thought-terminating clichés, e.g. "Do not listen to him, he is an infidel," (a guilt by association fallacy) or "That line of thought sounds like a cult" (also a guilt by association fallacy).
Sunday, August 30, 2009
Truth in Dilbert (like we're surprised) - Diversionary tactics
Friday, August 28, 2009
Check Your Blinders at the Door
- Tunnel Vision
- Blinders
- Arrogance
- Single Mindedness
- Happy Path
- My Opinion
- One Way
- One Solution
- One Method
- Only
- Think like a user, not how you would use it!
- Happy, Unhappy, Alternate Paths
- What could go wrong?
- Can the user make a mistake?
- What about Undo/Redo, s the action symmetric?

