pebbles : A namespace for joke gems

3,662 views

Published on

2011-07-18 RubyKaigi2011 18M09
Lightning Talks 2

pebbles : A namespace for joke gems
pebbles: rubygemsにおけるジョークモジュールの名前空間について

Published in: Technology, Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,662
On SlideShare
0
From Embeds
0
Number of Embeds
1,069
Actions
Shares
0
Downloads
3
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

pebbles : A namespace for joke gems

  1. 1. pebblesA namespace for joke gems
  2. 2. Good Evening!
  3. 3. kwappaSHIOYA, Hiromu http://www.kwappa.net/
  4. 4. a programmera drunk a fond parent
  5. 5. Born in the NET,Connected by the NET
  6. 6. http://info.dwango.co.jp/recruit/
  7. 7. What I want to say
  8. 8. "pebbles" I propose that we usethe namespace "pebbles" for joke gems
  9. 9. One day
  10. 10. I created a gem called “zenra” http://twitter.com/zenra_bot
  11. 11. What is “zenra” ?
  12. 12. What is “zenra” ?
  13. 13. What is “zenra” ? I write Ruby.
  14. 14. What is “zenra” ? I write Ruby.
  15. 15. What is “zenra” ? I write Ruby. I write Ruby stark-naked.
  16. 16. How to install
  17. 17. How to install
  18. 18. How to install te d re ca de p
  19. 19. Why deprecated?
  20. 20. Why deprecated?
  21. 21. Why deprecated?(snip)(snip)
  22. 22. Why deprecated?(snip) serious joke serious(snip)
  23. 23. Why deprecated?(snip) serious joke serious(snip) how embarassing...
  24. 24. Another day
  25. 25. “How to Name Gems”http://blog.segment7.net/2010/11/15/how-to-name-gems
  26. 26. Use underscores•fancy_require•newrelic_rpm•ruby_parser
  27. 27. Use underscores•fancy_require•newrelic_rpm•ruby_parser
  28. 28. Use underscores•fancy_require•newrelic_rpm•ruby_parser
  29. 29. Use dashes for extensions•net-http-persistent•rdoc-chm•autotest-growl
  30. 30. Use dashes for extensions•net-http-persistent•rdoc-chm•autotest-growl
  31. 31. Use dashes for extensions•net-http-persistent•rdoc-chm•autotest-growl
  32. 32. A flash of inspiration
  33. 33. Create a namespace for joke gems http://mrg.bz/uLdp5w
  34. 34. pebblesNot Gems, just Pebbles http://mrg.bz/uLYYgS
  35. 35. for example
  36. 36. for examplefizzbuzz
  37. 37. for examplefizzbuzz
  38. 38. require pebbles/fizzbuzz
  39. 39. require pebbles/fizzbuzz(1 .. 15).each do |num| puts fizzbuzz numend
  40. 40. require pebbles/fizzbuzz (1 .. 15).each do |num| puts fizzbuzz num endhttp://gungelads.com/gunging/?p=1683
  41. 41. Directory structure
  42. 42. Class definition
  43. 43. move “zenra” to ...
  44. 44. move “zenra” to ...
  45. 45. move “zenra” to ...
  46. 46. move “zenra” to ... Less embarrassing!https://rubygems.org/gems/pebbles-fizzbuzz
  47. 47. Conclusion
  48. 48. "pebbles"Use namespace "pebbles" when you make joke gems
  49. 49. Bonus
  50. 50. I made a mistake
  51. 51. I made a mistake
  52. 52. I made a mistake
  53. 53. I made a mistake !
  54. 54. Apologies toRyan Smith andBobby Wilson.
  55. 55. pebblesNot Gems, just Pebbles
  56. 56. Thank you for listening.pebbles Not Gems, just Pebbles

×