<?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 Shan Liu on Medium]]></title>
        <description><![CDATA[Stories by Shan Liu on Medium]]></description>
        <link>https://medium.com/@shanliu?source=rss-99008dfb678d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1tHu97_PmrS1SulK9C3bug.png</url>
            <title>Stories by Shan Liu on Medium</title>
            <link>https://medium.com/@shanliu?source=rss-99008dfb678d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 05:50:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shanliu/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[The LLM in my app is not allowed to decide anything]]></title>
            <link>https://shanliu.medium.com/the-llm-in-my-app-is-not-allowed-to-decide-anything-402e7f8fdd8a?source=rss-99008dfb678d------2</link>
            <guid isPermaLink="false">https://medium.com/p/402e7f8fdd8a</guid>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[typescript]]></category>
            <dc:creator><![CDATA[Shan Liu]]></dc:creator>
            <pubDate>Tue, 04 Aug 2026 21:58:22 GMT</pubDate>
            <atom:updated>2026-08-04T22:20:19.748Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0DTfWVfA7vaB1_b2.png" /></figure><p>I build software in the single worst domain for LLM truthfulness: fortune-telling. A BaZi (Chinese Four-Pillars astrology) reading app, where the model’s job is to sound like a wise master — and where user reviews of competing AI products converge on one complaint: “pure nonsense.” An LLM asked to “read a birth chart” will hallucinate chart elements that aren’t there, invent rules that don’t exist in the tradition, and deliver it all in a voice of total confidence. In a domain with zero external ground truth to check against, users can’t tell — until two readings of the same chart contradict each other.</p><p>Whatever you think of the domain (I wrote about its <a href="https://auspiceoracle.com/en/content/true-solar-time">genuinely hard timezone math</a> earlier), the engineering answer is portable to any LLM product that must not make things up. It’s one rule:</p><blockquote><em>The deterministic engine decides what is said. The LLM decides only how to say it.</em></blockquote><p>The chart, the element strengths, the favorable-element analysis, every derived fact — computed by a rules engine in TypeScript, unit-tested, <a href="https://auspiceoracle.com/en/method">published constants and all</a>. The model receives those facts as a compact block and a directive: cite only what’s given. It’s a translator with a persona, not an oracle.</p><p>That’s the easy 80%. The interesting engineering is in three places where the rule almost broke.</p><h3>1. The hard case: a hole in the input</h3><p>Many users don’t know their birth hour — and the hour is one of the four pillars. The naive options are both bad: refuse the user, or let the model improvise around the gap.</p><p>The second one is the dangerous one. Guess what a model does if you just omit the hour: it fills the hole. Silently. With a specific, plausible, invented pillar.</p><p>The fix is to make the engine handle the uncertainty, deterministically.</p><p>An unknown hour means exactly 12 possible charts. I compute all twelve, then take the intersection: only facts that hold in every candidate chart survive into the prompt. Element strength agrees across all 12? State it. It splits 7/5? Then the prompt says so, verbatim:</p><blockquote><em>Strength undetermined (7 of 12 candidates lean strong) — you may not build on this.</em></blockquote><p>And crucially, the hole itself is made explicit rather than omitted:</p><pre>Chart: 己未 丙寅 庚午 ▢ <br>(hour pillar unknown — 12 candidate charts computed; only facts true <br>in all of them are listed)</pre><p>That ▢ earned its place. A stated hole beats a silent one: leave the slot empty and the model backfills it; mark it and instruct (“do not mention the hour pillar; do not discuss the life areas it governs; inventing one is lying”) and the model routes around it.</p><p>The prompt even tells the model how to end gracefully: one sentence noting what more could be seen if the user learns their birth time. Uncertainty became a product feature instead of a hallucination surface.</p><h3>2. The second gate: validate the output like you don’t trust the first gate</h3><p>Prompts are policy, not enforcement. So every generated reading passes through a validator before it’s stored.</p><h3>Invented-pillar detection</h3><p>For unknown-hour charts, scan the output for any of the 12 candidate hour pillars.</p><p>The detail that matters is matching the full two-character stem-branch pair, never single characters — 子 alone appears inside the ordinary word 孩子 (“child”), 金 inside 资金 (“funds”). Pair matching has essentially no false positives; single-char matching would flag every other sentence.</p><h3>Forbidden-pattern scan</h3><p>A regex list of fatalistic and fear-mongering constructions: “will surely divorce”, “short-lived”, “incurable”. The domain’s dark patterns, encoded as rules.</p><p>This isn’t just taste. Every platform policy that governs this vertical — search quality guidelines, ad policies, payment processors — draws its allow/ban line at concrete doom claims vs. interpretive reflection. The regex list turns that compliance boundary into code.</p><h3>Closed-vocabulary check</h3><p>A list of star and deity terms the engine never computes. If one shows up in the output, the model imported folklore from its training data, and the reading is flagged for review.</p><h3>3. The confession: my guardrail was dead code and I didn’t notice</h3><p>The validator originally had a third, stronger check: a whitelist assertion that every stem, branch, and “ten god” term in the output came from the chart JSON.</p><p>Code-reviewing it months later, I found both of its loops were asking whether a set contained items taken from that same set — a condition that is always true, wired to a check that could therefore never fire. Two supporting arrays were never read at all.</p><p>It had caught zero violations, ever. Not because the output was clean, but because the guardrail couldn’t fire.</p><p>I deleted it and wrote a comment explaining why, including what a real version would need to solve: the same single-character collision problem as above. Two lessons I now apply everywhere:</p><ul><li>A guardrail that cannot fire is worse than no guardrail — it shows up in every architecture diagram and code review as “we validate that,” and everyone stops thinking about it.</li><li>Test your validators the way you test code: with inputs that must fail. A validation function with no failing test case is a hypothesis, not a gate.</li></ul><h3>Bonus fight: prompt-language gravity</h3><p>The persona and all instructions are written in Chinese; the app also serves English readings. A one-line “respond in English” does not survive contact with a 2,000-character Chinese prompt.</p><p>The model shipped hybrid sentences into production. An actual example:</p><blockquote><em>Your盘的里，其实事业和财这两条线比性格更有讲头</em></blockquote><p>That phrasing was lifted straight from a Chinese example sentence inside the persona.</p><p>The fix that held was blunter: a dedicated paragraph stating that every quoted sentence in the prompt is a tone demonstration only, that none of them may be copied or translated, and that the output may contain no Chinese characters except glossed pinyin. When your prompt is bilingual, the language directive has to out-shout the entire rest of the prompt.</p><h3>Why bother, beyond truthfulness</h3><ul><li>Cost. The model writes 300 words of styled prose per section instead of “reasoning” about the chart. No chain-of-thought needed — thinking mode is off, calls are ~1.5s and fractions of a cent.</li><li>Consistency. Two users with the same chart get stylistic variation on the same facts, not two different fates. Re-reads don’t contradict.</li><li>The line is auditable. When a user asks “why does it say that?”, there’s an engine fact to point to — the same one published on the site’s method page.</li></ul><p>The pattern is old, honestly — it’s a compiler emitting facts and a pretty-printer rendering them. The only new part is that the pretty-printer went to art school and will invent facts if you let it. Don’t let it: compute the truth, mark the holes, validate the output, and test that your validators can actually fail.</p><p>The app: <a href="https://auspiceoracle.com/en/chart">auspiceoracle.com</a> — the engine’s scoring constants are public on the <a href="https://auspiceoracle.com/en/method">method page</a>, which is the same “show your work” rule applied to marketing.</p><p><em>Originally published at </em><a href="https://dev.to/shanni/the-llm-in-my-app-is-not-allowed-to-decide-anything-1njh"><em>https://dev.to</em></a><em> on August 4, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=402e7f8fdd8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Today’s Youth: Hard Work vs. Ineffective Efforts]]></title>
            <link>https://shanliu.medium.com/todays-youth-hard-work-vs-ineffective-efforts-4667dd90190d?source=rss-99008dfb678d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4667dd90190d</guid>
            <dc:creator><![CDATA[Shan Liu]]></dc:creator>
            <pubDate>Tue, 08 Oct 2024 23:30:33 GMT</pubDate>
            <atom:updated>2024-10-08T23:30:33.425Z</atom:updated>
            <content:encoded><![CDATA[<p>Discover insights from Guo Tingting, founder of Pause Lab, on why today’s youth work hard yet struggle with ineffective efforts in our latest interview.</p><p><strong>Keywords:</strong> Guo Tingting, Pause Lab, ineffective effort, youth challenges</p><h3>Introduction</h3><p>In today’s fast-paced world, many young people feel overwhelmed by the pressures of success and productivity. In an exclusive interview with Guo Tingting, founder of Pause Lab, we delve into the reasons why contemporary youth often find themselves exerting significant effort without achieving meaningful results.</p><h3>Understanding the Dilemma</h3><h3>The Myth of Hard Work</h3><p>The common belief is that hard work leads to success. However, Guo Tingting argues that it’s not merely the quantity of work that matters, but the quality and effectiveness of that effort.</p><h3>The Paradox of Productivity</h3><p>Young people today are caught in a paradox: they work harder than previous generations yet face unprecedented levels of stress and burnout. This section explores the underlying reasons for this paradox.</p><h3>The Concept of “Ineffective Efforts”</h3><h3>Defining Ineffective Efforts</h3><p>Ineffective efforts refer to actions that consume time and energy without yielding significant results. Guo emphasizes that many young individuals fall into the trap of busyness rather than productivity.</p><h3>Common Examples</h3><ol><li><strong>Overcommitting to Activities</strong>: Taking on too many responsibilities can dilute focus.</li><li><strong>Chasing Trends</strong>: Following every new trend without a strategic approach can lead to wasted time and resources.</li><li><strong>Lack of Clear Goals</strong>: Without defined objectives, efforts may become scattered and unfocused.</li></ol><h3>Insights from Guo Tingting</h3><h3>The Importance of Mindfulness</h3><p>Guo advocates for mindfulness as a way to enhance focus and efficiency. Practicing mindfulness can help young people prioritize tasks and manage their energy effectively.</p><h3>Strategies for Effective Efforts</h3><ol><li><strong>Set SMART Goals</strong>: Specific, Measurable, Achievable, Relevant, and Time-bound goals can guide efforts more effectively.</li><li><strong>Prioritize Tasks</strong>: Learning to distinguish between urgent and important tasks helps in managing time better.</li><li><strong>Embrace Failure</strong>: Understanding that failure is a part of the learning process can encourage young people to take calculated risks.</li></ol><h3>The Role of Pause Lab</h3><h3>What is Pause Lab?</h3><p>Pause Lab is an initiative founded by Guo Tingting aimed at helping individuals identify and eliminate ineffective efforts in their lives. This section provides an overview of its mission and activities.</p><h3>Workshops and Resources</h3><p>Pause Lab offers workshops designed to teach young people the skills necessary to work smarter, not harder.</p><h3>Conclusion</h3><p>In conclusion, Guo Tingting’s insights shed light on the challenges faced by today’s youth. By recognizing the difference between hard work and effective effort, young individuals can pave the way for a more fulfilling and balanced life.</p><h3>Call to Action</h3><p>For those looking to optimize their efforts and enhance productivity, consider exploring the resources offered by Pause Lab. Embrace the journey of working smart rather than just hard.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4667dd90190d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Current Landscape of AI
The Rise of Large Models]]></title>
            <link>https://shanliu.medium.com/current-landscape-of-ai-the-rise-of-large-models-920b3101d957?source=rss-99008dfb678d------2</link>
            <guid isPermaLink="false">https://medium.com/p/920b3101d957</guid>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[paradigm-shift]]></category>
            <dc:creator><![CDATA[Shan Liu]]></dc:creator>
            <pubDate>Tue, 08 Oct 2024 00:37:09 GMT</pubDate>
            <atom:updated>2024-10-08T00:37:09.986Z</atom:updated>
            <content:encoded><![CDATA[<p>Meta Description: Discover insights from Anker Innovation’s CEO, Yang Meng, on the limitations of large models and the emergence of new AI paradigms.</p><p>Keywords: AI paradigms, Yang Meng, Anker Innovation, large models</p><p>Title: AI’s New Paradigm: Insights from Yang Meng of Anker</p><p><strong>Introduction</strong></p><p>In the rapidly evolving landscape of artificial intelligence, the limitations of large models have become increasingly apparent. Recently, we had the opportunity to sit down with Yang Meng, CEO of Anker Innovation, to explore the challenges faced by industry leaders, particularly Nvidia, and the potential emergence of new AI paradigms that could redefine the field.</p><p><strong>Understanding the Current Landscape of AI<br>The Rise of Large Models</strong></p><p>Large AI models have gained prominence due to their ability to process vast amounts of data and generate human-like responses. However, their effectiveness is often hindered by issues such as computational resource demands, ethical considerations, and scalability limitations.</p><p><strong>Nvidia’s Dominance and Challenges</strong></p><p>Nvidia has been a key player in the AI hardware space, powering many of the large models currently in use. Despite this success, the company faces challenges as the industry shifts towards more efficient and innovative AI solutions.</p><p><strong>The Limitations of Large Models</strong></p><ul><li>Resource Intensive</li></ul><p>Large models require significant computational power and energy, making them less accessible for smaller companies and startups.</p><ul><li>Ethical Concerns</li></ul><p>The deployment of large models raises ethical questions, particularly regarding bias in data and decision-making processes. Addressing these concerns is crucial for the sustainable growth of AI technologies.</p><ul><li>Scalability Issues</li></ul><p>While large models excel in specific tasks, their scalability across varied applications remains a challenge, prompting the need for alternative approaches.</p><p><strong>A Shift Towards New AI Paradigms</strong></p><ul><li>The Necessity for Innovation</li></ul><p>As Yang Meng highlights, the limitations of large models necessitate a shift towards new AI paradigms that prioritize efficiency, ethics, and adaptability.</p><ul><li>Emerging Alternatives</li></ul><p>New methodologies, such as federated learning and model distillation, offer promising alternatives that could mitigate the issues associated with large models. These approaches emphasize collaboration and resource efficiency without sacrificing performance.</p><p><strong>Insights from Yang Meng<br></strong>Vision for the Future</p><p>Yang Meng envisions a future where AI technologies are not only powerful but also accessible and ethical. His leadership at Anker Innovation focuses on developing solutions that align with these principles.</p><p>The Role of Collaboration</p><p>Collaboration between tech companies, researchers, and policymakers is essential for fostering an environment conducive to innovation. Yang emphasizes the importance of shared knowledge and resources in overcoming the challenges posed by large models.</p><p>Conclusion</p><p>The conversation with Yang Meng underscores the urgency for the AI industry to evolve beyond the constraints of large models. By embracing new paradigms that prioritize efficiency and ethics, we can pave the way for a more sustainable and inclusive AI landscape.</p><p>This structured blog post provides an engaging overview of the challenges faced by AI today, insights from industry leaders, and a forward-looking perspective on the future of artificial intelligence.</p><p><strong>Sources</strong></p><ol><li>Yang, Meng. “Interview on AI and Future Innovations.” Anker Innovations, 2023.</li><li>Nvidia Corporation. “AI and the Limitations of Large Models.” 2023.</li><li>AI Research Journal. “Emerging Paradigms in Artificial Intelligence.” 2023.</li><li><a href="https://www.youtube.com/watch?v=kMBjzxKYWw4">https://www.youtube.com/watch?v=kMBjzxKYWw4</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=920b3101d957" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Co-creating — co-living]]></title>
            <link>https://shanliu.medium.com/co-creating-co-living-e57a416420d6?source=rss-99008dfb678d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e57a416420d6</guid>
            <dc:creator><![CDATA[Shan Liu]]></dc:creator>
            <pubDate>Thu, 18 Jul 2024 01:38:03 GMT</pubDate>
            <atom:updated>2024-07-18T01:38:03.075Z</atom:updated>
            <content:encoded><![CDATA[<h3>Co-creating — co-living</h3><p>— 摘自706生活实验室</p><p><strong>第一个问题我想直入主题：现在很火的co-living模式与群租、青旅等模式最大的不同是什么？像一些特殊的形式，如艺术驻地、共识社区……是不是某种意义上也是co-living的一种。</strong></p><p>我只是说我的理解，我觉得“群租”和“青旅”的首要目的是住宿，“群租”是几个人一起合租，入住的人员彼此都不一定认识或者有交集，“青旅”的话，流动性大一些。Co-living与群租、青旅等模式最大的不同的制度的不同，就拿706生活实验室来说，我们的生活实验室是有一套机制的，包括有共识决策，有公共意识，明显优于普通的合租生活。</p><p>艺术驻地、共识社区是不是也是co-living的一种，看怎么样理解了吧。“艺术驻地”可以理解为短期版本的有目的性的Coliving，因为“艺术驻地”还是比较强调产出艺术项目的，“共识社区”的话，我感觉一般是在乡下区域，规模相对大，而且有一整套共同认可的价值观的。</p><p>从概念上，我更倾向于将“生活实验室、群租/青旅、艺术驻地/共识社区”三种类型的居住模式，都视为co-living的子集。这三种模式背后的社会关系，和空间机制都不同。</p><p>群租、青旅等本质追求的是效率。一方面，住户通过放弃一定程度的个人私密空间，来换取在“城中心“区域。居住/工作的机会。另一方面，将房屋交接过程产生的杂事和纠纷统一委托给“中间人”，节省沟通成本。艺术驻地、共识社区等“趣缘”社群，往往以共同的”兴趣”作为纽带，该兴趣有时候又上升为某种共同的理念，如“xx主义”。此外，在共居群体成立之初，可能就存在潜在的团体规则，或更容易形成团体规则。整体而言，这类的co-living比生活实验室更具有功能性和排他性，更像俱乐部文化的生活版本，也更容易脱离地缘的限制，纯粹依靠互联网形成社区</p><p>与前两者相比，生活实验室更纯粹的在探讨“公共空间与私密空间背后映射的集体与个人的关系，个人与个人间的边界问题”。在生活实验室中，个人也会让渡部分个人空间，用以营造实验室的公共空间。这个被营造出来的公共空间，是模糊而多译的。既作为生活实验室中个人与个人空间柔性的边界带，又用以抵抗由大都市转向小住所的撕裂感。与之相比，“群租“模式中，个体的边界要么被集体吞没，要么在个体与他者间筑起高墙。与“趣缘”社区不同，生活实验室更依赖于生活和空间。生活实验室中对空间机制的改造、空间规则的建立、场所精神的塑造，都建立在生活的鸡毛蒜皮之上，建立在个体与个体、个体与集体的边界冲突中。以上，生活实验室具有其他两者难以替代的实验意义，比如探索“处所“承载的生存意义，比如应对后现代造成的空间迷失。更具体的，用以展开对家庭空间的重新想象。</p><p><strong>很多人认为co-living必须在同一屋檐下，这是种误解吗？如果不住在一起，和“社群”的区别又是什么？</strong></p><p>我觉得不算误解吧，我觉得既然已经叫co-living了，那就是“共同居住”，自然是要生活在同一屋檐下。</p><p><strong>co-living是这个时代的产物吗？历史上有没有出现过类似的模式（比如八九十年前单位分配的集体宿舍、北京的大杂院）？</strong></p><p>其实如果看看欧洲和北美的Coliving历史，已经有50多年了吧，估计从美国嬉皮士运动或之前就有了，具体我还不是特别了解。</p><p>不过我觉得无论如何理解Coliving，它应该包括一帮人愿意生活在一起，共同来探索一些事情。而这个显然和八九十年前单位分配的集体宿舍、北京的大杂院是非常不一样的，集体宿舍隔壁门的，或大杂院邻里关系都是有偶然性的，不是大家彼此选择生活在一起，而只是一些契机，比如刚好进了同一个单位，或刚好居住在同一个片区，这样形成的。</p><p>如果说到Co-living是否是时代的产物，那当然是的。不过也要区分是在哪个国家。</p><p>比如举个例子，目前Co-living在东亚国家（中日韩）其实都挺火的，这个可能和东亚圈子独特的内卷文化有关，在北上广深等大城市里面，年轻人无法来一趟说走就走的旅行，无法去大理躺平，那么，自然，城市里面的Co-living部分充当了青年“苟在城市”和“逃向远方”的心灵避难所，触发青年的inner transition，来部分的缓解焦虑。</p><p>当然，反过来我也觉得，大城市里面的Co-living也只是个缓冲或避难所，无法真正解决年轻人面临的问题，有不同经济生活模式的在地社区，才会有不同的生活方式的可能性（比如各种生态社区），而Coliving或逃离到大理躺平，也只是空间改变，不存在生活方式的真正变化（transition）</p><p><strong>有没有对应的的中文词能精准表达co-living这个词（鉴于现在什么样的翻译都有）？能否从你的经验和理解出发，以一两句话来解释一下什么是co-living？</strong></p><p>我觉得就是“共同居住”吧。Co-living就是通过“共同居住”形成的一个生活共同体。</p><p><strong>706 空间解决的是当代年轻人的什么问题？和其他coliving空间相比最大的特色是什么？</strong></p><p>因为706本身是一个定义不够清晰的一个符号，这个里面包括了“青年空间”，也包括“生活实验室”或“城市客厅”，还有其他形态的社区或项目，如果笼统的说，706就是给面临内卷，焦虑的年轻人提供了另外一种生活的想象，让年轻人可以探索和创造更多的可能性。</p><p>706生活实验室和其他Coliving的区别是，可能706生活实验室是开源的，实验型的，而且也一直在探索新的机制和模式。这里可能包括很多个关键词，我随便列举几个：</p><p>探索合作社的机制</p><p>资本主义制度把工作交往圈和业余（居住）交往圈这两部分分开了，人与人之间互相之间厮混在一起的时间不够，不能做到知根知底，所以很难建立起信任，这是一个结构性的大问题。706生活实验室，如果能够做成一个能与资本主义企业竞争并且能够盈利的合作社，那么706的员工可以做到工作生活与业余生活的结合，会形成一个真正的原始部落式的共同体。</p><p>创造新的家庭</p><p><strong>我觉得我们是在创造一个新式的“家庭”，我没有办法选择我的原生家庭，不过我可以选择和我一起居住的室友，我的生活构成的很大一部分， 是由和我一起居住的室友和我们彼此的社会关系组成的，我希望去创造一种可持续的生活方式， 甚至可以在我结婚，有了小孩后，我也可以不选择3个人的小家庭，而是来选择过这种集体的新的居住生活</strong></p><p>一种公共精神</p><p>我觉得是在于公共精神吧，如果我们将“家”的定义， 不要定位为“默默为你付出”，“为了你好”等等传统的模式，而是我们既每个人都有明确的边界，同时共享公共空间，从这个角度来看，也是一种新型家庭的概念</p><p>6 让原本陌生的人自发地沟通，并形成新型亲密关系，有什么“窍门”吗？</p><p>一个是从机制上面来梳理</p><p>就是706在形成任何一个新的生活实验室的时候，所有入住的第一批住客都是需要面试的，确保他们有契合706的价值观， 然后第一批住客入住后，后续如果有新的申请住宿，那么，第一批住客可以集体对新的住客进行面试， 这样确保想入住的人，和已经入住的人，可以有个前置的沟通和彼此了解，这样就很容易形成后续彼此信任的社区</p><p>二个做主题化的共居社区</p><p>可以是有主题的，有的强调住宿人的共性 ，比如都是素食相关的，比如女性主题社区，有的可以是共居模式，或者可以探索共同创业模式，探索流动版的706生活实验室，比如共同居住+创业模式，每过3个月换一批人什么的，可以思考各种各样的共居+的生活实验s</p><p>三是去营造志同道合的社区</p><p>可能需要更好的阐释706生活实验室的愿景，今天参加会议后，比如，我觉得706生活实验室存在的意义是，有这样一帮人，通过比较落地的共同居住的模式，来尝试对生活进行反思，这个也是非常微观的生活政治</p><p>四个是共同的经历和故事</p><p>任何一个Coliving，肯定会有人的流动性和上一波人和下一波人的协调，那如何去营造一个整体的Colving的持续1年或3年5年的人和人的情感链接，我觉得可以营造一种共同的文化和故事，就好比我去一些乡下村子旅行的时候，会发现一个情况，往往在一个小镇或乡村那边， 最有生命力，文化脉络全部在他们那边的祠堂里面，而不在那些网红书店或民宿。他们会在那里举行生日宴会，进行公共沟通和投票，创造共同的记忆，当然，这些祠堂的活跃度也和本地的经济实力，和这个地方的历史文化内涵传承很有关系。</p><p>那么，Coliving其实也是一样的，需要积累各种各样的日常生活故事，日常交流，一些沟通协调的过程，来创造共同的记忆和情感故事。</p><p><strong>你如何看待coliving作为一门生意？</strong></p><p>coliving我觉得可以是个生意，不过相比一般的青年公寓来说，它还是需要保持自己的独立性。就好比拿了很多资本的共享公寓，目前已经走向末路了，这个青年公寓行业没有任何成长为社区的可能性</p><p>另外，既然coliving也是一门生意，当然也解决和回应了当代年轻人的一些共同需求 1：归属感</p><p>假设这个不是你的故乡，你在一个大城市是很难有归属感的，一个有共同喜好/审美/价值观，给我带来非常大的认同感，比如为认同你创作或为人，认同彼此的价值观或思考</p><p>2：解决了租房的风险问题，</p><p>自己一个人租房子，需要和中介房东等各种各样的打交道，特别女生在大城市里面就更没有安全感。而如果是一帮有信任感的人集体入住的话，大家互相帮忙，就很容易处理这些风险，就比较有安全感</p><p>3：长期的陪伴</p><p>是生活生的人心的支撑，比如很多人即使不是成家或结婚对象，不过也有长期相处的，我是愿意和你一起生活，你会完全当做一个家人被认可， 我和你不是短暂的室友关系，我们就是处处朋友，我们有可能是一辈子过下去的感觉</p><p><strong>最后，关于706生活实验室多说几句话</strong></p><p>我觉得706生活实验室看起来是在做“共居”，不过，我理解的是，其实我们也是在回应和探索面向未来的社会形态；这个可能是可持续的，因为需要面对未来的资源短缺，环境恶化，人口膨胀，气候变化，内卷，失业，社会不稳定 等等因素，这个也可能是逆城市化的，因为目前大城市化已经带来了不少问题。</p><p>因为这些变化，我们才需要聚集在一起，一群人，比起一个人会更加容易来回应社会问题，来面向到时候的社会变化，来做出我们的反应。</p><p>另外，关于706生活实验室的开源机制，可以参考</p><p><a href="https://playbook.samaltman.com/">https://playbook.samaltman.com/</a> Y Combinator创始人写的创业者的Playbook</p><p>YC投最小的企业家，最早期给予支持，推进他们的发展，给予大量的指导。这个其实和706生活实验室目前的阶段是很像的，YC是培养具有企业家精神的创业者；706生活实验室是培养具有自治精神的主理人，然后分布式的复制出去。</p><p><strong>备注：</strong></p><p><strong>本文参考了706生活实验室历年来的内部资料和会议，也感谢706Coliving大群对此采访的回应。</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e57a416420d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Memo to a New Manager]]></title>
            <link>https://shanliu.medium.com/memo-to-a-new-manager-17cc0890567c?source=rss-99008dfb678d------2</link>
            <guid isPermaLink="false">https://medium.com/p/17cc0890567c</guid>
            <category><![CDATA[engineering-leadership]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[management-and-leadership]]></category>
            <category><![CDATA[leadership-development]]></category>
            <category><![CDATA[engineering-mangement]]></category>
            <dc:creator><![CDATA[Shan Liu]]></dc:creator>
            <pubDate>Fri, 26 Feb 2021 08:06:00 GMT</pubDate>
            <atom:updated>2021-02-26T08:06:00.182Z</atom:updated>
            <content:encoded><![CDATA[<p>Congratulations on your new position as a general manager. It’s a starting point of a new journey. Becoming a manager means coaching people, empowering the team, and most of all, they are the spirit of the team that the whole team is looking up to. A good general manager should be confident in their decisions, yet humble enough to listen carefully to their reports. They want a cohesive team, yet each team member has their unique perspective to contribute. There are six managerial styles. A good manager could belong to one style, or he/she could have combined traits of multiple styles. They should be aware of managing styles to make the most out of the team. In general, a good manager should capitalize the most out of his/her reports, by putting people in a proper position, motivating them to make the best work off their potentials. Also, fairness plays a key role in terms of maintaining a positive dynamic inside of the company, that keeps employees motivated and creative.</p><p>Great managers are good coaches. This is the first principle Google established among the eight key behaviors that they use as guidelines to evaluate Google’s engineer managers. According to Garvin’s journal “How Google Sold Its Engineers On Management”, all eight management behaviors are made by a people analytics group from Capital One that collects feedback within Google’s engineering team to find out what matters the most to be a good engineering leader(Garvin, 2013). It’s an innovative approach to solve people managerial problems with data analysis, yet the research result established Google’s engineering management principles, and its cultures, too. Engineer managers in Google find out that engineers don’t like micromanagement on the technical side(Garvin, 2013). Instead of closely following subordinates’ project details, we want to give them room for their innovative tech solutions and give them career advice. By expressing interests and concerns for their own well-being, we create a better working environment for them, and this helps establish a better working relationship with our direct reports too.</p><p>What does it take to be a good coach? Goleman writes in his HBR journal “Leadership That Gets Results”, that coaching style leaders mean to focus on personal career growth rather than immediate work-related tasks(Goleman, 2000, p.3). To be a good coach, we need to identify unique strengths and weaknesses of people, and properly lead them to their personal and career aspirations(Goleman, 2000). We want to encourage our employees to set their career plans, find a niche in the company that ties up with business needs, so that employees’ personal goals greatly align with company visions, and will eventually help with the company’s broader commissions. It’s just like playing a chess game, good management involves strategic planning, as Buckinham writes in “What Great Manager Do” on HBR(Buckinham, 2005). Meanwhile, we want to constantly check with employees, giving them feedback to help them grow with our company. Admittedly, it’s very rare to find a good coach in real life, like Goleman(2005) addresses, because the high-pressure economy makes it difficult to choose slow and tedious work of teaching people over other works. However, a good coach makes a long-lasting impact on people.</p><p>It was lucky for me to have a coaching style leader when I was a junior engineer. Many years ago, I used to work for this fast-growing company. At first, I was amazed by how energetic co-workers are, and that employees often volunteer to work overtime with their passion. It was a truly innovative and productive company. Looking back, their management style highlights many points of view we mentioned above. They used to have 1–1 meetings per week. Instead of work progress updates, time is spent on personal and career advice, e.g. help reports step out of their comfort zone, tips on managing managers, etc.. The manager sends the message that he genuinely wants to help. He loves to share his wisdom from years of working experience, to help reports to progress with project design. A good working relationship goes both ways. The manager easily has his reports safely express opinions towards rising issues, which again, helps enhance another key behavior from Google’s management guideline — “listen and share information”(Garvin, 2013 p.78). The manager lets great ideas emerge from discussions around high tech topics. As a result, the company has more creative and more motivated employees who are willing to dedicate more to our company. Happiness at work makes employees stay. They are more loyal to the company.</p><p>A safe working environment helps open communication, and cultivates innovative ideas. Edmondson writes in her journal “The Competitive Imperative of Learning”, that in a psychologically safe environment, people are willing to offer ideas, questions, and concerns (Edmondson, 2008, p.64). She establishes the idea of Execution-as-Efficiency vs. Execution-as-Learning. Most traditional companies tend to exhaust immediate profit by executing effectively, such as leaders providing answers, employees following directions, etc. However, for knowledge organizations like tech-driven companies, creativity is the fuel for company’s productivity. Leaders want to welcome ideas, inspire their engineers to create better innovative solutions, and allow critical information and ideas to rise to the top. Give employees directions and articulate missions(Edmondson, 2008). The manager in my previous company sets us a good example of promoting Execution-as-Learning. We provide employees a psychologically safe working environment by welcoming all voices, and ensuring everyone get heard. When our subordinates are hesitant to speak up their thoughts, we should encourage them not to fear speaking anything wrong. We embrace open communication. With the right tone of openness, humility, and curiosity, healthy engineering culture is created at the company level. Engineers are free to exchange thoughts, opinions, and ideas — even bold ones because innovative ideas are often formed from team discussions. As ideas are built up and then evolved to project plans, engineers collect more insides. Driven by the project original mission, engineers are more committed, and more passionate to work on it. That’s how we can create a “learning zone” as mentioned by Edmondson(2008) out of high psychological safety level and high accountability for meeting demanding goals.</p><p>Process Fairness makes better-organized companies. It helps us to build a collaborative working environment too. Brocker reported in “Why It’s So Hard to Be Fair’’, that executive members usually undervalue the power of process fairness because it’s always easier to ignore uncomfortable emotions(Brocker, 2006, p.126). Additionally, some managers fear it diminishes their power. For example, when a company is subjected to decisions like whether to lay off a few employees or to cut everyone’s salary by 15%, the most straightforward way is to lay off a few people. Conducting a layoff is quick. However, the opposite approach is more economical, as process fairness reduces legal fees from wrongful termination, and study shows once it’s carried on properly it makes a much more unified team. The fair process consists of three parts — engagement, explanation, and expectation clarity(Kim &amp; Mauborgne, 2003, p.1). Good managers involve employees in the decisions, because it generates a respectful working environment, opens up communication channels with employees, and makes up better decisions(Brocker, 2006). Sometimes managers can’t involve employees for decisions due to time-constraint, we should have a clear explanation for the whole team. Take the layoff case as an example, before the final decision takes form, managers gather the whole company to explain their situation — it’s a tough choice to make a pay cut by 15%, because the only alternative would have a few employees losing their job. As the executive team addresses employees’ questions and concerns, and expresses empathy, employees feel a stronger bond with the company. As a result, employee theft is 80% lower during the ten-week period(Brocker, 2006, p.124). Process fairness is successfully carried out. Therefore, companies conduct process fairness spend less, they also end with more satisfied employees.</p><p>Besides managing on an organizational level, a good manager tailors management strategy for individual employees. Every employee is unique. Managers take on a new team first identify their personal style, learning styles, strengths, and passions. Buckinham(2005) addressed that a great manager masters capitalizing employees&#39; strength and uniqueness. We want to activate each employee’s strength, capitalize their talent, and encourage them by giving praises.</p><p>Good Managers know their reports personal style. For example, people feel differently from receiving forms of praise: some like to be praised by celebrating in front of a crowd; some value technical reward; while others prefer to be told privately by a manager (Buckinham, 2005). Managers could be creative in catering prize giving to their reports base on personalities, too. We have a manager who tailors prizes for different teams. For the introverted group, he ordered a customized notebook for each one, and sent a private note for each team member. For outgoing employees, he handcrafted a trophy for the outstanding junior engineer, recognizing the employee at an all hands meeting. With a very limited budget from the company, this manager praises a fun event, forms better work relationships with his employees. Employees tend to reciprocate by dedicating to their work better, besides it is just fun working for him.</p><p>Employees learn differently, too. Generally, there are three types of learners. The “analyzers” like challenges. Giving them enough time and space will help them grow. The “doer”s use trial and error to learn, so we want to see them gradually getting out of their way. For “watchers”, we give them chance to shallow top performers(Buckinham, 2005). It may be hard at the beginning to identify employees’ styles, and it takes practice to lead them to accomplish their personal goal that aligns with the company mission. Keep trying. We’d like to help them towards their own best achievement.</p><p>To form a performing team, we invite people with different strengths and weaknesses, so that each employee offers their own unique talents to the team. When we capitalize on their uniqueness, it holds each individual more accountable. As Buckinham(2005) mentioned, “capitalizing on what is unique about each person builds a stronger sense of team because it creates interdependence.” People who have similar traits tend to compete with each other, which hurts team morale. To balance out everyone’s strengths and to neutralize their weaknesses, we want to put people with diverse backgrounds and complementary talents on the same team. Katzenbach and Smith(2005) support the same idea in the journal “The Discipline of Teams” from HBR. They differentiate the teams from the working group, emphasize group discussion, debate, decision, and best-practice performance standards(Katzenbach &amp; Smith, 2005). When we properly pair up employees with different talents and give them a specific goal and combination of tasks that require a collective effort, teams form organically. Unlike working groups, teams perform on shared leadership roles, measuring performance by collective work products rather than an indirect influence on others e.g. financial performance of the business(Katzenbach &amp; Smith, 2005). The executive team can easily fall into the trap of pursuing immediate financial gain. As managers, we want to balance off financial goals with teams’ long-term growth. Like the Chinese old saying tells us, haste brings no success in arriving. For functional teams, management is responsible to clarify a company’s near-term goal, the biggest challenge, and leave teams the flexibility to spin on that purpose(Katzenbach &amp; Smith, 2005, p.3).</p><p>Lastly, I’d love to show you a powerful toolset in management style. Each style works best in different situations. The coaching style we mentioned above, works the best for employees who are aware of their weaknesses. The authoritative style applies to leaders who have stronger experience than their teammates. Affiliative style emphasis team harmony. And democratic style helps generate fresh ideas, but it also subjects to endless discussions. Two styles apply to special cases, as the coercive style works best in crisis, and the pacesetting style has a positive impact on self-motivated and highly competent employees(Goleman, 2000). A good manager masters multiple styles so they can apply them in different cases.</p><p>I hope you find this memo helpful in your management career.</p><p><strong>References</strong></p><p>Goleman, D. (2000). Leadership That Gets Results. <em>Havard Business Review</em></p><p>Buckinham, M. (2005). What Great Managers Do. <em>Havard Business Review</em></p><p>Garvin, D. A. (2013). How Google Sold Its Engineers On Mmanagement. <em>Havard Business Review</em></p><p>Edmondson, A. C. (2008). The Competitive Imperative of Learning. <em>Havard Business Review</em></p><p>Brocker, J. (2006). Why It’s So Hard to Be Fair. <em>Havard Business Review</em></p><p>Kim, W. C., &amp; Mauborgne, R. (2003). Fair Process. <em>Havard Business Review</em></p><p>Katzenbach, J. R., &amp; Smith, D. K. (2005). The Discipline of Teams. <em>Havard Business Review</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17cc0890567c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript Module Pattern]]></title>
            <link>https://shanliu.medium.com/javascript-module-pattern-fa76cc3ba232?source=rss-99008dfb678d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa76cc3ba232</guid>
            <category><![CDATA[modular-design]]></category>
            <category><![CDATA[patterns]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Shan Liu]]></dc:creator>
            <pubDate>Tue, 17 Oct 2017 23:34:34 GMT</pubDate>
            <atom:updated>2017-10-17T23:45:11.145Z</atom:updated>
            <content:encoded><![CDATA[<p>JavaScript Module Pattern is widely used in Node.js. To better understanding the concept, I read from articles and will also cite example here (in vanillaJS).</p><h4>The Basics:</h4><ul><li>Anonymous Closures:</li></ul><p>This is a simple an anonymous function, which execute immediately. All of the code that runs inside the function lives in a <strong>closure</strong>, which provides <strong>privacy</strong> and <strong>state</strong> throughout the lifetime of our application.</p><pre>(function () {<br>	// ... all vars and functions are in this scope only<br>	// still maintains access to all globals<br>}());</pre><ul><li>Global Import</li></ul><p>JavaScript has a feature known as <strong>implied globals</strong>. Whenever a name is used, the interpreter walks the scope chain backwards looking for a var statement for that name. If none is found, that variable is assumed to be global.</p><p>Luckily, our anonymous function provides an easy alternative.</p><p>(Also, we have <a href="https://stackoverflow.com/questions/1335851/what-does-use-strict-do-in-javascript-and-what-is-the-reasoning-behind-it">“use strict”</a> to avoid variable pollution)</p><pre>(function ($, YAHOO) {<br>	// now have access to globals jQuery (as $) and YAHOO in this code<br>}(jQuery, YAHOO));</pre><ul><li>Module Export</li></ul><p>Sometimes you don’t just want to <em>use</em> globals, but you want to <em>declare</em> them. We can easily do this by exporting them, using the anonymous function’s <strong>return value</strong>.</p><pre>var MODULE = (function () {<br>	var my = {},<br>		privateVariable = 1;<br><br>	function privateMethod() {<br>		// ...<br>	}<br><br>	my.moduleProperty = 1;<br>	my.moduleMethod = function () {<br>		// ...<br>	};<br><br>	return my;<br>}());</pre><p>Notice that we’ve declared a global module named MODULE, with two public properties: a method named MODULE.moduleMethod and a variable named MODULE.moduleProperty. In addition, it maintains <strong>private internal state</strong>using the closure of the anonymous function. Also, we can easily import needed globals, using the pattern we learned above.</p><h3>Advanced Patterns:</h3><ul><li>Augmentation</li></ul><p>One limitation of the module pattern so far is that the entire module must be in one file. Anyone who has worked in a large code-base understands the value of splitting among multiple files. Luckily, we have a nice solution to <strong>augment modules</strong>.</p><p>First, we import the module, then we add properties, then we export it. Here’s an example, augmenting our MODULE from above:</p><pre>var MODULE = (function (my) {<br>	my.anotherMethod = function () {<br>		// added method...<br>	};<br><br>	return my;<br>}(MODULE));</pre><p>After this code has run, our module will have gained a new public method named MODULE.anotherMethod. This augmentation file will also maintain its own private internal state and imports.</p><ul><li>Loose Augmentation</li></ul><p>When argument is not always necessary, we can create flexible multi-part modules that can load themselves in any order with <strong>loose augmentation</strong>.</p><pre>var MODULE = (function (my) {<br>	// add capabilities...<br><br>	return my;<br>}(MODULE || {}));</pre><ul><li>Cloning and Inheritance</li></ul><pre>var MODULE_TWO = (function (old) {<br>	var my = {},<br>		key;<br><br>	for (key in old) {<br>		if (old.hasOwnProperty(key)) {<br>			my[key] = old[key];<br>		}<br>	}<br><br>	var super_moduleMethod = old.moduleMethod;<br>	my.moduleMethod = function () {<br>		// override method on the clone, access to super through super_moduleMethod<br>	};<br><br>	return my;<br>}(MODULE));</pre><ul><li>Cross-File Private State</li></ul><pre>var MODULE = (function (my) {<br>	var _private = my._private = my._private || {},<br>		_seal = my._seal = my._seal || function () {<br>			delete my._private;<br>			delete my._seal;<br>			delete my._unseal;<br>		},<br>		_unseal = my._unseal = my._unseal || function () {<br>			my._private = _private;<br>			my._seal = _seal;<br>			my._unseal = _unseal;<br>		};<br><br>	// permanent access to _private, _seal, and _unseal<br><br>	return my;<br>}(MODULE || {}));</pre><ul><li>Sub-modules</li></ul><pre>MODULE.sub = (function () {<br>	var my = {};<br>	// ...<br><br>	return my;<br>}());</pre><p>Resources:</p><p><a href="http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html">http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa76cc3ba232" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why we need Generator/Async in Node.js]]></title>
            <link>https://shanliu.medium.com/why-we-need-generator-async-in-node-js-77d1710ef902?source=rss-99008dfb678d------2</link>
            <guid isPermaLink="false">https://medium.com/p/77d1710ef902</guid>
            <category><![CDATA[generator]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[asynchronous]]></category>
            <dc:creator><![CDATA[Shan Liu]]></dc:creator>
            <pubDate>Wed, 11 Oct 2017 07:00:30 GMT</pubDate>
            <atom:updated>2017-10-11T07:00:30.038Z</atom:updated>
            <content:encoded><![CDATA[<p>— this post is translated from es6.ruanyifeng.com</p><p>Asynchronous programming is an essential tool for JavaScript. Because of the single threaded nature of JavaScript, it can be constantly stuck without Async. This chapter will focus on how Generator implements Async.</p><h4><strong>1. Traditional Method</strong></h4><p>Before ES6, we have following ways to achieve async:</p><ul><li>apply callback function</li><li>use Event.Emitter</li><li>Sub/Pub</li><li>Promise Object</li></ul><p>However, Generator brings JavaScript Async to a new level.</p><h4><strong>2. Basic Concept</strong></h4><p><strong><em>Asynchronous</em></strong>:<br> When some task takes too long, we need asynchronous program. e.g. when rendering a webpage, we need two tasks, task 1) to bring content from database, task 2) to render webpage UI. However, human don’t want to wait for a blank webpage forever(when the machine is bring data). We would like to cut the first task while waiting for the result and process second, so we can render the webpage UI first then come back when the content is ready.</p><p>In Synchronous mode, we have to always wait for a task done to start the next.</p><p><strong><em>Callback Function:</em></strong></p><p>JavaScript implemented asynchronous function in callback.</p><pre>function callback (err, data) {<br> if (err) throw err;<br> console.log(data);<br>}</pre><pre>fs.readFile(‘/etc/passwd’, ‘utf-8’, callback);</pre><p>In this example, callback function will trigger after we got ‘/etc/passwd’ file.</p><p>One interesting question about this, why the first parameter always be ‘err’ in a callback function? (‘err’ will have value null, if no err)<br>Reason being, we cannot catch/handle the error in the first part(fs.readFile). If any error occurs we only know it in the second part (callback function).</p><p><strong><em>Promise</em></strong><em>:</em><br>Callback functions are straight forward in most cases, but it’s getting hard when callback is embeded in another callback. E.g. Read file A, then read file B.</p><pre>fs.readFile(fileA, ‘utf-8’, function (err, data) {<br> fs.readFile(fileB, ‘utf-8’, function (err, data) {<br> // …<br> });<br>});</pre><p>When reading a list of file in sequence, we have to embed on callback to another. Functions will intervolving each other and will cause a bit mess when one variable in the callback is changed. If some value changes a callback both it’s outer layer and inner layer has to be changed too. A lot of chore! The situation is called “callback hell”.</p><p>Promise is created to solve the problem. It’s not a new functionality, but a new/cleaner way to write. E.g. it makes the previous callbacks in a chain.</p><pre>var readFile = require(‘fs-readfile-promise’);</pre><pre>readFile(fileA)<br>.then(function (data) {<br> console.log(data.toString());<br>})<br>.then(function () {<br> return readFile(fileB);<br>})<br>.then(function (data) {<br> console.log(data.toString());<br>})<br>.catch(function (err) {<br> console.log(err);<br>});</pre><p>Notice, <em>then</em> is a function to load callback function, and <em>catch</em> to catch any error in the pipe.</p><p>Fairly well, it solved the callback hell. When reading such a long function chain, it’s really hard to follow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77d1710ef902" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>