<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Hemapriya Kanagala</title>
    <description>The latest articles on Forem by Hemapriya Kanagala (@hemapriya_kanagala).</description>
    <link>https://forem.com/hemapriya_kanagala</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3307586%2F2dffaf97-946d-44a6-8a39-07d94a72e07d.png</url>
      <title>Forem: Hemapriya Kanagala</title>
      <link>https://forem.com/hemapriya_kanagala</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/hemapriya_kanagala"/>
    <language>en</language>
    <item>
      <title>Gemma 4 and the Return of Personal Computing</title>
      <dc:creator>Hemapriya Kanagala</dc:creator>
      <pubDate>Thu, 07 May 2026 16:56:19 +0000</pubDate>
      <link>https://forem.com/hemapriya_kanagala/gemma-4-and-the-return-of-personal-computing-2dd3</link>
      <guid>https://forem.com/hemapriya_kanagala/gemma-4-and-the-return-of-personal-computing-2dd3</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/google-gemma-2026-05-06"&gt;Gemma 4 Challenge: Write About Gemma 4&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;h3&gt;
  
  
  TL;DR
&lt;/h3&gt;

&lt;p&gt;AI already feels much more integrated into everyday computing than it did even a couple years ago.  &lt;/p&gt;

&lt;p&gt;What makes models like Gemma 4 interesting is not just the benchmarks or the technical improvements, but how quickly capable local AI is becoming practical across different kinds of hardware.  &lt;/p&gt;

&lt;p&gt;We’re starting to move from a world where advanced AI mostly existed through websites and cloud services into one where parts of those workflows can also happen directly on personal devices.  &lt;/p&gt;

&lt;p&gt;That probably doesn’t replace cloud AI anytime soon.  &lt;/p&gt;

&lt;p&gt;But it does change how these systems start fitting into normal workflows.  &lt;/p&gt;

&lt;p&gt;And over time, I think that may end up feeling less like “using an AI tool” and more like AI simply becoming part of the computing environment itself.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;⏱️ &lt;em&gt;Estimated read time: ~9 minutes&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Table of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;AI already feels different now&lt;/li&gt;
&lt;li&gt;What open models actually are&lt;/li&gt;
&lt;li&gt;Why Gemma 4 feels important&lt;/li&gt;
&lt;li&gt;What starts feeling different&lt;/li&gt;
&lt;li&gt;Understanding context windows, multimodal AI, and model sizes&lt;/li&gt;
&lt;li&gt;Why smaller models are becoming more useful&lt;/li&gt;
&lt;li&gt;Local AI still has real limitations&lt;/li&gt;
&lt;li&gt;Why this matters beyond AI itself&lt;/li&gt;
&lt;li&gt;Where this may be heading&lt;/li&gt;
&lt;li&gt;References&lt;/li&gt;
&lt;li&gt;🤝 Stay in Touch&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  AI already feels different now
&lt;/h2&gt;

&lt;p&gt;A year or two ago, most people still treated AI as something separate from normal computing.&lt;/p&gt;

&lt;p&gt;You opened a chatbot website.&lt;br&gt;&lt;br&gt;
Asked a question.&lt;br&gt;&lt;br&gt;
Generated an image.&lt;br&gt;&lt;br&gt;
Then moved on.&lt;/p&gt;

&lt;p&gt;That already feels outdated now.&lt;/p&gt;

&lt;p&gt;AI has started showing up inside everyday software much more naturally.&lt;/p&gt;

&lt;p&gt;We now see AI integrated into:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;code editors&lt;/li&gt;
&lt;li&gt;search engines&lt;/li&gt;
&lt;li&gt;design tools&lt;/li&gt;
&lt;li&gt;note-taking apps&lt;/li&gt;
&lt;li&gt;office software&lt;/li&gt;
&lt;li&gt;accessibility tools&lt;/li&gt;
&lt;li&gt;research workflows&lt;/li&gt;
&lt;li&gt;operating systems&lt;/li&gt;
&lt;li&gt;and increasingly into AI agents that can perform multi-step tasks across different tools&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In many ways, AI is no longer becoming “a product.”&lt;/p&gt;

&lt;p&gt;It’s becoming part of the &lt;strong&gt;computing environment itself&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;At the same time, another important shift has been happening quietly underneath all of this.&lt;/p&gt;

&lt;p&gt;For the last few years, most advanced AI systems mainly existed through cloud infrastructure.&lt;/p&gt;

&lt;p&gt;We accessed them remotely:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;through APIs&lt;/li&gt;
&lt;li&gt;websites&lt;/li&gt;
&lt;li&gt;subscriptions&lt;/li&gt;
&lt;li&gt;and internet-connected services&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That model made complete sense.&lt;/p&gt;

&lt;p&gt;Large AI systems require enormous amounts of computational power, and centralized infrastructure allowed advanced capabilities to scale quickly to millions of users.&lt;/p&gt;

&lt;p&gt;But now we’re starting to see capable models become practical across a much wider range of hardware environments too.&lt;/p&gt;

&lt;p&gt;And that’s where models like Gemma 4 start becoming really interesting.&lt;/p&gt;




&lt;h2&gt;
  
  
  What open models actually are
&lt;/h2&gt;

&lt;p&gt;Before going further, it’s probably worth explaining what people mean when they say “open models.”&lt;/p&gt;

&lt;p&gt;For people newer to AI, open models are systems whose model weights are publicly available for developers to download and run themselves.&lt;/p&gt;

&lt;p&gt;The easiest way to think about it is this:&lt;/p&gt;

&lt;p&gt;Instead of only accessing AI through someone else’s platform, developers can also run the system directly on their own hardware.&lt;/p&gt;

&lt;p&gt;That hardware might be:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a laptop&lt;/li&gt;
&lt;li&gt;a desktop&lt;/li&gt;
&lt;li&gt;a workstation&lt;/li&gt;
&lt;li&gt;a server&lt;/li&gt;
&lt;li&gt;a phone&lt;/li&gt;
&lt;li&gt;or an edge device&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Different environments benefit from different approaches.&lt;/p&gt;

&lt;p&gt;Some applications work best through large cloud infrastructure.&lt;/p&gt;

&lt;p&gt;Others benefit from:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;offline access&lt;/li&gt;
&lt;li&gt;lower latency&lt;/li&gt;
&lt;li&gt;faster responsiveness&lt;/li&gt;
&lt;li&gt;tighter integration with local software&lt;/li&gt;
&lt;li&gt;or more control over deployment environments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Gemma 4 is part of a broader movement in this direction alongside models like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Llama&lt;/li&gt;
&lt;li&gt;Mistral&lt;/li&gt;
&lt;li&gt;Qwen&lt;/li&gt;
&lt;li&gt;Phi&lt;/li&gt;
&lt;li&gt;and other increasingly capable open models&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What makes Gemma 4 interesting is how it continues pushing capable multimodal AI into a wider range of practical environments.&lt;/p&gt;

&lt;p&gt;For developers especially, that flexibility matters because it creates more choices around &lt;strong&gt;deployment, privacy, latency, and integration&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Gemma 4 feels important
&lt;/h2&gt;

&lt;p&gt;A lot of AI releases improve technical benchmarks without necessarily changing how the technology feels in everyday use.&lt;/p&gt;

&lt;p&gt;Gemma 4 feels important for a slightly different reason.&lt;/p&gt;

&lt;p&gt;It reflects how quickly local AI has matured.&lt;/p&gt;

&lt;p&gt;A few years ago, running AI locally often involved major compromises:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;slow responses&lt;/li&gt;
&lt;li&gt;limited reasoning&lt;/li&gt;
&lt;li&gt;small context windows&lt;/li&gt;
&lt;li&gt;high hardware requirements&lt;/li&gt;
&lt;li&gt;or systems that felt more experimental than practical&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But newer generations of models are steadily changing that experience.&lt;/p&gt;

&lt;p&gt;Gemma 4 includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;smaller models optimized for efficient local execution&lt;/li&gt;
&lt;li&gt;larger models designed for stronger reasoning&lt;/li&gt;
&lt;li&gt;multimodal capabilities for understanding text and images together&lt;/li&gt;
&lt;li&gt;long context windows&lt;/li&gt;
&lt;li&gt;support for coding workflows&lt;/li&gt;
&lt;li&gt;and increasingly agent-oriented capabilities like function calling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For people unfamiliar with the term, “function calling” allows AI systems to interact with external tools and software in a more structured way.&lt;/p&gt;

