<?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 Sundayonah on Medium]]></title>
        <description><![CDATA[Stories by Sundayonah on Medium]]></description>
        <link>https://medium.com/@sundayonah94?source=rss-25895d2db55f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FKX7QT8UDKk4KmwRpfGuBw.jpeg</url>
            <title>Stories by Sundayonah on Medium</title>
            <link>https://medium.com/@sundayonah94?source=rss-25895d2db55f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:40:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sundayonah94/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[Vercel Ship SF 2026: Agents Need Real Infrastructure, and Developers Are Still the Point]]></title>
            <link>https://medium.com/@sundayonah94/vercel-ship-sf-2026-agents-need-real-infrastructure-and-developers-are-still-the-point-7ae4fba8fa9e?source=rss-25895d2db55f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ae4fba8fa9e</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[vercel]]></category>
            <category><![CDATA[webdev]]></category>
            <dc:creator><![CDATA[Sundayonah]]></dc:creator>
            <pubDate>Thu, 22 Oct 2026 23:45:07 GMT</pubDate>
            <atom:updated>2026-10-23T04:55:34.021Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This is a recap built from Vercel’s published event materials, its changelog and the session program. Figures marked “according to Vercel” are the company’s own numbers and I haven’t verified them independently.</em></p><p>On October 15, 2026, Vercel held Ship SF at the Palace of Fine Arts in San Francisco. According to Vercel, more than 2,700 developers, founders and technical leaders attended. It was the last stop in a five-city Ship series that also visited London, Berlin, New York and Sydney, and Vercel says the whole series drew over 10,000 people.</p><p>Agents were the subject of nearly every session. But the most useful lesson wasn’t about chatbots. It was how much ordinary engineering sits underneath an agent people actually rely on: storage, background workers, identity, budgets and security. Here is what was announced, who spoke, and what it adds up to.</p><h3>The big question: will AI replace developers?</h3><p>Guillermo Rauch, Vercel’s founder and CEO, opened by taking on the fear that keeps coming up. He answered with data from Vercel’s own platform. According to Vercel, over the last 12 months:</p><ul><li>The number of developers on the platform tripled.</li><li>The number of new projects they ship doubled.</li><li>Deployments triggered by agents grew 28 times over.</li></ul><p>His argument was that AI hasn’t pushed developers out. More people are building, they’re shipping more, and agents are doing a growing share of the deploying. He explained Vercel’s focus on developers by saying they are what separates “a world full of slop and a world full of software worth using.”</p><p>He also sketched where he thinks software is heading: interfaces generated around whatever task you’re doing, agents that find and fix bugs on their own, and products that improve from what they learn in production. In his view, real-world production data is what turns software into a feedback loop.</p><h3>What Vercel means by “agentic infrastructure”</h3><p>Vercel describes its platform as serving agents in three ways:</p><ol><li><strong>A place to build and run your own apps and agents</strong>, with the production tools included.</li><li><strong>A place where coding agents deploy.</strong> Vercel says it exposes more than 200 CLI commands so an agent can operate the platform itself.</li><li><strong>A platform that is itself run by agents.</strong> Instead of only alerting you to a problem, Vercel’s agents investigate it and open a pull request.</li></ol><p>Underneath sits what the company calls its Agent Stack:</p><p>Layer Role AI Gateway Reach many models through a single API Workflows Durable steps that can run for a long time Sandbox Isolated environments for running code Storage Files and data that outlast a single run Fluid Compute Capacity that scales with the work Global Network Fast delivery everywhere</p><h3>Backends and background work: Daemons</h3><p>Vercel’s CTO, Malte Ubl, argued that Vercel is no longer only a home for frontends. In his keynote he showed APIs, backend services, containers, MCP servers and background workers all running on the platform. He also announced that Python support is now generally available, covering FastAPI, Flask and Django with standard CPython, PyPI packages and uv. Combined with Vercel Services, a frontend and its backend can deploy together and be previewed as one app.</p><p>The announcement that stood out most was <strong>Vercel Daemons</strong>, now in public beta. A daemon is a process that simply stays alive. You deploy your code or container image, say how many instances you want, and Vercel keeps that number running, replacing any that crash. Vercel’s changelog lists the kinds of work this suits:</p><ul><li>Queue consumers built on tools like Celery, BullMQ, RabbitMQ or Kafka</li><li>Temporal or Cadence workers that long-poll for tasks</li><li>Self-hosted CI runners that pull jobs instead of accepting inbound connections</li></ul><p>They run as containers on Fluid Compute, inside the same project as your app, and they don’t need an HTTP server.</p><p>This matters because serverless was always an awkward fit for work that never stops, and agents create a lot of that kind of work. Daemons fill that gap.</p><h3>Persistent agent work: Drives, eve and Connect</h3><p>Tom Occhino, Vercel’s chief product officer, covered the Agent Stack and its newest parts.</p><p><strong>Vercel Drives</strong> (generally available for Sandbox) address a real limitation. A sandbox is temporary, but some agent jobs aren’t. Research and large refactors can take days. A Drive keeps the agent’s code, data and notes in place between runs, so you can swap the runtime or compute underneath without starting over. Imagine an agent halfway through a repository-wide refactor: its progress file and edits are still there even after the sandbox that made them is gone.</p><p><strong>eve</strong> is Vercel’s open-source agent framework. The simplest comparison is that eve is to agents what Next.js is to React: a framework with sensible defaults so you don’t assemble everything yourself. New this time are memory that persists across sessions, installable extensions for tools and skills, and the ability to create and deploy an agent from the Vercel dashboard.</p><p><strong>Vercel Connect</strong> is now generally available, with more than 1,000 connectors. It gives agents scoped access to outside tools and data. New in public beta is <strong>MCP Events</strong>, which lets an agent react when an MCP server sends a webhook, such as a new message, a newly opened issue or feedback on a document. Connect manages the subscriptions and renewals, and delivers events securely.</p><p><strong>AI Gateway</strong> gained spending controls. You can set budgets per API key, project, person or team, restrict inference to the United States, and turn on Zero Data Retention so model providers don’t keep your prompts or responses. For anyone who has watched an agent loop run up a bill, budgets are one of the most practical announcements of the day.</p><p>Vercel also introduced <strong>Token Pass</strong> in early access for Pro teams: $80 of GLM 5.3 and Kimi K3 credit for $30 a month, with more models planned.</p><h3>Vercel runs on its own agents</h3><p>Vercel presented itself as its own customer. Matt Lewis from Vercel and Mala Neti from Slack explained how Vercel built “v,” its internal agent. It lives in Slack, uses Vercel’s own data, reaches tools like Snowflake, GitHub and Linear through Connect, and requires company sign-in through Passport.</p><p>The number most people repeated was about support. Vercel reports that its support agent, Vertex, handles about 91% of support queries. In a session at the London event, Vercel’s team said the agent automates 91% of tickets and saves roughly 5,000 engineer-hours a month. These are company-reported figures, but they show how deeply Vercel is putting agents into everyday operations.</p><h3>Enterprise: governing what everyone builds</h3><p>Jeanne Grosser, Vercel’s COO, described a problem every large company is about to face. When engineers, marketers, analysts and salespeople can all build software, someone has to decide who can ship, who can open an app, what systems an agent may touch, and how much it can spend.</p><p>Two announcements addressed that:</p><ul><li><strong>Bring Your Own Cloud on AWS</strong> is generally available. Your application functions run inside your own AWS account, within your own security and network boundaries.</li><li><strong>Enterprise-Managed Authorization for Vercel Connect</strong> is in public beta. Once a supported service and your identity provider are set up, agents can act for employees without each person approving every connection one by one.</li></ul><p><strong>Passport</strong>, which places internal apps and agents behind a company’s identity provider, rounds out the picture. A session from Mercor showed what this looks like in practice. Aaron Brown and Arty Vohmincevs of Mercor explained how hundreds of employees build internal tools without losing control of access or spending: apps inherit a managed identity layer, and AI Gateway gives the team visibility into model usage and budgets.</p><h3>Voices from other companies</h3><p>The program mixed Vercel’s own launches with talks from other teams:</p><ul><li><strong>Slack and Notion.</strong> Beyond the Slack session on “v,” Sarah Sachs of Notion joined Malte Ubl to discuss how AI is changing the software teams build and what context agents need to do useful work.</li><li><strong>Meta.</strong> Prashant Ratanchandani of Meta Superintelligence Labs talked about building products, including Muse, on Vercel. The day before Ship, Vercel and Meta co-hosted a hackathon called Fast Forward, supported by Shopify and Neon, with tracks for long-running agents, multimodal apps and VR.</li><li><strong>Anthropic.</strong> Katelyn Lesse covered what comes after an agent is live: keeping it fast and improving it across thousands of production sessions with Claude Managed Agents on Vercel.</li><li><strong>SAP.</strong> Philip Miseldine and Sophia Levens showed generative interfaces built with v0, eve and json-render. Their emphasis was consistent design and meeting government requirements, a sign that generated UI can work in regulated settings.</li><li><strong>Supabase.</strong> Gurjeet Bhangu of Supabase described the company as “the Vercel backend partner.” Through the Vercel Marketplace, an agent app can be connected to Postgres, auth and storage in a few steps.</li><li><strong>Adapta.</strong> Max Peters described the router behind Brazil’s largest generative AI platform. Built on AI Gateway, it offers 168 models through one integration, picks a model in under 200 milliseconds, and handles more than three million requests a day with automatic failover and per-user budgets.</li><li><strong>Ora.</strong> Assaf Elovic showed how his team tests whether websites work for agents by sending real agents to sign up, integrate and pay, then tracing each step.</li><li><strong>Others.</strong> AWS covered production patterns for agents, ClickHouse spoke about how open source earns developer trust, and a “Fast AI” panel with the CEOs of TypeSafe AI and Cerebras discussed speed, reliability and cost.</li></ul><h3>Shopify and “The Third Customer”</h3><p>The day ended with Guillermo Rauch in conversation with Shopify CEO Tobi Lütke, under the title “The Third Customer.” The idea is building for a world where agents research, compare and buy on people’s behalf.</p><p>A few of Tobi’s points:</p><ul><li><strong>Project-based shopping.</strong> Agents can help people follow through on things they never had time for, like planning a Halloween setup or a 3D-printing project with their kids and getting everything delivered before the weekend.</li><li><strong>Good storefronts survive.</strong> Distinctive, well-made shopping experiences can still grow. The ones in trouble are the undifferentiated ones.</li><li><strong>Verification engineering.</strong> Shopify’s engineers increasingly build test harnesses and acceptance checks that make AI-written changes verifiable. One example is a rewrite of the storefront renderer from Ruby to Rust, where outputs are compared byte for byte before switching over. Deleting code is celebrated too.</li><li><strong>A tip for builders.</strong> Explore Shopify’s catalog APIs, which open up products from Shopify merchants, so you can build discovery and curation tools without first recruiting both sides of a marketplace.</li></ul><h3>What I take from this</h3><ol><li><strong>Agents are turning into ordinary software.</strong> Like any production system, they need hosting, storage, queues, identity and cost controls. Drives, Daemons, Connect and Passport are Vercel’s answer to those needs.</li><li><strong>Security and cost are product features now.</strong> Short-lived credentials, enterprise authorization, bring-your-own-cloud, spend budgets and zero data retention all appeared in one program.</li><li><strong>Developers aren’t disappearing.</strong> Vercel’s growth numbers point to the work shifting toward directing, verifying and shipping. Tobi Lütke’s “verification engineer” label fits that shift.</li><li><strong>Your next customer may be an agent.</strong> The commerce and agent-testing sessions both pointed the same way: design products so agents can use them, with clear APIs, scoped access and good documentation.</li></ol><p>If you build on any platform, the practical question to take away is this: what happens to your agent’s work when the process running it stops? The announcements at Ship SF were mostly different answers to that question.</p><p><strong>Sources and further reading</strong></p><ul><li><a href="https://vercel.com/blog/vercel-ship-2026-recap">Vercel Ship 2026 recap</a></li><li><a href="https://vercel.com/changelog/vercel-daemons-is-now-in-public-beta">Vercel Daemons public beta</a></li><li><a href="https://vercel.com/changelog/vercel-drives-is-now-generally-available">Vercel Drives generally available</a></li><li><a href="https://vercel.com/changelog/mcp-events-support-in-vercel-connect-is-now-in-public-beta">MCP Events support in Vercel Connect</a></li><li><a href="https://vercel.com/changelog/bring-your-own-cloud-on-aws-is-now-generally-available">Bring Your Own Cloud on AWS generally available</a></li><li><a href="https://vercel.com/changelog/vercel-connect-adds-enterprise-managed-authorization">Enterprise-Managed Authorization for Vercel Connect</a></li></ul><p><em>I’m an independent writer and this post is not affiliated with or sponsored by Vercel.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ae4fba8fa9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Python After a Few Years of Go: What Surprised Me So Far]]></title>
            <link>https://medium.com/@sundayonah94/learning-python-after-a-few-years-of-go-what-surprised-me-so-far-cb1dd3570b54?source=rss-25895d2db55f------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb1dd3570b54</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[biginner]]></category>
            <category><![CDATA[go]]></category>
            <dc:creator><![CDATA[Sundayonah]]></dc:creator>
            <pubDate>Sat, 17 Oct 2026 09:02:28 GMT</pubDate>
            <atom:updated>2026-10-17T09:02:28.040Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*XCeLygzMf99P_oyugEZfVA.png" /></figure><p>I’ve been writing <strong>Go</strong> for a few years: explicit types, go mod, goroutines, if err != nil, and the comfort of the compiler saying &quot;no&quot; before deploy. Recently I started learning <strong>Python</strong>.</p><p>I’m new to Python, but not new to programming. So this isn’t a generic language comparison, and it isn’t written by a Python expert. It’s what <strong>I’ve actually discovered so far</strong> as a Go-heavy brain meeting a dynamic, batteries-included ecosystem.</p><p>If you’re an experienced Pythonista and I got something wrong, please tell me in the comments. If you’re coming from Go too, I hope this saves you a few surprises.</p><h3>What stayed familiar</h3><p>Some things translated almost one-to-one.</p><ul><li><strong>Modules and imports.</strong> Files and packages still organize code. You still manage dependencies, just with a <strong>virtual environment</strong> and pyproject.toml or requirements.txt instead of go.mod.</li><li><strong>Maps and iteration.</strong> Python dicts and for key, value in ... feel like Go maps and range, with less typing and different missing-key behavior (.get() vs (v, ok)).</li><li><strong>Functions as values.</strong> Closures and callbacks exist in both. In Python they show up everywhere (decorators, key= arguments, lambdas) more than in typical Go style.</li><li><strong>Testing culture.</strong> Table-driven tests have a cousin in <strong>pytest</strong> parametrization. The habit of “many cases, one function” carries over well.</li></ul><h3>What surprised me</h3><h3>1. Variables aren’t typed slots, they’re names on objects</h3><p>In Go, var x int and x := 10 attach a type to a variable. In Python, x = 10 binds a <strong>name</strong> to an <strong>object</strong>. Reassigning x = &quot;hello&quot; is legal: the name moved, and the old int may still exist elsewhere.</p><p>That one idea explains a lot of “why did it do that?” moments. Assignment doesn’t copy a struct-like value by default. It copies a <strong>reference</strong>, so mutating a list or dict through one name affects every name pointing at that object.</p><p><strong>Discovery:</strong> I stopped looking for type declarations on every line and started asking: <em>what object does this name point to, and is it mutable?</em></p><h3>2. There is no compile-time safety net unless you build one</h3><p>Go trained me to trust the compiler. Python runs first and complains later.</p><p><strong>Type hints</strong> (def f(x: int) -&gt; str:) don&#39;t change runtime behavior, but running <strong>mypy</strong> or <strong>Pyright</strong> in CI gives you a slice of Go-like checking.</p><p><strong>Discovery:</strong> Professional Python often means <strong>type hints + a linter + tests</strong>, not “dynamic means anything goes.”</p><h3>3. “No pointers” doesn’t mean “no aliasing”</h3><p>For immutable things (int, str, tuple), behavior often <em>looks</em> like pass-by-value. For lists, dicts, and custom objects, it&#39;s <strong>shared mutation</strong>.</p><p>When I need a copy, I have to <strong>ask</strong> for one (list.copy(), copy.deepcopy()). Go made this obvious with * and &amp;. Python hides it behind semantics.</p><p>This leads straight into the first gotcha I ran into.</p><h4>Gotcha: mutable default arguments</h4><pre>def add_item(item, items=[]):<br>    items.append(item)<br>    return items</pre><pre>print(add_item(&quot;a&quot;))  # [&#39;a&#39;]<br>print(add_item(&quot;b&quot;))  # [&#39;a&#39;, &#39;b&#39;]  &lt;- surprise!</pre><p>The default list is created <strong>once</strong>, when the function is defined, and shared across calls. The usual fix:</p><pre>def add_item(item, items=None):<br>    if items is None:<br>        items = []<br>    items.append(item)<br>    return items</pre><h4>Gotcha: == vs is</h4><pre>a = [1, 2]<br>b = [1, 2]</pre><pre>print(a == b)  # True  (same value)<br>print(a is b)  # False (different objects)</pre><p>Use == to compare values and is to check identity. The main place you want is is x is None.</p><h3>4. Error handling is a culture shift</h3><p>My Go reflex:</p><pre>if err != nil {<br>	return fmt.Errorf(&quot;loading config: %w&quot;, err)<br>}</pre><p>Python’s default is <strong>exceptions</strong> that bubble up until something catches them. Idiomatic code often raises deep inside and catches at <strong>boundaries</strong> (a CLI command, an HTTP handler, a job runner) rather than around every line.</p><p><strong>Discovery:</strong> Check explicitly for <strong>expected</strong> failures like validation and parsing, and use exceptions for exceptional paths or deep call stacks. Both are professional. The mix is the lesson.</p><h3>5. Cleanup is with, not defer</h3><pre>with open(&quot;data.txt&quot;) as f:<br>    data = f.read()</pre><p><strong>Discovery:</strong> Context managers are to Python what defer is to Go: the idiomatic way to say &quot;always release this.&quot;</p><h3>6. Concurrency is a different animal</h3><ul><li><strong>CPU-bound work:</strong> the GIL (Global Interpreter Lock) limits threads for compute-heavy code, so processes or native extensions matter.</li><li><strong>I/O-bound work:</strong> <strong>asyncio</strong> (async / await) is the closest mental model to lightweight goroutines, but it&#39;s cooperative and depends on async-aware libraries.</li></ul><p>Here’s the same idea, three tasks running concurrently. First Go:</p><pre>var wg sync.WaitGroup<br>results := make([]int, 3)</pre><pre>for i := range results {<br>	wg.Add(1)<br>	go func() {<br>		defer wg.Done()<br>		time.Sleep(time.Second)<br>		results[i] = (i + 1) * 2<br>	}()<br>}<br>wg.Wait()<br>fmt.Println(results) // [2 4 6]</pre><p>And Python:</p><pre>import asyncio</pre><pre>async def work(n):<br>    await asyncio.sleep(1)<br>    return n * 2</pre><pre>async def main():<br>    results = await asyncio.gather(work(1), work(2), work(3))<br>    print(results)  # [2, 4, 6]</pre><pre>asyncio.run(main())</pre><p>The Python version is shorter, but I have to remember that <strong>everything in the chain must be </strong><strong>async</strong>, and one blocking call can stall the whole event loop.</p><p>A note on the GIL: recent Python versions include an optional <strong>free-threaded</strong> build that removes it. Check the current status for the version you use before relying on it.</p><p><strong>Discovery:</strong> I now map problems to <strong>asyncio vs threading vs multiprocessing</strong> instead of reaching for goroutines by default.</p><h3>7. The standard library is huge</h3><p>JSON, HTTP, pathlib, dataclasses, logging: a lot is already included. I still reach for <strong>pytest</strong>, <strong>httpx</strong> or <strong>requests</strong>, and <strong>pydantic</strong> where Go might use a few well-known dependencies.</p><h3>8. dataclass is my struct comfort zone</h3><pre>from dataclasses import dataclass</pre><pre>@dataclass<br>class User:<br>    name: str<br>    age: int</pre><p>For API payloads and DTOs, <strong>dataclass</strong> or <strong>Pydantic</strong> scratch the same itch as Go structs with JSON tags.</p><h3>Types and values: a map for Go eyes</h3><p>Go Python (what I use in practice) int, float64 int (arbitrary precision), float string, []byte str, bytes []T slice list (mixed types allowed) map[K]V dict struct @dataclass or class interface duck typing, or typing.Protocol for contracts nil None (use is None, not == None) zero value no universal zero; know the falsy values (None, 0, &quot;&quot;, [], {}) (v, ok) .get(key), or try / except KeyError</p><ul><li><strong>Numbers:</strong> / is true division (5 / 2 gives 2.5), and // is floor division.</li><li><strong>Strings:</strong> f-strings (f&quot;{name}: {score}&quot;) replace most day-to-day fmt.Sprintf.</li><li><strong>Tuples and sets:</strong> Go has no first-class versions of these. Python has immutable tuples (1, 2) and sets {1, 2, 3}.</li><li><strong>Booleans:</strong> Python has many <strong>falsy</strong> values, which is broader than Go’s zero-value checks. For optional values, if x is None is <strong>not</strong> the same as if not x.</li></ul><h3>Importing code: what Go made obvious, and what Python does differently</h3><p>In Go, imports are rigid: one module path, one package per directory, exported names capitalized. Python looks simpler (import foo), but the rules live in <strong>file layout</strong>, <strong>packages</strong>, and <strong>convention</strong>.</p><h3>Mental model: module, package, file</h3><p>Go Python <strong>Module</strong> = repo + go.mod <strong>Project</strong> = folder with pyproject.toml / requirements.txt <strong>Package</strong> = directory with a shared package name <strong>Package</strong> = directory (often with __init__.py) <strong>File</strong> = part of one package <strong>Module</strong> = one .py file (utils.py is module utils)</p><p>Go:</p><pre>import &quot;github.com/sundayonah/myapp/internal/auth&quot;</pre><pre>auth.Middleware()</pre><p>Python:</p><pre>from myapp.auth.middleware import require_token</pre><p>The layout has to match what Python can <strong>find</strong> on sys.path, not just what you wish the folder tree looked like.</p><h3>Import styles</h3><pre>import json<br>json.loads(&#39;{&quot;a&quot;: 1}&#39;)</pre><pre>from json import loads<br>loads(&#39;{&quot;a&quot;: 1}&#39;)</pre><pre>import json as js<br>from pathlib import Path</pre><ul><li><strong>import module</strong> is good for large or clash-prone modules (os, logging).</li><li><strong>from module import name</strong> is idiomatic for small, clear APIs (from dataclasses import dataclass).</li></ul><p>Go’s closest habit is import aliases (import f &quot;fmt&quot;). Python uses from and aliases constantly, and that&#39;s normal.</p><h3>Where Python looks for modules</h3><ol><li>The standard library</li><li>Packages in the active <strong>virtual environment</strong></li><li>Your project root, if it’s on sys.path (run from the root, pip install -e ., or use PYTHONPATH)</li></ol><p><strong>Discovery:</strong> Running from the wrong directory, or forgetting the venv, feels like pre-modules Go. Imports fail at runtime. <strong>One venv per project</strong> is non-optional, just like go.mod per service.</p><h3>Project layout (mirroring Go instincts)</h3><pre>src/myapp/<br>    __init__.py<br>    main.py<br>    auth/<br>        __init__.py<br>        middleware.py<br>        service.py<br>pyproject.toml</pre><p>Go’s internal/ is enforced by the compiler. Python&#39;s &quot;private&quot; is a _leading_underscore: convention, not a rule.</p><p>Go Python Foo / foo _helper means &quot;internal, please don&#39;t&quot;</p><p>Callers can still import _helper. The discipline is social and enforced in code review.</p><h3>Importing functions, classes, and constants</h3><pre># auth/service.py<br>def validate(token: str) -&gt; bool:<br>    ...</pre><pre>class User:<br>    ...</pre><pre>from auth.service import validate, User<br># or<br>from auth import service<br>service.validate(&quot;...&quot;)</pre><p>Packages often <strong>re-export</strong> a clean surface in __init__.py:</p><pre># auth/__init__.py<br>from .service import validate, User</pre><pre>__all__ = [&quot;validate&quot;, &quot;User&quot;]</pre><h3>Relative imports (inside a package only)</h3><pre># auth/middleware.py<br>from .service import validate<br>from ..config import settings</pre><p>Go uses full paths only, with no ... Relative imports break if you run a nested file directly (python auth/middleware.py). Prefer python -m myapp or an installed package, similar to running from the module root in Go.</p><h3>init vs import-time code</h3><p>Go has func init() at package load. In Python, <strong>importing a module runs it once</strong>, and __init__.py runs when the package is first imported. I keep __init__.py thin: re-exports and docs, not heavy side effects.</p><h3>Circular imports</h3><p>This is the same class of problem as Go import cycles. Fixes: extract a small shared module, import lazily inside a function, or restructure the packages.</p><h3>Third-party dependencies</h3><p>Use pip install plus a lockfile (Poetry, uv, and others). Watch for <strong>PyPI name vs import name</strong>: pip install Pillow gives you import PIL.</p><h3>Library vs entrypoint</h3><pre>def main():<br>    ...</pre><pre>if __name__ == &quot;__main__&quot;:<br>    main()</pre><p>Importing the file loads the definitions but does <strong>not</strong> run main(). It only runs when the file is executed as a script, which is like separating package auth from cmd/server.</p><h3>Import cheat sheet</h3><p>I want to… Go Python Import a package import &quot;path/pkg&quot; import pkg Use one function pkg.F() from pkg import F Rename import p &quot;path/pkg&quot; import pkg as p Hide internals lowercase name _name Entrypoint func main() in cmd/... if __name__ == &quot;__main__&quot;: or python -m pkg Local monorepo lib replace in go.mod pip install -e ./libs/foo</p><h3>Functions, control flow, and iteration</h3><p>Go has multiple returns, defer, and C-style for. Python has a single return value (use <strong>tuples</strong> for several), <strong>with</strong> instead of defer, and <strong>for x in iterable</strong> as the default loop.</p><p>Comprehensions are idiomatic where Go would use a loop plus append:</p><pre>squares = [n * n for n in range(10)]</pre><p>Variadic functions: Go uses ...T, Python uses *args and **kwargs.</p><h3>What Go still does better</h3><p>Learning Python hasn’t made me love Go any less. A few things I miss:</p><ul><li><strong>Compile-time errors.</strong> Typos in rarely-run code paths only show up when they run.</li><li><strong>Single-binary deployment.</strong> go build and ship one file. Python needs an environment, dependencies, or a container.</li><li><strong>Built-in concurrency.</strong> Goroutines and channels need no async/await coloring of your functions.</li><li><strong>Predictable performance</strong> for CPU-heavy work.</li></ul><p>Neither language is “better.” They optimize for different things.</p><h3>What I’m still figuring out</h3><p>Being honest, here’s what hasn’t clicked yet:</p><ul><li>Async code in larger projects, and how to mix it with blocking libraries</li><li>Packaging and dependency tools (pip, Poetry, uv): which one, and when</li><li>When to use a plain class, a dataclass, or a Pydantic model</li><li>Reading and writing good type hints for more complex code</li></ul><p>If you have advice on any of these, I’d really like to hear it.</p><h3>Habits I deliberately changed</h3><ol><li><strong>A virtualenv for every project</strong>, like a non-optional go.mod.</li><li><strong>Type-hint public APIs</strong>, and let tools enforce them.</li><li><strong>Use </strong><strong>with, comprehensions, and pytest</strong>, instead of translating every Go loop.</li><li><strong>Catch exceptions at the edges</strong> rather than copying if err != nil onto every line.</li><li><strong>Treat </strong><strong>is None and falsiness as different checks.</strong></li><li><strong>Use an editable install</strong> (pip install -e .) so from myapp... imports behave like a real module graph.</li></ol><h3>Closing</h3><p>Learning Python as a Go developer isn’t a downgrade or a “scripting detour.” It’s a language optimized for <strong>expression speed and ecosystem breadth</strong>, where discipline shows up in <strong>tests, types, project layout, and imports</strong> as much as in the compiler.</p><p>The uncomfortable parts (dynamic typing, exceptions, the GIL, import paths) aren’t gaps in my education. They’re <strong>different tradeoffs</strong>. Once I named them (references vs values, boundaries vs inline errors, asyncio vs goroutines, modules vs go.mod), Python stopped feeling like &quot;Go with missing braces&quot; and started feeling like a tool I&#39;m getting comfortable with.</p><p>If you’re coming from Go too, you’re not starting from zero. You’re <strong>retargeting</strong> a structured mindset.</p><p><strong>Your turn:</strong> What surprised you most when you switched languages? Tell me in the comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb1dd3570b54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Deso: The Decentralized Social Media Platform.]]></title>
            <link>https://medium.com/@sundayonah94/exploring-deso-the-decentralized-social-media-platform-df28bbc882cc?source=rss-25895d2db55f------2</link>
            <guid isPermaLink="false">https://medium.com/p/df28bbc882cc</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[deso]]></category>
            <category><![CDATA[decentralized]]></category>
            <category><![CDATA[social-media]]></category>
            <dc:creator><![CDATA[Sundayonah]]></dc:creator>
            <pubDate>Fri, 23 Feb 2024 22:19:02 GMT</pubDate>
            <atom:updated>2024-02-23T22:19:02.129Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h7EG7lX-KMd1c3Zya-5L0g.jpeg" /></figure><h3>What is Deso?</h3><p>In an era where concerns about data privacy and censorship on traditional social media platforms are rampant, decentralized social media platforms offer an alternative vision of digital interaction. One such platform making waves in space is Deso.</p><p>Deso, short for Decentralized Social, is a blockchain-based social media platform, It aims to revolutionize the way we engage with social media by placing control back in the hands of users. The first layer-1 blockchain that was built from the ground up to decentralize social media and scale storage-heavy apps to billions of users.</p><p>At its core, Deso operates on a decentralized blockchain network, which means that data and content are not stored on centralized servers but are instead distributed across a network of nodes. This decentralized architecture offers several benefits, including increased resilience to censorship and data breaches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D9AWNNF6HTQR3vKRxfREKg.png" /></figure><p>One of the key features of Deso is its focus on user ownership. Unlike traditional social media platforms, where users often have little control over their data and content, Deso gives users full ownership and control. This means that users can monetize their content directly, without relying on advertising revenue or intermediaries.</p><p>Deso also integrates cryptocurrency technology, allowing users to send and receive payments, tip content creators, and engage in other financial transactions directly within the platform. This integration of cryptocurrency adds a new dimension to social media interactions, enabling users to support their favorite creators in a more direct and transparent manner.</p><p>Additionally, Deso is developed using open-source software, which means that anybody can audit the platform’s code and make it publicly available. Users’ trust is increased by this transparency, which contributes to the platform’s integrity and security.</p><p>As a decentralized social media platform, Deso has potential, but it’s still in its infancy. It faces difficulties with scalability, adoption, and regulatory compliance, just like any other developing technology. However, Deso can completely change the way social media will develop in the future because of its audacious objectives and creative methodology.</p><h3>Conclusion</h3><p>As we continue to navigate the complexities of digital interaction, platforms like Deso offer a glimpse into a future where users have greater control over their online experiences. Whether Deso will succeed in its mission remains to be seen, but one thing is clear: the decentralized social media revolution is well underway.</p><p>Explore Deso: <a href="https://docs.deso.org/">https://docs.deso.org/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df28bbc882cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In the context of blockchain technology, when people refer to “layers,” what do you think they are…]]></title>
            <link>https://medium.com/@sundayonah94/in-the-context-of-blockchain-technology-when-people-refer-to-layers-what-do-you-think-they-are-78217d3f8899?source=rss-25895d2db55f------2</link>
            <guid isPermaLink="false">https://medium.com/p/78217d3f8899</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain-layer]]></category>
            <category><![CDATA[decentralized-apps]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Sundayonah]]></dc:creator>
            <pubDate>Wed, 21 Feb 2024 12:12:36 GMT</pubDate>
            <atom:updated>2024-02-21T12:12:36.340Z</atom:updated>
            <content:encoded><![CDATA[<h3>In the context of blockchain technology, when people refer to “layers,” what do you think they are talking about? Below, we will discuss layers 0, 1, 2, and 3 in the context of blockchain:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eAdGhbGofWnV-TSrwdusHw.jpeg" /></figure><h3>Firstly, what is blockchain?</h3><p>Blockchain is a distributed ledger technology that enables secure and transparent record-keeping of digital transactions across a decentralized network of computers. In simple terms, it’s a way of storing and sharing data in a tamper-proof and decentralized manner.</p><h3>What is Blockchain Layer 0?</h3><p>Regarding Layer 0, it comprises the elements necessary to bring the blockchain to life. It is a technology that makes blockchain networks like Ethereum, Bitcoin, and others possible.</p><p>Layer 0 in the context of blockchain technology typically refers to the underlying infrastructure that supports the operation of blockchain networks.<br>Consequently, the Internet, hardware, and connections make up these components. Layer 0 is critical to the system’s functionality since it allows blockchains to communicate with one another and resolves Layer 0’s scale problems. To gain access to layer 0, you need to own its original token. It is said that this layer is “the Internet of Blockchain.”</p><h3>What is Blockchain Layer 1?</h3><p>Layer 1 refers to the protocol layer of a blockchain network. It is made up of the consensus mechanism and the core blockchain protocol.</p><p><strong>As an illustration:</strong><br><strong>Bitcoin</strong>: The network’s base is provided by the layer 1 protocol known as the Bitcoin blockchain. By using the proof-of-work (PoW) consensus mechanism, it offers decentralized transaction processing and security.<br><strong>Ethereum</strong>: Ethereum is yet another instance of a layer 1 blockchain that facilitates decentralized apps (dApps) and smart contracts. Its foundation is the Ethereum blockchain and the Ethereum Virtual Machine (EVM).</p><h3>What is Blockchain Layer 2?</h3><p>Layer 2 solutions are built on top of layer 1 blockchains and aim to address scalability, reduce transaction costs, and enable new use cases and applications to be built on top of existing blockchain networks.</p><p>The Ethereum Plasma and the Bitcoin Lightning Network are two prominent instances of layer 2 solutions. Both ideas, however, have different operating processes and specifics and aim to give blockchain systems more throughput.</p><h3>What is Blockchain Layer 3?</h3><p>Layer 3 is responsible for making programs user-friendly and decentralized. Decentralized Applications (dApps) are typically built using this layer; they are blockchain-based applications</p><p><strong>Interoperability Protocols:</strong> Projects like Polkadot, Cosmos, and Aion aim to facilitate interoperability between different blockchain networks by enabling cross-chain communication and asset transfers.<br><strong>Decentralized Finance (DeFi) Platforms:</strong> DeFi platforms like Uniswap, Compound, and MakerDAO are considered layer 3 applications. They provide financial services such as lending, borrowing, and decentralized exchange on top of layer 1 and layer 2 blockchains.</p><p>These examples illustrate how layer 0, layer 1, layer 2, and layer 3 solutions work together to enhance the capabilities and scalability of blockchain networks, enabling a wide range of applications and use cases.</p><p>Peace :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78217d3f8899" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The cryptocurrency industry is taken aback by Binance’s major Web3 wallet update: Additional…]]></title>
            <link>https://medium.com/@sundayonah94/the-cryptocurrency-industry-is-taken-aback-by-binances-major-web3-wallet-update-additional-de77a1d304ce?source=rss-25895d2db55f------2</link>
            <guid isPermaLink="false">https://medium.com/p/de77a1d304ce</guid>
            <category><![CDATA[wallet]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[binance]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Sundayonah]]></dc:creator>
            <pubDate>Mon, 19 Feb 2024 13:41:35 GMT</pubDate>
            <atom:updated>2024-02-19T13:41:35.189Z</atom:updated>
            <content:encoded><![CDATA[<h3>The cryptocurrency industry is taken aback by Binance’s major Web3 wallet update: Additional details are given.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*StLVO2OZ7jWXj0O4UD6ReQ.jpeg" /></figure><p>With significant integrations into its Web3 wallet, Binance — the largest cryptocurrency exchange in the world by trade volume — shocked the cryptocurrency community.</p><p>As of February 2024, 24 new decentralized apps (dApps) have been successfully integrated into Binance Web3 Wallet, according to Binance’s announcement. Users no longer need to transfer between platforms or use various wallets in order to interact with these dApps directly through their wallets thanks to the integration. Popular and avant-garde Web3 and cryptocurrency initiatives like EthsMarket, an NFT marketplace that lets users produce, purchase, and trade digital art on Ethereum, are among the recently added dApps.</p><p>Users of the subscription-based platform Avascriptions can access premium services and content from their preferred artists. NFT tattoos can be made and traded on the EVM Ink platform. Additionally, users can explore and enjoy a wide range of decentralized applications (dApps), such the social networking site 48 Club, which pays members for sharing and creating content.</p><p>A self-custodial cryptocurrency wallet included into the Binance app is called Binance Web3 Wallet. The integration of the Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, and Sei networks was completed in December, according to Binance Web3 Wallet, enabling users to transfer tokens to and from these networks using Binance Web3 Wallet.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de77a1d304ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>