News for hackers. Stuff that matters.
Re:Wow, the Cuil buzz died quickly. In code... by thomasmallen on Wednesday August 13, 2008 @04:03PM (#275403)
I wrote it in Python, actually. And it has some very obvious bugs. Here's the revised code:

  cuilBuzz = {
      '1': 'All the rage!',
      '2': 'Worst product e-v-e-r',
      '3': None
  }

  day = '3'
  print cuilBuzz[day]
  # Although the print isn't necessary...
Now what would be interesting would be an accurate version using the datetime module...

There are no comments on this comment yet.