Clippings of 2019 Jun
Table of Contents
- Services are Not a Silver Bullet
- In Pursuit of Production Minimalism — Brandur Leach
- Is High Quality Software Worth the Cost?
- How to run an effective meeting: avoid process performances — Quartz at Work
- GeePaw Hill on Twitter: "create experiences, not reasons"
- Secure Early Wins in the First 3 Months – New Tech Leader Series - kate{mats}
- OKRs seem like the stupidest idea ever : TechLeader
- Leveling Up - Taking your engineering & operations role to the next level - YouTube
Services are Not a Silver Bullet
- What (seemingly innocuous) process problems get cited most often as reasons why a company wants to move to a service-oriented architecture?
- “It takes a lot longer to add new features because there’s so much code.”
- “The codebase is so large that even code review takes a long time when we add new features.”
- “A small change I made introduced an odd bug in a totally unrelated area of the application.”
- “The code is so complex that our test suite takes hours to run.”
- In practice, this is not easy. It requires a level of rigor that many teams might not be accustomed to, and in frameworks like Rails, the easiest thing to do might be to modify a value in session or update a record directly without giving it much thought. Over time, dependencies begin to bleed into one another and the result is a tangled mess.
- Work against this entropy by considering how areas of the application are meant to interact, and write software to streamline these paths of communication.
"Do we need to migrate to technology X or not?" is an evergreen topic in software development. And microservices (or service-oriented architecture, SOA) is a typical hyped example of "technology X".
And the answer is as always: "It depends." It depends on your own context. So unless you've already finished your analysis and come to the conclusion that microservices can solve the problems you are facing, I would not recommend you to try it.
P.S. I found this article when I was listening to an episode of the Bike Shed: 197: Don't Go Chasing Waterfalls - The Bike Shed. And I remembered they've talked about similar topics for more than once. Here is another one that I like:
- microservice is a joke: trying to solve an organization/culture problem with a technical solution
-- from 203: A Blessed Monkeypatch (Eileen M. Uchitelle) - The Bike Shed
In Pursuit of Production Minimalism — Brandur Leach
- Over time, technologies are added, but are rarely removed.
- This effect is dangerous:
- More parts means more cognitive complexity.
- Nothing operates flawlessly once it hits production.
- Every component in the stack is a candidate for failure
- With sufficient scale, something will be failing all the time.
- With more technologies engineers will tend to become jacks of all trades, but masters of none.
- Achieve Production Minimalism through ephemeralization
ephemeralization from Nine Chains to the Moon
Do more and more with less and less until eventually you can do everything with nothing.
- building a stack that scales to more users and more activity while the people and infrastructure supporting it stay fixed.
- This is accomplished by building systems that are more robust, more automatic, and less prone to problems because the tendency to grow in complexity that’s inherent to them has been understood, harnessed, and reversed.
- Realistic? Probably not. Useful? Yes. Even falling short of an incredibly ambitious goal tends to leave you somewhere good.
The idea of ephemeralization resonates with my current world view perfectly. I believe that we need to simplify our life, work, product, software, codebase, and you name it, by abstracting constantly so that we can do more with less. It's not easy (simple != easy), but rather extremely hard. So we need to try our best.
I've been reading Company of One: Why Staying Small Is the Next Big Thing for Business this month. And ephemeralization is an important idea behind it as well. Given all the possible technologies we have nowadays, we can get more business outcomes without adding more to the company, to our work. Instead, we can achieve more by doing less, and focusing on improving our core product, providing more values to our existing customers.
Is High Quality Software Worth the Cost?
- The question assumes the common trade-off between quality and cost. This trade-off does not apply to software - that high quality software is actually cheaper to produce.
- Software quality means many things. I thus divide software quality attributes into
- external quality
- such as the UI and defects that users and customers can see
- internal quality
- architecture that users and customers can't tell
- Internal quality makes it easier to enhance software
- Customers do care that new features come quickly
- High quality software is cheaper to produce
- Neglecting internal quality leads to rapid build up of cruft
- This cruft slows down feature development
- Even a great team produces cruft, but by keeping internal quality high, is able to keep it under control
- High internal quality keeps cruft to a minimum, allowing a team to add features with less effort, time, and cost.
A great summarize of my current understanding of software engineering. I hope I could write an article like this someday.
BTW, I think the same idea can be applied to company growth as well. As it's explained in Company of One: Why Staying Small Is the Next Big Thing for Business, building better product with all the resources we have now is a way of improving a company's internal quality. And just like software, only with a great internal quality, can a company last longer and become more successful.
How to run an effective meeting: avoid process performances — Quartz at Work
Understanding how process impacts outcome can help avoid useless meetings
- understanding the outcome and keeping it in mind throughout the entire process.
- If the team isn’t focused on the outcome, than they’re just performing a process.
- Management is full of mechanics that could easily become process performances.
- One-on-one meetings
- Feedback cycles
- Team meetings
- Retrospectives
- These are not inherently useful activities
- They are useful only in service of some kind of outcome.
- The key is to
- consider the outcome as you design the process,
- pay close attention to the behaviors that emerge as you introduce the process.
- Behaviors are the link between processes and outcomes
- processes encourage behaviors that create outcomes.
- Linking process and outcome
- Good process is sometimes invisible.
- It often gets called “culture”
- because the behaviors and outcomes are so much bigger than the process itself.
- If the behaviors we encourage in standup meetings are corrosive and micro-managey, we’ll encourage people to hide their struggles behind overwork and excuses.
- If the behavior we create in one-on-one meetings is to diminish or judge, we’ll erode (or never build) trust.
- If we turn retrospectives into forums for blame, we’ll create a corrosive environment on the team.
- Process itself is only useful when it serves some kind of outcome, and that must be kept in mind from the beginning, and re-enforced in the behaviors we encourage (or discourage).
- As teams discuss process, or leaders introduce it, it’s important to talk about what purpose the process is supposed to serve, including the underlying problems or desired outcomes it is supposed to address.
- Then we need to be willing to review and adjust as we see what happens when the theory meets reality—a process that is faster and easier with the constant of an outcome in mind.
TFW you read a blog post that says exactly the same topic as you wrote yesterday 🤣🤣🤣https://t.co/u6AeyHRQWS https://t.co/Y1vMUfte14
— Yiming Chen (@dsdshcym) June 11, 2019
Only one day after I published Say NO to Processes, I read this article. And it advocated basically the same idea: Process itself is only useful when it serves some kind of outcome.
And if you want to know more about how I want to arrange a meeting, you can check this article I wrote: Similarities between TDD and Management - dsdshome
GeePaw Hill on Twitter: "create experiences, not reasons"
Yes. And we say "sometimes", but in fact it's far more common than a naive take would have it. My motto is "create experiences, not reasons". https://t.co/u7rLEVmQZ1
— GeePaw Hill (@GeePawHill) June 18, 2019
I can definitely resonate with this motto after several failed attempts to advocate testing, TDD or code reviews to other developers in my team. Most of the time, it's not enough to give reasons for a transition, even if these reasons are logically perfect.
The most efficient way I found is to:
- Do it by yourself first and set an example.
- Do it with others together and create experiences for him/her.
Secure Early Wins in the First 3 Months – New Tech Leader Series - kate{mats}
- Your beginning impressions will set the tone for the relationships, culture, and environment for the future in this company and role – so be sure you make them good ones!
- In order to the set the right tone and get started on the best path, it is key to secure early wins.
- Understand the state of the company and organization
- Come up with a plan
- Regardless of your approach though, focus on showing some results and progress within the first 2-3 months on any time. It will help make sure you set yourself up as a leader for your tenure in that role.
It can be extremely hard to successfully join a team as a leader.
This article gives some useful tasks that you can work on to secure some early wins. From my experience of working on hiring and training, they are not easy, but they are super useful. I'd highly recommend them if you also just started your leadership journey as well.
OKRs seem like the stupidest idea ever : TechLeader
- OKRs, and many other frameworks are just a reframe around a very old and basic concept.
- What are your goals,
- How will you know you have hit them,
- We should check in on that periodically.
- The point of frameworks shouldn't be process, the point should be common tools that provide a platform for clearly communicating intent.
- OKRs are a great tool, but like any great tool, there is a time, place, and manner in which to use it. Wielded improperly, people suffer.
I've been learning and practicing OKRs recently. Like any tools and processes, OKR cannot guarantee a great outcome (which is why we should Say NO to Processes). It all comes down to the people who are using it. To learn a process like OKR or Scrum, we really need to learn the values behind its practices.
I think this comment really grabs the core of OKR, it's all about knowing:
- What are your goals,
- How will you know you have hit them,
- We should check in on that periodically.
Leveling Up - Taking your engineering & operations role to the next level - YouTube
Work isn't just about your outputs and contributions. Work isn't about what you do, but how you do it.
- Strategy
- Clarity
- Choosing your game (what you excite about)
- Breadth and depth (what you are good/bad at)
- Do you have a target?
- Charting your path
- Goals
- Identify success
- Be specific about steps
- Identify obstacles
- Write If-Then (backup plans) for them
- Plan to follow up
- Be open to change
- Game play
- Contributions
- Become indispensable to your team
- Full the gaps (Look for places to contribute)
- Do the right things
- Managing your manager
- It's your job to give your manager Status (Does your manager know what you are doing?)
- It's hard to assess performance
- Hours?
- LoC?
- Bugs?
- Features?
- It all comes down to Trust & Integrity
- Build trust (Deliver on your commitments, act authentically and consistently)
- Know the timing (Write down your estimations, confidences)
- Do the hardest work first
- Manage your time
- Practice
- Coachability
- Feedback is hard. People don't volunteer giving feedback.
- 6 keys to receiving feedback
- Don't be defensive
- Fight the urge to jump in (just listen)
- Ask for clarification
- Listen for emotion
- Be gracious and thankful
- Change and adapt
- Teaming up
- Charisma
- Be open
- Bring solutions
- Empathy & attitude
- Think about long term
- See the conflict as a chance for growth
- Communication
- Improve written messages
- Know your audience
- Lead with what is important (TL;DR)
- Be concise
- Make it easy to understand
- Connecting (4 keys to making people feel they are important)
- Be present
- Repeat what you heard
- Ask questions
- Don't interrupt
- Collaboration
- Set an example
- Influence (No one cares how much you know, until they know how much you care.)
- Improve relationships
- Rebuild burned bridges
- Relationships are film strips (create positive frames)
- Find your common ground
- Focus on the long term
- Don't give up
- Summary
- 7 C's
- Clarity
- Contribution
- Collaboration
- Coachability
- Communication
- Charisma
- Connection
- It all comes to choices
- You can't become who you want to be by staying who you are