Entries Tagged as 'programming'
I found a one day Ruby on Rails course from UC Berkeley on YouTube. I haven’t watched the videos yet, but hopefully they will help improve my understanding of Ruby and Rails. With any luck, they won’t be 1 hour rickrolls.
I’m fairly certain that a short course won’t give you a full understanding [...]
[Read more →]
Tags: programming · ruby
I’ve reviewed lesson 1 of Satish Talim’s Ruby course, along with Yukihiro Matsumoto’s “The Philosophy of Ruby” interview. The most difficulty I had was with the modulus operator, which I posted about yesterday. I also learned that Google Calculator is incorrect in its calculation of the number of seconds in a year! [...]
[Read more →]
Tags: programming · ruby
I found the modulus operator in Ruby to be quite different than Java. I think it worked the same way in Python, but I can’t remember.
I found a relatively easy way to figure this out for negative numbers:
When the second operand is positive:-12 % 4 = 0-11 % 4 = 1-10 % 4 = 2-9 [...]
[Read more →]
Tags: programming · ruby
I am learning Ruby. As such, i r n00b. Here is a list of resources I have found to be helpful so far.
Try Ruby! (in your browser)
This site allows you to get a decent overview of how Ruby works in an interactive manner. Definitely the first site I would suggest to anyone [...]
[Read more →]
Tags: geek · programming
Today I went through the Developing Rails Applications on Mac OS X Leopard tutorial. The tutorial from Apple was much easier to digest than some of the other ones out there. Yikes. I’m not afraid of terminal, but I started to get extremely confused when many of the tutorials I found were [...]
[Read more →]
Tags: geek · programming