Slashdot Mirror


User: greensnake

greensnake's activity in the archive.

Stories
0
Comments
9
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 9

  1. Re:I dunno... on Ask Slashdot: Are Timed Coding Tests Valuable? · · Score: 1

    Your code calls mod four times on every number - and the same call twice to boot.

    Two mods and one conditional in Python 2:

    def fizzbuzz(count=100):
            fb_list = [ 0, 'fizz', 'buzz', 'fizzbuzz']

            for x in xrange(1, count+1):
                    y = (not (x % 3)) + 2 * (not (x % 5))
                    if not y:
                            print x
                    else:
                            print fb_list[y]

  2. Re:The cloud. on Google Videos Going Offline; Time To Grab What You Want · · Score: 1

    It's easy to sit there and say you'd like to have more money. And I guess that's what I like about it. It's easy. Just sitting there, rocking back and forth, wanting that money. - Jack Handey

  3. Re:Sad writing (and summary) on Ikaros Spacecraft Successfully Propelled In Space · · Score: 1

    And Azimov.

  4. Re:Which animal would that be... on Indian Tiger Park Now Tiger-Free · · Score: 1

    Tigers are at least keeping some of their dignity cause you have to actually shoot the beast with a gun.

    I don't much about tigers, but I do know one thing - no tiger in the history of time has ever given a shit about 'dignity'. That's all you.

  5. Re:Why would they expect Gates Foundation funding? on Bletchley Park Facing Financial Ruin · · Score: 2, Insightful

    It's chicken and egg. Only by the site persisting can people become educated as to its significance and then realize its worth. Those of you who take the self-sustaining stance are those who see the price of everything and the value of nothing. What's significant is what those people did, not where they did it. The Trust should sell the place for what they can get and use the money to fund math scholarships, etc.
  6. Re:English As She Is Spoke - Twain is Proved WRONG on Babelfish Sparks Minor Diplomatic Row · · Score: 1

    "Judicious lying is what the world needs. I sometimes think it were even better and safer not to lie at all than to lie injudiciously. An awkward, unscientific lie is often as ineffectual as the truth."
    -- Mark Twain, "On the Decay of the Art of Lying"

  7. Re:Fuck that shit. on Google to Offer Online Personal Health Records · · Score: 1

    Fuck that shit. Pabst! Blue! Ribbon!
  8. Re:Business advice on Strange Bedfellows Fight Ethanol Subsidies · · Score: 1

    "Extinction - A Better Future for People"

  9. Re:Business advice on Strange Bedfellows Fight Ethanol Subsidies · · Score: 1

    Is this the same "fellow man" and "generations to come" that you wish were extinct?