Thursday, February 22, 2007

Hello World



Originally Posted: 2007-01-16 @ 10:38:55 pm

Here's the first post on this blog.

My recent project has been programming on Ruby on Rails. The easiest part (for me anyway) was setting up MySql. I was playing with SQL earlier these past few months so it was rather natural on how SQL works. I've also been using a program called HeidiSQL which makes a graphical representation of SQL. It's a really helpful program. Especially when it comes to moving tables, databases, etc. Until today, i've had Ruby on Rails on my computer at work. I was playing around with it trying to get the idea of how it works. I think I have an idea of how it's run, however there are a few things I don't like about it. I don't know if it's me that is having the issues or Ruby itself.

  • - First, the problem I had was which database it was calling on. When I selected a database, I had to manually change the location of it. This only occurred when I used the built-in Ruby Web-server. Apache seemed to be alright with it.

  • - Second, Ruby seemed to break if something wasn't right. I had added a scaffold into the code and I accidentally gave it the wrong scaffold to use. When I corrected it, the code would not take. It still would not render the database into the server. Even when I restarted the server it would not take. I created a second project with ruby with identical code and it worked well. I don't know what it is with Ruby, but it just seems finicky to me. I'm just hoping it's temporary or just me as well.

  • - Third, there seems to be little documentation on learning about this on-line. The tutorial I saw on-line (the pdf of Ruby 4 rails) is rather simple. However, I wanted to learn about different parts and I had to go through myself and break stuff to learn what other parts of Ruby and Rails did for me. It seems that you have to break something to see what it did. I did learn from it though. That is what gives me a better idea of how it runs.


It's definitely a good start where I am. I haven't been too dedicated on working with it. At work, I obviously have work to concentrate on, however I think I can get a working database setup in less than an hour. It's definitely some good learning.

Something that I am going to work on at home (when we move back in after the renovation), is getting Linux installed with MythTV. My computer is dying and I believe it is a hardware issue. If that is the case, i'm running a botched version of Vista Ultimate which obviously means that I will not be able to install it again. I would either have to.. 1) find a legal copy of Vista (Ultimate or Home Premium) at no cost. or 2) install MythTV with my current setup. My problem with that is that I won't be able to use certain proprietary programs for Windows in Linux. I believe Wine may be able to resolve that, but I have had very little success in using it. It will definately be a project I will be working with to get resolved. That's a whole new article to write about too.

My friend and I went to (or tried to) go to MacWorld. We had the tickets.. I even still have my badge. The problem is, that he thought it started on Monday. Obviously, it started after Tuesday (The Keynote), but he thought the registration was the actual opening. Although it was eventful, it wasn't a complete waste. We went to the Sony Metreon and tried out the Sony PS3. I do have to say that the PS3 is awesome. The graphics were the best I have ever seen. Although I won't pay anything over $200 for it, it was nice to check them out. Especially on the 60" Hi-Def TV. My friend and I made an agreement afterward to try and go to CES next year so we won't miss out on anything again.

Anyway I think that is it for now. :)

No comments: