Viewing profile — macbony
macbony
HN member- Joined
- Mon, Oct 01, 2012, 7:56 AM UTC
- HN karma
- 3
- Public activity
- 11 items
- HN profile
- View on Hacker News ↗
About macbony
Recent public activity
-
comment
Comment #9651968
The problem is you, like an overweight person, think that you can get by with an economy ticket. I feel bad for your knees, but I'm reclining because I paid for the ability to recl…
-
comment
Comment #8980779
The Super Bowl is the only "Big Game" they refer to in the ads. Sure there are other "big games", but these are Super Bowl ads pure and simple.
- story
-
comment
Comment #8243941
C-a a is an extra keypress but good enough for me.
-
comment
Comment #7721906
No, the reason it exists is so you can override functionality of subclasses at run time, otherwise things like monkey patching would be impossible. I guess it COULD do a pass to se…
-
comment
Comment #7720907
I'm not really sure I understand your point. The value of x is still going to be in memory, but you may not have any references to it and it will be garbage collected. The disconne…
-
comment
Comment #7720459
x isn't a variable, it's a tag. Because Python is dynamically typed, x can be an int one minute and a function the next, so every attribute on a class is stored as a pointer to an …
-
comment
Comment #7719114
If instead of x being an integer, it were a function x(), then it makes more sense. Really, for Python, there is no difference between the two in this example. When you assign a ne…
-
comment
Comment #7153474
I prefer print("A {0} can be very cute!".format(pet)) .format() is very versatile. d = {'first': 'Robert', 'last': 'Paulson'} print("His name was {first} {last}!".format(**d)) >> H…
-
comment
Comment #5179731
That's where this one comes in?
-
comment
Comment #4767867
:t is the "copy" version of the command. It's shorter than :co[py].