- Subversion Tip: We were reminded of a handy tip: when saving shell scripts in subversion, you can save them as both executable and also in a ‘native’ end-of-line style, which will run on any platform.
$> svn propset svn:executable ON somescript.sh
$> svn propset svn:eol-style native somescript.sh
- Another handy plugin we’ve used many times: QueryTrace. It helps you find slow database queries, but it really floods your logs with data, so make sure to turn it off in production!
- We’re using appable_plugins for several projects but having problems with dependencies between the plugins, especially in fixtures. This might be caused by our fancy-dancy fixture loading extensions.
Ask for Help
ruby -r profile, and our own custom ruby test benchmarker, amongst others.
- One project is seeing a very strange memory leak that causes 100MB of memory loss per second (guh! guh!). It started when they begin using
ActiveRecord.connection.execute("some sql") to build some reporting statistics, but it seems too early to blame that. Coincidental, though.
Brown Bag Lunch Topic: Rails 1.2 features, ideas, and gotchas.
Total Stand-up Meeting Time: 25:00 minutes
- We’ll be sending 6 people to RailsConf, so say ‘hi’ if you see the Pivots!
- We have a fix to our Amazon S3-causing-mongrel-to-hang problem: you can tell the connection not to be persistent by passing in
:persistent => false:
:access_key_id => access_key,
:secret_access_key => access_key,
:persistent => false
Ask for Help
Total Stand-up Meeting Time: 14:00 minutes
Not much of interest today beyond project updates.
Total Stand-up Meeting Time: 17:00
Brief project reports, and that’s it!
Total Stand-up Meeting Time: 9:30 (a new record!)
Interesting/Ask for Help for 02/07/2007
- We need to check out the differences between RMagick 1.13.0 and 1.15.2. Word on the street is that 1.14.x was wonky and required ruby 1.85.
- Brown bag lunch today: Ruby caching and our own extensions to it.
- Dealing with time zones have been a reoccurring problem for teams. One developer suggested checking out the tzinfo-timezone plugin, which works with (and requires) TZinfo
Ask for Help
- CI can’t find rmagick!: One project kept getting a gem error for rmagick
- require rmagick won’t work because the require statement case-sensitive. It has to be
require RMagick, but neither the PC or Mac complained, only Linux.
- Please keep all of the appropriate people informed about CI environment changes.
- Brown bag lunch today… someone order lunch!
Total Stand-up Meeting Time: 22 minutes
Our standups (as many standups) had devolved. They were taking too long, and people were just giving status reports. So we put up a list on the wall to remind us of the main points of standups:
- Ask for help
- Share interesting information
- Talk about what’s going on now
- (Optional) Talk about yesterday
– in that order. In other words, previously we were focusing on the least important step just because it was chronologically first.
Now, since we’re focusing on the present and future, we often don’t even talk about yesterday — unless something interesting happened then.
This also helps the standups scale to multiple teams all meeting together in the morning — we reserve 5 minutes at the beginning for each team lead to give an update, then go around and ask if anyone needs help or has something interesting to share. We also have an “Interesting” list on the whiteboard that people add to throughout the day. That makes each standup serve as a mini-retrospective… which, in turn, allows our monthly retrospectives to focus on big issues rather than the daily minutae.