Tag: japan

26th Ruby Kansai Workshop in Kyoto

Posted by on 19-May-2008

On 17-May-2008 there was 26th Ruby Kansai Workshop in Kyoto . A lot of fun like always :) The chatlog from the presentations is available on lingr.

I gave a presentation “Ruby off Rails” about developing web applications in Ruby, but without Rails – Sequel, Rack, Ramaze etc. talk. The presentation slides:

The sources from the talk (plus some extras – rack middleware examples) are available on Google sites for download.

There was no time to speek about Tamanegi – my feeds aggregator in Ramaze , but maybe on some other meeting…

There are also another two presentations:

“5 ways to run Ruby on Rails web applications”

by okkez-san

presentation slides

Benchmarking CGI, FastCGI, mod_ruby, mod_rails and mongrel_cluster. Received very good documentation with configs for all mentioned deployment options.

Okkez-san is using Rabbit – very cool presentation tool, written in Ruby! Just needed ruby-gnome. Will try it soon maybe.

Some notes:

  • ebb is still a pain to install
  • mod_ruby is not bad deployment option
  • webrick overperforms fastcgi for simple installs (still a valuable option for intranet for example)
  • thin is fast

I think thin is faster because of the underlaying EventMachine TCP stack implementation in C. The others are just pure Ruby-based, so there is nothing to compare for simple requests (ab benchmarks).

“Agile web posting with Ruby”

by ujihisa-san

presentation slides

There are sooooo many web services around. Can the posting to them be automated, using Ruby-based tools?

!!! Big Fat Warning: The presented tools will make you very ‘productive’. Maybe your friends will stop following you. Use on your own risk! ;)

Main working horse – www:mechanize ruby port :

gem install mechanize

So far so good. But can you post directly from VIM? Seems there is vimscript – i way to customize vim in different languages. Try:

vim --version

and if you see +ruby you can use ruby in vimscripts like:

# ~/.vim/plugins/some_plugin.vim
...
VIM.evaluate(’..’) evaluate %[sdfsds]
...

And even better: there are already a lot of ready ruby-based VIM plugins in the CodeRepos vim repository

20th “Ruby for beginners” lesson

With a ‘little’ help from google my answers was:

FizzBuzz

(‘Aho’,’Bow’ and also say ‘Aho’ for numbers that contain ‘3’):

puts (1..100).map { |i| (s=(i%3==0?'Aho':'')+(i%5==0?'Bow':'')+(i.to_s =~ /3/?'Aho':''))==""?i:s }

99 bottles of beer

I like Jeremy Voorhis’ implementation . Just modified it to handle 1 bottle situation:

#!/usr/bin/env ruby

def expensive
  @expensive ||=
    begin
      n = 99
      buf = ""
      begin
        buf << "#{n} bottle#{n>1?'s':''} of beer on the wall\n"
        n -= 1
      end while n > 0
      buf << "no more bottles of beer"
    end
end

puts expensive

18th Ruby/Rails meeting in Hirakata

Posted by on 15-Aug-2007

On 11-August-2007 there was a Ruby/Rails meeting in Hirakata . For the first time Osaka meeting is so far from Osaka. About 1.5 hour with train. It was soooooo hot walking from the station to the university :(

I put some notes about the event on my wiki . All presentations was very interesting. And the “nomikai” after that also ;)

I also gave a presentation about NginX . The slides are on SlideShare :

14th Ruby Kansai Workshop

Posted by on 17-Feb-2007

Today (17-Feb-2007) was the 14th Ruby Kansai meeting in Kyoto. Some notes on Stikipad (and copy on my wiki ). For bad luck both Stikipad and JunebugWiki cannot do trackbacks, so I’ll use this diary to ping the event page.

Interesting conversations during and after the lessons.

6th Kansai Rails meeting in Kobe

Posted by on 24-Jan-2007

After small timeout I found a time to put some notes for the last Rails meeting in Kobe .

Sometimes StikiPad is down (specially when i need my notes ;) ), so like a work around will try to duplicate all notes on the self-hosted Junebug -powered wiki . For the related discussions there is a Beast -powered forum . Hahahah (c) Powered by RoR site a ;) The only missing part is maybe Mephisto for blogging. Or I can use my homemade Restolog when it’s ready.

Discovering a world of Resources on Rails

Posted by on 16-Jun-2006

The best DHH presentation on RubyKaigi2006 ”summary”. Man, it’s not a summary, it just the whole presentation, word by word, translated in japanese with sources, pictures etc.

Ruby Kaigi 2006

Posted by on 12-Jun-2006

I put some notes about Japan Ruby Conference 2006 on my wiki . DHH is here!

Notes about the second Japan Ruby Conference 2006 day are ready and online. Also some conference days photos .

9th Rubykai in Osaka Notes

Posted by on 13-Mar-2006

To test the new wiki , i put there my notes from the 9th Ruby meeting in Osaka previous week. Interesting: now I can easy move pages between wiki, when they are work in progress and the typo pages, when they are finished.

Design Matters meeting

Posted by on 16-Nov-2005

Yesterday (15-Nov-2005) recieved invitation from a friend of mine and visited a Design Matters meeting in Shinsaibashi. Thanks to Garr Reynolds for keeping it up and running. It is one of the not so much english speaking computer related events around. Was happy to be there.

The meeting was a little different from the usual ones. This time the presentation, by the cute Joelle Bacic, was about creating own music with “GarageBand”. Everybody was very excited after the presentation. It seemed so easy to compose your own electronic music, that maybe everybody thought like me “Ok, I can do it too” ;)

After that there was a small “nomikai” and chat with different people. I’m waiting forward for the next meeting on 12-December-2005, the last for this year.