By Mutants, For Mutants - Black Isle
%w[ Class <<self Symbol ].reverse.each{ |klass|
def public_send *args
respond_to?(args.first) && send(*args)
end unless respond_to?(:public_send)
def public_send *args
if respond_to?(args.first)
send(*args)
else
msg = " `\#{args.first}' called for \#{inspect}:\#{self.class}"
if respond_to?(args.first, true)
raise NoMethodError.new( 'private method' + msg)
else
raise NoMethodError.new('undefined method' + msg)
end
end
end if RUBY_VERSION < '1.9.0'
def to_proc
msg = self
lambda{ |*args| args.shift.public_send(msg, *args) }
end
eval <<-RUBY.split(/真常/).join
class #{klass}
真常 define_method(:method_missing, &:say)
end
RUBY
}
Class.send(:define_method, :const_missing,
&lambda{ |c| cry c.to_s[0..-2] })
def say s = nil
print s, ' ' if s
self
end
public :say
sing Hello.World!
puts
__END__
Apache License 2.0
i was a half gamer, a half programmer, a half computer scientist,
and a half etc, and never was a full something.
links:
profile
-
飽和脂肪星
- planet of saturated fat
blog
-
星之一角
- a corner of the planet
microblog
projects:
△ Back
C++ 98
-
CuBeat
- a puyopuyo-like game (actually looks more like Panel de Pon, Meteos and Lumines).
ActionScript 3
Scala 2.8
Ruby
-
rest-graph
- A lightweight Facebook Graph API client
> gem install rest-graph
-
rest-core (rework of rest-graph)
- A modular and lightweight Ruby REST client infrastructure and implementations
> gem install rest-core
-
ripl-rc
- ripl plugins collection, take you want, leave you don't.
> gem install ripl-rc
-
cerealize
- Serialize out of the Cerealize Box
- a drop-in replacement for ActiveRecord's serialize
> gem install cerealize
-
pagify
- Pagination tools for Array(or custom class), DataMapper and ActiveRecord
> gem install pagify
-
friendly_format
- make user input be valid xhtml and format it with gsub("\n", "<br/>") etc.
> gem install friendly_format
-
dm-is-reflective
- DataMapper plugin that helps you manipulate an existing database.
> gem install dm-is-reflective
slides:
research:
△ Back
- programming language theory (type system, functional programming, etc)
- software development (source code management, unit testing, object-orient programming, etc)
- website development (css, jquery, rack, ramaze, deployment, etc)
- modular/library/framework design/implement
- game design/development
programming languages:
△ Back
- Ruby 1.8/1.9
- ISO C++ 98/03
- ActionScript 2.0/3.0
- Haskell 98 (studying)
- Scala 2.8 (studying)
time-graphs:
△ Back
- 2009-12 ~ 2010-07: iis.sinica 中研院資科所
- 2009-11 ~ present: cardinalblue.com
- 2007-07 ~ 2010-08: roodo.com 樂多
- 2007-03 ~ 2009-02: iis.sinica 中研院資科所
- 2004-09 ~ 2008-08: infocom.yzu 元智資訊傳播-互動科技組
- 2001-09 ~ 2004-06: 師大附中
- 1998-09 ~ 2001-06: 和平高中國中部
- 1992-09 ~ 1998-06: 北師實小
- ?? ~ ??: ??
- ?? ~ ??: ??
- ?? ~ ??: ??
- 1985-09 ~ present: Taiwan 台灣
interests:
△ Back
- game (遊戲)
- music (音樂)
- programming (寫程式)
- reading/learning (閱讀/學習)
favors:
△ Back
anime/comic:
- 魔法陣グルグル
- 攻殻機動隊
- 蟲師
- 電脳コイル
- ナツノクモ
- ヒカルの碁
- 風の谷のナウシカ (comic)
games:
composers:
singers:
music:
- Chrono Cross
- .hack//SIGN
- 魔界戦記 Disgaea Arrange Soundtrack
- Elysion ~楽園幻想物語組曲~
- RAKA
- Ar tonelico
- Pure-AQUAPLUS LEGEND OF ACOUSTICS-
- うみねこのなく頃に (志方あきこ)
books:
- The Language Instinct 語言本能
- The Enchanted World of Sleep 睡眠的迷人世界
- On Intelligence 創智慧
- Dragon Raja 龍族
misc:
- Arch Linux
- fish shell
- Git
- nginx HTTP server
- Bitstream Vera Sans (Mono)
- Apache License
computer systems:
△ Back
- 2010-05: MacBook Pro 15" i5 2.4GHz, GeForce GT 330M, 8G RAM
- 2007-07: MacBook 13" Core2 Dual 2.13GHz, 3G RAM
- 2005: 仁寶 CL56 15" PentiumM 1.6GHz, ATi 9700M, 1G RAM
- custom desktop Pentium4 2.8GHz, ATi 9600pro, 1G RAM
- forgotten stories (386, 486, Pentium, etc)
headphone systems:
△ Back
- CEC TL51-XR
- Apple MacBook Pro
- Echo Audiofire 2
- Meier Audio Corda Symphony
- Etymotic Research ER4S
- Alessandro Music Series Pro
- beyerdynamic DT48E
- Sennheiser HD800
 |
 |
Lin Jen-Shin (godfat) |
© 2005-2011 godfat.org