Austin PutmanAustin Putman
Standup 1/24/2012 - Lobot Needs New Neighborhood
edit Posted by Austin Putman on Tuesday January 24, 2012 at 09:30AM

Ask for Help

*"Has anyone used Lobot to install CI somewhere other than EC2?"

Crrrrrrickets.......

Mark RushakoffMark Rushakoff
Unwanted whitespace between elements
edit Posted by Mark Rushakoff on Saturday January 21, 2012 at 09:06AM

We recently came across a situation in our markup where we wanted whitespace in the markup for readability, but we didn't want that whitespace represented between the elements.

We found a fix that suggested using font-size: 0 in CSS to eliminate the whitespace. That worked fine in Chrome, but we found that in Firefox, the containing element no longer scrolled with the mouse wheel or arrow keys! Apparently Firefox's scroll speed is proportional to font-size.

Michael GrosserMichael Grosser
Standup 01/19/2012: Dont stretch those cables
edit Posted by Michael Grosser on Thursday January 19, 2012 at 09:16AM

Ask for Help

How to scrub production data

  • try my_obfuscate
  • use handcrafted update-all sql

Interesting Things

  • Do not stretch monitor cables, they make the ports break
  • MySql: Different os have different rules on table case sensitivity(My_Table <-> my_table), be strict or you get into trouble
  • validates_acceptance_of can crash your asest:precompile on heroku (because it uses the db when loaded, but db is not yet ready), least hacky solution: validates_acceptance_of xxx unless ENV['RAILS_ASSETS_PRECOMPILE']

Ken MayerKen Mayer
Social Chorus is looking for a Ruby on Rails Engineer
edit Posted by Ken Mayer on Wednesday January 18, 2012 at 11:24AM

At Pivotal Labs, one of the services we provide our clients is helping them interview and hire. Pivotal Labs and our clients place a strong emphasis on Agile development and its many aspects: Pair Programming, Test-Driven Development, rapid iterations, and frequent refactoring.

Halogen Media Group merged with YouCast Corp. to collaborate in forming a powerhouse of technology, Social Chorus (http://socialchorus.com), that measures social reach through paid and earned media through influencer distribution.

Here's the job posting:

Michael GrosserMichael Grosser
Standup 01/18/2012: Scream
edit Posted by Michael Grosser on Wednesday January 18, 2012 at 09:15AM

Ask for Help

Enunciate

Adam cant hear you, speak up!

Job chaining in resque

Start the next after the first finishes or create a big wrapper job that does all of them

Inherited resource

Change objects before rendering -- no good answer found

Interesting Things

  • Dynamo DB from AWS is out, aparently its faster then simpledb
  • SOPA protest today, if you need wiki, try to disable javascript or go to mobile
  • June 6th is IPV6 day (all IPV4 gets switched off ;) )

JT ArchieJT Archie
[Standup][NYC] 1/17/2011
edit Posted by JT Archie on Tuesday January 17, 2012 at 01:44PM

Interesting

  • Trying to load Ruby 1.9.3 with RVM on OSX Lion and having problems? Adam has found a solution here.

Events

  • Simple made easy was the tech talk (video) today. The implications being what is easy might not be the best for your code maintenance.

David KettlerDavid Kettler
Standup 01/17/2012: Cross-Site Development
edit Posted by David Kettler on Tuesday January 17, 2012 at 09:30AM

Helpful Things

"I'm making an HTML5 web app that consumes a web service, and in development the browser is blocking cross-site requests from localhost. How can I just turn off this security while developing?"

Chrome has a command-line flag just for this occasion! --disable-xss-auditor For everything else, change your hosts file to have the target site on localhost.

"Rails 3.1 seems to be slowing down my test suite to be about twice as slow. Seems to have something to do with garbage collection time. Thoughts?"

... no one had any definite answers.

Joseph PalermoJoseph Palermo
Standup 01/13/2012: Will the real 13th please stand up
edit Posted by Joseph Palermo on Friday January 13, 2012 at 12:28PM

Ask for Help

"When using the wkhtmltopdf library via the PDFKit gem, if you use an HTML snippet that does not have a height defined, it generates a PDF that appears to only be an image, the text is not searchable or selectable. If you give your element a height however, it behaves as you would expect. Both PDF documents visually look the same though."

Adam BerlinAdam Berlin
Installing Ruby 1.9.3 w/ RVM on Mac OSX Lion
edit Posted by Adam Berlin on Friday January 13, 2012 at 07:56AM
  • Ruby 1.9.3
  • RVM 1.10.0
  • Mac OSX 10.7.2
  • XCode 4.2

Our team ran into an issue installing Ruby 1.9.3 on Lion today. When running...

$ rvm install ruby-1.9.3

... the installer fails with an error message including "checking whether the C compiler works... no" even though we had XCode and gcc installed.

After some reading on StackOverflow and Github I found this solution [1]...

$ rvm install 1.9.3-p0 --with-gcc=clang

... which points an explanation on RVM's issue tracker [2].

  1. http://stackoverflow.com/questions/8675194/error-installing-1-9-3-with-rvm-on-lion
  2. https://github.com/wayneeseguin/rvm/issues/534

Ask for Help

"Trying to write a custom Rails I18n exception handler to catch MissingTranslationData exceptions"

The API didn't seem to do what it claimed it should.

"RubyMine EAP undo behavior seems broken, it only wants to undo a file deletion, and then go back no farther in history."

It was suggested that RubyMine undo is context sensitive, and having focus on the file browser has a different undo stack from the editor window.

"mysql2 gem on Lion is giving us an error: "Library not loaded... Image not found" and then a path pointing down into our RVM directory."

Building the gem with options pointing to your mysql directory was suggested.

Interesting Things

"git checkout -" will toggle you between your last two checkouts (branches or just plain SHA's). Handy if you are switching back and forth. Can't seem to find it mentioned anywhere in the docs though.

Other articles: