Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ThatOtherPerson
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
ThatOtherPerson
8y ago
Yeah, you have to simulate the attenuation from different directions - HRTFs (head related transfer functions)[1] are used to do this. They're already supported by some games, and you have to use them for VR audio, since the user is in
2.
▲
by
ThatOtherPerson
9y ago
That's already possible - Apex[0] provides a shim for running golang and Rust, and I'm running headless chrome on Lambda to take screenshots right now (see [1] for an example). [0]: http://apex.run/#runtime [1]:
3.
▲
by
ThatOtherPerson
10y ago
What happens if you need to alter the color of a texture that's been loaded? For example, if you want to do diffuse shading on a sphere with a texture mapped to it. Do you first need to convert the texture pixel back to linear space, a
4.
▲
by
ThatOtherPerson
10y ago
I thought about that, but some of the results I found on Google suggest that output from WebGL shaders is supposed to be in a linear color space [0] [1]. Then again, some of the comments here [2] suggest that you do have to do gamma correct
5.
▲
by
ThatOtherPerson
10y ago
This is pretty cool. I've written a couple of toy ray tracers, but always in a language that runs on a CPU, so it's interesting to see how you would do it on a GPU. And I noticed that this is from the Ken Perlin, which is cool -
6.
▲
by
ThatOtherPerson
10y ago
How you do in technical interviews often has little to do with how good of a programmer you are. Modern technical interviews (in Silicon Valley, at least) tend to focus on a certain category of computer science and mathematical questions, r
7.
▲
by
ThatOtherPerson
11y ago
Could you use emscripten and just run bash in the browser?
8.
▲
by
ThatOtherPerson
11y ago
Read the bar at the bottom: Lovingly (and satirically) created by your friends at test double. Designed by Derek Briggs. It's not meant to be serious, although I'm not sure what the point is. Edit: It seems to be (perhaps
9.
▲
by
ThatOtherPerson
11y ago
You can only ask yes/no questions.
10.
▲
by
ThatOtherPerson
11y ago
It looks like a video projected on a transparent screen, similar to the variant of Pepper's Ghost used in several concerts recently.
11.
▲
by
ThatOtherPerson
12y ago
The sharp sign (♯) [1] is actually a different symbol than the number sign (#) [2]. [1] https://en.wikipedia.org/wiki/Sharp_%28music%29 [2] https://en.wikipedia.org/wiki/Number_sign
12.
▲
by
ThatOtherPerson
12y ago
It's been my opinion for a while that the "meaning" in a work of art or in the sentences we use to communicate is found where it differs from the established pattern. For example, this very sentence follows the same general o
13.
▲
by
ThatOtherPerson
12y ago
Not everybody targets all their code for the web.
14.
▲
by
ThatOtherPerson
12y ago
It's an improvement in the sense that it's more general; you can loop through any container that implements that protocol, which most (if not all) of the STL containers do. For example, template <class T> void foo(
15.
▲
by
ThatOtherPerson
12y ago
He says he stored the map data as a single PNG. So, each pixel specifies what tile type that area of the map is.
16.
▲
by
ThatOtherPerson
13y ago
Check out pandoc [1], it will let you write documents in Markdown + LaTeX for equations and then convert it to LaTeX, a PDF, or several other document formats. Also, even though Markdown tends to be fairly easy to write, there are many edge
17.
▲
by
ThatOtherPerson
13y ago
I've gotten to the point where I just tune those out. I wouldn't have even known there was an advertisement on that page if you hadn't pointed it out.
18.
▲
by
ThatOtherPerson
13y ago
Can you explain your array[i] / i[array] reference? I can't find it on Google.
19.
▲
by
ThatOtherPerson
13y ago
"Why am I here?" "Because my daughter loves it here." Seems to fit in with what he was saying to me.
20.
▲
by
ThatOtherPerson
13y ago
Check your previous history. You probably don't have many failed attempts before the past 24 hours. It seems to be some sort of botnet attack.
21.
▲
by
ThatOtherPerson
13y ago
I just checked my account's security history, and there's been a failed login attempt every 7 hours for the past two days, all from different IP addresses. It reminds me of the "Hail Mary Cloud" posted previously on HN -