Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
tb
18y ago
Your circle-detection code is a bit overzealous. I put it in arrow mode and tried to draw a bunch of arrows from one side of the canvas to the other, and if my lines were even a little bit curved, it turned them into ovals. It should really
62.
▲
by
tb
18y ago
You assume that new technology is necessarily more complex. This is counter to the recent trend emphasising simplicity and developer ease-of-use in development tools.
63.
▲
by
tb
18y ago
From the OP: 2) as an extension to 1) above it is amazing to discover how simply firmware can be updated over the wire on specific NICs,
64.
▲
by
tb
19y ago
Nope, far from it, they're using the most commodity hardware infrastructure they can find. Their whole system is built around cheap, widely-available hardware. Even with the volumes they are using, they would not get production high enough
65.
▲
New Languages Considered Harmful: "Learning new languages is a waste of time."
(duartes.org)
53 points
by
tb
19y ago
|
78 comments
66.
▲
by
tb
19y ago
Uh, null is used to terminate strings in C...
67.
▲
by
tb
19y ago
4E6F7720796F752063616E2774206869726520616E796F6E652077686F207265616473206E6577732E79632C2064756D6D792100
68.
▲
by
tb
19y ago
If you had a piece of code like this: case my_function(Foo) of some_result -> do_something(A); some_other_result -> do_something(B); _ -> do_default_case() end Why do you care if the ou
69.
▲
by
tb
19y ago
I solved that when I upgraded by going to a 19" flanked by two 17"s. It works beautifully. I have my editor on the 19", my documentation on the left 17" and my browser/console window (program output) on the right. I love it.
70.
▲
by
tb
19y ago
Mostly the reason for that is to allow the compiler to optimise the order of evaluation of the conditions. If you could put functions with side-effects in there then it would be impossible to do that since the compiler would have to guarant
71.
▲
The Erlang Challenge
(yarivsblog.com)
21 points
by
tb
19y ago
|
22 comments
72.
▲
by
tb
19y ago
I have a friend who was suspended from high-school for (indirectly) refusing to do a word puzzle. His stated reason is that he doesn't like word puzzles. When he was asked to leave the room for failing to follow instructions, he refused. Th
73.
▲
by
tb
19y ago
Does the piece moving have to move k steps in a straight line like a queen or can it take an arbitrary path up to k steps long?
74.
▲
by
tb
19y ago
I believe that ideal monitor count goes up in a Fibbonaci sequence. e.g. When I had two monitors, I wanted three - now that I have three, I reckon five would be brilliant.