1d
awarded Notable Question
Jun
1
comment OpenGL & GLSL 3.3 on an HD Graphics 4000 under Ubuntu 12.04
This doesn't seem to work quite yet in 14.04 (it is June now). glxinfo reports the same string for core profile but then: OpenGL version string: 3.0 Mesa 10.7.0-devel (git-f97166e 2015-06-01 trusty-oibaf-ppa) OpenGL shading language version string 1.30 And when I create a context with glut requesting version 3.3 I still get a version 3.0 context.
Apr
9
comment Why does epoll_wait only provide huge 1ms timeout?
Just learned about timerfd from your answer. Nice!
Apr
2
awarded Popular Question
Feb
13
awarded Famous Question
Dec
7
awarded Nice Question
Oct
16
awarded Good Question
Sep
26
awarded Popular Question
Sep
17
awarded Popular Question
Jul
19
awarded Yearling
Jul
2
awarded Curious
Jul
2
awarded Curious
Jun
24
comment Random points inside a Polygon
@gabriel_littman. I believe you are correct. In the graphic for the equation there is a missing R(pi), which is present in the text... i.e. rotation by 180 degrees. I think that rotation matrix is [-1, 0; 0, -1] which is to say that we take the negative of its operand.
Jun
6
awarded Necromancer
Feb
7
awarded Nice Answer
Nov
15
awarded Notable Question
Oct
28
awarded Supporter
Oct
17
awarded Famous Question
Oct
3
comment Omit return type in C++11
@LokiAstari I agree with your comment in the context of the OP but what if a function returns the result of std::bind(...)?
Sep
25
comment How can I copy one map into another using std::copy?
@Billy: Your answer is clearly the correct answer for the OP, but the answer to why would be "so I can use copy_if", and filter one map during the copy to another.
1 2 3 4 5