Live data from Hacker News

Where does a wannabe hacker begin?

news.ycombinator.com

1–10 of 70 posts

Where does a wannabe hacker begin?

#1
Prior to coming across Paul's essays I had relegated myself to never being able to have a start up. I'm an Economics major in college right now, and I suppose I assumed a tech start up was for the comp sci guys.

Reading Paul's essays along with some other stuff -- like the fact that two of the founders of Auctomatic didn't know how to hack prior to starting it -- has been pretty empowering. In one of Paul's essays he mentioned that someone who's smart could probably pick up hacking within about 6 months to a year, which was definitely much shorter than I imagined.

All of it has really piqued my curiosity. I have some free time over the summer and I thought there's probably no better time to learn something new, but I can't even figure out where to begin!

So I come to you, the hackers of YC News! If you were completely new to programming and you hoped to some day try your hand at a web start up, what route would you take? What language would you learn? How would you learn it? If there's anything else you think is noteworthy, I'd be extremely grateful if you could share it!

Re: Where does a wannabe hacker begin?

#2
I think putting together a startup and becoming a hacker are completely different things.

A hacker is someone who likes to play with the world around them. I don't even know if it's possible to become a hacker. If you've never been inclined to take apart your VCR or walkman then I'm not sure if hacking is for you.

If you just want to start something up, learn PHP and MySQL. It's easy and can run on just about any hosting account. Actually depending on what you're looking to do, a CMS like Drupal could work if your startup was just a news and review site or something.

Re: Where does a wannabe hacker begin?

#3
Your first challenge: take a generic PC (or a Mac, for that matter). Install Linux, Apache, MySQL, and PHP. Get Wordpress running and put up a simple blog. Make a post or two. Smile.

Bonus points for using Drupal instead of Wordpress.

You might prefer to do this exercise using a webhost like Slicehost. They'll hand you a VPS for $20 a month. The advantage here is that, when you're done, you'll have a public website instead of just a local PC that nobody can visit.

Read up on basic security and set up a firewall on your web server. Read up on DNS and get that working. Get a mail provider, like gmail, and wire up your new domain's email.

This exercise is actually really easy, nowadays. But it's a start. It will teach you a bunch of fundamentals, like how to use Google to solve all your problems ;). You will learn how much you enjoy tinkering with web technologies. And, for the purposes of many, many profitable online businesses, you'll be almost done. :)

----

When it comes to actually learning programming: Try Ruby or Python. Although I still never find time to use it, I will once again plug Hackety Hack at hacketyhack.net. Consider learning Rails by using Heroku: http://heroku.com/ .

If you want to impress folks around here with your earnestness, read SICP. Just Google "SICP". You can even find free online lectures from the MIT class that SICP is for. If you read it, you'll know Lisp, and you'll be well launched on your career of bluffing your way through computer science. As an economist, you might be enough of a math guy that you'll fall in love with Lisp. It does happen.

Oh, and two key words: emacs. git. Buy and read Learning emacs; it's worth it. And learn about version control -- I do recommend git, but it's still kind of confusing to learn, despite the best efforts of the Peepcode screencast guy and Randal Schwartz. You may find better intro material for Subversion: google for "svn book".

Re: Where does a wannabe hacker begin?

#5

Your first challenge: take a generic PC (or a Mac, for that matter). Install Linux, Apache, MySQL, and PHP. Get Wordpress running and put up a simple blog. Make a post or two. Smile. Bonus points for using Drupal instead of Wordpress. You might prefer to do this exercise using a webhost like Slicehost. They'll hand you a VPS for $20 a month. The advantage here is that, when you're done, you'll have a public website i…

Thanks a lot for the feedback. I'm pretty sure I have an old Dell laptop laying around somewhere, so I'll have to give that first recommendation a shot this weekend!

Re: Where does a wannabe hacker begin?

#6

Once you start coding, start sitting in on some CS classes at your college to get some fundamentals down. Data Structures (bonus points if it's in a functional language), Algorithms, Systems, and Architecture are all a must.

Great advice, thanks. I'll have to see what my school's policy is on that.

Re: Where does a wannabe hacker begin?

#7

Your first challenge: take a generic PC (or a Mac, for that matter). Install Linux, Apache, MySQL, and PHP. Get Wordpress running and put up a simple blog. Make a post or two. Smile. Bonus points for using Drupal instead of Wordpress. You might prefer to do this exercise using a webhost like Slicehost. They'll hand you a VPS for $20 a month. The advantage here is that, when you're done, you'll have a public website i…

I definitely agree with your first exercise. It would give some kind of confidence and any newbie would feel at home to web apps. Reading SICP/git; add to that Data structure CS stuff is not at all mandatory to become hacker. Thats the "school" way or maybe it worked for some people. My gut feeling is you need to work on some part of your app every day. It would lead to html/css/JS and then get/post basics and common boilerplate routines for them in java/python/ruby etc.Unless until someone starts real programming; reading books wont do any good. Stumble across problem; Google; download sample solution..make it work on pc; figure out how it worked; tinker; customize and keep logs in your work journal. It would motivate you on some down day. At least I feel happy when I solve problem this way. There are "Big problems to solve" but maybe I have to learn about "small and smart problems which people have already solved" first. And as newton said "I could see farther because I am sitting on shoulder of giants"...something like that.

Once it becomes part of thinking process then you would automatically go to books to figure out what you need at this point of time. So becoming a hacker is not a goal; goal is to get that attitude deeply imbibed in everything you do with problems.

disclaimer: I am just at the bottom of the pyramid actually. But whenever I get to know things about programmers; I find all I wrote above.

P.S. get "Just for Fun- Revolutionary story birth of Linux operating systems". You can read some good accounts of hacking there. It was all about tinkering around and fixing.

Re: Where does a wannabe hacker begin?

#8
i don't want to discourage you because any technical learning will help you in the future - but just in case if you find this things very technical or boring or not interested then don't get disappointed (and dont give-up either) because u can still become a webpreneur - a startup is about many things and not only hacking, its about building a business from scratch it requires skills, knowledge, experience of sales, marketing, finance, HR, market research, project management etc.

Also if you have terrific idea then u dont have to wait to learn those technical skills rather you start looking for hacker co-founder or hire a hacker or outsource it to a freelancer - this is because there might be someone who has the same idea and is planning a startup, so u better keep balance between speed, gaining knowledge and time spent on learning hacking ONLY.

Re: Where does a wannabe hacker begin?

#9
I am usually a Java developer, with years of experience, so my outlook might be different. But I just started a Ruby On Rails project, and my impression is that "Programming Ruby" and "Agile Web Development With Rails" should be sufficient to get you going (OK, and maybe some HTML tutorial somewhere, don't know which ones are good in english).

I think "Agile Web Development With Rails" has been dissed by the "rails community", but my impression is good. It shows exactly the examples you'll need (like how to create a login form).

Re: Where does a wannabe hacker begin?

#10
post #6

Once you start coding, start sitting in on some CS classes at your college to get some fundamentals down. Data Structures (bonus points if it's in a functional language), Algorithms, Systems, and Architecture are all a must.

Great advice, thanks. I'll have to see what my school's policy is on that.

Or just do it, and ask for forgiveness later, as necessary. Your chance of being "caught" in a medium-to-large lecture is pretty low.
Post reply on HN