TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Nepalese student learns HTML, JavaScript, CSS using just a mobile phone

369 pointsby andygmbalmost 4 years ago

45 comments

neonatealmost 4 years ago
<a href="https:&#x2F;&#x2F;archive.is&#x2F;aCdT3" rel="nofollow">https:&#x2F;&#x2F;archive.is&#x2F;aCdT3</a>
hemanta212almost 4 years ago
Sadly, this is how things are for many of us students, I currently study bachelors in CS here in Nepal and for me and some of my friends stuck in our villages (lockdown isn&#x27;t still over here yet), we have been doing C assignments using editors avalialble in the playstore.<p>Seeing these apps have millions of downloads, we&#x27;re definitely not alone and I have seen many indian and other south asian friends do the same.<p>My personal setup includes a 2$ stand and A samsung J7 phone paired with a keyboard over OTG cable. Since I have been doing this for few years I have a pretty complex setup of termux, a student credit powered VM from Azure, emacs. I have managed to develop python cli apps, jupyter notebooks, even flutter development using some port forwarding hacks.
评论 #27905194 未加载
评论 #27904398 未加载
评论 #27911090 未加载
评论 #27906396 未加载
评论 #27907139 未加载
评论 #27905875 未加载
评论 #27904429 未加载
评论 #27904296 未加载
评论 #27910222 未加载
评论 #27906268 未加载
评论 #27906250 未加载
评论 #27913160 未加载
评论 #27908437 未加载
评论 #27908460 未加载
评论 #27906802 未加载
评论 #27904943 未加载
评论 #27907852 未加载
评论 #27905882 未加载
评论 #27904078 未加载
jiggawattsalmost 4 years ago
Story time!<p>I grew up in eastern Europe in the communist era, in a country where entire factories were run using Commodore 64 computers that were smuggled in, bypassing export controls and sanctions.<p>The programmer at one such factory was a friend of my father, and we&#x27;d go over to his place for dinner semi-regularly. He didn&#x27;t have kids, and I was six, so I was bored to tears. No toys and nobody my age to play with!<p>He did have a C64, which was the <i>only other one</i> in town apart from the one at the factory. He was using it to practice programming after-hours at home. There were no games on it, but he did have a book of games.<p>As in: a literal printed book of the source code for several simple games. That you were supposed to <i>type in</i> to be able to play!<p>So I did. I had nothing else to do, so I whiled away the hours while the adults chatted poking away at the keyboard, typing in the BASIC code of the shortest, simplest game first.<p>It didn&#x27;t work at first. There were some errors. With help, I fixed the typos, and hey presto, the game worked! I still remember the elation, the feeling of accomplishment after all that work. I didn&#x27;t even play the game for more than a minute or so, I <i>immediately</i> got to work on entering the next, longer game&#x27;s code. I was hooked.<p>Eventually I tried all three or four of the games in the book, and got bored. However, I was allowed to borrow the BASIC introductory problem set book, which I took back home with me to study. I solved the problems one at a time on grid paper (to match the fixed-width screen layout). I &quot;ran&quot; the programs in my head, debugged them by working out the variable values step by step on paper, and then tested my solutions on the real C64 computer whenever my parents went over for a social dinner. Most of my programs worked, and ran at <i>ludicrous</i> speed compared to the glacial pen &amp; paper solutions I had worked out. I instantly understood that Computers were <i>levers for the mind</i>. Learning to control that raw power was intoxicating.<p>We fled across the iron curtain as political refugees, and I took that textbook with me. I had no access to computers for nearly a year, but when we finally got settled permanently in the West my dad bought a used C64 at a garage sale for a few dollars. This was a computer that back in my homeland would be the carefully guarded control hub of a <i>factory</i>. Here it was a discarded plaything. Even at that age, that blew my mind.<p>I learned more programming languages in quick succession. Pascal at the age of 11, C and Assembly at 12, C++ at 13. I had written 3D engines by the time I went to University.<p>Statistically, if you know programming, you probably learned it in a tertiary education setting, most likely in your late teens or early twenties. Just like learning a foreign language at that age, you&#x27;ll never be perfectly fluent. <i>You&#x27;ll always have an accent</i>, no matter what you do.<p>To me, programming is my <i>mother tongue</i>. I&#x27;m perfectly fluent and <i>unaccented</i>. You probably can&#x27;t even tell, you can&#x27;t <i>hear the difference</i>.<p>Programming for you is something you do at work.<p><i>I&#x27;ve had dreams in C++</i>
评论 #27911592 未加载
评论 #27906309 未加载
评论 #27910609 未加载
评论 #27905611 未加载
评论 #27907314 未加载
评论 #27910546 未加载
评论 #27909282 未加载
评论 #27930090 未加载
评论 #27905736 未加载
评论 #27908260 未加载
评论 #27907590 未加载
akritrimealmost 4 years ago
I think this is more common than people realize. Especially in the Indian subcontinent, where most people have a smartphone but only few have a PC. I learnt programming on pen and paper first and then on those phone IDEs even before I had access to a pc. And even after a PC, I used to use my phone as a display for my desktop via chrome remote desktop because my monitor got damaged and only showed shades of green. And my case wasn&#x27;t even that extreme, I was just not that bothered to get a proper setup until I really got into programming. The situation is way more difficult who are constrained by their financial situation and have to find a way around it.
评论 #27904331 未加载
评论 #27904096 未加载
atum47almost 4 years ago
Being a poor student in Brasil, I went through my first two years of college using a R$ 400,00 (around 80 dollars) Dell notebook. Several of my projects hosted on GitHub were written using this machine.<p>There&#x27;s a super market chain here (Carrefour) that sells eletronics. They usually would hold a sales when something is wrong (a product is about to expire or an electronic presents mal functioning). My notebook in question fell into this category, it presents a small defect. The defect?! The Windows pre installed in the machine wouldn&#x27;t activate online (some problem with the key).<p>So I got the notebook extra cheap, activated it by phone (since I could not activate it by software), saved the key, remove windows, installed linux (which doubled the speed of the machine, of course) and went my merry way into college.<p>I don&#x27;t know the rest of the world, but a smartphone in Brazil can be compared in price to a notebook (a not very good one). The second advice from this story is Linux can give new life to old machines, try it.
评论 #27907882 未加载
codetrotteralmost 4 years ago
I grew up in Norway in the 90’s, and at that time even here most people had at most one computer at home for the whole family.<p>My father had a couple of books that were written by Lynda Weinman, one about HTML and one about graphics for the web. I read those books, and with pen and paper I would some write some rudimentary HTML.<p>A couple of years later I finally got a computer of my own and started typing out HTML in Notepad and getting to see the result in Internet Explorer.<p>This was part of the early beginning of my fascination with computers.<p>Today I am a software developer, writing applications on macOS, iOS, FreeBSD and Linux :)
perilunaralmost 4 years ago
Honestly, a smartphone is more powerful than any of the computers I used to learn HTML, JS or CSS. Better screen resolution too. The main problem is screen <i>size</i>.<p>Also, TIL you can buy screen magnifiers for under $20. e.g. <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;s?k=screen+magnifier" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;s?k=screen+magnifier</a>
评论 #27910876 未加载
wly_cdgralmost 4 years ago
My first reaction was &quot;Get this person a Raspberry Pi stat!&quot;, but that might not help them much if they don&#x27;t have access to a monitor. What I imagine would work better for them is a small light laptop with a couple USB ports for good compatibility with inexpensive peripherals, a long-lasting replaceable battery of an affordable and common type, and no requirement that the computer be connected to the internet to be useful (f*ck off and die, Chromebook).<p>I&#x27;ve had Asus and Lenovo laptops that fit this bill pretty well, and the Lenovo was even close to being cheap enough to be practical (~$150) (the Asus was more like $250, but it was also a 1080p 14&quot; with a 9+-hour battery). Of the stuff I can easily find available online right now, a Kano would fit the bill pretty well (you can find them on sale for also ~$150), as would the low end Lenovo IdeaPads. I like those a bit better than the Kano as they have a sturdier build and include a webcam<p>...Found the newer version of that Asus - this baby is a beaut - <a href="https:&#x2F;&#x2F;www.microcenter.com&#x2F;product&#x2F;633069&#x2F;asus-l410ma-ps04-14-laptop-computer-black" rel="nofollow">https:&#x2F;&#x2F;www.microcenter.com&#x2F;product&#x2F;633069&#x2F;asus-l410ma-ps04-...</a>
Tade0almost 4 years ago
I used to have a similar setup on my phone when my laptop started dying and I was in the middle of moving countries.<p>You can have Node running via termux, albeit with some limitations, e.g. no global modules.<p>Of course debugging isn&#x27;t really possible, so you&#x27;ll have rely on your engineering prowess.<p>I wanted to create a similar setup for Rust, but unfortunately compiling the compiler from source to work on Android was way above my skills (provided it was even possible to begin with).
评论 #27904425 未加载
arvigeusalmost 4 years ago
When I was learning programming, all I had was a big book called &quot;Thinking in C&quot;, a notepad (pen and paper), and lots of free time. Few days a week I will go to the library to retype my solutions from the exercises.
bitwizealmost 4 years ago
That is some hardcore hackery-dackery. It takes dedication and a real desire to learn to put up with such adverse conditions.<p>I know a chap who, for a while, had spotty access to a PC except for the locked down one he had at work in his (non-programming) job. He passed the long hours making tiny JavaScript hacks in the URL bar.
评论 #27903955 未加载
Cthulhu_almost 4 years ago
Is it time to revive the OLPC program? That one started the low-cost &quot;netbook&quot; trend, after that the smartphones and tablets got to the forefront.<p>How much would a ruggedized laptop cost to make now? I know there&#x27;s some RPI kits out there but they seem pretty pricey for what you get; I suspect the biggest expense is the screen, so that&#x27;s an area that could be improved on. Surely there&#x27;s older screen tech that can be produced at ridiculous scale nowadays? 1024x800 is enough for the basics. If that can run on a 5w USB charger that would be ideal, it could run off solar panels and cheap powerbanks then.<p>Anyway, if that&#x27;s there then the tech companies who want to deduct some taxes can order millions and distribute them to the countries where people could benefit from them.
评论 #27907735 未加载
评论 #27906305 未加载
评论 #27905801 未加载
raxxorraxalmost 4 years ago
It must be a horrible work of hackery to turn a smartphone based on iOS or Android into a useful device.<p>Kudos to him. If he was able to do that, then development shouldn&#x27;t put up much barriers anymore.<p>I would totally buy him a decent PC though.
评论 #27903813 未加载
评论 #27905640 未加载
评论 #27904271 未加载
评论 #27927344 未加载
评论 #27905609 未加载
exdsqalmost 4 years ago
The author on LinkedIn has stated they&#x27;re Indian, not Nepalese
评论 #27914250 未加载
beebeepkaalmost 4 years ago
Story reminded me about this one time I had to listen to a Samsung representative at a summit. While she was pitching their VR web browsing initiative, she somehow mentioned how a [Samsung] smartphone could be used as a PC.<p>Being the cinyc that I am, I assumed the worst: you are trying to sell me a junk solution to a problem I don&#x27;t have, lady.<p>Looking at stories like this, I realize I have no vision and understand a lot less about the world than my ego has been telling me
pietrovismaraalmost 4 years ago
Reminds me of Kintaro Oe in &quot;Golden Boy&quot;. He learns to program on a fake laptop built with cardboard.
saeranvalmost 4 years ago
Recently I was looking to donate some money to Sri Lankan charities and was talking to various groups, asking them what their most urgent needs were and where I should allocate money.<p>One charity was based in the Mullithivu region[1] which is an impoverished rural region in Sri Lanka. The kids there don&#x27;t neccessarilly have access to the internet or computers at home, so with COVID are left behind as the schools move towards some form of digital teaching.<p>I thought it was interesting that one of the most effective solutions for this that the charity found was to purchase USB keys loaded with digital curriculums. Apparently while the homes don&#x27;t have computers, almost all have Smart TVs (to access tamil language programming?) and thus the kids could follow along with school as long as they had their USB keys. The director of the charity also mentioned they were also trying to get the curriculum through phones (he mentioned Viber explicitly, but I&#x27;m not sure why it needed to be limited to that), which was another device all families had access to.<p>We ended up purchasing USB keys for an entire school ($5 each) and money to fund digital content creation. I wonder if there would be a big impact on education in these areas if someone could work out the UX&#x2F;UI&#x2F;ergonomics of teaching through mobile phone. Or whether it&#x27;s just a better idea to fund a infrastructure (school computer labs). The advantage of the former, I suppose, is one could just do it and see if it has an effect.<p>[1] <a href="http:&#x2F;&#x2F;careforedu.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;careforedu.org&#x2F;</a>
评论 #27910345 未加载
jstriebalmost 4 years ago
For anyone reading this thread who may be in a similar situation: I wrote a script that allows you to use GitHub Actions as a computer. Any work you do can be committed to a repository and saved for later.<p>It can either boot up a command-line, or a complete desktop interface. Both are available entirely over the Web (and thus a smartphone). All you need is a free GitHub account. Both are also available over Tor in case you&#x27;re in a situation where things might be blocked.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jstrieb&#x2F;ctf-collab" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jstrieb&#x2F;ctf-collab</a><p>I originally built this for doing competitive hacking challenges with a friend, but I have also used it at libraries, and from my phone. In general, it is great for when you need a desktop but don&#x27;t have one, or for when you can&#x27;t install things on the computer you&#x27;re using.<p>Hopefully this helps others who need access to such resources for learning!
bigdictalmost 4 years ago
What is the connection to Nepal? The author seems to be from India.
评论 #27908650 未加载
rishabhdalmost 4 years ago
This might be a big deal, but I have been mentoring this guy on an on and off basis, he does not have a laptop, is not a CS student (was studying for medical exam - NEET) and writes all his code on an android cellphone. He got interested in cyber security and wrote his first functional keylogger (disclaimer : it was good exercise to teach him basic *nix utilities and how native functionalities can be leveraged by an attackers to their end, not for malicious objectives) using his phone as an IDE, compiler and what not.<p>Talent, can come from anywhere.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;shivamsuyal&#x2F;Android-Keylogger" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;shivamsuyal&#x2F;Android-Keylogger</a><p>side note, he just completed his 12th class (us equivalent of high school) and is looking to research more in cybersec.
fiftyfiftyalmost 4 years ago
This is why I think it sucks when device manufacturers like Apple and to a lesser extent Google (Google Play has been more open to allowing development related apps in their store) restrict the kinds of apps that can be downloaded from their store. Smart phones are every bit a generic computing device as a PC, and for many people world wide it&#x27;s the only one they have access too. For companies like Apple to say nope, you can take selfies with this thing, but you are absolutely not allowed to upload an IDE or code editor to our app store is really taking away opportunities like the one in this story.
lazarohcmalmost 4 years ago
This guy in Brazil followed the same steps. Sad to see how difficult education&#x2F;life is for some people, good see some of them can surpass it.<p>link: <a href="https:&#x2F;&#x2F;g1.globo.com&#x2F;economia&#x2F;tecnologia&#x2F;noticia&#x2F;2021&#x2F;03&#x2F;09&#x2F;como-brasileiro-virou-programador-usando-celulares-quebrados.ghtml" rel="nofollow">https:&#x2F;&#x2F;g1.globo.com&#x2F;economia&#x2F;tecnologia&#x2F;noticia&#x2F;2021&#x2F;03&#x2F;09&#x2F;...</a>
indigodaddyalmost 4 years ago
The LinkedIn author states in the LinkedIn post comment where someone referenced this HN post, that they are Indian, not Nepalese. Perhaps the title should be amended.
评论 #27918207 未加载
eitallyalmost 4 years ago
You may or may not be surprised at how many kids in Silicon Valley (especially San Jose) did a full year of remote school using only a mobile phone, and in many cases, where that was a shared mobile phone and the only household method of accessing the internet. It worked about as well as you might expect, given these kids are often from households with multiple other disadvantages.
ycosynotalmost 4 years ago
To help poor countries I was working on Arduino Nano (3$ computer) with a 2&quot; OLED monochrome display (very very little energy required, especially if you show pixels only 1&#x2F;10th of a time and use eye remanence). I don&#x27;t have time to make it through, but maybe someone will be interested. It has low CPU but you can stream any kind of data through USB serial.
forgotpwd16almost 4 years ago
That &quot;just a mobile phone&quot; is a computer in small form factor and possibly more powerful than computers two decades ago. Especially on Android devices where you can run chrooted a full GNU&#x2F;Linux environment, the only difficulty (but not a barrier) smartphones have for being used productively are the small display screens and the lack of keyboard.
评论 #27909695 未加载
pjmlpalmost 4 years ago
On the same subject, and without wanting to steel main subject.<p>&quot;Developing ON (not for) a Nokia Feature Phone with Elvis Chidera&quot;<p><a href="https:&#x2F;&#x2F;podtail.com&#x2F;podcast&#x2F;hanselminutes&#x2F;developing-on-not-for-a-nokia-feature-phone-with-e&#x2F;" rel="nofollow">https:&#x2F;&#x2F;podtail.com&#x2F;podcast&#x2F;hanselminutes&#x2F;developing-on-not-...</a>
MarkusWandelalmost 4 years ago
And that, in a nutshell, is why it&#x27;s just wrong for smartphone operating systems and app stores to go to increasingly extreme lengths to ban programming environments. termux itself, while wonderful as a concept, is already too crippled on my Android 9 device to be much use, and is&#x2F;will be even more so in later versions.
Andrew_nenakhovalmost 4 years ago
I top this with an incredible guy from Nigeria who learned programming using feature phone with J2ME.<p>Fascinating read: <a href="https:&#x2F;&#x2F;entrepreneurship.mit.edu&#x2F;news&#x2F;went-programming-feature-phone-working-mit-startup&#x2F;" rel="nofollow">https:&#x2F;&#x2F;entrepreneurship.mit.edu&#x2F;news&#x2F;went-programming-featu...</a>
Grammrralmost 4 years ago
It&#x27;s close to my story, I learned html and js using my mobile - Nokia N70. There was no ide or syntax highlighting and very little multitasking, but I was able to build websites and publish them. Was such a great moment when people saw my website! Got PC with the internet 3 years after my first website went public
Robotbeatalmost 4 years ago
This is why I hate how modern smartphones make it so hard to program anything. IPhone App Store policies make it all but impossible to actual use the iPhone for full fledged programming (including compiling, etc).<p>I otherwise love the iPhone.
评论 #27907611 未加载
tomaszsalmost 4 years ago
I have heard about it. And wanted to try it out. Now I am preparing posts with CSS tips on a phone. It is possible to learn the big three on a mobile.
aww_dangalmost 4 years ago
Love to see the can-do, self-starter attitude.
geetayadavalmost 4 years ago
Our company is based in India. Let me know if your brother is interesting in internship. We are a digital consulting firm.
malinensalmost 4 years ago
This is how i started programming 17 years ago in WAP&#x2F;J2ME era.<p>I either programmed on the phone or I went to local library
pikwipalmost 4 years ago
The student (and post author) says he is Indian, not Nepalese.
hyperpallium2almost 4 years ago
But a phone is a computer...<p>Though Google is slowly killing apps like termux.
yawaworht1978almost 4 years ago
Oh my, imagine writing css , well, or any of the components on a mobile phone, let alone running the codes in sandboxes. This is horrible.
评论 #27906029 未加载
nikaualmost 4 years ago
Other than small screen size there isn&#x27;t much that&#x27;s amazing here.<p>Compared to learning on a Commodore 64s with no internet its easy mode.
shubham05almost 4 years ago
we are from india my friends
beilabsalmost 4 years ago
Hey everyone. I&#x27;m the author of the tweet above, I came across it on one of the Nepalese Facebook Groups I&#x27;m a member of.<p>The original source post is here: <a href="https:&#x2F;&#x2F;www.linkedin.com&#x2F;posts&#x2F;shubham-sharma-34bbab18b_webdevelopment-css-html-activity-6820715919568961536-WApS&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.linkedin.com&#x2F;posts&#x2F;shubham-sharma-34bbab18b_webd...</a>
Aeolunalmost 4 years ago
I think the title misrepresents this a bit. He may not have had a PC, but he definitely had a computer.
Ostrogodskyalmost 4 years ago
I would only say that coming from a poor third world country too I am a little less gullible, or using the more PC term my degree of belief stretches a lot when reading posts like these.People in western rich countries trust more, that can be a blessing or a sin.
davgardalmost 4 years ago
Many third-world countries use a mobile phones, and some use paper to practice and learn to code. Especially at the start of this online class, many people struggle with their internet connection.
akatechisalmost 4 years ago
Is this news?
评论 #27905673 未加载