Tagged: mtnwestrubyconf

Mountain West Ruby Conference

I spent last week at the Mountain West Ruby Conference which is by far the best conference I've ever attended due to the brilliant minds that gather from all over the country. This year Yukihiro Matsumoto (Matz), the creator of ruby came from Japan to provide his aura to to adoring minions. I had the fortune to go to dinner and hang out with him a bit which was not an insignificant opportunity. I have to admire someone who is passionate about a programming language for the sake of the language. His brainchild powers many of the latest startups and provides jobs for thousands if not hundreds of thousands of people. I asked what he thought about the significance of his contributions to the world. He said "ya, I guess it's pretty cool". For a guy that has every right to be impressed with himself he's really nice and humble. I think the ruby community not only owes thanks for a great tool, but also for a personality that helped breed a friendly, helpful bunch of peopl...

Continue Reading →

Mountain West Ruby Conference

I've been to a good number of conferences over the years. A lot of them cost a lot of money. If you are a geek and a ruby lover (who isn't?) then the best event you'll ever attend is the Mountain West Ruby conference. The schedule is up.

It's only a hundred bucks and the best of the best show up. Get registered now so you don't hate yourself in the morning.

Continue Reading →

Ruby Grand Masters

I spent two years in Japan. While there I met all kinds of interesting people. I remember one individual in particular because he was a chess grand master. He was also very good at Shogi. In fact he had written Shogi the video game for Nintendo.

I like chess and so we played a game. I thought I was a pretty good player. I used to be able to beat most casual players I met. He slaughtered me in about 10 moves. I kind of expected that. It was the most elegant butt kicking I have ever received. Grand masters think different than the rest of us. I don't remember how he beat me, but I do remember that it was smooth, quick and brutal.

This weekend I spent time with the Ruby Grand Masters. In my opinion there isn't a better Ruby conference than the Mountain West Ruby conference. The hackers show up. These guys are all about being the very best - not for money but for love of the language. Here's a list of the guys I could gather up. I am sure there were many others who didn't p...

Continue Reading →

Ruby Grand Masters

I spent two years in Japan. While there I met all kinds of interesting people. I remember one individual in particular because he was a chess grand master. He was also very good at Shogi. In fact he had written Shogi the video game for Nintendo.

I like chess and so we played a game. I thought I was a pretty good player. I used to be able to beat most casual players I met. He slaughtered me in about 10 moves. I kind of expected that. It was the most elegant butt kicking I have ever received. Grand masters think different than the rest of us. I don't remember how he beat me, but I do remember that it was smooth, quick and brutal.

This weekend I spent time with the Ruby Grand Masters. In my opinion there isn't a better Ruby conference than the Mountain West Ruby conference. The hackers show up. These guys are all about being the very best - not for money but for love of the language. Here's a list of the guys I could gather up. I am sure there were many others who didn't p...

Continue Reading →

More Ruby Conference

We missed the first talk this morning (sorry Devlin we suck). I slept till 9:30, but mainly because we were up till 4am. Dave South gave me some great info on using TestSpec. RSpec seems to be the hot thing right now, but I like how TestSpec is lightweight:

Install the gem: sudo gem install test-spec

Install the plugin: ./script/plugins install http://svn.techno-weenie.net/projects/plugins/test\_spec\_on_rails/

Require in test_helper: require 'test/spec/rails'

I spent a good part of last night rewriting some tests to use TestSpec. I also eavesdropped on a conversation the guys from EngineYard were having. They are showing their leadership in the Ruby community by sponsoring Rubinius, merb, and Datamapper, but when you listen to how knowledgeable their team you realize that they are going to play a large leadership role in the Ruby community going forward. They are awesome.

Continue Reading →

More Ruby Conference

We missed the first talk this morning (sorry Devlin we suck). I slept till 9:30, but mainly because we were up till 4am. Dave South gave me some great info on using TestSpec. RSpec seems to be the hot thing right now, but I like how TestSpec is lightweight:

Install the gem: sudo gem install test-spec

Install the plugin: ./script/plugins install http://svn.techno-weenie.net/projects/plugins/test\_spec\_on_rails/

Require in test_helper: require 'test/spec/rails'

I spent a good part of last night rewriting some tests to use TestSpec. I also eavesdropped on a conversation the guys from EngineYard were having. They are showing their leadership in the Ruby community by sponsoring Rubinius, merb, and Datamapper, but when you listen to how knowledgeable their team you realize that they are going to play a large leadership role in the Ruby community going forward. They are awesome.

Continue Reading →

Using Amazon’s Web Services from Ruby – Jonathan Younger

Right Scale has a great gem: gem install right_aws RightScale RightAws::Sqs RightScale RightAws::Ec2

They will automatically retry errors for you.

gem install kato Kato - EC2 Pool Manager

 require 'rubygems' requrie 'right_aws' RightAws::RightAWSParser.xml_lib = 'libxml'

SQS = RightAws::Sqs.new(access_id, access_key) #get an SQS object queue = SQS.queue("name_of_queue") #create a or get a reference to an existing queue queue.psuh "put message in the queue" #8k max queue.size # get an approximate number of message in the queue message = queue.receive # message.delete # if you don't delete your messages they will show up again

 require 'rubygems' requrie 'right_aws' RightAws::RightAWSParser.xml_lib = 'libxml' EC2 = RightAsw::Ec2.new(access_id, access_key) EC2.describe_instances # get a hash of running instances EC2.run_instances("name_of_ami", minium_instances_to, max) # start up instances EC2.terminate_in...

Continue Reading →

Mountain West Ruby Conference

I'm at the Mountain West Ruby Conference for the next few days so I will be doing a bunch of blog posts that look like notes.

