Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BlackAura
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
BlackAura
14y ago
You're doing it wrong. Not that I can blame you - unless you take the time to work it out, or find someone else to tell you, it's easy to have trouble finding resources. The key is knowing where they are, and the best way to get them. Diamo
32.
▲
by
BlackAura
14y ago
This isn't unique to PHP, by any means. Visual Basic was much the same, even in later versions where you actually could write well designed code if you knew what you were doing. The IDE, documentation and design of the language encouraged y
33.
▲
by
BlackAura
14y ago
Mac OS 10.8 takes up something like 13GB in total, including swap space. The recovery partition on a new Mac is tiny, containing just enough to download the install image over WiFi. Granted, not entirely comparable - 10.8 doesn't contain ne
34.
▲
by
BlackAura
14y ago
Frankly, complaining that developing for Direct3D requires just the DirectX SDK, and that developing for OpenGL requires some combination of other libraries is a stupid complaint. It's the kind of complaint that only complete newbies might
35.
▲
by
BlackAura
14y ago
There's a bit of a difference, though. For one, there wasn't any viable competition at the time. Your options were GCC, or a commercial compiler. If you actually needed access to the source code of the compiler for any reason, GCC was your
36.
▲
by
BlackAura
14y ago
We won't know until we get there. Generally, the performance of a video codec is held back by available hardware performance more than anything else. The specifications of a video codec generally specify the decoder, but not the encoder. Th
37.
▲
by
BlackAura
14y ago
Good point. Their tool is obviously useful, even though something like this might not be the best use case for it. The HUD thing - it looks like they screwed up the post-processing effects somehow. As far as I remember, the original game di
38.
▲
by
BlackAura
14y ago
Worse, they didn't actually get a 15% speedup. They reduced the frame time from 16.7ms (around 60FPS) to 15.3ms (around 65 FPS), which is only a speedup of something like 7%. They didn't seem to mention how much they're actually utilizing t
39.
▲
by
BlackAura
14y ago
It actually does use it's own heap allocator, with some additional allocators built on top of it. I don't know if it also uses the system / libc allocator for anything, but I'd be surprised if it did. Aside from glQuake (which used a custom
40.
▲
by
BlackAura
14y ago
Not really. The lighting in Half Life 2 was based on static lightmaps. They were very fancy lightmaps, which enabled them to use techniques such as normal mapping or specular reflections, which are normally incompatible with lightmaps, but
41.
▲
by
BlackAura
14y ago
I just went and did some more digging around. Looks like you're right - the method in question was present in OpenJDK's java.util.Arrays first, and seems to have been copied into the TimSort implementation.
42.
▲
by
BlackAura
14y ago
Just a bit of background: Those lines of code are from OpenJDK's TimSort implementation. It was written by Joshua Bloch, who was actually working for Google at the time, and contributed to OpenJDK. He later re-used the same code for Android
43.
▲
by
BlackAura
14y ago
Your experience with logs doesn't invalidate the point the author was trying to make. Storing your logs in your production database is a stupid idea. You're already doing what he was suggesting anyway - storing your logs somewhere other tha
44.
▲
by
BlackAura
15y ago
They're dropping the NPAPI (Netscape Plugin API) version on Linux. Chrome currently ships with both an NPAPI version of Flash, and a PPAPI (Pepper - basically a replacement plugin API developed by Google, as an offshoot of NaCl) version. Th
45.
▲
by
BlackAura
15y ago
The SNES sound hardware was a little bit more complicated than that. It has a control CPU, and it's own RAM, with no access to the contents of the cartridge, or to main RAM. Obviously, you have to emulate all of that accurately, or the code
46.
▲
by
BlackAura
15y ago
I doubt there would be one. On modern graphics hardware, backface culling is done by the hardware itself. It would help if this demo were anywhere close to the limits of the hardware, which it isn't. Instead, it's likely to be limited by th