Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
avaer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
811.
▲
by
avaer
10y ago
You render twice per frame: half the "screen" rendered with a camera at ([-eyeOffset, 0, 0] * cameraRot) and the other rendered with a camera at ([+eyeOffset, 0, 0] * cameraRot). The main thing is this has some surprising performa
812.
▲
by
avaer
10y ago
> In contrast most non-profits have to hire for and focus on donor development and don't have a period of massive commercial growth fueled by venture capital. Everyone has to pay for marketing, and I'll give you the part about
813.
▲
by
avaer
10y ago
How do you feel about non-profit startups developing pure Open Source software and services in exchange for donations, in the interests of bettering the ecosystem itself? Could a nascent Mozilla be a YC nonprofit?
814.
▲
by
avaer
10y ago
You're right, which is why one of the fundamental optimizations in a modern Javascript engine is inferring static memory layouts for your objects. Another is getting rid of unnecessary allocations to reduce the need for GC.
815.
▲
by
avaer
10y ago
> no amount of static or runtime analysis can entirely save you from performance-hostile semantics baked into the language spec You can in almost all cases check for these semantics statically, and if not found, run a super fast path. Th
816.
▲
by
avaer
10y ago
Scale is a very wishy-washy term. You can build complex applications with JS, you just need to move the scale out of the main loop. Don't run business logic alongside your render, or else you will indeed run into these problems. This a
817.
▲
by
avaer
10y ago
Technically _all_ of our software comes from interlinked text documents. The magic is in the software that eats the interlinked text and makes it real. HTML/JS are no different in this regard, VR or not. I'm constantly amazed and
818.
▲
by
avaer
10y ago
I can't speak to ReactVR specifically, but if you've tried and profiled WebVR you realize that it (surprisingly) works in practice. It's actually not hard to finish executing your Javascript in 11 milliseconds (90 FPS) if you
819.
▲
by
avaer
10y ago
Yup, you're totally right. A lot of it boils down to figuring out how to coalesce and pipeline your rendering (mostly a THREE.js problem) and submit it quickly and efficiently to the GPU (a webgl layer problem). You'll have to tru
820.
▲
by
avaer
10y ago
I've been meaning to blog about all of the stuff I'm learning here (doing it fulltime and there's a lot to write). Drop me an email if you want to be added to the mailing list; email in proifile. But quickly re: canvas2D and
821.
▲
by
avaer
10y ago
The problem isn't JavaScript, it's singlethreading. If your main loop does little more than queue the drawcalls you're doing it wrong. Web workers work. And ideally your physics engine doesn't live in the browser context
822.
▲
by
avaer
10y ago
If you really _are_ a 10x multiplier on a team, you should immediately quit and run your own show, because there's otherwise no chance you're being compensated remotely fairly -- nine times the sum of everyone else's wage.
823.
▲
by
avaer
10y ago
I found out only afterwards when I tried to file a police report. I don't think it's reasonable to expect travelers to know how to vet the legitimacy of taxis they are getting into in a foreign country. This is one of Uber's
824.
▲
by
avaer
10y ago
I'm a Polish expat. Last time I was in Poland I made an effort to speak friendly Polish to my taxi driver. He could immediately tell I wasn't fully Polish and launched into a bigoted tirade about Americans and refused to drop me o
825.
▲
by
avaer
10y ago
Any color that doesn't increase the chances of you misplacing your Enterprise bike.