<?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 Yan Niznik on Medium]]></title>
        <description><![CDATA[Stories by Yan Niznik on Medium]]></description>
        <link>https://medium.com/@yananas?source=rss-e41ca369b997------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_wBkL9ZrVi8i_r28yDH3MQ.jpeg</url>
            <title>Stories by Yan Niznik on Medium</title>
            <link>https://medium.com/@yananas?source=rss-e41ca369b997------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 18:01:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yananas/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[From vibecoding to production: Governing citizen AI without killing the vibe]]></title>
            <link>https://medium.com/ontechnology/from-vibecoding-to-production-governing-citizen-ai-without-killing-the-vibe-53c4e319ef52?source=rss-e41ca369b997------2</link>
            <guid isPermaLink="false">https://medium.com/p/53c4e319ef52</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[engineering-leadership]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai-governance]]></category>
            <dc:creator><![CDATA[Yan Niznik]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 16:07:15 GMT</pubDate>
            <atom:updated>2026-12-06T11:41:13.476Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ldufoVIMJ5v0fO3Wk3952w.png" /></figure><p>A few months ago, software engineering had a clean perimeter.</p><p>Engineers wrote code. CI/CD pipelines linted, tested, and built it. Platform teams guarded deployment targets. If someone outside engineering wanted a custom internal tool, they wrote a spec, filed a ticket, and waited two quarters.</p><p>Today, anyone with curiosity, a browser tab, and a prompt can generate a functioning full-stack application before lunch.</p><p>At On, we see this every day. Designers build internal asset parsers. Product managers assemble real-time inventory trackers. Operations teams write custom webhook routers and Slack automations.</p><p>They are “vibecoding.” And it works.</p><p>The immediate reaction from traditional enterprise IT is panic: This is shadow IT at scale. Shut it down.</p><p>The reaction from AI evangelists is naive optimism: Everyone is a developer now. Let them build.</p><p>Both reactions miss the deeper shift. AI changes the economics of creating software, which means our engineering operating model has to change too. The job is neither to wave everything through nor to put a committee in front of every idea.</p><p>The real question is simpler: how do you make the safe path the easiest way to get something built?</p><h3>The anatomy of an accidental production service</h3><p>Vibecoded applications don’t fail because their authors are careless. They fail because LLMs optimize for immediate demonstration, not operational longevity.</p><p>An LLM asked to build an internal app will happily:</p><ul><li>Spin up an ephemeral local database on a temporary disk that vanishes on the next restart.</li><li>Hardcode an API key directly into the client-bundle JavaScript because “it made the fetch call work.”</li><li>Bypass enterprise SSO entirely and invent its own unhashed, unauthenticated session storage.</li><li>Call expensive frontier reasoning models for basic string manipulation and trivial formatting.</li></ul><p>The author tests the application with three sample records. It looks incredible. They drop the URL into a team Slack channel.</p><p>Three weeks later, six departments depend on that URL to run their Monday planning meetings.</p><p>The author never intended to construct critical enterprise infrastructure. They built a prototype to solve an immediate operational headache. But in software, utility creates gravity, and gravity creates production.</p><p>When that container inevitably crashes, who gets paged?</p><p>If your answer is “nobody, it wasn’t approved,” your business operations just stalled. If your answer is “the platform team,” you are now maintaining an undocumented, hallucinated codebase you didn’t write.</p><h3>Why traditional governance fails</h3><p>The standard corporate playbook for this problem is familiar: create a review committee, publish an AI acceptable-use policy, and require architecture sign-off before deploying any code.</p><p>This fails every single time.</p><p>Friction does not prevent shadow IT. Friction causes shadow IT.</p><p>The moment you tell a team member who just built a working tool in twenty minutes that they need a three-week compliance review, they will not delete their code. They will export it to a personal Vercel account, attach their own credit card, paste in a raw corporate API token, and share the link anyway.</p><p>You cannot police behavior when the marginal cost of creating software drops to zero.</p><p>You can only control the physics of the environment.</p><h3>The paved path: four architectural guardrails</h3><p>At On, rather than adding review boards, we built the guardrails directly into our internal app platform.</p><h4>The Sandbox Front Door</h4><p>If you want people to build in approved spaces, the approved space must be faster and simpler than public cloud alternatives.</p><p>Every employee gets immediate access to an isolated worker runtime out of the box, with opt-in container sandboxes when an app needs a full backend. No cloud tickets, no waiting on Terraform.</p><p>Under the hood, a few boundaries are enforced automatically:</p><ul><li>Locked-down network access: Apps cannot call arbitrary IPs or unapproved external endpoints. Unapproved outbound calls are blocked before deploy.</li><li>Isolated execution: Apps run in memory-isolated workers or unprivileged sandboxes with no access to neighboring workloads.</li><li>Isolated data, no fake numbers: Each app gets its own storage, and build checks block hardcoded sample or invented datasets from passing as real.</li></ul><p>People can test an idea right away, and any mistake stays contained.</p><h4>One gateway, zero raw keys</h4><p>A prototype should never hold a raw credential.</p><p>Instead of issuing raw API tokens or database service accounts to individual apps, all model access and internal data connections route through a centralized AI Gateway.</p><p>When a team member’s prototype needs to query Jira, look up product stock, or call Claude Sonnet:</p><ul><li>No direct keys: The application never sees an Anthropic, Google, or internal database secret.</li><li>Viewer-scoped permissions: Data connectors (MCP) sit behind the gateway. Shared apps never inherit the creator’s access; each viewer signs in with SSO and only sees what they are already allowed to see.</li><li>Automatic model routing and budgets: Harder reasoning goes to frontier models, routine tasks use lighter ones, and spend is capped per user and key.</li></ul><p>Builders do not have to think about token leaks, secret rotation, or runaway spend. The platform handles it underneath.</p><h4>The Graduation Contract</h4><p>Not every vibecoded tool should survive. In fact, most shouldn’t. Ninety percent of them are digital scratchpads, meant to answer a question once or test a workflow and then be discarded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7nrTvs64CiqQbxYUwT9VZw.png" /></figure><p>The danger begins when a prototype quietly takes on real operational risk.</p><p>Governance is about risk, not just distribution. A pricing or supply-chain tool used by three people can carry far greater consequence than a team poll used by three hundred colleagues. Instead of policing creation or treating audience size as a proxy for safety, we establish an explicit risk boundary between a Sandbox Prototype (Tier-4) and a Governed Production Service (Tier-2):</p><p>An application crosses that line when it touches sensitive data, shapes material business decisions, drives a live operational workflow, or grows beyond a small team.</p><p>Below that threshold, a prototype stays scoped to its creator or a handful of collaborators, where experimentation is cheap and safe. Once it crosses on any dimension, it either clears the graduation gate (business and technical sign-off paired with automated safety checks) or exports cleanly into our standard engineering stack.</p><h4>Accountability: Freedom to Create, Responsibility to Operate</h4><p>Democratizing software creation does not remove engineering responsibility. It makes separating the freedom to create from the responsibility to operate essential.</p><p>Anyone can test an idea before lunch, but running software that colleagues depend on is a different commitment. Every published app carries visible human ownership and data classification on the page, emits health and spend telemetry by default, and sits behind an instant kill switch if something misbehaves. When an experiment has served its purpose, ninety days of zero traffic archives it automatically so temporary prototypes never quietly harden into permanent operational debt.</p><h3>What changes in practice</h3><p>The real test of an architecture is what it lets teams accomplish. Within a month of opening this paved path at On, more than a hundred builders across business and technology shipped over seventy internal applications, with zero raw vendor keys issued and zero compliance tickets stuck in a queue.</p><p>More interesting than the speed was what teams could suddenly take on themselves. A supply-chain lead replaced manual spreadsheet and deck reconciliation with a live portfolio view that surfaces delivery risks across programs in real time. Commercial and logistics teams stood up regional stock maps and warehouse relocation trackers in days rather than waiting quarters on a backlog. Product and retail teams turned scattered customer reviews and store-opening plans into shared views that steer weekly trading decisions.</p><p>Most experiments stayed lightweight scratchpads and wound down naturally. The few that became genuinely critical graduated onto production foundations with clear owners, proper monitoring, and engineering standards intact.</p><h3>Designing the gravitational field</h3><p>In an AI-first company, the role of a Principal Engineer fundamentally changes.</p><p>You are no longer the bottleneck deciding who gets to write software. You are no longer writing the implementation specs for every internal dashboard or data script.</p><p>Your job is to design the gravitational field.</p><p>When the platform foundations (the gateway, the isolated runtimes, the identity hooks, the telemetry, and the token budgets) are frictionless, builders naturally fall into the safe path. Not because compliance told them to, but because it is the fastest way to get their tool working.</p><p>Vibecoding isn’t a threat to engineering excellence. Unmanaged, un-architected sprawl is.</p><p>Build the paved path solid enough, and you get both: the velocity of a thousand creators, and the reliability of an enterprise platform.</p><h3>Conclusion: the paved path forward</h3><p>For decades, our engineering operating model assumed that writing software was slow and expensive. That assumption no longer holds. Making the most of AI is not about lowering our standards, and it is not about making every good idea wait two quarters in a queue.</p><p>If the safe path is slow, people will work around it. If the foundations are strong, teams can move fast in the open, prototypes can stay light until they matter, and real ownership kicks in when the stakes go up.</p><p>The future of engineering isn’t about controlling who gets to build. It’s about creating the foundations that allow more people to build, without compromising the standards that make software trustworthy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53c4e319ef52" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ontechnology/from-vibecoding-to-production-governing-citizen-ai-without-killing-the-vibe-53c4e319ef52">From vibecoding to production: Governing citizen AI without killing the vibe</a> was originally published in <a href="https://medium.com/ontechnology">OnTechnology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building ultra fast websites]]></title>
            <link>https://medium.com/@yananas/how-is-this-website-so-fast-f81409e2f2a5?source=rss-e41ca369b997------2</link>
            <guid isPermaLink="false">https://medium.com/p/f81409e2f2a5</guid>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[speed]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Yan Niznik]]></dc:creator>
            <pubDate>Thu, 24 Oct 2024 07:46:24 GMT</pubDate>
            <atom:updated>2024-10-24T16:13:57.794Z</atom:updated>
            <content:encoded><![CDATA[<h3>The road to website performance</h3><h3><strong>Introduction</strong></h3><p>Ever stumbled upon a website that feels like it loads before you even click? It’s McMaster-Carr’s website.</p><p><a href="https://www.mcmaster.com/">https://www.mcmaster.com/</a></p><p>They are dealing with <strong>700&#39;000 products</strong>. If you navigate on it, you might notice how unbelievably fast their website is, their user experience is fantastic too. But what’s their secret sauce? How does a company over a century old outpace modern websites that are packed with the latest tech?</p><p>Let’s dive into the fascinating world of McMaster-Carr’s web engineering marvel. We’ll explore how they combine tried-and-true techniques with smart optimizations to create a user experience that’s both blazing fast and delightfully simple.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DN9O83eFTJlkJNin.png" /><figcaption>The site may not win any awards for its appearance but it’s extremely functional and blazing fast</figcaption></figure><h3><strong>TLDR;</strong></h3><p>Here’s a summary of the optimization techniques used:</p><ul><li><a href="https://www.heavy.ai/technical-glossary/server-side-rendering">server-side rendering</a></li><li><a href="https://developer.mozilla.org/en-US/docs/Glossary/Prefetch">HTML prefetching</a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/API/History_API">optimizing page changes</a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control">aggressive caching strategies</a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers">service workers</a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/Performance/dns-prefetch">preloads and DNS prefetch</a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/Performance/Critical_rendering_path#extracting_critical_css">critical CSS in style tags</a></li><li><a href="https://medium.com/dev-glowup/how-to-increase-web-performance-with-css-image-sprites-a46e0cf784f0">optimized images</a></li><li><a href="https://web.dev/learn/performance/code-split-javascript">tailored JavaScript loading</a></li></ul><h3><strong>Server-side rendering: Back to the future</strong></h3><p>Remember the good old days when websites served HTML directly from the server? They use <strong>server-side rendering (SSR)</strong>, meaning the HTML for each page is generated on the server and sent fully formed to your browser.</p><p>Why is this a big deal? Modern websites often rely on JavaScript frameworks to build the page in your browser, which can slow things down. By serving ready-to-go HTML, McMaster-Carr leverages the browser’s innate ability to parse and render pages quickly. It’s like being handed a finished burger versus being given the ingredients to cook it yourself. And it’s great for SEO!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BJW73VjXcgirLhe2spSv-g.png" /><figcaption>The server returns complete HTML to the browser</figcaption></figure><p><strong>How you can do it:</strong></p><ul><li><strong>Choose a server-side framework:</strong> Use Node.js-based frameworks like <a href="https://nextjs.org/">Next.js</a> for React or <a href="https://nuxtjs.org/">Nuxt.js</a> for Vue to render HTML on the server.</li><li><strong>Component-based architecture:</strong> Utilize the component-based structures provided by these frameworks to efficiently build and manage your UI.</li><li><strong>Optimize server-side rendering:</strong> Leverage built-in optimizations in Next.js or Nuxt.js to ensure fast and efficient server-side rendering without excessive reliance on client-side JavaScript</li></ul><p><a href="https://www.heavy.ai/technical-glossary/server-side-rendering">Learn more about server-side rendering on MDN.</a></p><h3><strong>HTML prefetching: Psychic page loading</strong></h3><p>McMaster-Carr doesn’t just wait for you to click a link — they anticipate it. When you hover over a link, the website starts <strong>prefetching the HTML</strong> for that page. If you do click, the page appears almost instantly because, well, it’s already there!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*l1MeW0mTa94IppPAle6wDw.gif" /><figcaption>Note the new network requests when hovering links. That’s prefetching the next page!</figcaption></figure><p><strong>How you can do it:</strong></p><ul><li><strong>Use link rel prefetch:</strong> Add &lt;link rel=&quot;prefetch&quot; href=&quot;next-page.html&quot;&gt; in your HTML when a user hovers over a link.</li><li><strong>JavaScript prefetching:</strong> Use JavaScript to detect link hovers and programmatically fetch the next page’s content.</li></ul><p><a href="https://web.dev/articles/link-prefetch">Read more about prefetching on web.dev.</a></p><h3><strong>Optimizing page changes: Only what’s necessary</strong></h3><p>Instead of reloading the entire page every time, McMaster-Carr updates only the parts that change. Using techniques like pushState and shell swapping, they replace just the content that varies from page to page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wuPzDHdLmHaNKWSAl7PY2g.png" /><figcaption>Leveraging “pushState” and “Shell Swapping” to only update relevant content instead of the whole page</figcaption></figure><p><strong>How you can do it:</strong></p><ul><li><strong>Implement AJAX navigation:</strong> Use the History API (pushState, replaceState) to update the URL without a full page reload.</li><li><strong>Partial page updates:</strong> Replace only the main content container when navigating to a new page.</li></ul><p><a href="https://developer.mozilla.org/en-US/docs/Web/API/History_API">Learn about the History API on MDN</a>.</p><h3><strong>Aggressive caching strategies: Because waiting is so last season</strong></h3><p>Caching is like the memory of the internet — it remembers so you don’t have to wait. McMaster-Carr uses aggressive caching on multiple levels:</p><ul><li><strong>Content Delivery Network (CDN):</strong> They store pre-rendered HTML on servers geographically closer to you. It’s like having a mini McMaster-Carr server in your neighborhood.</li><li><strong>Service workers:</strong> These are scripts that run in your browser’s background, caching HTML and other assets for even faster subsequent loads.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HnD3GxuKYK0Hb4x-9l4_cw.png" /><figcaption>Akamai CDN is caching images and scripts for faster deliveries</figcaption></figure><p><strong>How you can do it:</strong></p><ul><li><strong>Set up a CDN:</strong> Use services like Cloudflare or <a href="https://aws.amazon.com/cloudfront/">AWS CloudFront</a> to distribute your content globally.</li><li><strong>Cache-Control headers:</strong> Configure your server to send proper caching headers (Cache-Control, ETag) for static assets.</li><li><strong>Leverage browser caching:</strong> Ensure that repeat visits load resources from the cache whenever possible.</li></ul><p><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control">Understanding caching with Cache-Control headers</a>.</p><h3><strong>Service workers: Your browser’s personal assistant</strong></h3><p>Service workers are a game-changer. They intercept network requests and serve cached content when available. McMaster-Carr uses them not just for their website but also to power their mobile apps, ensuring a consistent experience across devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gJFfrWUOqB80B_-la_dl4w.png" /><figcaption>7ms to load the page ⚡. Browser cached using Service worker!</figcaption></figure><p><strong>How you can do it:</strong></p><ul><li><strong>Register a service worker:</strong> Write a service worker script and register it in your main JavaScript file.</li><li><strong>Caching strategies:</strong> Use caching strategies like “Cache First” or “Network First” depending on your content needs.</li><li><strong>Offline support:</strong> Enable your site to function even when the user is offline by serving cached pages.</li></ul><p><a href="https://www.digitalocean.com/community/tutorials/js-service-workers">Getting started with service workers.</a></p><h3><strong>Preloads and DNS prefetch: Getting a head start</strong></h3><p>McMaster-Carr employs <strong>preloading</strong> of critical resources — like fonts and logos — so they’re ready when needed. They also use <strong>DNS prefetching</strong> to resolve domain names in advance, shaving precious milliseconds off load times.</p><p>It’s like ordering your meal before you arrive at the restaurant. By the time you sit down, the food is on its way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o4PYSKSkU4Cf6nkgrPMDmw.png" /><figcaption>Looking at the HTML, we can see DNS prefetching (in green) and assets preloading (in red)</figcaption></figure><p><strong>How you can do it:</strong></p><ul><li><strong>Preload critical assets:</strong> Use &lt;link rel=&quot;preload&quot; href=&quot;style.css&quot; as=&quot;style&quot;&gt; to preload CSS, JS, or fonts.</li><li><strong>DNS prefetch:</strong> Add &lt;link rel=&quot;dns-prefetch&quot; href=&quot;//example.com&quot;&gt; to resolve domains ahead of time.</li></ul><p><a href="https://nitropack.io/blog/post/resource-hints-performance-optimization">Understanding resource hints: Preload, prefetch, and more.</a></p><h3><strong>Critical CSS in style tags: Dressing up quickly</strong></h3><p>They embed <strong>critical CSS</strong> directly into the HTML using style tags. This allows the browser to apply essential styles immediately, preventing that awkward flash of unstyled content.</p><p>Non-critical CSS loads separately but doesn’t block the initial render. It’s the web equivalent of getting dressed in the essentials before putting on accessories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VvuLQTr5uODXOhGPuFA6PA.png" /><figcaption>No external CSS files: all the “critical” CSS (green) is loaded BEFORE the &lt;body&gt; tag (red)</figcaption></figure><p><strong>How you can do it:</strong></p><ul><li><strong>Identify critical CSS:</strong> Use tools like <a href="https://github.com/pocketjoso/penthouse">Penthouse</a> to extract above-the-fold CSS.</li><li><strong>Inline styles:</strong> Place the critical CSS inside &lt;style&gt; tags in the &lt;head&gt; section.</li><li><strong>Load remaining CSS asynchronously:</strong> Use media=&quot;print&quot; hack or rel=&quot;preload&quot; to load non-critical CSS without blocking rendering.</li></ul><p><a href="https://www.smashingmagazine.com/2015/08/understanding-critical-css/">Guide to critical CSS.</a></p><h3><strong>Optimized images: Because size matters</strong></h3><p>Images can be a significant bottleneck in web performance. McMaster-Carr:</p><ul><li><strong>Sets fixed widths and heights</strong> for images to prevent layout shifts.</li><li><strong>Uses CSS sprites</strong>, combining multiple images into one file to reduce HTTP requests.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AGH49HCbStRlATai_kMZhw.png" /><figcaption>A single HTTP call for one large image containing 17 products ! Very efficient</figcaption></figure><p>An engineer might say, “Send a single image with reasonable caching headers… and before you know it, you have reduced the number of HTTP requests to your site by a thousandfold.”</p><p><strong>How you can do it:</strong></p><ul><li><strong>Specify image dimensions:</strong> Always set the width and height attributes on &lt;img&gt; tags.</li><li><strong>Use CSS sprites:</strong> Combine small images into a single file and use CSS background-position to display the correct part.</li><li><strong>Compress images:</strong> Use image compression tools like <a href="https://imageoptim.com/">ImageOptim</a> or online services to reduce file sizes.</li></ul><p><a href="https://medium.com/dev-glowup/how-to-increase-web-performance-with-css-image-sprites-a46e0cf784f0">Optimizing images for the web.</a></p><h3><strong>Tailored JavaScript loading: Less is more</strong></h3><p>Instead of loading one giant JavaScript file, they load only what’s necessary for each page. They use older libraries like YUI (circa 2008) and jQuery, but they’ve optimized their use to avoid bloat.</p><p>As one seasoned developer noted, “Bringing in said frameworks will cost you an enormous performance penalty… But yes, without a Rails-inspired framework… perhaps tied with Mustache.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bdcvqN8xX0ZqY3rohJUPRw.png" /><figcaption>Only Javascript that is relevant to the current page is loaded in “chunks”.</figcaption></figure><p><strong>How you can do it:</strong></p><ul><li><strong>Code splitting:</strong> Use tools like Webpack to split your JavaScript into chunks loaded as needed.</li><li><strong>Lazy loading:</strong> Dynamically load scripts when they are required.</li><li><strong>Avoid unnecessary libraries:</strong> Only include libraries that are essential for your site’s functionality.</li></ul><p><a href="https://alokai.com/blog/optimizing-javascript-performance">Guide to optimizing JavaScript.</a></p><h3><strong>Old technologies meet modern needs</strong></h3><p>It’s fascinating that McMaster-Carr achieves such performance using what some might consider “old” technologies. But here’s the kicker: newer doesn’t always mean better.</p><ul><li><strong>Simplicity over complexity:</strong> They avoid overly complex frameworks that add weight without proportional benefits.</li><li><strong>Understanding the basics:</strong> By leveraging fundamental web principles, they sidestep common pitfalls of modern web development.</li></ul><h3><strong>Performance metrics: The proof is in the pudding</strong></h3><p>Metrics like <strong>Largest Contentful Paint (LCP)</strong> show how quickly the main content loads. McMaster-Carr clocks in at an impressive 174 milliseconds for LCP.</p><p>To put it in perspective, blink twice — that’s roughly the time it takes for their page to load its most significant content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xvTL6HI9Vc9GcSYeMhOAXw.png" /><figcaption>WebPageTest example on <a href="https://www.mcmaster.com/">https://www.mcmaster.com/</a></figcaption></figure><p><strong>Tools to measure performance:</strong></p><ul><li><a href="https://developer.chrome.com/docs/lighthouse/overview">Google Lighthouse</a></li><li><a href="https://www.webpagetest.org/">WebPageTest</a></li><li><a href="https://developer.chrome.com/docs/devtools/performance">Chrome DevTools Performance Tab</a></li></ul><h3><strong>User-centric design: Knowing your audience</strong></h3><p>McMaster-Carr’s users are machinists, fabricators, and industrial professionals. They might be using older devices or working in environments where flashy animations are more hindrance than help.</p><p>By focusing on speed and reliability, McMaster-Carr ensures their users can find what they need without fuss. As one user pointed out, “Their target audience… need a fast, reliable website to quickly locate products.”</p><h3><strong>Lessons learned: Why can’t every website be this fast?</strong></h3><p>So, with all these “obvious” optimizations, why aren’t more websites as fast as McMaster-Carr’s?</p><p><strong>Organizational incentives and team dynamics</strong></p><p>In many companies, large teams work on web development, often leading to bloated codebases and unnecessary complexity.</p><p>“Once you have dozens of front-end developers… it’s almost impossible to produce something non-bloated.”</p><p><strong>The allure of new technologies</strong></p><p>There’s a tendency to adopt the latest frameworks and libraries, sometimes without considering if they’re the right tool for the job. This can lead to websites that are heavy and slow.</p><p>I saw this interesting comment on reddit: “I don’t find bloated frameworks all that helpful… Many people use them for the simple fact that they don’t know any better.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gh_xYW5mrJcPb3F18IaofA.png" /></figure><p><strong>Business models and design choices</strong></p><p>Not every website has the same goals. Some rely on advertising, heavy analytics, or need to showcase rich media content, which can add weight.</p><p>However, McMaster-Carr shows that focusing on core user needs can lead to better performance and user satisfaction.</p><h3><strong>Conclusion</strong></h3><p>McMaster-Carr’s website is a masterclass in web performance and user-centric design. By combining server-side rendering, smart caching, optimized resources, and a deep understanding of their users, they’ve created a web experience that feels instant.</p><p>Studies show that for every second of delay in mobile page load times, conversions can fall by up to 20% (<a href="https://www.thinkwithgoogle.com/marketing-strategies/app-and-mobile/mobile-page-speed-conversion-data/">source</a>).</p><p>So next time you’re frustrated with a sluggish website, remember that sometimes, the best solutions aren’t the newest ones — they’re the ones that focus on the fundamentals.</p><p>As for me, I’m off to browse some industrial supplies I didn’t know I needed until now.</p><p>You might find <a href="https://www.youtube.com/watch?v=-Ln-8QM8KhQ">Wes Bos’s video</a> on McMaster-Carr’s website optimizations particularly insightful, as it delves into many of the strategies discussed here.</p><p><strong>Thanks for joining me on this deep dive into web performance. If you enjoyed this read, feel free to share it with fellow web enthusiasts!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f81409e2f2a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Capturing every Zanzibar sunrise]]></title>
            <link>https://medium.com/@yananas/capturing-every-zanzibar-sunrise-73ab7727a02a?source=rss-e41ca369b997------2</link>
            <guid isPermaLink="false">https://medium.com/p/73ab7727a02a</guid>
            <category><![CDATA[script]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[rtsp]]></category>
            <category><![CDATA[webcam]]></category>
            <category><![CDATA[zanzibar]]></category>
            <dc:creator><![CDATA[Yan Niznik]]></dc:creator>
            <pubDate>Tue, 13 Feb 2024 08:31:39 GMT</pubDate>
            <atom:updated>2025-08-03T10:01:24.217Z</atom:updated>
            <content:encoded><![CDATA[<p>TLDR: A script is fetching sunrise time, triggering a camera, uploading a timelapse to a server every day and embedding it into a website for public viewing.</p><p>See it live here! <a href="https://www.whitesandvillas.com/en/zanzibar">https://www.whitesandvillas.com/</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F910147676%3Fapp_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F910147676&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F1793965972-659c9e033a6d406ca99e941da975d7ef8e6fafd187a6f57d0fcd4db8483580b8-d_960&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1024" height="576" frameborder="0" scrolling="no"><a href="https://medium.com/media/dd8eef40cbef9165b117ba2ce917dcf1/href">https://medium.com/media/dd8eef40cbef9165b117ba2ce917dcf1/href</a></iframe><h3>Looking at the horizon in pixels</h3><p>Although not portrayed in <a href="https://metalgear.fandom.com/wiki/Zanzibar_Land">Metal Gear Solid 1</a>, Zanzibar has some of the most beautiful sunrise I’ve ever seen. Why not setup a camera to capture them forever in a bucket of data and share them around you say? Yes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UiFQq9mUHRYze6oDRExSEQ.jpeg" /><figcaption>6.24am, Paje, Zanzibar</figcaption></figure><p><strong>What you’ll need:</strong></p><ul><li>RTSP enabled Camera (I used a <a href="https://dl.ui.com/ds/uvc-g3-bullet_ds.pdf">Unifi G3 Bullet</a>)</li><li>A small Linux server (<a href="https://www.hetzner.com/cloud/">Hetzner</a> has great prices, I used a CX11– 2GB Ram @ EUR ˜4/month)</li><li>An Amazon S3 Bucket</li><li>(optional) A firewall to whitelist IPs and forward ports to the camera.</li></ul><p><strong>Skills required:</strong></p><ul><li>SSH</li><li>Bash</li><li>AWS S3 / IAM</li><li>Will to learn <a href="https://ffmpeg.org/">ffmpeg</a> basics</li><li>Time: about 4 hours.</li></ul><p>The goal is to capture the sunrise every morning from your RTSP-powered camera and saving it into a file on a server to display on a website.</p><h3>General approach</h3><ol><li>Install a camera high-up, looking east</li><li>Determine sunrise time</li><li>Capture the sunrise in a video</li><li>Serve the video publicly</li><li>Schedule it daily</li><li>Embed it in a website</li></ol><h3>Installing the camera</h3><p>While on a trip to Zanzibar, I had an old <a href="https://dl.ui.com/ds/uvc-g3-bullet_ds.pdf">G3 Bullet camera</a> laying around.</p><p>I tested it before installing it high up — it was still working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ldFp5TiFZzGdKI2XizE0A.png" /><figcaption>ain’t nobody got time for clean cabling</figcaption></figure><p>Found a great spot next to a floodlight with easy access to electricity. Thank you <a href="http://zanzibarkiteparadise.com/">Zanzibar Kite Paradise</a>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GKu7VguWXYyNsOSaecTh6w.png" /></figure><p>After it was installed, I was able to access it from my local network to activate <a href="https://en.wikipedia.org/wiki/Real-Time_Streaming_Protocol">RTSP streaming</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TkODHHOLahzwR6Bi1iTg1Q.png" /><figcaption>Activating RTSP for direct streaming</figcaption></figure><p>Next up, I had to create a local Firewall rule to <strong>allow</strong> TCP connections to the camera and <strong>forward</strong> incoming request for port 7441 to it.</p><p>Testing the stream in VLC from a distant computer worked! Now anybody with the correct URL can stream it continously (at the expense of african bandwith, which can be quite expensive. I’ll make another article about I went around this with <a href="https://docs.datarhei.com/restreamer/getting-started/quick-start">Restreamer</a>).</p><p>Watch it live here: <a href="https://www.zanzibarkiteparadise.com/webcam">https://www.zanzibarkiteparadise.com/webcam</a></p><p>Now let’s add some automation to capture the sunrise daily into a video file.</p><h3>Rent a server!</h3><p>We don’t want to run anything of our machine, do we? Better rent a small linux server. I used <a href="https://www.hetzner.com/cloud/"><strong>HETZNER</strong></a> which had exactly what I needed: a shared vCPU, 2 GB Ram and 20GB of disk space for the small price of EUR ˜4/month. It is located in Europe.</p><h3>Determining the sunrise time</h3><p>Since sunrise times change daily, I needed a way to dynamically determine the correct time each day.</p><p>I used the public <a href="https://api.sunrisesunset.io/json?lat=38.907192&amp;lng=-77.036873">Sunrise-Sunset API</a> to fetch the sunrise time.</p><p>A simple bash script (<em>initiate_sunrise.sh</em>) will fetch the day’s optimal time to trigger the automation (<em>ffmpeg_capture_script.sh</em>).</p><pre>#!/bin/bash<br># Filename: initiate_sunrise.sh<br><br># Location for Zanzibar<br>LAT=&quot;-6.1357&quot;<br>LNG=&quot;39.3621&quot;<br><br># Fetch sunrise time for Zanzibar from the API<br>RESPONSE=$(curl -s &quot;https://api.sunrisesunset.io/json?lat=$LAT&amp;lng=$LNG&quot;)<br>SUNRISE=$(echo $RESPONSE | jq -r &#39;.results.sunrise&#39;)<br><br>## SUNRISE returns = 06:29<br><br># Starts the video capturing script at sunrise<br>echo &quot;$HOME/ffmpeg_capture_script.sh&quot; | at $SUNRISE</pre><p>Note: My server is in Europe but the sunrise api is returning data in <a href="https://www.timeanddate.com/time/zones/eat">EAT</a> (UTC+3), so a small correction was needed to adjust the sunrise time to CET.</p><h3>Video capturing script</h3><p>Who has time to watch a 20min sunrise video? Instead, let’s make a 20 second timelapse.</p><p>Using a bash script, we will use <a href="https://ffmpeg.org/">ffmpeg</a> to read the camera stream and screenshot it every 5s for 20min.</p><pre>#!/bin/bash<br># Filename: ffmpeg_capture_script.sh<br><br># Cam RTSP URL<br>CAM_URL=&quot;&lt;public RTSP URL&gt;&quot;<br><br># Capture images for 20 minutes<br>ffmpeg -t 00:20:00 -i $CAM_URL -vf fps=1/5 &quot;$SAVE_PATH/img_%03d.jpg&quot;</pre><p>Bingo! I was in possession of a bunch of images. Now let’s create a timelapse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HlqF_jXeMVbOO_m2Q_x4AA.png" /><figcaption>one image every 5 seconds, for 20min</figcaption></figure><p><em>ffmpeg</em> can stitch pictures together to create a video. I will spare you the parameter explanation but there is a great explanation on <a href="https://medium.com/@sekhar.rahul/creating-a-time-lapse-video-on-the-command-line-with-ffmpeg-1a7566caf877">this article</a> by <a href="https://medium.com/u/f4a6857fce69">Rahul Sekhar</a>.</p><pre># Create A 20-second video at 30 fps requires 600 frames (30 fps * 20 s)<br>ffmpeg -framerate 30 -pattern_type glob -i &quot;/*.jpg&quot; -c:v libx264 -pix_fmt yuv420p -r 30 -vframes 600 &quot;/timelapse.mp4&quot;</pre><p>Et voila! This script outputs a <em>timelapse.mp4</em> file.</p><p>Time to upload it somewhere public, so that a website can embed it.</p><h3>Serve the video</h3><p>What better place to host the video file than an AWS S3 Bucket? It has a <a href="https://aws.amazon.com/cli/">CLI</a> which makes it very easy to setup.</p><pre>#!/bin/bash<br><br># Upload to S3<br>aws s3 cp &quot;timelapse.mp4&quot; &quot;s3://&lt;BUCKET_NAME&gt;/timelapse.mp4&quot;</pre><p>To make sure the server had the correct AWS rights to upload the file to the S3 Bucket, I followed <a href="https://jananadiw.medium.com/aws-s3-bucket-set-up-guide-for-uploading-files-620ac3163c9f">this article</a>.</p><p>I can now access the video from it’s public URL in the browser! Now let’s make sure the script runs daily.</p><h3>Schedule a daily script</h3><p>Using <a href="https://en.wikipedia.org/wiki/Cron"><strong>cron</strong></a> on the server, I can automatically run the script every day</p><pre># crontab -e<br><br>0 1 * * * $HOME/initiate_sunrise.sh</pre><p>This command runs the script at 1:00 AM every day of the month, every month.</p><p>Et Voila!</p><h3>Next steps</h3><ul><li><strong>Make a “sunrise” frame</strong> with a raspberry pi, showing today’s sunrise in a beautiful and fashionable way.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dcyCl_tRv3jmPSxa" /></figure><ul><li><strong>Make a reverse-timelapse</strong>: a 1 hour slow video of the sunrise that will serve as an Aerial background, similar to Apple’s Sonoma moving backgrounds.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*3PUtJcd-9xIKmHTY.gif" /><figcaption>Sunsets will look great on a Macbook screensaver</figcaption></figure><p>And this is how I’m capturing all Zanzibar sunrises in an S3 bucket.</p><p>Thank you for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73ab7727a02a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ensuring everyone in the world can access Science Labs — A UX Case Study]]></title>
            <link>https://medium.com/@yananas/ensuring-everyone-in-the-world-can-access-science-labs-a-ux-case-study-6c496444d0f4?source=rss-e41ca369b997------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c496444d0f4</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[ui]]></category>
            <dc:creator><![CDATA[Yan Niznik]]></dc:creator>
            <pubDate>Mon, 09 Aug 2021 13:30:43 GMT</pubDate>
            <atom:updated>2022-01-24T16:18:29.914Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MB21z12g8SsRTw9Z.png" /></figure><p>In this case study, we’ll be sharing the process that went into the redesign of Labster’s user-facing Web application, which provides access to Virtual Science Laboratories to students all over the world.</p><h3>Haven’t heard of Labster ever!</h3><p>Let’s start with an introduction to the product.</p><p>In the past years, many students were prevented from physically attending school &amp; university science labs, not to mention that in normal times having such an infrastructure is costly &amp; requires certifications.</p><p><a href="https://www.labster.com/"><strong>Labster</strong></a> provides virtual science labs in an immersive 3D experience via a Browser. <strong>Students can learn and interact with fully virtual science labs from anywhere in the world </strong>on their computers.</p><p>Teachers can see their student&#39;s quiz’s and grade performance, using Labster as an enhancement to their educational toolbox</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FNUpZazOltIy2xadHHb%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2FNUpZazOltIy2xadHHb&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2FNUpZazOltIy2xadHHb%2Fgiphy.gif%3Fcid%3D790b7611fef16b07cc8f29aea230b74965d7aa320c04f178%26rid%3Dgiphy.gif%26ct%3Dg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/6a21e325871ac09784cac3d621a81173/href">https://medium.com/media/6a21e325871ac09784cac3d621a81173/href</a></iframe><p>Imagine the possibilities: a student can shrink to the size of atoms, reposition them, shrink back, mix different acids and observe their reaction, do an experiment in space, etc…</p><p>The labs are being used by California State University, Harvard, Gwinnett Technical College, MIT, and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*UPDaesMuCE1J5ZjayFHZuA.jpeg" /><figcaption>University students using Labster</figcaption></figure><p>Check out our co-founder’s <a href="https://www.youtube.com/watch?v=iF5-aDJOr6U">TED Talk</a> for more information.</p><h3>Problem Statement</h3><p>Our current web app to access the virtual science labs is limited in features and is not efficiently scalable (technically) against the growing number of teachers &amp; students using our labs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NhvWqgk8XYkvV1vcWC1Mjg.png" /><figcaption>Labster Direct — current way to select and play Virtual Labs</figcaption></figure><p>We need to ensure that we have a product that is useful, easy to use, and desirable.</p><h3>Our Process</h3><ol><li>User Research</li><li>Understanding the problem(s)</li><li>Visual design, Prototyping, and Testing</li><li>Creating a Design System</li><li>Iterations &amp; going forward</li></ol><h3>What can a Teacher do using Labster?</h3><ul><li>Login / Logout</li><li>Create a Course</li><li>Add / Remove Science Labs</li><li>Schedule Science Labs</li><li>Play a Science Lab</li><li>Invite Students</li><li>See Students activities &amp; grades</li></ul><p>Sounds awesome. Doesn’t it?</p><h3>Let’s dive in</h3><h4>Setting Goals</h4><p>As Labster is growing and implementing a new market strategy, we need to make sure our products are top-notch and our users are happy.</p><p>Different departments have different issues, visions, and needs. To say a few: our customer success team has too many tickets, users are demanding new features, etc…</p><p>In the end, it comes down to:</p><ul><li><em>Business goal: </em>To scale &amp; reduce churn rate.</li><li><em>User goal: </em>To improve the entire experience of using Labster.</li></ul><h4>User Research</h4><p>In the UX Process, it is important to know who are our users and what their needs are.</p><p>We reached out to our current users, doing field research and conducting over 40 user interviews for about ~20 hours of video calls.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FE87jjnSCANThe%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fnight-thursday-ritual-E87jjnSCANThe&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExbG1jNnh2aXJxcXMwZjg1am00Ym4yMnozdDJxYnJ1dG9rOTdtNmRscSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FE87jjnSCANThe%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="183" frameborder="0" scrolling="no"><a href="https://medium.com/media/2829b39e362565b37204590bb5d1408b/href">https://medium.com/media/2829b39e362565b37204590bb5d1408b/href</a></iframe><p>We found out the causes of frustrations and limitations of our current web application:</p><ul><li>Difficulties to share Science Labs with Students</li><li>The need for more control over the Science Labs (scheduling, etc..)</li><li>Difficulties in deep-diving into grades</li><li>etc…</li></ul><p>and wrote all these issues &amp; needs on cards.</p><h4>Personas</h4><p>Creating User cards will help us to step out of ourselves. It helps us to recognize that different people have different needs and expectations.</p><p>We identified our <strong>user groups </strong>and we aligned company-wide on the below fictional <em>Personas </em>(based on the above research):</p><ul><li>The Tech-savvy teacher</li><li>The Traditional Professor</li><li>The Super Busy educator</li><li>The Careless one</li><li>The Super teacher</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HTp1h83H7sN4sZdD.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o3CJWv8SCR3L3GI9.png" /><figcaption>Example of user-group cards</figcaption></figure><p>Thanks to personas, we’ll be able to work more mindfully by keeping the real user at the heart of everything we do.</p><h4>Creating an opportunity tree</h4><ul><li>We know the struggles of our users on the current platform.</li><li>We know which features our users would like to have (<em>opportunities</em>).</li></ul><p>Creating an opportunity tree helps to overcome many of the common pitfalls that occur during the product discovery phase by explicitly mapping out the <em>opportunities</em> and generating multiple ideas on how to achieve them.</p><p>After a few workshops, we identified all the <em>opportunities</em> we want to cover:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wjW21GrzlN5gcvkEH8SVqA.png" /><figcaption>Laying down opportunities</figcaption></figure><p>This opportunity tree is used as a <strong>guide</strong> and <strong>reference</strong> when validating future work.</p><h3>Solution</h3><p>For technical reasons, we decided to <strong>re-create a new web application</strong> from scratch using the latest tech stack. This means a whole new user-flows &amp; user screens!</p><h4>New Problem Statement</h4><p>How can we enable our future customers to be empowered to learn &amp; educate in a seamless way which celebrates online learning?</p><h3>Creating a Design System</h3><p>Before starting to prototype our new web application, we have to acknowledge our current UI gaps to improve them.</p><p>Labster is a multi-project company. There’s the website, the web application, the science labs, the mobile application…</p><p>Based on our UX research, we understood that visual inconsistencies were causing an increase in the cognitive load of our users.</p><p>Take these two dialogs between the Website and the web app as an example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kgprXDeycOt1kYdc.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o50-SzQ2ouDrj1OS.png" /><figcaption>Differences styles between the website and the web application</figcaption></figure><p>Creating a <strong>Design System</strong> will provide all the necessary information for developers to create consistent views and avoid these situations.</p><p>Below is a small portion of what we came up with, using <a href="https://www.figma.com/"><strong>Figma</strong></a><strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*U2LNZpah91vEjWVu.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AwT036_5n7BCSenw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Se7hYASiYvxkEDtF.jpeg" /><figcaption>A design system ensures consistency across projects</figcaption></figure><p>Then, using the <a href="https://atomicdesign.bradfrost.com/chapter-2/">Atomic Design principles</a>, we created atoms, molecules, organisms, templates &amp; pages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*l9TD4m0BioRcrALy.png" /><figcaption>Example of an ‘Atomic Design’ organism</figcaption></figure><p>Now that we have strong UI guidelines, the next step will be much easier.</p><h3>Prototyping</h3><p>It is now time to create our first usable designs so that the developer team finally understands what all of the above was about!</p><p>We’ll fast-track through this process here to keep our readers interested.</p><p>After a few days, we were able to come up with clean, consistent prototypes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SGz33Xw_p3CsV1o5.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cw59QVtAFSom0Nkl.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FZ_A7Vvy4y4uG_Zf.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S6GhBVkU6Aa3Wq2P.jpeg" /><figcaption>Consistency across screens! Yay!</figcaption></figure><p>Delivering these designs to our developers is now a piece of cake.</p><h3>User-centric thinking</h3><p>Everything we produce is biased in some way. That’s why we like to <strong>ideate</strong> and <strong>test</strong> everything to <strong>validate</strong> our assumptions.</p><p>We chose to do Usability Testing: an observational methodology to uncover problems and opportunities within a design.</p><p>In short, there are three main elements within Usability Testing.</p><ul><li>A facilitator to guide the participant(s)</li><li>Tasks the participants will complete</li><li>5–9+ participants willing to complete the pre-prepared tasks.</li></ul><p>We’ve been using <a href="https://www.userzoom.com/"><strong>UserZoom</strong></a> to help with this process.</p><h3>Validating or Rejecting Assumptions</h3><p>We were surprised to hear from users that some of the assumptions we’ve made were incorrect.</p><p>For example, a big section of the new application was to allow users to create <strong>Courses and Sub-Courses</strong>. We had an assumption based on previous experience that teachers really need Sub-Courses. We conducted usability testing to define that:</p><ul><li>Users can use what we prototyped</li><li>Sub-classes are actually an interest</li></ul><p>What we found out is that teachers do not want sub-classes, and we scrapped that idea.</p><h3>Going Forward in UX processes</h3><p>UI/UX is a constantly evolving ecosystem and we have to keep monitoring our user sessions for frustrations, dead-clicks, and churn rates.</p><p>We are using several metric tools to continuously gather analytical data so that the UX team can gather quality feedback to the product owner for future updates.</p><p><a href="https://www.fullstory.com/"><strong>Fullstory</strong></a>, for example, tells us about frustrating sessions, dead clicks, etc…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*yjs1pJLRT-BeCG0up5ohOA.png" /><figcaption>Fullstory analytics to understand user frustration</figcaption></figure><p>As our product is growing, so are the requirements. We’ve set clear UI guidelines for designing, researching, testing &amp; prototyping, and our team is confident that we can deliver the highest quality of the product.</p><p>The below work was done &amp; validated in a few days. It was developed just as fast thanks to re-using the same components in code, based on the design system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-S72t1EUhHcGZ3px.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lhgl7p1SrlosDNSN.png" /><figcaption>Design outputs using Design System + Figma</figcaption></figure><h3>Conclusion</h3><p>When redesigning an application from scratch, it is important to set up<strong> a strong foundation</strong> (duh) by following known frameworks such as Design Thinking.</p><ul><li>Set up precise responsibilities for all the design processes and clearly define who gives the last approval.</li><li>Don’t include too many people in the re-design to avoid spending 80% of your time convincing all the stakeholders. Work in a small, fast-moving team of experts.</li><li>Iterate. Research. Test. Don’t expect to get it right the first time.</li><li>Define which metrics to gather and evaluate, in order to assess if your new design is successful.</li><li>Think about accessibility, internationalization, screen sizes &amp; scalability.</li></ul><p>That’s it for this story, thank you for following it through!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c496444d0f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>