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.

Ask HN: How do you come up with ideas for small side projects?

17 pointsby csdranealmost 11 years ago
I believe that the best way to learn a new language is by diving into an actual problem. This begets its own problem though: that of what to actually work on. I'm curious how other people source good first problems. I feel like I have the programmer's equivalent of writer's block right now.

8 comments

hkarthikalmost 11 years ago
A couple of years ago, I interviewed for a Bay Area company that provided me with a great programming problem that I&#x27;ve been using for years to prototype with new languages.<p>Write a Rate Counting Proxy Service for a REST API that does the following:<p>* Stores state of requesting IP and a count of API calls made. * Makes appropriate tradeoffs to limit I&#x2F;O per request. * Highly concurrent * Maintains counts offline when shutting down&#x2F;starting up.<p>I was asked to do the assignment in Java, despite not really knowing a lot of Java. It was a fun weekend project and I&#x27;ve continued to use it as a good &quot;learning project&quot; in other languages.
lovelearningalmost 11 years ago
Here&#x27;s what I did.<p>When I was learning C++ and Win32 API, I would implement small applications that would draw some graphics, because I loved graphics programming.<p>When I was learning java, I would go to freelancing sites like elance (and the now dead rentacoder), read project descriptions, design solutions and implement them. They&#x27;d be all kinds of projects - from CRUD web apps to custom compilers for some exotic languages. I&#x27;d never bid on any of those projects. For me, they were just real world problems that someone had and I figured that if I could solve their problems, I&#x27;d become proficient.<p>When I was learning python, I had also developed an interest in scientific computing. So I&#x27;d implement algorithms related to graphs, trees, linear algebra, machine learning, etc.<p>Initially, I found that if I couldn&#x27;t come up with a clear roadmap of <i>how</i> to implement something, I&#x27;d dismiss it quickly as too tough and search for an easier project whose implementation roadmap lay inside the circle of my existing knowledge.<p>But then I realized that that&#x27;s the wrong way to learn new things. The way to learn is to persist with tougher problems and expand that circle of knowledge. It requires some self discipline to stay the course because it can be frustrating, but in the end I feel that&#x27;s what improved me as a developer.
评论 #8174979 未加载
评论 #8167385 未加载
vram22almost 11 years ago
Port some small but non-trivial projects from a language you know to the one you want to learn, e.g. Clojure, since you said you are learning it. It won&#x27;t be the same as writing a new project in Clojure from scratch, but will still help.<p>And then, because there may be a tendency to use, in the new language, the style &#x2F; idioms of the previous language you know (and ported the project from), put your code up somewhere and ask for reviews of it by people experienced in the new language.
phantom_oraclealmost 11 years ago
Finding a problem is easy. Finding an easy problem that you can solve is hard.<p>For example, many folks might (or used to) think that building out a simple GUI with 3 buttons in C++ was easy (until they saw the code and didn&#x27;t understand most of it compared to building an integer loop that adds 2 numbers).<p>IMO, go for something simple like advanced math functions. The basics almost always exist in most languages, so try out something like a rate calculator, etc.
NAFV_Palmost 11 years ago
My experience: C has a spartan standard library compared to other languages like Python. Even something like getting a scheme going for decent memory management can take a lot of work. I found it to be a good way to get my head round using pointers, now I don&#x27;t find them so scary.<p>Just curious, is there a particular language you were thinking of learning?
评论 #8164339 未加载
copteralmost 11 years ago
Out of necessity.<p>Apart from being a software developer, I am also an amateur musician. A year ago I bought a Windows Phone and couldn&#x27;t really find a good tab&#x2F;note viewer application. So I decided to build one, released it free of charge and even open-sourced it.<p>Today, it reached 500k downloads and received much love from the folks all around the globe.
elyrlyalmost 11 years ago
If time allows i would recommend attending a hackathon and diving into the groups primary skill set be it rails, php, swift, etc.
play_tagappalmost 11 years ago
Get involved in other people&#x27;s ideas, start off as support and help collaborate. Creativity breeds creativity!