« first day (797 days earlier)      last day (4152 days later) » 

3:00 PM
@TonyTheLion But it's not exhaustive
 
:)
2.2k 7 26
hmmm that used to be @Xaade ^
 
So what?
 
Now FUCK. @Robot, did you see the interface to glShaderSource? It's even better than glVertexAttribPointer
 
What?
Ah.
You mean that lines thing?
 
3:03 PM
@R.MartinhoFernandes Precisely.
 
Yeah, a tad annoying.
 
Do you know any way to do it and don't smash your screen in the process?
like some clever lambda line iterator?
(ran on std::string)
 
I usually make local variable and take their addresses: char const* the_whole_shebang = string.data(); int size = string.size(); glShaderSource(..., &the_whole_shebang, &size);
Always worked fine for me, no need to break into lines.
(Maybe that was true a long time ago, but IME not anymore)
 
If we get Runtime-sized arrays with automatic storage duration, how much of a leap would it be to allow one vector per function with automatic storage duration? :)
 
I really wonder why they did it. Now that I think of it I always did it like that.
It's also perfectly fine with them to ask for GLint when specifying size. UNSIGNED, anyone?
 
user142019
3:08 PM
Finally got that book. T_T
 
@FredOverflow Meh, I hope we don't get that and your question becomes moot.
 
@Zoidberg'-- which one?
 
@Zoidberg'-- What book?
UML? Which, by the way, stands for "Ur Mommy Loves" without the "You", because she doesn't love you.
 
@BartekBanachewicz Do other similar functions use GLsizei or something? It's been a while since I used this.
 
3:10 PM
@BartekBanachewicz Oh btw, you can actually pass nullptr for the sizes as long as the string is null terminated.
 
@R.MartinhoFernandes nullptr for the sizes? What strange API is that? Taking sizes by pointer?
 
@BartekBanachewicz Yeah, I was reading that.
 
@R.MartinhoFernandes I went full retard and used const char* and strlen
 
user142019
@FredOverflow Learning UML 2.0
 
Xeo
@R.MartinhoFernandes glShaderSource(..., &as_lvalue(string.data()), nullptr)!
 
3:10 PM
@FredOverflow "one vector per function with automatic storage duration". Wut, and why?
Do you mean something like std::get_temporary_buffer or vector with a stack_allocator? Why just 1?
 
@FredOverflow It's an array of sizes, to match an array of strings.
 
@Zoidberg'-- I find C++ class definitions better design diagrams than UML
 
@Zoidberg'-- Yay
 
@Xeo woohoo. Me gusta
 
@BartekBanachewicz surely, declarations?
 
3:11 PM
@sehe Because I cannot imagine how it would work with two without them getting into each other's ways.
 
@Xeo I considered that, but as_lvalue is fishy and won't be reused at all.
 
Xeo
With template<class T> T& as_lvalue(T&& v){ return v; }
@R.MartinhoFernandes I have needed it on multiple occasions in snippets.
 
@Xeo Scott Meyers could easily spend 90 minutes explaining that single line of code :)
 
Xeo
Whenever I don't want to name something to get an lvalue.
@FredOverflow Hrhr
 
3:12 PM
Haha. That "Jamie Townsend" guy is pretty funny. This morning, I invalidated all those flags about "I want to marry you". Right now, he came back to spew his gall. I did validate that, though!
 
@FredOverflow I'm going to tweet that anyway
 
@BartekBanachewicz The code or my comment?
 
@Xeo And when does that happen?
 
Xeo
@FredOverflow And telling lies 85 minutes of that. :)
 
Other than interaction with broken APIs, I don't see much use for that.
 
Xeo
3:13 PM
@R.MartinhoFernandes No idea when anymore.
 
And when I am interacting with broken APIs I will write a proper wrapper anyway.
 
Xeo
I only remember using it.
 
@FredOverflow both.
 
Xeo
I think it's something like Alias.
 
user142019
> Another great example of when static attributes and operations are used when you want to apply the Singleton design pattern .
 
user142019
3:13 PM
There is everything wrong with that sentence: space before period, "singleton" with a capital letter, and the sentence is missing a word.
 
5
A: Passing non-const references to rvalues in C++

FredOverflow Does the upcoming C++0x standard change this in anyway, or is there something the new standard gives me that is more appropriate here, for example all that jibberish about rvalue references? Yes. Since every name is an lvalue, it is almost trivial to treat any expression as if it was an lval...

 
@R.MartinhoFernandes Well, I guess we can settle on "OpenGL API is somehow broken"
 