&lt;p&gt;That’s part of what enables many modern AI agents to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;retrieve information&lt;/li&gt;
&lt;li&gt;use tools&lt;/li&gt;
&lt;li&gt;execute tasks&lt;/li&gt;
&lt;li&gt;or work across multiple systems more reliably&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What feels significant is not simply that these capabilities exist.&lt;/p&gt;

&lt;p&gt;It’s that they’re becoming available across more kinds of hardware and computing environments than before.&lt;/p&gt;




&lt;h2&gt;
  
  
  What starts feeling different
&lt;/h2&gt;

&lt;p&gt;I think this is the part that’s easiest to underestimate.&lt;/p&gt;

&lt;p&gt;For a long time, powerful AI mostly existed inside large centralized infrastructure.&lt;/p&gt;

&lt;p&gt;And honestly, that will continue to matter enormously.&lt;/p&gt;

&lt;p&gt;Cloud AI remains incredibly important for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;large-scale reasoning&lt;/li&gt;
&lt;li&gt;enterprise systems&lt;/li&gt;
&lt;li&gt;collaborative workflows&lt;/li&gt;
&lt;li&gt;massive computational workloads&lt;/li&gt;
&lt;li&gt;and many advanced AI services we use every day&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But now capable models can also increasingly run:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;on laptops&lt;/li&gt;
&lt;li&gt;on consumer GPUs&lt;/li&gt;
&lt;li&gt;on workstations&lt;/li&gt;
&lt;li&gt;on mobile hardware&lt;/li&gt;
&lt;li&gt;and on edge devices&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That doesn’t replace cloud AI.&lt;/p&gt;

&lt;p&gt;But it &lt;strong&gt;does expand where AI can exist&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;And over time, that changes how these systems fit into everyday workflows.&lt;/p&gt;

&lt;p&gt;A few years ago, asking an AI system to analyze a long PDF, help write code, summarize notes, understand screenshots, and assist inside a local workflow would usually require sending everything to a large remote service.&lt;/p&gt;

&lt;p&gt;Now, parts of those workflows can increasingly happen directly on personal hardware.&lt;/p&gt;

&lt;p&gt;For example, a developer might now use a local model to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;summarize project notes&lt;/li&gt;
&lt;li&gt;understand screenshots&lt;/li&gt;
&lt;li&gt;search through documentation&lt;/li&gt;
&lt;li&gt;assist with coding&lt;/li&gt;
&lt;li&gt;or organize research material&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;all without constantly switching between external services and browser tabs.&lt;/p&gt;

&lt;p&gt;That kind of integration changes the feeling of the workflow itself.&lt;/p&gt;

&lt;p&gt;That doesn’t sound dramatic at first.&lt;/p&gt;

&lt;p&gt;But small shifts like that gradually reshape how technology fits into everyday work.&lt;/p&gt;

&lt;p&gt;The transition usually feels slow while it’s happening.&lt;/p&gt;

&lt;p&gt;Then suddenly it feels normal.&lt;/p&gt;

&lt;p&gt;I think that’s part of why local AI feels surprisingly interesting the first time you experience it regularly.&lt;/p&gt;

&lt;p&gt;Not because it suddenly feels futuristic.&lt;/p&gt;

&lt;p&gt;But because it starts feeling ordinary.&lt;/p&gt;

&lt;p&gt;Almost the same way we stopped thinking about browsers, Wi-Fi, cloud sync, or search engines as remarkable technologies once they became naturally integrated into computing itself.&lt;/p&gt;




&lt;h2&gt;
  
  
  Understanding context windows, multimodal AI, and model sizes
&lt;/h2&gt;

&lt;p&gt;A lot of modern AI terminology can sound intimidating at first, so it’s worth slowing down and explaining a few ideas that matter for systems like Gemma 4.&lt;/p&gt;

&lt;h3&gt;
  
  
  Context windows
&lt;/h3&gt;

&lt;p&gt;A “context window” is essentially the amount of information a model can actively keep track of while working.&lt;/p&gt;

&lt;p&gt;You can think of it like a working desk.&lt;/p&gt;

&lt;p&gt;A small desk forces you to constantly remove papers to make room for new ones.&lt;/p&gt;

&lt;p&gt;A larger desk lets you keep more documents open at once, which makes it easier to work on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;long conversations&lt;/li&gt;
&lt;li&gt;large codebases&lt;/li&gt;
&lt;li&gt;research material&lt;/li&gt;
&lt;li&gt;PDFs&lt;/li&gt;
&lt;li&gt;or multi-step reasoning tasks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Gemma 4 supports very large context windows compared to earlier generations of smaller local models, which helps make longer and more complex workflows more practical.&lt;/p&gt;

&lt;h3&gt;
  
  
  Multimodal AI
&lt;/h3&gt;

&lt;p&gt;Gemma 4 is also multimodal.&lt;/p&gt;

&lt;p&gt;That simply means the model can work with more than one kind of input.&lt;/p&gt;

&lt;p&gt;Instead of only reading text, multimodal systems can also understand things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;images&lt;/li&gt;
&lt;li&gt;screenshots&lt;/li&gt;
&lt;li&gt;charts&lt;/li&gt;
&lt;li&gt;documents&lt;/li&gt;
&lt;li&gt;and in some cases audio or video&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The easiest way to think about multimodal AI is that the system is no longer interacting with only words.&lt;/p&gt;

&lt;p&gt;It can process multiple forms of information together in a single workflow.&lt;/p&gt;

&lt;h3&gt;
  
  
  Model sizes and parameters
&lt;/h3&gt;

&lt;p&gt;You’ll often see models described using names like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;2B&lt;/li&gt;
&lt;li&gt;4B&lt;/li&gt;
&lt;li&gt;31B&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The “B” stands for billions of parameters.&lt;/p&gt;

&lt;p&gt;Parameters are essentially part of the internal structure the model uses to recognize patterns and relationships in data.&lt;/p&gt;

&lt;p&gt;The exact mathematics behind them is complex, but a useful way to think about parameters is as part of the model’s learned pattern-recognition ability.&lt;/p&gt;

&lt;p&gt;In general:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;larger models tend to be more capable&lt;/li&gt;
&lt;li&gt;but they also require significantly more memory and computational power to run&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That’s why smaller efficient models matter so much for local AI.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why smaller models are becoming more useful
&lt;/h2&gt;

&lt;p&gt;One of the most interesting developments in AI right now is how capable smaller models are becoming.&lt;/p&gt;

&lt;p&gt;For years, progress in AI mostly meant building larger and larger systems.&lt;/p&gt;

&lt;p&gt;And larger models still matter enormously.&lt;/p&gt;

&lt;p&gt;But practical computing is not only about maximum capability.&lt;/p&gt;

&lt;p&gt;It’s also about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;speed&lt;/li&gt;
&lt;li&gt;accessibility&lt;/li&gt;
&lt;li&gt;responsiveness&lt;/li&gt;
&lt;li&gt;portability&lt;/li&gt;
&lt;li&gt;energy usage&lt;/li&gt;
&lt;li&gt;cost&lt;/li&gt;
&lt;li&gt;and integration into real workflows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A model that responds quickly on local hardware can sometimes feel more useful in everyday work than a larger system that depends entirely on remote infrastructure.&lt;/p&gt;

&lt;p&gt;Especially for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;coding assistance&lt;/li&gt;
&lt;li&gt;local productivity workflows&lt;/li&gt;
&lt;li&gt;summarization&lt;/li&gt;
&lt;li&gt;document understanding&lt;/li&gt;
&lt;li&gt;accessibility tools&lt;/li&gt;
&lt;li&gt;education&lt;/li&gt;
&lt;li&gt;and offline applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And smaller models also change where AI can realistically exist.&lt;/p&gt;

&lt;p&gt;If capable models can run efficiently across many kinds of devices, then these systems become easier to integrate directly into the environments where people already work and create.&lt;/p&gt;

&lt;p&gt;And honestly, some of the most interesting applications of local AI probably haven’t been built yet.&lt;/p&gt;




&lt;h2&gt;
  
  
  Local AI still has real limitations
&lt;/h2&gt;

&lt;p&gt;At the same time, local AI still comes with real limitations.&lt;/p&gt;

&lt;p&gt;Running larger models locally can require:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;powerful hardware&lt;/li&gt;
&lt;li&gt;significant memory&lt;/li&gt;
&lt;li&gt;specialized GPUs&lt;/li&gt;
&lt;li&gt;and careful optimization&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some advanced systems still perform much better through large cloud infrastructure with access to enormous computational resources.&lt;/p&gt;

&lt;p&gt;And even though smaller models are improving rapidly, there are still many areas where larger cloud-based systems remain stronger, especially for highly complex reasoning and large-scale workloads.&lt;/p&gt;

&lt;p&gt;That’s important to acknowledge.&lt;/p&gt;

&lt;p&gt;Because this probably isn’t a story about local AI replacing cloud AI.&lt;/p&gt;

&lt;p&gt;At least not anytime soon.&lt;/p&gt;

&lt;p&gt;What feels more significant is that capable AI is becoming available across a broader range of environments instead of existing primarily in one place.&lt;/p&gt;

&lt;p&gt;And that flexibility opens up new possibilities for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;developers&lt;/li&gt;
&lt;li&gt;researchers&lt;/li&gt;
&lt;li&gt;students&lt;/li&gt;
&lt;li&gt;creators&lt;/li&gt;
&lt;li&gt;companies&lt;/li&gt;
&lt;li&gt;and everyday users&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why this matters beyond AI itself
&lt;/h2&gt;

&lt;p&gt;Benchmarks matter.&lt;/p&gt;

&lt;p&gt;Reasoning quality matters.&lt;br&gt;&lt;br&gt;
Coding ability matters.&lt;br&gt;&lt;br&gt;
Accuracy matters.&lt;/p&gt;

&lt;p&gt;But technology history repeatedly shows that accessibility matters too.&lt;/p&gt;

&lt;p&gt;Some technologies become transformative not only because they improve technically, but because they become easier to integrate into ordinary life.&lt;/p&gt;

&lt;p&gt;Personal computers became transformative because people could own them directly.&lt;/p&gt;

&lt;p&gt;Smartphones became transformative because they became portable and always available.&lt;/p&gt;

&lt;p&gt;The internet became transformative because connectivity became widely accessible.&lt;/p&gt;

&lt;p&gt;AI may be entering a similar phase now.&lt;/p&gt;

&lt;p&gt;Not because one single model suddenly changes everything overnight.&lt;/p&gt;

&lt;p&gt;But because capable models are gradually becoming:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;more flexible&lt;/li&gt;
&lt;li&gt;more efficient&lt;/li&gt;
&lt;li&gt;more integrated&lt;/li&gt;
&lt;li&gt;and available across more kinds of hardware and software environments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And that may quietly shape the next stage of everyday computing in ways we still don’t fully understand yet.&lt;/p&gt;




&lt;h2&gt;
  
  
  Where this may be heading
&lt;/h2&gt;

&lt;p&gt;Maybe that’s why models like Gemma 4 feel important right now.&lt;/p&gt;

&lt;p&gt;Not because one model suddenly changes everything overnight.&lt;/p&gt;

&lt;p&gt;But because they reflect a broader shift already happening across AI.&lt;/p&gt;

&lt;p&gt;These systems are becoming:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;more capable&lt;/li&gt;
&lt;li&gt;more accessible&lt;/li&gt;
&lt;li&gt;more efficient&lt;/li&gt;
&lt;li&gt;and easier to integrate into the tools people already use every day&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We’re already seeing AI become part of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;coding workflows&lt;/li&gt;
&lt;li&gt;creative tools&lt;/li&gt;
&lt;li&gt;operating systems&lt;/li&gt;
&lt;li&gt;search&lt;/li&gt;
&lt;li&gt;productivity software&lt;/li&gt;
&lt;li&gt;communication platforms&lt;/li&gt;
&lt;li&gt;research workflows&lt;/li&gt;
&lt;li&gt;and increasingly autonomous agents capable of handling more complex tasks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The technologies that last usually stop feeling like separate tools after a while and start feeling like part of the environment itself.&lt;/p&gt;

&lt;p&gt;AI still has real limitations.&lt;br&gt;&lt;br&gt;
Cloud systems still matter enormously.&lt;br&gt;&lt;br&gt;
And nobody fully knows what the next few years will look like.&lt;/p&gt;

&lt;p&gt;But it does feel like we’re entering a phase where AI is no longer only something we visit through websites and apps.&lt;/p&gt;

&lt;p&gt;It’s increasingly becoming part of the computing experience itself.&lt;/p&gt;




&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;p&gt;For a deeper look at Gemma 4 and the ideas mentioned in this post:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://ai.google.dev/gemma/docs/core/model_card_4" rel="noopener noreferrer"&gt;Gemma 4 Model Card&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://ai.google.dev/gemma/docs/core" rel="noopener noreferrer"&gt;Gemma 4 Model Overview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://ai.google.dev/gemma/docs" rel="noopener noreferrer"&gt;Gemma Models Documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://deepmind.google/models/gemma/gemma-4/" rel="noopener noreferrer"&gt;Gemma 4 - Google DeepMind&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://blog.google/innovation-and-ai/technology/developers-tools/gemma-4/" rel="noopener noreferrer"&gt;Gemma 4 Launch Blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developers.googleblog.com/bring-state-of-the-art-agentic-skills-to-the-edge-with-gemma-4/" rel="noopener noreferrer"&gt;Bring state-of-the-art agentic skills to the edge with Gemma 4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/google-deepmind/gemma" rel="noopener noreferrer"&gt;Gemma GitHub Repository&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🤝 Stay in Touch
&lt;/h2&gt;

&lt;p&gt;We are all watching AI become part of everyday computing in real time, and honestly, it’s interesting seeing how quickly the experience is changing.&lt;/p&gt;

&lt;p&gt;I’d love to hear how local models and AI tools are fitting into your own workflows lately.&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;a href="https://github.com/hemapriya-kanagala" rel="noopener noreferrer"&gt;Follow me on GitHub&lt;/a&gt; for the things I’m building and experimenting with  &lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;a href="https://www.linkedin.com/in/hemapriya-kanagala/" rel="noopener noreferrer"&gt;Connect with me on LinkedIn&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;And seriously, if something here made sense or didn’t, drop a comment. The interesting part of all this is comparing notes.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>gemmachallenge</category>
      <category>gemma</category>
      <category>ai</category>
    </item>
    <item>
      <title>Your AI Agent Crashed at 2 AM. Here’s How Google Fixes It.</title>
      <dc:creator>Hemapriya Kanagala</dc:creator>
      <pubDate>Wed, 29 Apr 2026 07:15:28 +0000</pubDate>
      <link>https://forem.com/hemapriya_kanagala/when-your-ai-agent-crashes-at-2-am-google-just-gave-you-a-way-to-fix-it-3da5</link>
      <guid>https://forem.com/hemapriya_kanagala/when-your-ai-agent-crashes-at-2-am-google-just-gave-you-a-way-to-fix-it-3da5</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/google-cloud-next-2026-04-22"&gt;Google Cloud NEXT Writing Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;h3&gt;
  
  
  TL;DR
&lt;/h3&gt;

&lt;p&gt;AI agents don’t just fail like traditional software. They fail because of how they &lt;em&gt;reason&lt;/em&gt;.  &lt;/p&gt;

&lt;p&gt;At Google Cloud NEXT '26, Google introduced &lt;strong&gt;Agent Observability&lt;/strong&gt; (to see what your agent was thinking) and &lt;strong&gt;Gemini Cloud Assist&lt;/strong&gt; (to diagnose and fix issues directly in your code).  &lt;/p&gt;

