Geronimo89.dk

A blog about me, my doings and everything I think deserves attention.

coding projects

I’ve got ideas for coding projects involving PHP, MySQL and Ruby. I know that I need more practice, but I really would like to set up a dictionary server for me and parts of my frenchclass. We could not find a good open source library for french->german, german->french. I would like to create a database, that would be able to be converted into a textfile, readable by ding, an open source, linux dictionary application. I have never started a database project before, so this is going to be fun. I’ll need a server that is available 24/7 or at least mostly. The amount of traffic will not be large, so I would be really happy if someone would offer me a user and one or two databases on his/her server. Since this is not very likely to happen, I will set up a low-end server by the end of the month and find some place for it.

Learning ruby is fun. I try to drag other people in it and some of them seem to be interested. I think I’m making progress in small steps and I’m looking forward to the integration of Ruby in The Gimp, so I some day maybe will be able to write Gimp extensions in Ruby.

related links:

Google soc The Gimp

Google soc Ruby central

Ding dictionary

Give me the first comment

coding

Since I always was focussed on design I decided that my lousy skills needed some work on them. I started nosing around about the topic and found things I could use. The site freetechbooks.com offers a lot of free documents containing computer science and programming. The ebook I am reading right now is written as an introduction to programming with python. It’s called think like a computer scientist. After only 3 chapters I can tell it really helps understanding essentials. Moni and me are doing the php-q tutorial together and having some fun with that too. While writing this entry I found another easy and fun to learn language, it’s called ruby and you can try it online here. Python and Ruby are, as far as I could experience, following the KISS principe (keep it simple stupid).

Let’s have a short look at methods in ruby:

geronimo@Zero-1:~$ irb1.8
irb(main):001:0> def greetings(name)
irb(main):002:1> puts "Rise and shine #{name}..."
irb(main):003:1> end
=> nil
irb(main):004:0> greetings("sleepyhead")
Rise and shine sleepyhead...
=> nil

Give me the first comment