Recent submissions

Comment · 11 years ago
I have an early 2011 and have had this problem twice. The latest time I was working in SF and didn't think they would replace the logic board again for free, it being three years out of warranty. They did, which suggests to me that internally Apple has been aware of this problem for quite some time. This program gives me relief because I can see the problem happening again.

If I remember correctly the store said it was due to loose connections between the logic board and the discrete graphics. It originally manifested as lockups as soon as the discrete GPU kicked in. For anyone else seeing this problem, I was able to manage that using a tool called gfxCardStatus which disables the discrete GPU.

I'm pleased that Apple is doing the right thing by their customers and offering to reimburse historical repairs.

Comment · 12 years ago
Text editor-like tabbing behaviour (new line preserves last line's tab level) for indented lists would be quite useful.
Comment · 13 years ago
Comment · 13 years ago
What's the reasoning behind the hack "!f(){}; f" getting shell arguments to work properly?
Comment · 13 years ago
Nice idea, embedding the actual HN feed in the 'screenshot'.
Comment · 13 years ago
Are developers allowed to use these resources freely in their own apps? I ask because "look and feel conflicts with first-party apps" has been grounds for rejection in the past.
Comment · 14 years ago
One of the sort criteria is "highested voted".
Comment · 14 years ago
Comment · 14 years ago
Apart from the special meaning of the underscore in interactive mode, and the function _() in Django, I don't think it's common to use _ as a placeholder in Python. I sometimes do it regardless, hoping its meaning should be clear enough, but it's less suitable than in Ruby because you can't use it to ignore multiple arguments.
Comment · 14 years ago
Ruby also lets you do this in function definitions. Python doesn't special-case the underscore like Ruby does -- while I have occasionally wished otherwise, it is at least consistent with Python's language design principles that the special case doesn't exist.
Comment · 14 years ago
Comment · 14 years ago
Comment · 15 years ago
The whole point of a 'pick random words' scheme is to maximise the amount of entropy. With every stipulation on the form of the words you make your scheme ever so slightly less effective.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton