Davis W. Frank's blog
Ask for Help
"Rubymine seems to have lost my RSpec stack trace? Spec from the command line is fine."
Check the run command & try reverting to the default options?
"What's our favorite 'copy to clipboard' code these days?"
Zero Clipboard - jQuery version - is the one that lets you bind the Flash code to any HTML element. That's the one you want.
"Can you use Jasmine to test a MongoDB map/reduce?"
Yes! It just uses JS objects, so you can unit test your code with Jasmine no problem. We recommend you add a couple of integration tests to make sure everything is connected properly.
Interesting Things
- The cmdparse gem has now been released under LGPL. This gem gets pulled in as a dependency for some other gems, but was GPL before. It should now be easier to deal with if you're license-wary
- Having memory leaks in your JavaScript? Try Leak Helper! It's a simple enumeration of objects off of
window, not catching objects inside closures, but it still helped a team find a set of circular references that were confounding the garbage collector.
Ask for Help
"How do you handle jQuery, new HTML5 elements, and IE6/7?"
Other than "I don't", how do you deal with building large article elements and then attach them to the DOM? It's icky since older IE's don't handle elements it doesn't know about. Do you have any suggestions?
"Are you using AuthSTMP on an app hosted at EngineYard? Is it working?"
Something changed and our configuration is no longer working. Not sure why.
Interesting Things
- RubyGems 1.4 is out. There are tips on how to upgrade nicely with RVM. But you might want to wait if you're using Ruby 1.9.
- Our friends at Irrational Design have launched Secret Goals and want you to share your good & horror stories about New Years' Resolutions.
