<?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 Otto von Wachter on Medium]]></title>
        <description><![CDATA[Stories by Otto von Wachter on Medium]]></description>
        <link>https://medium.com/@ottovw?source=rss-bb5885ac958------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*sXhPiMhZJHxSkeDf.jpg</url>
            <title>Stories by Otto von Wachter on Medium</title>
            <link>https://medium.com/@ottovw?source=rss-bb5885ac958------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 17:08:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ottovw/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[Revolutionizing the Blockchain: Celestia vs.]]></title>
            <link>https://ottovw.medium.com/revolutionizing-the-blockchain-celestia-vs-30855f0373ed?source=rss-bb5885ac958------2</link>
            <guid isPermaLink="false">https://medium.com/p/30855f0373ed</guid>
            <category><![CDATA[cosmos]]></category>
            <category><![CDATA[polkadot]]></category>
            <category><![CDATA[celestia]]></category>
            <category><![CDATA[polygon]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Otto von Wachter]]></dc:creator>
            <pubDate>Wed, 03 Jan 2024 18:41:47 GMT</pubDate>
            <atom:updated>2024-01-03T18:41:47.515Z</atom:updated>
            <content:encoded><![CDATA[<h3>Revolutionizing the Blockchain: Celestia vs. Cosmos — Charting the Future of Scalability and Versatility</h3><h4>A Comparative Analysis of Next-Gen Blockchain Technologies for Gaming and AI Applications</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qL2fI3pJ-2X4NzA6DU2EbA.png" /></figure><p>In the ever-evolving world of blockchain technology, two names have risen to the forefront, each promising a unique pathway into the future: Celestia and Cosmos. As we stand at this technological crossroads, it becomes imperative to dissect and understand these platforms, not just in their technical capabilities but also in how they shape the future landscape of blockchain applications. This article delves deep into the core architectural differences, applications in burgeoning fields like gaming and AI, and the utility and investment implications of their native tokens. Our journey through these aspects will not only highlight Celestia’s edge in modularity and flexibility but also shed light on Cosmos’s strengths in an established ecosystem-centric approach.</p><p><strong>Focus on Celestia and Cosmos</strong>: Despite the presence of many remarkable projects, our analysis zeroes in on Celestia and Cosmos due to their distinct technological prowess and flexibility. Both platforms stand out in their approach to blockchain architecture, offering unique insights into the future of blockchain applications. Their significant differences in design and functionality provide a rich basis for comparison, helping us understand the broader implications and potentials in the blockchain-building space, especially for gaming and AI applications. Please refer to Section VII at the end for a summary of other relevant projects and where they fit in.</p><h3>I. Core Architectural Differences</h3><h4>A. Basic Architecture</h4><p>1. Celestia: Modular Design Focus <br>Celestia stands out in the blockchain landscape with its modular design philosophy. Unlike traditional blockchains, where consensus and execution are tightly coupled, Celestia decouples these elements. This architecture allows Celestia to focus on being a scalable data availability layer, providing a foundation upon which various execution layers can be built. This modularity enables a diverse array of blockchain solutions to be developed atop Celestia, each tailored to specific use cases without being constrained by a one-size-fits-all approach.</p><p>2. Cosmos: Ecosystem-Centric <br>Model In contrast, Cosmos adopts an ecosystem-centric model. It revolves around the concept of interoperability between independent blockchains, each powered by the Tendermint consensus algorithm and connected through the Inter-Blockchain Communication (IBC) protocol. This design fosters an interconnected network of blockchains, each operating with its own consensus and execution but unified under the Cosmos umbrella. This approach positions Cosmos as a hub for collaboration and interaction among its constituent blockchains.</p><h4>B. Consensus and Execution</h4><p>1. Celestia’s Separation of Consensus and Execution <br>Celestia’s groundbreaking approach separates consensus from execution. It focuses on providing a robust, decentralized consensus layer that ensures data availability and order but leaves the execution of transactions to other layers. This separation allows for high scalability and flexibility, as the execution layers (such as rollups) can be optimized independently for specific needs without being bottlenecked by consensus processes.</p><p>2. Cosmos’s Integrated Approach with Tendermint <br>Cosmos, with its integrated approach, marries consensus and execution via the Tendermint engine. Each blockchain in the Cosmos network uses Tendermint for both reaching consensus and executing transactions. This integration simplifies the blockchain development process, providing a cohesive environment for both functions. However, it inherently binds the execution capabilities to the consensus protocol, potentially limiting flexibility in addressing diverse application requirements.</p><h3>II. Analyzing the Modular Approach of Celestia</h3><h4>A. Concept of Modularity in Blockchain</h4><p>The concept of modularity in blockchain refers to the separation of various components of a blockchain’s architecture, such as consensus, data availability, and execution. This approach contrasts with traditional blockchain architectures where these components are integrated. Modularity in blockchain allows for each component to be developed, optimized, and scaled independently, providing a customizable and efficient framework for blockchain development.</p><h4>B. Benefits of a Modular Architecture</h4><p>1. Enhanced Scalability: One of the primary advantages of a modular architecture is enhanced scalability. By separating the consensus layer from the execution layer, Celestia can efficiently handle large amounts of data without the execution layer’s processing requirements impacting its performance. This is particularly beneficial for applications with high transaction throughput demands.</p><p>2. Flexibility in Design and Development: The modular nature of Celestia offers developers unprecedented flexibility. They can choose or develop execution layers that best fit their application’s needs. This flexibility extends to choosing programming languages, consensus mechanisms, and governance models tailored to specific requirements, allowing for a diverse ecosystem of specialized blockchain solutions.</p><p>3. Tailored Solutions for Diverse Needs: Celestia’s architecture is conducive to creating tailored blockchain solutions. Developers can build execution layers for specific applications, such as gaming or AI, optimized for performance criteria relevant to those fields. This leads to more efficient, purpose-built solutions that directly address the unique challenges and demands of various applications, a feat more challenging to achieve in less modular environments like Cosmos.</p><h3>III. Application in Gaming</h3><h4>A. Gaming on Blockchain: Emerging Trends and Requirements</h4><p>Blockchain gaming, an evolving domain, is transforming how games are developed and played. Key trends include true ownership of in-game assets, play-to-earn models, and decentralized gaming economies. These advancements bring new requirements: high transaction throughput for real-time interactions, flexibility in game development, and robust security mechanisms.</p><h4>B. Celestia’s Edge in Gaming</h4><ol><li>Scalability for High Transaction Environments: Celestia’s modular architecture offers exceptional scalability, a crucial feature for blockchain games, which often involve numerous micro-transactions and interactions. Its ability to handle large volumes of transactions efficiently makes it ideal for complex games with extensive user bases.</li><li>Customizable Execution Layers for Gaming Logic: Celestia allows developers to create customized execution layers. This means game developers can build blockchain layers specifically optimized for their game’s logic and mechanics, offering a level of customization that can significantly enhance gaming experiences.</li><li>Programming Language Flexibility: With Celestia, developers are not confined to a specific programming language. This flexibility enables game developers to use languages they are most comfortable with, or that are best suited for their game’s design, further fostering innovation and creativity in blockchain gaming.</li></ol><h4>C. Cosmos in Gaming Context</h4><ol><li>Ecosystem Integration Challenges: While Cosmos’ interconnected blockchain ecosystems can be advantageous, integrating a gaming blockchain with this system can be complex. This complexity may pose challenges, especially for games requiring extensive interaction with external systems or assets.</li><li>Limitations in Customizability for Gaming Dynamics: Cosmos’ structured framework, while beneficial for standard blockchain applications, may limit the degree of customization for specific gaming dynamics. The integrated nature of its consensus and execution layers can restrict the ability to tailor-make gaming experiences.</li></ol><h3>IV. Application in AI Technologies</h3><h4>A. Blockchain’s Role in AI Development and Deployment</h4><p>Blockchain is increasingly playing a pivotal role in AI development and deployment. It offers secure data sharing, transparent model training processes, and decentralized AI marketplaces. These capabilities are essential for collaborative AI development, ensuring data integrity and fostering trust in AI systems.</p><h4>B. Celestia’s Advantages for AI Applications</h4><ol><li>Handling Large Data Sets Efficiently: Celestia’s scalability and efficient data handling capabilities make it well-suited for AI applications that process large data sets. Its architecture ensures that data-intensive tasks of AI systems are managed effectively without compromising performance.</li><li>Customization for AI Model Training and Execution: The ability to create custom execution layers on Celestia is particularly beneficial for AI. Developers can tailor these layers to the specific needs of AI model training and execution, optimizing for factors such as computational efficiency and data privacy.</li><li>Potential for Decentralized AI Marketplaces: Celestia’s modular design can facilitate the development of decentralized AI marketplaces. These marketplaces can operate with enhanced security and transparency, providing a platform for buying, selling, or sharing AI models and datasets.</li></ol><h4>C. Cosmos’ Position in AI Applications</h4><ol><li>Interoperability within Cosmos Ecosystem for AI: Cosmos’ IBC protocol offers strong interoperability within its ecosystem, which can be advantageous for AI applications that need to interact with various blockchains, such as for data gathering or model sharing.</li><li>Restrictive Ecosystem and Language Limitations for AI Flexibility: However, Cosmos’ ecosystem-centric approach and the predominance of the Go language might limit flexibility. This can be a drawback for AI applications requiring specialized processing capabilities or those developed in languages other than Go.</li></ol><h3>V. Token Utility and Investment Implications</h3><h4>A. Celestia Token: Security, Governance, and Network Participation</h4><p>The Celestia token is integral to the network’s functionality and value. It plays a crucial role in network security through staking, where token holders can participate as validators or delegate their tokens to secure the network. This staking mechanism underpins the blockchain’s integrity and reliability. Additionally, the token is used in governance processes, allowing holders to vote on key decisions, reflecting a democratic approach to network evolution. Furthermore, the token facilitates network participation, potentially being used for transaction fees and other network services, tying its utility directly to the network’s activity and growth.</p><h4>B. Cosmos (ATOM) Token: Ecosystem-Centric Utility and Limitations</h4><p>The ATOM token, central to the Cosmos Hub, serves multiple functions including staking for network security and governance participation. However, its utility is primarily tied to the Cosmos Hub rather than the entire interchain ecosystem. This distinction is crucial as the value captured by the ATOM token does not directly reflect the activities and success of the broader range of blockchains within the Cosmos network. This ecosystem-centric utility can be seen as a limitation, especially considering the growing trend towards more expansive interchain operations.</p><h4>C. Investment Potential Analysis</h4><p>Risk-Reward Considerations</p><ul><li>Celestia: As a newer entrant with a novel approach, Celestia tokens might carry higher risk due to the project’s emerging status. However, this also opens up possibilities for higher rewards if the modular blockchain approach gains widespread adoption and the network sees substantial growth.</li><li>Cosmos: Being an established player, ATOM presents a potentially lower risk. However, the rewards might be more moderate compared to Celestia, especially considering its more limited utility scope within its own hub.</li></ul><p>Long-Term Growth Prospects in Diverse Blockchain Applications</p><ul><li>Celestia: The long-term growth potential of Celestia tokens is closely linked to the success and adoption of its modular blockchain framework. If Celestia’s approach becomes a standard in the industry, especially for new and diverse applications like AI and gaming, the demand for its token could increase significantly.</li><li>Cosmos: The growth prospects for ATOM depend largely on the continued expansion and success of the Cosmos Hub and its ability to maintain a pivotal role in the interchain ecosystem. The evolution of the Cosmos network, including upgrades and new integrations, could influence ATOM’s long-term value.</li></ul><h4>D. Don’t Underestimate the Changing Tides: Celestia’s Emerging Value in a Cosmos-Dominated Landscape</h4><p>The debate between the merits of blockchain technologies like Celestia and Cosmos can ignite passionate arguments, especially when considering their respective tokens’ utility and investment potential. A common point raised is Cosmos’ current technological prowess and its vibrant project ecosystem. Indeed, Cosmos has garnered attention for its speed and the influx of new projects, and notably, Celestia itself is built utilizing the Cosmos SDK. However, drawing a direct correlation between these factors and the superiority of Cosmos can be misleading.</p><p><strong>An Analogy of Evolution:</strong> Comparing Cosmos to Celestia solely based on current performance metrics and ecosystem size is akin to comparing Intel with Amazon based on the use of Intel chips. Intel, a giant in chip manufacturing, is crucial to Amazon’s operations, but Amazon’s value proposition extends far beyond just utilizing these chips. It represents a broader, more integrated service offering that has transformed the retail and tech industry. Similarly, Celestia, while leveraging the Cosmos SDK, is carving out its niche, potentially offering a more extensive value chain in the blockchain domain.</p><p><strong>Up the Value Chain:</strong> The concept of moving ‘up the value chain’ is highly relevant in the blockchain industry. Celestia’s modular approach positions it to potentially capture more significant value in the long term. By providing a platform that can be tailored for diverse and complex applications such as AI and gaming, Celestia may hold the key to unlocking new blockchain potentials, similar to how Amazon revolutionized retail and cloud computing.</p><p><strong>Investment Perspective:</strong> From an investment viewpoint, it’s crucial to recognize the dynamic nature of technology and market trends. While Cosmos currently exhibits strong performance and a robust ecosystem, the blockchain landscape is rapidly evolving. Celestia’s unique proposition in modularity and scalability could position it as a major player in the future, especially as demands in blockchain applications become more sophisticated.</p><h3>VI. Other Projects</h3><p>Many other projects are relevant to this broader conversation in the space of blockchain-building, gaming, and AI. Here are a few of them for quick reference and comparison:</p><p><strong>Ethereum</strong>: As the pioneer of smart contract platforms, Ethereum has been foundational for many gaming applications and more. Its anticipated scalability and efficiency upgrades, especially with the added scalability of Layer 2 solutions, continue to keep it at the forefront of blockchain innovation.</p><p><strong>Polkadot</strong>: Polkadot distinguishes itself with its interoperability and unique parachain architecture, allowing interconnected yet independent blockchain networks. These parachains operate under their governance and security protocols but are linked to Polkadot’s central Relay Chain for consensus and shared security, contrasting with Cosmos where blockchains are completely sovereign and interconnect via the Inter-Blockchain Communication (IBC) protocol. A gaming platform on Polkadot could thus leverage a custom-governed parachain with Relay Chain security, while on Cosmos, it would have full independence and IBC-based interchain interaction. Moreover, a key difference in tooling arises from Polkadot predominantly using Rust for development, known for its performance and safety, compared to Cosmos’ preference for Go, which is renowned for its simplicity and efficiency. This choice between Polkadot and Cosmos depends on the project’s requirements for autonomy, shared security, and specific programming environment within the broader network ecosystem.</p><p><strong>Solana</strong>: Celebrated for its high throughput and low latency, Solana, utilizing the Rust programming language, is a strong contender in the blockchain space for real-time applications. It stands out for its efficiency and speed, catering to applications that demand quick transaction processing, offering an alternative to creating a custom rollup or blockchain.</p><p><strong>Polygon</strong>: Polygon enhances Ethereum’s ecosystem, focusing on scalability and interoperability, primarily through its Layer 2 solutions. It complements Ethereum rather than competing with Celestia or Cosmos. For instance, a project could use Polygon for Ethereum-based scalability while utilizing Celestia for its data availability layer, combining the strengths of both platforms.</p><p><strong>Avalanche</strong>: Known for its emphasis on scalability and rapid finality, Avalanche is a strong option for developers requiring quick transaction completions. Its unique consensus mechanism suits applications like decentralized exchanges or DeFi platforms where quick finality and robustness are crucial.</p><p><strong>Hedera Hashgraph (HBAR)</strong>: Utilizing hashgraph consensus, Hedera offers an alternative to traditional blockchain technology. It’s known for its high-speed transactions and low fees, making it suitable for enterprise-grade applications that require these attributes.</p><p><strong>Internet Computer (ICP)</strong>: ICP aims to extend the functionality of the internet by hosting backend software on the blockchain, offering a unique blend of decentralization and computing power. This includes capabilities like decentralized file storage, akin to AWS S3, providing a comprehensive solution for decentralized applications.</p><h3>Conclusion:</h3><p>The comparative analysis of Celestia and Cosmos illuminates a crucial insight: the future of blockchain technology lies not in a one-size-fits-all solution but in the ability to cater to diverse and evolving needs. Celestia, with its modular architecture, offers unparalleled scalability and customization, making it a potent force in the realms of gaming and AI — areas demanding high flexibility and efficiency. On the other hand, Cosmos, with its established ecosystem and interchain operability, continues to be a robust choice for applications thriving within its collaborative environment. The decision between Celestia and Cosmos ultimately hinges on the specific requirements of the application at hand and the vision of its developers. As blockchain technology marches forward, it is this diversity and specialization offered by platforms like Celestia and Cosmos that will drive innovation and growth in an increasingly decentralized world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30855f0373ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond the Test Case: Rethinking Unit Testing in the Age of Agile Web Development]]></title>
            <link>https://ottovw.medium.com/beyond-the-test-case-rethinking-unit-testing-in-the-age-of-agile-web-development-fa9849aedd13?source=rss-bb5885ac958------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa9849aedd13</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[javascript-development]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Otto von Wachter]]></dc:creator>
            <pubDate>Wed, 08 Nov 2023 22:48:32 GMT</pubDate>
            <atom:updated>2023-11-10T18:45:48.099Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*zelnyY5-Tm_pNDZ-" /><figcaption>Tokyo Tower, Minato-ku, Japan on Unsplash</figcaption></figure><p>In the rapidly shifting landscape of web development, traditional unit testing methods are under scrutiny. This article delves into why the stringent adherence to these practices is being questioned, and emphasizes the need for agility and innovation in our approach. Prepare to embark on a thought-provoking journey that might just challenge everything you thought you knew about testing as we navigate the changing realities of software and web creation.</p><blockquote>“The unexamined life is not worth living.” — Socrates</blockquote><h3><strong>Revisiting the Case for Stringency in Unit Testing</strong></h3><p>Web applications are assessed not just on surface functionality, but also on deeper aspects like data validation, user flow, and error handling. While basic user acceptance is gauged by the absence of visible errors, this perspective might overlook the complexities of modern web development. This raises a question: does extensive unit testing, particularly of front-end components, always translate to better application performance and user satisfaction? Or might it lead to a narrow focus on certain aspects at the expense of more holistic application quality?</p><h4><strong>The Disproportionate Onus of Unit Testing in Web Development</strong></h4><p>In the realm of web UI, the pursuit of high granularity in unit testing often contrasts with the agile and iterative nature of web development. Large companies may seek initial perfection, emphasizing exhaustive unit testing from the project’s inception. However, this can lead to an unsustainable maintenance burden as frequent UI changes and the expectation of a continually improving UX necessitate continuous test updates. Such an approach can overlook the adaptability required by the modern web.</p><p>The statistics on the costs of software testing can be misleading when applied indiscriminately. While it is true that a significant portion of project resources goes into testing, not all testing is created equal. Unit testing, especially when applied with stringent criteria, can consume an inordinate amount of engineering time and effort — time that could be redirected towards more user-centric concerns or broader tests that align more closely with user interactions.</p><h4><strong>Questioning the Point</strong></h4><p>The practical value of unit tests is ostensibly beyond reproach in most software engineering circles. However, when one examines the nature of the defects unit tests typically uncover, the line between necessity and excess begins to blur. In web development, especially, the distinction is critical. Unit tests are adept at catching low-level, technical bugs, but they can fall short of detecting issues that affect the user’s interaction with the application — the front-end glitches and usability roadblocks that most significantly impact user satisfaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*fnzFZW6kTEK0BLvY" /></figure><p>Moreover, the correlation between exhaustive unit testing and overall application stability does not always hold up under scrutiny. The Pareto Principle, or the 80/20 rule, suggests that 80% of the value in testing comes from 20% of the effort. This implies that a carefully selected subset of tests, focused on critical functionality, could provide the majority of the benefits. This principle becomes particularly relevant when considering code coverage metrics. A high percentage of code coverage, often touted as a mark of software quality, can be misleading. For instance, boasting ‘90% code coverage’ does not necessarily equate to 90% effectiveness in catching critical bugs. The most crucial bugs could reside in the untested 10%, underscoring the need for strategic, rather than exhaustive, testing approaches.</p><p>In juxtaposing unit tests with other forms of testing such as integration, system, and user acceptance tests (UAT), it’s important to ask: Are we focusing too much on the trees, and not enough on the forest? Integration tests can often catch the types of issues that unit tests will miss, especially as they pertain to the interaction between different parts of the system. System tests evaluate the application as a whole, which is ultimately how the end-user will experience it. UAT, in particular, is vital as it assesses the application’s fitness for use in real-world scenarios.</p><p>The debate around exhaustive unit testing versus holistic and nuanced approaches reflects the broader discussion within web development communities. There’s growing advocacy for focused testing that aligns with user behavior and critical system functionality, rather than a blanket strategy covering every possible scenario.</p><blockquote>“Progress is impossible without change, and those who cannot change their minds cannot change anything.” — George Bernard Shaw</blockquote><h3><strong>Modern Web App Development: A Technical Perspective</strong></h3><p>Within the dynamic terrain of web development, the rise of declarative programming paradigms, especially in the context of frameworks such as React, shifts our approach to unit testing. Declarative frameworks, by their very nature, reduce the necessity for certain types of unit tests. In these environments, the developer declares what the UI should do, and the framework takes care of how it is done. Provided that the framework’s schema is satisfied, which can be verified through the compiler and schema validation tools, the program is expected to run as intended. This diminishes the need for unit tests that would traditionally validate imperative logic flows.</p><p>The “if it works, don’t fix it” mantra can be translated into a more technical observation: with declarative code, as long as the declarations correctly describe the desired state, the system is trusted to function properly without the extensive unit testing required by imperative programming models. The robustness is baked into the schema adherence, reducing the need for the granular unit tests that would otherwise be necessary to validate every single imperative command.</p><p>In the context of CI/CD practices, the argument for extensive unit tests weakens further. Automated end-to-end testing within a CI/CD pipeline can cover many of the checks that unit tests aim to perform. Moreover, with the implementation of canary releases — where a new version is rolled out to a small subset of users to validate functionality before a full release — bugs can be identified and mitigated with minimal impact. These real-world checks often provide faster and more relevant feedback than a suite of unit tests could.</p><p>When it comes to defining the “critical code” in web applications, it’s essential to distinguish between what is critical to functionality and what constitutes presentation. JSX markup, which describes UI structure, can be seen as presentation code. It should be tested for rendering as intended, but it does not embody the complex logic or state management where bugs are more prone to have severe consequences. Critical code, in this sense, should be defined as any part that handles data processing, business logic, or any operations where the state is changed or manipulated. It’s this critical logic where unit tests can play a significant role, as errors here can lead to fundamental issues in the application’s behavior.</p><blockquote>“Program testing can be used to show the presence of bugs, but never to show their absence!” — Edsger Dijkstra</blockquote><h3><strong>Rethinking Testing in Agile Development</strong></h3><p>In the context of Agile frameworks like Scrum, where the definition of “done” often implies a high degree of code perfection at the end of each sprint, traditional and granular testing methods can seem like a misfit. The emphasis is on delivering functional increments of the product, and so, testing needs to align with this objective without becoming a bottleneck. Let’s explore some broader, agile-aligned alternatives to conventional testing strategies:</p><p><strong>Risk-Based Testing (RBT):</strong> Prioritize testing based on the risk of failure and the impact of potential bugs. This approach aligns well with sprints by focusing on what’s most critical for the sprint’s goals, allowing teams to address the highest risks within the sprint timeline.</p><p><strong>Feature Flagging: </strong>Deploy features toggled off by default, allowing you to merge code into production without exposing it to all users. This practice can align with continuous deployment and enables you to perform live testing with less risk, which is practical for teams operating under tight sprint schedules.</p><p><strong>Canary Releases:</strong> Release the new feature to a small subset of users to gauge its stability and performance. If the feature behaves as expected, it can be gradually rolled out to a broader audience, reducing the need for extensive pre-release testing.</p><p><strong>Observability Tools:</strong> Invest in tools that improve the observability of your application in production. By monitoring real-time logs, metrics, and traces, you can identify and react to issues quickly, often before they impact a significant number of users.</p><p><strong>Chaos Engineering:</strong> Introduce controlled disruptions to your application in production to test resilience and uncover issues. This advanced testing technique encourages building robust systems that can handle unpredictable scenarios, which is the ultimate goal of any testing (more on this and Netflix later).</p><p><strong>User Feedback Loops:</strong> Implementing in-app feedback mechanisms allows for immediate user input, turning your user base into testers. This real-world feedback can be invaluable and more indicative of your application’s health than some traditional testing methods.</p><p><strong>Lean Testing with Minimal Viable Products (MVPs):</strong> Rather than aiming for exhaustive tests for each sprint, focus on delivering a minimal viable product that meets user needs. Use the feedback from this MVP to guide further development and testing efforts, aligning with the iterative nature of Agile.</p><p><strong>Contract Testing:</strong> Especially useful for microservices or in any distributed system, contract testing ensures that the agreed-upon contract between services is maintained, which can be more efficient than detailed unit tests for every possible interaction.</p><p><strong>Quality Assistance:</strong> Shift the responsibility of quality to the entire team, not just QA engineers. This approach encourages developers to consider the broader implications of their work and encourages a collective ownership of product quality.</p><p>Integrating these strategies into an Agile development cycle promotes a more holistic approach to quality assurance, emphasizing flexibility, responsiveness, and user-centric testing that supports the rapid iteration and incremental delivery model of Agile methodologies.</p><blockquote>“Innovation is saying no to a thousand things.” — Steve Jobs</blockquote><h3><strong>Expert Insights on Testing in Web Development</strong></h3><h4>1. Real-World Tactics at Facebook:</h4><p>At Facebook, rigorous production engineering complements testing. Kent Beck, known for creating Extreme Programming and pioneering Test-Driven Development (TDD), while at Facebook, emphasized the importance of ‘right-sized’ testing. He suggests tests should be “the simplest thing that could possibly work” and tailored to the confidence they need to bring in the code for different scenarios. Facebook also leverages extensive monitoring and quick rollback mechanisms, ensuring that even if something slips through the net, it can be rectified with minimal user impact.</p><h4>2. Ruby on Rails and DHH’s Balanced Approach:</h4><p>David Heinemeier Hansson (DHH), creator of Ruby on Rails, has often critiqued an over-reliance on unit testing. He promotes a testing philosophy that doesn’t overshadow the software design. “Writing software that’s easy to understand and maintain is more important than having a badge of 100% coverage,” he argues. DHH advocates for writing meaningful tests that cover critical paths rather than striving for perfect coverage metrics.</p><h4>4. Netflix and the Culture of Chaos Engineering:</h4><p>Netflix has been at the forefront of implementing chaos engineering to ensure system reliability. Their Senior Software Engineer, Nora Jones, points out that chaos engineering is “less about causing chaos and more about uncovering chaos.” This practice involves proactively introducing failures to test the resilience of systems, which goes hand in hand with their emphasis on strong automation and monitoring.</p><h4>5. Martin Fowler’s Perspective on Unit Testing:</h4><p>Martin Fowler, well known among old-school software engineers, has highlighted the value of judicious testing. He notes that while unit tests are important, they shouldn’t stifle productivity. “The true value of tests is not just in verifying the correctness of code but in defining the intentions of that code clearly,” says Fowler. His stance is that tests should inform and document the functionality, not just serve as a debugging tool.</p><p>These experts collectively suggest that while testing is important, a monolithic approach to it isn’t. They propose testing strategies that support development rather than hinder it, advocating for balanced, thoughtful testing that aligns with the goals and context of each project.</p><blockquote>“Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.” — Catch-22</blockquote><h3>Bonus — Navigating the Inertia: Transforming Established Testing Practices</h3><h4>Understanding Organizational Resistance</h4><p>Organizations often develop a culture that becomes resistant to change due to comfort with existing processes and fear of disrupting a system that is perceived to work adequately.</p><p>Resistance can also stem from skepticism over new methods that have not been proven within the specific context of the organization, as well as from a reluctance to invest time and resources into what might be seen as a trend or fad.</p><p>The perceived risk of new methodologies can sometimes overshadow the potential benefits, especially if these benefits are not immediately quantifiable or demonstrable.</p><p>A significant hurdle is also the potential resistance from stakeholders who may not have a technical understanding of the implications and benefits of updated testing practices.</p><h4>Strategies for Facilitating Change</h4><p><strong>Incremental Change Over Big Bang: <br>1.</strong> Begin by introducing risk-based testing (RBT) in a controlled project to demonstrate its impact on efficiency and coverage, adjusting testing efforts according to the likelihood and impact of failures.<br>2. Implement feature flagging in a non-critical system to show how it can facilitate a smoother and more controlled deployment process.<br>3. Gradually adopt canary releases for minor features, monitoring their performance and using the feedback to refine the process before expanding to more significant releases.</p><p><strong>Empowering Change Agents:<br>1. </strong>Select team members who are most enthusiastic about Agile practices to lead pilot projects. This will not only demonstrate the potential of these methods but also create internal case studies that can showcase the benefits.<br>2. Ensure these change agents are visible and vocal about their processes and successes, helping to dispel doubts and misconceptions about the new methodologies.</p><p><strong>Clear Communication of Benefits:<br>1. </strong>Proactively communicate the benefits of the new approach through regular updates that highlight success stories, efficiency gains, and improvements in product quality and team morale.<br>2. Address resistance with patience and by providing clear evidence of how new testing strategies align with business goals like reducing time-to-market and increasing customer satisfaction.</p><p><strong>Creating Feedback Loops:<br></strong>Establish mechanisms to collect feedback from all stakeholders affected by the changes, from developers to business executives, and use this feedback to continuously refine and improve the processes.</p><p><strong>Aligning with Business Goals:<br></strong>Showcase how continuous integration and delivery can directly contribute to business objectives by enabling more responsive release cycles and by providing a competitive edge in the market.</p><blockquote>“The only way to make sense out of change is to plunge into it, move with it, and join the dance.” — Alan Watts</blockquote><h3><strong>Conclusion</strong></h3><p>Our journey through the nuances of modern web app development suggests a shift away from the inflexibility of stringent unit testing towards a more strategic approach to quality assurance. The adoption of Risk-Based Testing (RBT), the strategic use of feature flags for safer deployments, the enhancements offered by continuous integration and deployment (CI/CD) practices, and the implementation of automated monitoring systems collectively represent the next wave of testing strategies. They provide a more nuanced and responsive way to ensure software quality that aligns with the current needs of the industry. Ultimately, it’s about crafting a testing ecosystem that is as agile and resilient as the web applications it supports — where unit tests are a vital component, not the sole guardian of software integrity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa9849aedd13" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A simple technical overview to understand the mechanics of Behodler.io DEX]]></title>
            <link>https://ottovw.medium.com/a-simple-technical-overview-to-understand-the-mechanics-of-behodler-io-dex-116220a8f4fe?source=rss-bb5885ac958------2</link>
            <guid isPermaLink="false">https://medium.com/p/116220a8f4fe</guid>
            <category><![CDATA[dex]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Otto von Wachter]]></dc:creator>
            <pubDate>Thu, 08 Apr 2021 21:52:02 GMT</pubDate>
            <atom:updated>2021-04-09T04:25:12.096Z</atom:updated>
            <content:encoded><![CDATA[<p>Tomorrow the Liquidity Queue Event will start on the Behodler.io DEX. This is an exciting project, and it has a lot of technical nuances. This article is meant to break down some of obstacles and confusion that is naturally present in understanding a sufficiently complex system.</p><p>I will cover 3 primary topics that are needed to fully understand the Beholder.io DEX:</p><ul><li>What is it? A single-sided AMM with single liquidity token</li><li>Liquidity Queueing &amp; price tilting</li><li>Fee-on-transfer &amp; residual liquidity</li></ul><p><em>NOTE: This article is quite dense, but it follows a logical progression. Please comment if clarification is needed!</em></p><h3>Behodler DEX: Single-sided AMM, Single Liquidity Token (SCX)</h3><p>The most popular AMM is, obviously, Uniswap. Uniswap is a two-sided AMM, meaning, that each liquidity pool has a pair-liquidity-token. For example, if I want to add liquidity for $EYE pool, I add equal amounts of EYE and ETH.</p><p>However, there are also single-sided AMMs. A single-sided AMM means there is no pair. Aside from Behodler.io, Bancor is another example of a single-sided AMM. This means you just contribute one token you want to provide liquidity for, and you get back a token representing the liquidity.</p><p>The way a single-sided AMM works is via a well-known cryptocurrency concept called bonding curve</p><blockquote>A bonding curve is a mathematical concept used to describe the relationship between price and the supply of an asset.</blockquote><blockquote>The basis of the bonding curve is the idea that when a person purchases an asset that is available in a limited quantity (like Bitcoin), then each subsequent buyer will have to pay slightly more for it.</blockquote><p>Bonding curves can exist with different shapes (i.e. different mathematical functions). Behodler uses a logarithmic bonding curve, and more specifically a log base 2 bonding curve. There are presumably very good reasons for this particular choice of bonding function, and a big reason is gas efficiency. This is one of the reasons why Behodler.io can perform token swaps at half the transaction cost of Uniswap (!!)</p><h4><strong>Single Liquidity Token, Omni-Schedule Bonding Curve</strong></h4><p>For the Behodler AMM, Scarcity (symbol SCX) is the single liquidity-index token. SCX is minted simply by buying SCX on the Behodler.io exchange.</p><p>But, here is a conundrum. Since SCX needs to provide liquidity for (and can be bought with) different tokens, how is the price of SCX determined? The answer to this question is another big term: The SCX smart contract uses an<strong> omni-schedule bonding curve: Each token has its own bonding curve that determines its price relative to SCX.</strong></p><p>The supply of SCX relative to each token grows logarithmically. This means that each linear unit of tokens added to the Behodler DEX returns 1/2 the amount of SCX. This also implies that the earlier you buy SCX, the more liquidity you own in the long term (!)</p><p>Arbitrage will balance the price of SCX between different tokens.</p><p>The future will tell whether this logarithmic omni-schedule bonding curve system will prove successful, but a lot of thought has gone into this by Justin Goro and the Behodler team. The reduced gas fees will certainly be a big motivation to use Behodler.</p><h3>Liquidity Queueing</h3><p>Liquidity Queuing has one primary goal: To mint more SCX, which means the DEX has more liquidity.</p><p>Liquidity Queueing (Abbreviated as LQ), is a similar concept to the liquidity mining programs that many projects use, but with a completely innovative twist.</p><p>Liquidity mining usually works by going to Uniswap and adding some token plus Ether to a liquidity pool. Your wallet is credited with Liquidity Pool (LP) tokens. Then you may be able to stake LP tokens on another website for additional rewards. A liquidity mining program encourages liquidity in the token and runs for a specific period of amount of time, for example 2 months.</p><p>Liquidity Queueing, as opposed to staking, is meant to be ongoing.</p><p>How it works is that you contribute a single token, and by doing so you enter the queue (abbreviated as Q below). Your tokens are paired with tokens from a different “vault”. The full process goes something like this:</p><ul><li>You contribute a single token (4 tokens should be available at the start of beta program: )</li><li>You enter the Q. The amount of time you will spend in the Q depends on the rate other people enter after you</li><li>LP tokens are purchased for you.</li><li>Upon exiting the Q, the LP tokens are sent to your wallet. Now you can (if you choose) unpair your LP tokens (on Uniswap) and enter the Q again.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/0*qNedQkArTuFQrPkv.png" /><figcaption>Input tokens and reward pairs</figcaption></figure><p>LQ entrants will receive a couple of different types of rewards, which is exciting, but not necessary to discuss for the understanding of the Behodler DEX.</p><p><em>Note: this is my best understanding at this point. The beta program will start in just a few hours, so this article may be updated.</em></p><h4><strong>Price Tilting</strong></h4><p>Price tilting is meant to increase the price of a certain token on Uniswap versus to the price on Behodler. This encourages more minting on Behodler and selling on Uniswap (or other DEX). The way this works is that Uniswap allows the ratio of the token pairs to be specified (programmatically, not via the Uniswap UI). The ratio is specified so that the implied price of SCX is slightly higher than the current market price.</p><p>This also creates a feedback loop that encourages a faster-moving Q.</p><h4>Liquidity Queue Beta Participation</h4><p>The Liquidity Queue is scheduled to launch on <strong>April 9 at Noon UTC</strong>. In order to participate you will need to already have either one of these two LP tokens:</p><ul><li>EYE/SCX (any amount, you are required to stake 10% of your LP tokens)</li><li>EYE/ETH (1,000 EYE minimum are required to be staked)</li></ul><p>You will need stake one of these LP tokens on the Behodler.io, before participating in the Q (this is step is completely independent of the Q itself).</p><h3>Fee-on-transfer and Residual Liquidity</h3><p>SCX is a fee-on-transfer token. That means that every time you interact with the token, for example, buy, sell, etc. a small fee is subtracted. Of this fee 1.5% goes to treasury for rewards (for LQ) and 0.5% is burnt (To be confirmed)</p><p>The net effect of the burning of SCX is that a residual liquidity is created, i.e. liquidity that can never be accessed again. This is a unique feature of Behodler, unlike other DEXes like Uniswap, and it is meant to give Behodler increased stability.</p><h4>Sources and Further Reading:</h4><p>Bonding curves: <a href="https://medium.com/linum-labs/intro-to-bonding-curves-and-shapes-bf326bc4e11a">https://medium.com/linum-labs/intro-to-bonding-curves-and-shapes-bf326bc4e11a</a></p><p>Liquidity Queueing Explained: <a href="https://medium.com/weidaithriftcoin/liquidity-queueing-tl-dr-7bb3aff58162">https://medium.com/weidaithriftcoin/liquidity-queueing-tl-dr-7bb3aff58162</a></p><p>All Behodler articles on Medium: <a href="https://medium.com/weidaithriftcoin/latest">https://medium.com/weidaithriftcoin/latest</a></p><p>Beholder2 Github Readme: <a href="https://github.com/WeiDaiEcosystem/behodler2">https://github.com/WeiDaiEcosystem/behodler2</a></p><p>LiquidQueue Github Readme: <a href="https://github.com/WeiDaiEcosystem/LiquidQueue">https://github.com/WeiDaiEcosystem/LiquidQueue</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=116220a8f4fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning computer programming in a weekend]]></title>
            <link>https://medium.com/series/learning-computer-programming-in-a-weekend-9027436d9e7f?source=rss-bb5885ac958------2</link>
            <guid isPermaLink="false">https://medium.com/p/9027436d9e7f</guid>
            <dc:creator><![CDATA[Otto von Wachter]]></dc:creator>
            <pubDate>Wed, 31 May 2017 19:20:59 GMT</pubDate>
            <atom:updated>2017-05-31T19:20:59.138Z</atom:updated>
            <content:encoded><![CDATA[<p>{{ And choose your own adventure }}</p><p>I have had a passion about computer programming since I was 10 years old. I got my first taste when my mom was learning education, and she was learned some Logo at Virginia Tech.</p><p></p><p>((Logo is a simple computer language mostly used for learning.))</p><p>I even got to go her computer lab and write some simple programs myself.</p><p>It was beautiful and fun.</p><p>I got my first Mac when I was 13, and that’s when my serious fascination began.</p><p>I felt captivated by this magical grey box, its elegance, and the cool apps which I could download with a device called a modem.</p><p>I became good friends with two computer nerds/brainiacs.</p><p>I learned practical skills from them like making free phone calls from pay phones.</p><p>I’m still friends with them, and we have morally-developed significantly since that time!</p><p>I began to teach myself computer programming.</p><p>First a little <strong>Hypercard</strong>, but I quickly grew into much more advanced languages, like <strong>Turbo Pascal</strong> (which I leaned at school on a PC) and <strong>Object Pascal</strong> (which I learned at home so I could program my Mac)</p><p>At school I wrote an encryption program that could encrypt any file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*B_sQDAFF_oHPAQWA9Ik6gA.jpeg" /><figcaption>((If you’re geeky and curious, this is how my encryption program worked: it generated a long series, a.k.a. a stream, of random characters based on a password, and used simple trick called XOR to hide the file “behind” the stream of random characters. More on this later.))</figcaption></figure><p>Meanwhile at home I had another idea, I made an app in which you could draw shapes by hand and computer would “correct” the shapes by replacing your drawing with a standard shape with straight lines.</p><p>It was kind of like autocorrect for drawings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*dcfwR45uId1KTuG1riPTsA.png" /></figure><p>I went on to study mechanical engineering at RPI, because I wanted to do something more than computer programming all day, every day.</p><p>But life pulled me in the other direction. Opportunities knocked, and I answered the call.</p><p>But, before I go on with my story…</p><p>You were interesting in learning computer programming, weren’t you?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9027436d9e7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Do you really need Git? Here’s why you should reconsider Subversion]]></title>
            <link>https://ottovw.medium.com/forget-git-just-use-subversion-or-perforce-8412dc1b1644?source=rss-bb5885ac958------2</link>
            <guid isPermaLink="false">https://medium.com/p/8412dc1b1644</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Otto von Wachter]]></dc:creator>
            <pubDate>Wed, 14 Sep 2016 16:11:29 GMT</pubDate>
            <atom:updated>2020-11-25T16:49:45.158Z</atom:updated>
            <content:encoded><![CDATA[<h4>If you’re a small team creating a single product and want to make fast progress, you don’t need the distraction of managing a multiplicity of small Git projects</h4><p>For years I thought Git to be the only obvious choice for source control, because everyone said it was. Then I did my own research and found out it’s not as obvious of a choice as it seems.</p><p>Like many small teams, we have a need to be productive independently. There’s a strong drive to create modules (when possible, microservices), that allows a team to make a lot of progress without stepping on each others’ toes.</p><p>This got me googling, and I found an interesting <a href="http://gregoryszorc.com/blog/2014/09/09/on-monolithic-repositories/">post</a> resulting in a fascinating <a href="https://news.ycombinator.com/item?id=10007654">discussion</a> about <a href="https://danluu.com/monorepo/">monorepos</a> vs project repos. Here’s what I discovered.</p><blockquote>The average team doesn’t need Git. Git merging sucks, and few people know how to use Git well (but nobody wants to admit they don’t know how to use Git).</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W68bq58ihbTZ326alZQR6Q.png" /></figure><p>The immediate impulse in most teams is to create lots of small Git repos. This is the way we know it’s done in open source. And, it makes sense for many purposes of open source, for example when you want to reuse code across a large array of projects with decoupled release cycles. The problem is, it makes a lot less sense for an organization that’s working on a single product.</p><p>Separate project repos are not conducive to keeping all your projects in sync. This is why we have things like npm package manager and maven (I shudder at the sound of “maven”. Those who, like me, are Java survivors perhaps <a href="https://virgo47.wordpress.com/2011/03/07/honestly-i-hate-maven/">can relate</a>). And why we spend countless hours <a href="https://gist.github.com/jashkenas/cbd2b088e20279ae2c8e">debating things like semver</a>, etc.</p><p>When you’re working in a small team on a single product, and want to make progress instead of spending 50% of your time debating the structure of your project and managing versioning of your various internal dependencies, it just doesn’t make sense to have a multiplicity of independent repos. But we do it anyway, because it’s fun to create lots of repos (makes me feel like I’m accomplishing a lot), and also:</p><blockquote>Git merging sucks, and few people know how to use Git well (but nobody wants to admit they don’t know how to use Git).</blockquote><p>I remember my days of innocence, when Subversion was a perfectly fine choice for a version control system. I long for those days.</p><p><strong><em>It turns out, Subversion is still a fine choice.</em></strong> In fact, it’s a better choice today it was back then. I found out, <a href="https://svnvsgit.com/">there’s just a bunch of myths about Subversion</a>, and few good reason why you shouldn’t use it.</p><p>And there’s actually few good reasons you need DVCS unless you’re a nerd who has nothing better to do than to create a bunch of atomic commit and branches on your repo as you’re flying or in some remote nook of the earth.</p><p>This is the conclusion I came to. If you want to dive deeper into this conversation, you can read on for some highlights of what other people have said.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cgB7kgD7gdnTpawehDauUQ.jpeg" /></figure><p>In <a href="http://gregoryszorc.com/blog/2014/09/09/on-monolithic-repositories">On Monolithic Repositories</a>, the author points out that there are principled and practical reasons why people argue for separate repos (but none of them are very good reasons)</p><blockquote><em>Gregory Szorc:</em> The principled camp will say that separate repositories constitute a loosely coupled (dare I say service oriented) architecture that maps better to how software is consumed, assembled, and deployed and that erecting barriers in the form of separate repositories deliberately enforces this architecture. I agree. However, you can still maintain a loosely coupled architecture with monolithic repositories. The Subversion model of checking out a single tree from a larger repository proves this. Furthermore, I would say architecture decisions should be enforced by people (via code review, etc), not via version control repository topology. I believe this principled argument against monolithic repositories to be rather weak.</blockquote><p>From <a href="https://news.ycombinator.com/item?id=10007654">Hacker News</a>, some good points. Git is not a good tool for subprojects:</p><blockquote>You’re running into problems because you have multiple people all trying to push to the same branch, and Git errs on the side of extreme caution rather than creating a merge that you didn’t specifically request. If you use merge requests instead, as supported by Github/Gitlab, you don’t get blocked by other people’s commits.</blockquote><blockquote>(<em>Actual</em> merge conflicts are an orthogonal problem. They’ll happen whenever you have multiple people editing the same code, regardless of what VCS you use or how it’s organized.)</blockquote><blockquote>The Linux kernel example is a bit of a tricky one. Yes, kernel.org hosts a lot of repos, but they’re all different versions of the same codebase. They have a common commit ancestry, and commits get merged from one to another. So they’re not really separate modules in the sense that we’re talking about; they’re more like namespaces that each contain a set of branches.</blockquote><p>On dealing with a large git repo:</p><blockquote>I guess it comes down to organisational style. Using merge requests requires some benevolent dictator (poor sod?) to perform the merges. For us, if your commit is approved in Gerrit, it’s your task to merge it. If some other commit was merged in between, you have to rebase, possibly solving merge conflicts. So guess that with a monolithic repo, that wouldn’t scale, but it could be made to scale by appointing someone to perform the merge requests. I’m not sure I would like to be that person…</blockquote><p>If using git, branches are your friend, and merge requests can help you use git more effectively:</p><blockquote>You’re running into problems because you have multiple people all trying to push to the same branch, and Git errs on the side of extreme caution rather than creating a merge that you didn’t specifically request. If you use merge requests instead, as supported by Github/Gitlab, you don’t get blocked by other people’s commits.</blockquote><p>Subversion doesn’t meet your needs? How about Perforce?</p><blockquote>We use Perforce (since before DVCSs came along) and follow the monolithic approach with 100s of projects. We use git and mercurial when interfacing to clients’ repositories and for small, local temporary repos to structure work that shouldn’t clutter our main repository.</blockquote><blockquote>The monolithic approach works so smoothly because Perforce makes it trivial to only check out the directories we’re working on. It has huge advantages when we’re working on interdependent projects.</blockquote><blockquote>Perforce does have some historical oddities (top level directories are called “depots” and are slightly different than normal directories), but the ability to branch, merge, and check out using normal filesystem concepts is a huge usability boon.</blockquote><p>Many repos approach doesn’t make sense for startups:</p><blockquote>I agree with the author… In the context of startups that are very much in “discovery” mode (still doing big changes to their product) breaking the repositories in subparts is just a source of confusion for the tech lead. I would also argue it is bad for devs because they then need to manage version-binding between different repos. Many repos approach is only justifiable if you have many teams with many tech leads each independently doing releases.</blockquote><p>Note: the views expressed in this article are my own views and do not represent the views of my employer. However, we’re always on the lookout for great engineers who want to make a difference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*duOcr8iChTc7ZFVxuFkyqg.png" /><figcaption>The enforcers of the git hegemony are neither very helpful nor have much of a sense of humor.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*xE86utdPaK6X3QIhCL6cnQ.jpeg" /><figcaption>Me with git: I still don’t know how my head got detached.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8412dc1b1644" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How do you respond when tragedies happen?]]></title>
            <link>https://ottovw.medium.com/how-do-you-respond-when-tragedies-happen-51fd1acb3ef1?source=rss-bb5885ac958------2</link>
            <guid isPermaLink="false">https://medium.com/p/51fd1acb3ef1</guid>
            <category><![CDATA[positivity]]></category>
            <dc:creator><![CDATA[Otto von Wachter]]></dc:creator>
            <pubDate>Mon, 11 Jul 2016 17:41:26 GMT</pubDate>
            <atom:updated>2016-07-11T17:41:26.853Z</atom:updated>
            <content:encoded><![CDATA[<p>A friend of a friend shared a story on Facebook, quoted below. It reminds me that I always have a choice how to respond to every situation. I can turn towards hate, harm and fear, or I can turn to love and compassion.</p><p>There are many people like Anna, many stories like this one, but usually we focus on what is bad. It’s outrage and anger that keep us trapped in harmful and fearful thoughts, addicted to the news.</p><blockquote>Tonight, on my way to the grocery store, I passed a law enforcement officer sitting in his SUV, looking weary. I think he was transit police. He rubbed his eyes. Then he caught me looking at him and gave me a warm smile. I smiled back.</blockquote><blockquote>I decided to stop at our local Dunkins and asked if they knew his preferred drink. “Iced tea,” the cashier said. I picked up some refreshments and walked over to this officer’s car window. He rolled down the window, looking surprised. I thanked him for his service. I said I know his heart must be hurting for his fellow officers and their families in Dallas, as my heart was hurting, too. I thanked him for his service and prayed that he would be safe. He smiled warmly and thanked me sincerely.</blockquote><blockquote>Later, on my way home, this same officer motioned me over and asked my name. His name was Sal and he extended his hand for a handshake. I thanked him again for his service. He asked me why I did such a thing for him. I said he had looked worn out and I felt for him, having to pull a long shift while grieving for his slain and injured fellow officers. Sal admitted that it had been a long day, hearing about the surviving family members of the slain officers. He was worried about the remaining ones who are still in the hospital. That is when I realized I was still holding on to his hands.</blockquote><blockquote>Sal told me that his shifts are 16–18 hours long, but he does his best for our City. His wish, other than to live until he can retire, is for the community and law enforcement to trust each other. He wishes things were different. He wanted me to know that not all law enforcement officers are bad or racist. There are good officers. I assured him that I knew… I told him that we were fortunate in our 6th District to have Chief Inspector James Tiano, who was a really amazing police community liaison. He did such great work with the LGBT and AAPI communities to foster trust. Sal’s face lit up at the mention of the now-retired chief inspector.</blockquote><blockquote>We could not talk for long because he had to ensure the safety of peaceful protestors headed our way. From the passenger seat, his cellphone lit up with a message: His wife had been texting him throughout the day to ask if he was safe. She was afraid of snipers. I gave Sal my prayers and appreciation. I promised to say hi if I saw him again. I thanked him again.</blockquote><blockquote>I don’t have a policy proposal or big answers. But tonight, I followed my heart. My heart still hurts for <a href="https://www.facebook.com/hashtag/altonsterling?source=feed_text&amp;story_id=10154302530123210">‪#‎AltonSterling‬</a>, <a href="https://www.facebook.com/hashtag/philandocastille?source=feed_text&amp;story_id=10154302530123210">‪#‎PhilandoCastille‬</a>, and<a href="https://www.facebook.com/hashtag/pedroerickvillanueva?source=feed_text&amp;story_id=10154302530123210">‪#‎PedroErickVillanueva‬</a>, but my conversation with Sal was healing. I am grateful for a chance to have a heart-to-heart conversation with a stranger in uniform who would sacrifice his life for me if needed, and who would do so without asking for thanks. May God protect all of us who are on the same side fighting for truth and justice.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51fd1acb3ef1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[REST API downfalls, and dawn of GraphQL]]></title>
            <link>https://ottovw.medium.com/rest-api-downfalls-and-dawn-of-graphql-dd00991a0eb8?source=rss-bb5885ac958------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd00991a0eb8</guid>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[rest-api]]></category>
            <dc:creator><![CDATA[Otto von Wachter]]></dc:creator>
            <pubDate>Fri, 01 Jul 2016 02:33:41 GMT</pubDate>
            <atom:updated>2016-07-01T02:33:41.006Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*IpTEquo-ckKnc61P3SPgdg.png" /></figure><h4>And getting started with GraphQL today</h4><p>The world of software moves fast. Software developers and architects are always trying to balance simplicity vs. complexity; optimization vs. get-it-done; better-mousetrap vs. tried-and-tested.</p><p>Most of us thought (or still think) we had a good thing going with REST. Unlike earlier web service specs like SOAP and RPC, REST is simple. It’s based on universal web technologies (HTTP) and can be easily consumed by a javascript app (using JSON). It’s easy to grok, test, and debug (using a tool like Postman).</p><p>So why throw away a good thing? Simplicity is a good, but the simplicity of REST is also its downfall. REST grew up in an age where the server dominated the web application landscape.</p><blockquote>While just a few years ago most websites used to be rendered on the server and have only relatively little client-side logic, the opposite is true of new apps today. Single-page applications and clients that implement complex logic are the new reality. (from <a href="https://medium.com/apollo-stack/graphql-vs-falcor-4f1e9cbf7504#.rpm3lz7s6">GraphQL vs. Falcor</a> article)</blockquote><h4>What’s wrong with REST?</h4><p>With REST, the server determines what data will be sent down to the client. Each endpoint (URL) is supposed to simply represent a certain resource, for example a user or a blog post, or perhaps a collection thereof. If you need two different views of the same object (for example summary and detail views), you have to make two separate endpoints. At first this seems ok, maybe you have to create a few extra endpoints to accommodate different views in your client, no big deal.</p><p>But there’s another problem. Picture this: You built the initial prototype and now your app is becoming more complex, with different UI components on the same page. Each component gets its own data from a certain API endpoint, which makes your code elegant and simple. But now your customers complain that the app is slow. You realize you are making five different API calls in order to display a certain important page in your app. A simple solution is to create a new endpoint that aggregates all this data and delivers it in a single response. You also have to refactor your client to make this API call at the top level and pass the data down to the respective UI components. It feels like kind of a hack, but it works.</p><p>Your app continues to evolves and new requirements crop up. Maybe you have a dynamic table that the user can customize, with many possible fields to choose from. Another <a href="http://stackoverflow.com/questions/18235546/way-to-specify-resources-fields-list-in-restful-api-request">quick hack</a> lets your client pass a list of fields to the server.</p><p>One day you wake up and you realize your server code has grown into a large mess of spaghetti. Perhaps worst of all, because you have multiple clients using your API out in the world, you’re afraid of eliminating any old code. REST has no versioning mechanism, so every time you refactor your server code and your data schema, you have to be mindful that there will be old clients that will still require the data in the old format (at least for a while). So the easiest thing is to do create new endpoints and leave the old ones untouched.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*5cfW5V8SyQB54UUJecY96Q.jpeg" /><figcaption>Playing with spaghetti is fun, sometimes</figcaption></figure><h4>Is there a better way?</h4><p>This is the question that developers at Facebook and Netflix asked that led them to creating new technologies like <a href="http://graphql.org/">GraphQL</a> and <a href="https://netflix.github.io/falcor/">Falcor</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5DjAeVHO6AkZ_tJg8QmhIg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ePLTluOsPQOhGTdChFbbQQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*qttELBfEIps9wthSYXK9DA.jpeg" /><figcaption>Netflix redid Falcor’s original logo because they felt it hindered early adoption</figcaption></figure><p>The basic premise of both GraphQL and Falcor is that the server exposes a comprehensive data schema to the client, and the client decides exactly what it needs. Unlike with discrete REST endpoints, all the data for any given UI (page) can be sent in one trip to the client.</p><p>Ultimately, GraphQL is the more flexible and complete solution of the two, while Falcor provides out-of-the-box simplicity and is GraphQL-like.</p><p>This great image from the article <a href="https://medium.com/chute-engineering/graphql-in-the-age-of-rest-apis-b10f2bf09bba#.aq6lgxk6d">GraphQL in the age of REST APIs</a> shows clearly how GraphQL differs from a REST API:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RapSQHY4a5TWqDaKpxUe-A.png" /></figure><p>If you still need convincing on GraphQL, you may want to read <a href="https://medium.com/apollo-stack/why-graphql-is-the-future-3bec28193807#.trxwxebkz">Why GraphQL is the future</a> for more convincing arguments.</p><h4>Ready to go?</h4><p>GraphQL is here and ready to go.</p><blockquote>Seriously, you want me to introduce another new technology stack into my already-complicated life?</blockquote><p>Yes. Why? Because it will make your life much easier in the long run.</p><p>So how do you use this thing? To get started you need a GraphQL server and and GraphQL client.</p><p>On the server side, GraphQL can be used with many different databases (you can even combine data from multiple databases into one GraphQL schema). This <a href="https://medium.com/apollo-stack/tutorial-building-a-graphql-server-cddaa023c035#.mp3mm9twn">tutorial</a> shows you how to build a GraphQL server that connects to a SQL DB and a MongoDB (and even a REST endpoint!)</p><p>On the client side, there are currently two competing GraphQL libraries. The official library from Facebook is called <a href="https://facebook.github.io/relay/">Relay</a>, while the maverick upstart <a href="http://www.apollostack.com/">Apollo</a> (from the same people that brought you Meteor JS) is not quite as far along, but promises more simplicity and flexibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*50scSL0hscJlw4HyW3hQIw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/1*YFjuZxIWm2dGUfadkg7K-g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JR5EDZMhEtKcXWyQCDdT7A.png" /></figure><p>If you want to see an example of how to use GraphQL for a web app, you may want to test out <a href="https://github.com/kriasoft/react-starter-kit">react-starter-kit</a> or <a href="https://github.com/relayjs/relay-starter-kit">relay-starter-kit</a>. For Apollo, take a look at the <a href="https://github.com/apollostack/GitHunt">GitHunt</a> full-stack example app.</p><p>To see an example of how to use GraphQL in a native mobile app (android and iOS, via react-native), you should check out the Facebook sample app called <a href="https://github.com/fbsamples/f8app">f8app</a>. There is also a fork, <a href="https://github.com/nnance/f8app-apollo">f8app-apollo</a> which uses Apollo (no promises on how complete this is).</p><p>Good luck on your GraphQL adventures, and beyond.</p><p><em>Author’s note: I’m currently available for hire and I suck at human networking. If you need help with GraphQL, React, or full-stack development in general, please get in touch, at gmail at vonwao.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd00991a0eb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I want to make war, not love. I want to fuck shit up with you]]></title>
            <link>https://ottovw.medium.com/i-want-to-make-war-not-love-i-want-to-fuck-shit-up-with-you-8cd673276b63?source=rss-bb5885ac958------2</link>
            <guid isPermaLink="false">https://medium.com/p/8cd673276b63</guid>
            <category><![CDATA[anger]]></category>
            <category><![CDATA[poetry]]></category>
            <category><![CDATA[love]]></category>
            <dc:creator><![CDATA[Otto von Wachter]]></dc:creator>
            <pubDate>Tue, 19 Apr 2016 16:12:13 GMT</pubDate>
            <atom:updated>2016-04-19T17:46:09.840Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*uFj1Dky-lLFYIPOU7d_OPA.jpeg" /></figure><p>I want to make war, not love. I want to fuck shit up with you</p><p>I want to be merciless with you, and you with me.</p><p>I don’t want your kindness, unless you’re my kind of kind.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*cYEnpRJuFEhVBJrE5YisxQ.png" /></figure><p>I don’t want you to ignore me, I want you to irrationally attack me while I’m thinking about the meaning of the number pi.</p><p>If you see me lying there barely breathing, pretending not to be there, I want you to crush my ribcage in anger. (And if you see me bleeding on the side of the road, I want you to swerve out of your way to make sure I’m dead)</p><p>I want you to waterboard me until I confess the meaning of my life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*EbfVgyvhV4dDJ-hKrSsRrg.jpeg" /></figure><p>But I want you to be gentle then, and playfully nudge me to find out if I’m still alive.</p><p>I want to lock horns with you and push with all my strength, and share a cup of your sweet and sour wine</p><p>Then I want to bask in your gentle touch under a waterfall of purple rain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*dPUzbLBRpcZLPCVB-rU6fg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8cd673276b63" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shopping for a last minute Easter service]]></title>
            <link>https://ottovw.medium.com/shopping-for-a-last-minute-easter-service-43dfd942cb1e?source=rss-bb5885ac958------2</link>
            <guid isPermaLink="false">https://medium.com/p/43dfd942cb1e</guid>
            <category><![CDATA[spirituality]]></category>
            <category><![CDATA[religion]]></category>
            <category><![CDATA[christianity]]></category>
            <dc:creator><![CDATA[Otto von Wachter]]></dc:creator>
            <pubDate>Sun, 27 Mar 2016 18:18:33 GMT</pubDate>
            <atom:updated>2016-03-28T17:55:09.176Z</atom:updated>
            <content:encoded><![CDATA[<p>I woke up a little hungover and depressed, not too unusual for me for a Sunday morning (or any other morning for that matter — I’m not an alcoholic by the way, I still haven’t taken that step).</p><p>So I thought, well it’s Easter, and I went to church a couple months ago on a whim, and I actually felt nourished by the experience.</p><p>I did the usual, what seems to be the solution to every problem in life, big or small (at least in the immediate term). I opened Google and started ripping open web pages of nearby churches. It was already past 10:30, and if I was going to make it to any Easter service I needed to get moving. St. Patrick’s website was a little crowded with information, and I think I’m too late, annnd, I’m not sure I’m in the mood for Episcopal. How about First Baptist? Ah, I have a good feeling about this one. I feel alive looking at their website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8ZhGJZ4iYmX3xn5DsfCFkA.png" /></figure><blockquote>And they have lots of African Americans on the home page, which means it’s not going to be a boring service. I love these churches. Because they sing and appear as if God actually existed.</blockquote><p><em>But, it’s at 10:45. I’m late already. I don’t want to rush there and walk into the church of these beautiful, kind people and be the a**hole that’s late on Easter, as I’ve done more than once before.</em></p><p>So I click over to St Thomas Parish. Ah, this is what I need! I just want to go there and soak in the spiritual bread and wine. I don’t care if it’s bland, or if the people are a little robotic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qIcG_UU2S15LL4uWP-RG9Q.png" /></figure><blockquote>The sunset… I feel peaceful! A more minimalist spirituality, a coherent message. I love the Episcopals!</blockquote><p><em>But the service is at 11 am. F*ck! Aren’t there any churches around with a later second service? Didn’t any of these people stay up late drinking like I did? </em>(clearly not).</p><p>I’m grasping at straws, but… there’s still Holy Trinity. After all, going to a Catholic church would take me back to my roots. And maybe what I really need is some order, some serious liturgy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h9nLQoOe8k09vd44UXMK7A.png" /></figure><blockquote>I’m already repenting, just looking at this picture. It feels bureaucratic, but beggars can’t be choosers.</blockquote><p><em>But where’s the time? Is mass a “Sacrament &amp; Rite”? Holy crap, this website is worse than some large government agencies, like 3 levels of menus…</em></p><p>Anyway, I found the times (duh), and finally some later services. But at this point I’m just too frustrated with myself, the Catholic church, the web design industry, and Google. <em>F*ck it!</em></p><p>As a last ditch attempt to resurrect my spiritual longing, I wander over to the Quaker website. I love the Quakers! They’re just silent until they have something important to say.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7dZpR0O_3FxumgUrlDxeTw.png" /></figure><blockquote>They believe in the Holy Spirit. Do I care that they‘re not celebrating Easter? Not really.</blockquote><p>Finally, I decide just to meditate on the meaning of religion and spirituality.</p><p>Last night I was having a deep conversation about everything with three friends: about spirituality, personality types, the meaning of life, existential and post-metaphysical philosophy, and who knows what else.</p><p>So I wrote a message to my friends, a follow-up on our conversation:</p><blockquote>I feel sad about the lack of community in modern life (like usual). It’s difficult and frustrating to express even, what is that, what is community? Lately, for the first time in about 5 years, I seriously considered going back to a church, or at least allowing myself to check out and visit churches and soak in some of the spiritual bread and wine. I feel that I crave that almost more than before in my life, I wonder why.</blockquote><blockquote>For some reason, I still feel that G-d is most alive, and community is most alive, in the churches and places that are a little “nutty” (for lack of a better term). Where preachers speak more from the gut and less from the intellect.</blockquote><blockquote>I think the thing that bothers me most about Christianity, is the struggle of control: religions claim control over some ultimate authority, as a way to put themselves over and above others. Which is ironic, since they often preach the opposite, they preach about surrender, and about the sovereignty and authority of God. But yet they still think that the Holy Spirit belongs to only them! The catholics think the protestants have it all wrong, and vice-versa. Shouldn’t it be the other way around? Shouldn’t we all belong to God, instead of people thinking God belongs to them?</blockquote><blockquote>Anyway, I don’t know why I’m telling this to an ex-Christian atheist, a spiritual ex-Jew, and a wandering ex-Catholic , but I felt like you would understand me.</blockquote><p>And having said what was nagging my mind and heart, I felt better.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.facebook.com%2Fvideo%2Fembed%3Fvideo_id%3D616698488477596&amp;url=https%3A%2F%2Fwww.facebook.com%2Fthepeoplesvoicetv%2Fvideos%2F616698488477596%2F%3Fpnref%3Dstory&amp;image=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fhvthumb-xtp1%2Fv%2Ft15.0-10%2Fs110x80%2F12672285_1049746595068783_1125712433_n.jpg%3Foh%3D58a21ea7504f886cce34461e1257d4d7%26oe%3D5777A4A4&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=facebook" width="560" height="315" frameborder="0" scrolling="no"><a href="https://medium.com/media/3d6bd5a5e21b9bb6942c3fca6301b1a6/href">https://medium.com/media/3d6bd5a5e21b9bb6942c3fca6301b1a6/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43dfd942cb1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I discovered I was an asshole]]></title>
            <link>https://ottovw.medium.com/how-i-discovered-i-was-an-asshole-e062581346a2?source=rss-bb5885ac958------2</link>
            <guid isPermaLink="false">https://medium.com/p/e062581346a2</guid>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[feminism]]></category>
            <dc:creator><![CDATA[Otto von Wachter]]></dc:creator>
            <pubDate>Tue, 01 Mar 2016 05:13:01 GMT</pubDate>
            <atom:updated>2016-03-01T05:13:01.478Z</atom:updated>
            <content:encoded><![CDATA[<h4>A sprawling essay on Trump, Steve Jobs, Jesus, bullies, Jungian psychology, morality, theology and more.</h4><p>While visiting a friend we were talking about movies. I mentioned I hadn’t seen the new Jobs movie, but I liked the first one. My friend said something about Steve Jobs being an asshole. I paused and looked at my friend, because I hadn’t yet seriously considered that he was an asshole.</p><blockquote>Didn’t the first movie portray how much of an asshole he was? He was a complete asshole.</blockquote><p>After emphasizing the point again of how much of an asshole Steve Jobs was, the conversation ended. I left confronted, pondering the question <em>was Steve Jobs an asshole?</em> And underneath that question was the bigger issue I was dealing with, the uncomfortable possibility that I may be an asshole as well.</p><p>So I decided I needed to consult Google. The first definition, from dictionary.com:</p><blockquote>Slang 1. a stupid, mean, or contemptible person.</blockquote><p><em>What a stupid definition</em>, I thought! Whoever coined this must have been an asshole! I don’t like labels, especially negative labels that really don’t mean anything. But, I thought, <em>there must be a better definition</em>… and I did find one. But first let me to digress for a moment, to another popular asshole.</p><h4>Why do people hate (and love) Trump so much?</h4><p>Sure, he screwed a lot of people in the course of filing bankruptcy a multitude of times. But that could make him a misguided, unlucky would-be hero. And yes, he harassed Obama for years about his citizenship status, and he hates muslims. Unacceptable as this is to me, none of this makes him anything more (or less) than a garden-variety Republican.</p><p>There must be something more fundamental, something more ontologically-precise about who Trump is that gets under the skin of people, as evidenced in my Facebook feed on a daily basis.</p><p>So cutting to the chase, I found a <a href="http://www.philosophersmag.com/index.php/tpm-mag-articles/11-essays/76-the-meaning-of-asshole">great essay</a> on the meaning of asshole, with this definition:</p><blockquote>the asshole is the guy who systematically allows himself special advantages in cooperative life out of an entrenched sense of entitlement that immunises him against the complaints of other people.</blockquote><p>When I read this it felt like a light switched on in my head. I felt the tension of my ontological crisis resolved. This is why people have such contempt for Trump and Jobs (and probably me)!</p><p>Trump is an asshole not simply because he says mean and stupid things, but because of his sense of entitlement-over and disregard-for others. And maybe it’s a shadow-quality that he reflects in many Americans. Most people probably reject this quality in themselves, but seeing Trump embody it unabashedly is refreshing for us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*Safu7WKNDusJra9DusO4xA.jpeg" /></figure><blockquote>Daily Show: <a href="http://www.cc.com/video-clips/jhfyhg/the-daily-show-with-jon-stewart-the-first-openly-asshole-president">Donald Trump Would Be “Our First Openly Asshole President”</a></blockquote><h4>What would Jesus be?</h4><p>But is Trump so uniquely bad? What if even the Christian Savior can be kind of jerk? Let’s look at the definition above and look at some evidence. “<em>Allows himself special advantages in cooperative life”?</em> Ok, maybe (does walking on water count?)</p><p>How about “<em>an entrenched sense of entitlement”</em>? I’m reminded of the story in which Jesus violently chases the merchants and money changers out of the temple:</p><blockquote>In the Temple area [Jesus] saw merchants selling cattle, sheep, and doves for sacrifices; he also saw dealers at tables exchanging foreign money. Jesus made a whip from some ropes and chased them all out of the Temple. He drove out the sheep and cattle, scattered the money changers’ coins over the floor, and turned over their tables. Then, going over to the people who sold doves, he told them, “Get these things out of here. Stop turning my Father’s house into a marketplace!” (NLT)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*qq6kdq276igXHLNA_y-bkg.gif" /><figcaption>A**hole Savior — Please overlook this blasphemy in the interest of academic inquiry. Thankfully Christians are more chill and forgiving than other religious people.</figcaption></figure><p>Well, maybe just a wee bit aggressive and presumptuous. We might want to believe he was rescuing the poor animals from being sacrificed, but that’s hard to believe when he’s calling them <em>these things</em>!</p><p>Jesus may have done it for a good purpose: he was making a point about the corruption of the religion/spirituality of the day. But at least in that moment, maybe he was a jerk. Here were people who were following hundreds if not thousands of years of tradition. What they were doing, i.e. selling sheep and changing money, was probably their livelihood. Jesus harassed and shamed them for doing what they believed was a good and honorable job.</p><h4>Can being an asshole be justified?</h4><p>Maybe being the son of God grants you a special exception to abiding by social norms, so let’s take a look at this question more broadly.</p><p>What if being an asshole has some utility for society? Going back to Steve Jobs, his commitment to the excellence to his vision was likely a big reason for his asshole behavior. When a shitty product was delivered, Jobs fired the guy in charge on the spot, but not before making a point:</p><blockquote>Jobs gathered the MobileMe team in Apple’s auditorium and asked: “Can anyone tell me what MobileMe is supposed to do?” When the team gave their answers, Jobs replied, “Then why the fuck doesn’t it do that?”</blockquote><p>Jobs often pushed his employees to the edge (or maybe over the edge). He probably felt justified pushing them, as they had limiting beliefs about what was possible or whether something was worth the effort. And in some cases it could seem the challenge was welcomed.</p><blockquote>The Xerox Star was supposed to be the hot new computer that came out in 1981 (it was ultimately a flop). Jobs and his team went to go check it out, but were absolutely unimpressed. A few weeks later he called Bob Belleville, one of the hardware designers on the Xerox Star team. “Everything you’ve ever done in your life is shit,” Jobs said, “so why don’t you come work for me?”</blockquote><blockquote>Belleville joined the team.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*S6fR7lU0GExxTN6GwXUq4g.jpeg" /><figcaption>Apparently there’s <a href="http://www.businessinsider.com/steve-jobs-jerk-2011-10?op=1">a few other documented instances of Jobs being an asshole</a></figcaption></figure><p>Still, what may be easily justifiable to the chronic asshole, may boggle the minds of normal people. It’s not hard to imagine that Jobs may have seriously hurt some people. For someone with violence and abuse in their past, being treated like this might be traumatizing.</p><h4>Getting inside the asshole’s mind</h4><p>I thought originally about subtitling this article “And how to have compassion for the asshole in your life”. But then I thought, <em>well, I bet nobody wants to have compassion for assholes!</em></p><p>Still, it may be helpful to understand them. Maybe to understand the asshole, you must be one first. Fortunately, as someone who has been an asshole (and who, dare I admit, has enjoyed being an one) maybe I can shed light on the psychology of assholes.</p><p>I believe assholes, like all people, have a shadow aspect, and have gold to offer as well. (The terms <a href="http://www.lessons4living.com/shadow.htm">“shadow” and “gold”</a> are Jungian terms that I learnt in my personal and interpersonal exploration work, for example my <a href="http://mankindproject.org/mkp-igroups-integrating-21st-century-man">men’s group</a>).</p><p>The gold in the asshole is this: we like to get shit done, and we have a sense of urgency. I believe assholes have a strong sense of purpose. An asshole without a strong sense of purpose is probably something else (perhaps a <a href="http://www.urbandictionary.com/define.php?term=douchebag">douchebag</a>?)</p><p>Maybe we’re assholes because we believe the ends can justify the means. Maybe we see others as overly-sensitive whiners and nitpickers, standing in the way of our grand vision. And maybe we imagine that our accomplishments and good deeds can outweigh and redeem our sins.</p><h4>Deep Questions</h4><p>I wonder if Steve Jobs, reading his biography, realized that readers wouldn’t forgive him for being an asshole?</p><p>Writing this, I’m having other interesting wonderings: I wonder if it’s blasphemous to wonder if Jesus, bearing his cross, with all the hate being leveled at him, ever regretted the scuffle with the merchants and money changers?</p><p>I feel like I’m touching deep philosophical territory. <em>What does the bible mean when it says Jesus carried the sins of the world on his body, on the cross?</em> Even if I don’t consider myself religious, I still allow myself to stand in wonder of <a href="http://biblehub.com/1_peter/2-24.htm">this</a> <a href="http://christianity.stackexchange.com/questions/26487/what-is-the-biblical-basis-for-the-claim-that-jesus-took-on-the-sins-of-mankind">question</a>.</p><h4>Back to Trump</h4><p>One thing I’m not wondering is who to vote for if Trump is nominated. Whatever my eccentricities, I don’t want a president who’s going to wake up one day and decide to bomb millions of people out of sense of entitlement and false righteousness. Maybe I should form a political action group called “Assholes in Recovery for Bernie Sanders”.</p><p>(However, having Trump <em>as a candidate</em> may not be a bad national security strategy. Who wants to mess with a country who might even consider electing this guy as president?)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pQ02g068Au36IoxvNgDHQQ.jpeg" /><figcaption>I imagine the U.S. as an unstable uncle, who you’d rather leave alone because you’re not sure if and when he might fly off the handle.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e062581346a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>