· 3 min read
Build for the real conditions: what rural classrooms taught me about engineering
My first job was writing interactive lessons that had to run on the low-end devices found in rural Nepali schools. That constraint still shapes how I build AI systems today.
My first job in software was at OLE Nepal (Open Learning Exchange Nepal), writing interactive, animated lessons for school students. The tools were simple: jQuery, HTML and CSS. The hard part was where the lessons had to run.
Many of the students using them were in rural schools, on low-end devices. Not the laptop on my desk. Machines with little memory, slow processors and screens that would make a designer wince. If a lesson stuttered or froze, a child lost interest, and the lesson failed no matter how good the content was.
That year taught me a habit I still use every day: build for the real conditions, not the demo.
Test on the worst device, not the best
On my own machine, every animation was smooth. That told me nothing.
The real test was the slowest device the lesson would actually run on. So that became the reference. If it ran well there, it would run well everywhere. If it only ran well on my laptop, it was not finished.
It sounds obvious. It is surprisingly rare. Most teams test on the hardware they happen to own, which is almost always better than their users' hardware.
Cheap animation is a skill
When you are animating on weak hardware, how you animate matters more than what you animate.
Some changes force the browser to recalculate the layout of the whole page on every frame. Others, like moving or fading an element, can be handed to the graphics hardware and are far cheaper. Learning which was which, and restructuring lessons so the moving parts used the cheap kind, was the difference between a smooth lesson and a slideshow.
The same thinking applies to everything heavy on a page: big images, extra libraries, fonts, scripts that run constantly in the background. Every one of them costs something on a slow device. Each has to earn its place.
Less code is faster code
The fastest feature is the one you don't ship. On constrained devices you feel this directly.
I got into the habit of asking whether each library was really needed, whether an effect was adding to the learning or just decoration, and whether something could be done with plain CSS instead of script. Most of the time, the simpler version was not only faster but easier to maintain.
The same lesson, now with AI
You might think none of this applies to AI engineering, where the work runs on big servers in the cloud. It applies more than ever.
Cost is the new low-end device. Every call to a large language model costs money. A design that is fine for ten users can be unaffordable for ten thousand. When I lead model selection, I treat cost the way I used to treat a slow processor: a hard constraint to design around, not something to optimise later.
Latency is the new stutter. A chatbot that takes fifteen seconds to answer loses users the same way a frozen lesson lost students. Choosing a smaller model when it is good enough, retrieving less but better context, and streaming answers as they are generated all come from the same instinct.
Real conditions include bad networks. On the HimalayaWatch early warning pilot, stations in the mountains report over Nepal's 4G networks, and they have to keep working through a monsoon. Designing for the network you actually have, not the one you wish you had, is the same lesson I learned writing lessons for rural schools.
Why it still matters to me
The students who used those lessons will never know my name, and that is fine. What stayed with me is that good engineering is measured where the software is used, by the people using it, in their conditions.
It is also part of why I am now building GyanShar, a platform where teachers can build a course, teach it and track everything along the way, all in one place. It picks up where my career began.
If you are early in your career and stuck with "boring" constraints, slow devices, tight budgets, unreliable networks: lean into them. They teach you things the comfortable projects never will.