Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aras_p
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
aras_p
10y ago
Yeah I forgot to mention that even if most of the time you don't care about "security concerns" with regular hashtables, there are cases where a weakness in your hashtable can be used to bring some of your services down. That
32.
▲
by
aras_p
10y ago
Something like FNVHash is so small (like a handful of lines), that it's extremely easy to just copy-paste the function into some place, without realizing it's already copy-pasted somewhere else.
33.
▲
by
aras_p
11y ago
Yeah there was some crowdsourcing via twitter back when I wrote the (initially short) gist.
34.
▲
by
aras_p
11y ago
(author of the gist...) Anyone really thinks it's not a joke? This was all a few years ago, but IIRC the original thought behind it was something I saw on twitter, or perhaps just pondering how evil can C/C++ preprocessor could
35.
▲
by
aras_p
12y ago
First! Though the actual product is called "Unity", not "Unity3d"...
36.
▲
by
aras_p
12y ago
> but there really isn't a library that tries to do > just 2D with some filtering+scaling While not a 2D library, https://github.com/bkaradzic/bgfx is a very sweet abstraction layer over platform graphics AP
37.
▲
by
aras_p
12y ago
> What is the deal with software being hard to release as 64-bit? (disclaimer: I work at Unity) It is a button toggle problem, if the code does not do nasty things (like casting between a pointer and a 4-byte-integer -> all work
38.
▲
by
aras_p
12y ago
Maybe without enough experience it gets hard to decide "holistically" indeed. On the other hand, going into "let's design some class hierarchy first!" without enough experience is just as bad; and most likely even w
39.
▲
by
aras_p
13y ago
You do realize that exactly the same Unity 5 announcement also announced 64 bit editor and improved multi-threading?
40.
▲
by
aras_p
13y ago
Yes. It can also be cheaper to make, since the same material can look good under more different lighting conditions. So an artist can make the textures & material once and it will mostly look "correct" when put in anywhere. As
41.
▲
by
aras_p
13y ago
"you you're a dentist? good, that means you know how to do a surgery. both are medical field, right." :)
42.
▲
by
aras_p
13y ago
Yes, very much so. I'm a graphics programmer at Unity (the game engine), and recently I toyed around with Rails. That made me realize how much of assumed knowledge and jargon is in any particular field. As a complete noob, all the in
43.
▲
by
aras_p
13y ago
Side note: there's a recent push towards "physically based rendering" (in games; film folks have made that a few years ago). This means making light behave in a physically plausible way. This is different from "photo rea
44.
▲
by
aras_p
13y ago
Funnily enough, Deus Ex: The Fall for mobile is made with Unity, and the team that built it said it was much, much better experience than the engines they've used in the past. So YMMV. (note: I work at Unity)
45.
▲
by
aras_p
13y ago
Well, if you look at it... RageSpline guy (Juha Kiili) is working at Unity (on the same 2D stuff for 4.3), and NGUI folks (Michael Lyashenko & Philip Cosgrave) are working at Unity on the upcoming GUI system. That said, some people do n
46.
▲
by
aras_p
13y ago
"How many 2D Unity3D games have reached high up on the top grossing list? Quite many, I'd say. Looking at top 50 grossing for iPhone right now , I see Temple Run 2, The Hobbit, Kingdoms of Camelot, Subway Surfers, CSR Racing at
47.
▲
by
aras_p
13y ago
Upcoming 2D tools in Unity 4.3 aren't related to SpriteKit of iOS7. We support more platforms than iOS, you know.
48.
▲
by
aras_p
13y ago
Unity supports wireframe rendering since 4.0.
49.
▲
by
aras_p
13y ago
FWIW, all the "2D extensions" asset store publishers have known about Unity's upcoming 2D features for a while (have been part of the alpha testing etc.). Yes, their toolkit sales will probably drop, but that's what you
50.
▲
by
aras_p
13y ago
Ok, proved me wrong! The ones that check for struct sizes at compile time (like in your example) will fail since sizes will be different now.
51.
▲
by
aras_p
13y ago
Author of the linked gist here. Some backstory: someone tweeted a "C++ protip: #define private public" joke. I replied with the excellent "#define struct union - saves memory!" that I saw somewhere (all valid C programs
52.
▲
by
aras_p
13y ago
Several reasons, I guess. OpenGL ES 2.0 (which WebGL 1.x is based on) is a subset of OpenGL 2.x, without a lot of legacy stuff that made sense in 1997 but not so much in 2012. In a way, using GLES2.0 is much nicer and more streamlined than
53.
▲
by
aras_p
14y ago
Yeah could be just different demographics (and as usual, with any data set you have to keep in mind that it's not "perfect"). E.g. Unity apps are mostly games, so this probably represents "android users who play games". Whereas google's i
54.
▲
by
aras_p
14y ago
Do you have similar reaction when games do analytics (99% of them do)? Or when websites ping google analytics? "do they also have my IMEI,contacts,..." - no we don't. We don't have your actual hardware stats either; all we have is "this qua
55.
▲
by
aras_p
14y ago
There are multiple factors here. This data comes from users who _play_ Unity games. Whether they pay for them isn't known, but they definitely play games. That alone can be a desirable thing as you noted (network effects etc.). It also migh
56.
▲
by
aras_p
14y ago
Android 3.x was "the tablet OS" which was not very suitable for phones. The problem was, Android tablets back then (Motorola Xoom et al) did not exactly set the world on fire. Almost all the phones skipped 3.x completely and moved from 2.3
57.
▲
Mobile Hardware Statistics (of Unity games)
(aras-p.info)
3 points
by
aras_p
14y ago
|
0 comments
58.
▲
by
aras_p
14y ago
In this case, he's working with external code (Intel's example code) that happened to use data in that way. Why - good question. I guess someone at Intel thought "hey this is just example code how to do software rasterizer for occlusion, wh
59.
▲
by
aras_p
14y ago
What makes you think that? Unity uses: D3D9, D3D11 (new in 4.0) or OpenGL on Windows; OpenGL on Mac & Linux; OpenGL ES 1.1 or 2.0 on iOS, Android and NativeClient; libGCM on PS3; D3D-like API on Xbox360; Stage3D on Flash. What is new in
60.
▲
by
aras_p
14y ago
You don't lose browser support, since what you're dropping into the project is still .NET assemblies (they just happen to have DLL extension). So they aren't any different than what would Unity compile your C#/JS/Boo scripts into.
More ›