and has 0 comments
I remember reading Greg Egan books when I was very young and loving them, so when I've seen he was still writing, I've decided to read one of his earlier books: Diaspora, published in 1997.

It's hard to describe it in a way that makes it justice. Imagine a poker game where you bet not with money, but with imagination. You look at the cards, you think you've got a good hand, and you place all your imagination on the table. Greg Egan looks at you, looks at his hand, looks at what you put down, then bets 100 times more. And while you are looking at the table, unbelieving, you realize that his bet spreads out in multiple dimensions, more than you can handle by orders of magnitude of infinity. It was like that.

The book is about a posthumanist era on Earth where most people have chosen to live in virtual constructs called polises. They have translated all relevant biological and mental functionality into the Shaper language which polises run. As the book describes the birth of a new citizen, its ascendancy to consciousness, there is no actual story. In that way, the whole book is rather dry, because it is about reason and science and mindblowing theories of consciousness, physics and mathematics. And that's only the beginning. Split into several parts that have common characters for no other reason that they've been described before and that are mostly independent, the book's driver is first a gamma ray burst that destroys the fragile remnants of the Earth's biosphere and then another, more colossal catastrophe that threatens the entire galaxy. That's basically the whole drama, the rest is just mental exercise as humanity explores, then escapes the universe into a infinite multidimensional ladder of universes that makes faster than light or time travel as ridiculous as it is pointless. I mean, really, the entire plot of the book revolves around a completely new theory of how physics work which is described (in layman's terms, with explained diagrams) by Egan.

Bottom line: filled with real scientific theories and ideas that transcend just about anything you thought means anything, the book is at the same time amazing and difficult to enjoy. It starts as something that you have a hard time wrapping your head around, but you can just about do it, then goes on exponentially from there. It's Asimov on steroids (if steroids would be produced by femtoscale machines using the complete simulation of all possibly interactions in a living human body stored into a single neutron-as-a-wormhole). I am at once both elated and terrified to read one of his recent books.

Favourite quote: "Conquering the galaxy is what bacteria with spaceships would do - knowing no better, having no choice".

When we are children we can believe anything and everything we see carries hidden, if false, meaning. It is the time when fairy tales enchant our imagination with just a little bit of detail, a simple story, a happy ending. We ask our parents "why?" and take their answers for granted. Later, we gain the experience to understand fancy from real, yet we rarely go back on the whys or on the fairy tales, to revisit them with our grand new outlook on life. They have become cemented into our childhood and have become the roots of our personality.

It seems to me that revisiting fairy tales is what Ursula Vernon, under the pen name T Kingfisher, wanted to do in Toad Words and Other Stories. So I enjoyed the dark ironic attention to details like why would a peasant girl wear a red hood, when the pigment is so expensive and unstable, or why would the grandmother choose to live in the forest rather than in the village with her niece. I liked the talking animals, often more wise and kind than the people. But it went from interesting to old really fast. At least the short stories were concise and to the point; if I didn't like one, I would maybe enjoy the next. But then there was the Boar and Apples novella which bored (heh!) the hell out of me.

So bottom line, an interesting concept, but I have not enjoyed the execution.

and has 0 comments
I am conflicted about this book. On one hand, the subject is of terrible relevance and needs to be known by as many people as possible. On the other, the authors are not very good writers: the whole book feels like a big blog post, filled with repetitions, personal opinions and little in the way of hard data. Most of the information in it I already knew, but that's because I am fascinated with the subject. If I didn't know it, I would have probably loved the book.

But what is The Hidden Half of Nature? It's an ecology book. It explains how microbes are the unsung true heroes of plant growth and animal health, including humans. While we cling to narrow views of us versus them and try to kill anything that doesn't agree with us, our lives, our food, our health and our lands depend on the biological health of the microbiome. And it makes a lot of sense. Why would a plant develop a way to absorb nitrogen or break down rock, if all it has to do it exude some sugar and bacteria or fungi are going to do it for it? Why would animals develop complicated organs to break down complex molecules like cellulose when all they have to do is make a space where microscopic creatures live off them and give the animal simple nutrients back? How would it even work to evolve completely independent of the life that you can't see with the naked eye, but outnumbers and outmasses any macroscopic life? We thus learn that most microbes are beneficial and imbalances are much more dangerous than a specific species of a bug.

The book starts with the authors, David R. Montgomery and Anne Biklé, husband and wife, buying a house and dreaming of tending a garden, only to discover that their yard had almost no soil. Bringing a lot of organic matter to decay and be assimilated by microscopic life and then other creatures, from insects and worms to birds and other animals, they are shocked to discover that soil recovers much faster and in inexplicable ways than they were taught. Following the rabbit in its hole, they embark on a journey of discovery on how the microscopic influences every aspect of the macroscopic. It all starts with soil, but then it goes into nutrition and health and it all comes together: the idea that good comes from the health of the entire ecosystem, as all we can actually see with our eyes are big enough to be counted as such, colonized and tended by microscopic creatures that have evolved and cooperated with us to reach an equilibrium.

We become familiarized with the concept of dysbiosis, or dysfunctional symbiosis, and how it affects the nutritional values of food, the quality of the land, our chronic and acute diseases, cancer, allergies. Parallels are drawn: the digestive system as roots, a person as an ecosystem, our gut as a garden. All in all a fascinating and cutting edge subject where the ecology, the systemic health on all levels, is the important driver of our lives.

Yet the style in which the book is written really put me off. I started finding reasons not to read. The first half especially. The book starts by bemoaning the dry style of scientific publications and vows to tell the story in a way that anyone can understand. That means a lot of dramatizations, personal opinions, very little in the way of sourcing the ideas other than a name here and there. And whenever they were getting into something promising, they skirted on the details. I believe that if this book would have moved just a little bit away from the conversational blog-like style towards the Wikipedia format it would have been at least twice as valuable.

Bottom line: a book that most people should read, but I wish it would have been written differently.

I was browsing the selection of films on HBO Go and I have to say, for someone who is used to the options available on torrent sites, the films and series that are available there are both incredibly diverse and woefully inadequate. But if there is something that I am grateful for with that particular network, it is Billy Crystal's autobiographical play. It's called 700 Sundays and it is everything I have come to love about actor biographies... in video format. Within two hours of wonderful acting and playwriting, Billy finds the way to tell the story of his childhood, adolescence and adulthood without once getting into the things we actually know him for: acting, comedy, Hollywood. It's so wonderfully personal that is feels a bit too intimate, like someone describing in detail their love life.

Boy, does this guy love. There is this cliche about comedians that are essentially depressed and fight it, for a while, with humor, until their inevitable depression and subsequent suicide. Billy Crystal is nothing like that! He owns every scene, he fights for his audience and he is proud of his legacy. He is blessed, even while he mourns the death of his parents, because while they were alive, they loved him with all their strength and while he is alive, love is what defines him.

Bottom line: it is two hours of wonder. Whether you watch it on HBO Go or download it from somewhere, it is a must, it is absolutely necessary that you watch what a 67 year old master of storytelling and comedy will make out of his life story. I like biographies and this it one of the best, created in the medium Crystal feels most at home: stand up comedy.

I was half expecting the show to be freely available on YouTube or something similar, but in this day and age, quality is always behind some paywall. I leave you with a trailer to the show and I urge you to see it:

[youtube:S2BhJg7nGjA]

I spent hours trying to manually fix the assembly redirects in a web.config, only to give up and use the default Add-BindingRedirect in the NuGet package manager. And it worked! I have no idea if this won't break something else, but I got it from Rick Strahl's blog and it worked for me. More in his article. Thanks, Rick!

One thing to remember is that you first have to delete the dependentAssembly elements from the .config file in order for the command to work.

Update: there is an issue related to NuGet packages. I was recommending to run MsBuild with the command line option /t:Restore;Rebuild which should restore packages and rebuild the solution. However, as detailed here, the MSBuild Restore option only restores packages defined in the project PackageReference elements, not the ones in packages.config. In order to restore those, you still need to manually run nuget restore. Where do you get nuget.exe from? Obviously not from the Visual Studio Build Tools... but from the NuGet Gallery.

Now, for the original post.

So I had this medium size Visual Studio solution, in .NET Framework 4.6.1, containing a bunch of projects, including a Wix setup and a web API and I wanted to build it on a machine that did not have Visual Studio, for Continuous Deployment reasons. Since Visual Studio uses MSBuild to compile, I thought it would be a five minute job. Boy, was I wrong!

First of all, the command to build a solution is clear:
MSBuild You.sln
and since it was a .NET 4.0 project, it made sense to use the MSBuild.exe from C:\Windows\Microsoft.NET\Framework64\v4.0.30319. Well, enter the first error: CS1617: Invalid option 'latest' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default. This is caused by the project using C# version 7 which is NOT supported by the MSBuild version in the .NET Framework, you need MSBuild version 15, which comes with Visual Studio. I didn't want to install Visual Studio.

