Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Figs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
331.
▲
by
Figs
15y ago
Mapping an update function over a list of entities is a form of concurrency (note: not parallelism)... If you ever write a game engine from scratch, there are several tricky issues you must deal with because of this -- for example, the deat
332.
▲
by
Figs
15y ago
Just take Dijkstra's Algorithm (or possibly A* if you want to try to optimize the runtime performance) and give a higher cost to edges in your map that correspond to left turns. Now it's just a matter of tuning the additional weight added t
333.
▲
by
Figs
15y ago
That's just substituting one sort of confusion for another, I think.
334.
▲
by
Figs
15y ago
What do you mean? You can do this just fine: #include <cstdio> #include <functional> using std::printf; using std::function; function<int ()> f(int x) { function<int ()> g
335.
▲
by
Figs
15y ago
C++11 has closures... :)
336.
▲
by
Figs
15y ago
Well, we already know that they can use tools and teach each other (somehow) how to use tools: http://www.newscientist.com/article/dn7475 and they've been trained to follow some pretty complex commands (e.g. make up your own jump and can
337.
▲
by
Figs
15y ago
http://www.cymascope.com/soundsfun.html Take a look at the second video. It seems that they're using something like the resonance plate here: http://www.youtube.com/watch?v=Qf0t4qIVWF4 (Wikipedia suggests they're named Chladni plates? I
338.
▲
by
Figs
15y ago
Looking into the device they're talking about here: http://www.cymascope.com/ Seems like a pretty cranky group unfortunately. (in the sense of astrology, physics cranks, etc.) :( I'm thinking they may have just found a roundabout way of v
339.
▲
by
Figs
15y ago
Dolphins in two separate research centers understood the words, presenting convincing evidence that dolphins employ a universal sono-pictorial language of communication. Hmm... I would have assumed that interpreting dolphin sounds as pict
340.
▲
by
Figs
15y ago
The bleeding over seems to apply to Google's title. In my browser, it shows up as "xoferiF allizoM - hcraeS elgooG"...
341.
▲
by
Figs
15y ago
If you're having trouble getting it to load, you might try here instead: http://www.ustream.tv/nasajpl
342.
▲
by
Figs
15y ago
How did you resolve the problem?
343.
▲
by
Figs
15y ago
> This still pops up once in a while, with some poor soul discovering the hard way that it's basically allowing arbitrary code execution. Actually, wouldn't that just be a DoS vulnerability? The risk is that someone can request a comman
344.
▲
by
Figs
15y ago
> Paying for stuff with your phone sounds awesome until you stop to think about it. Uh, it doesn't sound awesome to me at all. It sounds annoying and frustrating. Swiping a credit card is already pretty simple. > then tell the cashi
345.
▲
by
Figs
15y ago
"the usual 13 fear-based reimplementations of strlen and strcpy" What does that mean?
346.
▲
by
Figs
15y ago
Also helpful is comparing vimrc files. Here are some things I put in mine: color slate set tabstop=4 set shiftwidth=4 set expandtab set autoindent set mouse=a set laststatus=2 autocmd FileType make set noex
347.
▲
by
Figs
15y ago
> For example, the lightbox photo UI was panned as being confusing and slow, but brings in an extra billion (+5%) photo views a day [1]. If the interface is confusing, then it sounds like those extra billion image views a day were proba
348.
▲
by
Figs
15y ago
Outside of fiction, how many of them have even heard of an apothecary? How many of them would be tripped up if it had said something more familiar, like 'pharmacist', instead?
349.
▲
by
Figs
15y ago
This is such a common mistake in C (and other curly brace languages) that it's surprising that compilers don't generate a warning based on weird indentation like that. It doesn't seem like it should be that hard to add a check for, but ma
350.
▲
by
Figs
15y ago
The term "functor" is widely used -- including such places as SGI's STL documentation ( http://www.sgi.com/tech/stl/functors.html ) and numerous other reference sites. According to Bruce Eckel's Thinking in C++ Vol 2 (in the section descr
351.
▲
by
Figs
15y ago
"In a sense, all possible computer programs for a given architecture are implied in that architecture, even if they haven't been written yet - just like all possible novels are implied by the letters of the alphabet, even if they haven't be
352.
▲
by
Figs
15y ago
At first, I thought someone was making a novelty blog that would have all posts written in C. Somewhat disappointed that it isn't that, actually... :p
353.
▲
by
Figs
15y ago
Most of the team was unfamiliar with Lisp starting out, so that was an extra challenge to it -- only Elliott was an expert, and only one other person had actually used Common Lisp as far as I recall. I had some prior exposure to Clojure (al
354.
▲
by
Figs
15y ago
I worked on this project doing most of the input coding (XBox 360 controller & keyboard), some of the game loop & networking, and some of the game play. If you have any questions, I'll try to answer as best as I can remember -- it's
355.
▲
by
Figs
15y ago
Interesting video. I wish the narrator didn't sound so robotic though.
356.
▲
by
Figs
15y ago
I've seen lots of books on Amazon priced at $0.01 or $0.02 before. Maybe a result of similar processes? (I always assumed they were some kind of scam, since why the hell would someone sell a book so cheap?)
357.
▲
by
Figs
16y ago
I've had good experiences with Hover.
358.
▲
by
Figs
16y ago
Unless you happen to be religious, this would seem to be more of a problem of word usage than a question about reality. It's not entirely obvious how to classify things that exist only as representations imposed on a different medium. Other
359.
▲
by
Figs
16y ago
Wouldn't you also need "free hardware" to avoid the risk of your device being used against you? If you're not willing to trust the software on your phone, why would you trust that there isn't a tracking device built directly into the chips
360.
▲
by
Figs
16y ago
Well, close enough. :)
More ›