Tuesday, October 18, 2011
Measuring whose software engineering is bigger
Such a simple arithmetic (or geometric) way to measure seniority: seniority = ln(checkins per day)!
It's almost like 16 years old thinks about sex. "Ok, I am too young, so I have nothing, and older guys with questionable abilities, they'll pull once a month, and some regular Joe would do once a week, and when I grow up, I will be a real stud and I'll do that every day... twice, and three times per day on weekend, and Superman probably did that 10 times a day!"
And only once you start meeting real women, you learn that quality matters much more.
Technically, if you have simple enough project and junior developers, it's probably possible to use metrics like that. Just like 16-years-old metrics on sex may be applicable in a brothel. But with serious work, you may want to check against something more substantial. Ideally, the amount of money brought or saved for the company.
Friday, April 29, 2011
"Verified by Visa"
Basically, instead of building another fence, they create another hole. I don't have time to talk in details, let's just quote Internet... Here is what you get by searching for it on Google (quoted verbatim):
- I can't freaking stand that Verified By Visa crap, and skip it every time I buy...
- God, I hate this Verified by Visa crap. I run into it about once a year myself when shopping...more hassle for the consumer (me), ...
- Phishing scams posing as Verified by Visa sites have sprung up ..... the idea of the fraud just annoys the crap out of me and I'm game to ...
- Verified by Visa: British banks phish their own customers - Boing ...
- Last year, we were made to implement Verified by Visa and ... If we net out lower because of this crap, we will be seeking compensation. ...
- Seems like this new "Verified by Visa" is part of a more secure way to shop, in fact its so ****ing secure i cant buy jack shit!
- Cambridge researchers knock Verified by Visa | Security Threats ...
- "The technical design of Verified by Visa trains people in appallingly ... its intrusive, abrupt, and scares customers away its just crap. ...
- RE: WTF is this Verified by Visa crap on Newegg?
- Verified by VISA is the biggest WTF I've ever seen. ... They call this bull---err, crap online security? Please. ...
- Trevor Stone's Journal - Dear Visa (A Letter From the Land of ...
- Allison just went through this verified by visa crap this morning with the end result being a popup that did not work and closing the laptop ...
- Verified by Visa: bad for security, worse for business | Richard's ...
- Have you got a story of Verified-by-Visa-induced woe to add to the .... for the crap, annoying, godamn useless verified by visa system to ...
Thursday, April 28, 2011
Biologically, we all start as "assholes"
Кросс-пост с персонального блога
Biologically, we are start as "assholes", but some stay as ones for the rest of their lives...In the end, it's simply a bag with a hole. They get water in, and then throw it out leaving any food inside. that's what human fetus is at that stage.
Sunday, April 10, 2011
Pirate’s Grandma
Wind fills the sails of brigantine,
Like in an old adage,
And pirate’s grandma’s sending off
Grandson to brigandage.
She packed brass knuckles and a knife,
And bag for loot and gold,
And then, of course, toothpaste and soap,
And fresh eye-patch in fold.
“My little pirate, dear child,
Our breadwinner,
Don’t board ships in vain,
Never skip your dinner.
Don’t visit dens and stashes,
Those guys run amok,
Put a chaser after rum.
For the healthy stomach.
Go from diamonds missing suit,
Don’t be defensive,
Don’t hurt orphans, not for naught -
Ammo is expensive!”
...
Wind fills the sails of brigantine,
Like in an old adage,
And grandson-pirate’s sending off
Grandma to brigandage.
Pardon poor translation from Russian. The original text by Eduard Uspensky. Cross post from my personal site.
Saturday, April 2, 2011
One Feature for Future Operating System...
Long ago operating systems completely missed the idea of “installation”. Setup of each program was completely personal business of that program. Now they became a bit more wise that that, but still featuring that naive liberal-democratic way of how other people treat my hard drive. Which is one of the reasons for the spread of sexually-transmitted... pardon, Internet-downloaded software transmitted computer viruses.
If I’d be asked, I’d say that one feature I want from any future operating system is treating any program, wishing to install on my machine, as a feature, totally encapsulated, with operating system knowing each piece to keep or remove, when I am done with it, and which activates only when it’s needed, and which is deactivated afterward.
Say, SQL Server Personal Edition. On one hand, this is an amazing piece of freely available technology from the world #1 commercial software vendor. On another hand, 90% of the time I am waiting for this piece of crap to start up, when booting my computer, is a total waste, because I don’t actually need it this time.
Is it too much to ask?
Cross-post from http://eldar.com/node/401">the personal blog...
Tuesday, March 29, 2011
How do I change situations in which I cannot work effectively as a professional programmer?
"Some of the methods that the professional programmer should be working on are these:1. What should I do about a program for a well-defined problem that I don't believe should be solved at all?...5. How do I work effectively with people whose problems are not well defined, who don't understand as much about computers as I do, who understand more about many other things than I do, and whose motivations are different from mine?6. How do I change situations in which I cannot work effectively as a professional programmer?...9. How do I work on those aspects of my own personality and problem-solving approach that are so personal I can't even see them, even though they may be the most important factor in my effectiveness as a programmer?"
Tuesday, March 15, 2011
Two Developers and Performance Review
Both are my friends and both work in the same team under the same manager. One had a new component that he had to rewrite three times. Naturally, testers, PM and he himself filed tons of bugs to track this work. Other developer had reasonably stable component, so he had very few bugs.
Developer #1 was told that while he fixed all the bugs, he simply had too high bug count, and having so many bugs is simply not acceptable!
Developer #2 was told that while he had very few bugs, he also fixed very few bugs, and such low fix rate is simply not acceptable!
Ah-h-h!... Priceless.
Monday, September 27, 2010
Google made me an offer I could not refuse...
But in all fairness, Google fared better and that's where I am now.
Tuesday, July 27, 2010
He did...
He is now "Director of Development" at MSFT in XBox org. Cool. I love it. At last, something gets done right.
Thursday, December 3, 2009
About Software Development and Software Metrics
It goes like that:
Yes, metrics help to fit into the budget and cut failing projects earlier. However, imagine two projects, each with a budget of $1 million. One brings in the end $100 millions, another $2 millions. Imagine that each of them went out of control and cost in the end $2 million. For the first project, it’s not bad at all, for the second project - it’s a catastrophe.
It seems that the more software metrics matter for the project, the more useless it is.
Saturday, March 15, 2008
“A Story of Two Leads” or the lead career killing title in IT and software development
The first story is about a guy, let's call him Kemal, who was a good strong developer with well thought-through code, good productivity, and low bugs level. He managed to find a style which worked great to his strengths and kept in control his weaknesses, whatever they were. One of the things, he always did, was to build code incrementally, if necessary refactoring previous levels on fly. It worked well for him in IC role, but then he become a lead. Worse than that, he become a lead for a new large component, essentially a product, where tons of new code had to be created.What happened next was that Kemal began spending a lot of time at work trying to get things together in his head and his new code, while the rest of his team was treading water or simply did not know what to do. He was occasionally sending them on some fool errands, for example, he could give them pieces to write, but then changed design on fly and all their work was thrown away. Sometimes, in the middle, Kemal could force a developer to rewrite perfectly working code many times to satisfy Kemal's style and views on the software development, just to throw it all eventually away with another change in design by Kemal. Just for reference, the project was fairly high profile, so Kemal's developerы were very good hand-picked developers. It's just he wanted everything written in his style and according to his latest opinion. Testers found some ways to entertain themselves, while program managers were treated like public enemies with an exception of one, who was eagerly rewriting his specs every day based on what Kemal mentioned this time. Naturally, the "spec" after that was completely useless.The project got stuck. Like, dead stuck. Finally, the manager of the project has convinced Kemal to try his luck in another group, appointed a new lead, who did not kept the project at throat, and the things started to develop.The second story is a little different. The guy, let's call him Chuck, was friendly and smiley, you know, dog style friendly, which could be really annoying to a cat person, but still everybody liked him. Chuck was not as much a developer as a hacker. I never seen any really complex code produced by him, but if you needed to borrow one million lines from another product and make it compile, build and work in your code base or quickly produce tons of more or less linear code with tons of calls to obscure APIs or fix tons of trivial bugs fast – Chuck was your guy.Once promoted to a lead, it occurred that his definition of a "lead" is not far from a slave driver on a plantation. To make things worse, he actually did not got much of a charter or a project to drive. Which, frankly, I believe to be the fault of the dev manager, who just wanted to delegate 1:1s and review paperwork instead of really building the team structure. In fact, all interesting and important work happened to be in the hands of the second lead, situation which did not work well with Chuck's idea that he gives his people tasks and they do those. I personally heard him saying "Why other team uses my RESOURCES?", where "resources" were people. I good lead could still handle the situation and make lemonade out of lemon by making his team a sort of service team driven by the requests of another team, but Chuck was not an experienced lead and he wanted his own projects, which clearly were not available.To make things even worse, he's got two people one of whom was fairly senior guy keeping good view of the whole project and driving on his own what needs to be done. In addition that guy also owned a piece of fairly complex multithreaded infrastructure code. Other team members occasionally did changes to that code, but when Chuck tried to do so, he almost inevitably was introducing new bugs to it ranging from dead locks to memory leaks. You can guess how well did it go with Chuck. In fact, he blamed the guy's programming style and eventually drove him off the team.Chuck still had support of the management, so he's still got more people who, after being mistreated as well, eventually also moved away, left the team and one of them even quit the company.
- Who (maybe me) on my team is responsible to make our product scale and can he do that?
- Who (maybe me) on my team is responsible to decide how his feature will work and can he do that?
- Is workload on my team even? If one person (maybe me) has too much, can I unload some of it to somebody else (not necessarily and preferably not me)?
- Does that somebody else has capability to take over?
- Why would he want to?
- Does that piece matches his strengths or weaknesses?
- What are my team members strengths?
- How do I play their strengths and avoid their weaknesses?
- Does my team scale?
- What are the bottlenecks that prevent my team from working faster and better?
- How do I remove those?
- What is my team's "bus factor"? Is every piece understood and supported by at least two people?
- Should every piece of code has primary owner or all the code should be owned by everybody? How I make sure it really is, one way or another?
Let’s consider an example. Suppose, you have X bugs in area A and X (same number) bugs in area B. Developer A can fix N bugs per day in area B, but 4*N bugs per day in area A, while developer B can fix N bugs per day in area A or 4*N bugs per day in area B. How do you assign those bugs to developers?Ok, you may play a hardass and claim that "everybody should be able to fix bugs anywhere in the code". You may even have a legit reason for that - if you only have three developers including you, and one gets sick while another is on vacation, the one left will have to handle whatever will come his way. If so, pay with 4 times more time to do the same job. It's not like they are "bad developers", it's you who plays to their weaknesses and does not want to pick the bill – more time spent on the same amount of work.
Why? Because people are not computers. For years you created code for computers and then they did exactly as you wanted. Why did you become a lead? You wanted to do more. What limited you? Computer required every smallest detail to know what you want it to do. Now you’ve got people. If you want them to do exactly like you want to the smallest details like computers did, you will have to specify the same (if not more) amount of information, and so, you will end with the same (or even more) amount of work, that you already was not able to handle, with the exception that it’s a human on the receiving end, not a machine. Makes sense?
- Don’t build the product, build the team.
- Combine people’s strengths, not weaknesses.
- Let people reach goals in their own way.
Monday, March 10, 2008
By the way...
For example, I just found a great one. He trusts me, he knows what he wants, he knows how to enforce that, and I am really happy to deliver... Heck, I suspect he has a good future at... well... you know the company...
Well, I am not at liberty to say more, but remember the keyword: "Virdi". I wonder, if he'll get high enough? I wish he will.
Wednesday, December 12, 2007
"Lead" as in "heavily going down...."
Saturday, April 21, 2007
No Style Is Perfect.... a case for passing args by reference in C++
Sounds fair, isn't it? After all, passing by reference is indeed fairly confusing concept. You see a variable like a local variable, but you can assign to it. Is it a good policy? Maybe. But lets see...
Assume you have a function like:
void DoStuff(Crap* crap) { ... }
You want "crap" to be mutable, so you cannot pass it as (Crap& crap) according to the policy. You have to pass a pointer.
Then in the main() you get a code like this:
main(...)
{
...
Crap crap;
DoStuff(&crap);
...
}
Now, guess what do you get in DoStuff after a bunch of junior developers changed it? Something like:
void DoStuff(Crap* crap) {
...
crap = new different pointer....
use crap
...
}
Crap...
No really, I just fixed the one like that. Not good. Crap. Keep an eye on things like that.
Monday, March 12, 2007
Never ever never ever...
Big NO-NO.
BAD. REAL bad. Don't do that.
Ok, it may be good for a team or a company, but this is not good for you. Yes. No kidding.
NEVER OWN A PIECE THAT HOSTS EVERYBODY ELSE'S CODE.
I did. And I tel you, do not do that. Really.
Let's imagine you own a Windows service, like NT service. And it has a mechanism to host code of everybody else in the team. Guess, what comes next?
So, every idiot puts BAD code inside, and then -- naturally -- it breaks. If you work in a good company (like I do now), testers start to scream. Otherwise - customers, which is even worse. Anyway, somebody screams, and guess, what do they scream?
"YOUR service BROKE!!!!"
It's ridiculous how much of modern software development career is about visibility and how little of it is about really doing the stuff. In a few months you train testers to look into the logs and file the bugs against those, who created the problem. Yes, they are in the logs. Clearly. Black on white. Like "XXX.c line YY access violation...", and you look into version control and see the name of the guy, who last changed XXX.c. Easy, right? Not for those crying "Your service broke!!!"
Anyway, in the end, every bug is YOURS and every fix is THEIRS.
I'd love to ignore this, in fact, I tried it, well.... it DOES NOT WORK.
Don't do that. Let others pick their own crap.
Really.
No kidding.
Well, maybe at some other company in some better time... like another universe... but not now.
Do yourself a favor.