Archive for the ‘Uncategorized’ Category

Ruby quiz

October 4, 2006

Ruby quiz

Ruby Quiz is a weekly programming challenge for Ruby programmers in the spirit of the Perl Quiz of the Week. A new Ruby Quiz is sent to the Ruby Talk mailing list each Friday.

Ruby performance and ruby-html

October 4, 2006

Two ruby articles.

Does Performance Matter? Yes (And No) Because everyone is talking about it.

Converting ruby code to html a nice explaination.

Japanese slang

October 3, 2006

This is all a bit too advanced for me yet but I wanted to save the link.

All I’m really up to yet is practising recognising the kana and the few kanji I know.

http://www.guidetojapanese.org/casual.html

I also listened to the first one of the Japanesepod101 podcast. I think I have to listen to it again today to remember the pharses I found new.

Japanesepod101 from podcast alley

3 links: fun, educational, problem-solving.

October 3, 2006

Things you can do with absolutely nothing and some things you can do with something.

A new word. sui generis: unique.

A ruby problem solved. Accepting a single character from the keyboard in Ruby

Foreigner

October 2, 2006

外人 gaijin, “outsider”

gaikokujin (外国人), meaning “foreigner”.

外 soto outside

国 kuni country

人 hito person

Another word that was once used was

kōmōjin (紅毛人, literally “red-haired people”)

Haha. That could not be used here as the red haired, blond haired and black/brown haired are all natives.

I wouldnt used non-gael here either as the gaels or celts are relatively new historically.

Ahhh!

September 28, 2006

Just noticed this on BarcampIreland blog

Looking through the list, some of the ones that jump out at me are:

..Ruby

I really hope now that people find it interesting. 

Just checked out barcampireland backnetwork

September 28, 2006

Wandered around the back network. Its quite cool. I’m not quite sure what to use it for but I liked looking at the profiles.

Thanks Conor O Neil for adding me as a contact.  

There seems to be a fair amount of blogging about the event. I was reading the post on presentations from the barcamp blog.

I dont have a laptop, so Ill be bring either slides on a floppy or a printout for a projector. Most likely printouts.

I kind of hoping there will be so many interesting other people I wont have to talk. I’m a bit nervous. But I plan to be well prepared with links and references in case anyone is actually interested. 

I’m going to bring a paper notebook to jot down interesting ideas and information I hear about a the conference. Non techie I know, but it works. Im quite looking forward to actually getting to listen to everything. This is going to be my first tech conference so Im hoping it will go well.

Ruby performance

September 27, 2006

joelonsoftware

Maybe for the best wordpress just deleted this entire post. The only noteworthy other comment, was I have used joels software time predicting articles to draw up a timetable and it worked fine.

first words in hiragana

September 26, 2006

かわいい - cute -ka wa i i

かっこいい - cool; handsome - ka tsu ko i i 

いい - good - i i

Hiragana are used for honorifics. 

さん -san    

And a link about the hiragana.

http://en.wikipedia.org/wiki/Hiragana

Im practising 10 kana now on my practice sheets.
あa いi うu えe おo
か ka き ki く ku け ke こ ko

TkWinfo.rgb

September 22, 2006

TkWinfo.rgb returns the code for the colour word. 

require “tk”

#working example to show the use of TkWinfo.rgb

p1 = [ ' ' , ' ']

p1[0,0] = TkWinfo.rgb(Tk.root ,”black”)
p1[0,1] = TkWinfo.rgb(Tk.root ,”white”)
p1[0,2] = TkWinfo.rgb(Tk.root ,”red”)
p1[1,0] = TkWinfo.rgb(Tk.root ,”green”)
p1[1,1] =TkWinfo.rgb(Tk.root ,”blue”)
p1[1,2] = TkWinfo.rgb(Tk.root ,”gray”)
#p1[2,0] = TkWinfo.rgb(Tk.root , “#0a0a0a”)

puts p1[0,0]
puts p1[0,1]
puts p1[0,2]
puts p1[1,0]
puts p1[1,1]
puts p1[1,2]