The solution is to install Visual Studio Build Tools, preferably using the Visual Studio Installer. Now, the correct MSBuild version is found at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe. Note that it is in located in a Visual Studio folder, not the MSBuild folder, which is also there.

An issue that occurred here was that previously warning messages saying the framework is 4.6.1 and the installed framework is 4.7.2 now became errors. The solution is to install the .NET Framework SDK 4.6.1 or to upgrade all your projects to 4.7.2. Warning: you need the Developer Pack, not just the Runtime.

Second error: error MSB4036: The "GetReferenceNearestTargetFrameworkTask" task was not found.. The problem? The NuGet package manager and/or the NuGet targets and build tasks are not installed. In order to install them, run Visual Studio Installer and look under the Individual Components tab, in the Code Tools section. See this Stack Overflow question for more details.

Next problem: The type 'IDisposable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard'. This is a weird one, since the compilation in Visual Studio had no issues whatsoever. This is related to the framework version, though, as .NET 4.6 uses netstandard 1.0 and 4.7 uses 2.0. The solution is to add a <Reference Include="netstandard" /> tag in your .csproj (tip: Search and replace <Reference Include="System" /> with <Reference Include="System" /><Reference Include="netstandard" /> in all your .csproj files)

Another problem similar to the one above is Predefined type 'System.ValueTuple´2´ is not defined or imported and that is because ValueTuple is not in .NET Framework 4.6.2 or earlier and you need to install the System.ValueTuple package in your project (using the NuGet package manager, more details here)

For both problems above as well as for the issue with the framework conflict further up a possible solution is to upgrade all projects to .NET 4.7+ or whatever is latest.

Next, targets errors: error MSB4226: The imported project "Microsoft.WebApplication.targets was not found. and error MSB4057: The target "_WPPCopyWebApplication" does not exist in the project. This is because even if Visual Studio Build Tools is installed, the targets for it are not. The solution is to copy the folders Web and WebApplications from C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0 to "\\BuildMachine\C$\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Microsoft\VisualStudio\v15.0". You may need to copy the NuGet targetss as well, I don't remember if that is what I did or the NuGet package manager installation solved it.

Last but not least, Wix errors. Obviously, for the Setup project to compile you need to install the Wix Toolset. However, you may still run into this error: error MSB3073: The command "heat dir ..blah blah blah" exited with code 9009. If you were trying to executing the build from a command prompt and you installed Wix while it was open, you need to open another one in order to refresh the changes the installer did to your environment PATH variable.

Finally, in order to compile for a specific platform and configuration, use the flags: /property:Configuration=Release /property:Platform=x64.

Then just run the line:
nuget restore
"c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe" /t:Restore;Rebuild Your.sln /property:Configuration=Release /property:Platform=x64

Hope it helps.

and has 0 comments
Part of the TED Books series, Asteroid Hunters is a tiny booklet, with few ideas other than those expressed in Carrie Nugent's TED talk: Adventures of an Asteroid Hunter. They even repeat. It feels like someone wrote a blog post and was in the mood to write and then they thought to make it a book, but without adding more material to the original post.

Nugent presents the job of asteroid hunter, which makes it technologically feasible to detect potentially dangerous asteroids years before they have a chance to do damage to the Earth. In that time frame, changing the rock's trajectory would be within our means. Let us do our job and fund it, she says, and the Earth will be safe from an asteroid impact, a predictable and preventable event.

Bottom line: that's the entire book. No funny anecdotes, no personal stories or insights, no analysis of the world of asteroids and meteors outside the job of finding them. It's informative, terribly bland and a bit repetitive. I didn't like it.

and has 0 comments
High Stakes is so full of interesting and delicious horror that I am willing to forgive the bland and boring setup in the previous Wild Cards book, Lowball. A mosaic book like many others in the series, where different characters are written by different authors, it describes the coming of a supernatural horror that can change reality itself. People (normal, joker and ace alike) get turned physically and psychologically into rage filled monsters that want to eat babies and kill everything for the glory of their dark god. Even if some sections were reminiscent of the bore in Lowball, with love between people and worry and relationship issues, the bigger problem of the end of the world took precedence and made this into one of the best books in the series.

In many ways it reminded me of the early Wild Card books, when the virus was still a thing of awe and fascination, horror and fear, but with even more oomph. I think this particular volume washes the sins of many of the recent others that kind of forgot what the Wild Card was all about. I do hope this becomes a trend and the next books are at the same level.

