Live data from Hacker News

Viewing profile — winterlight

winterlight

HN member
Joined
Fri, May 01, 2015, 8:17 PM UTC
HN karma
46
Public activity
17 items

About winterlight

No profile information was provided.

Recent public activity

  1. story
  2. comment
    Comment #15270066

    Nope, that works just fine. >>> def f(*x): print(x[-1]) >>> f(range(300)) 299 And surprisingly, in python 2.7, I was able to define a function that takes more than 255 arguments. B…

  3. story
  4. comment
    Comment #15266917

    The lookup method just checks whether an element exists in a collection or not. List and HashSet implement non-indexable collections, which have no notion of key. The Collection in…

  5. comment
    Comment #15266697

    Ironically, in that situation, using a list might end up being more efficient due to cache locality. Or not. That's why measuring is so important, since performance can be a very c…

  6. comment
    Comment #15266668

    The interface is the same. For example, in C# you have an interface Collection, which offers a lookup method, and which both HashSet and Lists implement. The point of the OP is tha…

  7. comment
    Comment #15265004

    I tried this feature when it was available only in pilot mode. It was very nice and fitted quite well my uses. But the UX back then could use some improvements. For example, openin…

  8. comment
    Comment #15248382

    It's creative approach to content monetization that solves some of the problems associated with ads, such as visual clutter. But mining is a computationally intensive process. So, …

  9. comment
    Comment #15238064

    I don't know about Flow, but in Typescript you can still fire up a REPL and play around. The difference is that the typechecker validates every command you run. This is enough for …

  10. comment
    Comment #15147147

    My browsing experience on a mobile phone stepped up greatly since I started using Firefox Focus. You don't even need to mess around with plugins because ad blocking is already a bu…

  11. comment
  12. comment
    Comment #14281300

    Modern web development is already hard by itself, specially when it comes to security. A saner runtime language is needed to replace the sub par standard that is javascript. One wi…

  13. comment
    Comment #13138449

    What bothers me most about clojure is the abstraction leak when it comes to errors. When something goes wrong (say you passed a value of wrong datatype to a function), it just spit…

  14. comment
    Comment #10552723

    There's a typo in the "What is sodocan.js" lane, right at the bottom of the 2nd paragraph. natuarally => naturally

  15. comment
    Comment #9476640

    Thank you. This is a lot of information to digest! But I think it helped me to see the beauty of this. When we map our programs into these well understood abstractions (monads, fun…

  16. comment
    Comment #9476617

    Thank you. I've just finished the first chapter and it has been a pleasant reading so far. The mapping of "real world" onto Category Theory surely makes the matter more approachabl…

  17. comment
    Comment #9474232

    What is the value of Category Theory for programming? I'm genuinely interested, as my knowledge about this subject is little to none.