The blog has moved to http://jessehouse.com/ ... Many google searches point here so I am leaving it operational, but there will be no new posts.

Friday, June 20, 2008

Rant: Exchange drives me crazy!

At work we have a QA Inbox where tons of emails generated by our application are sent, of course nobody ever takes the time to clear it out and even after numerous requests to the IT department to automatically purge anything older then a few weeks it always seems to be really full when I get around to testing some email functionality

This post is just a rant about one thing in particular I really do not like about Exchange and Outlook - why is it so hard to delete email? if exchange would just do this on the server it would save me a lot of time

so here we go - delete all of the 'Older' mail - and there is a lot

oh look not enough memory to delete all that mail? why don't you just do the delete on the server, I don't want to bring local copies of each of them and then delete them?

ok so we select a few thousand at a time, about 1 minute to delete say 2,500 emails - just guessing but there are probably like 10,000 COM+ calls being executed from my workstation across the network to the exchange server for this operation?yeah, so now select another couple of thousand emails - what 'operation failed' - doh! re-open that inbox and try again
so then here we are 36,000 emails deleted later - now we need to purge the Deleted Items



and look at that - only 40 seconds to purge 36,000 emails from the Deleted Items - I guess this part is 'optimized'?



</rant>
.

Sunday, June 8, 2008

Your RSpec on Rails plugin is incompatible with your installed RSpec

just getting into rspec, after reading The Rails Way by Obie Fernandez, a very nice testing framework.

after installing the gems and plugins I ran into this error when trying to run my tests "Your RSpec on Rails plugin is incompatible with your installed RSpec"

a simple workaround, run spec from your local script directory

this one raises the error, because it is running from the ruby gems?
spec spec/models

this one does not raise the error because it is running the locally installed version
from your rails application root
script/spec spec/models
or make the output pretty
script/spec spec/models -fs

the install was as follows
gem install rspec (sudo gem install rspec, on some OS)
script/plugin install svn://rubyforge.org/var/svn/rspec/trunk/rspec
script/plugin install svn://rubyforge.org/var/svn/rspec/trunk/rspec_on_rails

.