HNHacker News
TopNewBestAskShowJobs

figgs

8 karma · joined December 19, 2009

submissionscomments
figgs··on Digg: 40x Performance Increase by Sorting in PHP Rather than MySQL
"Scaling practices turn a relational database into a non-relational database."

When will people learn that the 'relation' in relational database comes from the correspondence between database tables and the mathematical notion of relations, not the ability to describe relationships between tables? Unless scaling practices make a relational database stop using tables, the database still being used as a relational database.

figgs··on Ruby statement modifiers behave differently than conditional statements
My bad. Thanks for clarifying that.
figgs··on Ruby statement modifiers behave differently than conditional statements
The following is wrong. Only read the rest of this reply if you want to see how dumb I am.

This is not a bug.

"a = 5 unless defined? a" is not meant to be equivalent to this:

  unless defined? a
     a = 5
  end
It is supposed to be (and is) equivalent to this:

  a = unless defined? a
        5
      end*