<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Magda Miu on Medium]]></title>
        <description><![CDATA[Stories by Magda Miu on Medium]]></description>
        <link>https://medium.com/@magdamiu?source=rss-3056258d1643------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HGWwlrVjZ24dpyFjJegnYQ.png</url>
            <title>Stories by Magda Miu on Medium</title>
            <link>https://medium.com/@magdamiu?source=rss-3056258d1643------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 04:09:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@magdamiu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Top 3 Challenges After Becoming an Engineering Manager]]></title>
            <link>https://magdamiu.medium.com/top-3-challenges-after-becoming-an-engineering-manager-8087bbbfd3e6?source=rss-3056258d1643------2</link>
            <guid isPermaLink="false">https://medium.com/p/8087bbbfd3e6</guid>
            <category><![CDATA[management-and-leadership]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[adobe]]></category>
            <category><![CDATA[engineering-management]]></category>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Magda Miu]]></dc:creator>
            <pubDate>Sat, 11 Feb 2023 09:30:22 GMT</pubDate>
            <atom:updated>2023-03-01T18:26:13.267Z</atom:updated>
            <content:encoded><![CDATA[<p>Becoming an Engineering Manager is a significant career milestone for many engineers or tech leaders. As a manager, you are responsible for leading a team of technical experts, overseeing the development of projects, and ensuring that the work is delivered on time and at the highest quality. However, the transition from an individual contributor to a manager is not without its challenges.</p><p>One of my mentees asked me about the challenges I faced after taking on my new role as an Engineering Manager, so this article will provide insights and my recommendations on how to overcome them. These challenges include balancing technical and managerial responsibilities, leading and inspiring a team, and effective communication. For each challenge I proposed 3 solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*YR6fRbHDZbLtGC4t" /></figure><p>When you move from an individual contributor role to a manager role, one of the first things you observe is represented by the reduced speed of seeing the effect/result of your work. As a developer, you get the task, write the code, test it, send it to prod, and mark the task as done. As a manager, you have a conversation with your team about, for example, psychological safety and its importance, and it could take weeks or months until you observe if your effort to learn about this topic and share the knowledge with your team paid off eventually. But there are also situations when you do not know if your words, your ideas, and your guidance were understood by your team members or had a positive impact.</p><h3>Over-communication</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/0*_J-JJ1LhUT8By9_H" /></figure><p><strong>When It Comes to Communication from the Top, Less Isn’t More</strong></p><p>An <a href="https://www.gsb.stanford.edu/insights/when-it-comes-communication-top-less-isnt-more">article</a> with the conclusions of a research about “communication calibration”</p><p><em>“Over-communication may be seen as annoying and a nuisance, but it’s not seen as a damning flaw for a leader, partly because a leader’s over-communication is seen as an attempt to benefit you, even if it is misguided, as opposed to an attempt to undermine you or simply ignore you.”</em> <em>“The authors conducted four studies to test their hypotheses that employees identify under-communication as a leadership weakness more often than over-communication and perceive under-communicating managers as having relatively less concern and compassion.”</em> <em>“Leaders who miscalibrated their communication were nearly </em><strong><em>10 times more likely</em></strong><em> to be criticised for under-communicating than over-communicating.”</em></p><p>The advice from the article is to <em>“ask employees about their personal communication preferences, and when in doubt, increase the amount of task-related communication to send a stronger message of caring and concern.”</em></p><p><strong>Define your Manager README document.</strong> Read more about this <a href="https://hackernoon.com/12-manager-readmes-from-silicon-valleys-top-tech-companies-26588a660afe">here</a>.</p><h3>Build and adapt team’s processes</h3><p>In software development, there is a lot of ambiguity and complexity. To be able to handle it and build high-performing teams a set of processes that offers structure and predictability should be in place:</p><ul><li>if you are building a team from scratch ⇒ have a checklist with processes that should be present, validate it with the team, and start defining the team together with your teammates</li><li>if you are joining an existing team ⇒ start defining the processes based on the main challenges you start to identify. Work together with your team to define those processes</li></ul><p>What kind of processes/practices/activities you should have defined in your team:</p><ul><li>Team’s mission — why are we here</li><li>Team alliance — a working set of practices that we all agree on; focused more on the behaviors we accept and that respect our team’s values</li><li>Coding guidelines</li><li>Branching strategy</li><li>How to make deploy in prod</li><li>Definition of Ready</li><li>Definition of Done</li><li>Testing strategies</li><li>Jira workflow</li><li>Bugs severity levels</li></ul><p>Some of the defined processes or practices could be impacted by multiple factors so this is why you should review them periodically with your team (decide with your team how often, and be open to adjusting). For example, the Definition of Done could be impacted by factors like introducing a new test environment or the type of features developed requiring some extra steps to call them done.</p><p>Another important aspect here is that sometimes the team could be not open to the idea of having processes/practices. In this case, depending on how reluctant are they you have mainly two options:</p><ul><li>if they are half-convinced about the idea ⇒ formulate the process like an experiment that has the purpose to help them and emphasize the advantages: <em>“Let’s try this approach for X weeks and see if A, B, C will improve. If after that time it does not work we will evaluate together what are the options”.</em> Plan in advance the recurrences for reviewing the effect of the process and its relevance.</li><li>if they are against it, you could try applying the change management process &amp; Cialdini’s principles of persuasion, but do pick your “battles” ⇒ <a href="https://userguiding.com/blog/kotters-8-step-change-model/#ftoc-heading-1">Kotter’s 8 Step Change Management Model</a> &amp; <a href="https://cxl.com/blog/cialdinis-principles-persuasion/">Cialdini’s 6 Principles of Persuasion</a></li></ul><h3>Explain the WHY</h3><p>People need to feel that they are a part of something larger than themselves, something that matters to society. That’s not only motivating; it also helps encourage them to speak up, share their ideas, take risks, to try new things.</p><p>A team with purpose is engaged, inspired, and psychologically safe.</p><p>As a leader, your job is to help connect everyday tasks with a larger sense of purpose. “Why my team exists?”</p><p>Also, keep in mind to explain the reason behind your actions or decisions. For example, I got used to sending a monthly report (it was my initiative) to the management and stakeholders to share the progress and make team’s effort and involvement visible. Even so, one of my team members was not aware of this purpose and he was thinking that the report was asked by the top management and it is a form of micro-management.</p><p>A good resource to check is Simon Sinek’s book: “Start with why” where he presents “The Golden Circle: Why, How, and What”. Check <a href="https://magdamiu.com/2021/10/25/3-books-that-will-boost-your-leadership-skills/">here</a> the summary of it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/0*WwtVR2lMzvQYu-rA" /></figure><h3>Should I join this meeting?</h3><p>Evaluate if the meeting invite contains relevant information: the purpose of it, the agenda, who will participate, and what is the expected output. If one of those things is not present please ask for extra info and question if it is the case to participate.</p><p>Usually, you should join meetings that suppose:</p><ul><li>to review work that’s occurred (what worked or didn’t and why)</li><li>to clarify and validate something (policies, team goals, etc)</li><li>to distribute work appropriately among your team</li></ul><p>Evaluate if that meeting could be replaced by an email or by a shared document. Use digital tools for asynchronous work.</p><p>Organize the meetings based on your level of energy and work to keep one day for focus. Add colors on the calendar based on the importance and focus areas.</p><p>Also, encourage your team to flag or cancel meetings if they are not the best use of their time.</p><p>📚 More about this challenge: <a href="https://hbr.org/2022/03/dear-manager-youre-holding-too-many-meetings"><em>“Dear Manager, You’re Holding Too Many Meetings”</em></a> by <a href="https://hbr.org/search?term=ben%20laker">Ben Laker,</a> <a href="https://hbr.org/search?term=vijay%20pereira">Vijay Pereira,</a> <a href="https://hbr.org/search?term=ashish%20malik">Ashish Malik,</a><a href="https://hbr.org/search?term=lebene%20soga">Lebene Soga</a></p><h3>Organise and re-organise your calendar</h3><p>Create an excel and add there your activities/areas for one week and the time you should spend on them. Compare it with reality and adjust and review (every 3 months). This idea is inspired by the book “Managing Time (HBR 20-Minute Manager Series)” which you help to learn to:</p><ul><li>Assess how you spend your time <em>now</em></li><li>Prioritize your tasks</li><li>Plan the right time to work on each one</li><li>Avoid procrastination and interruptions</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*tw1BWeh4JMfRq2Qq" /></figure><p>Plan your day in advance: define 3 priorities per day, and make a retrospective at the end of the day.</p><p>Plan your week/month in advance. Make a retrospective at the end of the week/month and observe how have you spent the time, what have you achieved, what worked well, and where it is the place for improvement.</p><p>If you are having a complex task to do work split that big task into small and achievable sub-tasks on which you could work between your meetings and also get the feeling of working towards the biggest goal.</p><p><em>Prepare a presentation about next year’s tech strategy</em></p><ul><li><em>search 3–5 resources about how to prepare a tech strategy</em></li><li><em>review the resources and take notes</em></li><li><em>search for samples done by other colleagues, teams</em></li><li><em>collect ideas from your manager about what that presentation should contain</em></li><li><em>define a high-level agenda based on the research done</em></li><li><em>create the slides’ skeleton</em></li></ul><p>Focus on building your second brain: take notes, collect resources, reuse them, track progress and have the end purpose in mind. Check the <a href="https://magdamiu.com/2022/08/25/building-a-second-brain-by-tiago-forte/">[book summary] “Building a second brain” by Tiago Forte</a>.</p><h3>Manage your energy and apply the right time management technique(s)</h3><p><em>“Time is a finite resource, but energy is different. It has four wellsprings-the body, emotions, mind, and spirit-and in each, it can be systematically expanded and renewed.”</em> from <em>“Manage Your Energy, Not Your Time”</em> by <a href="https://hbr.org/search?term=tony%20schwartz">Tony Schwartz</a> and <a href="https://hbr.org/search?term=catherine%20mccarthy">Catherine McCarthy</a></p><p>Check also these <a href="https://asana.com/resources/time-management-tips">18 time management tips</a>, strategies, and quick wins to get your best work done and choose the right one for you.</p><p>Use the Eisenhower Decision Matrix to prioritise your work</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/0*lPeMxjJwgW9cKtrz" /></figure><h3>Trust your team members</h3><p>Analyze and be honest with yourself: what is the area where you could bring the biggest impact and that could be done only by you? Usually, the answer is not coding. 😀 Trust your team members, bring experienced colleagues, and create a context where they can grow. Make sure you highlight the mindset you want to have on your team, give them the right tools and resources, and let them shine.</p><h3>Continue to be a tech person</h3><p>You could take small coding tasks but make sure they are not on the critical path. Also a good approach could be to be involved in the code review process.</p><p>Encourage your colleagues to share their knowledge. Help them to identify areas of improvement and build with them learning paths. Watch them and learn from them.</p><p>You also could work on automating some activities/tasks that will improve the developers’ experience (reminders on slack, wiki pages with Jira filters, bots on slack, etc)</p><h3>Continue to learn</h3><p>On your quarterly objectives make sure to add items related to the tech area: read a book, participate at a conference, prepare and give a tech talk, check the latest trends in the industry, be connected on Twitter/LinkedIn with the relevant themes/topics for you, subscribe to the newsletters, make a training, watch a tutorial.</p><p>All these activities will help you to be in touch with the technology but also you could be a model or inspiration for your colleagues.</p><p>📚 More about this challenge:</p><ul><li><a href="https://www.intercom.com/blog/engineering-managers-write-code/"><em>“When should engineering managers write code?”</em></a></li><li><a href="https://medium.com/@kathleencodes/do-you-even-code-anymore-how-to-keep-up-your-technical-skills-without-annoying-your-team-s-6abc8486f273"><em>“Do you even code anymore? How to keep up your technical skills without annoying your team(s)”</em></a></li><li><a href="https://leaddev.com/personal-development/want-stay-technical-manager-stay-curious"><em>Want to stay technical as a manager? Stay curious</em></a></li></ul><p><em>Originally published at </em><a href="https://magdamiu.com/2023/02/11/top-3-challenges-after-becoming-an-engineering-manager/"><em>http://magdamiu.com</em></a><em> on February 11, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8087bbbfd3e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing Data-Intensive Applications — Data Models and Query Languages]]></title>
            <link>https://magdamiu.medium.com/designing-data-intensive-applications-data-models-and-query-languages-771e4c5b832b?source=rss-3056258d1643------2</link>
            <guid isPermaLink="false">https://medium.com/p/771e4c5b832b</guid>
            <dc:creator><![CDATA[Magda Miu]]></dc:creator>
            <pubDate>Wed, 18 Jan 2023 10:31:50 GMT</pubDate>
            <atom:updated>2024-01-09T17:28:19.731Z</atom:updated>
            <content:encoded><![CDATA[<h3>Designing Data-Intensive Applications — Data Models and Query Languages</h3><p>The Chapter 2 from “Designing Data-Intensive Applications” by Martin Kleppmann is covering concepts like data models and query languages.</p><p>Data models are having direct impact on how the software is written, but also define how we think about the problem we are working to solve.</p><p>There are multiple data models for data storage and querying and the most common used are relational models, document models and graph based data models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/0*UzqxoB6E8U7oIHFJ" /></figure><h3>Relational Model vs Document Model</h3><p>The SQL data model was a theoretical proposal done by by Edgar Codd in 1970. In this model the data is organised intro <strong>relations</strong> which are called <strong>tables</strong> in SQL, and each relation is an unordered collection of <strong>tuples</strong> which are called <strong>rows</strong> in SQL.</p><p>The purpose of this relational model was to hide the implementation details behind a cleaner interface and proved to be present in the software world for more than 25 years. It dominated the network and hierarchical models which were the main alternatives in the 70s and 80s.</p><p>In the 2010s, NoSQL is another attempt to overthrow the relational model’s dominance. Its name is coming from a Twitter hashtag (later on reinterpreted as Not Only SQL) used for a meetup on open source, distributed, non-relational databases in 2009.</p><p>Why to adopt a NoSQL database:</p><p>Object relational impedance mismatch — this is actually a fancy way of saying: “Yes, it is difficult getting stuff into and out of the database”. The purpose of an ORM is to solve this issue or at least to make the things easier in translating the entities from database to objects (when working with OOP, but it can’t completely hide the differences between the two models.</p><p>The JSON model is seen by some developers as a model that reduces the impedance mismatch between the application code and the storage layer, but even so it is not perfect. A thing is sure, the JSON representation has better <em>locality</em> than the multi-table schema because if you want to fetch some data from a relational model you will need to join the info from multiple tables, but with the JSON you could store the data in one single place.</p><blockquote><em>When it comes to representing many-to-one and many-to-many relationships, relational and document databases are not fundamentally different: in both cases, the related item is referenced by a unique identifier, which is called a </em>foreign key<em> in the relational model and a </em>document reference<em> in the document model [ </em><a href="https://learning.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/ch02.html#MongoDB2013"><em>9</em></a><em>]. That identifier is resolved at read time by using a join or follow-up queries.</em></blockquote><p>PRO arguments for document data model:</p><ul><li>schema flexibility — document databases are sometimes called <em>schemaless</em>, but a more accurate name will be <em>schema-on-read</em> because the structure of the data is implicit, and only interpreted when the data is read. Schema-on-read it is in contrast with <em>schema-on-write</em> which is the traditional approach of relational databases, where the schema is explicit and the database ensures all written data conforms to it. Also the <em>schema-on-read</em> approach is very useful when the items from a collection don’t all have the same structure for some reason.</li><li>better performance due to locality — a document is usually stored as a single continuous string, encoded as JSON, XML or a binary variant. It is also recommended to keep the documents fairly small and avoid writes that increase the size of the document. An aspect to mention here is that the idea of grouping related data together for locality is present not only in the document model: Google’s Spanner database offers the same locality properties in a relational data model, same for Oracle (multi-table index cluster tables), or Bigtable data model with the column-family concept used in Cassandra and HBase.</li><li>for some apps it is closer to the data structures used by the app</li></ul><p>PRO arguments for relational data model:</p><h3>Query Languages for Data</h3><p>There are multiple query languages for data:</p><ul><li>SQL is a declarative query language for relational model</li><li>MapReduce querying</li><li><a href="https://en.wikipedia.org/wiki/MapReduce">“MapReduce</a> is a programming model for processing large amounts of data in bulk across many machines, popularized by Google”</li><li>“MapReduce is neither a declarative query language nor a fully imperative query API, but somewhere in between: the logic of the query is expressed with snippets of code, which are called repeatedly by the processing framework. It is based on the map (also known as collect) and reduce (also known as fold or inject) functions that exist in many functional programming languages.”</li><li>“The map and reduce functions are somewhat restricted in what they are allowed to do. They must be pure functions, which means they only use the data that is passed to them as input, they cannot perform additional database queries, and they must not have any side effects. These restrictions allow the database to run the functions anywhere, in any order, and rerun them on failure. However, they are nevertheless powerful: they can parse strings, call library functions, perform calculations, and more.”</li></ul><h3>Graph-Like Data Models</h3><p>A graph consists of two kinds of objects</p><ul><li><em>vertices (also known as nodes or entities)</em></li><li><em>edges (also known as relationships or arcs)</em></li></ul><p>There are 3 main types of data modeled as a graph</p><ol><li>Social graphs — Vertices are people, and edges indicate which people know each other.</li><li>The web graph — Vertices are web pages, and edges indicate HTML links to other pages.</li><li>Road or rail networks — Vertices are junctions, and edges represent the roads or railway lines between them.</li></ol><p>There are several different, but related, ways of structuring and querying data in graphs:</p><ul><li>the property graph model (implemented by Neo4j, Titan, and InfiniteGraph)</li><li>the triple-store model (implemented by Datomic, AllegroGraph, and others).</li></ul><p><strong>Property Graphs</strong></p><p>In the property graph model, each vertex consists of:</p><p>Each edge consists of:</p><ul><li>A unique identifier</li><li>The vertex at which the edge starts (the <em>tail vertex</em>)</li><li>The vertex at which the edge ends (the <em>head vertex</em>)</li><li>A label to describe the kind of relationship between the two vertices</li><li>A collection of properties (key-value pairs)</li></ul><blockquote><em>Graphs are good for evolvability: as you add features to your application, a graph can easily be extended to accommodate changes in your application’s data structures</em></blockquote><p><strong>The Cypher Query Language</strong></p><blockquote><em>Cypher is a declarative query language for property graphs, created for the Neo4j graph database. (It is named after a character in the movie The Matrix and is not related to ciphers in cryptography)</em></blockquote><p>As is typical for a declarative query language, you don’t need to specify such execution details when writing the query: the query optimizer automatically chooses the strategy that is predicted to be the most efficient, so you can get on with writing the rest of your application.</p><p><strong>Triple-Stores and SPARQL</strong></p><p>The triple-store model is mostly equivalent to the property graph model and all info is stored in the form of three-part statements: <em>(subject, predicate, object)</em>.</p><p>The Resource Description Framework (RDF) is a standard model for data publishing and interchange on the Web developed by the W3C. RDF is the standard used in a semantic graph database, also referred to as an RDF triplestore.</p><p><a href="https://www.w3.org/TR/sparql11-query/">SPARQL</a>, pronounced ‘sparkle’, is the standardized query language for RDF, the same way SQL is the standardized query language for relational databases.</p><h3>The Summary</h3><p>When choosing a database, it is important to consider data size, structure, relationships, and how important it is to enforce schemas and ensure consistency.</p><p>The key points for each kind of database:</p><p><strong>Relational database</strong> <strong>Graph database</strong> <strong>Document store</strong> <strong>Key-value store / object store</strong> <strong>Column-family database</strong></p><ul><li>groups related columns for storage (easy to scale)</li><li>memory effective for sparse data</li></ul><p><strong>Search engine database</strong></p><ul><li>large amounts of unstructured data</li><li>full text search or fuzzy search service</li></ul><p><strong>Time series database</strong></p><ul><li>data is ordered by time</li><li>many data streams</li><li>real time entry ordering functionality</li></ul><h3>📚 Resources</h3><p>If you want to learn more about system design check the following resources</p><ul><li>A <a href="https://github.com/madd86/awesome-system-design">curated list</a> of awesome System Designing articles, books and videos.</li><li>An <a href="https://robertheaton.com/2020/04/06/systems-design-for-advanced-beginners/">article</a> about Systems Design for advanced beginners</li><li>More details about <a href="https://www.ibm.com/cloud/blog/sql-vs-nosql">SQL vs NoSQL</a>, and also check this talk: “<a href="https://www.youtube.com/watch?v=qI_g07C_Q5I">Introduction to NoSQL • Martin Fowler • GOTO 2012</a>”</li><li>An illustrated short article about <a href="https://blog.bytebytego.com/p/ep36-types-of-databases-and-use-cases">how do you decide which type of database to use</a> (<a href="https://www.youtube.com/watch?v=kkeFE6iRfMM">video</a> version), <a href="https://blog.bytebytego.com/i/69544276/how-is-a-sql-statement-executed-in-the-database">how is a SQL statement executed in the database</a>, plus <a href="https://www.youtube.com/watch?v=I6jB0nM9SKU">the Secret Sauce Behind NoSQL: LSM Tree</a></li><li><a href="https://architecturenotes.co/things-you-should-know-about-databases/">Relational Databases Explained</a> — How Relational Databases Work. This post talks about how indexes and transactions work on the inside of relational databases.</li></ul><p><em>Originally published at </em><a href="https://magdamiu.com/2023/01/18/data-models-and-query-languages/"><em>http://magdamiu.com</em></a><em> on January 18, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=771e4c5b832b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing Data-Intensive Applications — Reliability, Scalability & Maintainability]]></title>
            <link>https://magdamiu.medium.com/designing-data-intensive-applications-reliability-scalability-maintainability-e9a08e481436?source=rss-3056258d1643------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9a08e481436</guid>
            <dc:creator><![CDATA[Magda Miu]]></dc:creator>
            <pubDate>Sat, 10 Sep 2022 08:30:34 GMT</pubDate>
            <atom:updated>2024-01-09T17:26:48.810Z</atom:updated>
            <content:encoded><![CDATA[<h3>Designing Data-Intensive Applications — Reliability, Scalability &amp; Maintainability</h3><p>When designing systems/services is about combining <em>functional requirements</em> (what the system should do) with <em>non-functional requirements</em> (quality attributes or <a href="https://en.wikipedia.org/wiki/List_of_system_quality_attributes">ilities</a>). The challenge here is to develop software with the right quality levels. And to solve this challenge, here comes the concept of <a href="https://magdamiu.com/2021/02/22/software-architecture-methodology/">Software Architecture Methodology</a> which helps us to build a bridge between the problem space and the solution space.</p><p>My role, as an Engineering Manager, is also about technical leadership and helping my teams making the right technical decisions based on data, best practices and current expectations from our clients. And since I just finished to read <a href="https://magdamiu.com/2022/08/25/building-a-second-brain-by-tiago-forte/">“Building a Second Brain”</a>, I include here my notes from the book <a href="https://learning.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/">“Designing Data-Intensive Applications” by Martin Kleppmann</a>, a must-read in the system design field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/0*H4SGX524Ce5iMcCT" /></figure><p>Designing data systems or services is about trying to identify answers for a set of questions like:</p><ul><li>How do you ensure that the data remains correct and complete, even when things go wrong internally?</li><li>How do you provide consistently good performance to clients, even when parts of your system are degraded?</li><li>How do you scale to handle an increase in load?</li><li>What does a good API for the service look like?</li></ul><p>From a long list of qualities, in this article we will cover three of them: reliability, scalability, maintainability.</p><h3>Reliability</h3><p>The system should continue to work <em>correctly</em> (performing the correct function at the desired level of performance) even in the face of <em>adversity</em> (hardware or software faults, and even human error).</p><p>The checklist of a reliable system:</p><ul><li>it offers the function that the user expected</li><li>it tolerates the user making mistakes or using it in unexpected ways</li><li>it has a good enough performance under the expected load and data volume</li><li>it is secure (prevents any unauthorised access)</li></ul><p>Reliability = “<em>continuing to work correctly, even when things go wrong</em> “</p><p><strong>Fault vs Failure</strong></p><p>Fault = one component of the system deviating from its spec; there are hardware (typically random and uncorrelated), software (bugs), and human.</p><p>Failure = the system as a whole stops providing the required service to the user</p><p>How to make a system reliable:</p><ul><li>minimise the risk for error ⇒ well-designed abstractions</li><li>have separate environments ⇒ dev, stage, pre-prod, prod</li><li>testing, testing, testing ⇒ unit tests, integration tests, performance tests, end2end testing</li><li>deployment pipelines ⇒ rollback procedure, canary releases, gradually releases</li><li>monitoring and alerting ⇒ telemetry</li><li>practices and process ⇒ incident management process, operational readiness checklists, coding guidelines, branching strategies</li></ul><h3>Scalability</h3><p>As the systems <em>grows</em> there should be reasonable ways of dealing with that growth (load).</p><p>To address the scalability is about having answers at the next questions:</p><ul><li>If the system grows in a particular way, what are our options for coping with the growth?</li><li>How can we add computing resources to handle the additional load?</li></ul><p>But before finding answers at the questions, the load parameters should be identified. They could be requests per second, read-write ratio, active users, hit rate on a cache.</p><p>After the load parameters are in place, the next step is to describe the performance: when a load parameter is increased, how much do we need to increase the resources so we can keep performance unchanged?</p><p><strong>Latency vs Response Time</strong></p><p>“ <em>Latency</em> and <em>response time</em> are often used synonymously, but they are not the same. The response time is what the client sees: besides the actual time to process the request (the <em>service time</em>), it includes network delays and queueing delays. Latency is the duration that a request is waiting to be handled-during which it is <em>latent</em>, awaiting service.” (Martin Fowler: <em>Patterns of Enterprise Application Architecture)</em></p><p><strong>SLA vs SLO vs SLI</strong></p><p>An <strong>SLA</strong> (service level agreement) = the agreement you make with your clients and users</p><p>An <strong>SLO</strong> (service level objective) = the objectives your team must hit to meet that agreement</p><p>An <strong>SLI</strong> (service level indicator) = the real numbers on your performance</p><p>High percentiles become especially important in backend services that are called multiple times as part of serving a single end-user request.</p><p><em>Tail latency amplification</em> = when an end-user request requires multiple backend calls and having multiple users results in having slow responses</p><p>How to scale a system:</p><ul><li>scaling up or vertical scaling ⇒ increase the performance of the machine</li><li>scaling out or horizontal scaling ⇒ have multiple machines that will process the load</li><li>elastic systems ⇒ if load is highly unpredictable the systems can automatically add computing resources when they detect a load increase</li></ul><h3>Maintainability</h3><p>The people that are working on the system should be able to work on it <em>productively.</em></p><p>This quality of the system is not easy to achieve, but also not impossible. It is about having a set of KPIs, automated process to monitor those KPIs and also building in your team a quality mindset (clean code guidelines, testing, automation, prioritising tech debt, etc).</p><h3>If you want to learn more…</h3><ul><li><a href="https://www.youtube.com/watch?v=llGgO74uXMI&amp;t=8s">Core Design Principles for Software Developers by Venkat Subramaniam</a></li><li><a href="https://www.youtube.com/watch?v=znZlF4uQBN0">Reasons &amp; Ways to Improve Code Quality • Venkat Subramaniam</a></li><li><a href="https://www.youtube.com/watch?v=4MEKu2TcEHM&amp;t=1s">Don’t Walk Away from Complexity, Run • Venkat Subramaniam • GOTO 2018</a></li><li><a href="https://magdamiu.com/2021/02/22/software-architecture-methodology/">Software Architecture Methodology</a></li><li><a href="https://sre.google/books/">Site Reliability Engineering from Google</a></li></ul><p><em>Originally published at </em><a href="https://magdamiu.com/2022/09/10/reliability-scalability-maintainability/"><em>http://magdamiu.com</em></a><em> on September 10, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9a08e481436" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[About Feedback]]></title>
            <link>https://medium.com/swlh/about-feedback-d048092c3640?source=rss-3056258d1643------2</link>
            <guid isPermaLink="false">https://medium.com/p/d048092c3640</guid>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[mentoring]]></category>
            <category><![CDATA[coaching]]></category>
            <category><![CDATA[feedback]]></category>
            <dc:creator><![CDATA[Magda Miu]]></dc:creator>
            <pubDate>Fri, 17 Jun 2022 16:33:56 GMT</pubDate>
            <atom:updated>2022-06-25T12:49:26.899Z</atom:updated>
            <content:encoded><![CDATA[<p>Working as part of a team is about collaboration and communication. In the equation of improving the processes and our leadership style, feedback is a powerful tool.</p><p>Giving and receiving feedback is a skill that could be learned. It takes time, courage, and involvement in transforming it into a habit, but the positive impact brought worth all the effort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QxB6yuN2QtjOTFWS" /></figure><h3>Give feedback</h3><p>Feedback is a learning process and an opportunity to grow. Feedback is about the behavior, not about the person. The purpose of the feedback is to help someone behave differently.</p><p>Barbara Fredrickson shares her research on <a href="https://www.youtube.com/watch?v=_hFzxfQpLjM">the ideal ratio of positive to negative emotions</a> which is 3:1 (the positivity ratio), this means that for 3 congratulatory feedback offer 1 constructive feedback.</p><h4>Congratulatory feedback</h4><ul><li>Emphasis the value that you want to encourage and promote</li><li>The feedback should be genuine</li></ul><p>The structure of the congratulatory feedback<br>- State the facts and the behaviors: explain with concrete examples a positive aspect, and strengths that you would like the person to continue to boost<br>- Indicate the feeling: say what it brings and makes you feel</p><p>Sample: <em>“Julie, I appreciate the fact that yesterday you took the ownership to solve that critical bug and you collaborated with your colleagues to solve it. That emphasized your ability to be committed and focused on what was urgent and important for our customers. Thank you! Great achievement!”</em></p><h4>Constructive or development feedback</h4><p>Focus on the observed facts (be objective, use numbers, dates, and concrete details, not perceptions)</p><p>To give constructive feedback well <a href="https://knowyourteam.com/blog/author/claire/">Claire Lew, CEO of Know Your Team</a> recommends:</p><ul><li>Come from a place of <strong>Care</strong></li><li>Come from a place of <strong>Observation</strong></li><li>Come from a place of <strong>Fallibility</strong></li><li>Come from a place of <strong>Curiosity</strong></li></ul><p>If you’re not used to giving difficult feedback regularly, here’s how you can start doing so:</p><ul><li>Ask for permission.</li><li>Make sure you give the feedback right away.</li><li>Give yourself small “feedback goals.”</li><li>Explain “the why.”</li><li>Always share the impact</li><li>If it is possible connect your feedback with your colleague’s objectives. This way the other person will understand what’s in it for him/her</li><li>Acknowledge that your feedback is necessarily incomplete (you have a partial view of reality)</li><li>Invite critical feedback about yourself.</li><li>Use a framework</li></ul><p>Challenge yourself to <strong>find three things every day on which you could give feedback</strong>. This helps train your mind to see everything as an opportunity to give feedback, instead of dismissing your own observations. (by <a href="https://knowyourteam.com/blog/author/claire/">Claire Lew, CEO of Know Your Team</a>)</p><p>I personally prefer to use the “ <a href="https://larahogan.me/blog/feedback-equation/">feedback equation</a> “ framework done by Lara Hogan.</p><p>Sample: <em>(observation) Mark, I’ve noticed your emails usually include three to five words in the body. I know you are working to have better communication so this is why I came to you.</em><br><em>(impact) I have a hard time understanding what you mean in those emails. I often need to reply to your email with more questions to get clarification or more context, which adds time to the process.</em><br><em>(question) Can you help me understand </em><strong><em>what</em></strong><em>’s your approach to writing emails?</em></p><h4>Feed-forward feedback</h4><ul><li>Used to help someone progress with a task, a skill, or a mission; something they could try in the future</li><li>Focus on recommending clear actions or behaviors</li><li>Do not focus on the past behaviors that could not be changed</li><li>The major feedforward questions are <em>‘Where am I going?’</em>, <em>‘How am I doing?’</em> and <em>‘Where next?’</em>.</li></ul><p>Sample: “ <em>I recommend you include a bit more context in your emails and consider thinking about the receivers of the email, and what is important and relevant for them.”</em></p><h4>Feedback models</h4><p><a href="https://www.mindtools.com/pages/article/situation-behavior-impact-feedback.htm"><strong>SBI (Situation — Behavior — Impact)</strong></a><strong><br></strong>- Situation: you outline the situation you’re referring to so that the context is clear and specific.<br>- Behavior: you discuss the precise behavior that you want to address.<br>- Impact: finally, you highlight the impact of the person’s behavior on you, the team, and the organization.</p><p><strong>The McKinsey’s feedback model</strong> — the intent of the model is to make the feedback: specific, fact-based, less personal, irrefutable, actionable<br>Recommended format for structured feedback: <em>“When you did [A], it made me feel [B]. In the future, I would recommend that you do [C]”.<br></em>When using McKinsey’s model, feedback is delivered in three parts:<br>- <strong>A</strong> is the <strong>specific action</strong>, event, or behavior you’d like someone to change.<br>- <strong>B</strong> is the <strong>impact</strong> of that behavior, in other words how it made you feel.<br>- <strong>C</strong> is a suggestion for what the person could <strong>do differently</strong> next time.</p><p><strong>The Stanford method: “I like; I wish; what if … ?”</strong> In this approach, your feedback starts the sentence with either “I like”, “I wish” or with a suggestion phrased as “What if … ?”<br>People respond well to this technique because the structure describes your feelings in a very non-accusing manner.</p><p><strong>The SAID feedback model</strong>: the model outlines how to give specific, concise feedback while also inviting feedback and coming to an agreement on the next steps<br>- Specific: describe the behaviors/actions you observed.<br>- Ask: seek to understand perspective.<br>- Impact: describe the impact.<br>- Do: agree on a course of action</p><p><strong>The SKS Feedback model:</strong> another effective way to approach feedback is by using SKS — “Stop”, “Keep”, and “Start”.</p><ul><li>What should the person <strong>stop</strong> doing?‍</li><li>What should the person <strong>keep</strong> doing?‍</li><li>What should the person <strong>start</strong> doing?</li></ul><p><a href="https://larahogan.me/blog/feedback-equation/"><strong>Feedback equation by Lara Hogan</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/0*leZwqQvbbEzEdkJl" /></figure><blockquote><strong>Radical Candor<br></strong>Radical Candor is a framework that should be used as a compass to guide individual conversations with the purpose to build a better place. This framework puts building good relationships at the center of a manager’s job.</blockquote><p>Radical Candor is a feedback mindset that prioritizes Caring Personally and Challenging Directly.<br>- <strong>Care personally</strong> = <em>“give a damn”</em> dimension of radical candor.<br>- <strong>Challenge directly</strong> = <em>“willingness to piss people off”</em>.</p><p>When we challenge directly but forget to show that we care personally it is called <em>“obnoxious aggression”</em>.<br>When we do not challenge that person and we also forget to care personally it is called <em>“manipulative insincerity”</em>.<br>When we do not challenge that person, but we are very afraid that we could hurt that person’s feelings, it is called <em>“ruinous empathy”</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HSf6DUt6vM7__Dl7" /></figure><h4>The Johari Window</h4><p>When I first discovered <a href="https://en.wikipedia.org/wiki/Johari_window">the Johari Window Model</a> I realized that it helps to increase our self-awareness, and self-perception and inspires us to be more open. The skill of giving and receiving feedback is an important asset and tool that guides us to address our weak spots.</p><ul><li>1:1 open area or arena = I know, you know</li><li>2:1 hidden window, facade = I know, but you don’t know</li><li>1:2 blind area, blind spot = I don’t know, but you do ⇒ <strong>here is the feedback</strong></li><li>2:2 unknown = I don’t know, you don’t know</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/0*S9po4zYki8Y31Nv3" /></figure><h3>Receive feedback</h3><p>Creating a culture of feedback takes time, and as a leader, you should be a role model in giving feedback, but also in knowing how to receive it. <em>“Model the behavior you wish more people would display. Lead first.”</em> — Robin S. Sharma</p><p>What to do if you do not receive feedback as often as expected?!</p><p>Ask at the end of each 1:1 if the team member has some constructive feedback for you. If yes, then your response should be: <em>“Thank you! Please could you tell me more?”</em>. You should be curious to understand better the perspective:</p><ul><li><em>“Can you give me an example of what you’re talking about, just so I can better understand and improve for the future?”</em></li><li><em>“Going forward, what’s the one thing you’d like to see done differently?”</em></li><li><em>“Was there a specific moment or occurrence that triggered what you’re de- scribing?”</em></li><li><em>“What would success look like to you in this situation?”</em></li><li>Reflect on the received feedback: <em>“What about me is true from the received feedback?”, “How I am wrong?”, “When I am wrong?”</em></li></ul><p>To differentiate yourself, start by sharing your improvement areas and ask them in advance for feedback as they see you in action.</p><p>Share with your team when you received some constructive feedback and about the fact that you are working to address it and what are the steps to do that. This shows that you are vulnerable and open to working to improve your leadership skills. Also, when you make a change or a decision based on the received feedback you should mention that to let the team know that you have listened to their perspective and you act on it.</p><p>Ask for “advice” or “recommendation” instead of “feedback”</p><p>Assume good intent and follow up with gratitude: remind yourself that the person giving you the feedback is taking a risk by giving you their honest take</p><p>Use these 2 questions to start the conversation and to communicate intentionally: <em>“Is there anything I should be doing for you that I am not doing?” or “Anything I should be doing better or more often?”</em></p><p>Ideas from my super amazing coach, <a href="https://www.linkedin.com/in/samamit/">Samantha Amit</a></p><ul><li>Have an agreement with the team that you value the feedback and emphasis as much as possible the importance of giving and receiving feedback</li><li>Share the fact that you are working to improve your skills of giving constructive feedback and their support is very valuable for you</li><li>Ask for permission when you want to offer some feedback: <em>“Could I give you my perspective about …?”</em></li><li>Give the feedback without spending too much time preparing it</li><li>Analyze and journal how are you feeling and when is it necessary to give constructive/development feedback. What is causing the stress? How are you feeling at that moment?</li><li>Practice what you learned until now about how to give and receive feedback. Make it a measurable objective</li><li>Encourage and celebrate when a team member offers feedback to his/her colleagues or to me</li></ul><p><em>Speaking up is only the first step. The true test is how leaders respond when people actually speak up. — Amy Edmondson, </em><a href="https://fearlessorganization.com/the-fearless-organization"><em>The Fearless Organization</em></a></p><h3><strong>Conclusion</strong></h3><p>These are the learnings and notes that I collected in the latest years about feedback. I must admit that it was challenging for me to give constructive feedback, but I realized that by avoiding this practice I am not offering my colleagues the opportunity to be aware of the behaviors that should be improved. It is my responsibility to set up my people for success and in this leadership journey it is not about me and my anxiety it is about my team members. So, dare to give feedback! 😉</p><h3>Resources</h3><p>Articles</p><ul><li><a href="https://review.firstround.com/the-best-leaders-are-feedback-magnets-heres-how-to-become-one">The Best Leaders are Feedback Magnets — Here’s How to Become One</a></li><li><a href="https://review.firstround.com/our-6-must-reads-for-managers-to-give-feedback-that-helps-people-grow">Our 6 Must Reads for Managers to Give Feedback That Helps People Grow</a></li><li><a href="https://www.dein.fr/posts/2016-12-02-negative-feedback-antipatterns">Negative feedback antipatterns</a></li><li><a href="https://larahogan.me/blog/feedback-equation/">Feedback equation</a> by Lara Hogan</li></ul><p>Books</p><ul><li><a href="https://www.radicalcandor.com/">Radical Candor</a> by Kim Scott</li><li><a href="https://cruciallearning.com/crucial-conversations-for-dialogue/">Crucial Conversations</a> by Kerry Patterson, Joseph Grenny, Ron McMillan, Al Switzler, Stephen R. Covey. Check the <a href="https://alinmiu.com/tag/crucial-conversations/">summary</a> of the book</li></ul><p><em>Originally published at </em><a href="https://magdamiu.com/2022/06/17/about-feedback/"><em>http://magdamiu.com</em></a><em> on June 17, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d048092c3640" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/about-feedback-d048092c3640">About Feedback</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tips to ace a job interview]]></title>
            <link>https://magdamiu.medium.com/3-5-steps-to-ace-a-job-interview-e053970ecf3b?source=rss-3056258d1643------2</link>
            <guid isPermaLink="false">https://medium.com/p/e053970ecf3b</guid>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[hiring]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[Magda Miu]]></dc:creator>
            <pubDate>Sun, 27 Mar 2022 07:46:57 GMT</pubDate>
            <atom:updated>2022-04-09T07:02:11.589Z</atom:updated>
            <content:encoded><![CDATA[<p>The job interview experience is not an easy one, but the good news is that with the proper approach it could become steady.</p><p>In this article, I will cover the tools and a process to thoroughly prepare you for the interviews so you will nail them with confidence, enthusiasm, and less anxiety. So let’s discover together how to ace a job interview in 3,5 steps that will bring your dream job.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*q2Cxa5seKUEnjWdlPatnyw.png" /></figure><p>I will cover the experience of non-tech interviews, but these ideas and practices could be used also for the technical ones.</p><p>In my career, until now, the non-tech interviews in which I participated were of two types:</p><ul><li><strong>behavioural interviews</strong>: help employers to understand how you have performed and behaved in the past in both positive and negative situations. Usually, it covers past experiences and hypothetical questions.</li><li><strong>case-study interviews</strong>: help employers to understand how do you approach, document, and present solutions for a use case. For this type, the context-problem-solution(s) approach is a good match to present your submission.</li></ul><p><strong>The 3,5 steps to ace a job interview:</strong></p><ul><li>Step 1: Before the interview — how to prepare</li><li>Step 2: The day of the interview — how to be chill</li><li>Step 3: After the interview — how to continue</li><li>Step 3.5: The “secret” element</li></ul><h3>Step 1: Before the interview</h3><p>So you got an invite to participate in an interview for your dream job.</p><h3>How to prepare</h3><p><strong>Learn about the process</strong></p><ul><li>Clarify with the recruiter the expectations and the format of the interview, how long it will take, who will participate, what are the assessed skills</li><li>Review the job requirements and for each point prepare 2–3 samples from your experience</li><li>Be organised and prepare a learning plan based on how much time you have</li></ul><p><strong>Learn about the company</strong></p><ul><li>Discover the vision, mission, and values of the company and prepare samples from your experience that validate them</li><li>From the company’s website and job posting identify keywords and use them when you answer the questions during the interview</li><li>Practice with a friend and ask for constructive feedback</li></ul><p><strong>Learn about yourself</strong></p><ul><li>Knowing yourself is critical. Knowing your strengths, interests, values, experiences, skills, and abilities — these are what you will bring to the workplace</li><li>Prepare a list with relevant experiences and identify 3–4 situations rich in lessons learned, innovation or creativity, challenges, impact</li><li>Sleep enough (7–8 hours per night), take breaks, exercise, and eat healthily</li></ul><p>A very useful tool to use to learn more about yourself is to create a personal SWOT analysis:</p><ul><li><strong>Strengths</strong> — Advantages like skills, achievements, certifications, education, connections</li><li><strong>Weaknesses</strong> — Skills that should be improved (technical or work habits)</li><li><strong>Opportunities</strong> — Events, conferences, new role/project, industry growing</li><li><strong>Threats</strong> — Impediments at work, changes, weaknesses lead to threats</li></ul><p>For sure it is relevant to know your weaknesses, the current opportunities, and also the threats, but based on the <a href="https://your.yale.edu/work-yale/learn-and-grow/focus-your-strengths-focus-success">research</a> it brings more impact to focus on your strengths.</p><p>Curt Liesveld, a senior consultant for the Gallup organization, emphasises that <em>“you cannot be anything you want to be, but you can be a whole lot more of who you already are.”</em></p><p>But how to discover your strengths?!</p><ul><li>Listen to feedback</li><li>Consider your passions</li><li>Pay attention to when you are most productive</li><li>Ask others directly</li><li>Take a personality test (Gallup — <a href="https://www.gallup.com/cliftonstrengths/en/home.aspx">CliftonStrengths®</a>)</li><li>Seek out new experiences and observe yourself in those activities</li></ul><p>After the SWOT is done, have a system in place, an action plan based on the time you have available, and more than that focus to build good habits and break the bad ones. Here I recommend checking the book “Atomic Habits” by James Clear.</p><h3>What to prepare in advance</h3><ul><li>Have a pitch ready, they are likely to ask you to tell them about yourself. When you talk about your achievements, include also numbers.</li><li>Prepare to be asked to give feedback about the interview process or about that specific interview</li><li>What kind of questions to expect:</li><li>Behavioural question: <em>Tell me about a time when…</em></li><li>Hypothetical questions: <em>What if you need to…</em></li><li>Small talk questions: <em>Talk about hobbies, books, movies, trips<br>- </em>Areas to consider in your preparation plan for the interview:<br>- Difficult person, situation, project, task, decision<br>- Creative solution or approach to solving a challenge/issue<br>- Handle ambiguity<br>- Failures and lessons learned<br>- Success stories or achievements<br>- Give &amp; receive feedback<br>- Prioritisation &amp; rollout a process<br>- Collaborate, delegate &amp; empower<br>- Mentoring &amp; learning</li></ul><h3>What to ask</h3><p>Identify the elements that are important for you at a job (like work-life balance, moving to the next level on your career, learning &amp; development, mentoring, etc) and address questions related to those areas (3P = People Project Process):</p><ul><li><strong>People<br>- </strong>Team structure<br>- Stakeholders<br>- Manager</li><li><strong>Project<br>- </strong>Legacy code, dependencies, architecture<br>- Tasks management<br>- The lifecycle of a task</li><li><strong>Process<br>- </strong>On-call procedure<br>- Onboarding experience<br>- Learning opportunities<br>- Performance review<br>- Career growth</li></ul><h3>Step 2: The day of the interview</h3><p>The DAY of the interview is here. How to be chill?!</p><h3>Focus on the interview experience</h3><p><strong>During that day, work to take a very limited number of decisions</strong></p><ul><li>Know in advance what to eat, drink, wear on that day</li><li>Make sure you’re feeling comfortable</li><li>If online do not wear clothes with lines, patterns, or bright colors and avoid accessories that could be noisy</li></ul><p><strong>Have a clear plan in place</strong></p><ul><li>Online:<br>- Decide if it’s the case to have a virtual background. If yes, consider not wearing white clothes<br>- Set up your camera, microphone, lights, and run some tests before. Check the internet connection</li><li>Offline:<br>- Make sure you know the location and how to go there<br>- Have at least 30 minutes buffer</li></ul><p><strong>What to have next to you</strong></p><ul><li>Prepare a notebook and a pen or have an opened blank document on your computer</li><li>Your resume &amp; the job description</li><li>A big glass of water</li></ul><h3>How to answer</h3><p>Before you answer a question, take a deep breath and relax. Think about your response beforehand, and don’t start speaking until you know what you want to say. If you’re unsure about a question, ask the interviewer to repeat it, and don’t be afraid to request some extra “thinking time.”</p><p><strong>Setup</strong></p><ul><li>Make sure you understood the question (clarification and confirmation)</li><li>Be aware and define your assumptions</li><li>Don’t be afraid to admit you do not know</li><li>Be mindful about your body language</li></ul><p><strong>STAR method</strong></p><ul><li><strong>S</strong>ituation — describe the event or situation that you were in</li><li><strong>T</strong>ask — explain the task you had to complete</li><li><strong>A</strong>ction — describe the specific actions you took to complete the task</li><li><strong>R</strong>esult — close with the result of your efforts</li></ul><p><strong>CAR method</strong></p><ul><li><strong>C</strong>ontext — background of a specific situation</li><li><strong>A</strong>ction was taken — the action you took</li><li><strong>R</strong>esult — the results you achieved</li></ul><p><strong>Think on Your Feet® approach — emphasises structure when communicating</strong></p><ul><li>Analyse — think what you want to share</li><li>Separate — structure ideas using keywords or steps</li><li>Dynamism — connect the ideas and build the story</li></ul><p><strong>STAR template in action</strong></p><p><strong>Question<br></strong><em>“Tell me about a time when you performed well under stress.”</em></p><p><strong>Answer</strong></p><p><strong>Situation<br></strong><em>One time, at my last job, my coworker had a family emergency and needed to miss work for some time, and her project was left unfinished and without a manager.</em></p><p><strong>Task<br></strong><em>My manager instructed me to take on the project, and I had days to complete a project that originally should have taken several weeks.</em></p><p><strong>Action<br></strong><em>I was able to delegate a part of my goals to some of my teammates.</em></p><p><strong>Result<br></strong><em>With the reduction in my daily goals, I was able to dedicate more time to the special project. This allowed me to finish it on time and with complete accuracy. My manager appreciated my attitude and drive, and I was given a promotion and pay raise.</em></p><p><strong>CAR template in action</strong></p><p><strong>Question<br></strong><em>“Describe a situation when one of your team members complained about his job.”</em></p><p><strong>Answer</strong></p><p><strong>Context/ Challenge<br></strong><em>At the previous company, I had a team member who just joined the team and mentioned after 1 month that he would like to change the team because the current context is not ok for him.</em></p><p><strong>Action Taken<br></strong><em>I recommended him to prepare a list with SMART objectives and expectations and we addressed together each point to discover concrete actions to make.</em></p><p><strong>Results<br></strong><em>The result of that conversation was an actions plan on which we worked together and follow up to check the progress. The colleague started to achieve his expectations and improved his engagement.</em></p><h3>Step 3: After the interview</h3><p>The interview is done, now you must wait for the feedback. How to continue?!</p><h3>What to cover at the end</h3><p>Ask about when you could get the feedback for that interview<br>Send a thank-you note<br>Note the questions you received during the interview to reassess your answers<br>Make a retrospective to evaluate your experience<br>- Have you set realistic goals for preparing for this interview?<br>- Do you need to do your pre-interview research more thoroughly?<br>- Have you presented yourself in the best possible manner?<br>- Identify some actions to start, stop, continue doing on the next interview</p><h3>Step 3.5: The “secret” element</h3><p>If you covered the previous steps, your job as a candidate is done. But what could make a difference in the entire interview experience?! What is the “secret” element that could help you to be focused, and to achieve your objectives?!</p><p>The answer is to continue to <strong>be confident and enthusiastic.</strong> Remember to have courage and challenge yourself. Enjoy the journey, not only the destination. After each interview experience, you will gain a lot of new knowledge. And also please remember that if the preparation process is difficult, take a break, then start over. You got this! 😉</p><p>You could check also the <a href="https://yougotthis.io/talks/ace-job-interviews">video version</a> of this article. Hope you will enjoy it! Thank you!</p><p><em>Originally published at </em><a href="https://magdamiu.com/2022/03/27/tips-to-ace-a-job-interview/"><em>http://magdamiu.com</em></a><em> on March 27, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e053970ecf3b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[High performance with idiomatic Kotlin]]></title>
            <link>https://magdamiu.medium.com/high-performance-with-idiomatic-kotlin-d52e099d0df0?source=rss-3056258d1643------2</link>
            <guid isPermaLink="false">https://medium.com/p/d52e099d0df0</guid>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[high-performance]]></category>
            <category><![CDATA[idiomatic-kotlin]]></category>
            <dc:creator><![CDATA[Magda Miu]]></dc:creator>
            <pubDate>Thu, 03 Feb 2022 13:00:34 GMT</pubDate>
            <atom:updated>2022-02-04T09:26:35.965Z</atom:updated>
            <content:encoded><![CDATA[<p>Multiple factors shape the experience of our users. As a mobile developer, but also as an engineering manager, I learned that nothing is more likely to drive users away than a poorly performing app. So this is why we, as developers, should focus on continuously improving this attribute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C6HdzKHJa6XXZA-12css3g.png" /></figure><p>This article includes details about <strong>(I)why high performance is essential</strong> when we build software products, an overview of<strong> (II)the most common reasons for performance issues</strong>, <strong>(III)how to measure performance</strong>, and <strong>(IV)how Kotlin could help us to build quality products</strong> by writing maintainable, secure, and expressive Kotlin code in an idiomatic way. But first let’s define the terms.</p><h3>🧐 What idiomatic Kotlin means</h3><p>When we talk about<strong> idiomatic Kotlin</strong>, we talk about using the features of the language effectively and efficiently.</p><h3>🧐 What performance means</h3><p><strong>Performance</strong> is a complex term that can include how fast the data is transmitted, stability and scalability, how fast the app responds, or how we use the devices’ resources. <br>As developers, our role is to develop software for people, and so we should <strong>focus on the elements that affect their experience. </strong>The best-case scenario is to identify the bottlenecks before they start to become visible and affect the user’s experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z8EcqRPs31Kp3yMe9-tvYQ.png" /></figure><p>Now, let’s discover together <strong>how performance impacts the user experience</strong>.</p><p>Based on the <a href="https://neilpatel.com/blog/loading-time/">studies</a> users appreciate fast-loading pages. A fast website or app gives to users a sense of <strong>progress</strong>. The users feel they are achieving their goals quickly and that gives them satisfaction.</p><p>Also, the studies show that <strong>40% of people abandon a website that takes more than 3 seconds to load</strong>. Worst, <strong>79% of users who are dissatisfied with a website’s performance are less likely to buy from the same site again.</strong> The bad news is that poor performance will not only negatively affect customer satisfaction. It hurts also the brand of the product. This effect is generated also because <strong>44% of users will tell their friends about a bad experience online</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xyt6fenfrkXaJjSgTiJZwg.png" /><figcaption><em>“How Loading Time Affects Your Bottom Line”</em> by Neil Patel</figcaption></figure><p>⚠️ So what is the lesson we should learn: poor performance reduces user satisfaction, can drive users away, and damages your brand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u1il5NMQ9ZF-YQDw0ruKDg.png" /></figure><p>Have you ever been in a queue waiting to buy or pay something? How is the time passing? Fast or slow? Usually slow… The reason for this understanding is the difference between<strong> objective and subjective time</strong>. Objective time is what a clock measures and subjective time is what we all sense.<br>When users report that our app or website is slow, we usually focus on making it objectively faster because objective time is easy to measure.</p><blockquote><strong>The </strong><a href="http://apps.usd.edu/coglab/WebersLaw.html"><strong>Difference Threshold</strong></a><strong> or “Just Noticeable Difference” (JND)<br></strong>Any human observable phenomena needs to have a certain level of difference in order for that difference to be noticeable.</blockquote><p>In the book<em> “ Designing and Engineering Time: The Psychology of Time Perception in Software”</em>, the author, Steven Seow recommends we address the next question when the users complain that the app or website is slow: “Do they <strong><em>know</em></strong> that it was slow or did they <strong><em>feel</em></strong> that it was slow?”.<br>From the same book, research shows that three in four people tend to <strong>overestimate waiting times</strong> and that such overestimations can be as high as <strong>25% of the actual time</strong>. So if your app is slow it should be 25% faster than before to make the difference noticeable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cu6q5BpJanD0KplqA5n3VQ.png" /></figure><p>Now that we have discovered that performance is user experience, let’s address the<strong> 4</strong> <strong>main reasons for performance issues</strong> like memory management, heap fragmentation, resource and memory leaks, or slow rendering when we develop mobile apps.</p><p>Kotlin is a JVM language so to carry on we should review the high-level <a href="https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-2.html">JVM architecture</a> to identify the areas impacted by the performance bottlenecks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JdyHpUqVBIKVABwwcmnhjA.png" /></figure><h3>1. Memory management = Garbage Collection</h3><p>The <strong>garbage collector (GC)</strong> is responsible to find and destroy the objects that are no more referenced in order to reclaim the memory for reuse. This approach eliminates memory leaks and other memory-related problems. At least in theory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*vq0XyAHpOfmn51cs1NQcpA.png" /></figure><p>The mechanism is based on a set of root objects that are always reachable. An object is a root if we have local or static variables, active threads, or JNI (Java Native Interface) references.<br> ⚠️ The <strong>GC can impact the performance</strong>, in a negative way,<strong> </strong>when the integrity of reference trees is difficult to be achieved. At that moment stop the world or GC pause happens so the execution of all threads is suspended and is connected with compacting phase described below.</p><h3>2. Heap fragmentation</h3><p>The challenge that could occur when we talk about heap fragmentation is that allocating space for new objects begins to take time since it’s starting to be difficult finding the next free block of memory. Also, the space between the allocated blocks of memory could become so big that the JVM will not be able to allocate memory for a new object.<br>The solution for this challenge is to have a dedicated step that will compact the memory after each GC cycle and so the memory is allocated linearly at one end of the heap.<br>⚠️ <strong>The impact:</strong> during the process of compacting the memory the app is suspended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/1*aV3uuIu4lsNcgrL_pTo26Q.png" /></figure><h3>3. Resource and memory leaks</h3><p>A <strong>resource leak</strong> is a situation when a resource that was acquired is not released after it was used. Usually it happens when we work with files.</p><p>A <strong>memory leak</strong> happens when a reference to an object that is no longer used is still stored in another object.</p><h3>4. Slow rendering</h3><p>As a mobile developer, you should be aware of how rendering is working because slow rendering is also a performance issue that influences in a negative way the user experience.<br>The <strong>device refresh rate </strong>is a hardware characteristic and it is measured in <em>hertz</em> (Hz). It represents how many times per second the image displayed on the screen can be refreshed. Usually, <strong>60 or more frames per second are what users see as high-quality and smooth motion</strong>. To achieve this score the application should render one frame at each <em>16.6 ms</em>. So, when we write the code we should be aware that also the system requires some time to draw a frame, so it will be better to count on only <em>10 ms</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oaaj_oiXPn1RWoNx4AilEg.png" /></figure><p>So far, we have a better understanding of how we define performance and what are the main bottlenecks that impact it. Now, the next step is to learn how to identify these challenges and measure them.</p><p>When we must implement new functionality or fix an issue usually we could identify multiple approaches. The important thing to emphasise is that the decision should be done also by being aware of how each option impacts the performance. The decision should rely on numbers and objective information, not on assumptions.</p><p>Peter Drucker is often quoted as saying that <em>“you can’t manage what you can’t measure” </em>so also in developing performant apps the measurement give us a helpful insight. The numbers are the objective information and they help us to make informed decisions.</p><p>📊 <strong>Benchmarking</strong>, running the implementation on a real system, is the answer. And also here we could test the performance of certain functions (<strong>microbenchmarks</strong>), or of some features or flows (<strong>mesobenchmarks</strong>), or even the entire app (<strong>macrobenchmarks</strong>).</p><p>And because <em>“a goal without a plan is just a wish” </em>(Antoine de Saint-Exupéry) first we should have a testing plan in place that will include: what environment to use, what is the purpose of the testing and the acceptance criteria, what are the tests that should be run, prepare the tests and the data, run the tests and get the results. When we talk about results usually we focus on speed, availability, and scalability.</p><p>Tools that could be used to get the results of the performance testing:<br>🧰<strong> </strong><a href="https://github.com/openjdk/jmh"><strong>Java Microbenchmark Harness (JMH)</strong></a><strong> </strong>— <em>“JMH is a Java harness for building, running, and analysing nano/micro/milli/macro benchmarks written in Java and other languages targeting the JVM.”</em> The challenge with this one is that it’s not capable to handle all cases related to optimising and warming up the JVM<br>🧰<strong> </strong><a href="https://plugins.jetbrains.com/plugin/8537-jvm-debugger-memory-view"><strong>JVM Debugger Memory View </strong></a><strong>for Android Studio </strong>— <em>“This plugin extends the built-in JVM debugger with capabilities to explore objects in the JVM heap during a debug session.”<br></em>🧰<strong> </strong><a href="https://blog.jetbrains.com/idea/2016/08/jvm-debugger-memory-view-for-intellij-idea/"><strong>Memory View in IntelliJ</strong></a><strong> </strong>— “<em>The Memory View shows you the total number of objects in the heap grouped by their class name.”<br></em>🧰 <a href="https://plugins.jetbrains.com/plugin/253-jprofiler"><strong>JProfiler</strong></a><strong> </strong>— <em>“JProfiler’s intuitive UI helps you resolve performance bottlenecks, pin down memory leaks and understand threading issues”<br></em>🧰 <strong>F</strong><a href="https://netflixtechblog.com/java-in-flames-e763b3d32166"><strong>lame Graphs </strong></a>—<em> “Flame graphs are a visualisation of hierarchical data, created to visualize stack traces of profiled software so that the most frequent code-paths to be identified quickly and accurately.”<br></em>🧰 <a href="https://www.dynatrace.com/"><strong>Dynatrace</strong></a> — <em>“Simplifying cloud complexity and accelerating digital transformation with automatic and intelligent observability.”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2XpAFszHse9ZkpIcyyGIkw.png" /></figure><p>There are multiple programming paradigms, and Kotlin checks the <strong>functional and object-oriented paradigms</strong>. One of the main advantages of using Kotlin is the functional programming approach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Oj8eMne4Mctf0dPo8iWD4A.png" /></figure><p>Functional programming is about first-class functions, immutability, pure functions, and Kotlin has a compelling set of features to support this paradigm like:<br>✅ function types: first, the functions are first-class citizens in Kotlin and it is also allowed to define functions to receive other functions as parameters or to return functions<br>✅ lambda expressions to pass a block of code in an easy way<br>✅ data classes to create immutable value objects<br>✅ a rich set of APIs to work with collections in a functional way</p><p>When multiple options are available to make sure you choose the relevant solution you should check and understand what’s happening behind the scenes. To do that, and get the decompiled Java code you could check the following steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SXqe9i8bF97IM7UY6dZnyw.png" /></figure><p>Let’s discover together 10 tips and tricks or hints from the Kotlin world that could make us more aware of the features’ capabilities used in our projects.</p><h3>💡 <strong>Hint 1: Pure functions for parallel processing on multiple CPUs</strong></h3><p>Pure functions does not have any side effects. A pure function returns the same value for the same parameters. They are a powerful feature for the scenario when you develop apps that use parallel processing on multiple CPUs because the compiler is able to optimise and replace the function invocation with the result.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9138615a3256fb0ce2cad78fbead0d72/href">https://medium.com/media/9138615a3256fb0ce2cad78fbead0d72/href</a></iframe><h3>💡 <strong>Hint 2:</strong> <strong>The high-order functions to reuse the code</strong></h3><p>The high-order functions allow to reuse the existing behaviour by giving us the possibility to pass a function as a parameter, to return a function or to do both of these things at the same time.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5616902f18535cad96b7ef54cc7b09de/href">https://medium.com/media/5616902f18535cad96b7ef54cc7b09de/href</a></iframe><p>The challenges related to the code from line 10 to line 13 are: the code is difficult to read and if it is often use it could lead to performance issues because each filter function is a loop under the hood.<br>To solve these challenges we could identity three possible solutions: to define a dedicated predicate (lines 16–18), to implement an anonymous function (lines 21–23) or to use the function composition (lines 26–33).<br><strong><em>Function composition</em></strong> is about combining two or more functions in order to reuse the existing functionality. Under the hood, the <em>and()</em> extension function invokes the given three functions one inside another. The infix notation helps us to perform the composition in the code while avoiding nested function calls. The result of the <em>::titleStartsWithS</em>, <em>::authorStartsWithB</em> and <em>::lengthOfTitleGraterThan5</em> call returns a new function instance which can be easily reused, just like a normal function.</p><h3>💡 <strong>Hint 3:</strong> <strong>Lambdas to treat functions as values</strong></h3><p>Lambdas are about passing a block of code directly as a function parameter, which means to treat functions as values. And a <strong>closure </strong>is a function that has access to variables that are defined in the outer scope. A closure is also known as a <strong>capturing lambda </strong>because it captures a variable from outside of that function.<br>In Java is already known that we could capture only final and effectively final variables. The good thing is that by using Kotlin we do not have this restriction, we could capture <em>val</em> and <em>var</em> variables.<br>Behind the scenes, a lambda is an object that has the<em> Function&lt;out R&gt;</em> type, and <a href="https://youtrack.jetbrains.com/issue/KT-45375">Kotlin 1.5.0 is introducing experimental support</a> for compiling Kotlin lambdas into dynamic invocations (<em>invokedynamic</em>), which effectively generates the necessary classes at runtime. <br><em>invokedynamic</em> = allows the implementer of the language to define custom linkage behaviour.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/aaffb912db78347016df4eccf7d68769/href">https://medium.com/media/aaffb912db78347016df4eccf7d68769/href</a></iframe><p>A lambda can take a varying number of arguments, and to cover as many cases as possible the <em>Functions.kt</em> file was created. This file contains 22 interfaces that extend the<em> Function&lt;out R&gt; </em>interface.</p><p>When we want to capture a mutable variable, we have 2 options: either declare an array of one element in which to store the mutable value, or create an instance of a wrapper class that stores the reference that can be changed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0qbqu_XGKfYkpmCo1Y7-eg.png" /></figure><p>The good news are that in Kotlin, we don’t need to create such wrappers. We can mutate the variable directly. Plus it is possible to pass a varying number of arguments, since the file <a href="https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/jvm/runtime/kotlin/jvm/functions/Functions.kt"><em>Functions.kt</em></a> file contains 22 interfaces that extend the <em>Function&lt;out R&gt; </em>interface. Here we should be careful and respect the clean code principles related to the number of arguments for a function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c5Vj164TgFCSEcgaL5QSlQ.png" /></figure><p>Under the hood, each time when we capture a <em>val</em>, its value is copied, just like in Java. When we capture a <em>var</em>, its value is saved as an instance of a <em>Ref</em> class, just like in the sample from above where the captured value is stored by an instance of the <em>IntRef</em> class. The <em>Ref</em> class contains nested classes that can hold values of all primitive types and objects.<br>The <strong>overhead</strong> of using the capturing expressions is that <strong>a new <em>Function</em> instance is created every time a lambda is passed as an argument</strong> and is garbage-collected after execution. The conclusion is that we should be careful using it. For non-capturing expressions (pure functions), a singleton instance of Function is created.</p><h3>💡 <strong>Hint 4: Inline functions and reified types</strong></h3><p>Inline functions are responsible to remove the overhead of lambdas. By using the <em>inline</em> modifier on a function, then its body is inserted directly, in the bytecode, in the places where that function is called. By default, the <em>inline</em> modifier is applied to all the lambda parameters.<br>The advantage is that it reduces the overhead of functions taking lambdas as parameters by avoiding the creation of an instance of <em>Function</em>, which saves memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G0PQPjjK2oxlxeanFe0pyQ.png" /></figure><p>The example from above shows that the compiler does not create an instance of the <em>Function</em> type, so the overhead is removed.</p><p>When we have a function with multiple lambdas as parameters we could choose to not inline some of them by using the <em>noinline</em> modifier.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/761c88ff13d10f339fe896ec7564962c/href">https://medium.com/media/761c88ff13d10f339fe896ec7564962c/href</a></iframe><p><strong>⚠️Warnings</strong>: <br>- If we use the <em>inline</em> modifier on a function that does not have a lambda as a parameter, the rule of thumb is that we will not get any significant performance benefits and also a warning from the IDE. But there are also exceptions where the performance could be improved by inlining the body of a function. <br>- If we apply the <em>inline</em> modifier on a function that has too many lines of code, and the function is used in multiple places, then this approach will increase the size of our bytecode.</p><p>The <em>return </em>keyword behaves differently when it is used inside of a lambda. More precisely it returns from the function where the lambda is located, not just from the lambda itself. This type of <em>return</em> is called a <strong><em>non-local return</em></strong> because it returns from the outside scope. Now, what is the connection with the <em>inline</em> modifier?! To specify that a lambda parameter of an inline function does not support non-local returns, we can mark that lambda with the <em>crossinline</em> modifier.<br>When to use this approach?! It is helpful when lambda is passed to another execution context.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4af39f554a6d349010f448563b3c0ed5/href">https://medium.com/media/4af39f554a6d349010f448563b3c0ed5/href</a></iframe><p>The <strong>reified types </strong>are also using the <em>inline</em> modifier and this technique helps us to access the type passed as a parameter at runtime, so the type-erasure mechanism does not happen. Under the hood, by using <em>inline</em> modifier, the then the body of the function is inserted directly, in the bytecode, in the places where that function is called. In our case <em>Reflection</em> comes to help and the compiler knows the exact type used as the type argument in our particular call. Because the generated bytecode references a specific class, not a type parameter, it is not affected by the type-argument erasure that happens at runtime.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2feff6c6bbc6a70dac99033b669e4aae/href">https://medium.com/media/2feff6c6bbc6a70dac99033b669e4aae/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AlmM61CDWbEtWzORlVaI3A.png" /><figcaption>Generated Java code for the main() Kotlin function</figcaption></figure><h3>💡 <strong>Hint 5: Collections &amp; Sequences</strong></h3><p>When working with collections the general recommendation is to prefer read-only collections because this way we could prevent to have bugs related to the state inconsistency.<br>Now, when we must choose between using collections or sequences the rule is simple: if we have to process a very big number of elements the sequences are preferred. <br>On a sequence, we could apply <em>intermediate</em> and <em>terminal</em> operations. The intermediate ones are lazily evaluated, and the terminal ones trigger the postponed (intermediate) operations to be executed.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5a434f56720e2514f8fe8a8394da0243/href">https://medium.com/media/5a434f56720e2514f8fe8a8394da0243/href</a></iframe><p>The conclusion is that eager evaluation runs each operation on the entire collection, and a new collection is created; lazy evaluation processes elements one by one, without copying the elements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*frcbqF5uIlbjywtNlrVlWQ.png" /></figure><p>It is encouraged to check the documentation every time we think that we should define a custom operator because it is very possible to be already defined. Also, it is recommended to check the order of the operations because it could impact their performance.</p><h3>💡 <strong>Hint 6:</strong> <strong>Immutability</strong></h3><p>Immutability is available by default in Kotlin by using the<em> data classes </em>and we get for free: <em>toString()</em>,<em> hashCode()</em>, <em>equals()</em>, <em>copy()</em>, <em>componentN()</em>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5b55a4f4670cd4d2cb4b47af2f4a8f80/href">https://medium.com/media/5b55a4f4670cd4d2cb4b47af2f4a8f80/href</a></iframe><h3>💡 <strong>Hint 7:</strong> <strong>Disposable pattern</strong></h3><p>Disposable pattern is a pattern used for resource management so it is very helpful to be used when we work with resources (files, streams) to avoid resource leaks. In Kotlin, this thing is achieved by using the extension functions <em>use</em> that release the resources by invoking the close or dispose methods. This function could be applied to objects that implement <em>Closeable</em>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/32506a8e4013cb4d2cb54e6d9b489ff9/href">https://medium.com/media/32506a8e4013cb4d2cb54e6d9b489ff9/href</a></iframe><h3>💡 <strong>Hint 8: String templates</strong></h3><p>When is it necessary to concatenate Strings, we should consider using <strong>String templates </strong>because under the hood they use the <em>StringBuilder</em> class. Based on the official documentation: <em>“Kotlin 1.5.20 compiles string concatenations into </em><a href="https://docs.oracle.com/javase/7/docs/technotes/guides/vm/multiple-language-support.html#invokedynamic"><em>dynamic invocations</em></a><em> (invokedynamic) on JVM 9+ targets, thereby keeping up with modern Java versions. More precisely, it uses </em><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/invoke/StringConcatFactory.html#makeConcatWithConstants-java.lang.invoke.MethodHandles.Lookup-java.lang.String-java.lang.invoke.MethodType-java.lang.String-java.lang.Object...-"><em>StringConcatFactory.makeConcatWithConstants()</em></a><em> for string concatenation. To switch back to concatenation via </em><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html#append-java.lang.String-"><em>StringBuilder.append()</em></a><em> used in previous versions, add the compiler option -Xstring-concat=inline.”</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b01613afe90fc32131c7c10da2f94739/href">https://medium.com/media/b01613afe90fc32131c7c10da2f94739/href</a></iframe><h3>💡 <strong>Hint 9: @JvmField</strong></h3><p>We can use the <strong>@JvmField</strong> annotation to tell the compiler that we want to use these variables as fields, but not as properties. The <em>@JvmField</em> annotation can also be used to prevent the overhead of invoking getters and setters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FQnt5WcTZl9UEKrHcf6Xsg.png" /></figure><h3>💡 <strong>Hint 10: Ranges</strong></h3><p>When using <strong>ranges</strong>, based on the chosen approach we could get some runtime overhead or not. To make a summary the recommendation is to not use nullable types with ranges (if it’s possible) because some <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/">unnecessary objects</a> will be created, like in the image from the left. The same thing will happen also when we create a reference to a range, like in the image from the middle. The winner approach is the one from the right image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OVmCKBpTvx5PZ4SSfsYfZg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ztapjgSwjkTINfQwjPeYAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wx5nbL6gG1iZWXk3EmaYKw.png" /></figure><h3>🎯<strong>Conclusion</strong></h3><p>Based on the topics covered in this article, when we want to implement a new feature or refactor the code the best approach is to evaluate with curiosity all the possibilities. For each option it is helpful to understand what’s happening behind the scenes, and apply objective criteria to make a suitable decision that will help us achieve our purposes.</p><p>Enjoy and feel free to leave a comment if something is not clear or if you have questions. And if you have liked the article, please share it. Thank you for reading! 🙏🏽</p><p>Happy idiomatic Kotlin! 😉</p><p><em>Check </em><a href="https://www.droidcon.com/2021/11/17/high-performance-with-idiomatic-kotlin/"><em>the talk</em></a><em> about this topic and </em><a href="https://speakerdeck.com/magdamiu/droidcon-london-2021-high-performance-with-idiomatic-kotlin"><em>the slides</em></a><em> (including resources).</em></p><p><em>P.S.: Thanks to </em><a href="https://medium.com/u/3d1043574ce1"><em>Florentin Simion</em></a><em> and </em><a href="https://medium.com/u/af2a484bc3f7"><em>Catalin Costache</em></a><em> for reviewing the content!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d52e099d0df0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3rd part MBS.works — The Year of Living Brilliantly]]></title>
            <link>https://code.likeagirl.io/3rd-part-mbs-works-the-year-of-living-brilliantly-9cab43dfd568?source=rss-3056258d1643------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cab43dfd568</guid>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Magda Miu]]></dc:creator>
            <pubDate>Mon, 03 Jan 2022 10:04:26 GMT</pubDate>
            <atom:updated>2022-01-03T17:52:43.572Z</atom:updated>
            <content:encoded><![CDATA[<h3>3rd part MBS.works — The Year of Living Brilliantly</h3><p>This is the third article about <a href="https://www.mbs.works/products/the-year-of-living-brilliantly"><strong><em>MBS.works — The Year of Living Brilliantly</em></strong></a> that contains the latest lessons of the program. Like in the <a href="https://code.likeagirl.io/mbs-works-the-year-of-living-brilliantly-3fa260690c8b">first</a> and <a href="https://magdamiu.medium.com/2nd-part-mbs-works-the-year-of-living-brilliantly-cf1429bb760e">second</a> articles, I added my notes for each session, plus references to learn more about the person talking about that topic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/0*CcXSvDoNTb3pVVHk" /></figure><h3>35. How to Delegate</h3><p>Michael Hyatt =&gt; Find out more about Michael and his work at <a href="https://www.michaelhyatt.com/">michaelhyatt.com</a> and by following him on social <a href="https://twitter.com/MichaelHyatt">@michaelhyatt</a>.</p><p>If you can’t learn to delegate, you’re not growing your team or business. If you can’t scale yourself, you can’t scale your team or company.</p><p>These are three mistakes that leaders make when it comes to delegation</p><ol><li>You hesitate because you have one of three limiting beliefs that show up in your head as sentences and make the scaling impossible:</li></ol><ul><li>“If I want it done right, I have to do it <strong>myself</strong>!”</li><li>“It takes longer to explain it to somebody else. I might as well do it <strong>myself</strong>!”</li><li>“I can’t afford to pay somebody else right now. I guess I’m just going to have to do it <strong>myself</strong>.”</li></ul><ol><li>You surrender, you give the task, but you are not involved in the process. It would help if you communicated your expectations. You have to be explicit. Communicate the deadline, objectives, and limitations.</li><li>You suffocate your people. You micro-manage your people.</li></ol><h3>37. How to be Radically Candid</h3><p>Kim Scott =&gt; You can find out more about Kim and her work at <a href="https://www.radicalcandor.com/%C2%A0">https://www.radicalcandor.com/ </a>or by following her on Twitter <a href="https://www.twitter.com/kimballscott">@kimballscott</a>.</p><p><strong>Radical candor</strong> is about <em>caring personally</em> and <em>challenging directly</em> at the same time.</p><p><strong>Care personally</strong> = “give a damn” dimension of radical candor.</p><p><strong>Challenge directly </strong>= “willingness to piss people off.”</p><p>When we challenge directly but forget to show that we care personally, it is called <em>“obnoxious aggression.”</em></p><p>When we do not challenge that person and forget to care personally, it is called<em> “manipulative insincerity.”</em></p><p>It is called “ruinous empathy” when we do not challenge that person, but we are terrified that we could hurt that person’s feelings; it is called <em>“ruinous empathy.”</em></p><p>How can you begin to put these ideas into practice?</p><ol><li><strong>Get it</strong> — Solicit radical candor from your people, especially criticism</li><li><strong>Give it</strong> — You should focus on the good stuff, but you don’t want to ignore problems either.</li><li><strong>Gauge it</strong> — You need to understand how what you are saying lands for the other person. So radical candor is measured not at the speaker’s mouth but the listener’s ear.</li><li><strong>Encourage it</strong> — When a person talks to you badly about a different person, encourage that person to speak to the person with whom they’re having the problem, the conflict.</li></ol><h3>38. How to Have *That* Conversation</h3><p>Riaz Meghji =&gt; Find out more about Rich and his work at <a href="http://riazmeghji.com/">RiazMeghji.com</a> or by following him on Instagram or Twitter <a href="https://www.twitter.com/riazmeghji">@RiazMeghji</a>.</p><p>Difficult conversations can be uncomfortable, but avoiding them is worse.</p><p>Tips to help you diffuse the conflict:</p><ol><li><strong>Be assertively empathetic</strong>. Relationship first, logic second. Cultivate authentic curiosity.</li></ol><ul><li>How are you feeling now? What can I do to help?</li><li>People want to be seen. They want to feel heard. They want to be respected. Allow them to do just that and stop talking.</li></ul><ol><li><strong>Let go of likeability</strong>. Leadership isn’t about comfort. It’s about effective action.</li></ol><ul><li>Even if you come into the conversation with respect and positive intent, research proves that we shoot the messenger when we receive bad news.</li><li>Managing this expectation of likeability will help you avoid taking things personally and keep you focused on the end goal of your conversation.</li></ul><ol><li><strong>Own your emotions</strong></li></ol><ul><li>You cannot control the emotions and feelings of others, but you can own your own emotions. We manage our emotions.</li><li>Create a safe pace by using “I” statements, don’t play the blame game: “I am feeling angry,” “I am feeling frustrated,” “I’m feeling defeated.”</li></ul><ol><li><strong>Focus on you what you can agree on</strong></li></ol><ul><li>We should enter the conversation with openness, a clear goal, and an interest in solving the problem.</li><li>“Do you want to be right, or do you want to continue having that relationship?”</li><li>Find common ground</li><li>What’s the real challenge? What would it take for this to work for you? What is the ideal scenario you are looking for?</li><li>Once you hear their concerns, you can start finding ways to improve their current reality. People want to feel a sense of belonging.</li></ul><h3>39. How to Not Fear Conflict</h3><p>Cinnie Noble =&gt; Find out more about Cinnie and her work at <a href="https://www.cinergycoaching.com/">www.cinergycoaching.com</a> and follow her on Twitter <a href="https://www.twitter.com/cinergycoaching">@cinergycoaching</a></p><p>Cinnie Noble talks about how leaders could model their conflict competence with a framework called<strong> three R’s</strong>, which moves people from <strong>Reaction</strong> to <strong>Reflection</strong> to <strong>Response</strong>. It is about moving from the emotional part of the brain to the thinking part of it, so that conversation can happen in a way that is not loaded with emotion.</p><p>So rather than <strong>reacting</strong>, it is better <em>to take some time</em>, and to ask for that time: “That sounds like a critical discussion for us to have. Now’s not the time.” and be curious: “Tell me before I go, and we make time to speak, what’s most important to you about this?”. This approach will help you to move in a more <strong>reflective</strong> area before being able to respond: “I heard what they said; let’s start thinking about that.”</p><p>To move to the <strong>response</strong> area might require more curiosity: “Tell me more about that.” or “I wasn’t quite sure I got it all.” or “I thought about it, and this is what I’m thinking.”. So in this stage, the focus is not on emotions but on working to understand the challenge.</p><p>So if we can shift our thinking from reaction to reflection to response, we usually are more <strong>resilient,</strong> and we can move on through a conflict.</p><h3>40. How to See the Best in Things</h3><p>Marva Sadler =&gt; You can find out more about Marva’s work at <a href="https://www.wbecs.com/">www.wbecs.com</a> or follow Marva on LinkedIn <a href="https://www.linkedin.com/in/marva-sadler-wbecs/">/marva-sadler-wbecs</a>.</p><p>Marva Sadler encourages us to look at things from a different perspective. <em>“Instead of turning up our filters so that we are filtering out everything we disagree with, what happens if we turn them down and listen with acceptance and a desire to understand? Later we can filter out those things that we disagree with, that does not fit.”</em></p><p>So when we cross a challenging situation, we should stop and ask ourselves what we need to know before making any judgment or giving an answer or advice. What questions will help us better understand? We should turn down the filters and listen with appreciation and openness.</p><h3>41. How to Find Better Questions</h3><p>Rich Litvin =&gt; You can find out more about Rich and his work at <a href="http://www.richlitvin.com/">www.richlitvin.com</a> or by following him on <a href="https://www.linkedin.com/mwlite/in/richlitvin">LinkedIn</a>.</p><p>“An average coach will answer their client’s questions, a great coach will challenge their client’s questions, and an extraordinary coach will constantly ask their clients more powerful questions.”</p><p>As a leader, you should free your team to ask and go after what they want.</p><p>Ritch Litvin shares a tool: invert the question. Instead of asking yourself or a member of your team, “What do you want?” Ask, “What don’t you want?” Because it will give a much more actionable answer. Inverting the question is a powerful coaching tool.</p><p>He also shares a list of questions to use:</p><p>1. Don’t ask, “How can I make safer decisions?” Ask, “How can I grow from my mistakes?”</p><p>2. Don’t ask, “How can I be more productive?” Ask, “How can I be more creative?”</p><p>3. Don’t ask, “How can I make more revenue?” Ask, “How can I make more profit?”</p><p>4. Don’t ask, “How can I do more?” Ask, “How can I work less?”</p><p>5. Don’t ask, “How can I inspire more clients?” Ask, “How can I create clients who inspire me?” That one’s a game-changer.</p><p>6. Don’t ask, “How can I get more followers?” Ask, “How can I create more leaders?”</p><p>7. Don’t ask, “How do I perfect my idea?” Ask, “How do I implement my idea?”</p><p>8. Don’t ask, “How can I sell?” Ask, “Who can I serve?”</p><p>9. Don’t ask, “How can I feel more confident?” Ask, “What tiny step can I take?” Confidence is a result, not a requirement.</p><h3>42. How to Keep Your Boots On</h3><p>Kathleen Wilson-Thompson</p><p>Kathleen Wilson-Thompson talks about how important it is to be mindful when entering a new organization (the onboarding experience).</p><p>As a new team member, respect the organization’s culture, rules, and standards, but also, as a leader, you should be mindful and respect your new team member’s culture and rules. Encourage inclusion.</p><h3>43. How to Find Gold in the Weeds</h3><p>Amy Whitaker =&gt; You can find out more about her work at <a href="http://www.amywhitaker.net/">http://www.amywhitaker.net/</a> or by following her on Twitter or LinkedIn <a href="https://www.twitter.com/theamywhit">@theamywhit</a>.</p><p>Amy Whitaker talks about how to think about the world as an art project.</p><p>The main idea of “Art Thinking,” the book written by Amy, is that if you’re making a work of art in any area of life, you’re not going from point A to point B; you’re inventing point B.</p><p>She emphasized the idea that we could build a point B world for ourselves, which is the point B world we want to live in.</p><h3>44. How to Use Branding for Change</h3><p>Debbie Millman =&gt; You can find out more about Debbie and her work at <a href="http://www.debbiemillman.com/">debbiemillman.com</a> or by following her on social <a href="https://www.instagram.com/debbiemillman/">@debbiemillman</a>.</p><p>Our use of symbols has evolved over thousands of years, but they share identical characteristics, which is somewhat baffling given how scattered we were all over the planet.</p><p>Initially, the brands and symbols were pushed bottom-up, from the people to the people.</p><p>Logos on products to identify a maker came next, and brands were given legal recognition for the first time on January 1st, 1876, introducing the Trademarks Registration Act. The movement started to be top-down, the corporations began to promote the brands to the people.</p><h3>45. How to Worry Less About Productivity</h3><p>Rahaf Harfoush =&gt; Learn more about Rahaf and her work at <a href="https://rahafharfoush.com/">rahafharfoush.com</a> or by following her on Twitter <a href="https://www.twitter.com/rahafharfoush">@rahafharfoush</a>.</p><p>Rahaf Harfoush discovered three forces play a big part in how we define how we work and what our work means to us. Those three forces are our history, biology, and media culture.</p><p>She recommends to “go and do great things, and have big goals, and be ambitious, but remember that at the end of the day you are worthy, and you’re enough just as you are.” and also we should “move from this idea of human productivity to humane productivity, to create systems designed by us, for us, for a creative world.”</p><h3>46. How to Make Change Happen</h3><p>Ed + Peter Schein =&gt; You can find out more about their work at <a href="http://ocli.org/">OCLI.org</a> or by following them on LinkedIn at <a href="http://www.linkedin.com/company/ocli">www.linkedin.com/company/ocli</a>.</p><p>Ed and Peter Schein shared three critical themes:</p><ol><li>Everything happens through conversation. Human beings share ideas in conversation.</li><li>The depth of your relationships in your networks matters. As a leader, you should be committed to getting to know your people and creating a safe place to share ideas and ask questions.</li><li>The enterprises’ challenge is to grow and keep growing, and it depends on effectiveness, communication, and creativity.</li></ol><h3>47. How to Cultivate Courage</h3><p>Ruben Chavez =&gt; You can find out more about Ruben and his work at <a href="https://thinkgrowprosper.com/top-posts">https://thinkgrowprosper.com/top-posts</a> or by following him on Instagram <a href="https://www.instagram.com/thinkgrowprosper">@ThinkGrowProsper</a>.</p><p>Emotional fitness or resilience is the ability to interact with reality as it is. It is not about getting rid of negative emotions or avoiding difficult situations. It is about developing the capacity to experience discomfort that could help us grow or achieve our objectives. When we respond to uncomfortable and challenging situations and emotions by confronting them and accepting them, we teach our brains to react to those situations with courage. Over time, that response becomes a habit.</p><h3>48. How to Have Your Voice Heard</h3><p>Susan Cain =&gt; You can find out more about Susan and her work at <a href="https://www.quietrev.com/">www.quietrev.com</a> or by following her on <a href="https://www.linkedin.com/in/susancain/">LinkedIn</a>.</p><p>The challenge: How to make your voice heard in any group setting.</p><p>The tip: before going to a meeting, think about what point you want to make, what question you wish to raise.</p><p>And the journey has come to an end. It was a fantastic experience for me and challenging because it involved focus and discipline, and I am very thankful for this opportunity. ✨</p><p>Thank you, <strong>Michael Bungay Stanier</strong>! You did a great program! Chapeau! 🎩</p><p><em>Originally published at </em><a href="https://magdamiu.com/2022/01/03/3rd-part-mbs-works-the-year-of-living-brilliantly/"><em>http://magdamiu.com</em></a><em> on January 3rd, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cab43dfd568" width="1" height="1" alt=""><hr><p><a href="https://code.likeagirl.io/3rd-part-mbs-works-the-year-of-living-brilliantly-9cab43dfd568">3rd part MBS.works — The Year of Living Brilliantly</a> was originally published in <a href="https://code.likeagirl.io/">Code Like A Girl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2nd part MBS.works — The Year of Living Brilliantly]]></title>
            <link>https://code.likeagirl.io/2nd-part-mbs-works-the-year-of-living-brilliantly-cf1429bb760e?source=rss-3056258d1643------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf1429bb760e</guid>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Magda Miu]]></dc:creator>
            <pubDate>Thu, 23 Dec 2021 07:30:00 GMT</pubDate>
            <atom:updated>2022-01-03T17:43:50.239Z</atom:updated>
            <content:encoded><![CDATA[<h3>2nd part MBS.works — The Year of Living Brilliantly</h3><p>This is the second article about <a href="https://www.mbs.works/products/the-year-of-living-brilliantly"><strong><em>MBS.works — The Year of Living Brilliantly</em></strong></a> that contains the following 17 lessons. Like in <a href="https://code.likeagirl.io/mbs-works-the-year-of-living-brilliantly-3fa260690c8b">the first one</a>, I added my notes for each session, plus references to learn more about the person talking about that topic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DLiQ_ifv4hjalirn" /></figure><h3>18. How to Start Your Day</h3><p><strong>Neil Pasricha</strong> =&gt; You can learn more about Neil and his work at <a href="https://www.neil.blog/about-neil#">https://www.neil.blog/about-neil#</a> or by following him on Instagram, Facebook, or Twitter <a href="https://www.instagram.com/neilpasricha">@neilpasricha</a>.</p><p>Neil shares the idea of having a notebook and writing down one thing you want to get done every day. And at the end of the day, check if you managed to finish that thing. Also, use the same notebook to write five small specific items you are grateful for, plus five things that make you angry and anxious.</p><p>He recommends us a two-minute exercise called “Two-minute Mornings,” and it is about starting your day by asking yourself three questions:</p><ol><li><strong>I will let go of</strong>. This is the anxiety thing.</li><li><strong>I am grateful for</strong>. These are the few little things I can be happy about, specific gratitudes from my day.</li><li><strong>I will focus on</strong>. Remember, that’s how my cue card started first. It was just one thing I was going to do every day.</li></ol><h3>19. How to Notice Your Advice Monster</h3><p><strong>Mark Bowden</strong> =&gt; Find out more about Mark and his work at <a href="https://truthplane.com/home/people/mark-bowden/">truthplane.com/home/people/mark-bowden/</a> or by following him on Twitter <a href="https://twitter.com/truthplane">@truthplane</a>.</p><p>Notice when you get triggered by the environment to give advice and be aware of your feelings, behavior, non-verbal. Work to moderate yourself when you notice that you are tense and prepared to provide advice. Moderate your gestures and focus on listening to the person in front of you and asking helpful questions. Interlace your fingers, place them over your naval, stand up straight, tilting your head to one side, have a gentle smile, and listen. Try to have this posture every time you need advice, and it is not the case.</p><h3>20. How to See Other Perspectives</h3><p><strong>Dr. Elizabeth Kiss </strong>=&gt; Find out more about Dr. Kiss’ work at <a href="https://www.rhodeshouse.ox.ac.uk/">www.rhodeshouse.ox.ac.uk</a> or on Twitter <a href="https://www.twitter.com/rhodes_trust">@rhodes_trust</a>.</p><p>Stop, breathe and listen.</p><p>The research shows that diverse teams, teams of people with different backgrounds and perspectives, and teams with men and women, so gender diversity and racial diversity are more effective at solving problems.</p><p>When you get a different perspective than yours, for sure, it is not comfortable, but you should stop, breathe and listen. Try to understand if that perspective will lead to wiser, richer, fuller decision-making.</p><h3>21. How to Discover the Rules</h3><p><strong>Kevin Kruse</strong> =&gt; Find out more about Kevin and his work at <a href="https://www.leadx.org/">www.leadx.org</a> and follow him on Twitter <a href="https://twitter.com/leadxlife">@LEADxLife</a> and <a href="https://twitter.com/kruse">@Kruse</a>.</p><p>Be curious about the rules of your life. Great leaders have no restrictions. It is not about being a rebel; it is about having as few rules as possible.</p><p>You want a few rules because it will allow you to choose. Work to understand why some rules exist, be curious about them, have conversations about them with your team, and see if they are still relevant.</p><h3>22. How to Allow Innovation to Blossom</h3><p><strong>Dr. Simone Bhan Ahuja </strong>=&gt; Find out more about Simone and her work at <a href="https://www.blood-orange.com/">www.blood-orange.com</a> and follow her on Twitter <a href="https://www.twitter.com/simoneahuja">@simoneahuja</a>.</p><p>Dr. Simone Bhan Ahuja talks about supporting more innovation by becoming a learning organization and doing this by encouraging humility, empathy, and curiosity.</p><p>The foundation of innovation is learning about your customers, their needs, what’s working and what’s not; having to know all the answers will make the possibility of meaningful innovation dive.</p><p>Three steps could be followed to build a learning organization and more innovation:</p><ol><li>Making learning a priority</li><li>When in doubt, test it out</li><li>Measure the new ROI, return on intelligence.</li></ol><h3>23. How to Have an Idea that Works</h3><p><strong>Alexander Osterwalder</strong> =&gt; Find out more about Alex and his work at <a href="https://strategyzer.com/">strategyzer.com</a> and follow Alex on Twitter at <a href="https://www.twitter.com/alexosterwalder">@alexosterwalder</a>.</p><p>There are two worlds inside an organization: managing the existing and inventing the new, and as a leader, you should be aware of them to apply the proper mechanisms.<br>Managing existing is about predictability.<br>When you create something new, it is hard to get that idea and create value for your organization and customers through it. Test your opinion as soon as possible and make sure you do not apply the rules available for managing existing work.</p><h3>24. How to Be Grateful</h3><p><strong>Darryl Slim</strong> =&gt; You can learn more about Darryl and his work by visiting <a href="https://darrylslim.com/">darrylslim.com</a></p><p>Touch and listen.<br>The core of his teaching is “listen and touch” to our hearts. He calls the heart the natural spring water.</p><h3>25. How to Be Empathetic</h3><p><strong>Dan Pontefract</strong> =&gt; Find out more about Dan and his work at <a href="http://www.danpontefract.com/">danpontefract.com</a> and by following Dan on Twitter at <a href="http://www.twitter.com/dpontefract">@dpontefract</a>.</p><p>Empathy comes in three forms:</p><ul><li>Cognitive empathy (head) — Where’s their headspace? How do they think about that?</li><li>Emotional empathy (heart) — How are they feeling?</li><li>Sympathetic empathy (hands) — you can sympathize with them and then take action. “Hey, is there anything I can do to take that off your plate?”</li></ul><h3>26. How to Understand the Context</h3><p><strong>Dave Stachowiak</strong> =&gt; Find out more about Dave and his work at <a href="https://coachingforleaders.com/">coachingforleaders.com</a> or on LinkedIn <a href="https://www.linkedin.com/davestachowiak">@davestachowiak</a>.</p><p>When people complain about some things or try to describe a situation, a good question to understand the context of the problem is “What’s a time that happened recently?”<br>If you try to understand, to coach them, it is essential to understand the context to know how to lead the conversation and, if it is the case, to offer suitable possibilities or ideas.</p><h3>27. How to Be More Influential</h3><p><strong>Dorie Clark </strong>=&gt; You can learn more about Dorie at <a href="https://www.dorieclark.com/">dorieclark.com</a> and follow her on Twitter <a href="https://www.twitter.com/dorieclark">@dorieclark</a>.</p><p>How you can grow your influence by positioning yourself as an expert:</p><p><strong>Willing to share your ideas publicly:</strong></p><ul><li>Speak up more in meetings and make sure that people know what you’re thinking, what’s on your mind</li><li>Do a lunch-and-learn and share those experiences so that others can benefit from them</li><li>Stepping up and raising your hand and volunteering to speak at a conference or a convention</li></ul><p><strong>Social proof:</strong></p><ul><li>Volunteer as a leader in your local professional association</li><li>Volunteer as a committee on cross-departmental initiative</li><li>Be part of alumni associations</li></ul><p><strong>Your network:</strong></p><ul><li>Can you even once a week have a coffee, have a phone call, or have lunch with someone outside your company or outside of your industry?</li></ul><h3>28. How to Know Exactly What to Say</h3><p><strong>Phil Jones</strong> =&gt; You can find out more about Phil and his work <a href="https://www.philmjones.com/">philmjones.com</a> and by following him on social <a href="https://www.instagram.com/philmjonesuk/">@philmjonesuk</a>.</p><p>The person in control of every conversation is the one who’s asking the questions. Questions create conversations, conversations lead to relationships, relationships create opportunities, and only opportunities lead to action.<br>Think about the common questions you ask, plan your words out ahead of time, and respond to those questions with questions that create more clarity. With clarity comes certainty, with certainty comes growth.</p><h3>29. How to Say No</h3><p><strong>Sanyin Siang</strong> =&gt; Find out more about Sanyin and her work at <a href="https://www.coachsanyin.com/">coachsanyin.com</a> and follow her on LinkedIn <a href="https://www.linkedin.com/in/sanyin/">/sanyin</a>.</p><p>We don’t like to say no because we want to help people. Being able to say no in the right way and in an intentional way can be precisely what’s needed for us to help others. How to do that:</p><ul><li>Respond with “not yet” — it is essential, but I will help you later when I have the necessary time to bring the best from that situation/task/activity</li><li>“Can I bring someone else along?” or “Can I bring someone else? Can I do it with someone else?”</li><li>“I may not be the best person for this because of the expertise you’re looking for. I’m not the best fit for that, but let me recommend someone who’ll be a perfect fit.”</li></ul><h3>30. How to be a Host</h3><p><strong>Marshall Goldsmith </strong>=&gt; Find out more about Marshall and his work at <a href="https://www.marshallgoldsmith.com/">marshallgoldsmith.com</a> and by following him on LinkedIn <a href="https://www.linkedin.com/in/marshallgoldsmith/">/marshallgoldsmith</a>.</p><p>Marshall Goldsmith shares that his coaching process teaches and connects people with similar responsibilities. He allows his clients to help each other, be empathetic, and share knowledge and ideas in a safe environment. He facilitates all of these.</p><h3>31. How to Scale</h3><p><strong>Fiona Macaulay</strong> =&gt; You can find out more about Fiona and her work at <a href="http://www.wildleadershipforum.org/">WILDleadershipforum.org</a> or by following her on Twitter <a href="https://www.twitter.com/f_macaulay">@F_macaulay</a>.</p><p>Fiona talks about the fundamentals of leadership for founders so that you can take your idea to scale and not burn out in the process.<br>When you feel overwhelmed about what you should do, remember to ask yourself:<em> “What’s most important now?”</em>. This question will help you prioritize your work and keep you focused.<br>Your goal is to ensure that you’re leading yourself from the very beginning with compassion and honesty, and self-care.</p><h3>32. How to Forgive</h3><p><strong>Desiree Adaway </strong>=&gt; Find out more about Desiree and her work at <a href="http://desireeadaway.com/">desireeadaway.com</a> and follow Desiree on Instagram or Twitter <a href="https://www.instagram.com/desireeadaway/">@desireeadaway</a>.</p><p>Forgiveness and reconciliation are essential for creating cultures because they build safer, braver, and more peaceful organizations.<br>Forgiveness needs to be practiced with accountability, governance, transparency, and truth-telling. Forgiveness always has to be intentional, it always has to be voluntary, and it always has to be a deliberate decision. Forgiveness is really about individual healing.<br>Reconciliation is about restoring relationships. Reconciliation is the social process to acknowledge the past hurts and suffering.<br>Forgiveness is possible without reconciliation, but reconciliation is not possible without forgiveness. We have to do both. Forgiveness is that individual healing, and reconciliation is that social healing that has to happen before you can move on.</p><h3>33. How to Access curiosity</h3><p><strong>Liz Wiseman &amp; Shawn V</strong> =&gt; You can find out more about Liz and her work at <a href="https://thewisemangroup.com/">thewisemangroup.com/</a> or by following her on <a href="https://twitter.com/lizwiseman">Twitter</a>.</p><p>Good leaders should ask questions and not give answers. The art of asking questions is an essential skill of a leader.</p><p>How to build your own set of back pocket questions:</p><ol><li><strong>Brainstorm your favorite questions:</strong></li></ol><ul><li>Write down five of your favorite questions that you tend to use when you want to engage people in solving problems, think through challenges, tap into new thinking and open up innovation and creativity, or gain commitment.</li><li>After the list is complete, review them and select your best three.</li></ul><p><strong>2. Inspire yourself from the questions presented by Liz and Shawn:</strong></p><ul><li>Sample of go-to questions</li><li>“What does this look like from your perspective?”</li><li>“What am I not seeing that’s important for me to understand?”</li><li>“What are the risks or the downsides?”</li><li>“What are we assuming that just might not be true?”</li><li>“Are there any reasons why we shouldn’t proceed?”</li></ul><p><strong>3. Inspire yourself from the questions addressed by your colleagues</strong></p><ul><li>Listen for questions that you like or questions that you noticed to bring results and great ideas or answers</li></ul><p><strong>4. Use the collected set of questions</strong></p><ul><li>Make sure you have added the questions in a known place and use them to help you tell less and ask more. And when you as a leader ask more, you’re going to get more from others, more insight, more capability, more ownership.</li></ul><h3>34. How to Find the Story</h3><p><strong>Pat Flynn</strong> =&gt; You can find out more about Pat and his work at <a href="https://www.smartpassiveincome.com/about/">smartpassiveincome.com/about/</a> or by following him on Twitter or Instagram <a href="https://twitter.com/PatFlynn">@patflynn</a>.</p><p>Every time you speak with somebody, especially if there’s a problem that arises or even a suggestion or feedback, you should find the story. Ask that person: “Well, tell me the story behind that.”<br>By knowing the story, you can better understand the context and empathize with that person and allow you to know what they are looking for versus what they might be just asking.</p><p>Happy reading! 🤓</p><p><em>Originally published at </em><a href="https://magdamiu.com/2021/12/23/2nd-part-mbs-works-the-year-of-living-brilliantly/"><em>http://magdamiu.com</em></a><em> on December 23, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf1429bb760e" width="1" height="1" alt=""><hr><p><a href="https://code.likeagirl.io/2nd-part-mbs-works-the-year-of-living-brilliantly-cf1429bb760e">2nd part MBS.works — The Year of Living Brilliantly</a> was originally published in <a href="https://code.likeagirl.io/">Code Like A Girl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Questions to build The Coaching Habit]]></title>
            <link>https://medium.com/swlh/7-questions-to-build-the-coaching-habit-650d10f46098?source=rss-3056258d1643------2</link>
            <guid isPermaLink="false">https://medium.com/p/650d10f46098</guid>
            <category><![CDATA[questions]]></category>
            <category><![CDATA[habits]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[coaching]]></category>
            <dc:creator><![CDATA[Magda Miu]]></dc:creator>
            <pubDate>Mon, 01 Nov 2021 17:45:00 GMT</pubDate>
            <atom:updated>2021-11-04T21:33:01.478Z</atom:updated>
            <content:encoded><![CDATA[<p>These years I discovered how helpful is to ask the right question when I am engaged in a conversation or meeting with my team or with one of my coworkers. I understood that by asking relevant questions I help my team members to find their own solutions that fit better their needs and for sure by doing so they are more committed and involved to implement them.</p><p>I read and enjoyed very much the idea of “<a href="https://less.works/less/management/teaching-problem-solving">manager as a teacher</a>” and then this concept connected in my mind with the very powerful skill of asking good questions that will empower and help my team members to be successful.</p><p>I talked about this topic in an 1:1 with an Agile Coach and he recommended me this book: “<em>The Coaching Habit”</em> by Michael Bungay Stanier, and yes, for sure, this book is an amazing source of knowledge and inspiration about how to improve your skill of asking questions and making it a habit, the coaching habit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aLTxeMaAOGvAPwLP" /><figcaption>Schema done by the author</figcaption></figure><h3>You need a coaching habit</h3><p>Daniel Goleman in his article “<a href="https://hbr.org/2000/03/leadership-that-gets-results">Leadership that gets results</a>” from HBR, mentioned that based on the research there are 6 essentials leadership styles, and the coaching was one of them:</p><ul><li><em>Coercive leaders</em> demand immediate compliance</li><li><em>Authoritative leaders</em> mobilize people toward a vision</li><li><em>Affiliative leaders</em> create emotional bonds and harmony</li><li><em>Democratic leaders</em> build consensus through participation</li><li><em>Pacesetting leaders</em> expect excellence and self-direction</li><li><em>Coaching leaders</em> develop people for the future</li></ul><p>Coaching is about helping others to unlock theirs potential, but by practicing coaching it helps you to work less hard and have more impact.</p><p>Coaching can break out 3 vicious circles that affects our workplaces:</p><ul><li>creating overdependece: building a coaching habit will help your team to be become more self-sufficient by increasing their ability to learn how to solve the problems and organise their work so you, as a leader, will stop being a bottleneck</li><li>getting overwhelmed: building a coaching habit will help you to focus on the things that matters</li><li>becoming disconnected: building a coaching habit will help you to connect with your team member and to set them up for success</li></ul><h3>How to build a habit</h3><p>To build an effective new habit it involves to have 5 components:</p><ul><li>a reason</li><li>a trigger</li><li>a micro-habit</li><li>effective practice</li><li>plan</li></ul><p><strong><em>The New Habit Formula</em></strong><em> = Identifying the trigger + Identifying the old habit + Defining the new behaviour</em></p><p>Videos:</p><ul><li><a href="https://www.youtube.com/watch?v=l9_R5Bvmwjo">Building Rock Solid Habits (Part 1)</a></li><li><a href="https://www.youtube.com/watch?v=GmXPBN5Rjvs">Building Rock Solid Habits (part 2)</a></li><li><a href="https://www.youtube.com/watch?v=XywrabmubJs">How to Build Rock Solid Habits (Part 3)</a></li><li><a href="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d3cc1beb-cafe-40e2-8f2f-823d4a8be406/6.5HABITGURUS.pdf">6.5HABITGURUS.pdf</a></li></ul><p><strong>❓Question Masterclass Part 1</strong></p><p>📺 <a href="https://www.youtube.com/watch?v=TImj8rrEASU">How to ask a great question</a></p><blockquote>Ask one question at a time. Just <strong>one question</strong> at a time.</blockquote><h3>1️⃣. The Kickstart Question — What’s on your mind?</h3><p>The meaning of this question is actually “<em>Let’s talk about the thing that matters most”</em>.</p><p>After this question was addressed you can use a framework, recommended by the author, called <strong>3P model</strong> for choosing what to focus on in a coaching conversation:</p><ul><li>projects</li><li>people</li><li>patterns</li></ul><p><strong>💡 The science behind this question</strong></p><blockquote>One of the fundamentals truths from neuroscience is that <strong>we are what we give our attention</strong>. When we have something on our mind, that thing consumes our energy and focus.</blockquote><p><strong>❓Question Masterclass Part 2</strong></p><blockquote>Cut the intro and <strong>ask the question</strong>. If you know what question to ask, get to the point and ask it.</blockquote><p>And if sometimes it sounds complicated to go directly with a question you could add lean-in phrases like: “<em>out from curiosity</em>“.</p><h3>2️⃣. The AWE Question — And What Else?</h3><blockquote>“And what else?” is the quickest and easiest way to uncover and create new possibilities.</blockquote><p><strong>Four practical tips for asking “and what else?”</strong></p><ol><li>stay curious, stay genuine: ask the question with genuine interest and curiosity</li><li>ask it one more time: ask it at least three times, and rarely more than five</li><li>recognise success: when the coachee says “<em>There is nothing else</em>” it means you have reached your objective with this question</li><li>move on when it’s time: if the focus start to be in a different area than required try to wrap it up and ask “<em>Is there anything else?</em>“</li></ol><h3>💡 The science behind this question</h3><ul><li>Decisions made from binary choices had a failure rate greater than 50% and having at least one more option lowered the failure rate bu almost half, down to about 30%. When you ask “<em>And what else?</em>” you help the other person to generate multiple options that could drive to better decisions</li><li>Having lots and lots of options could be also challenging and it looks that four is actually the ideal number at which we can process information. Actually our brain counts like this: one, two, three, four…lots.</li><li>Follow-up questions that promote higher-level thinking, like the AWE question, help deepen understanding and promote involvement.</li></ul><p>📺 <a href="https://www.youtube.com/watch?v=RMhTwvu591g">Get Strategic: The One Question That Rules Them All</a></p><p><strong>❓Question Masterclass Part 3</strong></p><blockquote>Should you ask rhetorical questions? Stop offering up advice with a question mark at the end.</blockquote><p>The author encourages us to be careful with the “Advice Monster” and start listening to understand better and ask the right questions to help the coachee to find his/her own answers and solutions that fit better his/her expectations.</p><h3>3️⃣. The Focus Question — What’s the real challenge here for you?</h3><blockquote>When you start jumping in to fix things, things go off the rails in three ways: you work on the wrong problem; you do the work your team should be doing; and the work doesn’t get done.</blockquote><p>This 3rd question will help to <strong>focus on the real problem</strong>, not the first problem. It is also useful to use this question and redirect the discussion to what the person in front of you can control or influence.</p><p>Three strategies to make this question work for you</p><ol><li>trust that you are being useful: create a learning moment for you and the person you are coaching.</li><li>remember that there is place for your advice: for business as usual activities it’s ok to give advice or offer answers, it is not the case to ask questions and build coaching conversations for solving small tasks.</li><li>remember the second question: adding “<em>What else is a real challenge here for you?</em>” is helpful to offer a better understanding on the current context.</li></ol><p>📺 <a href="https://www.youtube.com/watch?v=voJaebULK3o">How to Help Your Team Find Focus</a></p><p><strong>💡 The science behind this question</strong></p><ul><li>the magic of the question is given by the last 2 words “<em>for you</em>“: when the “you” word is present in the questions the research shows that questions needed to be repeated fewer times, and they were solved faster and with more accuracy.</li></ul><p><strong>❓Question Masterclass Part 4</strong></p><blockquote>Stick to questions starting with “what” and avoid questions starting with “why”. If you are not trying to fix things, you don’t need the backstory.</blockquote><p>These 3 first questions could be combined to create a robust script for your coaching conversation:</p><p><em>Q: What’s on your mind?</em></p><p><em>A: 💬</em></p><p><em>Q: Is there anything else on your mind?</em></p><p><em>A: 💬</em></p><p><em>Q: So what’s the real challenge here for you?</em></p><p><em>A: 💬</em></p><p><em>Q: And what else is the real challenge here for you?</em></p><p><em>A: 💬</em></p><p><em>Q: Is there anything else?”</em></p><p><em>A: 💬</em></p><h3>4️⃣. The Foundation Question — What do you want?</h3><p>It takes courage to ask for what you want, knowing that the answer may be No.</p><blockquote>The illusion that both parties to the conversation know what the other party wants is pervasive, and it sets the stage for plenty of frustrating exchanges.</blockquote><p>Based on the economist Manfred Max-Neef there are nine self-explanatory universal needs:</p><ul><li>affection</li><li>creation</li><li>recreation</li><li>freedom</li><li>identity</li><li>understanding</li></ul><p>So next time when you ask someone “<em>What do you want?</em>” listen better to see if you could match the answer with one of the 9 universal needs.</p><blockquote>Five times a second, your brain is scanning the environment and asking itself: “Is it safe here? Or is it dangerous?” We are biased to assume that situations are dangerous rather than not.</blockquote><p>There are four primary drivers that influence how the brain reads any situation, <strong>TERA</strong>, so they could help to focus on how can you influence the environment that drives engagement:</p><ul><li>T is for <strong>Tribe</strong>: “<em>Are you with me, or are you against me?</em>“</li><li>E is for <strong>Expectation</strong>: “<em>Do I know the future or don’t I?</em>“</li><li>R is for <strong>Rank</strong>: “<em>Are you more important or less important than I am?</em>“</li><li>A is for <strong>Autonomy</strong>: “<em>Do I get a say or don’t I?</em>“</li></ul><p><strong>💡 The science behind this question</strong></p><ul><li>This question helps people to think about what better really looks like and it also start with the end in mind.</li></ul><p><strong>❓Question Masterclass Part 5</strong></p><blockquote>Get comfortable with Silence. Silence is often a measure of success. Take a breath, stay open and keep quiet.</blockquote><h3>5️⃣. The Lazy Question — How can I help?</h3><p>The power of this question covers two different areas:</p><ul><li>you are forcing the coachee to make a direct and clear request</li><li>it stops you to think that you already know how to help and what solution to apply</li></ul><p>Now that the question was answered by your coachee, you as a leader have some options to answer:</p><ol><li>“<em>Yes</em>”</li><li>“<em>No, I can’t do that</em>” is another option. Having the courage to say No is one of the ways you stop being so “helpful”.</li><li>“<em>I can’t do that… but I could do [insert your counter-offer]</em>” is a nice middle ground. Don’t just give them a No; give them some other choices.</li><li>“<em>Let me think about that</em>”.</li><li>“<em>I’m not sure — I’ll need to check a few things out</em>”.</li></ol><p><strong>The Karpman Drama Triangle</strong></p><ul><li>Victim: “<em>My life is so hard; my life is so unfair. ‘Poor me.’</em>“</li><li>Persecutor: “<em>I’m surrounded by fools, idiots or just people less good than me.</em>“</li><li>Rescuer: “<em>Don’t fight, don’t worry, let me jump in and take it on and fix it.</em>“</li></ul><p>These three labels describe how we are behaving in a given situation and we tend to have a favourite role that we use by default most of the time.</p><p><strong>💡 The science behind this question</strong></p><ul><li>when you ask this question you are not only more effective, but you are also more respected</li></ul><p><strong>❓Question Masterclass Part 6</strong></p><blockquote>Actually listen to the answer. And when I get distracted (which I will), I will come back and start listening again.</blockquote><h3>6️⃣. The Strategic Question: If you are saying YES to this, what are you saying NO to?</h3><blockquote>In which you get to the heart of overwhelm and discover the question at the heart of every good strategy. A YES is nothing without the NO that gives it boundaries and form.</blockquote><p>This question is helpful to prioritize the work and make sure you spend your time on the things that bring the most value and based on the 3P model we should choose between Projects, People or Patterns:</p><p>Projects</p><ul><li>What projects do you need to abandon or postpone?</li><li>What meetings will you no longer attend?</li><li>What resources do you need to divert to the Yes?</li></ul><p>People</p><ul><li>What expectations do you need to manage?</li><li>From what Drama Triangle dynamics will you extract yourself?</li><li>What relationships will you let wither?</li></ul><p>Patterns</p><ul><li>What habits do you need to break?</li><li>What old stories or dated ambitions do you need to update?</li><li>What beliefs about yourself do you need to let go of?</li></ul><blockquote>Saying YES more slowly means being willing to stay curious before committing.</blockquote><p>This involves asking more questions to understand:</p><ul><li>Why are you asking me?</li><li>Whom else have you asked?</li><li>When you say this is urgent, what do you mean?</li><li>According to what standard does this need to be completed? By when?</li><li>If I could not do all of this, but could do just a part, what part would you have me do?</li><li>What do you want me to take off my plate so I can do this?</li></ul><p><strong>Five Strategy Questions from Roger Martin</strong></p><ol><li>What is our winning aspiration?</li><li>What impact do you want to have in and on the world?</li><li>Where will we play?</li><li>How will we win?</li><li>What management systems are required?</li></ol><p><strong>💡 The science behind this question</strong></p><ul><li>the strategic question helps us to avoid 2 biases: the “<a href="https://thedecisionlab.com/biases/planning-fallacy/"><em>planning fallacy</em></a>” and “<a href="https://en.wikipedia.org/wiki/Prospect_theory"><em>prospect theory</em></a>“</li></ul><p><strong>❓Question Masterclass Part 7</strong></p><blockquote>Acknowledge the answers you get. This is not about judging people; it is about encouraging them.</blockquote><h3>7️⃣. The Learning Question: What was most useful for you?</h3><blockquote>You discover how to finish any conversation in a way that will make you look like a genius. Your job is to create the space for those learning moments.</blockquote><p>The people start learning, start creating new neural pathways, only when they have a chance to recall and reflect on what just happened.</p><p>John Davis from the NeuroLeadership have created the AGES model to explain the four main neurological drivers of longer-term memory, and <a href="https://neuroleadership.com/your-brain-at-work/ages-model-for-learning"><strong>AGES</strong></a> stands for <strong>Attention</strong>, <strong>Generation</strong>, <strong>Emotion</strong> and <strong>Spacing</strong>.</p><p>By addressing the learning question it assumes the conversation was useful, it asks people to identify the big thing that was most useful, it makes it personal (“for you”), if gives you feedback and it reminds people how useful you are to them.</p><p>💡<strong> The science behind this question</strong></p><ul><li>by finishing the conversation with this question you help people to see and then embed the learning from the conversation and also you offer a positive attitude, and people tend to remember the experience and how they felt.</li></ul><p><strong>❓Question Masterclass Part 8</strong></p><blockquote>Use every channel to ask a question. Questions work just as well typed as they do spoken.</blockquote><h3>📚 Learn more</h3><ul><li><a href="https://boxofcrayons.com/2010/03/matt-may/">Interview with Matt May, In Pursuit of Elegance | Box of Crayons</a></li><li><a href="https://boxofcrayons.com/2011/09/dan-coyle-the-talent-code/">Interview with Dan Coyle, The Talent Code | Box of Crayons</a></li><li><a href="https://www.youtube.com/watch?v=VO6XEQIsCoM">The paradox of choice | Barry Schwartz</a></li><li><a href="https://boxofcrayons.com/2010/01/roger-martin/">Roger Martin, The Design of Business | Box of Crayons</a></li></ul><p>#TameYourAdviceMonster #TheCoachingHabit</p><p><em>Originally published at </em><a href="https://magdamiu.com/2021/11/01/7-questions-to-build-the-coaching-habit/"><em>http://magdamiu.com</em></a><em> on November 1, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=650d10f46098" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/7-questions-to-build-the-coaching-habit-650d10f46098">7 Questions to build The Coaching Habit</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Books that will boost your Leadership Skills]]></title>
            <link>https://medium.com/swlh/3-books-that-will-boost-your-leadership-skills-350c999add4c?source=rss-3056258d1643------2</link>
            <guid isPermaLink="false">https://medium.com/p/350c999add4c</guid>
            <category><![CDATA[management]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[books]]></category>
            <category><![CDATA[inspiration]]></category>
            <dc:creator><![CDATA[Magda Miu]]></dc:creator>
            <pubDate>Mon, 25 Oct 2021 08:30:00 GMT</pubDate>
            <atom:updated>2021-11-01T20:39:19.672Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog post is different than the usual content from here. This time I would like to share with you 3 books that helped me a lot in my career as a leader. <br>I love to read books and after I finish reading a book I do a schema or a summary, or a mindmap to extract the useful info for me, to build my leadership toolbox.🧰<br>From these 3 books, I learned more about myself, about how important is to understand my WHY, or how helpful are OKRs even to build a personal learning plan. I also understood how essential is to create a context where my team can be successful and motivated to do their best.<br>Happy reading! 🤓📚</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*SNSM4TTM2pNkVkNH" /><figcaption>Jamie Taylor from unsplash.com</figcaption></figure><h3>1. “Start with why” by Simon Sinek</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/0*EAPGR7CJtLRyKw5b.jpg" /></figure><p>The author starts the book by making the distinction between a leader and the one who leads: “<em>There are leaders and there are those who lead. Leaders hold a position of power of influence. Those who lead inspire us”.</em></p><p>Great leaders are able to inspire people to act by giving them a sense of purpose or belonging. For those who are inspired, the motivation to act is deeply.</p><p>This book is not about what to do or how to do the things in our life or at work, its purpose is to offer us the cause of action, it challenges us to start with WHY.</p><p>The core of the book is <em>The Golden Circle</em>. There are three parts of The Golden Circle: Why, How, and What.</p><ul><li>The outermost and largest circle is <strong>WHAT</strong>: Every individual or organisation easily explain what their<br>product or job is.</li><li>The middle circle is <strong>HOW</strong>: HOW is not as obvious as WHAT. But when organisations know HOW<br>they do WHAT they do, they have clarity in their product or service’s differentiating factor. This is also known<br>as Unique Selling Proposition or “differentiating value proposition”.</li><li>The innermost and smallest circle is <strong>WHY</strong>: It is very difficult for organisations or people to explain WHY they<br>do WHAT they do. The WHY needs to be answered in terms of purpose, cause or belief.</li></ul><p>The WHY and HOW are connected to the limbic brain and the WHAT with the neocortex.</p><ul><li>Limbic brain = Responsible for all feelings, like trust and loyalty. It’s also responsible for all human behavior and decision-making, yet it has no capacity for language.</li><li>Neocortex = Responsible for all of our rational and analytical thought, and language.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*N2eeydSMUnbo2-FG" /></figure><p><strong>How do you differentiate between a fad and an idea that can change lives forever?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iMVjkU8oa551Z4dD.png" /></figure><p>The <a href="https://en.wikipedia.org/wiki/Diffusion_of_innovations">Law of Diffusion of Innovations stated by Everett M. Rogers</a> pertains to the bell curve of product adoption. The curve outlines the percentage of the market who adopt your product, beginning with the Innovators (2.5%), followed by Early Adopters (13.5%), Early Majority (34%), Late Majority (34%) and Laggards (16%).</p><p><strong>The Golden Circle + The Cone</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*NPMkpGw2vv36DkJ2.png" /></figure><p>The Golden Circle is actually a bird’s eye view of a cone which represents the three- dimensional structure of organisations.</p><p>When you have beliefs, a why, your what is just one of the ways of bringing that why to life. Often people don’t know what they’re going to do. They know what they believe, and they find their what along the way. e.g. Simon Sinek believes in inspiring others. Writing a book is just one way of doing it.</p><p>The leader sits at the top of the cone — at the start, the point of WHY — while the HOW-types sit below and are responsible for actually making things happen. The leader imagines the destination and the HOW-types find the route to get there.</p><p><strong>💡To learn more about this topic:</strong></p><ul><li>Watch <a href="https://simonsinek.com/discover/how-great-leaders-inspire-action/?ref=gcppt">Simon Sinek’s TED Talk</a></li><li><a href="https://www.youtube.com/playlist?list=PLgCOAz4cqZMQbcgga7oZPhgtlaZ1GUbtp">Book club with Simon</a></li></ul><h3>2. “Measure what matters” by John Doerr</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/198/0*e8xWZFS1Y8IMjIU7.jpg" /></figure><p><em>OKR is about goal setting in a collaborative way.</em></p><p>As the former Intel CEO Andy Grove explained in his book, “High Output Management”, there are two questions to be answered to successfully setup a system of shared objectives, like OKRs:</p><ul><li><strong>Where do I want to go? This answer provides the objective. (WHAT)</strong></li><li><strong>How will I pace myself to see if I am getting there? This answer provides the milestones, or key results. (HOW)</strong></li></ul><p>John Doerr, one of Google’s early investors and a current Board of Directors member, learned about OKRs from Andy Grove while at Intel.</p><p><strong>OKRs superpowers:</strong></p><ul><li><strong>Superpower #1</strong> =&gt; focus and commit to priorities</li><li><strong>Superpower #2 </strong>=&gt; align and connect for teamwork</li><li><strong>Superpower #3</strong> =&gt; track for accountability</li><li><strong>Superpower #4</strong> =&gt; stretch for amazing</li></ul><p>An OKR can be modified or even scrapped at any point in its cycle and Key Results should be:</p><ul><li>Succinct</li><li>Specific</li><li>Measurable</li></ul><p>Too many objectives can blur our focus on what counts so we should keep our focus and set a number of objectives not greater than 5, because if we try to focus on everything we focus on nothing.</p><p>Continuous performance management could be done using OKRs in combination with <strong>CFRs</strong>:</p><ul><li><strong>Conversations</strong>: an authentic, richly textured exchange between manager and contributor, aimed at driving performance</li><li><strong>Feedback</strong>: bidirectional or networked communication among peers to evaluate progress and guide future improvement</li><li><strong>Recognition</strong>: expressions of appreciation to deserving individuals for contributions of all sizes</li></ul><p><strong>💡To learn more about this topic:</strong></p><ul><li><a href="https://www.youtube.com/watch?v=0Pj0WIQWz8M">How Google sets goals: OKRs / Startup Lab Workshop</a></li><li><a href="https://rework.withgoogle.com/guides/set-goals-with-okrs/steps/introduction/">Guide: Set goals with OKRs</a></li><li><a href="https://about.gitlab.com/company/okrs/">OKRs at Gitlab</a></li></ul><h3>3. “Why Motivating People Doesn’t Work . . . ” by Susan Fowler</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/190/0*1HZs8DLjkIDmkCeu.jpg" /></figure><p>Inspiring and motivating people are key aspects of leadership that are as critical as they are elusive. The people are always motivated. The right question we should ask is not if they are motivated, but <strong>what motivates them</strong>?</p><p><strong>The real secret to motivation is creating an environment where people are optimally motivated to perform at their highest level.</strong></p><p>The author describes in the book a spectrum of Motivation Model:</p><p>1. <strong>Disinterested</strong> motivational outlook: People find no value in going to meetings — they think it wastes time or overwhelms them.</p><p>2. <strong>External</strong> motivational outlook: People view meetings as an opportunity to use their positions or power, improve their images in the eyes of others, or gain the promise of rewards.</p><p>3. <strong>Imposed</strong> motivational outlook: People feel pressured to attend meetings either to avoid feelings of guilt or shame because everyone else is attending or out of fear of what would happen if he or she did not attend.</p><p>4. <strong>Aligned</strong> motivational outlook: People link meetings to something they value, such as learning, and use the opportunity to learn something or teach others.</p><p>5. <strong>Integrated</strong> motivational outlook: People link meetings to their larger work or life purpose, such as raising awareness about a certain issue.</p><p>6. <strong>Inherent</strong> motivational outlook: People naturally enjoy meetings and the sense of camaraderie they create.</p><p>What truly motivates people is having three core psychological needs met:</p><ul><li>autonomy</li><li>relatedness</li><li>competence</li></ul><p>Collectively known as <strong>ARC</strong>.</p><p><strong>💡To learn more about this topic:</strong></p><ul><li><a href="https://www.youtube.com/watch?v=nKTsIIA1oNM">Interview with Susan Fowler</a></li><li><a href="https://jamesclear.com/motivation">Article about Motivation written by James Clear</a></li><li><a href="https://www.forbes.com/sites/forbesagencycouncil/2018/03/30/all-you-need-to-know-to-motivate-millennials/?sh=2b5fb5060aed">All You Need To Know To Motivate Millennials</a></li></ul><p><em>Originally published at </em><a href="https://magdamiu.com/2021/10/25/3-books-that-will-boost-your-leadership-skills/"><em>http://magdamiu.com</em></a><em> on October 25, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=350c999add4c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/3-books-that-will-boost-your-leadership-skills-350c999add4c">3 Books that will boost your Leadership Skills</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>