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,…
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]:…
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…
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…
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…
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…
Could you use emscripten and just run bash in the browser?
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…
You can only ask yes/no questions.
It looks like a video projected on a transparent screen, similar to the variant of Pepper's Ghost used in several concerts recently.
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
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…
Not everybody targets all their code for the web.
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(T…
He says he stored the map data as a single PNG. So, each pixel specifies what tile type that area of the map is.
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…
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.
Can you explain your array[i] / i[array] reference? I can't find it on Google.
"Why am I here?" "Because my daughter loves it here." Seems to fit in with what he was saying to me.
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.
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…
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,…
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]:…
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…
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…
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…
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…
Could you use emscripten and just run bash in the browser?
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…
You can only ask yes/no questions.
It looks like a video projected on a transparent screen, similar to the variant of Pepper's Ghost used in several concerts recently.
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
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…
Not everybody targets all their code for the web.
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(T…
He says he stored the map data as a single PNG. So, each pixel specifies what tile type that area of the map is.
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…
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.
Can you explain your array[i] / i[array] reference? I can't find it on Google.
"Why am I here?" "Because my daughter loves it here." Seems to fit in with what he was saying to me.
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.
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…