Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DougBTX
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
90 ms
·
901.
▲
by
DougBTX
15y ago
You've also got to make a distinction between necessary and accidental complexity. That example would be better written as: body { width: 800px; margin: auto; } (This also has the benefit that the left hand side
902.
▲
by
DougBTX
15y ago
From the snippet you posted above, it looks like it depends on a "websocket-to-socket proxy".
903.
▲
by
DougBTX
15y ago
That's also a syntax error; I think CoffeeScript wins this round.
904.
▲
by
DougBTX
15y ago
An impressively clear cut message.
905.
▲
by
DougBTX
15y ago
I thought along similar lines when I saw the video - there is already a search bar in the same place on every page, the address bar!
906.
▲
by
DougBTX
15y ago
What would the question have to be to make the following the answer? Suppose we label the combinations of child-day BM, GM, BT, GT ... BU, GU (14 items). We have two buckets which both contain a copy of each combination (total 28, 14 in ea
907.
▲
by
DougBTX
15y ago
Just an oversight. He says at the end of step three that "we have our image divided into 16px tiles colored with 6 shades of grey", but as you point out, if you count the number of shades in the image above, there are more than six.
908.
▲
by
DougBTX
15y ago
My white 2006 iMac also has an eject button at the top right of the keyboard. Every Mac I've used since then has had one too.
909.
▲
by
DougBTX
15y ago
> I don't like it because you can't see big picture but must scroll up and down until you understand. In a large code base, I doubt you'll be able to get a "big picture" view from any one file.
910.
▲
by
DougBTX
15y ago
Ah, my bad, I must have set that up myself. According to this[1] stack overflow post, the vim key bindings for move back and forward work by default (which is news to me), or you can set up the alt left and right behaviour by following the
911.
▲
by
DougBTX
15y ago
Perhaps it is better to answer the "why is that so hard?" question instead. I expect that it is because most people don't need or want that option. You could make an argument that there should be a checkbox for it in Finder preferences like
912.
▲
by
DougBTX
15y ago
> In Lion it's possible to resize from any window border. Holding down shift and alt while doing so is also quite fun, give it a try.
913.
▲
by
DougBTX
15y ago
> Someone who knows readline better than me can tell you how to move between words. It's alt+leftArrow and alt+rightArrow. Other useful ones which work in native text boxes: cmd+leftArrow and cmd+rightArrow to move to the start an
914.
▲
by
DougBTX
15y ago
This is the best lisp version of the syntax I've been able to come up with: (awk (begin (set FS ":")) (cond (== $6 "/sbin/nologin") (print $1)) "/etc/passwd") Any better ideas? (The awk macro itself is an exercise left for the read
915.
▲
by
DougBTX
15y ago
It's OK, see http://en.wikipedia.org/wiki/Dunning–Kruger_effect
916.
▲
by
DougBTX
15y ago
Simplistically, lets say that pensions and putting money in the Bank are the same thing. So, you put $100 in the Bank. The Bank then uses the $100 to buy a golden chicken; now the Bank has a golden chicken, the farmer has the $100, and the
917.
▲
by
DougBTX
15y ago
> you seem to be implying that only recursive algorithms are idiomatic in Python. He didn't say that, so thankfully there's nothing to disagree with.
918.
▲
by
DougBTX
15y ago
I'd expect they have some sort of rule that obliges them to use the cheapest service for each particular item sent, but that leaves them free to send whatever they like. So if they wanted to send a letter, and the letter rate was lower than
919.
▲
by
DougBTX
15y ago
Is it more useful to talk about "Total US debt" than "US government debt"? When I first read your comment, I thought you were making the point that the article was misleading because it was using a fraction of GDP as a measure, when it in f
920.
▲
by
DougBTX
15y ago
"In theory, there is no difference between theory and practice. But, in practice, there is." One of the interesting points raised in the article is that even if we had the tech to shine UV light onto plates of silicon, we'd need to reinve
921.
▲
by
DougBTX
15y ago
> There's also a storehouse of reliable information on self improvement written by psychologists who done experiment and research things like willpower and discipline, why it fails, and so on. Instead, we got distracted by techniques t
922.
▲
by
DougBTX
15y ago
A better name might be technical debt. It is a flaw from the perspective of someone seeing the error message. But for the developer it is a way of saving development time, which can be paid off later to fix it.
923.
▲
by
DougBTX
15y ago
Being the devil's advocate: if a company can invent a product and earn a profit through licensing a patent for that product, is it not likley that they could reinvest more in product development by out sourcing the collection of licensing f
924.
▲
by
DougBTX
15y ago
Possibly more interesting is where you've put the centre of the arc, half way up the left hand side. As I hold mine, the centre would be over the bottom right corner of the screen, and at "maximum extension" my thumb is just over the top le
925.
▲
by
DougBTX
15y ago
Any decent troll needs a nugget of truth at the bottom to hook people in.
926.
▲
by
DougBTX
15y ago
You can generalise even further: when going into a business partnership, weight up the risks that the other party will become competitors in the future. That seems to be what is happening between Apple and Samsung at the moment.
927.
▲
by
DougBTX
15y ago
> Light travels slower through gas, water or glass. There is a good description of what is going on in this Stack Exchange post: http://physics.stackexchange.com/questions/13738/propagation... It explains why saying "c is the speed of
928.
▲
by
DougBTX
15y ago
Sorry, the difficulty seems to be what "search result" means. If you search for "foo", and that term happens to be on page 3, then Google may produce page 1 as the search result. Just like at the moment, sometimes the term you search for on
929.
▲
by
DougBTX
15y ago
Fast forward works in google search results, which doesn't use rel="next". I suspect that Opera does it heuristically, so if it sees a link with the text "next" it will use that.
930.
▲
by
DougBTX
15y ago
> For me, if I click on a URL I want to go to that URL. I don't think that was ever up for debate. This is about which pages appear on search results, so you might see the url of the first page of an article instead of the last page. Th
More ›