Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sclangdon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
sclangdon
10y ago
Although they generally didn't compete in the 4kb genre, Farbrausch open-sourced many of their demos and demo-making tools a few years ago [1]. fr-041: Debris [2], and kkrieger [3] (the 96kb FPS) are particularly worth checking out for
92.
▲
by
sclangdon
11y ago
It turns out that Trenki implemented the OpenGL ES-CL 1.0 interface on top of his software renderer (link [1] above), which should serve as an even better example of how OpenGL (may) work. http://www.trenki.net/content/
93.
▲
by
sclangdon
11y ago
The struct vec takes a template parameter T, and it's constructor takes a different template parameter U. Therefore, you must specify both template directives when defining the constructor; one for the class type, and one for the const
94.
▲
by
sclangdon
11y ago
This is great and so concise, but I'm surprised that the author didn't implement OpenGL's interface (obviously not all of it), if the goal is to show how OpenGL works. Another good example of this is Trenki's software re
95.
▲
by
sclangdon
11y ago
I think he's talking about C++ templates. https://en.wikipedia.org/wiki/Template_metaprogramming
96.
▲
by
sclangdon
11y ago
I don't think it's because you're squeezed for time, but more that you're sense of time has changed. You're probably used to extracting information you want in a very short period of time via sites like StackOverflo
97.
▲
by
sclangdon
11y ago
Slightly off-topic but I find the BWAPI more interesting than the AI aspects. Does anyone have any further reading regarding this kind of thing?
98.
▲
by
sclangdon
11y ago
It's location has meaning - it's right on the edge of the known lands.
99.
▲
by
sclangdon
12y ago
> This points to a need for a new language that avoids these issues. I think Rust is the answer, but I would like to see more languages try to fill that gap--competition is healthy. Programs written in C and C++ may have issues because t
100.
▲
by
sclangdon
12y ago
For those interested, here is Jori Liesenborgs' thesis, "Genetic algorithms for the non-parametric inversion of gravitational lenses". http://research.edm.uhasselt.be/jori/phd/phdthesis_jori_web....
101.
▲
by
sclangdon
12y ago
And as some of the comments on his blog point out, he uses C++ in a C style. "If you insist on sticking to a conventional C style of C++ code, you’ll get conventional C-style problems" - Bjarne Stroustrup ( http://www.in
102.
▲
by
sclangdon
12y ago
My experience is very similar to that of Charles Bloom: http://cbloomrants.blogspot.co.uk/2013/10/10-04-13-reality-o...
103.
▲
by
sclangdon
12y ago
And here is Farbrausch's repo, which includes the .kkrieger code along with a lot of other interesting stuff. https://github.com/farbrausch/fr_public
104.
▲
by
sclangdon
12y ago
And instead put touch-screen media centres, which aren't distracting at all...
105.
▲
by
sclangdon
13y ago
Making people do things against their will or fear punishment by death is not exactly the same thing is swearing at someone is it? Anyone who works with Linus does so freely and can stop at any time they choose. Furthermore, applying today&
106.
▲
by
sclangdon
13y ago
I'm currently stuck with a Lumia 800 with a penchant for crashing thanks to Vodafone's "repair" service. I explained in a written letter how the phone would crash at frequent intervals (especially when playing or recording video). Being a d
107.
▲
by
sclangdon
13y ago
I used to work for EDS (now HP Enterprise Services) about 6 years ago sub-contracting for Xerox. Most of the systems they (Xerox) used for selling/maintenance (order processing, invoicing, etc) of printers were written in COBOL for the IBM
108.
▲
by
sclangdon
14y ago
A good alternative for C++ is http://gcc.godbolt.org/ - especially if you're more interested in the assembly output of various compilers, rather than the output of the program.
109.
▲
by
sclangdon
14y ago
Writing better mouse control isn't fun. If he were to start writing such things, I bet he'd either scrap them anyway or just get bored of writing DF all-together. The "boring" tasks are purposefully programmed to the minimum requirement so
110.
▲
by
sclangdon
14y ago
Because while(1) evaluates to a constant, which can sometimes be a bug and thus, some compilers emit a warning. http://msdn.microsoft.com/en-us/library/6t66728h%28v=vs.80%2... http://stackoverflow.com/questions/3490823/why-msvc-generate.