What is few?

Post on 24-May-2015

3.711 views 0 download

Tags:

description

RubyKaigi2010 Lightening Talks "What is Few?" http://rubykaigi.org/2010/en/events/41

Transcript of What is few?

What is few?Shota Fukumori / @sora_h

RubyKaigi2010 Lightening talks

(‘.v.’)

Hi

• Today I advertise a beautiful utility

• Itʼs named few.

• I wrote these slides in English,And my English is usually strange.

• Send a patch via twitter @sora_h when you find a miss in these slides

Itʼs, very advertisement

Agenda

What's few?Simple demo

Before, I havean announcement.

a new featurein ruby-trunk

Feature #3675String#>>, String#prepend

In, RubyKaigi2010Committers Conf

I wrote to IRC“When theyʼre talk about my

propose?”

And I was calledsuddenly

by committer

And I talked aboutthe propose.

yugui said:

“Go to activesupport.”

but committersare accepted

Only #prepend.

>> "bar".prepend("foo")=> "foobar">> a = "bar"=> "bar">> a.prepend("foo")=> "foobar"

You can useafter r29120.

Please use it.

Self introduce

• Shota Fukumori a.k.a. @sora_h

• Rubyist

• JHS 2nd grade (part-time) student

• The youngest RubyKaigi speaker ever.

• English Blog: http://codnote.blogspot.comJapanese Blog: http://codnote.net

You usually use `less`

But less is not perfect

Like...

• Canʼt show with command-line(without multi-windows mode of `screen`)

• Canʼt show in beautiful proportional font

But few can do

Few• Less is to show in terminal

• Few is a pager in GUI

• It shows in browser

• http://github.com/ujihisa/few

• Written in Ruby

Local

Few• It can use over SSH

few

browser

Remote

SSH, telnet

Sent data directly

Local

Few• It can use over SSH

few

browser

Remote

SSH, telnet

Local

Few• It can use over SSH

few

browser

Remote

SSH, telnet

few remoteserver(cgi)

Local

Few• It can use over SSH

few

browser

Remote

SSH, telnet

few remoteserver(cgi)

few command

Local

Few• It can use over SSH

few

browser

Remote

SSH, telnet

few remoteserver(cgi)

few command

data

Local

Few• It can use over SSH

few

browser

Remote

SSH, telnet

few remoteserver(cgi)

few command

data

check

Local

Few• It can use over SSH

few

browser

Remote

SSH, telnet

few remoteserver(cgi)

few command

data

check

data

Local

Few• It can use over SSH

few

browser

Remote

SSH, telnet

few remoteserver(cgi)

few command

data

check

data

Who did develop few?

But we have no ujihisa today...Because he couldn't get out from Canada for a while.

Core developerujihisa

Developing

Developing

This picture means what he is doing now in Canada.

Developing

esc!esc!esc!

This picture means what he is doing now in Canada.

Developing

Before few

• GUI and CUI are in small conflict

• But...

After few• Few resolves a conflict of CUI and GUI

After few• Few resolves a conflict of CUI and GUI

CUI

After few• Few resolves a conflict of CUI and GUI

GUI CUI

After few• Few resolves a conflict of CUI and GUI

GUI CUI^v^v

After few• Few resolves a conflict of CUI and GUI

GUI CUI<3

And recallTheme of RubyKaigi2010

Conflict

and

Resolution

Conflict and ResolutionI think that matches to few

Demo

Few Now

Few

http://github.com/ujihisa/few

gem install fewgit clone http://github.com/ujihisa/few.git

http://github.com/ujihisa/few

Thank youfor Listening!