Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeremiep
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
271.
▲
by
jeremiep
10y ago
I'm willing to bet you talk to addicts in your day to day life without ever noticing it. You seem to think addicts are only poor people living on the streets but a lot of users have the finances to pay for their addiction and in these
272.
▲
by
jeremiep
10y ago
I don't get it either. Chef does the same; it has chef, knife, kitchen, berks, recipes and more. Getting started with it is a freaking nightmare. Everything has cute logos and names and good looking README.md files to lure you into usi
273.
▲
by
jeremiep
10y ago
You definitely should elaborate. Right now what you're saying has absolutely no substance and only reminds me of the Dunning-Kruger effect. One thing I learned long ago is that people who are cocksure of themselves yet won't expla
274.
▲
by
jeremiep
10y ago
That's completely false and grossly overlooks what makes games fun in the first place. Prototypes are your absolute best indicators to determine if a project is worth investing into to reach completion or not. Because you find your fun
275.
▲
by
jeremiep
10y ago
How on earth are you going to get a Minecraft if you prototype voxels? If you want to make a Minecraft then prototype that instead a single aspect of its visuals.
276.
▲
by
jeremiep
10y ago
That isn't true. No sane company will polish a game before knowing for certain the gameplay mechanics and art direction are final. It just costs incredible amounts of money to pivot at that point so nobody does it. Heck the projects th
277.
▲
by
jeremiep
10y ago
The first image still has lots of details in it. I've seen prototypes where everything was either black or green, no gradients no nothing - even the main character was a square!
278.
▲
by
jeremiep
10y ago
Not at the prototype level where you don't care about balance issues but rather gameplay mechanics.
279.
▲
by
jeremiep
10y ago
You do realize your slang was seen the same way by your parents and their slang was seen the same way by your grandparents right? Time changes, people don't.
280.
▲
by
jeremiep
10y ago
Its far worse than that. Even PC games are often optimized by hardware vendors rather than the actual developers. See http://www.gamedev.net/topic/666419-what-are-your-opinions-o... On consoles we get access to the har
281.
▲
by
jeremiep
10y ago
You can get a lot of performance back just by taking branch predictions and cache misses into your designs. I did just that in C# last years and got at least two orders of magnitude of performance gain from it. Still, I constantly wished I
282.
▲
by
jeremiep
10y ago
I don't think any CPU features were designed specifically for video games. But video games often have workloads that fit nicely on top of the CPU. You don't need interactions between entities at every point in time. There are ve
283.
▲
by
jeremiep
10y ago
Its not nearly as easy as it sounds. I think game engine developers now understand multi-core a LOT better than programmers from most other domains. Games are still just an update and render pass in a loop. Nothing will change that, they
284.
▲
by
jeremiep
10y ago
Besides, CPUs are only optimized for games if you write your code to take advantage of it. I worked on AAA engines that completely disregarded caches and branch prediction and while that worked great 10 years ago the same architecture becam
285.
▲
by
jeremiep
10y ago
I'm pretty sure the results would be even more true for 12 hours workdays. I recently switched jobs and dropped from 40 hours to 35 hours a week and only feel much more productive from it. Working 70 hours week is a guaranteed way to h
286.
▲
by
jeremiep
10y ago
> I'd say that a dictionary is an ad-hoc, typeless instance. The dictionary will preserve the entirety of the data, that's already better than any custom type can ever dream to do. You're not going to want to upgrade your
287.
▲
by
jeremiep
10y ago
The first steps are often the hardest to make :)
288.
▲
by
jeremiep
10y ago
> I thought that you were arguing for using JSON data structures rather than custom data structures. I very rarely go for custom data structures :) I won't destroy data by giving it an ad-hoc type, and unless I'm working in a s
289.
▲
by
jeremiep
10y ago
Store it as a plain string. Most GUI libraries I know of will accept that type only for their rich text controls anyways. If I need to work on the data I'll parse it into a data structure. Then I get something like ["Hello "
290.
▲
by
jeremiep
10y ago
The AI of Quake3 is also a great read! http://fd.fabiensanglard.net/quake3/The-Quake-III-Arena-Bot....
291.
▲
by
jeremiep
10y ago
> and once it's passed through, it's no longer the same type. How is that different from loading a JSON into custom data structures? You run the exact same validation step, have the exact same data for input, but your result is
292.
▲
by
jeremiep
10y ago
> No, it means that one has types. {length: 3} has a very specific type. Shoving that into a struct Foo { double length; } doesn't make it any safer. A simple validator and properly naming fields to mention units makes you safer tha
293.
▲
by
jeremiep
10y ago
My application data structures ARE the JSON structures (or the YAML ones, they both map to generic data types in any language). That's the beauty of it. If you have distinct application structures that means you're reinventing ad-
294.
▲
by
jeremiep
10y ago
They're not the same. Both YAML and JSON map to data structures in your program; scalars, sequences and mappings. XML on the other hand maps to.. a DOM! You've still got to normalize that into what your program expects. SAX is not
295.
▲
by
jeremiep
10y ago
It looks like you're just way more used to XML than other formats. Not knowing YAML doesn't make XML any less terrible. It took me 10 minutes to learn the YAML format and I find it incredibly more expressive, powerful and readable
296.
▲
by
jeremiep
10y ago
I wouldn't touch XMPP with a 10' pole even on desktop PCs. That's considering the fact that parsing XML is at least two orders of magnitude faster on PC than anything else, simply because of larger CPU caches. XML has to be t
297.
▲
by
jeremiep
10y ago
That's only on the network side. Playing the game you get a feel that the entire codebase is a cesspool. Everyone I talk to who's also played Ingress sees history repeating itself. They've experienced the same bugs, lack of c
298.
▲
by
jeremiep
10y ago
My litmus test is checking how many "titles" authors list on their pages. The more titles the less likely I am to take their word seriously. Pretty crude heuristic, but seems to work with very few false positives!
299.
▲
by
jeremiep
10y ago
For browsers not yet supporting WebAssembly?
300.
▲
by
jeremiep
10y ago
I don't get it either; the article sounded like the guy was in way over his head to me.
More ›