Live data from Hacker News

Viewing profile — nitroll

nitroll

HN member
Joined
Wed, Sep 23, 2015, 8:42 PM UTC
HN karma
49
Public activity
32 items

About nitroll

No profile information was provided.

Recent public activity

  1. comment
    Comment #35150273

    The trackpoint on Thinkpads is fantastic once you get used to it.

  2. comment
    Comment #33607504

    But isn't that pretty much the distinction between value and reference types?

  3. comment
    Comment #32340271

    https://fr.wikipedia.org/wiki/Grave_(titre) somewhat equivalent of count or earl

  4. comment
    Comment #30930044

    My solution was to close the tab...

  5. comment
    Comment #29541092

    In Python you could do something like: class Base: def func(self): print("In Base.func:", self.name) class Child: def __init__(self, name): self.name = name func = Base.func c = Ch…

  6. comment
    Comment #27982012

    Most alarms wake you at a certain time, not a certain location.

  7. comment
    Comment #27118918

    Actually it seems sum is special cased to fail for strings, but otherwise you are correct

  8. comment
    Comment #24743120

    One big reason is that ubuntu splits out venv into its own package basically "breaking" python. People then don't know about the venv module and continues using the virtualenv, bot…

  9. comment
    Comment #24275994

    Like which nu | xargs dirname

  10. comment
    Comment #23588309

    No, you need an editor that abstracts away the indentation and uses the existing style of the file. I use the tab key to indent code, my editor (Emacs) is configured to just cycle …

  11. comment
    Comment #23578643

    Because you can see their usage as a series of "points" linked to exactly one other point, that forms a "line", as opposed to other systems where you could have more of a graph or …

  12. comment
    Comment #23408886

    Yeah, because it's not like we don't appropriate words all over the place anyway, and reuse words for all kinds of similar and dissimilar purposes. Using "breakpoints" to describe …

  13. comment
    Comment #23053456

    And is that so bad? So often i did stuff like that, then finding I actually need the result of x.calculate_weight() inside the condition, or to debug it or log it in some way. Then…

  14. comment
    Comment #23012552

    It does make sense to evaluate the default value for the parameter at the point of definition for serveral reasons. First of all, the default value does not have to be a literal va…

  15. comment
    Comment #22939412

    What difference would it make whether the change had been called 3.8 or 4.0?

  16. comment
    Comment #22807889

    I would rather just use google translate to do it automatically on the entire page, and yes I do that quite regularly from German.

  17. comment
    Comment #21261297

    Distributing a container, virtual machine or something similar.

  18. comment
    Comment #20474353

    I think the importance is the orthogonality of the features. Eg. having so many ways to do string formatting or now multiple ways of doing assigments are not ortogonal and thus can…

  19. comment
    Comment #18720392

    python3 -m pip install foo It also works for python2. I try to avoid using python tools that installs their own scripts and go for calling the module through python. This also work…

  20. comment
    Comment #18009388

    https://blog.newtonhq.com/goodbye-newton-ae6b506fd94f

  21. comment
    Comment #15120904

    Portals main mechanic is movement, portals are created to enable new venues of movement. If portals were simply point at somewhere and click to teleport there the game would hardly…

  22. comment
    Comment #14922247

    Both map and filter returns an iterator, so you only iterate once when creating the list.

  23. comment
    Comment #14270341

    I hate when I code python and refactor stuff, moving stuff around and such, that I cant just copy/clip around and then do a final 'indent all my work correctly' like I can in a lan…

  24. comment
    Comment #13734026

    One of the problems of being the sole developer...

  25. comment
    Comment #13604387

    Having higher order functions is not really what makes a language functional.