So you have a product that has an MSI installer and installation works perfectly. But you want to install the product using the /quiet flag, so that you automate the installation or for whatever reason and now it fails all the time. First of all, do the normal thing when you have an MSI installation error:
  • Install the package by manually running msiexec and add verbose logging: msiexec /i My.Setup.msi /L*VX theinstall.log ... (your extra parameters, including /quiet here)
  • Open theinstall.log file and look for the string "Value 3" which is the line where the install actually failed
  • See if you can see what caused the fail

My setup would take properties from the registry and only need the user password to be supplied, so I used it like this:
msiexec /i My.Setup.msi /L*VX theinstall.log /quiet USERPASSWORD="thepassword"
For me, the reason for the failure was very unclear: "CreateUser returned actual error code 1603". I had the user, I had the password, what was going on?

The solution was to add ALL the properties needed. With a silent installation, it seems some of the actions in the UI are ignored. It's not just quiet, it's skipping things. In order to get a list of all possible properties, open the same install log and look for "SecureCustomProperties", which should list all the properties that you can set from the command line, separated by semicolon. I am sure I didn't need to set them all in order to work. In fact I didn't. I only used the ones used in the UI.

Hope it helps.

and has 0 comments
It was difficult to finish Lowball. First of all, I didn't remember a lot of the characters that were supposed to be well known. That's on me. Second of all, a lot of pages were dedicated to the personal life of one or another, including family squabbles and marriage proposals and all that. I don't know about you, but myself I didn't need or want to read that. It made the book feel boring and lifeless. But the worse sin of the book was that it was unbalanced.

Melinda Snodgrass describes action that happens in the middle of Jokertown, a small area of New York populated with jokers, people affected by an alien virus that changed them into impotent ugly monsters, then extends it to the outskirts and eventually other countries, involving as hero characters: a local police officer, a SCARE agent, his old friends, local jokers who are slightly aces (aces have advantages conferred to them by the infection) and - did I mention - their significant others, mothers in law, etc. The scope keeps shifting from aces and law enforcement agencies that are paralyzed for no real reason to regular people who somehow do more than anybody else, from international intrigue to very local issues. Some of the stuff that happens bears no real relevance to the main plot.

The book eventually became a bit more focused and the action started to pick up. And when I was finally getting to the point where something was going to happen and closure was close, the book ended. What the hell happened? Not even an epilogue. Abruptly everything ends with a cliffhanger that you can't even understand and credits roll. The next part of the "triad" of books seems to be High Stakes. I will read it, too, because I want to read the Wild Cards books in their entirety, but to be honest, I don't think I even enjoyed Lowball.

and has 0 comments
There is this old joke about how having a senior developer around is like having a little child sitting next to you. "How do I do that?", you ask. And the SD asks "Why?". "Well, the boss asked me to" "But, why?. "The client wants it" "Why?". "Because he needs this other thing" "Why?". I am afraid the joke is very true. Usually, at the end of the exchange you get to the real need at the base of the request and understand that it is the thing that must be fulfilled, not the request as it came through several filters, each adding or removing from the real purpose of the task. And if there is something I want to impart from my extensive experience as a software developer it is that you must always start from the core need and go from there.

However, I am not here to discuss how to write code, for once, but on how to organize your team (or yourself as a team of one) from this need driven perspective. And please don't call it NDD and read it NEED or whatever, because this is just a general principle that can help you in many domains. So let's analyse Agile. It's been done to death, so what I am trying to do here is not summarize what others have done, but to simplify things until they don't even need a name anymore.

First, what is Agile Development? Wikipedia says: "Agile software development is an approach to software development under which requirements and solutions evolve through the collaborative effort of self-organizing and cross-functional teams and their customer(s)/end user(s). It advocates adaptive planning, evolutionary development, empirical knowledge, and continual improvement, and it encourages rapid and flexible response to change. The term Agile was popularized, in this context, by the Manifesto for Agile Software Development. The values and principles espoused in this manifesto were derived from and underpin a broad range of software development frameworks, including Scrum and Kanban."

So Agile is not Scrum, but Scrum is underpinned by Agile principles and values. That is important, because many shops want to do Agile and so they do Scrum or Kanban and they either try to follow them to the letter (purists) or adapt them to their requirements (which is more in line with Agile principles, but the implementations usually suffer). One wonders how come there are not a lot of different methodologies out there, just like there are software patterns or programming languages. The answer is that no one starts off with understanding their need for Agile and in fact many don't even know or care what it is. They do Scrum so that they get the Agile badge, they tell everyone they "do Agile" and pompously ask their candidates if they "know Agile".

