Re: glad OpenGL loader generator

2013-08-14 Thread Brad Anderson

On Tuesday, 13 August 2013 at 10:41:49 UTC, David wrote:

Am 13.08.2013 05:51, schrieb evilrat:

On Monday, 12 August 2013 at 13:45:46 UTC, David wrote:


Did you confuse gles2 (GL ES 2.0) with gl3n? Or did you speak 
of
glamour, which has indeed gl3n interaction, which can be 
turned on with

-version=gl3n: make DCFLAGS+=-version=gl3n.
But I recommend you to include gl3n and glamour as submodule 
or if you
don't use git, simply the sources. This makes your code 
independent of a

systemwide installation and it's only a few files.

glad is a replacement for Derelicts GL bindings. Soon it will 
also
provide a EGL support (which should already work), WGL and 
GLX.


no no, i don't want use other opengl bindings right now, 
derelict just
fine, but i need some good(public available) math lib to put 
in my
examples, and the problem is that gl3n compiles as 32 
bit(-m32) on OS
X(i use it because i don't have PC and i don't know when i 
would have
it) by default and there seems no way to remove this 
misbehavior :(


This shouldn't happen and doesn't happen for me. Easiest way to 
use gl3n
(and also what I recommend) is to use it as git submodule or 
simply copy
the sources into your project and integrate it into your 
buildsystem.


Works well with dub. Dead simple too.


Re: D reaches 1000 questions on stackoverflow

2013-08-14 Thread Andre Artus

On Wednesday, 14 August 2013 at 19:52:13 UTC, Dejan Lekic wrote:

On Tuesday, 6 August 2013 at 16:02:57 UTC, Atila Neves wrote:

On Tuesday, 6 August 2013 at 01:22:29 UTC, Andre Artus wrote:

Andrei Alexandrescu wrote:
http://stackoverflow.com/questions/tagged/d

Andrei


Perhaps we can get it to 1000 answers? I'm looking through it 
now to see if I can find something I can answer.


I think the lack of answers is due to most D aficionados 
posting questions on 
http://forum.dlang.org/group/digitalmars.D.learn instead of 
stackoverflow. The last time I asked a question I did it on 
both assuming I'd get better answers here than there. I was 
right and had to answer my own question on SO (with the answer 
I got on the forum from a helpful D programmer) so that others 
might benefit.


I'm not entirely sure this relative insularity is good for D 
(which is why I bothered to ask my question on SO to begin 
with).


Atila


There is really nothing wrong about answering/asking questions 
here instead of the StackOverflow.


As with many things it depends on what you want to achieve. 
Answering on SO is as much about establishing awareness as it is 
about answering the question. For a newcomer to D StackOverflow 
may be their first port of call, if questions go unanswered, or 
are answered after long delays, then the likelihood of the person 
persisting with D is diminished.


A relatively small number of people are attracted to tools and 
languages that don't have broad exposure. These people are marked 
by dogged determinism and a high tolerance for [mental] pain. 
Your average Joe or Jane is not like that, they have something 
they want to achieve and if they perceive the language/tools are 
working against them they will try something else.


It could be argued that D (broadly) isn't ready for Joe and Jane 
yet, but if it isn't yet, it must plan to be ready soon.




Re: D reaches 1000 questions on stackoverflow

2013-08-14 Thread Andre Artus

On Wednesday, 14 August 2013 at 21:03:37 UTC, Adam D. Ruppe wrote:

On Wednesday, 14 August 2013 at 20:56:33 UTC, Andre Artus wrote:
if questions go unanswered, or are answered after long delays, 
then the likelihood of the person persisting with D is 
diminished.


Is this a big problem with D? I don't do stack overflow often, 
but I try to check in every few days to check the D tag, and I 
usually see answers there by the time I click it.


I don't think it is a big problem, 28 unanswered questions out of 
just over a thousand isn't a terrible stat, but most of those 
unanswered questions seem to have been there for months. About 
1/2 of them have an answer, but are not marked as such. Often the 
question isn't clear, or the answer is given as a comment.


I'm not saying that the D community is unresponsive, quite the 
opposite is true, my main point was that one cannot dismiss the 
value of discoverability.






Re: D reaches 1000 questions on stackoverflow

2013-08-14 Thread Andrei Alexandrescu

On 8/14/13 2:59 PM, Andre Artus wrote:

On Wednesday, 14 August 2013 at 21:03:37 UTC, Adam D. Ruppe wrote:

On Wednesday, 14 August 2013 at 20:56:33 UTC, Andre Artus wrote:

if questions go unanswered, or are answered after long delays, then
the likelihood of the person persisting with D is diminished.


Is this a big problem with D? I don't do stack overflow often, but I
try to check in every few days to check the D tag, and I usually see
answers there by the time I click it.


I don't think it is a big problem, 28 unanswered questions out of just
over a thousand isn't a terrible stat, but most of those unanswered
questions seem to have been there for months. About 1/2 of them have an
answer, but are not marked as such. Often the question isn't clear, or
the answer is given as a comment.

I'm not saying that the D community is unresponsive, quite the opposite
is true, my main point was that one cannot dismiss the value of
discoverability.


Yes. In a way SO is preferable to this forum because it's much more popular.

Andrei



Re: D reaches 1000 questions on stackoverflow

2013-08-14 Thread Andrei Alexandrescu

On 8/14/13 2:03 PM, Adam D. Ruppe wrote:

On Wednesday, 14 August 2013 at 20:56:33 UTC, Andre Artus wrote:

if questions go unanswered, or are answered after long delays, then
the likelihood of the person persisting with D is diminished.


Is this a big problem with D? I don't do stack overflow often, but I try
to check in every few days to check the D tag, and I usually see answers
there by the time I click it.


You can define a filter that emails you whenever there are new questions 
on the D tag.


Andrei


Re: D reaches 1000 questions on stackoverflow

2013-08-14 Thread Jonathan M Davis
On Wednesday, August 14, 2013 22:56:30 Andre Artus wrote:
 As with many things it depends on what you want to achieve.
 Answering on SO is as much about establishing awareness as it is
 about answering the question. For a newcomer to D StackOverflow
 may be their first port of call, if questions go unanswered, or
 are answered after long delays, then the likelihood of the person
 persisting with D is diminished.

I answer questions on SO all the time, but I rarely ask anything there, and I 
never ask anything D-related there. Of course, if my question is D-related, 
I'm much more likely to _have_ to ask my question here to get a good answer 
anyway just based on how many people would even know the answer, simply 
because I know enough that anything I asked would be much more likely to be 
esoteric and/or require in-depth knowledge. The experts are all here, and only 
a small portion of them are on SO.

In any case, I'd say that in general, asking your question on SO gives it more 
visibility to those outside of the core D community, but you're more likely to 
get a good answer here than there, because there are more people here, and 
this is where the experts are.

- Jonathan M Davis


Re: D reaches 1000 questions on stackoverflow

2013-08-14 Thread Andre Artus
On Thursday, 15 August 2013 at 02:30:42 UTC, Jonathan M Davis 
wrote:

On Wednesday, August 14, 2013 22:56:30 Andre Artus wrote:

As with many things it depends on what you want to achieve.
Answering on SO is as much about establishing awareness as it 
is

about answering the question. For a newcomer to D StackOverflow
may be their first port of call, if questions go unanswered, or
are answered after long delays, then the likelihood of the 
person

persisting with D is diminished.


I answer questions on SO all the time, but I rarely ask 
anything there, and I
never ask anything D-related there. Of course, if my question 
is D-related,
I'm much more likely to _have_ to ask my question here to get a 
good answer
anyway just based on how many people would even know the 
answer, simply
because I know enough that anything I asked would be much more 
likely to be
esoteric and/or require in-depth knowledge. The experts are all 
here, and only

a small portion of them are on SO.

In any case, I'd say that in general, asking your question on 
SO gives it more
visibility to those outside of the core D community, but you're 
more likely to
get a good answer here than there, because there are more 
people here, and

this is where the experts are.

- Jonathan M Davis


I agree with every point you've made here. If I had a D related 
question I would not head for SO first. I have found a lot in the 
D forums without actually having to ask the questions myself. But 
it does not do much for D's exposure.


Evangelizing takes planning and effort. Technical merit is 
unfortunately insufficient to guarantee success in the 
marketplace of ideas. I have known about D for quite some time, 
but did not put too much effort into it until recently. It's when 
I stumbled across the DConf2013 videos that I realized that there 
is some serious legs under D. The quality of the presentations 
(in terms of content over glitz) exceeded that of many similar 
conferences I've seen.


Languages like Ruby, Python, PHP, R, etc. do not have the buzz 
they do because of inherent technical merit, but perhaps in spite 
of thereof. Each has some killer framework compelling you to 
adopt the language in order to benefit from it, and people 
putting serious effort into evangelizing and lowering the 
barriers.


I see there is a thread going on creating D GUI framework, I 
think that would be a major step towards lowering the barriers. 
It needs to be part of a batteries included set-up for D. So 
you can download D and run your Hello World GUI app in under 10 
minutes. Not spend half the day searching for mostly abandoned 
efforts and then spending the rest of the day compiling the C/C++ 
dependencies only later to find that you have been sucked into 
the 7th layer of Dependency Hell. While modern C++ has become a 
lot less unpleasant it is still unpleasant; someone new to D 
should never have to run a C/C++ compiler for any reason other 
than to compare compilation time (with a big fat grin on their 
dial for choosing D).




Re: D reaches 1000 questions on stackoverflow

2013-08-14 Thread Nick Sabalausky
On Wed, 14 Aug 2013 22:56:30 +0200
Andre Artus andre.ar...@gmail.com wrote:
 
 A relatively small number of people are attracted to tools and 
 languages that don't have broad exposure. These people are marked 
 by dogged determinism and a high tolerance for [mental] pain. 
 Your average Joe or Jane is not like that, they have something 
 they want to achieve and if they perceive the language/tools are 
 working against them they will try something else.
 

FWIW, I'm sold on D specifically *because* I have very little patience
for tools that feel like they're working against me.



Re: D reaches 1000 questions on stackoverflow

2013-08-14 Thread Brad Anderson

On Thursday, 15 August 2013 at 02:30:42 UTC, Jonathan M Davis
wrote:

On Wednesday, August 14, 2013 22:56:30 Andre Artus wrote:

As with many things it depends on what you want to achieve.
Answering on SO is as much about establishing awareness as it 
is

about answering the question. For a newcomer to D StackOverflow
may be their first port of call, if questions go unanswered, or
are answered after long delays, then the likelihood of the 
person

persisting with D is diminished.


I answer questions on SO all the time


And I have to thank you for that.  You leave some great, in-depth
answers on Stack Overflow.