@Xeo "The truth is not useful!"
 
user142019
What is wrong with this book. It's terribru.
 
Xeo
@FredOverflow It is, for language lawyers!
 
3:14 PM
@FredOverflow here, have the upvote.
 
user142019
What is wrong with my school telling us to use this book.
 
user142019
I should print and burn it.
 
Part of the UML book Mafia?
 
@Zoidberg'-- haahaha, "school". hahaha, "school recommendation"
 
@BartekBanachewicz I don't understand the need for taking an array of strings, but accepting for a moment that you want that, the function signature is actually not bad. Remember that it's a C API.
 
user142019
3:15 PM
I'm happy I pirated it.
 
It even has const-correctness!
 
user142019
Its authors don't deserve a penny.
 
> which as I wrote this was scored 0, showing that the scoring in SO really doesn't work as a measure of quality
Alf had to say that.
 
Though maybe GLchar const* const* would be more const-correct.
 
Xeo
Link?
 
3:16 PM
5
A: Passing non-const references to rvalues in C++

Cheers and hth. - Alf "What justifies the C++ standard disallowing non-const references in this manner?" Practical experience with the opposite convention, which was how things worked originally. C++ is to a large degree an evolved language, not a designed one. Largely, the rules that are still there are those that...

 
@R.MartinhoFernandes not bad my ass. When was the last time you needed negative size?
 
lol, when was the last time you needed >2GB size?
 
@Zoidberg'-- terribru
 
@R.MartinhoFernandes What if he needs to compensate for something, hm?
 
Xeo
Also, how the heck do you search on SO for a word with an underscore in it?
 
3:17 PM
With Google.
 
@R.MartinhoFernandes It already fails for == 2G ;)
 
user142019
I hope it explains the difference between aggregation and composition well. I don't quite understand the difference between them.
 
Hmm void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage);
 
@EtiennedeMartel I measure my penis length in size_t.
 
This one uses GLsizeiptr, which IIRC is unsigned.
 
3:18 PM
yawns Good morning
 
So yeah, that sounds like a silly oversight.
 
user142019
@johnathon Good afternoob.
 
Xeo
What's the url-encode thingy for _?
 
Xeo
Nvm, there is none, is there?
 
3:18 PM
That is not reserved.
 
user142019
Try Objective-C.
 
@Xeo _ dosn't need URL encoding, space and a few other characters do though
 
user142019
[@"_" stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]
 
@Xeo I've managed to try '_' and '&underscore;' before 60sec window blocked me. I'm such a hacker; I got blocked by SO search engine
 
@Zoidberg'-- dafuq?
 
3:19 PM
@Zoidberg'-- lol
 
Xeo
I want SO to accept as_lvalue as a single word, and not show my posts with just "lvalue" in them.
 
It's 5F in ASCII.
 
Oh crap, I already ate eight pieces of chocolate, now I gotta do 24 pull ups!
 
So you can forcefully encode it as %5F, if you are really curious to try.
 
@Zoidberg'-- "anti-" is not a word. It's a missing prefix
 
Xeo
3:20 PM
Doesn't help. :(
 
@BartekBanachewicz ermagherd
 
@FredOverflow or come drain my transmission , pull the valve body, and clean the sticking valves .... garentee you'll burn the same amount of calories
@FredOverflow not to mention, i'ts 25 degrees out atm
 
@Xeo Of course not. The two are supposed to be interchangeable for a reason.
 
user142019
Meh. It no work. ideone.com/DAwNxv
 
And that reason is to allow malware creators to craft URLs that are not easily readable. Or something else.
 
3:21 PM
@Zoidberg'-- THE GOGGLES! THEY DO NOTTINK
 
Xeo
Oh hey robot, I just remembered when I used as_lvalue.
 
@Zoidberg'-- <BLEEERGHHH>
My eyes hurt.
 
user142019
Isn't Objective-C lovely?
 
@R.MartinhoFernandes Maybe, even entirely
 
Xeo
It was together with Alias - to create and pass a temporary array as an lvalue. :)
 
3:22 PM
I'm going for a walk to soda machine to compensate for that. brb.
 
@Xeo Veeeeeeeeeeerrrrryyyy useful.
 
Xeo
:D
 
@Zoidberg'-- It's mingin as fuck
 
user142019
Ohh aggregation vs composition is similar to shared_ptr vs unique_ptr.
 
3:23 PM
lol @Zoidberg'-- is a.. and has a..
 
stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding What. The. FUCK?
6
 
@Xeo only interesting if you can subsequently use initializers to create the array.
 
@TonyTheLion imaginary static library call missing a : ?
 
user142019
Oh my God.
 
@TonyTheLion Yeah, someone actually designed that. Can you imagine that?
 
user142019
3:24 PM
The teacher got that abstract/concrete error from this book. T_T
 
user142019
@TonyTheLion It's self-documenting!
 
@R.MartinhoFernandes your kidding :|
@R.MartinhoFernandes for what system?
 
@johnathon Do I look like I'm kidding?
 
@R.MartinhoFernandes no, robots never kid
 
@R.MartinhoFernandes gawd. My eyes. I need eye bleach!
@Zoidberg'-- It's ugly as fuck.
 
3:26 PM
Fuck it, search for it on that page.
That site is broken.
 
@R.MartinhoFernandes i should have known... apple
 
user142019
> Templates are an advanced but useful feature of object orientation.
 
user142019
lol
 
I think they based it on C so they could excuse the extreme pointer masturbation going on
 
@johnathon your != you're.
 
3:28 PM
@BartekBanachewicz my browser's spell check needs more coffee than I , I see.
 
@johnathon it's not spelling, it's grammar
 
> *.java matches .java, x.java and FooBar.java, but not FooBar.xml (does not end with .java).
 
grammer FTFY
 
wat
only java
 
@BartekBanachewicz scroll up, not 15 minutes ago i said good morning
@BartekBanachewicz grammer police.. everybody run
 
3:30 PM
@johnathon Objection! Irrelevant
 
@johnathon if you said good morning at 16:15 of my time, you have to be on the east coast, right?
 
@johnathon You know, this is the lounge
 
@sehe The Lounge FTFY
 
@BartekBanachewicz In fact, he has to have said "good morning" about 15 minutes ago. Is all
@BartekBanachewicz ...
 
@sehe irrelephant -FTFY
 
3:31 PM
@BartekBanachewicz @sehe Yes, east coast is close enough, and yea this is the lounge.. who let the dang grammar police in so early
 
@johnathon in Europe the day is almost up
we've been at it for a while, while you were snoozing
 
we've kicked the shit out of that day already
 
Xeo
@sehe Sure, pack expansion n stuff.
 
@Xeo Ah, so not directly. Makes sense.
 
@TonyTheLion True enough, but alas my day has no coding in sight in it. @BartekBanachewicz well if your so peppy and ready to roll, why don't you crawl up under that black monster out side my door and start turning wrenches
 
3:33 PM
Don't worry, this day will last until tomorrow.
 
> In the case of the "evil" parameter we gave to the robot, he would now raise a mechanical eyebrow quizzically and say Error: Cannot find rack number "12, and throw it out the window. Then go back to your desk and ignore the rest of this form." - are you sure this is a valid input? urfff
 
@R.MartinhoFernandes oh, yea Robots don't sleep
a few NOP cycles should fix things
 
@R.MartinhoFernandes On average. But the perception may vary with timezone and mental state
 
It lasts until 2012.12.22 13:00 CET.
What is this sourcery!
 
Xeo
Haha
 
3:36 PM
I thought having @Etienne annoying me to buy Borderlands 2 was enough.
 
Haha.. i needed that @R.MartinhoFernandes
 
Borderlands 2 are really cool
 
are is ftfy
 
Well, none of my meatspace buddies wants in on a 4-pack.
:(
 
3:37 PM
New gunzerker sucks anyway. We're doing it in 3-pack
 
Anyone want to fight retail crowds for me today?
 
retail crowds?
you work in retail?
 
I've spent... a few hundred hours in Borderlands 2 so far
++good
 
@TonyTheLion no, but i need to acquire approximately 2 gallons of Dextron/Mercron III transmission fluid, approximately 1 to 1.5 gallons of Mineral Spirits... before i even crawl up under that black beast and remove the transmission pan. Had the transmission rebuilt, and apparently some residual debris from the transmission cooler got into the fluid and well, seized the little bitty tiny synchronization valves in the valve body, their about the size of a number 2 pencil... no joke.
 
Xeo
Ha robot, Howard was faster. :)
 
3:43 PM
My answer has more value!
It mentions partial specializations!
 
@TonyTheLion most unfortunately the cheapest place in the area to acquire said fluids is WAL MART..... redneck Christmas shopping hell.
 
oh gawd
 
Xeo
@R.MartinhoFernandes Also this:
Why all the specializations for the non-const ones if you're deriving from false_type by default anyways? — Xeo 38 secs ago
 
user142019
brb I'm getting pizza.
 
@TonyTheLion Right.. More coffee is in order
 
3:46 PM
&as_lvalue(int()) <3
no more creating useless temp variables
 
Wut.
Please don't.
 
@R.MartinhoFernandes :( now rly, why?
 
Because the robot said please
 
Because it is evil. That should be enough. :P
 
@R.MartinhoFernandes What could possibly go wrong?
 
3:47 PM
More seriously, why would you ever want that?
@BartekBanachewicz Famous last words.
 
Xeo
I think that's why he made them italic.
 
@R.MartinhoFernandes glGetShaderInfoLog (blahblah, int* retSize, char** retBuf);
 
@R.MartinhoFernandes no, the real famous last words are "Hey Ya'll, watch this!"
 
retBuf will be \0 terminated, so why on earth should I need retSize?
 
@BartekBanachewicz Why don't you make a proper wrapper instead of using that hack everywhere?
 
Xeo
3:48 PM
@BartekBanachewicz Didn't the robot say you can pass nullptr
 
@Xeo It's totally unrelated
 
The point is that the hack with as_lvalue turns a crappy interface into... a still crappy interface.
Why not go all the way?
 
@R.MartinhoFernandes I'm not writing anything serious, just experimenting
 
Xeo
Btw, std::move should've been std::as_rvalue, then it'd be nice and consistent. :(
 
std::stay
@BartekBanachewicz Ah well, then fool around as you please.
 
3:50 PM
std::go
 
std::explode
 
Xeo
std::infect
 
std::this_room_is_crazy
 
@R.MartinhoFernandes Anyway, I've found an example when it would fuck me in the stdin all the way. If the buffer I proposed was smaller than actuall message, the function would return 1000 chars, but I doubt the last would be \0.
 
@johnathon No, the real famous last words are, "I betcha I could do it again, this time doused with gasoline and a match in my mouth.."
 
3:51 PM
std::lion
 
std::crazy_is_a_matter_of_perception
 
std::YUNOUSECORRECTFONT
 
@Neil how much time have you spent around drunk rednecks?
 
Xeo
@TonyTheLion Yunou Seccorect Font?
 
C++11 3.9.1-p4:"Unsigned integers, declared unsigned, shall obey the laws of arithmetic modulo 2^n where n is the number of bits in the value representation of that particular size of integer." in case you were wondering to which part of the standard Robert was referring. — WhozCraig 40 secs ago
Wait, who's Robert?
 
Xeo
Haha, inferring from your "R."?
 
I'm surprised
 
@Xeo Since as_lvalue is the opposite of move (the former casts to lvalue, the latter casts ro rvalue), you should probably rename it to stick or glue ;)
 
@BartekBanachewicz Wait, that's Portuguese? :P
 
Xeo
@FredOverflow But that's not what it does. :/
 
3:54 PM
@R.MartinhoFernandes I don't get it.
 
Robot.. is so much more appropriate.
 
@BartekBanachewicz Silly joke. "ERRO" is Portuguese for "ERROR".
 
Xeo
It doesn't make the temporary stay any longer than it normally would.
 
@R.MartinhoFernandes :) I thought so.
 
@R.MartinhoFernandesterribly sorry (btw your avatar hat makes it a biach to copy/past your name from your profile =P) — WhozCraig 22 secs ago
haha
 
3:55 PM
@Xeo And that's why I think usage on my screenshot is rather OK.
 
template<typename T>
T* ignored()
{
    static T x;
    return &x;
}
@BartekBanachewicz ^ How about this? Then you can say ignored<int>() instead of &as_lvalue(int()).
 
@FredOverflow ummm.... what about ignored<int*>() ? (T ignored()...)
 
@FredOverflow Recipe for data races.
 
@R.MartinhoFernandes Who cares when the variable is ignored?
 
@R.MartinhoFernandes Does it matter? It's ignored
 
3:57 PM
@FredOverflow Undefined behaviour is undefined.
It's ignored by your code.
 
@R.MartinhoFernandes rrrg HOW U GET MOR HATZ THEN ME?
 
Presumably it is not ignored by the function you are calling.
 
@R.MartinhoFernandes Okay, how about you make it a thread-local?
 
Xeo
Congratulations on my 1000th answer! — R. Martinho Fernandes 2 hours ago
lol
 
@R.MartinhoFernandes so you think that function might use it as temporary storage, and then... wut?
 
3:58 PM
@FredOverflow Better. Now it would only mess up if the function shares it, but that is a problem regardless of this trick or not.
 
@BartekBanachewicz Also, why do you say int() instead of 0? :)
 
@BartekBanachewicz The function writes to it, I assume. If two threads write to it like that, you get UB.
 
@FredOverflow saying 0 would say "I'm giving that function a value" (Functions love values) I thought using int would be closer to that ignored pattern
 
Xeo
Because I'm not as smart as R. Martinho Fernandes. :-) And I was copy/pasting this together from other bits of code I had already written where I needed to enumerate all of the different possibilities. It looks tedious until you remember what it was like to try to do this without variadics! :-) — Howard Hinnant 5 mins ago
heh
 
Xeo
4:01 PM
Also, you both suck.
You forgot C-style variadic arguments.
(T......) fun!
 
Look at my worried face.
 
ERROR: 0:3: 'location' : syntax error syntax error. I guess OpenGL thought it has to say it twice.
 
Xeo
What face? You're a robot.
 
That's the point.
 
4:02 PM
@BartekBanachewicz IME GLSL errors are pretty much worthless.
 
^ point
 
I have yet to find a driver/implementation/whatever that gives useful ones.
The most useful thing in those errors is the location. Sometimes.
 
I guess I should go upstairs and drop a few fucks on the guys working on the driver errors :P
 
that so does not sound right when read
 
@johnathon yeah, now that I read it... :)
 
4:04 PM
@Xeo Updated my answer to cover those stackoverflow.com/a/13993022/46642
 
user142019
template<class Sig> std::function<Sig> foo();
template<class T> T& foo();
// will this work with SFINAE (i.e. if I pass a function type T, it returns std::function<T> else T)?
 
user142019
Dammit.
 
There are no dependent types there.
std::function<int> is not an error.
 
user142019
If I use std::enable_if<std::is_function it does work, right?
 
4:08 PM
You may get an error due to a static assert or due to it being an incomplete type or something, but that is not substitution failure.
@Zoidberg'-- Yes.
 
const size_t MAX_IGNORED_VALUES = 15;
static_assert((MAX_IGNORED_VALUES & (MAX_IGNORED_VALUES + 1)) == 0, "y u no power of two minus one?");

template<typename T>
T ignored()
{
    thread_local static T a[MAX_IGNORED_VALUES + 1];
    thread_local static size_t i;
    return a[i++ & MAX_IGNORED_VALUES];
}
 
user142019
Whokay, thanks robot!
 
@R.MartinhoFernandes ;)
 
@FredOverflow Oh gawd. What. I'd just keep one.
Is there some neat article about type erasure somewhere, or would it be worthwhile for me to write some?
 
4:09 PM
@FredOverflow what the... Why it should be 2^n - 1?
 
@R.MartinhoFernandes But what about multiple functions writing to the same ignored value? ;)
@BartekBanachewicz because i++ & MAX_IGNORED_VALUES requires it to be.
 
@ScottW malloc .... free .... new....delete
 
@FredOverflow As I said before that is a problem even without this trick. So the user has to consider that anyway.
 
@R.MartinhoFernandes Oh, then I totally misunderstood you, lol.
 
user142019
@ScottW UB! KILL IT WITH MORE UB!
 
4:11 PM
@ScottW hopefully nothing posted online where someone new can learn bad habbits?
 
@FredOverflow um. Y U NOT %? Or am I missing something?
 
Kewl, a new dupe for my memory leak answer. Mooaar points.
0
Q: Does c++ compiler treat "new" in this form as stack memory?

MarcoI've encountered a small problem like this int main() { int i = *new int; delete &i; return 0; } It compiles ok, but when executing, the shell gives the following : a.out(38303) malloc: *** error for object 0x7fff5fbff8cc: pointer being freed was not allocated *** set a brea...

Close it bitches.
 
@BartekBanachewicz % one of the slowest ALU operations there is.
 
