Live data from Hacker News

Viewing profile — _nosewings_

_nosewings_

HN member
Joined
Thu, Sep 24, 2020, 6:04 AM UTC
HN karma
28
Public activity
13 items

About _nosewings_

No profile information was provided.

Recent public activity

  1. comment
    Comment #27170778

    It's also worth pointing out that, in a world where the Web is so pervasive, being honest (and, in particular, developing a reputation for being honest) has substantial advantages.…

  2. comment
    Comment #27152574

    The mistrust runs in both directions (although the timbre is different). I believe that the CDC has had nothing but the best of intentions throughout the pandemic, but it's clear t…

  3. comment
    Comment #26989870

    R0 is indeed static. It's R(t), the reproduction rate at time t, that is not static.

  4. comment
    Comment #26084979

    > What object is the scope of a comprehension (in Py 3; in py 2 they don't have their own scope) a dict attached to? The generator object that gets created behind the scenes. > And…

  5. comment
    Comment #26084851

    In Python 3, list comprehensions use generators behind the scenes.

  6. comment
    Comment #26084727

    Not introducing a new scope with a match is unfortunate, but it's also consistent with how every other language feature interacts with scoping. > (As well as a method to “pin” vari…

  7. comment
    Comment #26084454

    The explanation is that (in Python 3) list comprehensions are really just syntactic sugar for generator expressions. In Python, "scope" is really a synonym for "dictionary attached…

  8. comment
    Comment #26084411

    If you really need to compare against a variable, use an "if". The primary benefit of pattern-matching is destructuring. EDIT: It looks like you actually can match against constant…

  9. comment
    Comment #26084288

    That's just an inevitable consequence of the fact that, in Python, "scope" is synonymous with "dictionary attached to some object." This is already how for-loops work.

  10. comment
    Comment #26084260

    Yes, of course. Again, this is how it works in basically every mainstream language with this feature.

  11. comment
    Comment #26083357

    This is how pattern matching works in any language (except for some niche languages that allow nonlinear patterns, like Curry). Many of the comments here reveal a bizarre parochial…

  12. comment
    Comment #25166728

    IMO, the Web could stand to be a little bit harder to use.

  13. comment
    Comment #24575742

    That's essentially the leading theory. They're called WIMPs.