Once you're comfortable deploying, start making really small changes. Don't bother with books or classes yet - they'll round-out your knowledge once you know the basics, but in my experience they're not much use for getting people started. Begin by just editing bits of text on the website. Then progress to really small pieces of functionality. Try to deploy some small positive change to the site at least once a day. Doing this will build your confidence and get you to the point where you can make gradually bigger and bigger changes.
Ask HN: Learning 2 Hack - For the very first time. With a deadline.
11–20 of 50 posts
Re: Ask HN: Learning 2 Hack - For the very first time. With a deadline.
#12Re: Ask HN: Learning 2 Hack - For the very first time. With a deadline.
#13If you want to get a handle on the basics, especially ruby basics, try out ruby koans. http://github.com/edgecase/ruby_koans They are simple exercises that you can work through without prior knowledge, its a fast and fun way to get your feet wet. Then its important to read some books and get a good foundation under those wet feet, but we all know books can be boring, try to find one that has an actual project you wor…
Thanks for the reply. Do you have any resources you can recommend where I can learn more about programming in general? There seem to be a lot of things that people talk about that just go completely over my head.
Do you have any friends that are developers? People generally enjoy when someone takes a genuine interest in their field. Perhaps ask politely if any of them would mind occasional IMs as you work your way through things.
Re: Ask HN: Learning 2 Hack - For the very first time. With a deadline.
#14Re: Ask HN: Learning 2 Hack - For the very first time. With a deadline.
#15Get whoever coded this site for you to explain how to deploy it, in enough detail that you would be very confident re-deploying it several times a day if you wanted to. If the original coder is unavailable, find a hacker friend who can figure the process out for you. Once you're comfortable deploying, start making really small changes. Don't bother with books or classes yet - they'll round-out your knowledge once you…
Here are some links specific for rails deployment:
http://www.capify.org http://www.modrails.com/
This is specific to hostingrails (a rails hosting company), but it's the simplest tutorial I've found...
http://www.hostingrails.com/wiki/1/How-to-deploy-a-Rails-app...
Some other technologies that you may need:
http://en.wikipedia.org/wiki/Fastcgi http://en.wikipedia.org/wiki/Apache_HTTP_Server http://en.wikipedia.org/wiki/Mongrel_%28web_server%29
Re: Ask HN: Learning 2 Hack - For the very first time. With a deadline.
#16Don't worry about the possible flak because of the n00b questions, we ALL were n00bs at one point of time...
As for point 4, you can learn to create a whole site without knowing what's the difference between a function and a closure, so worry about practicing your coding skills hehehe I'm sure you'll nail it if you code regularly.
The best of luck, welcome to our world
Re: Ask HN: Learning 2 Hack - For the very first time. With a deadline.
#17You posted this earlier today and I wrote you a reply, then when I hit 'submit' the page was deleted!
Here is what I wrote:
(1) Well, you certainly have your problems cut out for you.
You won't be lacking in motivation, that's for sure :)
Where to start...
Programming is a method, a way of thinking, it has nothing to do with the actual language that you use to do it in, that's just a means to an end (though judging by the various language wars they are probably more like religious factions). Changing your site is great, but you'll have to set up a development and a production environment, and make sure you run those on two separate databases to make sure that if you do something you end up regretting you can revert back without your users catching any grief.
(2) Pick whatever feels best and easiest to you. That choice seems to have been made for you, since you mention 'rails', but really that's a framework for a language called 'ruby'. So ruby comes first, then rails.
Probably your best bet is to start off with making a list of the terms that you keep coming across (rails, ruby, framework, webapp) and so on, then read the wikipedia page on each of those to give you a feel for the terminology.
A 'hash' is a programmers trick to turn any object (usually a string, but you can apply hashes to just about everything else) into a more or less unique number. That way it becomes easier to find things, hashing is used for many purposes but one of the main applications in programming languages is so allow you to find in a very short time an entry in a list without having to go through all the items in the list one by one.
Your best bet to understand this stuff given the requirements of your situation seems to be to get a book on entry-level ruby, read that until it falls apart making sure that you do and understand all the exercises, then to move on to the rails framework.
You can test things out but I think there are better ways of learning how to program a given framework than messing around with a live website.
(3) As for courses, there are lots of tutorials available online, I would advice you to find a programmer buddy, preferably one that already has experience in the field that you are interested in.
4) could be, depends on how much time you put in there and how much background you already have. It sounds like a tall order to me, but when sufficiently motivated I'm sure you'll amaze yourself in what you can do in three months of really hard work.
(5) I completely agree with you there, hence the tip for a programming buddy. I'd look for that IRL though, and only use online fora as a backup plan if you can't find a live human being.
best of luck with all of this, let us know how you fared!
j.
-----
Re: Ask HN: Learning 2 Hack - For the very first time. With a deadline.
#18Re: Ask HN: Learning 2 Hack - For the very first time. With a deadline.
#19Hey man, I recently had a similar revelation that I just needed to learn how to code. I picked up ruby a week ago with the intent of learning rails and building web apps. I knew a bit of python/django before, but nothing that could be considered hacker knowledge. If you want to learn together, let me know. It'd probably help the both of us. I have a few ebooks and what not that I could send you that have helped me le…
Re: Ask HN: Learning 2 Hack - For the very first time. With a deadline.
#20IMO, then, you've been reading the wrong books. I went through "Learning Rails" (O'Reilly) and followed the text through, actually doing stuff rather than just reading about it, and it worked great. I do recommend the "Learning (foo)" series by O'Reilly, but I don't have a copy of Learning Rails right here to flip through to see quite how absolute-beginner-friendly it is. The Pragmatic Programmers guides to Ruby on Rails are also quite good. Flip through books in B&N or something to see if you can find something with really appealing worked exercises, do it cover to cover, and then sit down with the guys who did your current site and get them to explain it to you.
Alternatively, set yourself a target small project that isn't maintaining an existing site, e.g. creating a blog. Plenty of screencasts and online tutorials on that sort of thing to follow along with but I would say most of them assume knowledge of programming, whereas books tend not to.