But if someone asks "Why do you want to do Agile?" the answers are not so easy to get. Of course there are advantages in the approach, that is why it's so popular, but you don't get advantages for your collection, they need to drive you to some kind of goal. One might say that for every process you need metrics in order to analyse your progress. Scrum does that. You don't need metrics for the efficacy of the metric system, do you? But still you need some way of gauging the usefulness of your methodology itself, otherwise we would still be using imperial units.

I am more accustomed to Scrum, but I don't want to analyse it, instead I want to measure the usefulness of Agile as a concept by asking the very simple question "Why?". As we've seen, its attributes include:
  • self organizing teams
  • cross functional teams
  • collaborative effort between teams and customers
  • adaptive planning
  • evolutionary development
  • empirical knowledge
  • continual improvement
  • rapid and flexible response to change

Why self organizing teams? That's the first and one of the most important and complex aspects of Agile. If the team self organizes, then everyone in it shares responsibility. There is no need for micromanagement from above, the team acts as a unit, you get it as a neat package that you don't care about. In theory when a team is inefficient from the organization's point of view, you should fire the team, not individual people. If one member is not performing as expected, then it's the responsibility of the team to fix them or get rid of them. Also theoretically, an Agile team doesn't need a manager.

But in practice I haven't seen this implemented except in small startup teams. There is always a manager, a director or more of them. There is always micromanagement. There is always some tendril of HR or organizational graph that affects people individually. Why is that? Because teams are cross functional, too. A developer doesn't need or want in any way to have to measure the work efficiency of their colleagues, have to tell them how to do things or get to the point where they have to push for firing them. A developer doesn't want to administrate the team. So what is a manager in the Agile world? That's right, a member of the team. If devs would not have a manager, they would probably hire one, as part of the self organization of the team. Moreover, for teams inside larger organizations like corporations, the "customer" is the corporation, so the manager role is often combined with the one for "customer representative" or "product owner" or "producer" or something like that. They're the people you go to in order to understand what it is you have to do.

And since I've started talking about cross functional teams, this means that Agile doesn't need or indeed recommend that people be interchangeable, having the same skill sets. Whenever you hear someone say "everyone should know everything" that's not Agile. It's just a sign that someone from above wants to micromanage the team without having to know anyone in it or ever decide the direction it should work in. It's the sign of a top-down approach that is ultimately inefficient from both directions: the team feels pressure it doesn't need while being restricted in what it can do and the management has to perform tasks that they don't need to do. I haven't seen one team of people treated as interchangeable units be efficient, nor have I heard of any. So why cross functional teams? Because people are individual beings and are different and, for every skill they have, they put in effort to first reach a basic level of knowledge, then more effort to become good or even expert at them. An Agile team needs to be flexible enough to accommodate for any type of person, within reason.

As an aside, think of the skills of a challenged person. The legislation of many countries requires now that software be accessible to a wide variety of disabled people. So whenever you hear that people should be versed in all aspects of the team's business ask them for Braille courses.

Cross functional also includes the skill of knowing what the customer wants, whether they are a member of your organization or someone sent by the client. It's one of the most necessary roles to be filled in a team. If a team were a living thing, the product owner would be the eyes and ears. You can be strong, fast, deadly, but it doesn't help if you can't find your prey.

So why collaborative effort between team and customers? Because you need to know why do you what you do. This entire post is dedicated to the question of why, so I won't press this. Just remember that if the team doesn't know why something is required or necessary, then it is not yet fit to perform that task. People are going to hate me for this, but we've already established the need to understand the client and that in large organizations the customer is the organization, so the logical conclusion is clear: office politics, psychopathic displays of power, idiotic decisions coming from up high are all part of the requirements. There is a caveat, though: the need of the customer needs to be clear, not the want. If the liaison to the customer is withholding or unaware of the real reasons something needs to be done, then the team suffers.

As an aside to all manager or high corporate types out there, it's way better to explain to a team that they have to scrap a project because you hate the guts of the person who proposed it, than to invent business reasons that are clearly bullshit for destroying months of loving work. In the first case you honestly admit you are an asshole, but in the second you prove you are one.

Now, what's this about adaptive planning? If you already know what is needed, someone should let you do your job in peace. You come to them when it's done. That was the fallacy of the Waterfall system. That is also why Waterfall still works. In a situation where needs are clear and do not change, there is no need for agility. Unfortunately, these situations are rare, especially since I've included in the list of customer needs the legacy of us being descended from apes. That means adapting quickly, without regret, changing direction, sometimes turning back completely, abandoning projects, starting new ones that you recommended starting years ago and was laughed out from the room for it and so on.

