Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
tDiary annual report 2009
Search
SHIBATA Hiroshi
October 10, 2011
Programming
1
750
tDiary annual report 2009
SHIBATA Hiroshi
October 10, 2011
Tweet
Share
More Decks by SHIBATA Hiroshi
See All by SHIBATA Hiroshi
How to make faster release cycle of Ruby?
hsbt
2
5.4k
Ruby の開発を支えるエコシステム
hsbt
4
2.2k
Why is building the Ruby environment hard?
hsbt
6
7.1k
開発環境へのこだわり
hsbt
16
12k
OSS ことはじめ
hsbt
5
1.4k
GMO DevNight 05 在宅勤務開始から2ヶ月でやったこと
hsbt
2
510
Development Environment 2019
hsbt
1
320
How to become the Psychic
hsbt
0
1.9k
Software Development
hsbt
1
6.5k
Other Decks in Programming
See All in Programming
複数のAWSアカウントから横断で 利用する Lambda Authorizer の作り方
tc3jp
0
120
DevNexus - Create AI Infused Java Apps with LangChain4j
kdubois
0
120
データベースのオペレーターであるCloudNativePGがStatefulSetを使わない理由に迫る
nnaka2992
0
240
Boos Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
480
Rails 1.0 のコードで学ぶ find_by* と method_missing の仕組み / Learn how find_by_* and method_missing work in Rails 1.0 code
maimux2x
1
250
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1.2k
責務と認知負荷を整える! 抽象レベルを意識した関心の分離
yahiru
8
1.5k
Django NinjaによるAPI開発の効率化とリプレースの実践
kashewnuts
1
280
良いコードレビューとは
danimal141
7
1.8k
SwiftUI移行のためのインプレッショントラッキング基盤の構築
kokihirokawa
0
160
Drawing Heighway’s Dragon- Recursive Function Rewrite- From Imperative Style in Pascal 64 To Functional Style in Scala 3
philipschwarz
PRO
0
100
読まないコードリーディング術
hisaju
0
110
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
RailsConf 2023
tenderlove
29
1k
For a Future-Friendly Web
brad_frost
176
9.6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
How STYLIGHT went responsive
nonsquared
99
5.4k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
The Invisible Side of Design
smashingmag
299
50k
Adopting Sorbet at Scale
ufuk
75
9.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Visualization
eitanlees
146
15k
Transcript
tDiary annual report 2009 ࣲా തࢤ (tDiary.org) SHIBATA Hiroshi (tDiary.org)
200912݄6༵
ࣗݾհ 200912݄6༵
• SHIBATA Hiroshi a.k.a hsbt (hsbt.org) • ιϑτΣΞΤϯδχΞ • 1981ੜ·Ε
ւಓࡏॅ 200912݄6༵
RubyͱͷؔΘΓ • ߴઐ4ͷ࣌ͷԠ༻ֶͰ id:gotoken ͔ Βڭ͑ͯΒ͏ • tDiary Λ͍࢝ΊͯओʹWebؔ࿈ͷϥΠ ϒϥϦΛ͍࢝ΊΔ
200912݄6༵
tDiary ͬͯΔਓ͍·͔͢? 200912݄6༵
Administrator of developer team for tDiary.org http://www.tdiary.org/ 200912݄6༵
ΑΖ͓͘͠ئ͍͠·͢ɻ 200912݄6༵
Agenda • ͋Ε͔ΒҰ… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future
200912݄6༵
͋Ε͔ΒҰ… 200912݄6༵
SapporoRubyKaigi01 200912݄6༵
Ruby 1.9 ͬͯΔਓ͍·͔͢? 200912݄6༵
tDiary ʹΑΔ Ruby 1.9 ීٴ࡞ઓ 200912݄6༵
tDiary ʹΑΔRuby 1.9 ීٴ࡞ઓ • Ruby 1.9͍͔ͭΘͳ͚ΕͳΒͳ ͍ • tDiaryΛRuby
1.9ීٴͷΩϥʔΞϓϦʹ ͢Δ • ͱΓ͋͑ͣಈ͔͘ΒRubyΛ1.9ʹόʔ δϣϯΞοϓͯ͠͠·͏ 200912݄6༵
Agenda • ͋Ε͔ΒҰ… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future
200912݄6༵
tDiary-2.3.2ϦϦʔεܭը (Ruby 1.9 αϙʔτ) 200912݄6༵
ͱΓ͋͑ͣಈ͔ͯ͠ΈΔ 200912݄6༵
·ͣܭը 200912݄6༵
200810݄ ॴͰ࡞ઓձٞ 200912݄6༵
Ruby 1.9 ͰͷओͳରԠ • աڈόʔδϣϯͱͷඇޓ෦ • จࣈΤϯίʔσΟϯάͷมߋ • magic comment
• ֎෦ encoding 200912݄6༵
Ruby 1.9 ͷओͳରԠ • 1.8ͱ1.9ʹଘࡏ͢Δ༷ʑͳඇޓΛ compatible.rbͰٵऩ • ઌ಄ʹmagic commentΛҰׅࢦఆͯ͠ encoding
Λ໌ࣔ 200912݄6༵
• default_externalΛ͏ • ఆʹRUBY_VERSIONΘͳ͍ ֎෦ encoding ͷࢦఆ 200912݄6༵
ৄ͘͠… • RubyKaigi2009 ͷεϥΠυΛࢀর • http://www.slideshare.net/hsbt/ rubykaigi2009-presentation-slide 200912݄6༵
eval࣮ߦ࣌ʹSecurityError 200912݄6༵
[BUG]ͩͬͨ • $SAFE= 1ͷ࣌ͷevalʹ[BUG] • Δ·Ͱ͜Μͳײ͡ͰରԠ ruby-1.9.1p129 Ͱ bug fix
200912݄6༵
2009/05/08 tDiary-2.3.2 ϦϦʔε 200912݄6༵
tDiaryձٞ01 200912݄6༵
Ϣʔβʔ/ίϛολͷ • cacheϑΥϧμʹcache͡Όͳ͍σʔλ͕ ͋Δ • mod_rubyո͍͔͠ΒfcgiΛऔΓࠐΈ͍ͨ • Ruby 1.9 Ͱಈ͔͢ͱඍົʹ͍
• Ұ෦ϓϥάΠϯͷ core औΓࠐΈ 200912݄6༵
ղܾࡁΈͷ߲ • r[3475] cacheύεར༻ plugin ͷमਖ਼ • r[3485] fcgi αϙʔτ
• r[3511]ʙr[3514] ύϑΥʔϚϯεվળ • r[3541]ʙr[3544] navi_user.rb ͷऔΓࠐΈ 200912݄6༵
Agenda • ͋Ε͔ΒҰ… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future
200912݄6༵
tDiary-2.3.3~ future • testing frameworkͷ࠾༻ • rspec • cucumber •
CGI͔ΒRackͷࡌͤସ͑ • ػೳՃͱෆ۩߹मਖ਼ 200912݄6༵
testable_tdiary • ࡳຈtDiaryձٞ01ͷ֯୩͞Μͷεϥ ΠυΛࢀর • http://kakutani.com/20081025.html#p01 200912݄6༵
githubͰ࡞ۀத http://github.com/hsbt/tdiary/ 200912݄6༵
࡞ۀεςʔλε •script/server (pure webrick) •rackup -s tdiary.ru •cucumber -l ja
features •rspec spec/**/*.rb 200912݄6༵
ະղܾͷ • XML-RPC ࣺͯͯ Atom αϙʔτ • ͍ͭͰʹPubSubhubbub • testble_tdiary
ͷ svn/trunk Ϛʔδ • ຊ֨తͳ Rack ରԠ • #gustav 200912݄6༵
#gustav 200912݄6༵
ύονϕʔεͷϫʔΫϑϩʔ Chapter.10Λࢀর 200912݄6༵
·ͱΊ 200912݄6༵
RubyistʹͰ͖Δ͜ͱ http://jp.rubyist.net/magazine/?0027-WhatWeCanDo 200912݄6༵
·ͱΊ • 2009tDiaryRubyͱڞʹ͠·͠ ͨ • 2010ͨͿΜtDiaryRubyͱڞʹ ͠·͢ • Rubyist ʹग़དྷΔ͜ͱΛΔͳΒtDiary
200912݄6༵
ΒͷಓͷΓ ·ͩ·͍ͩ 200912݄6༵
͝੩ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ 200912݄6༵
Q&A 200912݄6༵