<?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 Javan Otieno on Medium]]></title>
        <description><![CDATA[Stories by Javan Otieno on Medium]]></description>
        <link>https://medium.com/@javan.o.otieno?source=rss-2dba379f50b9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*i59HOMm9ICkEpBuL</url>
            <title>Stories by Javan Otieno on Medium</title>
            <link>https://medium.com/@javan.o.otieno?source=rss-2dba379f50b9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 01:03:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@javan.o.otieno/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[Introducing Zen: Kenya’s AI-Powered Mental Health Chatbot]]></title>
            <link>https://medium.com/@javan.o.otieno/introducing-zen-kenyas-ai-powered-mental-health-chatbot-8ba29cbac104?source=rss-2dba379f50b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ba29cbac104</guid>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Javan Otieno]]></dc:creator>
            <pubDate>Thu, 05 Jun 2025 05:32:42 GMT</pubDate>
            <atom:updated>2025-06-05T05:32:42.447Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pkaS8XF3-GvtoLJN5xzbmg.jpeg" /></figure><p>In Kenya, millions of people struggle with mental health challenges — but most have little to no access to professional care. With only around 130 psychiatrists serving over 50 million people, especially in rural and underserved areas, the gap between need and support is massive. That’s where <strong>Zen</strong> comes in.</p><p>Zen is not just another chatbot. It’s a <strong>privacy-first, AI-driven mental health assistant</strong> built for the Kenyan context. Combining powerful language models with real-world mental health knowledge, Zen provides confidential, compassionate support to users anytime, anywhere — even with limited internet access.</p><h3>Why Zen?</h3><p>Most AI chatbots are good at conversation, but they aren’t built for mental health. They often:</p><ul><li><strong>Forget context</strong> in long chats</li><li><strong>Give inaccurate or generic advice</strong></li><li><strong>Lack local or cultural understanding</strong></li><li><strong>Ignore privacy concerns</strong></li></ul><p>Zen was created to address these problems head-on.</p><p>Built using <strong>Large Language Models (LLMs)</strong> enhanced by <strong>Retrieval-Augmented Generation (RAG)</strong>, Zen brings together advanced AI and trusted mental health information. That means users get responses backed by real resources — not just guesses from a model.</p><h3>Made for Kenya, with Kenya in Mind</h3><p>Zen stands out because it’s <strong>designed specifically for Kenyan users</strong>. That means:</p><ul><li>Context-aware answers based on Kenyan realities</li><li>Low-resource design that works on older phones and slow connections</li><li>Access to <strong>local crisis resources and coping strategies</strong></li></ul><p>Whether you’re in Nairobi or a remote village, Zen aims to be there for you.</p><h3>How Does Zen Work?</h3><p>Zen’s system is made up of several key pieces, working seamlessly together:</p><ol><li><strong>User sends a message</strong>: Through a friendly web interface (built with Next.js), users can ask questions or talk about how they’re feeling.</li><li><strong>Backend receives and filters the message</strong>: Using Django, the system removes personal data (like names or phone numbers) to protect privacy.</li><li><strong>Retrieval-Augmented Generation (RAG) kicks in</strong>: Instead of relying only on the AI’s memory, Zen searches a vector database filled with verified Kenyan mental health content — like tips, support guidelines, and resources.</li><li><strong>LLM creates a response</strong>: With the question and helpful context, the AI crafts a response that’s thoughtful, empathetic, and accurate.</li><li><strong>Response is filtered again for safety</strong>: Before the reply reaches the user, it’s checked for potentially harmful or unsafe content.</li><li><strong>User gets a safe, supportive reply</strong>: The message arrives, and the conversation continues — safely, securely, and instantly.</li></ol><h3>Built with Trust and Technology</h3><p>Behind the scenes, Zen is powered by:</p><ul><li><strong>Django</strong>: A secure backend framework for managing privacy and logic</li><li><strong>Next.js</strong>: A fast, mobile-friendly frontend</li><li><strong>Vector database</strong>: For semantic search of real Kenyan mental health materials</li><li><strong>PostgreSQL</strong>: For storing cleaned, anonymized data</li><li><strong>LLM </strong>: Configured to be kind, safe, and non-diagnostic</li></ul><p>Every step of Zen’s process prioritizes <strong>user safety, trust, and control</strong>.</p><h3>Addressing the Hard Stuff</h3><p>Zen isn’t perfect — and that’s something we take seriously. Some ongoing challenges we’re working to solve:</p><ul><li><strong>Cultural nuances</strong>: AI can struggle with local expressions or values. We plan to fine-tune our models using Kenyan data, including Swahili and local dialects.</li><li><strong>Privacy risks</strong>: Even after removing names, patterns in conversations could pose risks. We’re exploring advanced protections like <strong>differential privacy</strong>.</li><li><strong>Crisis handling</strong>: Zen isn’t a replacement for emergency services. But we’re building smarter ways to recognize and respond to crisis language fast.</li><li><strong>Long-term support</strong>: LLMs forget over time. We’re working on better tools to help Zen remember the bigger picture in ongoing conversations.</li></ul><h3>The Road Ahead</h3><p>Zen is just getting started. In the coming months, we aim to:</p><ul><li>Train models using more <strong>Kenyan-specific mental health data</strong></li><li>Support <strong>voice input</strong> for users who prefer talking over typing</li><li>Create faster crisis <strong>escalation pathways</strong></li><li>Ensure fairness across <strong>age, gender, region, and language</strong></li></ul><h3>Final Thoughts</h3><p>Mental health support should be available to everyone — not just the few who can afford it or live in big cities.</p><p>Zen shows what’s possible when modern AI is designed <strong>with empathy, ethics, and local context in mind</strong>. With thoughtful design, advanced tech, and community-centered goals, we believe Zen can help close the mental health gap in Kenya and beyond.</p><p>If you’re a researcher, developer, mental health expert, or someone who believes in accessible support — we’d love to hear from you.</p><p><strong>Let’s build a healthier, more supported future — together.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ba29cbac104" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Insights from Samuel Kamochu’s Talk on Building Enterprise Software]]></title>
            <link>https://medium.com/@javan.o.otieno/insights-from-samuel-kamochus-talk-on-building-enterprise-software-c2b308be9599?source=rss-2dba379f50b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2b308be9599</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[jhub]]></category>
            <category><![CDATA[jkuat]]></category>
            <category><![CDATA[enterprise-software]]></category>
            <dc:creator><![CDATA[Javan Otieno]]></dc:creator>
            <pubDate>Fri, 26 Jul 2024 08:13:35 GMT</pubDate>
            <atom:updated>2024-07-26T08:13:35.089Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently had the privilege of attending an enlightening talk by Samuel Kamochu from Meliora at JHUB Africa. The session focused on building enterprise software, emphasizing crucial aspects that go beyond mere coding. Here are the key takeaways from this insightful session.</p><p><strong>The Software Building Process: More Than Just Coding</strong></p><p>Kamochu stressed that a well-defined software building process is fundamental to creating successful enterprise solutions. He outlined Meliora’s approach:</p><ol><li>Requirements Analysis: Thoroughly understanding client needs</li><li>Design: Creating detailed system architectures before coding</li><li>Development: Using agile methodologies for flexible, iterative progress</li><li>Testing: Implementing rigorous testing at each stage</li><li>Deployment: Ensuring smooth transitions to production</li><li>Post-launch Review: Continuously improving the process</li></ol><p>This structured approach, Kamochu explained, helps manage complex projects efficiently and ensures high-quality outcomes.</p><p><strong>Prioritizing Software Reliability</strong></p><p>One of the most striking points of the talk was the emphasis on software reliability. Kamochu highlighted that in enterprise environments, system failures can lead to significant financial losses. He shared some of Meliora’s strategies for enhancing reliability:</p><ul><li>Comprehensive error handling and logging</li><li>Extensive testing, including stress tests</li><li>Implementing redundancy in critical systems</li><li>Continuous performance monitoring</li></ul><p><strong>The Security Imperative</strong></p><p>In today’s threat landscape, Kamochu emphasized that security is non-negotiable. He outlined several key practices:</p><ul><li>Regular security audits and penetration testing</li><li>Implementing robust encryption and authentication</li><li>Keeping all systems updated</li><li>Ongoing security training for development teams and users</li></ul><p>This security-first approach resonated with many of us, especially given the rising cybersecurity concerns in the industry.</p><p><strong>The Often Overlooked Aspect: Maintenance</strong></p><p>Perhaps the most eye-opening part of the talk was about software maintenance. Kamochu pointed out that many developers focus solely on the initial release, overlooking the crucial ongoing maintenance. He stressed that maintenance is vital for:</p><ul><li>Addressing emerging bugs and security issues</li><li>Adding new features to meet evolving needs</li><li>Ensuring compatibility with new technologies</li><li>Optimizing performance based on real-world usage</li></ul><p>As students, this perspective on the software lifecycle beyond the initial development phase was particularly valuable.</p><p><strong>Conclusion</strong></p><p>Samuel Kamochu’s talk at JHUB was a wake-up call for many of us aspiring software developers. It highlighted that building enterprise software is a multifaceted process that extends far beyond writing code. The emphasis on a structured development process, reliability, security, and ongoing maintenance provided a holistic view of what it takes to create and sustain successful enterprise software solutions.</p><p>This session has significantly broadened my perspective on software development. As I continue my studies at JKUAT, I’ll certainly be paying more attention to these crucial aspects of software engineering. The insights from industry professionals like Kamochu are invaluable in bridging the gap between academic learning and real-world application.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2b308be9599" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Glimpse into the Future: Visiting JKUAT Industrial Park Assembly Line]]></title>
            <link>https://medium.com/@javan.o.otieno/a-glimpse-into-the-future-visiting-jkuat-industrial-park-assembly-line-054380a56044?source=rss-2dba379f50b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/054380a56044</guid>
            <category><![CDATA[assembly-line]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[jkuat]]></category>
            <category><![CDATA[kenya]]></category>
            <category><![CDATA[jhub]]></category>
            <dc:creator><![CDATA[Javan Otieno]]></dc:creator>
            <pubDate>Fri, 26 Jul 2024 06:35:25 GMT</pubDate>
            <atom:updated>2024-07-26T06:35:25.805Z</atom:updated>
            <content:encoded><![CDATA[<p>Last month, as part of an attachment group at JHUB Africa, I had the privilege of visiting the JKUAT Industrial Park Limited Taifa Laptop and Tablet Assembly. This enlightening tour was not just an educational excursion but an eye-opener to the intricacies and innovations in modern manufacturing.</p><p><strong>Project-Based Production and Standard Operating Procedures</strong> One of the standout features of the assembly plant is its project-based production model. Major projects such as The Digital Learning Program and The Taifa Tablet used during the 2019 National Census were highlighted. Each project begins with the development of a Standard Operating Procedure (SOP), ensuring consistency, efficiency, and quality control. These SOPs cover every step of the assembly process, from initial power boost and labeling to software installation and final packaging.</p><p><strong>Precision and Advanced Technology</strong> The assembly line is a marvel of modern engineering, combining state-of-the-art technology with professional craftsmanship. An advanced pneumatic system, using compressed air and sensors, moves devices along the line with precision. This automation enhances efficiency and minimizes human error. The process of loading operating systems onto the laptops is also automated, creating a symphony-like effect as rows of devices come to life simultaneously.</p><p><strong>Quality Control and Cleanliness</strong> Maintaining high cleanliness standards is crucial to prevent static charges that could damage the devices’ motherboards. Every laptop undergoes advanced diagnostic tests and visual inspections to ensure each component functions flawlessly. This rigorous quality control process is akin to a chef tasting every dish before it leaves the kitchen, guaranteeing that only the best products reach the consumer.</p><p><strong>Teamwork and Human Expertise</strong> Beyond technology and automation, the human element plays a crucial role. The assembly process is divided into groups, each responsible for specific tasks. This division of labor not only enhances efficiency but also fosters a collaborative work environment. The power of teamwork was evident throughout the plant, showcasing how human expertise complements technological advancements.</p><p><strong>Hands-On Learning Experience</strong> The visit included a hands-on workshop at the assembly site. Guided by skilled technicians, we gained practical insights into computer hardware assembly, experiencing firsthand the meticulous process of building a laptop from scratch. This deepened our appreciation for the complexity and precision involved in modern manufacturing.</p><p><strong>Packaging and Delivery</strong> After passing all quality inspections, the laptops are carefully packaged for delivery. This final step ensures that every product is safe in transit, maintaining the commitment to excellence from the plant to the end-user.</p><p><strong>Conclusion</strong> This visit to the JKUAT Industrial Park was more than just an educational tour; it was an inspirational journey into the future of technology and manufacturing. Witnessing the seamless blend of automation and human expertise provided profound insights into the meticulous processes that bring our everyday devices to life. It was an invaluable experience that has enriched our academic journey and prepared us for future careers in the technology and manufacturing sectors.</p><p>We extend our sincere gratitude to JHUB Africa and the team at JKUAT Industrial Park Limited for their hospitality and the opportunity to learn from their operations. This experience has given us a newfound appreciation for the laptops and tablets we often take for granted.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=054380a56044" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What really happens when you type https://www.google.com in your browser and press Enter.]]></title>
            <link>https://medium.com/@javan.o.otieno/what-really-happens-when-you-type-https-www-google-com-in-your-browser-and-press-enter-2135a3db33ad?source=rss-2dba379f50b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/2135a3db33ad</guid>
            <dc:creator><![CDATA[Javan Otieno]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 20:37:02 GMT</pubDate>
            <atom:updated>2023-07-17T14:32:29.912Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re like me you’ve probably grown up around computers and maybe the internet. Today we’ll take a deep dive into the mysterious world of what happens to you’re browser when you type <a href="https://www.google.com./">https://www.google.com.</a></p><p>Before we begin we need to understand a concept known as client-server architecture. I know most of us have heard about servers but might not exactly know what they are or how they work (More on that later). In our case, the client is your browser (or any device requesting for a resource from another computer) and the server is google’s computer (the device accepting requests, evaluating them and sending back a response). Think of it like you sending a letter to an institution and expecting a response from them. Sound simple enough but hold that thought.</p><p>Before you send the letter you need to know what the company’s address is. For that reason, DNS was born.</p><h3><strong>Domain Name System (DNS)</strong></h3><p>A domain name is just a name given to a server in our case <a href="http://www.google.com./">www.google.com.</a> Makes it easier to remember than 172.217.170.174. That weird number is what we call an IP address. Think of your phonebook. Every contact you’ve saved is a phone number associated with a name. You don’t have to remember everyone’s phone number, just their name.</p><p>DNS does the same exact thing I just stores a list of domain names and IP addresses associated with it. This process involves a series of steps which I won’t go so much into details about but will simply go over it just for you to have a feel of the process.</p><ul><li>The browser checks it’s local cache in case it has visited www.google.com before. If not we go to step 2.</li><li>It checks the systems cache. (Read about the hosts file).</li><li>Sends a request to a DNS server configured by your ISP (Internet service provider).</li><li>It then goes through a series of other servers trying to get the ip address. and it eventually finds it. You can read more on the exact steps <a href="https://www.cloudflare.com/learning/dns/what-is-dns/">here</a>.</li></ul><p>At the end of all that, the domain name is finally resolved to an IP address such as the one I gave earlier.</p><p>Now that we have an address, it’s time to make the actual request.</p><h3><strong>TCP/IP</strong></h3><p>For most of the requsts and responses on the internet to happen, you need some sort of road/tunnel for it to happen. That “road” connects your browser to google’s servers for communication to happen. For this to happen, TCP was invented.</p><p>TCP stands for Transmission Control Protocol. It defines a set of rules on how transportation happens on the internet. There also exists a sister protocol (UDP, User Datagram Protocol) that does the same thing but for our case we’ll just focus on TCP.</p><p>For a TCP connection to be established, we need the IP address we got from the DNS resolution and a port to connect to. Since we are using https, our browser will default to port 443. If we were using http, that would be port 80. These values are not cast on stone and can be configured differently. The connection bind the IP address to the port and we end up with something like 172.217.170.174:443</p><p>A connection happens through what we call a 3 way handshake. The details on that is beyond this post’s scope but feel free to read up more on that <a href="https://www.geeksforgeeks.org/tcp-3-way-handshake-process/">here</a>.</p><p>Now that we have a connection we can start sending requests to the server.</p><h3>Firewall</h3><p>The firewall is a network security device that monitors and controls incoming and outgoing network traffic. It acts as a barrier between your computer and the internet, preventing unauthorized access and protecting the server from malicious traffic. The firewall uses a set of rules to allow or block traffic based on its source, destination, and type. In the case of Google, the firewall ensures that only legitimate traffic is allowed into the network.</p><h3>HTTPS/SSL</h3><p>HTTPS/SSL is a security protocol that encrypts your communication with the server, ensuring that no third party can intercept and read your data. This encryption process involves exchanging keys between your computer and the server, which are used to encrypt and decrypt the data. HTTPS/SSL is widely used by websites that require secure communication, such as online banking and e-commerce sites.</p><h3>Load-balancer</h3><p>A load-balancer is a device or software that distributes incoming network traffic across multiple servers to ensure that no single server is overloaded. In the case of Google, the load-balancer receives incoming requests from your web browser and forwards them to one of the many web servers that host the Google homepage. This distribution of traffic helps to ensure that the website can handle a large number of requests without slowing down or crashing.</p><h3>Web server</h3><p>A web server is a computer program that serves web pages to clients, such as your web browser. When your request reaches the web server, it processes the request and sends back the HTML, CSS, and JavaScript files that make up the Google homepage. The web server uses various software programs and protocols, such as Apache, Nginx, and HTTP, to handle incoming requests and send back responses.</p><h3>Application server</h3><p>An application server is a software framework that provides a platform for developing, deploying, and running web applications. In the case of Google, the application server contains the logic for processing your search query. The application server uses various algorithms to analyze your query and retrieve relevant results from the Google database. The application server also manages the interaction between the web server and the database.</p><h3>Database</h3><p>A database is a collection of data that is organized and stored in a structured format. In the case of Google, the database contains a vast amount of data, including web pages, images, videos, and other content. When your search query reaches the application server, it fetches the relevant data from the database, formats it into a usable format, and sends it back to your web browser. The database is a critical component of the Google search engine, as it stores and manages the vast amount of data that is available on the internet.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2135a3db33ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>