Up right now: Strengthening the Ruby Ecosystem & Ezra Zygmuntowicz Evan Phoenix

Evan is talking about Rubinius. Engine Yard pays him to work on the project full time. Even doesn't like the notion of a 'core' team because it implies there is one group that is above all others. The project is open source and they like to keep everyone involved. I like that. They try to be highly transparent. They are trying to build community.

Ezra is up now. I am hoping to hear something in depth about merb.

merb principles: great for mashups great for building web services grew out of frustration with Rails

  • Prefers simplicity over magic
    • simple is better and scales better
    • just because its there doesn't mean you have to use it
    • be responsible about what you put in the libraries
  • This is framework code, no &:foo or returning allowed
  • When in doubt benchm...

Continue Reading →

Mountain West Ruby Conference

I'm at the Mountain West Ruby Conference for the next few days so I will be doing a bunch of blog posts that look like notes.

Up right now: Strengthening the Ruby Ecosystem & Ezra Zygmuntowicz Evan Phoenix

Evan is talking about Rubinius. Engine Yard pays him to work on the project full time. Even doesn't like the notion of a 'core' team because it implies there is one group that is above all others. The project is open source and they like to keep everyone involved. I like that. They try to be highly transparent. They are trying to build community.

Ezra is up now. I am hoping to hear something in depth about merb.

merb principles: great for mashups great for building web services grew out of frustration with Rails

  • Prefers simplicity over magic
    • simple is better and scales better
    • just because its there doesn't mean you have to use it
    • be responsible about what you put in the libraries
  • This is framework code, no &:foo or returning allowed
  • When in doubt benchm...

Continue Reading →

Rails Conf Intro from Chad Fowler and Some Stuff from the Mountain West Ruby Conference

Chad Fowler is talking right now. I think he works on giving keynotes that leave you scratching your head a bit. His keynote at the Mountain West Ruby conference had mixed reviews. We left wondering what his intent was, but we weren’t sure if it was just our perception. Last night we had a chance to meet up with some of the people who were at the conference. They commented that they had a similar “huh?” moments during Fowler’s keynote. One of the guys brought his chief Java architect hoping to persuade him over to Ruby. After the talk the architects comments were, "so Ruby is slow, we shouldn't deploy on it, and you should be moving on to Haskell or Erlang anyway." I think that several people, especially the guys new to Ruby, got the impression that they were newbs polluting the Ruby world. These were the assembly programmers who weren't smart enough to jump sooner. How dare they stay in .Net, Php, or Java for so long. These guys of course are the same one who didn...

Continue Reading →

Code Review of Ozmozr by Jamis Buck and Marcel Molina

The review is actually less painful than I would have thought. They are looking at parts of the code and giving specific feedback on code blocks. Here's a quick summary:

'and' and 'or' are different than '||' and '&&'. The second returns boolean values. The first returns strings. Avoid using 'and' and 'or'. When dealing with errors. Try to use exceptions instead of booleans and procedures.

Putting models in the application.rb file is depricated and probably a bad idea anyway. - As an excuse, we never liked that, but it was required by the login engine which we have gotten rid of.

Empower your models. Include as much data validation and manipulation in the model as possible.

How to deal with business requirements that span models? Create a model that spans the logic.

Keep your controllers "skinny". If your view doesn't require any code do this:

 def about render end 
That lets you sort of self document your code.

...

Continue Reading →

Code Review of Ozmozr by Jamis Buck and Marcel Molina

The review is actually less painful than I would have thought. They are looking at parts of the code and giving specific feedback on code blocks. Here's a quick summary:

'and' and 'or' are different than '||' and '&&'. The second returns boolean values. The first returns strings. Avoid using 'and' and 'or'. When dealing with errors. Try to use exceptions instead of booleans and procedures.

Putting models in the application.rb file is depricated and probably a bad idea anyway. - As an excuse, we never liked that, but it was required by the login engine which we have gotten rid of.

Empower your models. Include as much data validation and manipulation in the model as possible.

How to deal with business requirements that span models? Create a model that spans the logic.

Keep your controllers "skinny". If your view doesn't require any code do this:

 def about render end 
That lets you sort of self document your code.

...

Continue Reading →

At the Mountain West Ruby Conference

We are at the Ruby Conference this weekend. The Ruby community is active, talented and friendly. I mean that. Often, because of religious zeal open source communities act very closed to individuals outside their group. The Ruby world isn't like that. Everyone wants to help. Everyone is friendly.

The talks have been good, but like any conference it is what happens between the talks that matters. We met a couple of guys from Logan doing Ruby. That gives us a lot more motivation to put 100% into a Logan Ruby users group.

The most exciting and painful moment of the conference for us will come in just a few minutes. Jamis Buck and Marcel Molina have agreed to review one of our apps in front of the group. You can't get better feedback than feedback from members of the core Rails team. Of course we'll have to show our code to the entire audience and that will hurt but I am sure we'll get over it.

I'll blog what they have to say in just a minute.

Continue Reading →

At the Mountain West Ruby Conference

We are at the Ruby Conference this weekend. The Ruby community is active, talented and friendly. I mean that. Often, because of religious zeal open source communities act very closed to individuals outside their group. The Ruby world isn't like that. Everyone wants to help. Everyone is friendly.

The talks have been good, but like any conference it is what happens between the talks that matters. We met a couple of guys from Logan doing Ruby. That gives us a lot more motivation to put 100% into a Logan Ruby users group.

The most exciting and painful moment of the conference for us will come in just a few minutes. Jamis Buck and Marcel Molina have agreed to review one of our apps in front of the group. You can't get better feedback than feedback from members of the core Rails team. Of course we'll have to show our code to the entire audience and that will hurt but I am sure we'll get over it.

I'll blog what they have to say in just a minute.

Continue Reading →