<?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 Nicholas Cancelliere on Medium]]></title>
        <description><![CDATA[Stories by Nicholas Cancelliere on Medium]]></description>
        <link>https://medium.com/@ncancelliere?source=rss-3bba3b2fcbae------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*3SxtjcKigozC8mO_LtLJ9Q@2x.jpeg</url>
            <title>Stories by Nicholas Cancelliere on Medium</title>
            <link>https://medium.com/@ncancelliere?source=rss-3bba3b2fcbae------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 10:38:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ncancelliere/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[Switching to Google Pixel Pro 9 from an Apple iPhone 14 Pro]]></title>
            <link>https://ncancelliere.medium.com/switching-to-google-pixel-pro-9-from-an-apple-iphone-14-pro-26305484fb80?source=rss-3bba3b2fcbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/26305484fb80</guid>
            <category><![CDATA[pixel]]></category>
            <category><![CDATA[iphone]]></category>
            <category><![CDATA[phone]]></category>
            <dc:creator><![CDATA[Nicholas Cancelliere]]></dc:creator>
            <pubDate>Wed, 18 Sep 2024 14:07:32 GMT</pubDate>
            <atom:updated>2024-09-18T14:07:32.668Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wuyM0zIPpK6NQa2i4cWBfA.png" /><figcaption>Credit: Google</figcaption></figure><p>My fascination with AI, similar to many, has been sparked. Exploring the vast potential of LLM chatbots on my laptop and PC has unveiled a new realm of possibilities. However, I yearned for an assistant that transcended mere app limitations on my phone or computer. Apple, despite recent advancements with Apple Intelligence, has fallen short of delivering on their promises of “intelligence.”</p><p>Apple’s offering felt like a safe and uninspired approach to AI, primarily focusing on rewrite capabilities, emoji generation, and recognition of notifications. Their announcement left me underwhelmed.</p><p>In contrast, Google’s recent presentations on multi-modal AI input and cross-app integration ignited my excitement. Their innovative and thoughtful solutions seemed to address real day-to-day problems.</p><p>So, I made the decision to switch ecosystems. The prospect of leaving behind my deeply integrated Apple ecosystem, which includes an iPhone, iPad Pro, iPad Mini, AirTags, HomePods, Apple TV, Apple Watch, Apple Card, and a MacBook Pro (now replaced by a Microsoft Surface Laptop 7), was daunting.</p><h3><strong>Ecosystem Openness</strong></h3><p>Apple’s ecosystem has a profound hold on its users, becoming apparent when they attempt to break free. The infamous “blue vs green bubble” situation in Messages is a prime example. Several barriers contribute to this walled garden:</p><ul><li>Resistance to adopting RCS for messaging, a more modern alternative to aging SMS/MMS.</li><li>Reliance on the Lightning cable for charging when most of the world has shifted to USB-C.</li><li>Music streaming to HomePod is restricted to the AirPlay protocol, lacking Bluetooth support.</li><li>MagSafe charging instead of the widely adopted Qi standard.</li><li>FaceTime has no interoperability outside the Apple ecosystem.</li><li>Find My network is exclusive to Apple devices.</li><li>Apple Card only viable on iPhone (no way to control features otherwise)</li></ul><p>If not for external pressures from China and the EU, Apple users would still be deprived of the RCS standard and USB-C charging capabilities.</p><p>This closed ecosystem limits consumer choice and stifles competition in the marketplace. It’s puzzling that a $300 HomePod speaker cannot play music via Bluetooth.</p><h3><strong>Hardware Specs</strong></h3><p>The Apple iPhone 16 Pro’s chip is impressive but lacks in other areas. Prioritize user experience over raw specifications. A powerful chip with poorly optimized software can make a device feel slow, like a 30Hz screen versus a 120Hz display. You’ll carefully hear Apple in their key notes say “First ever on an iPhone…” or “Most powerful {{insert feature}} ever on an iPhone…” vs “…than any smartphone.” They know which categories they’re best in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*LB9XA-3knViDHPkOiowdiw.png" /></figure><p>In my experience with both phones, I found that their screens and scrolling capabilities are virtually indistinguishable. It seems that hardware has become a standard feature for smartphones. While there are noticeable variations in the processors and cameras, these differences do not have a significant impact on the overall user experience on a daily basis. I do feel the Pixel takes better photos (more vibrant, better HDR) than my iPhone did.</p><h3><strong>Build Quality</strong></h3><p>The Pixel 9 Pro features flat sides, resembling the iPhone, but with a subtle bevel that enhances the in-hand feel. I find it more comfortable than the sharp-edged iPhone. The form factor is truly impressive. Notably, the camera bar on the Pixel prevents wobbling while typing or tapping on a table, unlike the iPhone’s off-centered camera cluster.</p><h3><strong>Stock Software Apps and Capabilities</strong></h3><p>Throughout my experience with Apple devices, I’ve found most of their stock apps to be underwhelming. However, Messages, Maps, and Notes stand out as being particularly well-crafted. Conversely, Mail and Calendar feel outdated and lackluster in comparison.</p><p>In contrast, my new Google Pixel boasts an impressive array of Google’s exceptional apps. Familiar favorites like Gmail, Calendar, Maps, Tasks, and Keep are all present.</p><p>The Photos app on Pixel is particularly noteworthy, surpassing Apple’s offering in terms of capabilities. Thanks to advanced AI algorithms, it allows users to erase unwanted elements, reimagine entire sections of the photo, alter lighting sources, and even select the best version of someone’s smile. While Apple is working on bringing some of these features to the iPhone through Apple Intelligence, Pixel users can enjoy them right away.</p><p>Google Maps provides an edge over Apple Maps by integrating reviews, wait times, and other valuable information. While Apple users can also access Google Maps on their iPhones, there’s an additional feature that sets it apart: the ability to make restaurant reservations through Google Assistant. This feature can call the restaurant on your behalf, negotiate a time based on your preferences set in the app, and attempt to secure a reservation within that window. During my first use last weekend, I found it incredibly convenient, allowing me to focus on other things while my phone handled the mundane task in the background. While OpenTable is an alternative option, not all restaurants participate, making this feature particularly valuable for those that don’t.</p><p>Google’s Messages app is very similar to Apples, only it’s based on the RCS standard. It has cute animations that trigger automatically based on the conversation and replies. It also offers easy rephrasing and will clean-up your text message via AI (if you tell it to). This helps to make sure lengthy replies are concise and clear.</p><h3><strong>3rd Party Integrations</strong></h3><p>I haven’t noticed any big differences in 3rd party apps or integrations. All the more popular apps (be they social media, office productivity tools, etc.) are all available on Android as they are on iOS. With Google being more open you do get a few more choices sometimes that maybe you wouldn’t see with Apple, home accessories for example.</p><p>I’m having to find replacements for my Homepods (because they don’t support Bluetooth streaming). My Nanoleaf lights will work with Google Home. I don’t need to replace my AppleTV but I am going to because the Google Streamer will also act as a Matter hub. I replaced my AirTags with Pebblebees. And my Apple Watch with a Pixel Watch 3.</p><h3><strong>AI Integration on the Google Pixel 9 Pro</strong></h3><p>AI integration was the primary reason for my interest in discovering what I might be missing out on. I’m delighted with my choice because I find the Google Pixel 9 Pro to be an exceptional experience regarding AI. Explaining specific experiences is challenging because AI is seamlessly incorporated throughout the phone.</p><p>The typical generative AI for rephrasing or drafting text is available wherever you might be writing text. Whether it’s a text message, email, Google doc, phone call (yes, it can do that), etc., the ability to rephrase, change tone, shorten, and lengthen is all there. AI will also provide summaries of your emails, weather forecasts, and articles you’re reading (via Gemini).</p><p>Gemini is an incredibly capable AI assistant. It’s always ready when you press the power button. You can ask it regular chatbot questions, but it also has context awareness of what you’re looking at on your phone. For example, you can ask it about an article you’re reading in Chrome or take a photo of something in the real world and ask for details.</p><p>Gemini is also integrated with your Google apps (calendar, mail, maps, keep, etc.), so it can help you with tasks like updating or creating lists in Keep or making appointments for you. Gemini Advanced is one of the most capable models available, as ranked by experts in the field. While previous assistants could handle basic tasks like calendar management, Gemini can understand and execute more complex prompts flawlessly. For instance, “I have a lot of important appointments I need to schedule for this coming month: I need to do my annual physical, I have to get my car inspected for my sticker, and I need to get my annual eye exam. Can you remind me to do that this Saturday?” Yesterday’s assistant would likely create one task that was a big run-on sentence of everything, but Gemini intelligently created three separate reminder tasks for Saturday morning.</p><p>In addition to these features, you can use AI to generate unique wallpapers, edit photos, make reservations by phone (without you making the call), search for screenshots you took, and much more. It feels like every few days I discover another AI implementation on the Google Pixel 9 Pro, cleverly designed to help but not intrude, making using the phone more enjoyable and my day-to-day tasks easier.</p><h3><strong>Conclusion</strong></h3><p>In conclusion, I honestly don’t know why the Pixel is not more popular. It is very underrated as I think this is one of the best phones I’ve ever owned.</p><p>Choosing the Pixel 9 Pro over other options has proven to be a fulfilling. The camera system on this phone is simply outstanding, capturing moments with vibrant colors, sharp details, and a remarkable ability to adapt to various lighting conditions. The stock software apps are also a breath of fresh air, providing a user-friendly and efficient experience without any unnecessary bloatware. All this with AI practically enhancing the experience throughout.</p><p>The Pixel 9 Pro has become an indispensable tool in my daily routine and that I genuinely love.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26305484fb80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft Copilot and the Surface Laptop 7]]></title>
            <link>https://ncancelliere.medium.com/microsoft-copilot-and-the-surface-laptop-7-fb708c10cd6b?source=rss-3bba3b2fcbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb708c10cd6b</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[laptop]]></category>
            <category><![CDATA[copilot-pc]]></category>
            <dc:creator><![CDATA[Nicholas Cancelliere]]></dc:creator>
            <pubDate>Mon, 15 Jul 2024 13:02:06 GMT</pubDate>
            <atom:updated>2024-07-15T13:02:35.905Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/834/0*N_4klwnwFqvbP-wP" /><figcaption>Microsoft Surface 7 (15&quot; shown)</figcaption></figure><h3>An AI-Powered Laptop Experience?</h3><p>As artificial intelligence continues to reshape our digital landscape, Microsoft has placed its bets on AI-enhanced computing with the Surface Laptop 7 and its integrated Copilot feature. After spending time with this device, I’ve found that while the hardware impresses, the AI integration leaves something to be desired. Let’s dive into my experience with this much-hyped AI-powered laptop.</p><h3>Initial Impressions: Hardware Meets AI</h3><p>The Surface Laptop 7 immediately stands out with its sleek design and solid build quality, continuing Microsoft’s tradition of premium hardware. The Snapdragon X Elite chip promises powerful performance, especially for AI-related tasks. Out of the box, the laptop boasts several AI features that leverage the Neural Processing Unit (NPU) of the Snapdragon X Elite chip for on-device processing:</p><ul><li><strong>Co-create: </strong>An AI-powered tool for collaborative content creation</li><li><strong>Studio effects: </strong>AI-enhanced audio and video capabilities for online meetings</li><li><strong>Live translation:</strong> Real-time language translation powered by AI</li><li><strong>Recall: </strong>An AI-driven feature to help you find and organize information</li></ul><p>These built-in features, processed entirely on-device, showcase the potential of integrated AI in our daily computing tasks and highlight the capabilities of the Snapdragon X Elite chip.</p><h3>Copilot Integration: A Special Key, But Limited Context</h3><p>One of the most touted features of the Surface Laptop 7 is its dedicated Copilot key on the keyboard. This direct access to Microsoft’s AI assistant seems promising at first glance. However, the implementation falls short of expectations:</p><ol><li>The Copilot key simply launches a desktop web app version of Copilot — the same experience you’d get by visiting the Copilot website on any browser.</li><li>There’s a glaring lack of context awareness. Copilot doesn’t integrate with or understand what you’re currently doing on your laptop, limiting its usefulness as a truly integrated assistant.</li></ol><h3>Copilot in Action: Helpful, But Not Revolutionary</h3><p>Despite its limitations, Copilot does shine in certain scenarios:</p><ul><li><strong>Rewriting text:</strong> Copilot excels at rephrasing and polishing written content.</li><li><strong>Drafting documents, blog posts, or emails:</strong> It can provide a solid starting point for various types of writing.</li><li><strong>General inquiries:</strong> For quick questions or curiosities, Copilot often proves more convenient than a traditional search engine, offering summarized findings without the need to sift through multiple web pages.</li></ul><h3>The AI Elephant in the Room: Limitations and Disappointments</h3><p>While Copilot has its uses, several limitations significantly impact its overall value:</p><ol><li>Lack of context awareness: Copilot doesn’t understand or interact with your current tasks or open applications.</li><li>Restrictive safeguards: Microsoft has implemented stringent limitations on certain topics, even for factual information (e.g., “When is the 2024 US presidential election?”). While intended as a safety measure, this overzealous approach erodes trust in the service.</li><li>Limited on-device AI integration: While co-create, studio effects, live translation, and recall are processed on-device using the NPU, there’s little evidence of significant on-device AI processing beyond these features that truly sets this laptop apart in day-to-day use.</li><li>Generic AI experience: Despite the on-device processing capabilities, the Copilot experience on the Surface Laptop 7 is essentially identical to what you’d get on any Windows 11 PC, calling into question the “AI-powered laptop” marketing.</li><li>Cloud-dependent processing: Most Copilot features, except for the aforementioned on-device capabilities, rely on cloud processing. This means an internet connection is required for most AI tasks, potentially impacting performance and privacy.</li><li>Subscription barrier: Advanced features like email summarization or drafting in Outlook require a $20/month Copilot Pro subscription, which extends Copilot features to all Office 365 applications. This additional cost may be a deterrent for many users seeking a fully integrated AI experience.</li><li>Inefficient text generation: The Edge integration for rewriting text generates content without first prompting for specific requirements like tone or length. This often results in the need to regenerate text, wasting computational resources and user time.</li><li>Missed opportunities in native apps: Core applications lack AI enhancements that could significantly improve user experience. These omissions in everyday apps undermine the promise of an AI-powered laptop experience. For instance:<br> — The <strong>Photos app </strong>doesn’t support contextual search (by subject or person), only by file name (who does this?) or date taken.<br> — The <strong>Calendar app</strong> lacks intelligent features like travel time awareness between appointments.</li></ol><h3>On-Device AI: A Mixed Bag of Features</h3><p>While this review focuses primarily on the Copilot experience, it’s worth briefly noting the other on-device AI capabilities of the Surface Laptop 7:</p><ol><li><strong>Co-create:</strong> This feature offers AI-powered image manipulation, allowing users to apply various styles to drawings or photos. While interesting, results can be unpredictable, especially at higher creativity settings.</li><li><strong>Studio Effects:</strong> These subtle video enhancements for calls include filters and an eye contact feature. The effects are often barely noticeable, though the eye contact feature can be useful for improving the sense of connection in video calls.</li><li><strong>Live Translation:</strong> A standout feature, the live translation capability impressively provides real-time translation of audio content across various applications. It’s particularly useful for understanding foreign language content in live streams or videos without captions.</li></ol><p>These features showcase the potential of the Snapdragon X Elite chip’s NPU, with live translation emerging as the most practical and impressive implementation. However, the overall impact of these on-device AI features varies, with some feeling more like proofs of concept than fully realized tools.</p><h3>Conclusion: Great Hardware, Mixed AI Integration</h3><p>The Surface Laptop 7 presents a nuanced picture: excellent hardware coupled with a range of AI implementations that vary in their effectiveness and impact. The laptop itself boasts impressive build quality and performance, thanks to the Snapdragon X Elite chip and its NPU for on-device AI processing.</p><p>While some on-device features like live translation demonstrate the potential of AI-enhanced computing, the core focus of this review — the Copilot experience — falls short of expectations. The “Copilot + PC” integration feels like a work in progress, with limitations in context awareness, cloud dependencies, and efficiency. Furthermore, missed opportunities in native applications, such as the lack of AI-powered photo search in the Photos app and intelligent scheduling features in the Calendar app, highlight areas where on-device AI could significantly improve user experience but currently fails to do so.</p><p>For those in the market for a high-quality Windows laptop with some compelling on-device AI capabilities, the Surface Laptop 7 is a solid choice. However, if you’re expecting a fully realized, revolutionary AI-enhanced experience centered around Copilot and seamlessly integrated across all applications, you might want to temper your expectations.</p><p>As Microsoft continues to refine its AI implementations, future iterations will hopefully deliver a more consistently impressive and integrated AI assistance experience, particularly in enhancing the Copilot integration and leveraging on-device AI for native applications. The Surface Laptop 7 represents an important step in this journey, showcasing both the current possibilities and the areas ripe for improvement in the realm of AI-powered personal computing.</p><p><em>This article was drafted using Claude.ai by Anthropic.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb708c10cd6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Psychopathy]]></title>
            <link>https://ncancelliere.medium.com/psychopathy-92b029a4ea52?source=rss-3bba3b2fcbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/92b029a4ea52</guid>
            <category><![CDATA[bullying]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[workplace]]></category>
            <category><![CDATA[relationships]]></category>
            <category><![CDATA[personality-disorders]]></category>
            <dc:creator><![CDATA[Nicholas Cancelliere]]></dc:creator>
            <pubDate>Sat, 13 Mar 2021 14:43:29 GMT</pubDate>
            <atom:updated>2021-03-13T15:41:15.643Z</atom:updated>
            <content:encoded><![CDATA[<p>In movies or popular culture you’ve heard the term <strong>psychopath</strong> before. It’s often used to describe some mass murderer or a crazy person living on the edge of what we’d consider sanity or reality. How things are portrayed in Hollywood are often unlike real life.</p><p>You probably have met a psychopath before. Psychopaths make up about 1% of the population, which you might think means encountering them is rare; however, they end up in greater concentrations in certain circles, especially the upper echelons of the corporate world. A <a href="https://www.inc.com/zoe-henry/one-in-five-ceo-s-are-psychopaths-study-bond-university.html">popular Australian study</a> found that 1 in 5 C-suite executives are psychopaths or have psychopathic tendencies.</p><h3>Psychopath vs Sociopath</h3><p>Often when people say “psychopath” what they’re actually talking about is a sociopath. Sociopaths are impulsive, live on the fridge of society, have trouble holding a steady job, and very often have a predisposition to violance. Psychopaths by contrast are controlled, blend into society, many have successful careers, and may have a predisposition towards violence. Both psychopathy and sociopathy are considered to be anti-social personality disorders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hy6NRhLpxOPpo3xUDTfB2w.png" /></figure><h3>Traits of a Psychopath</h3><h4>Pathological Lying</h4><p>Psychopaths are individuals who often lie or bend truth, especially when it benefits them. This combined with their false empathy helps them manipulate individuals around them.</p><h4>Lack of Empathy / False Empathy</h4><p>Psychopaths often have successful careers. They excel at making others like and trust them. This is because they understand social emotions quite well and are able to mimic them, even if they don’t experience them the same way most people do. This is what makes them so good at gaslighting and lying.</p><p>A psychopath views the world more as transactions. They value relationships purely for the benefits they bring to themselves.</p><h4>Gaslighting / Psychological Bullying</h4><p>Through their pathological lying and false empathy psychopaths are master manipulators. Gaining trust quickly, they then sow seeds of doubt and get individuals to question their own perception or judgement. When focused on an individual target this lowers the self-esteem of the victim causing them to be additionally dependent on the psychopath for emotional support and validation.</p><h4>Narcissism / Superiority Complex</h4><p>Psychopaths often feel they deserve special privileges above others. They have very high, idealized, opinions of themselves. They exaggerate their own success, power, or intelligence. They take advantage of people with no regrets.</p><p>Being thin-skinned narcissistic people will lash out on any criticism or push-back. They can be extremely jealous or sensitive. Underneath all of this is a deep sense of insecurity.</p><h4>Rule Breaking</h4><p>Because psychopaths lack true emapthy and feel superior to others they don’t usually have problems breaking rules or disobeying laws. As long as it, in their mind, is justified and benefits them a psychopath will calculate the risk and take action. Because they view the world as a series of transactions they generally have little remorse or guilt about doing so.</p><h4>Self-servicing Victimhood</h4><p>Lastly, a psychopath above all is out to serve their own interests, often in disregard of the truth or the interests of others. They will even portray themselves as a victim, given the opportunity, to manipulate others and gain sympathy for themselves.</p><h3>How to Deal with a Psychopath</h3><p>Now that you understand how to identify a psychopath, what do you do if faced with one? Maybe you transferred to a new department at work, elected someone to your HOA board, or started dating someone new and you realize … they might be a psychopath.</p><h4>Keep Emotions in Check</h4><p>No matter how upset or frustrated you feel, keep your emotions in check. Losing your composure infront of a psychopath gives them more power over you. They’ll see that they can manipulate your emotions.<strong><em> Present a calm demeanor at all time.</em></strong></p><h4>Don’t Be Intimidated</h4><p>Psychopaths control others often through the use of intimidation. A psychopath might make subtle threats, stand over you while you’re talking, use aggressive body or verbal language to get you to back down. <strong><em>Stand your ground, be assertive, and report any incidents of bullying or harassment</em></strong> to the proper authorities (HR, management, etc).</p><h4>Don’t Buy Into the Spin</h4><p>Psychopaths like to use long-winded tales, often interweaved with lies and half-truths. They like to be seen as victims and blame other people and refuse to take any responsibility for their wrongdoing. Showing sympathy for them plays into their hand, so <strong><em>keep discussions centered on facts only</em></strong>.</p><h4>Turn the Conversation Back on Them</h4><p>Pointing out a psychopath’s flaws can be the best way to disarm them. Whey they try to blame others or move responsibility <strong><em>turn the conversation back on them</em></strong><em>.</em></p><h4>Opt for Online Communication</h4><p>Psychopaths are naturally adept at manipulating emotions. They can often be very likable and charming, they excel at face-to-face communication (especially in small settings or one on one). Online conversations make it difficult — if not impossible — for them to charm and manipulate. So<strong> <em>when possible request all communication over email</em></strong><em>.</em></p><h4><strong><em>References:</em></strong></h4><p><a href="https://health.howstuffworks.com/mental-health/human-nature/behavior/what-are-odds-youve-met-psychopath.htm">https://health.howstuffworks.com/mental-health/human-nature/behavior/what-are-odds-youve-met-psychopath.htm</a></p><p><a href="https://www.inc.com/zoe-henry/one-in-five-ceo-s-are-psychopaths-study-bond-university.html">https://www.inc.com/zoe-henry/one-in-five-ceo-s-are-psychopaths-study-bond-university.html</a></p><p><a href="https://www.inc.com/amy-morin/advice-from-a-therapist-5-ways-to-with-a-psychopath-at-work.html">https://www.inc.com/amy-morin/advice-from-a-therapist-5-ways-to-with-a-psychopath-at-work.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92b029a4ea52" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Words of Power]]></title>
            <link>https://medium.com/ozmox/words-of-power-48d5edbd2dc3?source=rss-3bba3b2fcbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/48d5edbd2dc3</guid>
            <category><![CDATA[empowerment]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[team-building]]></category>
            <category><![CDATA[language]]></category>
            <dc:creator><![CDATA[Nicholas Cancelliere]]></dc:creator>
            <pubDate>Mon, 14 Oct 2019 02:50:55 GMT</pubDate>
            <atom:updated>2019-10-14T03:04:48.269Z</atom:updated>
            <content:encoded><![CDATA[<p>When trying to get your team (or yourself) to be more proactive pay attention to the language your direct reports, peers or upper managers use. Below is a short list of disempowering phrases:</p><ul><li>Request permission to …</li><li>I would like to …</li><li>What should I do about …</li><li>Do you think we should …</li><li>Could we …</li></ul><p>Instead rephrase and make a more empowered statement:</p><ul><li>I intend to …</li><li>I plan on …</li><li>I will …</li><li>We will …</li></ul><p>Switching these types of phrases around can help turn passive followers into active leaders. Have your direct reports express their thought process and rationale.</p><p>As an example (from <em>Turn the Ship Around!</em>): “Captain, I intend to submerge the ship. We are in water we own, water depth has been checked and is four hundred feet, all men are below, the ship is rigged for dive, and I’ve certified my watch team.”</p><p>For more about using empowering language check out <em>The 8th Habit</em> by Stephen Covey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48d5edbd2dc3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ozmox/words-of-power-48d5edbd2dc3">Words of Power</a> was originally published in <a href="https://medium.com/ozmox">ozmox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Zen of Python]]></title>
            <link>https://medium.com/ozmox/the-zen-of-python-9eb05e213ff?source=rss-3bba3b2fcbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/9eb05e213ff</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Nicholas Cancelliere]]></dc:creator>
            <pubDate>Sun, 09 Dec 2018 22:04:26 GMT</pubDate>
            <atom:updated>2018-12-09T22:04:26.625Z</atom:updated>
            <cc:license>https://creativecommons.org/publicdomain/mark/1.0/</cc:license>
            <content:encoded><![CDATA[<p><strong>by Tim Peters</strong></p><p>Beautiful is better than ugly.</p><p>Explicit is better than implicit.</p><p>Simple is better than complex.</p><p>Complex is better than complicated.</p><p>Flat is better than nested.</p><p>Sparse is better than dense.</p><p>Readability counts.</p><p>Special cases aren’t special enough to break the rules.</p><p>Although practicality beats purity.</p><p>Errors should never pass silently.</p><p>Unless explicitly silenced.</p><p>In the face of ambiguity, refuse the temptation to guess.</p><p>There should be one — and preferably only one — obvious way to do it.</p><p>Although that way may not be obvious at first unless you’re Dutch.</p><p>Now is better than never.</p><p>Although never is often better than *right* now.</p><p>If the implementation is hard to explain, it’s a bad idea.</p><p>If the implementation is easy to explain, it may be a good idea.</p><p>Namespaces are one honking great idea — let’s do more of those!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9eb05e213ff" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ozmox/the-zen-of-python-9eb05e213ff">The Zen of Python</a> was originally published in <a href="https://medium.com/ozmox">ozmox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is in my Soylent 2.0?]]></title>
            <link>https://ncancelliere.medium.com/what-is-in-my-soylent-2-0-ff6196d45d8e?source=rss-3bba3b2fcbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff6196d45d8e</guid>
            <category><![CDATA[health]]></category>
            <category><![CDATA[soylent]]></category>
            <category><![CDATA[food]]></category>
            <dc:creator><![CDATA[Nicholas Cancelliere]]></dc:creator>
            <pubDate>Sun, 11 Mar 2018 20:10:15 GMT</pubDate>
            <atom:updated>2018-05-10T21:34:25.920Z</atom:updated>
            <content:encoded><![CDATA[<p>Below is a list of all the ingredients in Soylent 2.0, as of March 2018. I note main function using P for protein, C for carbohydrate, F for fat, N for nutrient (vitamins and micro nutrients), or O for other (like shelf stabilizer, thickener, texture, etc.)</p><p><strong>Filtered water</strong>:<strong> </strong>duh, it’s water</p><p><strong>Soy Protien Isolate [P]</strong>: a substance extracted from defatted soy flour, almost of pure protien</p><p><strong>Maltodextrin [C]</strong>: a starch that is easily digestible and absorbed rapidly as glucose, moderately sweet or almost flavorless</p><p><strong>High Oleic Sunflower Oil [F]</strong>: a monounsaturated fatty acid, very neutral in taste, excellent shelf stability (without adding hydrogen like transfat)</p><p><strong>Isomaltulose [C]</strong>: a disaccharide (glucose+fructose molecules), it is a slowly digested carbohydrate, and is considered better than sucrose (table sugar) and is better suitable for people with type 2 diabetes</p><p><strong>Canola Oil [F]</strong>: another monounsaturated fatty acid, it is known to be high in Omega-3; a new 2017 study suggests it might help contribute to Alzheimer’s disease, although it’s only an initial observation and more studies need to be done</p><p><strong>Rice Starch [C]</strong>: a neutral tasting starch, derived from rice, it is used to replace fat in many processed foods; it can be used to enhance taste, texture and stability</p><p><strong>Oat Fiber [C]</strong>: a low carbohydrate, gluten-free starch that can absorb up to 7 times its weight in water; an insoluble fiber, providing 90% dietary fiber by weight</p><p><strong>Isomaltooligosaccharide [C]</strong>: a low-glycemic, naturally occurring plant-based dietary fiber; it is a prebiotic, non-digestible, helping promote the gut microbiota</p><p><strong>Soy lecithin [F]</strong>: made of a combination of phospholipids, it is used as thickener and stabilizer</p><p><strong>Potassium chloride [N]</strong>: an metal halide salt used as a table salt (sodium chloride) substitute, that provides potassium enrichment</p><p><strong>Calcium phosphate [N]</strong>: a mineral containing calcium ions together with inorganic phosphate anions</p><p><strong>Magnesium phosphate [N]</strong>: essential for over 300 different chemical reactions in the humans body, this mineral can also act as a laxative or antacid</p><p><strong>Natural &amp; artificial flavors [O]</strong>: an artificial flavor added to processed foods (“natural flavor” refers to a specific flavor of artificial flavor)</p><p><strong>Dipotassium phosphate [N,O]</strong>: a highly water-solvable salt which is used as a buffering agent and source of phosphorus and potassium</p><p><strong>Salt [N]</strong>: a metal halide composed of sodium and chloride, used to maintain intracellular osmolarity and nervous system function</p><p><strong>Choline Chloride [N]</strong>: organic compound used for a host of vital functions in the body, similar to the family of B-vitamins; promotes cell membrane health, acetylcholine production (memory, focus, reasoning)</p><p><strong>Gellan Gum [O]</strong>: a viscous soluble fiber artificially produced by non-pathogenic bacteria (from cheese whey) or corn starch; can cause bloating or excessive gas; non-digestible, used as a thickener</p><p><strong>Sodium Ascorbate [N]</strong>: a mineral salt, other known as vitamin C</p><p><strong>DL-Alpha-Tocopheryl Acetate [N]</strong>: a mix of stereoisomers, it is essentially vitamin E</p><p><strong>Ferrous Gluconate [N]</strong>: an iron salt of gluconic acid, it is used as an iron supplement</p><p><strong>Zinc Sulfate [N]</strong>: an inorganic compound, used as a dietary supplement — zinc; promotes healthy tissue growth</p><p><strong>D-Calcium Pantothenate [N]</strong>: widely found in both plants and animals (including meat), it’s essentially vitamin B5</p><p><strong>Niacinamide [N]</strong>: a form of vitamin B3, used to treat niacin deficiency; used instead of niacin because it has fewer side-effects (such as flushing) but unlike niacin it doesn’t help correct blood fat levels (e.g. high cholesterol)</p><p><strong>Sucralose [O]:</strong> an artificial, calorie-free sweetener derived from sucrose and is up to 650 times sweeter; non-digestable, recent studies suggest it reduces beneficial gut bacteria (in rats)</p><p><strong>Thiamine Hydrochloride [N]</strong>: the hydrochloride salt form of thiamine, or vitamin B1</p><p><strong>Copper Gluconate [N]</strong>: a copper salt; copper is essential for dozens of human enzymes</p><p><strong>Manganese Sulfate [N]</strong>: found in many natural foods; required for a variety body functions</p><p><strong>Pyridoxine Hydrochloride [N]</strong>: a 4-methanol form of vitamin B6; needed as a coenzyme for amino acids, neurotransmitters (serotonin, norepinephrine), and others</p><p><strong>Vitamin A Palmitate [N]</strong>: a form of vitamin A that is found naturally in animals or made synthetically</p><p><strong>Riboflavin [N]</strong>: vitamin B2</p><p><strong>Chromium Chloride [N]</strong>: found usually in bananas, grapefruit or broccoli, it’s a trace mineral that helps your body heal, grow normally and is related to blood sugar</p><p><strong>Biotin [N]</strong>: a water-solvable B-vitamin, known as B7</p><p><strong>Folic Acid [N]</strong>: a B-vitamin, helps the body make new cells</p><p><strong>Sodium Molybdate [N]</strong>: a chemically altered form of sodium; used as fertilizer or nutritional supplement, your body breaks it apart into salt and molybdenum</p><p><strong>Sodium Selenite [N]</strong>: an inorganic salt that is colorless; a source of selenium, which plays a key role as an antioxidant and supports several tissues in the body</p><p><strong>Phytonadione [N]</strong>: vitamin K, a fat-soluble vitamin that is a prerequisite for blood coagulation</p><p><strong>Potassium Iodide [N]</strong>: a salt of stable (non-radioactive) iodine; helps the thyroid gland’s health</p><p><strong>Vitamin B12 [N]</strong>: Cyanocobalamin, a synthetic form of vitamin B12; keeps normal brain and nervous system function and aids in formation of red blood cells</p><p><strong>Vitamin D [N]</strong>: D2 (ergocalciferol) produced industrially by exposing fungus to specific wavelengths of UVB radiation (light); building blocks for bones and helps immune system</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff6196d45d8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bringing Calm to the Storm]]></title>
            <link>https://medium.com/ozmox/bringing-calm-to-the-storm-20e9c7b5eef8?source=rss-3bba3b2fcbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/20e9c7b5eef8</guid>
            <category><![CDATA[management]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[team-building]]></category>
            <dc:creator><![CDATA[Nicholas Cancelliere]]></dc:creator>
            <pubDate>Sun, 11 Mar 2018 16:21:55 GMT</pubDate>
            <atom:updated>2018-03-11T16:33:31.197Z</atom:updated>
            <content:encoded><![CDATA[<p>I was recently asked by a friend how one manages a team. I haven’t considered it before; honestly, I just do what I do almost out of habit. So I gave them what I felt was an unsatisfactory response. Thinking more on it though I realize that there is a method that I do follow, so I will attempt to share that here.</p><h4>Forming, Storming, Norming, Performing</h4><p>All teams go through four main phases of development. These phases are unbounded and fluid and teams can progress or regress to any phase at any time, depending on the environment or circumstances surrounding them.</p><p>The first phase is forming — the team is initially created and everything is new, raw, and uncertain. There are no ground rules and few expectations. This will lead to conflict as team members offend, disappoint, or step on each other. The storming phase beings.</p><p>Storming is the second phase of team development. The newly formed team’s members are behaving as they had before they entered the new team. Each member has their own sense of how work should be done. Social contracts are assumed and they maintain expectations that may or may not align with other team members — or worse clash.</p><p>The third phase of team development is norming. Norming happens when the team begins to mature and realizes that each member has unique expectations and values. They start to agree on social contracts, what should be expected of team members, and being to align around a mission and set of values. It is here everyone is “getting on the same page,” and its at this point the team can start to really optimize.</p><p>Performing is the last phase of team development. Team members understand their purpose, why the team exists and their own role within the team, and the team’s role in the wider organization. The team shares a common set of values and expectations on how work is done. They are able to keep each other accountable. Team members trust each other and through self-organization can capitalize on individuals’ strengths lending to a greater whole.</p><h3>Mission</h3><p>It is important that a team develop its mission. These are sometimes handed to them from upper management, but regardless — a team needs to understand and <strong><em>believe</em></strong> in its purpose.</p><p>I will not go into detail in how to create a mission statement, plenty of blog posts and articles are already written on the subject. In short, a mission statement should, in a sentence or two, describe what it is the team does and how it does it. An example (from the Mailchimp’s <a href="https://blog.mailchimp.com/how-our-engineering-team-found-its-mission-statement">engineering team</a>):</p><blockquote>We give marketers production-ready software designed to help them grow. We succeed through togetherness, momentum, and pragmatism.</blockquote><p>You can argue if this is a good statement or not, again not going into that here, but defining and writing down the team’s purpose for existing and how it delivers on that promise is really important.</p><h3>Values</h3><p>The things that the team finds valuable are oddly enough called values! Values in practice make up the culture of the team, it becomes expressed in the behaviors and processes of a team. Some managers like to push values onto the team, this is usually a big mistake.</p><p>Values should help team members understand how to make better decisions around the work they do or how they interact with others (both inside and outside the team). Below are some examples of values from an engineering team I worked on:</p><ul><li>Collaboration, knowledge sharing, soliciting feedback</li><li>Having strong convictions, but holding onto them loosely</li><li>Long-term benefits over short-term gains</li><li>Assuming best intentions and giving the benefit of doubt</li><li>Quality / Writing specs and pragmatic testing</li><li>Frequent releases</li><li>Everyone writing code and reviewing code</li><li>Leaving code better than you found it</li></ul><p>Having values in written format help new team members quickly understand what is expected of them. It also helps serve as a reminder for current team members and in resolving disputes. When hiring it makes it easy to plainly explain to a candidate what your values are and some teams even include them on the job description!</p><h4>Changing Culture</h4><p>Values expressed are behaviors and behaviors become your culture. Some inexperienced managers make the mistake of mandating culture. They will publish a document and put posters up around the office of some aspirational set of values that don’t currently align with the team; however, c<em>ulture is what you do today</em>, <strong>right now</strong>. It isn’t what you hope the future is.</p><p>If you want to change your culture, hire more people who fit the culture you want to move towards. Also promote those who are exemplary, it will not go unnoticed, and sends a message to what is valued. Be ready for team members who are not willing to compromise to leave the team (or the company). This is okay — in the long run individuals not aligned on values will cause a continuous storm and prevent the team from becoming performing.</p><p>We tell people to accept their romantic partners how they are, because trying to change people is a futile effort, so why do we expect anything different in the work place? Individuals have to want to change themselves, you cannot force them to. It is why hiring the right people is so important.</p><h3>Working Agreement</h3><p>Once your team has established a mission and set of values you can focus on creating a working agreement. A working agreement is as simple as it sounds: an agreement by team members defining how work is done.</p><p>A working agreement can cover any aspect of the team’s variety of processes. A good working agreement will set the standard for how the team conducts itself in regards to communication, core-hours, rules during meetings, when work is “done, done,” etc. Below is an example of some items you might see on a working agreement:</p><ul><li>Core hours between 10am and 3pm</li><li>No laptops or cell phones during meetings</li><li>Pull requests are reviewed within 24 hours</li><li>If you broke the build, you fix the build (ask for help if you need it)</li><li>Meeting invites need to have agendas</li><li>Don’t use Slack as a permanent record</li><li>Documentation goes into Confluence</li><li>Work is done when: reviewed, merged, tested, and deployed to prod</li></ul><p>Having a written working agreement helps the team hold themselves accountable. If someone is breaking away from the norm it empowers another team member to be able to point to a specific working agreement and call it out. There’s no fuzziness, no one can say “I don’t remember us talking about that.”</p><h3>Collaboration</h3><p>A performing team needs efficient ways to work together. This can be a challenge in some environments. If you have individuals working remote but your culture isn’t supportive of remote workers, for example, it can make the remote worker feel alienated. Likewise a colocated culture that is overly burdened with meetings and disruptions can be equally bad.</p><p>Information needs to be transparent and readily shareable. All the things we’ve discussed so far (mission, values, working agreement) should be easily discovered. Beyond these the upcoming projects (backlog), design documents, current status of work, etc. should all be convenient to access.</p><h4>Communication</h4><p>Teams need to have a way to communicate among one another. For colocated teams this is easy — but for teams with remote workers (even just one) it means introducing a chat application of some kind. Even fully colocated teams will adopt chat applications to support build automation updates, pull requests and other workflow notices.</p><p>Norms can be placed around what should be discussed in chat. Some teams will create several rooms (channels) with different rules of engagement depending on the context. Recognize that we are human beings, and social creatures, so make sure to include rooms that serve as relaxed water-cooler type places.</p><p>Online chat can be abused. When communication needs to be more official e-mail is usually a good go-to. And when knowledge needs to be preserved a wiki or issue tracker might be the better route.</p><p>You should have processes where information is actively communicated rather than passively. Communication is a two-step process, sending and receiving: if your intended audience did not receive the information you did not communicate successfully.</p><h4>Remote Work</h4><p>In order for a team to have a remote friendly culture they need to be on their game in terms of communication. If your team does not have easy access to shared workspaces: chat, ticket tracking, code review, project management, etc. it is not going to be welcoming for a remote worker.</p><p>The more asynchronous you can make your processes the better you can support remote work. Keep in mind remote work isn’t just about someone occasionally working from home (although it can be that). Working from home one day a week usually doesn’t require a huge change in process — not in the terms of workflows being asynchronous.</p><p>Consider that truly remote workers might be in different time zones, in different countries, or even speak different languages! As a manager you have to be keenly aware of these challenges and make sure that tools are provided to best support the team (whether technology, processes, policies).</p><p>Technology choices can make a difference here. Make sure you choose modern applications that offer first-class mobile experiences. Not all work happens on a laptop.</p><p>Being able to support remote workers gives your team huge advantages in flexibility. Your pool of talent is not limited to geography. Also today’s modern workforce values being able to work anywhere, inside or outside the office, on any schedule.</p><h3>One on Ones</h3><p>This is the single most important meeting you will have as a manager, and it is essential you get good at it.</p><p>As a manager you should be meeting one on one with your team’s members at a minimum once a month. Personally I feel this is too long and it is better to meet every week or every other week.</p><p>The format I practice is loosely as follows:</p><ul><li>Icebreaker; ask about personal stuff, things outside work, hobbies, weekend events, family, etc.</li><li>Focus in on current projects; how is it going, concerns to raise, anything to celebrate and acknowledge? Any way you can help?</li><li>Relay your vision of what’s upcoming and see what feedback they give in return.</li><li>Inquire about team interactions; how do they feel about other team members? Ask about progress of new members. Any concerns about folks (on or off the team) not pulling their weight or contributing? Anyone who should be specially recognized for going above and beyond?</li><li>Give them the floor; let them talk about what is on their mind, what is important to them, career aspirations, etc.</li><li>Close with action items and schedule any follow-ups.</li></ul><p>It is important to not just jump straight into business. Sometimes team members have things going on in their personal lives that affects their work life, and this can give context to the last week or two. It also helps everyone relax a little.</p><p>This time should be where just the two of you can speak candidly. If you do not have their trust then you’ll only ever hear superficial responses.</p><p>Keep discussions in <em>confidence</em>. I don’t use the word <em>confidential</em>, because that shouldn’t be the expectation. Rather, assure them any information you do share will be done so anonymously. You may need to follow-up with with action based on information given during the one on one; and they should expect you to, but they should also trust that you will not “out” them as the purveyor of the information (even indirectly).</p><p>Lastly — listen. Do not tell team members how they should feel. You aren’t expected to solve every problem presented to you. You don’t need to immediately have an answer to every question. It is important to make sure you give your team members chances to talk about what’s on their mind. Don’t dominate the agenda, but share it. Make a mini action plan and commit to following up either between or at the next meeting.</p><h4>Document</h4><p>Keep notes on what you talk about in your one on one meetings. Just as you probably take notes at other meetings (hopefully), you should not treat your one on ones with any less rigor.</p><p>I keep a running document that I share with each team member, so it is totally transparent. I will update the document sometimes with agenda items prior to the meeting to remind myself what I want to discuss, but also to let them know what to expect. They are also free to add items to the agenda so I can come prepared.</p><p>Having notes from the meetings helps the running dialogue. It literally becomes a time series of all the discussions you both have had in your one on ones. It makes doing performance reviews a lot easier too and keeps you both honest. Because the performance review shouldn’t be a surprise to anyone — it should just be an HR formality.</p><p>Being an manager requires a different set of skills than being an engineer. Not all engineers make good engineering managers, just in that not all engineering managers make for brilliant lead engineers. This blog post just represents a little of what I’ve learned on my journey so far.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20e9c7b5eef8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ozmox/bringing-calm-to-the-storm-20e9c7b5eef8">Bringing Calm to the Storm</a> was originally published in <a href="https://medium.com/ozmox">ozmox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HomePod First Impressions]]></title>
            <link>https://ncancelliere.medium.com/homepod-first-impressions-4b5ec52377b6?source=rss-3bba3b2fcbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b5ec52377b6</guid>
            <category><![CDATA[amazon-echo]]></category>
            <category><![CDATA[siri]]></category>
            <category><![CDATA[homepod]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[alexa]]></category>
            <dc:creator><![CDATA[Nicholas Cancelliere]]></dc:creator>
            <pubDate>Sat, 10 Feb 2018 13:24:43 GMT</pubDate>
            <atom:updated>2018-02-10T15:34:37.314Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xfDrno4CJTz81MhR1Nhbyg.jpeg" /><figcaption>The mesh fabric is firm but soft. The white touch display reveals no fingerprints.</figcaption></figure><p>I jumped on the bandwagon yesterday and purchased the Apple HomePod. I have been using Amazon Echo (Alexa) for almost two years now. I have my entire home (lights, thermostat, etc.) automated and there is an Alexa-enabled device in nearly every corner of my house — always at my beckon call. One of those devices is a Sonos One</p><p>So why did I get HomePod? Well curiosity primarily. A small part of me also wanted the tight integration I expect with Apple products. I use to-do lists often and it frustrated me that I could not get Alexa (without jumping through IFTTT and Todist hoops) to simply manage my iOS Reminders and Alexa’s iOS to-do app is awful. Alexa is amazing! Amazon’s app UIs not so much.</p><p>I also subscribe to Apple Music and playing music over Sonos is cumbersome as it does not support AirPlay (or even Bluetooth). It requires a separate Sonos app and manages its own separate playlists and queues for playback.</p><h3>First Impressions</h3><p>Apple defines HomePod as first an amazing sound and second a smart assistant. This is very much the truth; however, smart assistant is a very, very distant second.</p><blockquote>It is immediately evident Apple has packed the HomePod with a ton of audio tech.</blockquote><p>The HomePod sounds far and away better than anything I own — it beats out my Sonos PlayBar, despite it’s compact size, and Sonos One. The bass is deep and palpable. It sounds clear and vibrant. Listening to familiar songs I notice now new parts of a track I never noticed before.</p><p>Siri is unfortunately Siri. Compared to Alexa or Google Assistant, Siri has lagged behind in capabilities and comprehension compared to other voice assistants. It’s gotten better in iOS 11, but still isn’t leader of the pack but in catch-up mode. HomePod Siri (because there is a different Siri for every Apple device, each with different capabilities) lacks a lot of functionality at launch you assume it would have.</p><h3>Diving Into the Details</h3><h4>Sound</h4><p>HomePod is a speaker, first and foremost. This is immediately evident when you play your first track on it. Apple has packed the HomePod with a ton of audio tech, and the Apple audio engineers should feel proud about what they accomplished.</p><p>There are arrays of microphones and horns that power the sound behind HomePod. Around the base sits an array of seven tweeters. Above the tweeters are an array of six microphones, with a seventh buried in the middle of the device. Throughout the core there is a compact bass driver. The top sports a touch display and the A8 chip, which makes up the advanced audio processing brains.</p><p>Within 10 seconds of first playing, HomePod self-adjusts to the room it is in. It does this using the seventh microphone buried deep inside the device. This microphone listens to changes in the sound waves reflecting off nearby objects (like walls). It then uses that information to decide how to bounce ambient tracks in the music (like background vocals) off nearby objects vs beam forming other parts of a track (like lead vocals) straight into the room. The bass is also mixed in so it isn’t too strong but is very much discernible. It does all this on its own without any input from the user and calibrates within seconds for its location. It then can later detect if it’s been moved and recalibrate automatically. In short the HomePod will have consistent high-quality sound regardless where you put it.</p><h4>Other Stuff</h4><p>Before I dive into Siri lets go over some other things. The HomePod comes in two colors: black (or space grey) and white. I own the white one and it looks great! The top display is also white and shows no fingerprints, unlike the black one which I’ve heard can show a lot of smudge marks depending on how the light hits it.</p><p>The HomePod is wrapped in a very interesting rubbery fabric. The mesh design looks elegant. It also is probably very tempting to bored cats. If you’re a pet owner consider getting AppleCare+. The repair costs for a HomePod is almost equal to the original cost of the device, so adding a $39 AppleCare+ plan to your $400 scratching post is probably wise.</p><p>Other than the power cord there are no other external ports. HomePod’s power cord is attached to the device. Unlike other Apple products that use a soft rubber the power cord is wrapped in a cloth mesh. The US version uses a simple two-prong plug, no 3rd ground. There are no aux out, line in or any other means to play anything on the HomePod except through AirPlay (and eventually AirPlay2). There is no bluetooth playback support.</p><p>The touch display at the top can be used to invoke Siri, adjust the volume, or show the Siri waveform so you know it’s actively listening. (Like all smart speakers HomePod is always passively listening for the “Hey Siri” wake word.) The only complaint I have about the touch display is when you adjust the volume it doesn’t show the actual volume level. Is it at 50, 75, 20 percent? It seems like they could display a number between the + / — icons that magically appear. Instead you have to ask Siri “what’s your volume set at?” There is also no touch control to mute the microphones. It’s annoying.</p><h4>Siri Sucks More</h4><p>Invoking Siri works really well. Across the room with music playing, not even facing the speaker it hears me. Sometimes (about 20% or so) my iPad, iPhone or Watch also hears me and responds instead of the HomePod, which is kinda annoying.</p><blockquote>Alexa simply does more and everything better in this category. Sorry Apple.</blockquote><p>HomePod Siri has the most bare minimum of features and is far behind competitors in the smart speaker space. HomePod Siri can do some basic things: tell you about the weather, add and read items on your to-do list, play a few specific news podcasts (NPR, Washington Post, CNN or FOX News). It also can play select business and sport news pod casts as well. It can tell you how long it’ll take to drive somewhere. And answer other “general knowledge” questions. It also has support to set alarms and a single timer.</p><p>The problem is Alexa does all this and more. Alexa’s news briefings are fully customizable. With Siri I have to say “tell me about the weather” then follow up with “tell me about the news,” and then “tell me about business news.” Each invocation (except for weather) plays a daily podcast published by a few news sources. (The Washington Post doesn’t update on weekends by the way.) There is no support for skipping stories, only cancelling the entire podcast playback.</p><p>With Alexa I say “Give me my flash briefing,” and I get everything to start my morning: local weather, local Austin news, national news, world news, business news, tech news from a few sources along with a “manager’s tip of the day” from Harvard Business Review. I designed the order and sources in the Alexa app and it’s totally personalized for me. Apple just doesn’t have the content or customization features to compete here yet. I can also skip individual stories I already heard.</p><p>Alexa supports multiple timers. If you’re cooking one timer isn’t often enough. You have pasta boiling, something in the oven, etc. So you need multiple timers. Siri only supports one. It is a small thing but it’s also super helpful.</p><p>HomePod Siri at launch also cannot tell you anything about your calendar, work with any music service other than Apple’s, make phone calls, or answer random questions (outside the “general knowledge” category). It doesn’t know anything about Apple TV so you can’t say “Play my unwatched episodes of The Magicians on the living room TV.” Both Alexa/FireTV or Google Home/Chromecast can do this.</p><p>It also doesn’t work with any of my home automation except the thermostat. Alexa simply does more and everything better in this category. Sorry Apple.</p><h3>One User to Rule them All</h3><p>Currently HomePod uses machine learning to improve your music suggestions. It can also manage your to-do lists, notes and text messages.</p><p>HomePod fails to recognize different people’s voices. This is a huge miss on Apple’s part and an ongoing frustration I have with all their home appliances — like AppleTV. Apple brags about their machine learning algorithms and how Siri gets to know you better and suggest music, tv and movie content to you. The only problem is none of their devices support multiple users! So if you live alone great — but most of us have roommates or families and so you find your Apple TV app or Apple Music becomes polluted by other people’s content choices. HomePod only exasperates this problem.</p><p>Worse is that other people can read and send text messages as if they were you — without your knowing — so long as you’re in range of the HomePod. If you’re out of the house it is supposed to not do this. However, you could be upstairs and another person downstairs can inquire about your messages, to-dos, and send text replies to their heart’s content.</p><p>Unless you live alone you’ll probably want to disable the personaliztion feature of HomePod — which defeats one of it’s major selling points of being a musicologist and neuters much of the voice assistant features that are actually useful.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b5ec52377b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Named Return Values and Errors in Go]]></title>
            <link>https://medium.com/ozmox/named-return-values-and-errors-in-go-e8912687617d?source=rss-3bba3b2fcbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8912687617d</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[golang]]></category>
            <dc:creator><![CDATA[Nicholas Cancelliere]]></dc:creator>
            <pubDate>Tue, 04 Jul 2017 23:51:12 GMT</pubDate>
            <atom:updated>2017-07-05T09:21:52.226Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>When you are working with functions in Go it is likely that you’ll want to handle bad input and report this out in some fashion. This is where the errors package comes into play.</p><p><a href="https://godoc.org/github.com/pkg/errors">Package errors</a></p><p>This package provides a simple error handling primitive that you can use in your code. It allows you to add context to a failure state without destroying the original value of the error.</p><p>A common idiom you’ll see in Go code:</p><pre>if err != nil {<br>    return err<br>end</pre><p>Consider this function to calculate the square root of a number. We want to return an error if the input is a negative value:</p><pre>func calculateSquare(f float64) (float64, error) {<br>    if (f &lt; 0) { <br>      return float64(math.NaN()), <br>             errors.New(&quot;Float value must be a positive number&quot;)<br>    }<br>    return math.Sqrt(f), nil<br>}</pre><p>Breaking it down, this function accetps a float64 and returns a tuple comprised of a float64 and an error. If the float is less than zero we return early with a NaN (float) and a new error object, otherwise we just return the result of the square using Go’s math library and nil.</p><p>For simple return values just passing a small tuple is probably ok. For more complex return values you might want to use <strong><em>named return values.</em></strong> This will allow you to not worry about the ordering of values you’re returning. Below is the same function only using named return values:</p><pre>func calculateSquare(f float64) (result float64, err error) {<br>    if (f &lt; 0) {<br>      err = errors.New(&quot;Float value must be a positive number&quot;) <br>      result = float64(math.NaN()) <br>    } else {<br>      result = math.Sqrt(f)<br>    }<br>    return<br>}</pre><p>This code is more understandable and with the return variable assignments we don’t have to worry about connascence (of position). We also don’t have to remember to set the <strong>nil</strong> error return value for the successful path. Go automatically initializes named return values to a zero-value state, so this is why we don’t have to explicitly set err = nil above as we did in the first example.</p><p>We could just let the math library attempt the operation, if we did so the result of a negative value would be NaN, and we could evaluate that in our conditional.</p><pre>func calculateSquare2(f float64) (result float64, err error) {<br>    result = math.Sqrt(f)<br>    if (math.IsNaN(result)) {<br>      err = errors.New(&quot;Float value must be a positive number!&quot;)<br>    }<br>    return<br>}</pre><p>The reason I didn’t choose to do this is:</p><ol><li>We don’t really know why the result was NaN, this code assumes it is because the float wasn’t positive. (Is that the only use case that can make a NaN?)</li><li>We don’t want to perform an operation if we know ahead of time, with 100% confidence, it will fail and simple validation can be used to test.</li></ol><p>When we provide errors we do so because we want to <strong><em>add context to our failed state. </em></strong>Knowing it failed <strong>specifically because the value was negative</strong> is better than assuming that was why or not knowing specifically at all.</p><p>Now with this function we can pass its result to another function whose job it is to print the result (this is where the idiom comes into play):</p><pre>func printCalcResult(result float64, err error) {<br>    if (err != nil) {<br>      fmt.Printf(&quot;ERROR: %f, %s!\n&quot;, result, err)<br>    } else {<br>      fmt.Printf(&quot;The square is %f.\n&quot;, result)<br>    }<br>}</pre><p>The output of the function then becomes (depending on what value is provided):</p><pre># Calculating for 3.423<br>The square is 1.850135.<br><br># Calculating for -23.44<br>ERROR: NaN, Float value must be a positive number!</pre><p>And there you have it, in a nutshell, a basic introduction to errors and named return values. Happy hacking!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8912687617d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ozmox/named-return-values-and-errors-in-go-e8912687617d">Named Return Values and Errors in Go</a> was originally published in <a href="https://medium.com/ozmox">ozmox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Introduction to Go]]></title>
            <link>https://medium.com/ozmox/an-introduction-to-go-4a0dcecd7ddf?source=rss-3bba3b2fcbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a0dcecd7ddf</guid>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Nicholas Cancelliere]]></dc:creator>
            <pubDate>Sun, 04 Jun 2017 12:50:32 GMT</pubDate>
            <atom:updated>2017-06-04T13:02:48.990Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p><a href="https://golang.org/">Go (or Golang)</a> is an open source, general purpose programming language developed by Google. Version 1.0 released in 2012, it wasn’t until probably last year that it has skyrocketed in popularity. The <a href="https://www.tiobe.com/tiobe-index/">TIOBE index</a> (a ranking of programming languages by popularity) shows its current rank as 15th in 2017, compared to 54th in 2016, and continues to climb fast.</p><p>So if you are going to invest time in learning a new language Go is a sound choice, based on current trends.</p><p>The creators of Go wanted to make a language considered to be expressive, concise, clean and efficient. Out of the box Go works very well with concurrency and writing applications that work over a network. While it is statically typed and compiled it feels like a dynamically typed interpreted language. Go ships with <strong>gofmt</strong> and <strong>godoc</strong> command line tools to help with code formatting and documentation.</p><p>Go has 25 reserved keywords:</p><pre>break, case, chan, const, continue, default, defer, else, fail through, for, func, go, goto, if, import, interface, map, package, range, return, select, struct, switch, type, var</pre><p>Go has 36 predeclared identifiers:</p><pre>append, bool, byte, cap, close, complex, complex64, complex128, uint16, copy, false, float32, float64, image, int, int8, int16, uint32, int32, int64, iota, len, make, new, nil, panic, uint64, print, println, real, recover, string, true, uint, uint8, uintptr</pre><p>Programs consist of keywords, constants, variables, operators, types and functions. Code is structured into statements. A statement doesn’t need to end with a ; (semicolon). The compiler will automatically insert semicolons at the end of statements. (Multiple statements can still be written on a single line using a semicolon, but this often isn’t as readable and not considered a best practice.)</p><p>Code typically is indented using two tabs (of 4 spaces each, for a total of 8).</p><p>Programs exit with a code of 0 when they return normally. If a program terminates abnormally it will execute with another integer code like 1.</p><h3>Basic Structure</h3><p>Packages are a way to structure code and a program is constructed as a package (often abbreviated pkg) which may use other packages. Every Go file belongs to one (and only one) package (similiar to a namespace in other languages). Many different .go files can belong to one package so the filename(s) and package name are not necessarily the same.</p><p>Every Go application must contain one package called <strong>main</strong>. If it does not then you will get a build error. The main function must have no argument and return no values.</p><pre>// example Go program<br>package main</pre><pre>import &quot;fmt&quot;</pre><pre>func main() {<br>        fmt.Println(&quot;Hello, world!&quot;)<br>}</pre><p><em>Note: If a package is changed and recompiled, all the client programs that use the package must be recompiled too!</em></p><p><strong><em>Every piece of code is only compiled once.</em></strong></p><h3>General File Structure and Naming</h3><p>A uniform and consistent structure of Go files makes your program easier to read. It should read from top to bottom in this general order:</p><ul><li>after import declare constant, variable and types</li><li>define the init() function (if there is one, this is optional)</li><li>define the main() function (required)</li><li>the rest of the functions, the methods on the types first; or the functions in the order as they’re called from main() onwards; or the methods and functions listed in alphabetical order (if there is a high number of them)</li></ul><pre>package main</pre><pre>import &quot;fmt&quot;</pre><pre>const C = &quot;C&quot;</pre><pre>var v int = 5</pre><pre>type T struct{}</pre><pre>func init() {<br>        // initialization of package, any setup needed<br>        // before executing main() goes here<br>}</pre><pre>func main() {<br>        var a int<br>        Func1()<br>        // ...<br>        fmt.Println(a)<br>}</pre><pre>func (t, T) Method1() {<br>        // cool stuff in here<br>}</pre><pre>func Func1() {<br>        // exported function Func1<br>}</pre><h4><strong>Order of Execution</strong></h4><ol><li>All packages in main are imported in the order they are defined</li><li>Imports package (but a certain package is imported only once), (1) calls that package’s packages (recursive)</li><li>Every imported package <em>in reverse order</em> will have all their constants and variables evaluated and <strong><em>init()</em></strong> function executed (if they have any)</li><li>At last in package <strong>main</strong> the same thing happens and then the <strong><em>main()</em></strong> function is executed</li></ol><h4><strong>Package Aliasing</strong></h4><p>You do not have to refer to a package name fully. If a package name is too long you can alias it.</p><pre>package main</pre><pre>import arpn &quot;areallylongpackagename&quot;</pre><pre>func main() {<br>        // arpn refers to full package &quot;areallylongpackagename&quot;<br>        arpn.DoSomething(&quot;Awesome&quot;)  <br>}</pre><h4><strong>Visibility Rule</strong></h4><p>When an identifier (constant, variable, type, function, struct, field, etc.) starts with an <em>uppercase</em> letter (such as CurrentMonth) then the object with this identifier is visible to code outside of the package, and thus available to importers of the package (similar to public methods in other languages). Identifiers that start with a <em>lowercase</em> (such as subTotal) letter are not visible outside the package (similiar to private methods in other languages).</p><h4><strong>Function Naming</strong></h4><p>As described just above function names start with capital letters when they are to be used outside of a package; then they follow <em>PascalCasing</em>. Otherwise they start with a lowercase letter and are <em>camelCased</em>.</p><p>Clean, readable, simple code is a major goal for Go development. <strong><em>Gofmt</em></strong> (a command line tool that ships with Go) imposes the code-style. Names should be short, concise and evocative. Names should not contain indication of the package. Method or functions which return an object should be named as a noun (not Get* or get*, so SubTotal and not GetSubTotal). To change an object use SetName (such as SetSubTotal). Go uses camelCase or PascalCase to write multiword names — not snake_case or kabab-case.</p><h4>Commenting</h4><p>Every package should have a <strong><em>package comment</em></strong>, a block comment immediately above the package statement line.</p><p>Every exported name in a program (type, const, var, func, etc.) should have a comment called a <strong><em>doc comment</em></strong>. Optionally non-exported names should also, especially if their implementation is complex. Doc comments should start with the name of the function they document.</p><pre>// Package awesome implements methods that are amazing!<br>// This is not for the faint of heart.<br>package awesome</pre><pre>import &quot;fmt&quot;</pre><pre>// SayHello prints &#39;hello world&#39;<br>func SayHello() {<br>        fmt.Println(&quot;Hello, world!&quot;)<br>}</pre><p>The <strong><em>godoc</em></strong> command line tool, that ships with Go, will collect all comments and produce documentation for your program.</p><h4>init()</h4><p>Apart from global declaration with initialization, variables can also be initialzied in an <strong><em>init()</em></strong> function. This is a special function that cannot be called but is instead executed automaticaly before <strong><em>main()</em></strong>.</p><p>Every source file can contain only a single <strong><em>init()</em></strong> function. Initialization is always single-threaded and package dependency guarantees correct execution order. A common use for the <strong><em>init()</em></strong> is to verify or repair the correctness of a program’s state before the real execution begins.</p><h3>Excited yet? Go get started!</h3><p>This is just a very short introduction to Go. I invite you to check out the <a href="https://golang.org/">Go Programming Language website</a>. Also if you are serious about learning Go there is an excellent book <a href="https://www.amazon.com/Way-Go-Thorough-Introduction-Programming/dp/1469769166">The Way to Go, by Ivo Balbaert</a>, which is an great place to start.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a0dcecd7ddf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ozmox/an-introduction-to-go-4a0dcecd7ddf">An Introduction to Go</a> was originally published in <a href="https://medium.com/ozmox">ozmox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>