
My Experiences
Develop and maintain Android applications, internal PDF solutions, and application catalog systems. Build reusable SDKs, integrate payment and printing APIs for Android POS systems, and improve software reliability through unit and integration testing while supporting production applications used by SMEs and SACCOs in Kenya.
Involved in the development, testing, and maintenance of Android applications including Mobitill Donda, Mobitill Epesi Client, and Smart POS retail applications. Contributed to applications actively used by businesses and financial institutions while gaining practical experience in software engineering and mobile application development.
Developed automation scripts executed through Linux cron jobs, enhanced Spring Boot application architecture, designed web applications using DataTables, implemented REST APIs, and built Python-based tools that automated data retrieval and storage within PostgreSQL and Django-powered systems.
Design and develop Android and cross-platform mobile applications using Kotlin and Flutter while implementing MVP and MVVM architectures. Integrate REST APIs and third-party SDKs, develop reusable payment and utility SDKs and internal tools, improve application quality through testing, automate operational processes, and coordinate engineering activities using Jira, Trello, and Slack.
Projects
RSS Feed Reader
RSS (Really Simple Syndication) feed reader is a simple Python tool that can be used to aggregate feeds from a blog, website or podcast and saves this data in a databases. This helps to easily keep track of favorite sites while receiving customized updates of the news outlets or topics registered.
This project was built in an attempt to create a backend service and application to keep track of feeds a user would like to keep up with based on unique topics (eg. sports, politics, or titles such as those for podcast and music)
Data flow
- User registers a feed by providing a URL of the feed.
- Each RSS feed registered has a topic that is registered as single schedule so a scheduler is created to track updates from the feed.
- Backend service that aggragates data from the feed and saves the data on a database for every scheduled interval.
- A message stream is registered to track new entries and sends a notification to the user via email, sms or push notification.
- REST APIs are used to retrieve data from the database, feeding the user details about the feed and its updates through an application.
- The user receives feeds/updates and opens the article or navigate to their favorite browser to enjoy a good read or video.
System Requirements
Features
Reader
Reader creates a simple command line application that gets inputs from the user. Accepts RSS URL, loads the downloaded xml and deserializes the response into objects which are persisted into a database.
Scheduling Tool
Creates a cron job for each topic and RSS feeds to check for new post or feed. Publish messages to Apache Kafka to notify consumers of updates or new Feeds.
RSS Reader Application
This application consumes the messages, receives feeds from the cron jobs by registering kafka topics. This application receives these feeds in real time.
For months, I had been hard at work developing, perfecting this portfolio to sort of fit a particular set of arbitrary ideas I had. For months these arbitrary ideas had been taking shape. This project hoped to create a portfolio with a simple CRM to manage and store articles, portfolio information such as experience, tech stack, projects and achievements. My efforts have been futile, as you can see the design is awful, but I have made strides.
The Engine & it's Parts
The portfolio is built using popular technologies including; AngularJS Material,
Firebase,
Markdown,
Bootstrap and a few more libraries. The project consists of two distinct user flows; Admin/CRM/back-office user flow that manages the data and the portfolio that renders the pages your are now reading this article from.
Admin
The admin implements authentication and authorization through Firebase Authentication services. Some admin features include a login screen, logout button, side navigation and an Editor. Emphasis on the editor. It consists of an editor tool bar, from @github/markdown-toolbar-element, helping a whole lot during writing impressive articles such as this one. ;)
What's next?
As much as I would like to. This can never get to perfection, but I strive to build it with every code and wit.
Crypt Code, which is the subtle name for the app, is a simple application that has incorporated a few technologies to build and also manage its DevOps operations. They include;
- GitHub Actions - integrates with GCP to automate deployment and offer continuous integrations. (Ref: Automating Success: GitHub Actions Workflow for Android App Deployment)
- GCP - for continuous deployments
- Android KeyStore - used to decrypt and encrypt your passwords so that data is stored securely on the device.
- Android SDK
- Material Design - that allows the app to adapt to a device's system theme preferences.
Features
Create passwords
Users can generate passwords, of as many characters as they want, containing special characters, numbers, capital and small letters. These are preferences that you can toggle when generating a new password or updating you account's passwords.
I will admit working with cryptography was challenging, but at the least I can acknowledge that I learnt and implemented it in a mobile app. I wrote a technical write up detailing the security protocols and architectures.
What's Next
- Allow the app to adapt to user device's color schemes, for example adapting app's color based on user's wallpaper, and
- Make the app available to iOS users.
Look! This is an application I built a few years back after I thought I could not trust any Password Managers out there. I'm not asking that you use it. I am asking that you try it. Let me know what you think.
Crypt Code on Play Store
UPDATES
Password backups
Crypt Code generates a unique passphrase used to generate keys to encrypt backed up passwords.
Passwords Restoring
Crypt Code also allows the user to enter the unique passphrase previously used to backup the passwords. I implemented BIP39 Standard, a standard that:
...describes the implementation of a mnemonic code or mnemonic sentence -- a group of easy to remember words -- for the generation of deterministic wallets(or keys).
Command Line Application Menu (Interface)
A python module that contains a class to that help manage command line application menu.
An Example of a command line interface:
Application to generate the fibonacci sequence
Choose an option below:
0. Exit
1. Recursive Function
2. For Loop
Usage
Install the package
pip install commons-benatt @ git+ssh://git@github.com/ben-mathu/idea-bag-solutions/@ba19c1c9f8c41a023d48da3dbfb27aecb564e521#subdirectory=common
Import the package
from program_menu import MainMenu
options = {
0: "Exit",
1: "Recursive Function",
2: "For Loop"
}
menu = MainMenu(options=options)
while (menu.get_selected_option() != 0):
menu.show_options()
menu.set_selected_option(int(input('\n>> ')))
if menu.get_selected_option() == 1:
use_recursive()
elif menu.get_selected_option() == 2:
use_for_loop()
print('Bye')
Business Cards
An open-source Android application designed to bring back contact card sharing and business card management without privacy hurdles, subscription paywalls, or third-party cloud lock-in.
Architecture & Key Components
The app uses a direct-to-database architecture consuming Room ORM with zero network overhead.
1. Data Transfer Objects (DTO)
Located in com.benatt.businesscards.data.dto:
VCardDto: Comprehensive model implementingjava.io.Serializable, fully compliant with RFC 2426 (vCard 3.0) and RFC 6350 (vCard 4.0).- Identification:
uid,formattedName(FN),name(N),nickname. - Organization:
organization(ORG),title,role. - Contacts:
phones(TEL),emails(EMAIL),addresses(ADR),websites(URL),socialProfiles(X-SOCIALPROFILE). - Media & Location:
photoUri,logoUri,geo(coordinates),timezone. - Metadata:
birthday,anniversary,note,categories,revision,customFields.
- Identification:
- Sub-DTOs:
VCardNameDto,OrganizationDto,PhoneDto,EmailDto,AddressDto,WebDto,SocialProfileDto,GeoLocationDto. - Enums:
PhoneType,EmailType,AddressType,WebType,SocialPlatform.
2. VCard Parser & Serializer
Located in com.benatt.businesscards.data.parser:
VCardParser:parse(inputStream: InputStream): List<VCardDto>parse(file: File): List<VCardDto>parse(vCardText: String): List<VCardDto>parseSingle(vCardText: String): VCardDto?- Features: Handles multi-card
.vcfstreams, RFC multiline unfolding (lines indented with space/tab), escape character decoding (\,,\;,\\,\n), and property parameter parsing (TYPE=CELL,PREF,TYPE=WORK).
VCardSerializer:serialize(card: VCardDto): StringserializeAll(cards: List<VCardDto>): String- Converts cards back into standard RFC vCard text for export or sharing.
3. Room ORM Persistence Layer
Located in com.benatt.businesscards.data.local:
VCardEntity(entity/VCardEntity.kt):- Primary Key:
id: String(UUID / UID). - Indexed columns for fast search:
formattedName,primaryPhone,primaryEmail,organization. - Preserves the original raw
.vcftext inrawVcffor lossless export. - Conversion helpers:
entity.toDto()andVCardEntity.fromDto(dto, rawVcf).
- Primary Key:
VCardTypeConverters(converter/VCardTypeConverters.kt):- High-performance, zero-dependency serialization for lists (phones, emails, addresses, social profiles, categories) using ASCII Record and Unit delimiters (
\u001Eand\u001F).
- High-performance, zero-dependency serialization for lists (phones, emails, addresses, social profiles, categories) using ASCII Record and Unit delimiters (
VCardDao(dao/VCardDao.kt):- CRUD:
insertCard(),insertCards(),updateCard(),deleteCard(),deleteCardById(). - Reactive Queries:
getAllCards(): Flow<List<VCardEntity>>,searchCards(query): Flow<List<VCardEntity>>.
- CRUD:
AppDatabase(AppDatabase.kt):- Singleton Room database instance configured for SQLite.
4. Direct DAO Importer
Located in com.benatt.businesscards.data.local:
VCardImporter:dao.importAndSaveFromIntent(context, intent): Automatically inspects incoming AndroidIntent(from share sheet or file viewer) and saves all cards to Room.dao.importAndSaveVcf(context, uri): Reads directly from a Content or File URI.dao.importAndSaveVcf(inputStream): Reads directly from an input stream.dao.importAndSaveVcf(vcfContent): Reads directly from a raw vCard text string.
Usage Examples
1. Handling Shared .vcf in MainActivity
import android.content.Intent
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.lifecycle.lifecycleScope
import com.benatt.businesscards.data.local.AppDatabase
import com.benatt.businesscards.data.local.importAndSaveFromIntent
import kotlinx.coroutines.launch
class MainActivity : ComponentActivity() {
private val vCardDao by lazy {
AppDatabase.getInstance(applicationContext).vCardDao()
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
handleIncomingVcf(intent)
}
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
setIntent(intent)
handleIncomingVcf(intent)
}
private fun handleIncomingVcf(intent: Intent?) {
lifecycleScope.launch {
val importedCards = vCardDao.importAndSaveFromIntent(applicationContext, intent)
if (importedCards.isNotEmpty()) {
// Cards are now saved in Room and ready to display
}
}
}
}
2. Reading from File Picker / URI
val vCardDao = AppDatabase.getInstance(context).vCardDao()
lifecycleScope.launch {
val importedCards = vCardDao.importAndSaveVcf(context, selectedUri)
}
3. Observing Saved Cards in Jetpack Compose / ViewModel
val vCardDao = AppDatabase.getInstance(context).vCardDao()
// Observe all cards sorted by name
val cardsFlow = vCardDao.getAllCards()
// Live contact search
val searchFlow = vCardDao.searchCards(searchQuery)
Building an Emergency Response Management System: From SOS Reporting to Real-Time Response
For a few months I have been working on an Emergency Response Management System designed to streamline how emergencies are reported, verified, assigned and managed.
The project was driven by the need for a centralised platform that connects people reporting emergencies with institutions responsible for responding to them. Rather than treating emergency reporting as an isolated action, the system provides a structured workflow that allows incidents to be tracked from submission through to resolution.
Architecture and Technology Stack
The backend was developed using Spring Boot (Java/Kotlin), with PostgreSQL as the primary database. An isolated PostgreSQL database was an important component to allow data persistence and retention during backend rebuilds. The mobile and web application was built using Flutter, providing a cross-platform interface for users to report and manage emergency incidents.
A key architectural decision was adopting a modularised monolithic architecture. The backend and the frontend is organised into distinct modules, each responsible for a specific area of the application. This provides separation of concerns and makes the source code easier to maintain, test and extend, while retaining the simplicity of a single deployable application. This was not the considered approach in the beginning, but I have since loosened up to the idea. It would make it easier to isolate a module when the need arises.
For real-time communication, the system uses WebSockets with STOMP messaging. This enables the backend to push incident notifications and status updates to connected operator dashboards without requiring continuous polling. REST APIs handle operations such as incident submission and management, while STOMP supports real-time updates.
Request Rate Limiting
Another important consideration was controlling the rate of incoming requests to protect the backend from excessive traffic and potential abuse. Request rate limiting helps prevent individual clients from overwhelming the API by restricting how many requests they can make within a specified time window.
This is particularly important in an emergency-response system, where maintaining API availability and responsiveness is essential. By introducing request limits, the system can manage traffic more predictably, reduce unnecessary server load and provide an additional layer of protection against automated abuse.
Key Capabilities
The system supports incident verification, assignment to relevant institutions, and incident status tracking. It also provides a centralised view of incidents, allowing operators to monitor and coordinate responses.
The separation between incident management and institutional assignments allows multiple institutions to participate in responding to an emergency, with each assignment tracked independently.
The project is steal "fresh". There are features still in the oven, including: SOS reporting, call and SMS reporting, speech-to-text integrations to log calls, and many more.
Lessons and Takeaways
One of the most important aspects of this project was balancing architectural structure with implementation complexity. The modular monolith provided a practical middle ground: clear module boundaries without introducing the operational overhead of microservices.
Integrating REST APIs with real-time messaging also reinforced the importance of choosing the right communication mechanism for each operation. Not every interaction needs a persistent connection, but time-sensitive updates benefit significantly from real-time delivery.
Overall, this project was an opportunity to bring together backend engineering, mobile and web development, database design and real-time communication into one cohesive system. More importantly, it provided practical experience in designing software around a real-world operational workflow rather than simply implementing isolated features.
Certificates
Achievements
Articles
2026-07-08|2026-07-09
2026-07-15|2026-11-20
My past self would probably believe when reading the next few words, but I have found writing programming language interpreters & compilers interesting. Noting that I just completed training on "My smallest code interpreter (aka Brainf**k)" in Java. I feel I am getting really good at programming.
BrainF**k Progamming Paradigm & Language Design (Forgive my language)
AI's Definition of Language design & References
Language design is the process of defining the syntax, semantics, and rules of a communication system—whether you are building a custom programming language, a domain-specific scripting tool, or a brand's visual identity. It focuses on creating intuitive, efficient, and scalable rules that bridge human thought and expression with a desired output.
https://cs.lmu.edu/~ray/notes/languagedesignnotes/ This second reference does not really align with this programming language :D Design Is [Language] – Why Words Matter
Anyway, I think I'll send you to Wikipedia Brainf**k to read about this programming language yourself, and try out the problem at Codewars. Once you have read through, you will discover a few instructions, which are not to difficult to understand, but the part I struggled to understand in the Codewars problem was the input. i know it clearly indicates 8-bit unsigned integer (0–255) in the Wikipedia, but wueh! This knocked me out. So from now on, know this the input and output of this programming language is an 8-bit unsigned array. Okay?
The instructions are defined as follows:
> Increment the data pointer by one (to point to the next cell to the right).
< Decrement the data pointer by one (to point to the next cell to the left). Undefined if at 0.
+ Increment the byte at the data pointer by one modulo 256.
- Decrement the byte at the data pointer by one modulo 256.
. Output the byte at the data pointer.
, Accept one byte of input, storing its value in the byte at the data pointer.
[ If the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next command, jump it forward to the command after the matching ] command.
] If the byte at the data pointer is nonzero, then instead of moving the instruction pointer forward to the next command, jump it back to the command after the matching [ command.
The above instructions, as I said are simple. I will try and explain how my simple mind understood this. We will start with:
>
Picture this. You have an unbounded byte array (rem. 8-bit unsigned array). By unbounded I mean an infinite length, size, of the array.
...some implementations allocate a finite array of cells (commonly at least 30 000 bytes)
If you have a pointer pointing to the leftmost element in this array, lets say zero (0), this command simply increments the pointer by one so it points to index 1. capisci?
<
The Vice versa of the > command is the < command. Which should decrement the pointer by one so that it points to a previous memory allocation. By Interchanging terms here, I hope it helps you understand where some of these ideas come from and how some languages like C are designed. Moving on.
+
This commands should add one to the data stored at the memory allocation at the pointer. A concept of wrapping is introduced with this command. Say you have byte equal to 255, if you add one to this data it should evaluate to 256, but since the data is capped at 8-bit, the data is wrapped around to 0. I hope that is simple enough. I feel like the explanation might have not helped.
-
This command should subtract one from the data stored at the pointer and wraps around to 255 if the data stored reaches 0.
.
This commands should output the data at the data pointer. This is similar to the standard output from languages such as C/C++ (cout) statements.
,
This command should take an input and store it at the data pointer. This is similar to input statement such as: input, from python; System.in, from Java; cin, from C/C++.
[
This command is interesting. It initiates a looping block and first should check if the byte, data, at the data pointer is 0, if it is it skips the instruction pointer, the pointer of this instruction, to the last equivalent/matching ']' command, otherwise the next instruction after is executed. An instruction pointer is similar to a data pointer, but instead of pointing to a data allocation it points to a point in the instruction set, where an instruction set is a strategic combination of instructions (listed above) that aims to achieve some objective.
]
This command terminates the loop. It checks if the byte at the data pointer is a nonzero. If it is, it jumps the instruction pointer back to an equivalent/matching '[' command, otherwise, it move the instruction pointer forward to the next instruction.
As simple as this might be I feel I might have butchered at explaining and trying to create a mental image of how to interpret this language. Programming languages, like any language, are meant to interpret the meaning or thought from one language to another. For instance, I interpreted BrainF**k (sorry fot the language :D) using java, which I have deliberately not included the Java interpreter here so you can write it yourself, if I got you interested. if you wanted, you could build an interpreter for JavaScript using Java or C or Python. Someone listed some interpreters at A list of JavaScript engines, runtimes, interpreters.
I have learnt a lot from this short experience, notably: programming language interpreters, character encoding and memory allocation. It has made appreciate the use of pointers in programming languages like C and certain abstractions in other programming languages.
If you want to reach out to me and rant at how this BrainF**k programming language, or my explanation, f**##d up your brains (appologies), or want to say hi, you can reach me by clicking Let's Talk button, bottom right.
Also, because they add this to email template when sharing challenges to other social networks on Codewars I thought I should add this here.
If you're not a member yet, join me and start training at Codewars
Regards.
2026-09-20|2026-09-20
Legion is TV series that borders on physics, illustrating that time can be changed by going back in time to fix the mistakes of a narcissistic tyrant who had/has telepathic powers. Only the show does not address how impossible this is since the past cannot be changed. That is what the scientist are always saying anyway.
Indulge me for a second. When David goes back and fixes what his parents did, by abandoning him, he changes the events that led to his existence in the first place. Any event after that plays out as it should have if the parents did not abandon him.
But, theoretically, the minute/second/millisecond... you change something in the past, changes whoever you were. So that mean changes to past event could have already started the minute/second/millisecond they traveled to the past.
An aside note. Travelling to the past idea requires that we view time as linear, where there are no branches/deviations due to choices made. But, quantum mechanics, from experiments that have been done, dictates that there are branches...infinite branches in time. Branches that deviate from the main timeline, if there ever is a main timeline.
Anyway, as I was saying, it is not possible to change the events in the past.
2026-10-01|2026-10-01
I know this is a little late, but on the 10th and 11th I attended the AmCham Business Summit. Now I don't have the good photos I would have used to brag to you that I went to this event and you did not ;).
It was an amazing event and my key take away was that America is ready to invest in Kenya. All you needed to do was showcase and talk about your talent, solutions and products and you might just get someone willing to part with some of that money so you can make them more money :D.
Jokes aside, I also noticed how hard it was to share your contacts or business cards. I am not in the cult, but I believe the iPhone has better ways to share contacts. Let me know if it is true. Imagine if you are at an event, you've given out all your business cards and left stranded. Most apps on the Play Store ask you to create an account to create business cards on their app. Your contact information is on your Contacts app, moreso, this information is regularly backed up on Android so I found no need for business card accounts.
On my phone in the Contacts app there is a simple feature that shows three distinct business card designs with contact information, at the bottom of each one there is a QR code that someone using an Android or iPhone can scan to retrieve and save my number on their phones. This is very convenient considering the amount of time and the effort it takes to do this, and you don't need to share your number verbally so I can send you someone else's contacts from my phone. This can be done for any contact you have.
However, Google Contacts app does not include this feature on contact cards. All it has is a “send to” feature which, again, requires you to have someone’s contacts. Newer Android phones have opted to use Google Contacts app instead of the AOSP Contacts app. I am afraid that I might soon buy a device that makes it hard for me to share my contacts at an event.
So I built TapCard, a simple app that lets you share your information conveniently using NFC and QR codes. Because why not. Imagine it’s the first time you are meeting someone, you don’t have to verbally abuse this person by articulating digits or taking their phone away and typing in your ten digits and then your name. All you have to do is ask them to tap your phone, if they have an NFC enabled phone or scan the QR code.
And then you realize that your world has gotten so much simpler. Okay, this is an exaggeration on account of the state of the world. But seriously.
Anyway, if you want to go check it out or commercialise it or learn from it, I have open sourced it. I have also added a project to my portfolio: Business Cards. Let me know what you think. Tudoos! Until next time. Make sure that when you read these last few words in your head you read them in a manly fashion.
Project can be found here