Monday, July 10, 2017

Charlas interesantes (Junio/Julio 2017)


Estas son algunas charlas muy interesante que he visto últimamente:

Saturday, July 08, 2017

Honey badger Team / The visual history (I)

Disclaimer: I am experimenting with different formats to create presentations, blog post, and other documents, mixing sketch noting and using index cards... I will appreciate your feedback.

I prepared these notes for the past AOS 2017, but finally, the session was not selected... The initial idea was to describe our process for creating an agile software development team and create a discussion to identify next steps to expand our agile culture to the rest of the organization


Honey Badger Team / The visual history



In the beginning, there was a bunch of developers at TheMotion starting to create the product. But there was no process and the "established" tendency was to try to optimize the resource usage. As we already know, optimizing the resource usage have some serious problems:
  1. People are not resources :) (so this not work very well outside some simple industrial processes/pipelines that don't involve humans)
  2. This process generates busy work but not necessarily good outcomes.
  3. To optimize the resource usage, we need:
    1. Push until all of the resources are 100% used
    2. To create buffers to have everybody busy
    3. Generate SILOs / Specialization for each skill (front end, backend, video)
The result of this process was:
  • An incredible high bus factor
  • Stress and bad quality code and practices
  • Tons of WIP/inventory and unneeded features as we develop based on how is available (frontend, backend...)
I arrived at this point to the company... There was a Funny party going on :)

One thing was clear (at least for me), using a Lean and Agile approach can help to create a product in a startup.... It also can help to improve the overall frustration :)

I am completely biased because I like the agile mindset... but I sincerely think that in a startup the agile approach is the right choice:  Fail (agile is not recipe for success) and learn as fast as possible :)

For me, Agile is a set of values and principles, not a methodology and two pillars:
  • A healthy culture focused on people (collaboration, respect, teamwork, creativity...) 
  • Looking for quality and technical excellence (for example XP practices are a great starting point).

So my first target was introducing quality and technical excellence to be capable of delivering software in small cycles (days instead of weeks)... My idea was to introduce the culture at the same time that we improve our technical capacity. Any software developer is more open to a new ideas if he shows improvements in the code and in his day to day work. :)

But how can we detect if we are in the right path?
I discovered that a good KPI for measure these improvements was how much anxiety was generated in each team member when we change the frequency of a development event (deploy, merge, etc...)
For example, the target was:
  • Deploys frequency, from 1 a month, to several per day (the deploy is not an event).
  • Integration frequency, from branches that last forever to trunk based development.
  • Feedback time:
    • For review, from code reviews and pull request to pairing and continuous review.
    • Subsecond for unit tests.
    • Seconds for integration tests.
    • Minutes for production monitoring.


But How can we improve the quality and our technical capacity???

For me, the response is agile development, XP practices and modern agile... In summary being professionals and pragmatic delivering software. And mentoring is the only way I know to introduce this technical practices....


Initialy, I was the only one that started to send the message about XP, Craftmanship, cloud native, etc... At the same time, we were trying to improve the day-to-day work improving the infrastructure and the base platform.

We, as a team, was making improvements, but learning TDD or pairing have an important entry barrier so we need external help with experience teaching this practices (by doing of course).


To improve the "mentoring power", the collaboration of Modesto San Juan and Alfredo Casado from Carlos Ble y Asociados (now codesai) was key. They help us to improve our TDD and to introduce other XP practices (shared ownership, pairing, etc). At this point, our internal alignment started to be evident.

The first day that I detected that the mentoring effort was having a profound effect was when one developer, talking aloud, explained what Modesto or Alfredo would say about his code, and immediately he started to improve the code :-)

Another key point was that from day 0, we assumed that everybody wants to make a good job so the smarter approach to improve is to "Make easy to make the right thing". Instead on focus in preaching how the things should be done and instead of forcing to do the things in a certain way, our focus was on creating an awesome tooling and platform that make very easy to create microservices, include instrumentation, metrics...  We pushed very hard to have an automated infrastructure and a very good tooling.... This includes rolling deploys, standard makefiles, a devbox (now deprecated), containers, etc.a great monitoring.

With this platform and this tooling, it was easy to introduce a DevOps culture, with microservices and improve our deployment cadence day by day.

An important note here.... during this process, the most important factor was to use an agile process and make small improvements, with low risk in parallel to the normal development...



Right now, our practices include, continuous delivery (several times a day), automatic tests (TDD in the way but not the default option yet), simple design, immutable infrastructure, infrastructure as code, collective ownership and we work as a high-performance team with our own identity and a high level of trust….
We have a lot of things to improve, including our quality at the front end (software design and practices), more solid understanding and usage of the XP practices, and so on... but I can say that the agile mindset, the learning culture, and the eager to improve, are already there. :)

We continue our journey, improving continuously...


At a company level, we passed for some periods with lack of alignment, but this is changing very fast and seems that in the next months we will have very clear goals at a company level. This is great and can help us with our next challenge... Expand the agile mindset to the rest of the organization...

A final note:

IMHO now that we are capable of creating/evolving a software product, is the right time to expand this culture to the rest of the organization... I see a lot of times that there is a huge effort trying to introduce the agile mindset at the company level but without having a solid technical capacity, and I think that this is a huge mistake for software/tech based companies. In such cases, the story usually goes as follows:  Huge effort to transmit the benefits of the agile mindset, everybody is very excited, the change begins, but the core of the systems is not capable of generating software at a sustainable pace, the technical debt begins to grow without control,  and the product collapse... The cultural change fails, and everybody thinks that Agile doesn't work...

The explanation is easier than that: You don't know how to make software. So first, learn how to make software and later you can introduce other parts of agile. (See: the two pillars of agile).

A culture of Agile software development with a good quality is a prerequisite for introducing Agile at a company level for software based companies.


References:


Thanks:

  • To Jorge Jardines for the fast feedback and some improvements
  • To the Honey Badger team :)


Sunday, July 02, 2017

AOS Agile Open Space 2017 Segovia

Disclaimer: I am experimenting with different formats to create presentations, blog post, and other documents, mixing sketch noting and using index cards... I will appreciate your feedback.




The past 23,24th of June I was at the Agile Open Space at Segovia (AOS)... This is my sixth consecutive year going to the AOS (you can see almost all of my past experiences at http://www.eferro.net/search/label/aos). I like this unconference because is a great excuse to see friends and enjoy great conversations with other "agilistas".

The Agile community in Spain organizes two events, the CAS that is a regular conference and the AOS that is an Open Space. The AOS instead or being the classic conference with a clear separation between speakers and attendees, is more like a meeting of community members... something like a community of practice of the members of Agile Spain.

As the community evolves, the AOS evolves also and reflect this change. Over the years I've been seeing how the community is shifting from a community of software developers to a community focused on organizational change and agile outside the software products.

I have come to the conclusion that in order to not feel frustration I should not go to AOS as a software developer. :)

I will write a blog post about this change and the relation between software development, agile and craftsmanship.

The Sessions


Sessions I attended or participated:
  • Parallel Changes: I facilitate this session. The idea was to explain why is important to be capable of making huge changes in software using a sequence of multiple small changes with low risk. The first 10min I explained why this is a good idea and showed some samples. The rest of the session was working in groups and presenting other examples or related problems/challenges to solve. I will create a specific blog post for this.
  • Cómo combatir el efecto Pokemon: Interesting session about a usual problem about having a lot of tasks that can be only done by some people of the team. A classical problem is for UX/design tasks or with some low level debugging stuff or DB optimization. Lot of people at that session had this problem, for all the tasks they had… :( The reason is simple, they allow working each member of the team individually and don't rotate… they allow rambos, heroes, and other kinds of “good developers” that can’t work in teams…. (I mean BAD developers). If we think that developing is a team effort, there is an easy solution to avoid this problem: XP, multidisciplinary teams, pairing, mob programming, share ownership… Is easy, hire people to work in teams and help them to work as a team.
  • Facilitación gráfica / Visual thinking: A good session about how to express drawing and how to take notes… This was an introductory talk and have three parts, an ice breaking dynamic, some tips to draw the most common shapes (faces, titles, people, etc) and a final dynamic to collaboratively make a visual dictionary with difficult words as transparency, value, and so on… very abstract words that are difficult to represent. This was interesting because each one tries to express these words drawing so you can take some of the ideas…. I am trying to improve my visual thinking and sketch noting skills so this session helps me in that path….
  • Disciplina positiva y Agile Kids: I was especially interested in this session.. because for me is so natural the agile mindset and continuous improvement that is easy to think that is also useful for personal life and kids education. I attended to this presentation with my wife to take notes for future family steps… The session was a presentation of the experience of two parents following the advice from the book: Agile Kids ( niños agiles )
  • Slow: The session of this session was about how we can use some techniques from the Slow movement to improve our day-to-day capacity and life. We experience some exercises, lot of them related with mindfulness. https://www.slideshare.net/twallet/pequeas-tcnicas-para-un-da-slow
  • Autoexigencia de los equipos: (https://twitter.com/artzis) The format of this session was a Fishbowl. The topics were, should we expect that the team has self-demand / self-discipline? why? how? and the individual? The conversation was very interesting and has some good insights about motivation, learning and hiring the right people…



Final conclusions and Notes

The sessions are important but for me the best of this AOS at Segovia was:

  • I went to Segovia with my family... my wife and my daughter... :)  this was great and have an important effect regarding our internal organization as a family... We even are testing using a kanban board.
  • A lot of my coworkers come and enjoyed the power of the self-organization and the agile mindset... I am quite sure that this will have a strong effect on the culture of our company. (this is part of my plan to conquer the world) :)
  • I enjoyed a lot talking with old friends, reinforcing relations and even creating new ones... Not bad for an introvert software developer.



Thanks


I have special thanks to the organization, Delia Estebaranz, Javier Garcia Garrido from agiletorrezno for making this conference a pleasure for going with the family. Having the opportunity of enjoying the conference as a family was GREAT.

Lot of thanks for the volunteers.

Also thanks to the sponsors of the conference for making it possible: Deiser, USTGlobal, Jerónimo Palacios, Thinking With You, Ticketea, Agilar, Biko2, Flywire, Look Forward Consulting, Runroom, Kairos, Colegio Profesional de Ingenieros en Informática de Castilla y León, Segovia Activa, Kleer...





Other interesting blog posts about this AOS edition:

Sunday, June 18, 2017

Pamplona Software Craftmanship 2017




Este pasado 2 y 3 de Junio tuvo lugar la Pamplona Software Craftmanship 2017... Este blog post es mi crónica de la mitad del evento, puesto que el colegio de mi hija decidió que el 2 de junio era buen día para hacer la graduación del ciclo de infantil... así que la primera sesión a la que pude llegar fue la última del primer día.



Bueno, vamos al tema...

Sesiones:

Estas son las sesiones a las que puede asistir:
  • Los programadores no tienen que ser malos diseñadores de interfaces (Sebastian Hermida) (Video). Me aporto mucho puesto me permitió entender las diferentes practicas relacionadas a la experiencia de usuario y al diseño y las explico contraponiendolas a conceptos de desarrollo.
  • Arquitecturas, arquitectos y otros animales mitológicos. (Vicenç García-Altés) (Video) De esta charla me he quedado con algunas herramientas, reuniones, y artefactos a investigar para identificar capacidades del sistema y conceptos del negocio que afectan a la arquitectura. 
  • Speed Dating (Sebastian Hermida) (Open Space) Interesante dinámica para conocer gente, que es uno de los puntos fuertes de una conferencia de craftmanship.... conocer otros profesionales interesantes e intercambiar conocimiento. 
  • Onboarding (Angélica). No pude estar en toda la sesión así que solo pude escuchar parte. Se genero una especie de mesa redonda explicando como hacían en diversas empresas el onboarding de nuevos compañeros... me quede con algunas ideas para implementar.
  • El arte del patadon pa'lante / Libro de recetas (artolamola & eferro (yo mismo)) (Video) En la charla intente dar ejemplos prácticos de cómo podemos posponer decisiones y evitar trabajo innecesario, teniendo así la oportunidad de atacar más problemas. Cualquier feedback en referencia a la charla será más que bienvenido.
  • Cuentame tu stack  (Vicenç García-Altés) (Open Space) Minipresentaciones de distintas arquitecturas y stacks tecnológicos. Un formato de sesión muy interesante y que invita a la conversación sobre arquitectura partiendo de ejemplos reales.
  • Power point karaoke (Laura Morillo). Sin duda una de las sesiones más divertidas. Para el que no lo conozca, el power point karaoke, consiste en que  se eligen presentaciones cortas y se saca a gente que no ha visto jamas esas presentaciones a que las presenten... Un descojone.
  • Building a transactional function pipeline (with TDD and Elixir) (https://twitter.com/jacegu) (Video) Interesante presentación de Javi, en la que mostró como usar de forma casi mecánica una practica como TDD le permitió avanzar en un contexto desconocido para el. Muchas veces nos olvidamos de como una practica nos puede ayudar dando estrategias para solventar nuevos problemas. Muy interesante.

Como siempre, además de las charlas en las que estuve, lo mejor de un open space son las conversaciones que se producen en todo momento... dentro y fuera de la conferencia... Poder compartir con compañeros profesionales y amigos nuestra pasión, es lo más valioso de una conferencia de este tipo. Por otro lado,  con cada conferencia que pasa, se amplia el número de compañeros a los que puedo considerar amigos :-)



Charlas grabadas que he visto

Por otro lado, y gracias a la inestimable ayuda de Autentia,  algunas de las charlas a las que no pude asistir fueron grabadas así que me las estoy viendo poco a poco.... De ellas, las que más me han impactado de momento son:



Hay otras que también están muy bien, pero que no me han impactado tanto (en algunos casos porque el tema ya lo conocía):



Tenéis el post de Autentia con todas las grabaciones en:
https://www.autentia.com/2017/06/13/pamplona-software-craftsmanship-2017/

Resumen y agradecimientos


Como resumen general, puedo decir que la organización de la conferencia es de lo mejor que he visto. La gente de 540, los organizadores, son unos cracks y no solo están atentos a todos los detalles y desarrollan como campeones sino que además son unos genios del marketing.
La verdad es que me extraño que no terminase por venir Martin Fowler a la conferencia, puesto que si alguien lo puede conseguir son ellos...

Me encanta el formato, me encanta el contenido, me encanta reencontrarme con amigos, me encanta que pongan Kalimotxo y me parecen que los amigos de 540 son lo más TOP!!!

Thursday, June 15, 2017

Kent Beck 3x (Great idea that deserves our time)




The life of a product, a tech company, and a software system is a continuous process of decision making... and the best answer for each of these decisions is always "it depends". It always depends on the context and the phase of the product/company/system...
Lately, Kent Beck is presenting a framework to better understand and define this "needed" context information. This great proposal, which he calls 3x (explore, expand, extract), helps us to understand the trade-offs and make better decisions.

We can read as an introduction:
And for the original notes:
And there are some talks about this matter at:
Any comment or discussion about this interesting concept is more than welcome :)