It's not only that. Adapting to your client's need is something that you would have to do anyway, in any realistic scenario. But it also means that you have to adapt to the technological changes in the world. Maybe you have to rewrite your code with another technology or explore new ones that just appeared out of thin air. Adaptation means that a big part of your job as an Agile team is exploration. This is emphasized by the empirical knowledge attribute above. These two go hand in hand. You adapt by understanding and for this you must be in the loop, you need to know things. Well, one of the members of the team needs to, at least. Adapting means "rapid and flexible response to change".

Therefore, whenever someone asks you if you are Agile or demands that you are, you can tell them about all the new tech that is rumored to come out this year and how you can barely contain your enthusiasm to be working for someone who enables exploration in the true spirit of Agile. Preferably after you've signed a contract, maybe.

But I talked about adapting to new requirements and changes in the environment, not adaptive planning. Adaptive planning is planning for all the things above. In other words, when you start a task, plan for the possibility of it changing, having to be abandoned or having to be redone in a different shape. And here is a point of much contention, because you can do this as any level. If you do it whenever you have to change the color of a button, you will overestimate all your work. If you do it at the level of the entire enterprise suite of products, you might as well do Waterfall. In any respect, it is the entire team that needs to know and decide what they plan for drastic changes.

Yet there are two types of reacting to change: planned or chaotic panic. Adaptive planning refers to planning for change, not preparing for working in complete chaos. That is why Scrum, as an example, splits planning into small periods of time (2-4 weeks) called sprints for which the work planned needs to be finished. If anything drastic (like a task losing its relevance) happens, the sprint is aborted. The sprints themselves can be in relative chaos, but inside one planning and order prevail. It doesn't mean planning for an irate boss man to come and tell you every day to change this and that. It means having a list of tasks that you can edit, whether by removing or adding tasks, rearranging their priority, or even adding tasks like "how to deal with this insane man coming into the office and spouting obscenities at me", then execute them in order. In no way does it mean that you do things by the ear or plan for something and then ignore it.

Two aspects remain to be discussed: evolutionary development and continuous improvement. Both strongly imply awareness of the development processes through which the teams goes. It's the team equivalent of introspection commonly referred to as retrospective. What did we do? How does it compare with what we had planned? What does it mean for the future? How can we do better? and the Why of it is obvious, you've got a good thing, how can you get more of it? Yet this is the point that is hardest to put in a box. Various methodologies attempt to introduce metrics to measure progress and performance. Then, with the function of the team properly computed and numbers assigned to its yield, one can scientifically tweak the processes in order to get the most out of the resources the team has. This is a wonderful concept and I agree with it in spirit, but in practice frankly, I think it's bollocks. It pure shit. It's circular logic.

Here we are, discussing a beautiful philosophy of doing work for maximum benefit by letting a team of very diverse people organize themselves towards a common goal, being ready for anything, adapting to everything, pushing through no matter what by leveraging their individual strengths. And then we come and say "Wait, I can take all this, name it, measure it, put it into equations and then tell you how to improve it!". Well, why didn't you do that from the start, then? Why bother with all the self expression and being able to adapt to anything new? If all is old under the sun, why do Agile at all?!

I believe this is the part where Agile methodologies fail utterly and miserably and can't even admit to themselves that they have. I agree that progress needs to be visible and the ability to compare it with other instances is essential, but from here to measuring it numerically is a large distance. Forget the usual arguments against measuring team success: the team composition is not fixed, the type of work it different, team dynamics means people behave differently, personal and local events, and so on. It's bigger and simpler than that. I submit that since the entire concept of Agile rests on the principles of flexibility, the method of gauging success should also be flexible and especially the way the team processes are tweaked for the future.

And I have proof. In every company I've ever been or heard of the Agile methodology of the place didn't quite work in various ways and that was apparent when people were laughing or disrespecting that part to the point of ignoring the rules in place. And the common bit that didn't work for all of them is the retrospective. The idea of asking "what problems did we face?" and then immediately finding and enforcing solutions with "what can we do about it next time?" has become such a mantra that it is impossible to ask these questions separately. It's become reflex (to the horror of wives everywhere) when you hear "there is a problem" to ask immediately "what can we do to fix it?". There is an intermediate question that must be inserted there: "Is this really a problem or do I just have to be aware it happened? Can we ignore it?". This is another topic, though.

