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

SF Standup 2/3/2012: Fixnum[what?]

Kevin Fitzpatrick
Friday, February 3, 2012

Ask for Help

“In an android web browser, if I have an autocomplete menu, and I click on one of the items, the click is registered on that item, but also seems to pass through to the elements behind it. For instance, a different text input was behind it, and became focused.”

“Yep, that bug sucks.” “The world may never know.”

Interesting Things

  • Fixnum’s [] operator works! According to the ruby docs

    “Bit Reference—Returns the nth bit in the binary representation of fix, where fix is the least significant bit.”

    # 2:Fixnum in binary is 10, right? So…
    
    
    2[0] = 0
    2[1] = 1
    

    Also:

    a = 0b11001100101010
    30.downto(0) do |n| print a[n] end
    

    produces:

    0000000000000000011001100101010
    
  • innotop innotop is a ‘top’ clone for MySQL with more features and flexibility than similar tools. It’ll let you do all sorts of dangerous things to your database! Have fun!!

  • Parse.com apparently accepts job applications via API! Check it out at https://parse.com/jobs#api

  • jQuery and the resize event – If you trigger a resize even on any object other than the window, it will not trigger the binding on that element. It will, however, trigger any resize bindings you have on window.

  • Did you commit to git under the wrong author’s name and email? Use
    --ammend --reset-author after committing, but before pushing (unless you want a pain in the tuchus)

    mkdir foo
    cd foo
    git init
    touch README
    git config --global user.name "Santa Claus"
    git config --global user.email "santa@claus.no"
    git add .
    git commit -m "Commit from Santa Claus"
    git show
    # commit e5f4ebe6c689ddbf4ff595855fec544da5d8ce01
    # Author: Santa Claus <santa@claus.no>
    
    
    # Oops! I'm not Santa Claus
    
    
    git config --global user.name "Easter Bunny"
    git config --global user.email "easter@bunny.cl"
    git commit --amend --reset-author
    
    
    git show
    # commit d523479d487d04388972bea872913ffda734ef89
    # Author: Easter Bunny <easter@bunny.cl>
    
  • Looking to game the system on Superbowl Game day? Check out Onsi’s Super Square http://supersquare.heroku.com/ stats app for your Squares pool.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Add New Comment Cancel reply

Your email address will not be published.

Kevin Fitzpatrick

Kevin Fitzpatrick
San Francisco

Recent Posts

  • [Standup][SF] 2/2/2012: When does Van Damme show up?
  • Standup 6/29/2011: SSL?
  • Standup 2/3/2011: It *is* the Rabbit!
Subscribe to Kevin's Feed

Author Topics

agile (6)
  • 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 >