Live data from Hacker News

Viewing profile — i2

i2

HN member
Joined
Sat, Jul 24, 2010, 11:56 AM UTC
HN karma
17
Public activity
6 items

About i2

No profile information was provided.

Recent public activity

  1. comment
    Comment #9086728

    I bet it's no more than ten minutes on a busy day, between 6:30 and 7:30, between coffee and thinking about work. Meditation is hard when you have something to do and must do it. M…

  2. comment
    Comment #9086419

    It was quite common for the Linux kernel to panic, 15 years or so ago. I bet that even now it is much easier to make Linux panic than Darwin. HN became way too passive-aggressive i…

  3. comment
    Comment #9085195

    A very nice reminder that there's no such thing as code without bugs.

  4. comment
    Comment #7030212

    Except it is, because your code doesn't work: > [10, 1, 5, 1, 10, 10, 1, 5, 5, 5, 10].sort(byNum) > [10, 10, 5, 1, 10, 1, 1, 5, 5, 5, 10] The right way is > function byNum(a, b) { …

  5. comment
    Comment #3343469

    The same can be done with Python lambdas: >>> ZERO = lambda f: lambda x: x >>> FIVE = lambda f: lambda x: f(f(f(f(f(x))))) >>> to_int = lambda f: f(lambda x: x+1)(0) ... etc.

  6. comment
    Comment #1572014

    You can make it without any 'weaknesses' in Python: collection = Transaction.search( order_id__starts_with='a2d', customer_website__ends_with='.com', billing__first_name__exact='Jo…