A short summary would be:
  • responsibility is shared between all the members of the team and decisions should be taken as a team
  • any member of the team is valued for their contribution towards reaching the team goal
  • the manager is not your boss, it's just the role of a member of the team
  • the Scrum master or Kanban master or whoever does the accounting in whatever methodology you use is still a member of the team
  • having a member of the team understanding the needs of the customer is essential; they are the people you go to ask "Why?" all the time
  • adaptation need to be written in the DNA of the methodology; the team must plan to change its plans, but still do things orderly
  • experience should guide the team to define progress and improve itself
  • transparency of the team goal is necessary for the team's success
  • there is no improvement of the development method (or the code) without exploration and the entire intentional participation of the team
  • never be afraid to ask why; if you work in an environment where you are afraid, consider changing it

Let me tell you the typical story of the development team. First there is chaos, someone decides they are a quick and dirty team and they can do anything, fast, cutting all corners into a straight line to hell. Mistakes are made, blame flies around, people are fired, emotions get high, results go nowhere. There is need for order, all cry out, we need to use the holy grail of software development and the greatest human invention since fire (that week, at least). And then a specialist is called. He either becomes part of the team, with the role of teaching and enforcing rules, or just teaches a few courses, gets their money and leaves before hapless fools try to put in practice whatever it is they thought they understood. The result is the same: developers first like it, then start grumbling about the indecency of having to fill out documentation before any code is written, or updating it, or adding tasks in whatever software is used (or Post-Its on a whiteboard, if you are a purist and still haven't figured out developers can't use a pen to write). So either morale plummets and the operations continue with diminishing results, or the grumbling becomes a rallying cry to make a change. And the change is... chaos again.

In short, just like a revolutionary South American country, they can't decide if they want freedom or dictatorship, because both options have big damn flaws and anything in between is sucking their life away.

But why?

It's because even methodologies are subject to change, to human whim, to altering conditions. If you look at the beginning of this enormous post, it all started with the main goal and meandered from that, just like an Agile methodology in a real firm does. What is the goal of the team? And don't you look at your manager to tell you. As a team, responsibility is shared, remember? If the purpose is to turn perfectly enthusiastic software developers into soulless drones... you should run away from there. But if it is not, think about the things you are doing. Are they helping or are they not helping? This week at least.

In conclusion (or retrospect?) I believe Agile is a great idea, but its underpinning principles of always being aware of the situation and adapting to it are a more general and useful concept to remember and live by. Truth and knowledge comes before adapting and many software shops fail there, so the methodology is irrelevant. Then the method of work chosen should reflect the flexibility it enables. I don't believe in a pure anything, and certainly not pure Scrum, pure Kanban, pure Agile, but whatever you cook up, it should work towards the real goal of the team, as known and acknowledged by everyone in it. What's your function in life?

and has 0 comments

The Power started strong and then it fizzled. The idea is intriguing: what if women would suddenly get a power that would change the balance between sexes? Men have muscles, women have the power of electricity at their fingertips. The whole book is about the effect this would have on society and, as it was highly recommended by Margaret Atwood, I've decided to read it.

Unfortunately, Naomi Alderman is not going places with the idea. It takes a special kind of person to write a book about how the fate of the world would unfold, but not be able to describe even one meaningful relationship between men and women. And with that gaping absence comes a scenario that is pretty difficult to swallow. Having the power of electric eels, women in Saudi Arabia, Iran, African countries and most of all, dark Moldova, where the entire south of the country is just about caging, selling and using women, gang up together to overthrow the rule of man. Forget about simple and cheap solutions against electricity, forget about how no amount of electrical power could rival guns, tanks, gas or bombs, forget even about the terribly naïve view of a neighboring country (I am Romanian), but what about the fathers, husbands, sons of all those women?

In this book, once women get a taste of power, they immediately turn into electric monkeys, changing their culture, their beliefs and their entire identity in one fell swoop. They stay together in huge mobs, create countries for themselves and even consider killing all men except the ones they keep for breeding. There is little mention of families, men or any significant human response to such a policy. I couldn't help thinking of the Battlestar Galactica quote: "Slaves dream not of freedom, but of becoming masters".

You will probably think of another similar story, The Handmaid's Tale, but there is subtlety in that book. Women are not oppressed by men directly, but also by their fellow women who bought into the idea. The religious fervor touches all aspects of society, including family, commerce, politics. In The Power, it's like men exist for no other reason than to rape, beat and abuse women. The only good guys in the story believe women really should rule the world and that their time was long in coming.

So to summarize it all: this is a lazy book, filled with personal ideas about the world that bear little resemblance to reality, therefore difficult to follow with any interest. The writing is professional, but the characters are cardboard, single drive creatures, and rarely sympathetic. What would have been the most important part of the book: the relationships between men and women or inside families, is either absent, naïve or focused on power games. It has more in common with Planet of the Apes than to The Handmaid's Tale.

