The Scottish Ruby Conference is over and to quote a few tweets, that was *AWESOME* !
Here are my organic notes from the conf: mostly people keywords and links I want to remember :-)
Tech Conferences are about socializing and networking. Sadly, the French conferences Paris on Rails 2007 & 2008 completely missed some social time and I hope the French speaking ruby community (who's up for it?) will organize a ruby conf in 2010 or 2011 in a big café or in a venue where people can chat.
I finally understood the point of twitter :-) It took me a while! At the conference use the #scotruby tag to gather, chat, recommend stuff, make some live jokes ... socialize!
Later, he explained why mobile phones with internet access will encourage people to drop their "heavy metal box with 4 wheels to transport 1 person which make a lot of noise, eat lots of public space and pavements and pollute the air with nasty particulate matters" in favor of public transports. OK maybe he used the word "car" instead of metal boxes ....
His point was: why spending 1 hour in a car doing nothing when you can work / read yr emails in the train or bus? When peak oil arises, people who live in area with no public transports will have to move anyway so you'd better anticipate on that one :-)
Therefore, I have decided to go my green "coming out", I will declare publicly for who I want to work, focussing on social and ecological impacts.
I have started writing this blog post in the train from Edinburgh en route to London. There is indeed an excellent free WIFI connection and electricity plugs for every seat! KUDOs to EastCoast for that. For once, I wish the French National Railways follow the example of the British :-) I have finished it in a café inside King Cross International train station, again with free internet!!! Apart from Mulhouse train station, I don't know any other train station with free WIFI :-(
I am definitely impressed by the public service internet provided by the British.
Jim Weirich's keynote: an interesting design idea about using 3 different levels of abstractions: a first level with private primitives and then public methods which use these primitives
cucover, still active Matt?
Ragel will improve parsing time a lot : gem install gherkin
Jo is working on a new Testjour which will work on EC2
test js with harmony
cucumber --format usage, The slowest step definitions (with duration) are listed first
Mocks: just an introduction but with real people playing the mocks: quite fun! Shame I did not go to the BoF session about Mocks to describe the use cases I find totally inappropriate for mocking design development.
RSpec: require 'spec_helper'
To make sure you don't blow up yr app server running rake tasks or scripts; use:
http://github.com/jnicklas/capybara by Jonas Nicklas. webrat is dead, viva Capybara!
http://redcareditor.com/ by Daniel Lucraft, an IDE based on Eclipse / jruby with very little core and many plugins. Driven by Cucumber and RSpec: wow!
http://twitter.com/timbray Key Note was the most inspiring talk for me at this conference. I had to chance to chat with him at the party on Saturday night and I really enjoy it. He divided his talk into 3 parts:
He also mentioned http://1978th.net/tokyocabinet/
Scribd.com is one of the largest Rails sites on the Internet, and at that scale, even innocuous new features or fixes can bring the website down. I'll walk through some of my mistakes and tell you what I've learned about writing code for giant Rails sites.
USe Postgres with a functional index
Use WHERE login = BINARY 'mylogin' for case insensitive
How to leverage speed-coding and technical debt for business success.
where is the Train which will hit you? Don't skip Planning
Start with a Question; How done is done done?
Plugin should work out of the box (copy / paste),
satisfing. timebox 30 min
cheat : sacrifice performance
1995: Ruby & js were born
functions are objects,
Functions as args aka callbacks
this with apply ...
protoype got it wrong
link_to_remote : NOOOOOOOOOOOO bad SoC
test rake tasks
Rails will see defaults set in DB
Genetic Algorithms with Ruby