Live data from Hacker News

Ask HN: HN people who write meaningful software, how did you learn to program?

news.ycombinator.com

61–70 of 76 posts

Re: Ask HN: HN people who write meaningful software, how did you learn to program?

#61
I’ve written a lot of software that made a lot of other people lots of money, basically… initially in social media and now the healthcare industry.

I ‘learned to program’ when I was a kid back in the 90’s from books that my mom’s boyfriend had gotten me, trying to steer me that way. I didn’t like it much and it wasn’t until many years later that I picked it up again and got good, mostly driven by a desire to understand how old video games worked.

The thing that took me from a dude who knows how to do basic stuff to a senior engineer at a big company was having a mentor. My real programming job came with a fantastic one and he taught me pretty much everything I needed to know… he spent a lot of time distilling many years of acquired experience into something I could consume alongside him and I’ll forever be grateful.

Re: Ask HN: HN people who write meaningful software, how did you learn to program?

#62

Earlier quoted context omitted.

By the way, "Export to CSV" is the most meaningful feature you can add to any project, regardless of purpose.

I've found JSON is extremely useful in command line tools, but with CSV people try to handwrite parsers for it that can't handle commas in fields.

This is true, I even remember writing a few CSV files in Ansible, of all things, a few years ago.

Re: Ask HN: HN people who write meaningful software, how did you learn to program?

#63
I made https://text-generator.io basically to bring down the costs of ml/ai, people enjoy it because it's around 10x cheaper than OpenAI and does multilingual text and code too, now I'm doing speech-to-text 8x cheaper than Google so saving people a lot of money right now. Hopefully it's meaningful already but I'd like to bring the cost of any intelligence down to near zero which would I think make a big difference having things all operate well for us.

My mum was a punch card and fortran programmer, my brother's a software engineer too so it's in the family I suppose, i got into it making games and I got an apprenticeship making websites out of highschool, that set me up to go through computer science faster and easier than normal in 2.5 years

Re: Ask HN: HN people who write meaningful software, how did you learn to program?

#64
I am self-taught, and I think the important thing was that I kept learning not because I knew what I wanted to learn, but because I knew what I wanted to build, and then had to learn the steps to get there.

TLDR: Find a problem you want to fix, or people with a problem you'd like to help, and then learn how you can help them, and then learn the tech that needs to be implemented to solve that problem.

I will say, I had some early success, and I think that actually hurt me rather than helped me, as I had this huge ego about the things I was able to do with code. I wish I was more open to learning earlier, but I didn't have the university background of knowing how to learn, and basically escaped high school as soon as I could, so learning didn't become a thing for me until much later in life.

Here's my story...

I was very fortunate to have gotten into programming because a start-up I had worked at as a PM told me the way I wanted to tackle a project was "impossible". We were doing acoustic matching of music, and needed a large library to train on (back in 2005 or 2006).

I indexed MySpace "hidden" urls to get access to the music library and built a pandora type service from that. It didn't work great, but there was a huge music festival coming to town, and so I used the indexing code I had built to was able to build a concert search engine because I had access to the data (https://techcrunch.com/2008/10/27/hearwhere-lets-you-discove...)

From there, I was talking to a friend and his wife about the boring horrible data entry job his wife was doing, and they both worked for the same company. I explained that a computer could do the job better and faster, and they introduced me to the CTO to explain my thoughts. I explained it to him, and he said "I'm not sure how you think this will work, but we'll pay you to make it", so I built an ML system for them, and they went from having (if I remember correctly) 12 data entry people full-time to the job being 2 people about 5 hours a month. The people were much happier not having to do the painstaking job they did before. A few of the other data people got new jobs in the company and were much happier, I hope those that left also found better work.

Then I tried to teach computers how to cook and failed miserably, I worked at a few startups that went no where.

