Re: How would you dive into a big codebase

2014-10-22 Thread Nicolas F via Digitalmars-d-learn
On Wednesday, 22 October 2014 at 02:09:53 UTC, Jonathan M Davis wrote: The usual suggestion that I've heard given (without any particular language in mind) is to start by tracking down and fixing a bug in it This is how I usually do it too, though you don't even need to find a bug in it.

Re: generate unique variable names?

2014-10-08 Thread Nicolas F. via Digitalmars-d-learn
On Wednesday, 8 October 2014 at 02:53:08 UTC, K.K. wrote: On Wednesday, 8 October 2014 at 02:06:28 UTC, Brian Schott wrote: I'm 99% sure you actually want an array or associative array. Something like this maybe? ImageType[string] images; images[format(image%03d, i)] = new

Re: How to detect start of Unicode symbol and count amount of graphemes

2014-10-06 Thread Nicolas F. via Digitalmars-d-learn
Unicode is hard to deal with properly as how you deal with it is very context dependant. One grapheme is a visible character and consists of one or more codepoints. One codepoint is one mapping of a byte sequence to a meaning, and consists of one or more bytes. This you do not want to deal with

Re: Trying to get Derelict.opengl3.gl3 and derelict.glfw3.glfw3 to work together

2014-09-24 Thread Nicolas F. via Digitalmars-d-learn
Make sure to call DerelictGL3.reload() to get all the OpenGL calls, if you don't, you only get OpenGL 1.1

Re: Trying to get Derelict.opengl3.gl3 and derelict.glfw3.glfw3 to work together

2014-09-24 Thread Nicolas F. via Digitalmars-d-learn
Whoops, I just saw that my earlier answer was totally inaccurate. I was on my phone at the time, so didn't look at the code in detail. On Wednesday, 24 September 2014 at 13:59:41 UTC, csmith wrote: On Wednesday, 24 September 2014 at 11:07:56 UTC, Mike Parker wrote: You're using deprecated

Re: Trying to get Derelict.opengl3.gl3 and derelict.glfw3.glfw3 to work together

2014-09-24 Thread Nicolas F. via Digitalmars-d-learn
On Wednesday, 24 September 2014 at 16:36:29 UTC, csmith wrote: I came from web development, you're meaning to tell me there's coding outside of writing boilerplate? Jokes aside, figured if I took the time to learn a modern language, I'd be consistent with adding in newer technologies :) In