user142019
I'm wrapping dlopen.
 
4:14 PM
I'd make the constant be the number of bits and build a zigamorph manually instead.
@Zoidberg'-- Oh, I have that somewhere around here.
 
user142019
Me too. :^)
 
Whatever, just reinterpret_cast that shit.
 
user142019
Yup.
 
POSIX docs recommend using UB to avoid some UB or whatever.
So I actually have no idea which is better.
 
@R.MartinhoFernandes okay, waiting...
 
user142019
4:16 PM
auto* symbol = ::dlsym(handle.get(), symbol.c_str());
if (symbol == nullptr) throw std::runtime_error{"fuck"};
return *reinterpret_cast<T*>(symbol);
 
@Zoidberg'-- fuck .... great error description, "son of a bitch!" would be more appropriate though
 
I just wanted to delete two comments, and stack overflow told me that I could only submit a comment every 5 seconds...
 
> But be aware that nobody in their right mind would hire you if he saw that code
lol
 
user142019
lol
 
user142019
Linky?
 
4:18 PM
@FredOverflow They have only one error message for any comment-related operation.
 
Erm... you have an infinite recursion in your hash<PlayerPtr> :) — FredOverflow 8 secs ago
problem solved
3
A: Does c++ compiler treat "new" in this form as stack memory?

FredOverflowWhat you probably wanted to write was this: int main() { int& i = *new int; // note the reference type delete &i; return 0; } But be aware that nobody in their right mind would hire you if he saw that code.

 
user142019
lol
 
@FredOverflow Well, that was an easy one.
 
lol
genius.
 
0
A: unordered_map of shared_ptrs breaks C++ programm

FredOverflowOkay, let's look at the code you linked to: namespace std { template<> class hash<Player> { public: size_t operator()(const Player &p) const { // Hash using boost::uuids::uuid of Player boost::hash<boost::uuids::uuid> ...

 
4:33 PM
4
Q: Is there anyway to peek at the stdin buffer?

MikeWe know that stdin is, by default, a buffered input; the proof of that is in usage of any of the mechanisms that "leave data" on stdin, such as scanf(): int main() { char c[10] = {'\0'}; scanf("%9s", c); printf("%s, and left is: %d\n", c, getchar()); return 0; } ./a.out ...

 
in PHP, 2 mins ago, by Neal
shameless upvote for a hat? I am already at the rep cap for today :-P
:-P
 
Cheater.
I still have six easy hats left to obtain.
 
@R.MartinhoFernandes lol which ones? I got the pirate hat. ^_^
 
The ones about posting on specific days, plus the ones about n upvoted answers (I post few answers so I only have one of those so far), plus some others I don't recall.
 
@R.MartinhoFernandes ha. well u got the freebie one from dec 16th. I did not get that one :-(
 
Xeo
4:40 PM
Are there any badges for the hat stuff?
 
@Xeo lol no. its for fun ^_^ and SCIENCE!
 
Xeo
Meh, uninteresting then, since they'll be gone on Jan 04.
 
How materialistic of you.
 
4:42 PM
zomg. glGetError gives me error before it even gets to my code
great news
 
You are doing something wrong.
Perhaps that is obvious, though.
 
No shit.
 
How can I, if my code isn't even executed? Only GLEW and GLUT
 
Do you have a context?
 
GLUT sounds like a curse word
 
4:44 PM
Maybe it gives errors if called without a context.
 
Today's XKCD is right on target.
 
Because I'm not as smart as R. Martinho Fernandes. :-) And I was copy/pasting this together from other bits of code I had already written where I needed to enumerate all of the different possibilities. It looks tedious until you remember what it was like to try to do this without variadics! :-) — Howard Hinnant 50 mins ago
LOL ^
 
@R.MartinhoFernandes I've corrected order of glut functions. now it glgeterror-s after glewInit
aw yeah. The correct order is glutInit -> glewInit -> glutInitGiveAllshitaboutVersionsAndProfiles
umm. or not.
 
4:50 PM
@TonyTheLion I was pretty sure of that. But it wasn't like I spammed the room too much today
 
I considered linking to the comment but that wouldn't look un-clumsy
 
@FredOverflow self-sacrifice
 
What? :)
 
Xeo
4:56 PM
@FredOverflow o_ô
 
I think I've overslept a bit for that 8:50 class
 

« first day (797 days earlier)      last day (4152 days later) »