Update: And of course they made this into a series. I will try to watch it and see if it improves the story, but the first few minutes feel just as lazy and wishful thinking driven.

and has 0 comments
In Pieces is a nice read. It made me understand things about people and women in particular that I had no chance of knowing because, let's face it, all people lie about themselves and films lie about everything. Sally Field is both very honest (I mean the effort is palpable) and narrating her own version of the story of her life. Can you trust it? Can she trust it? Before you ask how did she remember what she did as a young woman when she wrote the book at 71, learn that she obsessively kept daily journals about her life. She kept reviews to her films, random pictures of her on the filming set or with her family, letters and so on. Funny enough, she never read the reviews until much later. I think that was wise. If this post were printed, she probably would keep it, too.

The book starts with Field's childhood, described as a continuation of the lives of her mother and grandmother, goes through her personal and work life until she is about 40, when she wins the Cannes Palme d'Or and the Oscar Academy award (her first) in the same year. I feel like she thought that was the peak of her life and the next twenty plus years (and a new marriage and a new son) are described in mere paragraphs. However the ending is very emotional as she tells the story of coming to terms with her emotional issues, going to a psychologist for the first time and finally talking frankly with her mom - at the age of 63! It's never too late - and ending with her mother's death.

I loved the way she explained how the different pieces of her soul worked, hence the name of the book. I usually say what I mean and even if I am plagued by many personalities of my own, when I am duplicitous I usually planned and made a huge effort to do it. It must be the same for most other men, I think, because in our discussions we often decry the seamless way in which women can become someone else entirely, hide and basically cheat when interacting with others. A 2015 study on 2000 people showed that women lie about two times more than men, but an overwhelming majority of lies were told in order to make someone feel better, to avoid trouble, or to make life simpler. However, in Field's bio I have finally understood that sometimes this is not voluntary, it is a defense mechanism, it is something you learn from childhood when you have to be the nice little girl and fit in and still face cruel reality. A person can be open and social while at the same time being shy and introverted. It's not somebody being duplicitous, it's someone exposing the part of themselves that they feel will fit in. Of course, that's her take on it, but I dug it.

Bottom line, I think it was a lovely and informative book, even if it described child sexual abuse, matter of factly sexual harassment in the film studios, dysfunctional relationships with men that needed sexy stooge caregivers, not partners, and psychological dissociation in order to survive through it all (and act brilliantly). This is the second actor autobiography I read, after Peter Coyote's (which I highly recommend), and I loved both of them. Perhaps this is a genre that appeals to me because actors are taught to connect to their emotions and to become different people while staying aware of their true core, and so their autobiographies are more detailed, more personal. I will read more of these.

and has 0 comments
The Ballad of Black Tom is yet another book inspired by Lovecraft and featuring racially abused people of color. But unlike Lovecraft Country, this is not funny or adventurous, it is just painful. LaValle creates a complex character, a black man who respects his musically talented father, but neither did he inherit his old man's gift, nor can he abide by the man's strict moral code. In a world where magic exists at the fringes of human perception, he dabbles with things he should not and suffers for it. Stricken by grief, he becomes Black Tom.

I thought the story started kind of slow, then went a bit too fast, then ended too abruptly. Victor LaValle made me fall in love with the character, only to finish the standalone book on a vague note. After reading several stories that I was hoping were not sagas or trilogies or whatever (and they were) I finally get to one that I wanted to continue and it doesn't.

Bottom line: good book, but the main character was better. He deserves more than this.

and has 0 comments
Wool Omnibus is the first novel in the Silo series, by Hugh Howey, and comprised of several short sequential stories that are connected to each other. It's a post apocalyptic book, where people are cooped up in a "silo" to survive a world that has become so toxic that only minutes outsides dissolves an air tight suit and then kills you. But what is really true?

For almost all shorts, the lead character is a female mechanic who is both a great problem solver with high technical skills and a woman, so the perfect character for the age. I found that she was a compelling character and so I could read the book in a day. There isn't much else to say outside what I already described. It's easy to read, easy to empathize, easy to forget right after. In truth, the most interesting of the short stories was the first, because of its twist. The rest is a classic hero's journey, complete with egomaniacal villains and Romeo and Juliet like romances.

Personally I enjoyed the book, but I don't feel so engaged as to continue reading the series. It's typical Young Adult, even if the young adult is 34 and a competent mechanic. The tale came close to a sympathetic villain, which is one of the main things in great storytelling, but in the end it settled with the classic rule abiding tyrant that has to be overthrown by empathetic heroes. Average pulp, I guess.