Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
algolicious
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
algolicious
16y ago
Broadcast radio and television.
32.
▲
by
algolicious
17y ago
Here is one. One of the top results right now on Reddit is a picture of Turnip Rock. http://www.reddit.com/r/pics/comments/bp49v/island_pic/ But Wikipedia doesn't have a page on Turnip Rock. Cpedia has one that isn't completely worthless
33.
▲
by
algolicious
17y ago
Nope, they seem to think it reflects their vision: http://www.cuil.com/info/blog/2010/04/08/introducing-cpedia-...
34.
▲
by
algolicious
17y ago
Don't be so sure that they don't have permission. Microsoft has implemented Tetris before: http://en.wikipedia.org/wiki/Microsoft_Entertainment_Pack
35.
▲
by
algolicious
17y ago
You are arguing for a solution which works "99% of the time" and then argue that my solution does not work for programs which only leak on Thursdays. Smart pointers won't fix all your memory leaks either due to cyclic references. Any prog
36.
▲
by
algolicious
17y ago
The best way to deal with exceptions is to disable them. Arbitrary interruptions of control flow will screw up just about any algorithm. Otherwise, you will have to reason about everything using RAII semantics, which work well much of the
37.
▲
by
algolicious
17y ago
Of course C++ has RAII, as you must know. Allocate the object on the stack or, if you must, use a stack-allocated auto_ptr if you want it to last as long as the block, as the destructors for stack-allocated objects form the hidden "finally
38.
▲
by
algolicious
17y ago
Effective C++ by Scott Meyers has some good tips. Here are my tips for you. First tip: Don't trust any C++ code that anyone else writes. This is related to Meyers' tip that C++ is a "federation" of languages. As you have noticed, there i