I have a 3D TV and feel that I would be shirking my responsibilities (as a geek) if I didn't at least try to make it display pretty 3D images of my own creation!
I've done a very basic amount of OpenGL programming before and so I understand the concepts involved - Assume that I can render myself...
@Xeo I was under the shower when my package came today. I rushed to the door, held the towel with one hand and tried to write my signature with the other, which didn't work at all. "This isn't going to work!" I told the delivery man. I don't think he understood what I said, because he just replied "Okay have a nice day!" and left.
Is (++i)++ undefined behavior? Is it possible that the side effect of prefix increment happens after retrieving the incremented object for postfix increment to operate on? That would seem strange to me.
My gut feeling says this is undefined in C++03 and well-defined in C++11. Am I right?
@FredOverflow there was an initiative to move kernel development to more dynamic languages in last millenium, but that failed and I don't think anyone touched that seriously ever since
@FredOverflow Actually they wanted to raise the rent. I managed to turn them down, though. (That is, technically, my rent rises, but only by 2%, and I don't count that.)
@Xeo Because I do not want to live in this apartment while they tear apart my bathroom, replace all the windows and put in a new heating. They want me to move move me back in 4 weeks, but I won't be holding my breath based on that estimation.
@FredOverflow Well. I had to deliver this speech which took a surprising amount of time to prepare. We booted up the blocks of Europe's biggest battery power plant for the first time last week and this week, which took a surprising amount of work dedication. I will give a 3-day seminar in Austria next week, which takes a surprising amount of time to prepare. Another one the week after. And on Monday I agreed to have them move me this weekend. Can you spot the problem(s)?
@FredOverflow There is a minimal chance, though, that I might take off a few hours on Saturday night and have a few beers with your guys. But then I might be too stressed to do that.
altough I gotta say the language is much more pleasant
@Jefffrey see, that would probably require more explanations. But it's doable with what I can do in Haskell, and that's important.
catch (Exception rsae)
{
// Both RSA and 3Des decryptors refuse to decrypt with bad keys
// I'm helpless.
var rnd = new Random();
var b = new byte[result.EncryptedMessage.Length];
rnd.NextBytes(b);
using (var outFile = new FileStream(outputFilePath, FileMode.Create))
{
outFile.Write(b, 0, b.Length);
}