&lt;p&gt;Together, they make debugging AI agents in production faster, clearer, and far less painful.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;⏱️ &lt;em&gt;Estimated read time: ~8 minutes&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Table of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The Reality of AI Agents in Production&lt;/li&gt;
&lt;li&gt;First, let's understand what "debugging an AI agent" even means&lt;/li&gt;
&lt;li&gt;What is Agent Observability?&lt;/li&gt;
&lt;li&gt;What is Gemini Cloud Assist?&lt;/li&gt;
&lt;li&gt;The demo: a marathon simulation that broke mid-race&lt;/li&gt;
&lt;li&gt;What even is a token limit?&lt;/li&gt;
&lt;li&gt;How Cloud Assist fixed it&lt;/li&gt;
&lt;li&gt;Why this matters for every developer building with AI&lt;/li&gt;
&lt;li&gt;One thing to keep in mind&lt;/li&gt;
&lt;li&gt;The real shift happening right now&lt;/li&gt;
&lt;li&gt;References&lt;/li&gt;
&lt;li&gt;🤝 Stay in Touch&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  The Reality of AI Agents in Production
&lt;/h2&gt;

&lt;p&gt;It’s 2 AM. Your AI agent just crashed in production.&lt;/p&gt;

&lt;p&gt;And the worst part? You don’t even know why.&lt;/p&gt;

&lt;p&gt;You've spent weeks building it. It works great on your laptop. You deploy it. Customers start using it. And then, one random Tuesday, it just... dies. No clear error. No "you forgot a semicolon" message. Just a broken agent, confused logs, and you staring at your screen wondering what on earth it was thinking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The problem isn’t just failure. It’s understanding &lt;em&gt;why&lt;/em&gt; the agent failed.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is the part nobody really talks about when we get excited about building AI agents. Building them is the fun part. Running them, keeping them alive, understanding why they fail, and fixing them fast, that is where things get genuinely hard.&lt;/p&gt;

&lt;p&gt;At Google Cloud NEXT '26, Megan O'Keefe put it really well. The real challenge of putting agents into production isn't just scaling your infrastructure. It's "managing the reasoning, the tool calls, and all the places in the whole system where something can go wrong."&lt;/p&gt;

&lt;p&gt;And Google showed two tools built exactly for this moment: Agent Observability and Gemini Cloud Assist.&lt;/p&gt;




&lt;h2&gt;
  
  
  First, let's understand what "debugging an AI agent" even means
&lt;/h2&gt;

&lt;p&gt;With a traditional application, debugging is kind of like fixing a broken pipe. You find the leak, you patch it, you're done. The pipe either works or it doesn't. There's no in-between.&lt;/p&gt;

&lt;p&gt;Debugging an AI agent is completely different. It's less like fixing a pipe and more like being a therapist for a robot. The agent isn't just crashing because of a typo or a missing database connection. It's crashing, or misbehaving, because of how it reasoned. It made a decision. That decision was wrong. And you need to understand why it made that decision so you can help it not do it again.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;This is where AI systems are fundamentally different from traditional software.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's a whole new discipline. And without the right tools, it's like trying to find a needle in a haystack while blindfolded.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is Agent Observability?
&lt;/h2&gt;

&lt;p&gt;Think about a flight data recorder, the black box on an airplane. After something goes wrong, investigators pull that box and replay everything: every reading, every signal, every action the pilots took. They don't have to guess. They have a record.&lt;/p&gt;

&lt;p&gt;Agent Observability is that black box for your AI agent.&lt;/p&gt;

&lt;p&gt;When a normal app has a problem, you check if a server crashed or if a response was slow. That's enough. But when an AI agent has a problem, you need to know something much deeper: what was it thinking? What tools did it call? What information did it look at? Where exactly did its reasoning go off track?&lt;/p&gt;

&lt;p&gt;Agent Observability records all of this. It uses open standards, specifically OTel-compliant telemetry, which is the same kind of telemetry the broader software industry already uses for observability, to give you a visual trace of your agent's full execution path. Every step, in order, clearly laid out.&lt;/p&gt;

&lt;p&gt;This matters because AI agents can fail in ways that are genuinely strange. They can get stuck in reasoning loops. Imagine someone pacing back and forth trying to solve a problem, taking the same wrong step over and over because they can't see that it's wrong. Or they can crash because they tried to hold too much information in memory at once. Both of these failures are invisible without observability. With it, you can actually see what happened.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is Gemini Cloud Assist?
&lt;/h2&gt;

&lt;p&gt;Now, once you see what happened, you still have to fix it. And this is where Gemini Cloud Assist comes in.&lt;/p&gt;

&lt;p&gt;If Agent Observability is the black box, Cloud Assist is the investigator who reads it for you, connects it to everything else, and tells you exactly what to do.&lt;/p&gt;

&lt;p&gt;Here's the old way of doing things: something breaks in production. You get an alert. You open logs. You stare at thousands of lines of dense, intimidating text. You copy chunks of it into a chat window somewhere, try to make sense of it, go back to your code, try to figure out where the problem lives, and maybe fix the wrong thing first. It's exhausting and slow.&lt;/p&gt;

&lt;p&gt;Cloud Assist changes this. It doesn't just summarize the logs. It reads them, identifies the exact error, and then connects directly to your source code in your IDE (your code editor) through something called the Model Context Protocol (MCP). It reads both the production logs and your actual code at the same time. And then it suggests a specific, concrete fix.&lt;/p&gt;

&lt;p&gt;Not a vague "maybe try this." An actual code change.&lt;/p&gt;




&lt;h2&gt;
  
  
  The demo: a marathon simulation that broke mid-race
&lt;/h2&gt;

&lt;p&gt;To show how this all works together, Google ran a live simulation at the keynote (&lt;a href="https://www.youtube.com/watch?v=A01DQ8_xy7Q" rel="noopener noreferrer"&gt;Google Cloud Next '26 Developer Keynote&lt;/a&gt;). Imagine a Las Vegas marathon. An AI agent is running the simulation of race logistics in real time. And mid-demo, the "Simulator Agent" crashes and starts causing high latency.&lt;/p&gt;

&lt;p&gt;Here's how the debugging played out:&lt;/p&gt;

&lt;p&gt;Megan got an alert in her Gmail. She opened the Cloud Monitoring console and looked at the trace view, the visual record of what the agent had done. She could see it had successfully called a few tools, and then it just died. Unexpectedly. No obvious reason in the trace itself.&lt;/p&gt;

&lt;p&gt;Instead of scrolling through a massive wall of error text, she clicked one button to start a Cloud Assist investigation.&lt;/p&gt;

&lt;p&gt;Cloud Assist found a 400 request error. The agent had tried to talk to the Gemini API and got rejected. But why?&lt;/p&gt;

&lt;p&gt;Megan opened her code editor. Cloud Assist analyzed the source code (a file called agent.py) and figured out what happened: the agent had exceeded the 1 million context token limit.&lt;/p&gt;




&lt;h2&gt;
  
  
  What even is a token limit?
&lt;/h2&gt;

&lt;p&gt;This is worth slowing down on, because it's one of those concepts that sounds technical but is actually very intuitive once you see it.&lt;/p&gt;

&lt;p&gt;An AI's "context window" is basically its short-term memory. "Tokens" are the pieces of data it's holding in that memory, roughly speaking, the words and information it's actively working with.&lt;/p&gt;

&lt;p&gt;Now imagine you're a student trying to memorize an encyclopedia in one sitting. You keep reading and reading, adding more and more to your working memory, and at some point your brain just gives up. It hits a limit. You can't hold any more.&lt;/p&gt;

&lt;p&gt;That's exactly what happened to this agent. It had been running for a while, accumulating information, and it never stopped to summarize what it had learned. Its memory filled up. It hit the token limit. It crashed.&lt;/p&gt;

&lt;p&gt;This is a real problem in production AI systems, and it's becoming one of the new bottlenecks in software development. "Token scale," managing how much information an agent holds and when it should compress its memory, is something developers now have to think about the same way they used to think about RAM or database size.&lt;/p&gt;




&lt;h2&gt;
  
  
  How Cloud Assist fixed it
&lt;/h2&gt;

&lt;p&gt;This is the part that genuinely impressed me.&lt;/p&gt;

&lt;p&gt;Cloud Assist didn't just say "your token limit was exceeded, good luck." It looked at the code, understood the architecture, and suggested a specific fix: add a token_threshold parameter to a feature called Event Compaction.&lt;/p&gt;

&lt;p&gt;What Event Compaction does is force the agent to summarize its memory more frequently, before it gets dangerously close to the limit. By adding a threshold, you're essentially telling the agent: "don't wait until your memory is full. Start summarizing earlier and keep things manageable."&lt;/p&gt;

&lt;p&gt;Megan approved the change, committed it, and the system automatically deployed the fixed agent.&lt;/p&gt;

&lt;p&gt;The whole process, from alert to deployed fix, was remarkably fast. And more importantly, the fix was accurate. It wasn't a guess. It was based on reading the actual production error and the actual source code together.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why this matters for every developer building with AI
&lt;/h2&gt;

&lt;p&gt;Here's my honest take on all of this.&lt;/p&gt;

&lt;p&gt;We're entering a genuinely new era of software development. A lot of us are building agents and excited about what they can do. But we haven't fully reckoned with the fact that agents are still just software. They still break. They still crash. They still misbehave in production.&lt;/p&gt;

&lt;p&gt;They just break in completely new ways.&lt;/p&gt;

&lt;p&gt;A traditional bug is usually deterministic. The same input gives you the same broken output every time. An agent bug can be non-deterministic. It might only happen under certain conditions, after a certain amount of time, or when the agent has accumulated a certain kind of context. That's much harder to reproduce and debug without proper tooling.&lt;/p&gt;

&lt;p&gt;The moment you move an AI agent from a local experiment to a real environment where real users depend on it, you need observability. Not eventually. Immediately.&lt;/p&gt;

&lt;p&gt;And tools like these fill a gap that genuinely needed filling. The IDE integration especially, being able to see the production error and the source code in the same place, at the same time, with suggested fixes, that's not just convenient. It's a fundamentally better workflow.&lt;/p&gt;




&lt;h2&gt;
  
  
  One thing to keep in mind
&lt;/h2&gt;

&lt;p&gt;I want to be real with you about something, because I think it's worth saying.&lt;/p&gt;

&lt;p&gt;We're now in a world where AI is diagnosing and writing code to fix other AI. That's remarkable. But it also means you should never just approve a suggested fix without understanding what it does.&lt;/p&gt;

&lt;p&gt;Cloud Assist suggested the token_threshold change because it read the code and understood the architecture. But you, as the developer, need to review that change with your own understanding too. An AI can misread context. It can suggest a fix that solves the symptom but misses the root cause. Or worse, it could push a fix that quietly breaks something else.&lt;/p&gt;

&lt;p&gt;Human-in-the-loop isn't just a nice phrase here. In production systems, it's genuinely important. Approve changes you understand. Don't just click accept because the AI was confident.&lt;/p&gt;

&lt;p&gt;That said, the fact that we have these tools at all is genuinely exciting. Used thoughtfully, they make debugging AI systems faster and less painful than it's ever been.&lt;/p&gt;




&lt;h2&gt;
  
  
  The real shift happening right now
&lt;/h2&gt;

&lt;p&gt;AI agents don’t just fail. They fail in ways you can’t see without the right tools.&lt;/p&gt;

&lt;p&gt;The conversation in AI development is moving. A year ago, everyone was talking about building agents. Now the real challenge is running them safely, understanding them when they fail, and fixing them quickly.&lt;/p&gt;

&lt;p&gt;Agent Observability and Gemini Cloud Assist are Google's answer to that challenge. And based on what was shown at NEXT '26, it's a thoughtful one.&lt;/p&gt;

&lt;p&gt;If you're building AI agents, even small ones or experimental ones, start thinking about observability now. Not when something breaks. Now.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Because when an AI agent fails at 2 AM, you don’t just need logs. You need answers.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;p&gt;For a deeper look at the announcements and demos mentioned in this post:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.youtube.com/watch?v=11PBno-cJ1g" rel="noopener noreferrer"&gt;Google Cloud Next '26 Opening Keynote&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=A01DQ8_xy7Q" rel="noopener noreferrer"&gt;Google Cloud Next '26 Developer Keynote&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🤝 Stay in Touch
&lt;/h2&gt;

&lt;p&gt;We’re all figuring this out in real time.&lt;/p&gt;

&lt;p&gt;If you’re working with AI agents, I’d really like to know:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Have you seen weird, hard-to-explain failures in production?&lt;/li&gt;
&lt;li&gt;What’s been the hardest part, debugging, scaling, or just trusting the system?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;-&amp;gt; &lt;a href="https://github.com/hemapriya-kanagala" rel="noopener noreferrer"&gt;Follow me on GitHub&lt;/a&gt; for the things I’m building and experimenting with&lt;br&gt;&lt;br&gt;
-&amp;gt; &lt;a href="https://www.linkedin.com/in/hemapriya-kanagala/" rel="noopener noreferrer"&gt;Connect with me on LinkedIn&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;And seriously, if something here made sense or didn’t, drop a comment. The interesting part of all this is comparing notes.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>cloudnextchallenge</category>
      <category>googlecloud</category>
      <category>ai</category>
    </item>
    <item>
      <title>How I Built a Blockchain User Profile with Solidity (and You Can Too)</title>
      <dc:creator>Hemapriya Kanagala</dc:creator>
      <pubDate>Tue, 29 Jul 2025 03:57:11 +0000</pubDate>
      <link>https://forem.com/hemapriya_kanagala/how-i-built-a-blockchain-user-profile-with-solidity-and-you-can-too-11mc</link>
      <guid>https://forem.com/hemapriya_kanagala/how-i-built-a-blockchain-user-profile-with-solidity-and-you-can-too-11mc</guid>
      <description>&lt;p&gt;This is a smart contract I wrote using Solidity that lets people &lt;strong&gt;register and update their profile on the blockchain&lt;/strong&gt;. It was one of the first contracts I built to understand how user data works on Ethereum.&lt;/p&gt;

&lt;p&gt;The idea is simple:&lt;br&gt;&lt;br&gt;
Everyone has a wallet address. What if we could let each address store their &lt;strong&gt;name, age, and email&lt;/strong&gt; - all saved on-chain?&lt;/p&gt;

&lt;p&gt;So I built that.&lt;br&gt;&lt;br&gt;
Here is the &lt;a href="https://github.com/hemapriya-kanagala/user-profile-smart-contract" rel="noopener noreferrer"&gt;GitHub link&lt;/a&gt; if you want to check out the code.&lt;br&gt;&lt;br&gt;
I wrote just one file: &lt;code&gt;UserProfile.sol&lt;/code&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  What This Contract Does
&lt;/h2&gt;

&lt;p&gt;This smart contract lets a user:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Register their &lt;strong&gt;name, age, and email&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Update that information later&lt;/li&gt;
&lt;li&gt;View their own profile (no one else can access it)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything is connected to their &lt;strong&gt;Ethereum wallet address&lt;/strong&gt;, so you don’t need to log in - your wallet is your ID.&lt;/p&gt;




&lt;h2&gt;
  
  
  Concepts I Used
&lt;/h2&gt;

&lt;p&gt;If you're new to Solidity or smart contracts, these are the main building blocks I used:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Concept&lt;/th&gt;
&lt;th&gt;What It Does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;struct&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Groups related data - like name, age, and email - into a single object&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;mapping&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Stores info for each user using their wallet address as the key&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;require()&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Adds checks so people don’t register twice or update before registering&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;block.timestamp&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Saves the time a user registered, using the blockchain’s clock&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Each time someone registers, their info is stored on the blockchain - and only &lt;strong&gt;they&lt;/strong&gt; can update or view it.&lt;/p&gt;




&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;p&gt;Here’s what the contract does in plain English:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. &lt;code&gt;register(name, age, email)&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;This function saves your profile to the blockchain - but only if you haven’t registered before. If you try again, it gives an error.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. &lt;code&gt;updateProfile(name, age, email)&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;If you already registered, this lets you change your info anytime.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. &lt;code&gt;getProfile()&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;This function shows your current profile - your name, age, email, and the time you first registered. Only you can see it (based on your wallet).&lt;/p&gt;




&lt;h2&gt;
  
  
  How to Try It Yourself (Beginner-Friendly)
&lt;/h2&gt;

&lt;p&gt;You don’t need a real wallet or ETH to test this. Remix IDE runs everything in your browser using fake ETH.&lt;/p&gt;

&lt;h3&gt;
  
  
  Steps to Test the User Profile Contract
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Go to Remix&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
→ &lt;a href="https://remix.ethereum.org" rel="noopener noreferrer"&gt;https://remix.ethereum.org&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Create a new file&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
→ Click “+” → Name it &lt;code&gt;UserProfile.sol&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Paste in the contract code&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
→ You can find it &lt;a href="https://github.com/hemapriya-kanagala/user-profile-smart-contract" rel="noopener noreferrer"&gt;here on GitHub&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Compile it&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
→ Go to the &lt;strong&gt;Solidity Compiler&lt;/strong&gt; tab&lt;br&gt;&lt;br&gt;
→ Make sure version is &lt;code&gt;0.8.0&lt;/code&gt; or higher&lt;br&gt;&lt;br&gt;
→ Click &lt;strong&gt;Compile&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Deploy it&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
→ Go to the &lt;strong&gt;Deploy &amp;amp; Run Transactions&lt;/strong&gt; tab&lt;br&gt;&lt;br&gt;
→ Select &lt;strong&gt;Remix VM (Prague)&lt;/strong&gt; as environment&lt;br&gt;&lt;br&gt;
→ Leave &lt;strong&gt;Value&lt;/strong&gt; as &lt;code&gt;0&lt;/code&gt;&lt;br&gt;&lt;br&gt;
→ Click &lt;strong&gt;Deploy&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Register yourself&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
→ Fill in name, age, and email&lt;br&gt;&lt;br&gt;
→ Click &lt;code&gt;register()&lt;/code&gt;&lt;br&gt;&lt;br&gt;
✅ You’ll see a green checkmark&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Check your profile&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
→ Click &lt;code&gt;getProfile()&lt;/code&gt;&lt;br&gt;&lt;br&gt;
✅ Your info will appear: name, age, email, and timestamp&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Try updating it&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
→ Enter new name, age, or email&lt;br&gt;&lt;br&gt;
→ Click &lt;code&gt;updateProfile()&lt;/code&gt;&lt;br&gt;&lt;br&gt;
→ Then click &lt;code&gt;getProfile()&lt;/code&gt; again to see the updated info&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Lesson&lt;/th&gt;
&lt;th&gt;How I Used It&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Structs in Solidity&lt;/td&gt;
&lt;td&gt;Grouped user info like name, age, email&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mappings&lt;/td&gt;
&lt;td&gt;Stored each user's profile by their address&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Access control with &lt;code&gt;msg.sender&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Made sure only the owner of a profile can update or view it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Blockchain timestamp&lt;/td&gt;
&lt;td&gt;Recorded when each user registered&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Remix testing&lt;/td&gt;
&lt;td&gt;Quickly deployed and tested without real ETH&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Common Mistakes to Avoid
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Mistake&lt;/th&gt;
&lt;th&gt;Why It’s a Problem&lt;/th&gt;
&lt;th&gt;How I Solved It&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Registering twice&lt;/td&gt;
&lt;td&gt;Contract would overwrite data&lt;/td&gt;
&lt;td&gt;Used &lt;code&gt;require()&lt;/code&gt; to block double registration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Updating before registering&lt;/td&gt;
&lt;td&gt;User wouldn’t exist in mapping yet&lt;/td&gt;
&lt;td&gt;Added &lt;code&gt;require()&lt;/code&gt; to check registration first&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Returning too much data&lt;/td&gt;
&lt;td&gt;Could make &lt;code&gt;view&lt;/code&gt; functions heavy&lt;/td&gt;
&lt;td&gt;Kept &lt;code&gt;getProfile()&lt;/code&gt; simple and clear&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Up Next
&lt;/h2&gt;

&lt;p&gt;I’d really appreciate your questions or feedback. Did something confuse you? Let me know. Your insights help shape the next articles.&lt;/p&gt;

&lt;p&gt;Also, if there’s a non-Web3 topic you want me to cover (open source, side projects, etc), drop a comment below. If I know it, I’ll write about it. If not, I’ll point you to a good place to begin.&lt;/p&gt;




&lt;h2&gt;
  
  
  🤝 Stay in Touch
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/hemapriya-kanagala/user-profile-smart-contract" rel="noopener noreferrer"&gt;Check out the GitHub repo&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/hemapriya-kanagala" rel="noopener noreferrer"&gt;Follow me on GitHub&lt;/a&gt; for projects and experiments
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.linkedin.com/in/hemapriya-kanagala/" rel="noopener noreferrer"&gt;Connect with me on LinkedIn&lt;/a&gt; - I’d love to hear from you
&lt;/li&gt;
&lt;li&gt;Drop a comment if you tried this or have questions - I’d love to help!&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading!&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>web3</category>
      <category>solidity</category>
      <category>ethereum</category>
      <category>beginners</category>
    </item>
    <item>
      <title>What Actually Happens When You Make a Blockchain Transaction?</title>
      <dc:creator>Hemapriya Kanagala</dc:creator>
      <pubDate>Fri, 25 Jul 2025 06:33:31 +0000</pubDate>
      <link>https://forem.com/hemapriya_kanagala/what-actually-happens-when-you-make-a-blockchain-transaction-2be5</link>
      <guid>https://forem.com/hemapriya_kanagala/what-actually-happens-when-you-make-a-blockchain-transaction-2be5</guid>
      <description>&lt;p&gt;Welcome back! If you read &lt;a href="https://dev.to/hemapriya_kanagala/beginners-guide-to-blockchain-how-it-actually-works-and-why-it-matters-2ccb"&gt;Article 1: A Beginner’s Guide to How Blockchain Actually Works&lt;/a&gt;, we walked through what a blockchain is, how blocks form, and why decentralization matters.&lt;/p&gt;

&lt;p&gt;Now let’s get a little more hands-on.&lt;/p&gt;

&lt;p&gt;You’ve probably heard things like:  &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Just send me crypto.”&lt;br&gt;&lt;br&gt;
“It’s on the blockchain.”&lt;br&gt;&lt;br&gt;
“Check your wallet.”  &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;But what does that &lt;em&gt;actually&lt;/em&gt; mean? What happens under the hood when you send a transaction?&lt;/p&gt;

&lt;p&gt;This article takes you behind the scenes - from clicking “Send” in your wallet to seeing the transaction confirmed on a blockchain explorer.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step-by-Step: How a Blockchain Transaction Works
&lt;/h2&gt;

&lt;p&gt;Let’s follow a single transaction from start to finish. We’ll use a simple example:  &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;You want to send 1 token to a friend using a wallet like MetaMask.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Here’s what happens behind the scenes:&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;1. You Create the Transaction in Your Wallet&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;wallet&lt;/strong&gt; is an interface that lets you interact with the blockchain. It stores your &lt;strong&gt;private key&lt;/strong&gt; (securely) and helps you sign transactions.&lt;/p&gt;

&lt;p&gt;You enter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your friend’s &lt;strong&gt;public address&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Amount to send&lt;/li&gt;
&lt;li&gt;Optional message or data (depends on blockchain)&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;gas fee&lt;/strong&gt; you're willing to pay&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your wallet then &lt;strong&gt;signs&lt;/strong&gt; the transaction using your private key. This proves it came from you, without ever revealing your key.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📌 &lt;strong&gt;Signing&lt;/strong&gt; means creating a unique digital signature based on your private key and the transaction data.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;2. Your Wallet Broadcasts the Transaction to the Network&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Once signed, the transaction is &lt;strong&gt;broadcast&lt;/strong&gt; to the network. This means it’s sent to nearby &lt;strong&gt;nodes&lt;/strong&gt; (computers running the blockchain software).&lt;/p&gt;

&lt;p&gt;Those nodes check if:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your signature is valid&lt;/li&gt;
&lt;li&gt;You have enough balance&lt;/li&gt;
&lt;li&gt;The transaction is formatted correctly&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If it looks good, they pass it on to more nodes - spreading it across the network, like sharing a file with everyone.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📌 &lt;strong&gt;Nodes&lt;/strong&gt; are participants in the blockchain network. They validate transactions and keep a full copy of the blockchain.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;3. The Transaction Enters the Mempool&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Valid transactions are stored in something called the &lt;strong&gt;mempool&lt;/strong&gt; - short for &lt;em&gt;memory pool&lt;/em&gt;. Think of it as a waiting room where pending transactions sit before being added to a block.&lt;/p&gt;

&lt;p&gt;Every node maintains its own mempool, but they’re usually very similar.&lt;/p&gt;

&lt;p&gt;Inside the mempool:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Transactions are ranked (usually by fee amount)&lt;/li&gt;
&lt;li&gt;Miners or validators pick from the top&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;📌 The &lt;strong&gt;mempool&lt;/strong&gt; is like a “to-do list” for the network.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;4. A Validator Picks It Up and Adds It to a Block&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Depending on the blockchain’s consensus method, a participant is selected to propose the next block. This could be a &lt;strong&gt;miner&lt;/strong&gt; (Proof of Work) or &lt;strong&gt;validator&lt;/strong&gt; (Proof of Stake).&lt;/p&gt;

&lt;p&gt;They:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Pick high-fee transactions from the mempool&lt;/li&gt;
&lt;li&gt;Group them into a block&lt;/li&gt;
&lt;li&gt;Validate and order them&lt;/li&gt;
&lt;li&gt;Propose the block to the network&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If accepted, the block is added to the chain - and your transaction is officially recorded.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📌 A &lt;strong&gt;block&lt;/strong&gt; contains many transactions, plus metadata like timestamp, block number, and a hash of the previous block.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;5. You See the Transaction Confirmed&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Once included in a block, your transaction gets a &lt;strong&gt;confirmation&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Over time, more blocks are added after it - which makes your transaction harder to reverse. That’s why you’ll hear things like:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Wait for 3 confirmations.”&lt;br&gt;&lt;br&gt;
“It’s confirmed on-chain.”  &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You (or anyone) can view it on a &lt;strong&gt;blockchain explorer&lt;/strong&gt; like LiskScan or Etherscan. These tools let you search by:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wallet address&lt;/li&gt;
&lt;li&gt;Transaction hash&lt;/li&gt;
&lt;li&gt;Block number&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  A Real-World Analogy: Certified Mail
&lt;/h2&gt;

&lt;p&gt;Here’s a way to picture the entire process using something familiar — mailing a certified letter.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Blockchain Step&lt;/th&gt;
&lt;th&gt;Certified Mail Equivalent&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Create transaction in wallet&lt;/td&gt;
&lt;td&gt;Write a letter, sign the envelope&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Broadcast to network&lt;/td&gt;
&lt;td&gt;Drop it at your local post office&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mempool&lt;/td&gt;
&lt;td&gt;Letter goes into a mail sorting facility&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Validator adds it to block&lt;/td&gt;
&lt;td&gt;A courier picks it up and delivers it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Confirmed on-chain&lt;/td&gt;
&lt;td&gt;Recipient signs for it, and delivery is logged&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Both systems involve signing, routing, validation, and a final delivery record.&lt;/p&gt;




&lt;h2&gt;
  
  
  Wait... What’s This “Gas Fee” I’m Paying?
&lt;/h2&gt;

&lt;p&gt;On most blockchains, every transaction requires a small payment - called a &lt;strong&gt;gas fee&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;You’re paying the network to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Validate your transaction&lt;/li&gt;
&lt;li&gt;Store it in a block&lt;/li&gt;
&lt;li&gt;Broadcast it across the chain&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Fees vary based on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Network congestion (how full the mempool is)&lt;/li&gt;
&lt;li&gt;Complexity of your transaction (simple send vs smart contract)&lt;/li&gt;
&lt;li&gt;Priority (higher fee = faster confirmation)&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;On Ethereum, gas is measured in &lt;strong&gt;gwei&lt;/strong&gt;. On Lisk, it’s based on &lt;strong&gt;LSK&lt;/strong&gt; token units.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Here’s a quick comparison:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Transaction Type&lt;/th&gt;
&lt;th&gt;Typical Gas Fee (Estimates)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Simple token transfer&lt;/td&gt;
&lt;td&gt;Low&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NFT mint or marketplace buy&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Complex smart contract call&lt;/td&gt;
&lt;td&gt;Higher (depends on logic &amp;amp; storage)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;Tip: Always check the fee before sending - wallets like MetaMask show it clearly.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  How Long Does It Take?
&lt;/h2&gt;

&lt;p&gt;Transaction time depends on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The blockchain’s block time (e.g. Ethereum ~12s, Lisk ~10s)&lt;/li&gt;
&lt;li&gt;Network traffic&lt;/li&gt;
&lt;li&gt;Your fee&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Blockchain&lt;/th&gt;
&lt;th&gt;Avg Block Time&lt;/th&gt;
&lt;th&gt;Confirm Time (1 block)&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ethereum (PoS)&lt;/td&gt;
&lt;td&gt;~12 sec&lt;/td&gt;
&lt;td&gt;~12 sec&lt;/td&gt;
&lt;td&gt;High usage = higher fees&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bitcoin (PoW)&lt;/td&gt;
&lt;td&gt;~10 min&lt;/td&gt;
&lt;td&gt;~10 min&lt;/td&gt;
&lt;td&gt;Slower but more secure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lisk (PoS)&lt;/td&gt;
&lt;td&gt;~10 sec&lt;/td&gt;
&lt;td&gt;~10 sec&lt;/td&gt;
&lt;td&gt;Fast and energy-efficient&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;More confirmations = stronger finality (i.e. harder to reverse).&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;What If Two People Try to Send the Same Coins?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The blockchain uses the &lt;strong&gt;nonce&lt;/strong&gt; (a number that increases with each transaction) to prevent double spending.&lt;/p&gt;

&lt;p&gt;If someone tries to send the same coins twice, only the valid transaction with the correct nonce will be accepted. The rest will be ignored.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Why Transactions Sometimes Fail&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Here are common reasons a transaction doesn’t go through:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Problem&lt;/th&gt;
&lt;th&gt;Cause&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;“Out of gas” error&lt;/td&gt;
&lt;td&gt;You didn’t pay enough to complete it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;“Nonce too low”&lt;/td&gt;
&lt;td&gt;Another transaction was already sent before this one&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stuck in mempool&lt;/td&gt;
&lt;td&gt;Gas fee too low, not attractive to validators&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wrong network selected&lt;/td&gt;
&lt;td&gt;You sent tokens on the wrong chain&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Always double-check your settings before hitting Send.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Can I Try This Myself?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Yes, if you’re curious and want to see this in action, here’s a safe, free way to experiment using a test network.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install MetaMask&lt;/strong&gt; browser extension
&lt;/li&gt;
&lt;li&gt;Create a new wallet and save your secret phrase securely
&lt;/li&gt;
&lt;li&gt;Add &lt;strong&gt;Lisk Sepolia&lt;/strong&gt; as a custom network
&lt;/li&gt;
&lt;li&gt;Get free test tokens from the &lt;a href="https://faucet.sepolia.lisk.com" rel="noopener noreferrer"&gt;L2 Faucet&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Use MetaMask to send a small token to yourself
&lt;/li&gt;
&lt;li&gt;Go to &lt;a href="https://sepolia-blockscout.lisk.com" rel="noopener noreferrer"&gt;LiskScan&lt;/a&gt; and look up your wallet address
&lt;/li&gt;
&lt;li&gt;See your transaction as it appears on-chain&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This gives you a hands-on feel for how blockchain transactions work.&lt;/p&gt;

&lt;p&gt;Or, if this still feels early, you can just keep learning. Later articles will help build your confidence.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;What’s Next?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I’d really appreciate your questions or feedback. Did something confuse you? Let me know. Your insights help shape the next articles.&lt;/p&gt;

&lt;p&gt;Also, if there’s a non-Web3 topic you want me to cover (open source, side projects, etc), drop a comment below. If I know it, I’ll write about it. If not, I’ll point you to a good place to begin.&lt;/p&gt;




&lt;h2&gt;
  
  
  🤝 Stay in Touch
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/hemapriya-kanagala" rel="noopener noreferrer"&gt;Follow me on GitHub&lt;/a&gt; for projects and experiments
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.linkedin.com/in/hemapriya-kanagala/" rel="noopener noreferrer"&gt;Connect with me on LinkedIn&lt;/a&gt; - I’d love to hear from you
&lt;/li&gt;
&lt;li&gt;Drop a comment or message if something clicked or confused; I read all of them.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>blockchain</category>
      <category>web3</category>
      <category>cryptocurrency</category>
      <category>beginners</category>
    </item>
    <item>
      <title>A Beginner’s Guide to How Blockchain Actually Works</title>
      <dc:creator>Hemapriya Kanagala</dc:creator>
      <pubDate>Fri, 18 Jul 2025 22:44:47 +0000</pubDate>
      <link>https://forem.com/hemapriya_kanagala/beginners-guide-to-blockchain-how-it-actually-works-and-why-it-matters-2ccb</link>
      <guid>https://forem.com/hemapriya_kanagala/beginners-guide-to-blockchain-how-it-actually-works-and-why-it-matters-2ccb</guid>
      <description>&lt;p&gt;If you've ever heard the word "blockchain" and thought, “Sounds complicated... probably not for me,” you're not alone. That was me too, not long ago. But the more I dug in, the more I realized it’s not some far-off concept meant only for coders or finance experts. It’s actually a simple idea that has the potential to change how we do things online, from sending money to keeping records and building apps.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;What Is Blockchain?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Think of a digital notebook shared by many people at once. Every time someone records a transaction, it shows up instantly in everyone’s copy. No one can delete past entries or alter them without being noticed.&lt;/p&gt;

&lt;p&gt;That unchangeable, transparent, shared structure is essentially what blockchain is. The participants all maintain it - no single person owns it. That’s what “decentralized” means.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Why Does It Matter?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Today, we depend on systems like banks, messaging platforms, or organizations to handle transactions, verify identities, or secure agreements. These intermediaries add layers of trust, fees, and delays.&lt;/p&gt;

&lt;p&gt;Blockchain removes those layers by embedding trust in the system itself. People call it “trustless,” meaning you don’t have to rely on a central authority. The rules are enforced by the entire network.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;How Blocks Form a Chain&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;A block is simply a collection of data - commonly a group of transactions. Inside each block you’ll find:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The details of what happened
&lt;/li&gt;
&lt;li&gt;A timestamp
&lt;/li&gt;
&lt;li&gt;A unique digital signature (called a hash)
&lt;/li&gt;
&lt;li&gt;A reference to the previous block’s hash
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Linking blocks this way creates a chain. If someone tampers with a block, its hash changes and eventually the links break. That’s what makes the blockchain secure.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;How the Network Decides What’s Real&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Without a central authority, blockchains rely on a system called &lt;strong&gt;consensus&lt;/strong&gt;. All participants (called &lt;strong&gt;nodes&lt;/strong&gt;) follow a set of rules to verify transactions and add new blocks.&lt;/p&gt;

&lt;p&gt;Here are two popular methods:&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Proof of Work&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Miners compete to solve a math problem. Whoever solves it adds the next block and earns a reward. This method secures the network but uses a lot of energy.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Proof of Stake&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Participants lock up some of their coins as collateral. The network chooses one to add the next block. This method is faster and uses far less energy.&lt;/p&gt;

&lt;p&gt;Most newer networks like Ethereum and Lisk use Proof of Stake today.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Public vs. Private Blockchains: What’s the Difference?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Some blockchains are open to anyone. Others are private and used within companies.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Public Blockchain&lt;/th&gt;
&lt;th&gt;Private Blockchain&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Who can use it?&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Anyone&lt;/td&gt;
&lt;td&gt;Only approved users&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Who controls it?&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No one&lt;/td&gt;
&lt;td&gt;One organization&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Examples&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Bitcoin, Ethereum&lt;/td&gt;
&lt;td&gt;Hyperledger, Corda&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Public ones are like a &lt;strong&gt;public park&lt;/strong&gt;. Anyone can enter and use it.&lt;br&gt;&lt;br&gt;
Private ones are more like an &lt;strong&gt;office building&lt;/strong&gt;. You need a keycard.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Quick Pause: What About Security?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;One word: &lt;strong&gt;cryptography&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Blockchains use strong math-based tools to keep things safe. Each user has two keys:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;public key&lt;/strong&gt;, which is like your email address (you can share it)
&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;private key&lt;/strong&gt;, which is like your password (you never share it)
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Together, these keys help verify that transactions are real. If someone sends money, their private key is used to “sign” the transaction, proving it came from them.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Smart Contracts: Programs That Run Themselves&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This part blew my mind the first time I understood it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Smart contracts&lt;/strong&gt; are self-executing agreements written in code. They live on the blockchain, and when conditions are met, they act on their own.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Let’s say you hire a freelancer online. Instead of using a middleman to hold the payment, you create a smart contract. When the work is marked as done, the money automatically goes to the freelancer.&lt;/p&gt;

&lt;p&gt;No one can interfere. The contract is the boss.&lt;/p&gt;

&lt;p&gt;Smart contracts are being used in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;DeFi (decentralized finance)
&lt;/li&gt;
&lt;li&gt;NFT marketplaces
&lt;/li&gt;
&lt;li&gt;Blockchain-based games
&lt;/li&gt;
&lt;li&gt;Digital voting
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Challenges and Real Solutions&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Blockchain sounds amazing, but it’s not perfect. Here are a few issues and how developers are solving them.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. &lt;strong&gt;Scalability&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Popular blockchains can get congested and slow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Use &lt;strong&gt;Layer 2&lt;/strong&gt; tools, like rollups, which process transactions more efficiently. Think of it like adding an express lane to a busy highway.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. &lt;strong&gt;Energy Use&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Proof of Work blockchains use a ton of power.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Moving to &lt;strong&gt;Proof of Stake&lt;/strong&gt; reduces energy use by over 90 percent. Ethereum already made this change.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. &lt;strong&gt;Regulations&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Governments are still figuring out how to handle crypto and blockchain legally.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
New laws are being written, and tools like &lt;strong&gt;Decentralized Identity (DID)&lt;/strong&gt; are helping users stay compliant while protecting privacy.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;What Is the Superchain?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Some projects, like those based on the &lt;strong&gt;OP Stack&lt;/strong&gt;, aim to connect blockchains together so they can share updates and improvements. &lt;strong&gt;Lisk&lt;/strong&gt; is part of this vision. The idea is a flexible, scalable, cooperative network of blockchains.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;How to Begin Yourself&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;You don’t need coding skills to try it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install &lt;a href="https://metamask.io/" rel="noopener noreferrer"&gt;MetaMask&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Create a wallet and save your recovery phrase
&lt;/li&gt;
&lt;li&gt;Add the Lisk Sepolia test network
&lt;/li&gt;
&lt;li&gt;Get free tokens from &lt;a href="https://www.l2faucet.com/lisk" rel="noopener noreferrer"&gt;L2 Faucet&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Send a token to yourself or a friend
&lt;/li&gt;
&lt;li&gt;See the transaction on a blockchain explorer
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You’ve now used a blockchain.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Summary&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Blockchain is a secure, shared digital record
&lt;/li&gt;
&lt;li&gt;It’s decentralized - no single owner
&lt;/li&gt;
&lt;li&gt;Blockchains use cryptography and consensus to stay honest
&lt;/li&gt;
&lt;li&gt;Smart contracts let you automate agreements
&lt;/li&gt;
&lt;li&gt;There are challenges, but active solutions exist
&lt;/li&gt;
&lt;li&gt;You can try blockchain yourself without cost
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;What Comes Next&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In the next article, we’ll dive into what happens when you send a transaction - from your wallet all the way to confirmation on the blockchain.&lt;/p&gt;

&lt;p&gt;I’d really appreciate your questions or feedback. Did something confuse you? Let me know. Your insights help shape the next articles.&lt;/p&gt;

&lt;p&gt;Also, if there’s a non-Web3 topic you want me to cover (open source, side projects, etc), drop a comment below. If I know it, I’ll write about it. If not, I’ll point you to a good place to begin.&lt;/p&gt;




&lt;h2&gt;
  
  
  🤝 Stay in Touch
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/hemapriya-kanagala" rel="noopener noreferrer"&gt;Follow me on GitHub&lt;/a&gt; for projects and experiments
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.linkedin.com/in/hemapriya-kanagala/" rel="noopener noreferrer"&gt;Connect with me on LinkedIn&lt;/a&gt; - I’d love to hear from you
&lt;/li&gt;
&lt;li&gt;Drop a comment or message if something clicked or confused; I read all of them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;See you in Article 2.&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>web3</category>
      <category>beginners</category>
      <category>cryptocurrency</category>
    </item>
  </channel>
</rss>