Then I took over an existing "metaverse" project (pre-metaverse - 2015), and made it function better so it could be usable to a wider audience. Ayvri (https://ayvri.com) is loved by the paragliding community, and a few of our API customers, but we're shutting down the consumer facing portion as the cost of operating for consumers is more than we are taking in as we've grown. We have a few companies vying to taking on the tech.

Now, the team that built Ayvri are working on improving sleep for millions with a headband that monitors sleep state and uses auditory stimulation to improve the neurological function of the brain during sleep. https://soundmind.co - this is the project which I believe has the most impact, and is REALLY fun to work on. Though, I don't work on the tech stack anymore, the engineers I work with were always better than I am.

Re: Ask HN: HN people who write meaningful software, how did you learn to program?

#65

I’ve written a lot of software that made a lot of other people lots of money, basically… initially in social media and now the healthcare industry. I ‘learned to program’ when I was a kid back in the 90’s from books that my mom’s boyfriend had gotten me, trying to steer me that way. I didn’t like it much and it wasn’t until many years later that I picked it up again and got good, mostly driven by a desire to understa…

Do you have any recommendations on where/how I can find a mentor?

Re: Ask HN: HN people who write meaningful software, how did you learn to program?

#66
There was some data in files over here, and I needed it in a different format over there. I had a guide to the minicomputer instruction set, a reference for its system calls. After enough errors, the program first assembled, then ran. About then my wife prodded me into taking classes at a local continuing education program.

What drew me to programming was first that it could save a lot of time, second that people would pay me to do it. It was quite a while ago now.

Re: Ask HN: HN people who write meaningful software, how did you learn to program?

#67
Not 100% sure if I qualify or not. I've wrote a little code other people have liked. Occasional websites and that sort of thing. I've wrote code that I cared about for work and was useful for other people. The code I'm currently writing matters very much to me but I haven't sent it to anyone in the form of a game yet. I'll leave it to you to decide if that fits what you're looking for.

I was quite intimidated when I first started learning programming concepts. It seemed much harder than other things I was doing with computers. I initially started goofing around with windows bat files because they were somewhat less intimidating. Then I switched to basic bash when I switched from windows to linux. You actually get fairly advanced concepts in bash, they're just a horror to use. Then eventually web programming / python.

The moment when it all really clicked for me was when I decided I was going to learn web dev by brute force. Rather than getting into libraries and stuff I just wanted the simplest thing that would actually work against a web browser. I wrote the first thing in cgi-bin scripts and bash to render html and a form. Then once I understood the basic mechanic I switched over to doing it in Django and python and learned a more programming basics in that process.

I've repeated that broad scope process a lot though. Build the crappy version first, then once you see how it works go back and start trying to figure it out the right way. I find for me, where I can - it's a lot easier when I can get it to work myself first and the work backwards from that.

Re: Ask HN: HN people who write meaningful software, how did you learn to program?

#68
Hey,

I'm the author of m4b-tool[1] and tone[2]. The most important thing I learned about software development, is that the best software has a meaning to yourself and that you should use it yourself on a regular basis.

m4b-tool is a tool to merge multiple audio files into the m4b audio book format. I hacked it together in a weekend in the language I knew best (PHP) and that probably was the worst for the job. All because there were no tools, that fitted my needs. After the first improvements I said to my self: Why not open source it, even if it is in a pretty crappy state? And the feedback was surprisingly good for a hackish script. And I learned A LOT from the community (e.g. how to implement something like multithreading in PHP or the simple fact that `cd -` goes back one directory in history).

Another important thing I learned is, that early shipping is good, but automatic deployment and versioning is nearly as important. Thats why I decided to invest some time and simply release `tone` based on git tags with github actions... that was a very good decision so far.

So to conclude:

  Build something, that you use (and want to improve) yourself
  Ship early
  Go for auto-deployment / CI as soon as possible
  Do some "marketing" for high quality feedback (e.g. on hackernews)
  Cover your ass with automatic tests as soon as possible
[1]: https://github.com/sandreas/m4b-tool

[2]: https://github.com/sandreas/tone

Re: Ask HN: HN people who write meaningful software, how did you learn to program?

#69

Ignoring Commodore/BASIC, which I really just used to load things more than programming, I think my first actual programming was QBASIC in elementary school. My nerdy friend knew some, I watched over his shoulder and tried my own. By 11 or so, I became fascinated with AOL 'proggies' and picked up Visual Basic. Made a few of those. Ended up writing a keylogger on commission that I believe partly led to a man's murder.…

> writing a keylogger on commission that I believe partly led to a man's murder Whenever I see something like this I remember the batch script I helped someone write that I later learned assisted in his suicide. I guess it was meaningful software, but he would have done it anyway. Anyway, I learned BASIC from reading books & magazines. Went on to write a lot of shell scripts, FORTRAN and BASIC programs in college. St…

Now that's a story I'd like to hear...
Post reply on HN