Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

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

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.

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *