<?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 Simone Viani on Medium]]></title>
        <description><![CDATA[Stories by Simone Viani on Medium]]></description>
        <link>https://medium.com/@flik185?source=rss-df0cae5ec9e4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XYb2KY7XrOocFJAskSRXFw.png</url>
            <title>Stories by Simone Viani on Medium</title>
            <link>https://medium.com/@flik185?source=rss-df0cae5ec9e4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 18:32:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@flik185/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[AI Recipe: A Workflow for Multi-Angle Photos and Product Variants In Figma Weave]]></title>
            <link>https://medium.com/@flik185/ai-recipe-a-workflow-for-multi-angle-photos-and-product-variants-in-figma-weave-583642e82bab?source=rss-df0cae5ec9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/583642e82bab</guid>
            <category><![CDATA[ai-workflow]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[figma]]></category>
            <dc:creator><![CDATA[Simone Viani]]></dc:creator>
            <pubDate>Sat, 05 Sep 2026 09:19:03 GMT</pubDate>
            <atom:updated>2026-09-08T09:44:47.208Z</atom:updated>
            <content:encoded><![CDATA[<p>For the first episode of my new “AI Recipe” series, I’m going to show you how to create a <strong>reusable workflow</strong> on <a href="https://weave.figma.com/">Figma Weave</a> that lets you generate multi-angle photos that can be easily updated just by tweaking a set of parameters.</p><p>“Why do I need a workflow?”, you may be asking yourself.</p><p>Well, mainly because a prompt can produce an image. A well-designed workflow produces a visual language — consistent, editable, and most importantly repeatable.</p><p>All you need to start is a product photo alone, and the workflow spits out a photorealistic model wearing it, captured from different angles: macro, close-up, three-quarter, full-body profile, wide shot.</p><p>Let’s start cooking!</p><p>For this example I’ll be generating 5 different angles of the model and I’m going to be using a hoodie with a chest logo I designed (shout-out to <a href="https://www.linkedin.com/in/davide-fiori-9a5b813?utm_source=share_via&amp;utm_content=profile&amp;utm_medium=member_ios">Davide</a> for actually printing the hoodie), but of course you can use any kind of apparel.</p><blockquote><strong>Prep time</strong>: 30 minutes</blockquote><blockquote><strong>Difficulty</strong>: medium</blockquote><blockquote><strong>Serves</strong>: 5 images per variant, infinite variants</blockquote><h3>Ingredients</h3><blockquote><strong><em>15 Prompt nodes</em></strong><em>, divided as follows:</em></blockquote><ul><li><strong>6 labels</strong> (these describe the human model you want to use)</li></ul><pre>Ethnicity <br>Gender <br>Age <br>Body Type<br>Clothing <br>Style</pre><ul><li><strong>6 values</strong> (one per label)</li><li><strong>1 meta-recipe</strong> (the instructions for the AI that will write the photographic prompt)</li></ul><pre>Create detailed text to image prompt that will describe a model, clothing <br>and setup for contemporary fashion campaign photoshoot. Describe the model <br>and clothing characteristic in detailed. The model should b a hyper-realistic, <br>high-fashion model with a futuristic, avant-garde aesthetic. <br>The model has a striking, and an emotionless, detached expression. <br>His/her gaze is, almost robotic, with a piercing look that exudes confidence <br>and mystery. The posture is rigid, statuesque, and powerful, exuding an air <br>of dominance and sophistication. The background is minimalistic infinite <br>white screen enhancing the model&#39;s futuristic, avant-garde aesthetic. <br>Always mention skin color, haircut style, facial hair (if absent and it is <br>a male write: shaved), face shape, chin and cheeks. Generated a five-six <br>sentences length using text to image prompt based on the description attached. <br>Here are the detailed about the model and clothing.</pre><ul><li><strong>1 shot constraint</strong>: (this is used to create the “base” model)</li></ul><pre>realistic photograph, full body</pre><ul><li><strong>1 director</strong> (the instructions that generate the 5 camera angles)</li></ul><pre>Describe 5 distinct camera angles for this model, focusing on their face, <br>including macroshot, closeup, medium shot, full body side angle and wide shot. <br>Keep every description under 30 words. Separate each with an asterisk <br>at the end of each prompt. No numbering or prefixes.</pre><blockquote><strong><em>2 Prompt Concatenator nodes</em></strong></blockquote><blockquote><strong><em>2 Any LLM nodes</em></strong></blockquote><blockquote><strong><em>1 Array block</em></strong><em> + </em><strong><em>5 List nodes</em></strong></blockquote><blockquote><strong><em>2 Router nodes </em></strong><em>(this is actually optional, it just keeps things more tidy)</em></blockquote><blockquote><strong><em>6 Gemini 3.1 Flash (Nano Banana 2) nodes</em></strong></blockquote><blockquote><strong><em>1 product photo</em></strong><em> on a simple background</em></blockquote><h3>Method</h3><p>Now that we have our checklist, let’s start building the workflow.</p><h4><strong>1. Set the parameters</strong></h4><p>Pair each label with your preferred value. This is where you actually define the general aspect of your model and it’s where you are going to come back every time you want to create a different model: all you’ll need to do is change the content of the value nodes. And since the labels are the part of the recipe you never touch (only values will change in time), I like to <em>lock the labels with the padlock.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UgBgNMKQrX3oND0sbaCy5Q.png" /><figcaption>All the labels block are locked.</figcaption></figure><h4><strong>2. Merge</strong></h4><p>Connect the six pairs and the meta-recipe to the first Prompt Concatenator, and its output to the first Any LLM.</p><p><strong>Run</strong>.</p><p>The LLM is used to transform our dry data into sentences that describe the physique, skin tone, hair, expression and lighting of the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sEGXCdyNssIvPuUSYbxigQ.png" /><figcaption>The Prompt Combinator’s output feeds the Any LLM.</figcaption></figure><h4><strong>3. Cook the base</strong></h4><p>Merge realistic photograph, full body. and the LLM output in the second Prompt Concatenator. Connect the combined prompt and the hoodie (or whatever apparel you choose) photo to the first Nano Banana node.</p><p><strong>Run</strong>.</p><p>We just created our keystone image: the model, full body, wearing the hoodie we provided. The tricky part here is keeping that logo in the hoodie untouched, since AI tends to easily reinvent stuff. For this reason I added the following instructions in the <em>Clothing </em>node we’ve seen at the beginning:</p><pre>... <br>use the provided image of a hoodie, without altering the white chest logo <br>in any way. Maintain the same font and color, letter spacing, kerning, <br>outlines, without altering anything.</pre><blockquote><strong><em>Chef’s tip:</em></strong><em> be aware! Any flaw in this image will be multiplied by five in the steps ahead. Check for any imperfection, tweak the parameters and regenerate.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fxg6z4g-2ZlAK4VGNT7ypw.png" /><figcaption>The base model is created.</figcaption></figure><h4><strong>4. Let the angles write themselves.</strong></h4><p>Connect the base image and the director block to the second Any LLM. The LLM looks at the photo and writes five camera angles tailored to that exact subject, in a single text separated by asterisks.</p><p><strong>Run</strong>.</p><blockquote><strong><em>Chef’s tip:</em></strong><em> angles are written only </em>after<em> generating the base, never before: that way they work on details that actually exist.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9rHDbXvZsoyCxhqszDbelA.png" /><figcaption>The 5 generated camera angle descriptions.</figcaption></figure><h4><strong>5. Cut into five</strong></h4><p>Connect the LLM output to an Array block set to “Split text by: *&quot;. Attach five List blocks, one per portion: each List picks one angle. We’re relying on the asterisk because it’s a character that generally never appears in descriptions, so the cut in next step never misses. Commas and numbered lists are much more prone to break.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sixwXHntobT7EnlJ3cvqHA.png" /><figcaption>The 5 extracted angles.</figcaption></figure><h4><strong>6. Distribute the base.</strong></h4><p>Connect the keystone image to a Router. This step is not mandatory but in general it keeps the canvas clean since we don’t have to drag a cable for each camera angle we want to generate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dzsdHANKmgNfHv3puURBoQ.png" /><figcaption>The Router keeps things tidy.</figcaption></figure><h4><strong>7. Plate in parallel</strong></h4><p>Add five Nano Banana blocks, each with two inputs: the base image from the Router, one angle from its List.</p><p><strong>Run</strong>.</p><p>And boom!</p><p>We have 5 photorealistic pictures of the same person, same hoodie, same logo in 5 different angles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bKQTPgsF0y8qwM-EsJ5nEA.png" /><figcaption>The generated final images.</figcaption></figure><p>Now that we have this recipe, we can reuse it without having to rebuild the entire flow every time, but just by tweaking the parameters we can:</p><p><strong>Change or update the product</strong>:<strong> </strong>swap the photo, and update the <em>Clothing</em> value if needed then hit Run.</p><p><strong>Change the model</strong>:<strong> </strong>change one word in the value boxes.</p><p><strong>Change number of angles</strong>: change one number in the <em>Director</em> and add or remove the List + Nano Banana branches accordingly.</p><h3>From a Workflow to a Sharable Tool</h3><p>Now that we have a reusable workflow, we can actually create a <em>Tool</em> in Figma Weave which is basically a simplified, shareable interface built from the node-based workflow, that allows users to provide selected inputs and run the underlying workflow without seeing or editing its nodes, connections, or technical settings. Pretty cool, uh?</p><p>And all you need to achieve this is to add an <em>Output</em> node for each generated image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*52dcPlc3Xezk7uW5OJnBOA.png" /><figcaption>The newly added Output node.</figcaption></figure><p><em>Bon appétit!</em></p><p>Just a note before you leave.</p><p>This article is an exercise that explores what a well‑designed workflow can do. It is not a manifesto for what it should replace. This “recipe” can produce five shots of a model who does not exist but it cannot direct a real campaign or bring the craft and judgment that photographers, art directors, stylists and retouchers have nurtured over years. Those skills are what this workflow tries to imitate from afar.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=583642e82bab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI will replace us all. Or not.]]></title>
            <link>https://medium.com/@flik185/ai-will-replace-all-or-not-b6adf52d5836?source=rss-df0cae5ec9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6adf52d5836</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[google-gemini]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Simone Viani]]></dc:creator>
            <pubDate>Fri, 22 May 2026 19:15:43 GMT</pubDate>
            <atom:updated>2026-05-27T12:38:13.999Z</atom:updated>
            <content:encoded><![CDATA[<p>Why AI is a powerful tool — but still just a tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RwAsq-bnfcf96mdB7RmVCw.jpeg" /><figcaption>Multyplayer Pong is (almost) here! Check out www.simoneviani.com</figcaption></figure><p>It had been a long time since I last updated <a href="http://www.simoneviani.com/">my personal website</a>, so I finally decided to implement an idea that had been sitting in the back of my mind for years: <strong>making my personal Pong game multiplayer!</strong></p><p>And unlike my first iteration on the Pong-like website, this time I could actually have a great sparring partner to help me debug it, my dear <em>Claude</em>.</p><p>Adding the basic multiplayer logic (well, only two players since we’re talking about Pong!) was actually pretty straightforward. Because my website is statically hosted on Vercel, I relied on <a href="https://peerjs.com/">Peer.js</a> (WebRTC peer-to-peer) that does not require a dedicated backend server: the data travels directly between the two browsers (yay!).</p><p>Of course, like any web-related project, not everything went smooth on the first try, and the bugs started popping up. Not many actually, but one in particular had really gotten under my skin: but no panic, I knew Claude had my back!</p><p>Well, kind of.</p><p>Over the course of the session, the AI <em>confidently</em> diagnosed the same bug three times in three different ways with each explanation sounding completely authoritative. I’d like to put emphasize on the word “confidently,” because with each iteration the LLM kept reassuring me that it had perfectly understood the problem and had found “the definitive solution to the bug”.</p><p>Yeah, right.</p><p>It told me to fix the render block. Then it told me the data wasn’t arriving. Then it said the coordinate system was wrong. Then it blamed the render block again. Then it started asking me to add console logs to figure out what it should have already known. I basically kept on updating the same three functions over and over again, and more than once I had to point out to Claude the errors he was injecting in the code.</p><p>Knowing about the “Lost in the Middle” phenomenon, I even tried resetting everything a couple of times, giving it the complete context once again, but nothing really changed. I just kept on going in circles, fixing one thing and breaking another. And again. And again. And of course each time Claude reassured me that “he’s got this.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lcqvfv8EO_uvL4ssykBs6Q.png" /><figcaption>I even had to correct Claude…</figcaption></figure><p>The AI just couldn’t see it.</p><p>At this point I was curious (and also a bit lame — I admit, you honor): how would other LLMs react? So I went on firing up both ChatGPT and Gemini and giving them the same prompts and code files and, surprise surprise, they all fell into the same reassuring-failing-reassuring loop as their brother Claude.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bj-CHcMdqy-a6W4TnJFIWQ.png" /><figcaption>Gemini kept on apoligizing :)</figcaption></figure><p>Now, let me clear the air right away: this isn’t me bashing these tools. I use them, and they genuinely accelerate my work. But this debugging session was a good reminder of something that’s easy to forget when the output sounds so confident:</p><blockquote>AI doesn’t actually run your code. It reads it, builds a plausible story about what’s wrong, and presents that story with total conviction. When the story is wrong, it builds another one. It has no ground truth.</blockquote><p>My two cents: the human in the loop isn’t a formality. It’s the only part of the process with access to reality — the running browser, the actual console output, the paddle in a Pong game that just won’t move.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6adf52d5836" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let AI Wars Begin]]></title>
            <link>https://medium.com/@flik185/let-ai-wars-begin-56b25b98456d?source=rss-df0cae5ec9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/56b25b98456d</guid>
            <category><![CDATA[ads]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[commercial]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Simone Viani]]></dc:creator>
            <pubDate>Fri, 06 Feb 2026 11:05:30 GMT</pubDate>
            <atom:updated>2026-02-06T11:05:30.672Z</atom:updated>
            <content:encoded><![CDATA[<p>The new campaign <em>“</em><a href="https://www.youtube.com/playlist?list=PLf2m23nhTg1OW258b3XBiJME7tgrRk-KI"><em>Ads are coming to AI, but not to Claude</em></a><em>”</em> has that unmistakable “old school” marketing flavor. It’s a provocation, the kind we remember from the Coca-Cola vs Pepsi or Apple vs Microsoft days… but perhaps with a slightly more unsettling twist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*uzwHLhf08bNmm-6G18MgUA.jpeg" /><figcaption>Coca-cola vs Pepsi ad</figcaption></figure><blockquote><strong>an explicit one</strong>: Claude will remain ad-free, while other services are getting ready to introduce advertising.</blockquote><blockquote><strong>an implicit one</strong> (and, as I said, a disturbing one): the real risk isn’t the ad itself, but <em>when</em> and <em>how</em> it appears.</blockquote><p>The four spots portray different situations of <strong>emotional vulnerability</strong>: personal insecurities, family issues, professional anxiety, the fear of not being good enough. And that’s where AI comes in. It waits until the user is completely “vulnerable,” and only then does the targeted advertising message kick in.</p><p>The fact that advertising would eventually make its way into AI is something we can consider almost inevitable. But it probably hits (me) differently precisely because of the nature of AI itself — one that is not only technological, but also deeply <strong>ethical</strong>, <em>by design</em>.</p><p>You can check out the campaign here: <a href="https://www.youtube.com/playlist?list=PLf2m23nhTg1OW258b3XBiJME7tgrRk-KI">https://www.youtube.com/playlist?list=PLf2m23nhTg1OW258b3XBiJME7tgrRk-KI</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wrg6TXRS_e6oyX51fwIuXg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56b25b98456d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Overviews vs Organic Search]]></title>
            <link>https://medium.com/@flik185/ai-overviews-vs-organic-search-3e1b0e64c69e?source=rss-df0cae5ec9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e1b0e64c69e</guid>
            <category><![CDATA[search]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-overview]]></category>
            <category><![CDATA[seo]]></category>
            <dc:creator><![CDATA[Simone Viani]]></dc:creator>
            <pubDate>Mon, 14 Apr 2025 15:26:07 GMT</pubDate>
            <atom:updated>2025-04-14T15:26:07.013Z</atom:updated>
            <content:encoded><![CDATA[<p>Remember sites like <a href="https://en.wikipedia.org/wiki/Ask_Jeeves">Ask Jeeves</a> or <a href="https://en.wikipedia.org/wiki/Altavista">Altavista</a>, or of course <a href="https://en.wikipedia.org/wiki/Google_Search">Google Search</a> with that terrible font? Since those (happy) days of mid/late 1990s we’ve gotten to witness so many significant developments and search engines have evolved significantly, moving from simple link providers to sophisticated <em>answer engines</em>.</p><p>After the introduction of <a href="https://developers.google.com/search/docs/appearance/featured-snippets">featured snippets</a> in 2016, one of the latest and most important developments in this field is certainly the introduction, in May 2023 by Google (duh), of <strong>AI Overviews</strong>.</p><p>AI-what?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/1*q1Mp9fnHLn3ja85QSEVoTg.png" /><figcaption>ask.com user interface in 1999</figcaption></figure><h3>What Are AI Overviews?</h3><p>Put in simple terms, AI Overviews (AIOs) are machine-generated summaries that (might) appear at the top of search result pages when Google thinks they’re the best answer to your question. The goal should be to improve the search experience by giving users quick answers to their queries without the need to explore other websites.</p><p>Compared to traditional featured snippets that directly quote content from websites, AI Overviews are <em>generated from multiple sources using large language models</em> (LLMs).</p><p>Definition aside, let’s try to analyzing how this new feature impacts both the way user search and website traffic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*YmPN_1J8u_9sWZJhu9GJDA.png" /><figcaption>AI Overview triggered by a a search query</figcaption></figure><h3>The Impact of AI Overviews</h3><p>Before actually delving into the topic, it’s important to point out a caveat: AIOs are still being tested and refined and since their first launch have always been evolving, with even different rollout strategies across countries (with EU being one of the last). Their final form may change based on feedback and performance and therefore the results of any study or analysis we’ll see in this article could be subject to changes in the near future.</p><p>That said, let’s start by noting two aspects about current AIOs :</p><ul><li>at the moment they aren’t triggered by every search query, although this coverage is estimated to constantly increase over time. Their presence depends on the actual search terms used and are triggered more often for product-specific search terms.</li><li>they’re not error-free, like any other AI-generated content.</li></ul><p>For the sake of this article we won’t take into account the quality of the generated content but we’ll focus on the impact on a user’s search behavior.</p><h4>SERP Real Estate</h4><p>The most obvious consequence is the new positioning of organic listings. As I already mentioned, AIOs take up (a quite substantial) screen space at the top of results, and this inevitably pushes organic listings further down the page. In some cases users may not even see the #1-ranked organic result once an AI Overview is generated.</p><blockquote>As the number of AI Overviews increases, ranking websites are pushed out of view and so appearing in AI results will be critical to how a brand is perceived online.</blockquote><p>There’s a study I found by <a href="https://www.authoritas.com/blog/research-study-the-impact-of-google-sge-on-brands#introducing-the-authoritas-goa-score-generative-to-organic-alignment-score-and-the-authoritas-oga-score-organic-to-generative-alignment-score:~:text=When%20a%20user%20clicks%20on%20the%20SGE%20button%20or%20the%20%E2%80%98Show%20More%E2%80%99%20link%2C%20the%20No.1%20organic%20listing%20drops%20down%20the%20page%20by%20an%20average%201%2C255%20pixels">Authoritas</a> that does an interesting deep dive on the actual impact (down to pixels) on the SERP’s real estate and how organic listings drop down the page.</p><h4>Click Distribution &amp; Engagement</h4><p>As we just noted, when present <strong>AIOs capture a significant portion of user attention </strong>that would otherwise go to traditional organic results. Thanks to the possible presence of interactive elements, images, and expandable sections, AI Overviews appear to be <strong>more engaging than traditional search results</strong>.</p><p>One thing that seems inevitable is that <strong>websites could report traffic drops for queries where AI Overviews appear</strong>, especially for simple informational queries and how-to content.</p><p>One study by <a href="https://www.sistrix.com/">Sistrix</a> found that when AI Overviews appeared for a query, organic click-through rates decreased by an average of 18–25% for the top results. From a marketing standpoint this means that content performance must take into account the <strong>possibile drop of click-through rates for pages that trigger AI overviews</strong>.</p><p>It’s interesting to note that this drop affects click-through rates for also paid search.</p><blockquote>AI Overviews may use information from websites that users may never visit.</blockquote><h4>Answer Satisfaction</h4><p>Analyzing user satisfaction is where things seem to get a little vague: while certain studies show that for informational queries users are generally satisfied with the answers provided by the AI Overview (and therefore don’t feel the need to click through to any website), others show that for some queries the generated results are too generic and users therefore still scroll for organic results.</p><blockquote>The quality of the generated outputs is therefore key in how user behavior actually changes.</blockquote><h3>How Can Brands Adapt for AI Overviews?</h3><p>Though being constantly evolving, it’s safe to say that the number of search queries that will trigger this ai-generated content is destined to increase in the near future. It’s therefore strategic for brands to focus on <em>helping </em>AI Overviews deliver quality content: appearing in AI results will be more and more critical to how a brand is perceived.</p><p>The good news is that staying visible and relevant through AIOs isn’t rocket science and the actions you can take can actually have an overall positive impact on the brand itself.</p><h4>SEO vs GEO</h4><p>The rise of AI-driven search results brings a shift in the digital landscape and with it a new way of optimizing web content: it’s called GEO (Generative Engine Optimization). It’s a newer concept focused on helping your content show up in <strong>AI-generated answers</strong>, like Google’s AI Overviews or ChatGPT-style summaries. Instead of just optimizing for search engines, GEO is about making content get picked up by AI tools that generate direct responses.</p><p>Now it’s important to say that while SEO still matters — especially for pages that drive conversions, <strong>GEO is about future-proofing your content</strong> so it still gets seen, trusted, and used — even when users don’t click.</p><h4>From Ranking Pages to Feeding AI Summaries</h4><p>In SEO, the focus has always been making content rank higher on search engines by optimizing web pages through <em>keywords</em>,<em> backlinks</em>, <em>meta tags</em>, <em>page speed </em>and<em> mobile-friendliness</em>. On the other hand with GEO the goal is to be the source behind an AI-generated answer. This means:</p><ul><li>Writing content that directly answers questions your audience is asking. Use simple language, headings, bullet points, and examples to make it easy to understand.</li><li>Structuring content in a way that’s easy for AI to pull from, like Q&amp;A format or FAQs.</li><li>Building content authority so your site is seen as a trustworthy source: AI systems often choose sources that are seen as experts. You can boost your brand’s credibility by publishing original research or expert commentary, showcasing real customer reviews and testimonials, earning backlinks from trusted websites.</li><li>Up-to-date and fact-checked content: AI tools seem to prefer up-to-date sources. Regularly update your content to reflect the latest facts, trends, and customer needs.</li></ul><h4>Content Strategy and Metrics Needs to Shift</h4><p>Of course in this new paradigm brands need to invest in a new type of content strategy, where content is less about ranking per se and more about being referenced.</p><p>With GEO we don’t talk about <em>search volumes </em>or<em> traffic</em>, two metrics that are critical in SEO where success is more of a quantitative measure.</p><p>On the other hand with GEO success has more of a <strong>qualitative</strong> notation:</p><ul><li><strong>Being cited</strong> in AI-generated answers</li><li>Growing <strong>brand visibility without a click</strong></li><li>Driving <strong>trust and authority</strong> even if the user doesn’t visit your site</li></ul><blockquote>This means analytics and content goals need to evolve — to include things like AI impressions and brand mentions in AI summaries.</blockquote><h3>Wrapping Up</h3><p>AI Overviews are <em>slowly but steadily </em>changing the way people find and trust information online. But it’s important for brands to view this shift as an opportunity to stand out in the long run, focusing on being clear, helpful, and trustworthy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e1b0e64c69e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Did ChatGPT get better than Midjourney in image generation?]]></title>
            <link>https://medium.com/@flik185/did-chatgpt-get-better-than-midjourney-in-image-generation-fdfe3acfb762?source=rss-df0cae5ec9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdfe3acfb762</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[genrative-ai]]></category>
            <category><![CDATA[midjourney]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Simone Viani]]></dc:creator>
            <pubDate>Fri, 04 Apr 2025 16:40:44 GMT</pubDate>
            <atom:updated>2025-04-04T16:40:44.732Z</atom:updated>
            <content:encoded><![CDATA[<p>Of course, only one example can’t thoroughly answer this question, and don’t get me wrong Midjourney is certainly still a great tool, but I was actually impressed by how <strong>ChatGPT4o </strong>handles image generation.</p><p>That’s why I decided to put the two tools to the test and see how they would compare in generating an image from the same prompt.</p><h4>The test process</h4><p>I opened up Chat GPT 4o on one tab, and Midjourney (both v6 and v7 alpha that just rolled out).</p><p>I started by feeding a picture of my face and then added a detailed prompt that, using that image as a reference, should create an action figure version of myself. And that’s when I was actually impressed.</p><blockquote>Right from the first iteration of the prompt in ChatGPT I got a satisfying result that reflected pretty much the idea I wanted to display.</blockquote><p>On the other hand, using the same exact prompt with Midjourney delivered something that was far from acceptable, that kind of reminded me of the early versions of generative AI tools (ok, I might be over overexaggerating, but you get the gist).</p><h4>Prompt accuracy</h4><p>The first thing that I noticed comparing the two outputs was how Midjourney almost totally ignored the instructions regarding text outputs:</p><pre><strong>PROMPT SNIPPET</strong><br><br>The background of the packaging should be yellow (hex color of #FBCE0D),<br>with bold dark blue (hex color of: #00274f) typography displaying <br>the name:<br>1st line : SDA Bocconi, in a thin font<br>2nd line : Simone Viani, in a bold font</pre><p>This apparent <em>amnesia </em>impacted also other design aspects: let’s take for example the following snippet:</p><pre><strong>PROMPT SNIPPET</strong><br><br>The packaging will have a hangsell hole punch at the top</pre><p>While ChatGPT 4o actually understood the prompt correctly, Midjourney totally ignored it, producing a flat background.</p><h4>Reference image</h4><p>Another interesting fact was comparing how the tools leveraged the reference image: while ChatGPT was able to follow the prompt (that clearly indicated how the character should appear) and generate an entire figure from the reference, Midjourney only generated the part of the figure depicted in the reference (the face).</p><blockquote>Again, for some reason Midjourney seemed unable to process all the detailed information in the prompt.</blockquote><h4>The output</h4><p>From this one example my key learning was that, overall, at the moment Midjourney seems to have difficulty interpreting specific layout instructions, and this is clearly a limitation in those scenarios where you want to work with a specifica idea.</p><p>Judge for yourself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lz7v3_bxtGh8Z3rYaIPANw.jpeg" /><figcaption>First-prompt image comparison between ChatGPT 4o and Midjourney</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdfe3acfb762" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making AI Work for People, Not Machines]]></title>
            <link>https://medium.com/@flik185/making-ai-work-for-people-not-machines-cd446234d01b?source=rss-df0cae5ec9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd446234d01b</guid>
            <category><![CDATA[business-strategy]]></category>
            <category><![CDATA[strategic-thinking]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Simone Viani]]></dc:creator>
            <pubDate>Sun, 16 Mar 2025 16:39:02 GMT</pubDate>
            <atom:updated>2025-03-27T12:26:46.438Z</atom:updated>
            <content:encoded><![CDATA[<p>Let me start by stating the obvious: artificial intelligence at this point can play a significant role in our lives — from trivial tasks like recommending what movies to watch, to as much as helping businesses make big decisions. Now bear with me for a moment and let’s switch to the <em>pov</em> of a designer, the human that <em>actually</em> has to create those AI-driven experiences. If there’s one thing that should be clear by now is that</p><blockquote>AI isn’t a “one-size-fits-all” technology, it’s not something that necessarily works for all users in the same way.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jHlgvMI_tnOUkQpf1lentQ.png" /></figure><p>If you think about UX at it’s core, it’s always been about putting the User first, understanding his needs and designing solutions accordingly. Since AI came along this basic principle hasn’t actually changed, but it got augmented in a certain way: designing AI-driven experiences the right way means <strong>thinking carefully about how people interact with it</strong>, always keeping in mind that AI isn’t perfect — it can make mistakes, be confusing or even create biases.</p><h4>Context Matters</h4><p><strong>The way a user interacts with AI should match the context</strong>. Think of the difference between AI in the entertainment industry (like Netflix suggestions) vs AI in finance (like portfolio management). In both scenarios there could be wrong and unpredictable outcomes (AI is not perfect, duh), but the latter needs a more solid error handling interface due to the highly sensitive context.</p><h4>Feedback and Trust Matter, too</h4><p>One of the major caveats of working with AI is <strong>limiting as much as possible the so called “black box” effect</strong>, where the user doesn’t understand the decision-making process implemented by AI: this usually leads to concerns about transparency and trust and ultimately to user dropout.</p><p>When designing AI experiences, giving <strong>clear feedback and explanations of what is happing during the interaction</strong> (e.g. the reasoning behind recommendations) becomes crucial to making AI feel more reliable and making the user still feeling in control of the product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EYaebSoJH8_NHJJPh3KUhw.png" /></figure><h4>Strategic Integration</h4><p>So far, so good. We know that AI is a powerful tool that can be leveraged to to enhance user experiences, productivity, efficiency and much more — but it’s not magic. It shouldn’t be thought as a plug-n-play technology that seamlessly works and solves every problem just because “well, it’s AI”.</p><p>It’s key for Businesses to understand that AI is not something that <em>must</em> be used no matter what. Companies should first<strong> identify problems that AI can effectively solve within their products</strong>, unless they’re planning on spending lots of money with no predictable return of investments. This is why designers play an important role in setting expectations about AI capabilities and guiding stakeholders to understand when AI is truly beneficial and when traditional solutions are more appropriate — in other words avoiding the inclusion of AI solely for the sake of using it.</p><p>With the advent of AI designers play an ever more crucial role.</p><p>As AI technology grows, designers need to keep principles like <em>context-awareness</em>, <em>transparency</em> and <em>control</em> in mind to create experiences that users can actually trust and enjoy.</p><p>On the other hand, designers are essential in guiding companies to recognize when AI is actually beneficial. And when not.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd446234d01b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Optimizing Canvas for Print-Ready Images]]></title>
            <link>https://medium.com/@flik185/optimizing-canvas-for-print-ready-images-9c4954cbeda0?source=rss-df0cae5ec9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c4954cbeda0</guid>
            <category><![CDATA[canvas]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[printing]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[frontend-development]]></category>
            <dc:creator><![CDATA[Simone Viani]]></dc:creator>
            <pubDate>Sun, 28 Jul 2024 09:01:32 GMT</pubDate>
            <atom:updated>2024-07-28T09:01:32.348Z</atom:updated>
            <content:encoded><![CDATA[<p>Some time ago I was coding in javascript a simple QR Code generator I wanted to share inside my company to let anyone autonomously be able to create a branded qr code. The process was pretty straightforward, I used the <em>&lt;canvas&gt; </em>element to store the dynamically generated qr code image and everything worked like a charm: the user would input a URL and the generator would create a working qr code. Easy peasy.</p><pre>// add generated qr code to page (append to .qrcode__container)<br>app.qrEngineRef.append(app.qrcodeContainer);</pre><p>There was only one problem: I wanted the qr code to also be <em>downloadable</em> and <em>printable</em>. So I was pretty disappointed to find out that the downloaded image had a terrible resolution and couldn’t really be print material.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9OR0VSxtDZ0XDsPqhsKmKQ.png" /><figcaption>the web app with a 300x300px canvas holding the generated qr code image</figcaption></figure><p>I had to open up my notes taken during my Computer Design classes from the Master’s in Multimedia Design that I did (sigh) many years ago.</p><p>The point I didn’t initially consider was that images on the web are measured in pixels while we can safely disregard their DPI (dots per inch — used in print) value:</p><blockquote>the numbers of pixels of a 72 DPI or 300 DPI image are the exact same.</blockquote><p>A standard computer monitor has a display resolution between 72 and 96 DPI while a high resolution print is about 300 DPI — it is totally pointless having high-DPI images on the web, they would just break performance.</p><p>So what I needed to do to have a good quality printable image was to pre-calculate the image (i.e. the canvas element) size in pixels in relation to the final size I wanted to image to be printed. In other words</p><blockquote>the canvas needs to be already in the size you want to use for print</blockquote><p>to avoid low quality due to upscaling interpolation.</p><p>In my case, since we’re dealing with a QR code and therefore a square image that doesn’t need to be particularly large when printed, I opted for a final size of 5x5 cm.</p><p>Considering this print size, using 300 DPI as a reference for high-quality printing and converting inches to centimeters (1 inch = 2.54 centimeters), the calculation of the canvas size was straightforward:</p><pre><strong>New cavas width</strong><br>5 cm * 300 / 2.54 = <strong>600 px</strong><br><br><strong>New canvas height</strong><br>5 cm * 300 / 2.54 = <strong>600 px</strong></pre><p>Please note that the only fixed value in the above equations is 2.54. Both the 5 (the intended width in centimeters of the printed image) and the 300 (the DPI of the printed image) vary from case to case.</p><p>Once I got the correct downloadable image size I just had to preserve the original screen dimensions of the canvas element in order not to break the interface, and this was done simply using CSS to scale down the element:</p><pre>&lt;canvas width=&quot;600&quot; height=&quot;600&quot; style=&quot;width:300px;height:300px;&quot;&gt;&lt;/canvas&gt;</pre><p>That’s about it.</p><p>So remember, when dealing with images on pixel-based devices DPI is an arbitrary value. Just remember to use the correct image size if you ever need to print :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c4954cbeda0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Interaction Patterns: Giving Users Ways to Recognize and Interact With Ai-Driven Features]]></title>
            <link>https://medium.com/@flik185/ai-interaction-patterns-giving-users-ways-to-recognize-and-interact-with-ai-driven-features-22055a91206b?source=rss-df0cae5ec9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/22055a91206b</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[interaction-design]]></category>
            <dc:creator><![CDATA[Simone Viani]]></dc:creator>
            <pubDate>Fri, 10 May 2024 08:05:48 GMT</pubDate>
            <atom:updated>2024-05-10T08:05:48.037Z</atom:updated>
            <content:encoded><![CDATA[<p>Now that we’ve acknowledged the fact that artificial intelligence (AI) is here to stay, and that it will keep on blending in with our lives more and more, we can understand that <em>the way we identify AI and interact with it becomes ever more crucial</em>.</p><p><em>Human-computer interaction</em> is certainly nothing new (as designers and developers) but the nature of AI in many ways imposes us to rethink and find new interaction patterns to serve as building blocks of this <em>new</em> experience, giving users ways to <em>effortlessly</em> recognize and interact with these AI-driven features. The point shouldn’t be just to adapt to AI, but to harness its full potential in creating more engaging and intuitive experiences.</p><p><strong>AI-based interfaces should therefore empower users to actually harness that potential</strong>, and this is achieved by using interaction patterns that inform and build a trustworthy relationship between humans and AI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DOiMVzda_tjz49MldAEaIQ.png" /><figcaption>Human-computer interaction (source: Midjourney — prompt: humand-computer interaction as seen by Stanley Kubrick)</figcaption></figure><h3>Type of Patterns</h3><p>Let’s now cut to the chase and see what practical interaction patterns we should be considering when building a new AI-based tool, be it a chatbot, an analytics dashboards or a personalized recommendations banner.</p><p><strong>Introduce the AI:</strong> let people know they’re chatting with an AI, not a human behind the scenes, in other words clearly distinguish AI features from traditional interfaces.</p><p><strong>Give Directions: </strong>show people how to get the most out of the AI, offer clues on how the AI works and what to expect. This could be prompts, like how to ask a question, or clear instructions on what the AI can and can’t do.</p><p><strong>Fine-Tuning:</strong> especially for chat-based AIs, give ways to adjust how it responds, like asking for more details.</p><p><strong>Building Trust:</strong> make the user feel comfortable with AI and understand its reasoning, so features that show how the AI works and why it gives certain answers are paramount.</p><h3>Emerging Patterns</h3><p>Even though we are considering a relatively short period of time, UI/UX patterns are emerging rather quickly.</p><h4><strong>✨ Sparkles</strong></h4><p>Probably the most recognizable (*) UI element due to its widespread adoption is the sparkle icon. The reason for its popularity is mainly unknown, even if some relate it to the “magic” behing AI (I guess thank you Disney?).</p><p>Even though sparkles are growing in popularity and therefore you could argue that they will soon be considered “a standard”, we should always consider two important caveats this solution brings:</p><ul><li>they don’t have a straight-forward meaning like a clock icon, so a user can’t be entirely sure what might happen next. If we consider the aforementioned point of <strong>Building Trust</strong>, that’s certainly not ideal.</li><li>the meaning behind an icon (or an image in general) is certainly affected by the cultural background of the user. Demographics are therefore key to ensure that visual cues are the most inclusive and accessible as possible.</li></ul><blockquote>In general, without clear knowledge of an image, users can become confused by your design</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aufKpuTk_-ctBM9j8aPdYA.png" /><figcaption>The sparkles icon used inside the prompt box of Notion (source: <a href="https://www.notion.so/product/ai">https://www.notion.so/product/ai</a>)</figcaption></figure><h4>🌈 Colors</h4><p>As of today, in terms of colors, there is probably not a real standard yet, especially because big companies still prefer to extend their brand colors to AI applications, but we’re definitely seeing a large use of purple and related gradients on many interfaces.</p><p>Once again, there is no specific reason for this color choice, but it could be related to the the need for a not commonly used color in interface design that felt “premium” and “magical” at the same time.</p><p>Note: just like for the sparkles icon, some colors in one culture may not be recognized or understood in another so one should ideally research and test across different demographics to ensure the most inclusive and accessible interfaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gYpxtmlzfRXZtdZ8apsibQ.png" /><figcaption>Purplish gradient used on GitHubs’ Copilot (source: <a href="https://github.com/github-copilot/">https://github.com/github-copilot/</a>)</figcaption></figure><h4>🔖 Labels and Badges</h4><p>Different levels of computer literacy among users, even in 2024, is something one should always take into account when creating user experiences. This is even more true in this new realm of AI tools. While some people might find that a simple indicator like the sparkle icon is clear enough to indicate AI functionality, for others who aren’t as familiar with this technology might be necessary to use more direct cues, like badges or labels that are clearly marked with “AI.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I2yqAeuCT_VF8fp8IDLXlg.jpeg" /><figcaption>Use of labels, purple and sparkles on the Magician Figma plugin (source: <a href="https://magician.design/">https://magician.design/</a>)</figcaption></figure><p>We are obviously just at the beginning of the AI revolution, and many aspects of its integration with user interfaces will probably (need to) change in the long run. It will be interesting to see how design will adapt and cater to the user’s needs as AI will understand its user better and better.</p><p>What a great time to be a designer!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22055a91206b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sustainability in the digital world]]></title>
            <link>https://medium.com/@flik185/sustainability-in-the-digital-world-42f7d11f4b09?source=rss-df0cae5ec9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/42f7d11f4b09</guid>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[environment]]></category>
            <category><![CDATA[sustainable-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[sustainability]]></category>
            <dc:creator><![CDATA[Simone Viani]]></dc:creator>
            <pubDate>Thu, 29 Feb 2024 15:05:57 GMT</pubDate>
            <atom:updated>2024-02-29T15:53:05.638Z</atom:updated>
            <content:encoded><![CDATA[<p>We are all well aware of the constantly growing importance of technology in our lives and today, with AI being all the rage, we’re seeing amazing steps forward in various fields with definitely a huge social impact. I myself am very excited on <em>what the future holds</em> for us for that matter.</p><p>But, honestly, let’s stop for a moment and think: do we ever ask ourselves what the <em>real</em> <em>cost</em> behind this technological sprint is? Do we ever ask ourselves how our planet is actually going to reach that <em>bright</em> <em>future</em>, considering the harm we bring to it on a daily basis — and in some cases not even consciously?</p><p>Now, since we were kids we’ve come to learn that factors like <em>industrial activities</em>, <em>transportation</em> and even <em>agriculture </em>have an environmental impact, but what we probably don’t actively consider is that <strong>many of our daily digital activities have an impact too, even though it’s physically intangible</strong>.</p><p>Ordering a pizza through a mobile app, sending an email, listening to music, watching a movie on Netflix or simply surfing the web (reading articles on Medium, lol) are just a few of the actions that countless individuals around the world perform on a daily basis. Like it or not, all of these apparently “harmless” activities actually take a toll on our planet, especially if you consider there are <a href="https://www.statista.com/statistics/617136/digital-population-worldwide/"><strong>over 5.3 billion Internet users in the world</strong></a>. It’s not just you.</p><p>Surprisingly enough the <strong>Internet accounts for around 5% of global carbon emissions</strong>, a value that is comparable to the output of all air travel put together! The use of any Internet-based platform leaves a carbon footprint into the atmosphere.</p><pre>/ Carbon Footprint /<br><br>A measurement that expresses the amount of greenhouse <br>gasses emissions that are generated during the lifetime of a product, service, <br>organization, event or individual, usually expressed in tons of <br>CO2 equivalent.</pre><p>Here are a few numbers to chew on:</p><ul><li><strong>28–63 g CO2</strong> emissions produced per gigabyte on the Internet.</li><li><strong>50 g CO2</strong> emissions produced sending an email with attachments.</li><li><strong>55 g CO2e </strong>(grams of carbon dioxide equivalents)<strong> </strong>is the <a href="https://about.netflix.com/en/news/the-true-climate-impact-of-streaming">average carbon footprint of one hour of streaming in Europe</a>.</li><li><strong>0.15g CO2 </strong>emissions produced posting a photo on Instagram.</li><li><strong>1–5 tons C02 </strong>annual emissions of a server.</li><li><strong>150 g CO2 per km </strong>estimated emissions of a petrol car.</li></ul><p>It should be therefore clear that we should all start to acknowledge that <strong>our digital lifestyles actually have an environmental impact and that the Web Industry has an important part to play</strong> with designers and developers that can contribute to more sustainable practices.</p><p>This step, this first step, is crucial and it’s something we should all be aware of because, after all, <em>the first step in solving a problem is recognizing there is one, </em>isn’t it?</p><p>An important starting point in this sustainability journey has actually been made by the W3C (World Wide Web Consortium) that recently put out a draft of the <a href="https://w3c.github.io/sustyweb/">Web Sustainability Guidelines (WSG) 1.0</a>, a series of recommendations for making websites and digital products in general more sustainable, with a reduced ecological footprint. These guidelines are based on ESG (environment, social, and governance) principles focusing on <em>user-centered design</em>, <em>sustainable business strategy</em>, <em>renewable infrastructure</em> and <em>performant web development</em>.</p><p>So now that we know we have a sustainability problem, let’s try to better understand what the current challenges that we designers and developers have to face to move towards digital sustainability.</p><h3>Reduce Carbon Emissions</h3><p>Let’s start from the aforementioned carbon emissions generated by web-related activities: these are primarily due to <strong>electricity use</strong>, which today is still often sourced from fossil fuels — that once burnt produce carbon dioxide (CO2).</p><p>In the digital industry, electricity has many applications, the main three being:</p><ul><li><strong>powering devices</strong> (phones, computers, etc.)</li><li>enabling <strong>data storage and transfer across networks</strong></li><li>enabling the manufacturing of <strong>hardware</strong></li></ul><blockquote>Finding ways of limiting power consumption is therefore crucial for reducing carbon emissions.</blockquote><p>Let’s cut to the chase and see where we can take action to reduce power consumption.</p><h4><strong>Design</strong></h4><p>Believe it or not, but we can have a positive impact on power consumption starting from the <strong>design phase of a digital product</strong>. Starting from the color palette we choose: light blue colors use more energy than red or green do, while “dark mode” can save energy because black pixels are actually off, so they don’t contribute to energy consumption.</p><p>The <strong>user journey</strong> also plays an important part: How much time are users spending clicking around on your site, loading more resources than they need because they can’t find what they’re looking for?</p><h4><strong>Performance</strong></h4><p>Turns out there is a direct correlation between performance and sustainability.</p><p><strong>Optimized and faster digital products usually have a lower-carbon footprint</strong>, while also ensuring a more enjoyable user browsing experience. This is because the optimization can help reduce the amount of data stored and transferred thus reducing the amount of power consumed by the user’s device.</p><p>Here are some practical performance optimizations:</p><ul><li><strong>reduce image size</strong>: nearly half of data transfer on the web comes from images, therefore reducing and <a href="https://tinypng.com/">optimizing</a> these assets is crucial.</li><li>serve the <strong>most appropriate image</strong> for a user’s device.</li><li><strong>leverage </strong><a href="https://pagespeed.web.dev/"><strong>optimization tools</strong></a> to find areas for improvements.</li><li><strong>optimize fonts/css</strong>: these files can significantly affect page weight. Forn instance limiting the number of web fonts used is key, just like serving modern font formats (like WOFF2) are all actions we can take to help reduce the payload. Also, removing unused css rules and compressing files once in production reduces overall page weight.</li><li><strong>reduce javascript usage</strong>: always consider whether you really need a JavaScript framework (e.g. Jquery) for your project and limit the use of external plugins.</li></ul><h4><strong>Digital Waste</strong></h4><p>Every media we consume, from videos, to photos, e-books, emails, online music, or podcasts are, at the core, <em>data. </em>Once consumed, this data is collected and stored. This process, as you can guess, consumes an important amount of energy.</p><p>Reducing the number of media exposed on a digital product has therefore a positive impact.</p><h4><strong>Internet Connection</strong></h4><p>Turns out that the way your device connects to the Internet affects power usage. Connections like 4G or 5G require more power than WiFi, and WiFi uses more energy than an ethernet connection. If you always use the same workstation you should therefore prefer a cable connection over WiFi.</p><h4><strong>Device Life-span</strong></h4><p>Always try to extend the life-span of your devices, and repair over replace whenever you can. A big part of the environmental impact in the digital world comes from manufacturing the technology in the first place, as we’ll see in the next paragraph.</p><h3>Reduce Water Usage</h3><p>Unfortunately carbon emissions is only one of the aspects to take into account in making our web applications more sustainable. Other factors should be considered, one of them being related to our probably biggest asset on Earth: water.</p><p>The continually increasing generation and consumption of data, as discussed earlier, requires the establishment of a growing number of data centers. These centers, known for their high energy consumption, also demand substantial amounts of water for cooling. Even the manufacturing process of silicon chips involves significant water usage. The escalating global issue of water scarcity is becoming a growing concern and must be limited, just like carbon emissions.</p><h3>Green Hosting</h3><p>Another important aspect to take into account is the <strong>distance from the host</strong>. The closer the data centers are, the fewer devices will the data need to pass through, thus lowering the environmental impact.</p><p>Similarly, it is crucial to rely on energy-efficient servers and in general on a hosting company that uses data centers powered solely by renewable sources or at least to a rather high percentage.</p><p>There are of course many other considerations to be made, and there’s no “one solution fits all”, but as we’ve seen many concrete actions can be taken to start addressing the (big) sustainability problem we’re facing. Nonetheless, probably the first and most important step we must all take is to <em>really </em><strong>start considering technological innovation and environmental protection as two interconnected and interdependent worlds.</strong></p><p>It’s hard and challenging because in some cases it means questioning those daily habits that are today part of our lives and that seem so <em>natural</em>.</p><p>But it must be done.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42f7d11f4b09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Semantics of a Click]]></title>
            <link>https://medium.com/@flik185/the-semantics-of-a-click-2043c85b8195?source=rss-df0cae5ec9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/2043c85b8195</guid>
            <category><![CDATA[webdev]]></category>
            <category><![CDATA[interaction-design]]></category>
            <category><![CDATA[webdesing]]></category>
            <category><![CDATA[semantics]]></category>
            <category><![CDATA[accessibility]]></category>
            <dc:creator><![CDATA[Simone Viani]]></dc:creator>
            <pubDate>Sat, 11 Nov 2023 08:17:11 GMT</pubDate>
            <atom:updated>2023-11-11T08:26:12.046Z</atom:updated>
            <content:encoded><![CDATA[<p>Understanding the difference between a button and a link</p><p>Semantics is an important aspect of web pages. Or at least it should be in 2023. We are long passed the early days of HTML, where the markup language was essentially used to describe <strong>simple structured scientific documents</strong>, with not much consideration for design and good looks.</p><figure><img alt="The first ever web page made On August 6, 1991 by Mr. Berners-Lee." src="https://cdn-images-1.medium.com/max/1024/1*1eNRW5iq2lW8ymYGcNfAgw.png" /><figcaption>August 6, 1991 — The first ever web page (http://info.cern.ch/hypertext/WWW/TheProject.html) made by Mr. Berners-Lee</figcaption></figure><p>Luckly (for people like me) over the years the scope of HTML documents significantly changed, layout became king and, to answer this what I call call paradigm shift, HTML5 greatly focused on semantics in markup, adding a certain number of tags that convey the role and meaning — or semantics — of the content contained within them.</p><h4>But why are semantics important in the markup of a web page?</h4><p>There are two main reasons I can think of:</p><ol><li><strong>Maintainability</strong></li></ol><p>Semantic HTML code is cleaner and easier to read. This is an important aspect both for who writes the code in the first place, but also, and maybe even more, for anyone that has to work on that code afterwards. In web development maintainability is key, so the easier it is to understand code, the better.</p><pre>&lt;!-- NON SEMANTIC HTML --&gt;<br>&lt;div&gt;<br>  &lt;a href=&quot;#link1&quot;&gt;link1&lt;/a&gt;<br>  &lt;a href=&quot;#link2&quot;&gt;link2&lt;/a&gt;<br>  &lt;a href=&quot;#link3&quot;&gt;link3&lt;/a&gt;<br>&lt;/div&gt;<br>&lt;div&gt;<br>  &lt;div&gt;&lt;p&gt; Some content here &lt;/p&gt;&lt;/div&gt;<br>  &lt;div&gt;&lt;p&gt; Other content here &lt;/p&gt;&lt;/div&gt;<br>  &lt;div&gt;&lt;p&gt; And other content here &lt;/p&gt;&lt;/div&gt;<br>&lt;/div&gt;<br>&lt;div&gt;<br>  &lt;p&gt; A non semantic footer &lt;/p&gt;<br>&lt;/div&gt;</pre><pre>&lt;!-- SEMANTIC HTML --&gt;<br>&lt;header&gt;<br>  &lt;nav&gt;...&lt;/nav&gt;<br>&lt;/header&gt;<br>&lt;section&gt;<br>  &lt;article&gt; Some content here &lt;/article&gt;<br>  &lt;article&gt; Other content here &lt;/article&gt;<br>  &lt;article&gt; And other content here &lt;/article&gt;<br>&lt;/section&gt;<br>&lt;footer&gt;<br>  &lt;p&gt; A semantic footer &lt;/p&gt;<br>&lt;/footer&gt;</pre><p>2. <strong>Accessibility</strong></p><p>Semantic elements aren’t only easier to understand by humans. Both search engines and assistive technologies like screen readers are also able to better understand the context and content of a webpage if it is built using semantic tags.</p><p>In fact, just to mention a few out of the box advantages in terms of accessibility:</p><ul><li><strong>&lt;a&gt; </strong>tags provide with implicit role (link role) to screen readers, provides with default tab focus with (href) attribute and supports different states (active, visited, hover and focus). A link is focusable and can be triggered by the enter key.</li><li><strong>&lt;button&gt;</strong> tags provide with implicit role (button) to screen readers, are activatable by space key and have a disabled state. A button is also focusable.</li></ul><h4>But what has all this got to do with buttons and links?</h4><p>That’s a great question! I promise that there is a link (pun intended).</p><p>If you think about it, <em>not all clickable elements on a web page are the same</em>. For example, one could open a registration form, another click could trigger an action like a file download and others could even open web pages that live outside of your website.</p><p>Each clickable element from the examples above has a <em>different purpose</em> and therefore semantic, and this should be reflected in the markup (and the UI) of these elements.</p><p>A tried and true usability best practice states that you should:</p><ul><li>use buttons when the underlying action changes the state of the digital entity*, either back-end or the front-end (e.g. submitting a form).</li><li>use links when the underlying action doesn’t affect the state of the digital entity but actually takes you somewhere, both inside or outside of the digital entity (e.g. a “forgot password” link in a form).</li></ul><blockquote><em>(*) I use the term</em> digital entity<em> to refer to any type of website or app.</em></blockquote><h4>And the UI?</h4><p>In terms of basic UI, links are traditionally represented by simple <a href="#">underlined text</a>, while buttons by text inside a boxed area that defines the clickable region of the interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*TosHRFkEJcAyCxsMn36mgQ.png" /></figure><p>But does it always have to be this way? Short answer: no, as long as the UI (in this case links and buttons) and the underlying markup of your digital entity always follow a precise action (and visual) hierarchy. Your main focus should be not to confuse users.</p><blockquote>In order to reduce <a href="https://www.sciencedirect.com/topics/psychology/cognitive-load-theory">cognitive load</a>, and therefore not overwhelm the human brain, it is important clearly distinguish each type of clickable element on an interface.</blockquote><p>A user should always be able to predict what is going to happen after a certain interaction.</p><p>And by the way, this is true not only in the digital realm but in the physical world too.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2043c85b8195" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>