Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Standup 05/19/2009: Tool Annoyances; Better Firebug SASS Support

Jonathan Barnes
Tuesday, May 19, 2009

Ask for Help

“Who is getting svn: Server sent unexpected return value (403 Forbidden) in response to PROPFIND in SVN?”

Lots of people! This is a known bug when a SVN project has to traverse the repository using more than one user. Check out subversion: Issue 3242.

“Has anyone gotten ImageMagic to work with Phusion Passenger on CentOS?”

It seems to work with Mongrel, but not Passenger.

“Who is getting svn: Server sent unexpected return value (403 Forbidden) in response to PROPFIND in SVN?”

Interesting Things

  • Firebug 1.4 – Alpha

    • It has some cool new features, such as showing you CSS comments — handy for SASS debugging! Works in conjunction with enabling SASS line numbers in the CSS output.
    • It also supports FireDiff, which “records all of the changes made by firebug and the application itself to CSS and the DOM”.
  • NewRelic Side Effects? We have some background processes that get kicked off from after saves of some of our ActiveRecords. These processes use Active Resource to post back updates to these records. Unfortunately the transaction that creates the record initially doesn’t seem to have completed before the first post-backs attempt to update them. (race condition). After trying a bunch of stuff we randomly removed the NewRelic plugin and all of the sudden we had no more race conditions. Is the NewRelic plugin holding the DB transactions open too long?

  • MySQL index sample size: We discovered that MySQL’s ANALYZE TABLE uses a fixed sample size from the index regardless of the size of the table and thus can have really incorrect cardinality and which could lead to it choosing the wrong index. Also ANALYZE TABLE gets run often (opening new connections, first read of table) and due to the problem mentioned above can cause the system to switch from using the right index to the wrong index each time you look at it.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

4 Comments

  1. Chris Eppstein says:

    I downloaded and installed the new firebug, but don’t see any CSS comments :-( Could you post or send me some more details so I could blog about this?

    May 21, 2009 at 3:46 am

  2. Joe Moore says:

    Chris — This is how we got comments to work on one project; make sure you put this in your Rails::Initializer in environment.rb.

    config.after_initialize do
    require ‘haml’
    Sass::Plugin.options[:line_comments] = true
    Sass::Plugin.options[:line_numbers] = true
    end

    May 21, 2009 at 2:43 pm

  3. Chris Eppstein says:

    Thanks Joe, sorry if I wasn’t clear. The comments are in my CSS, but I don’t see them in Firebug. I’m running the latest version (1.4X.0a28). Maybe you could post a screenshot of where they appear and anything you had to do to enable them?

    Much appreciated.

    May 21, 2009 at 7:50 pm

  4. Andrew Donaldson says:

    Hey Joe,

    I’m hitting the same problem as Chris (I’m on Firebug 1.5x.0a24). I can only see the comments when I view a CSS file, then hit ‘edit’… Clunky!

    September 18, 2009 at 9:49 am

Add New Comment Cancel reply

Your email address will not be published.

Jonathan Barnes

Jonathan Barnes
Los Angeles

Recent Posts

  • Standup 08/13/2010: (css3 nth-child pseudo selector bug in safari)
  • Standup 08/12/2010: (Text encoding issues)
  • Standup 08/11/2010 (using VCR to mock out external dependencies and much more)
Subscribe to Jonathan's Feed

Author Topics

agile (11)
profiling (1)
rubymine (1)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >