« first day (409 days earlier)      last day (4554 days later) » 

7:00 PM
@aaronburns The thing I learned about engineers, is that they can't hold their liquor.
 
@EtiennedeMartel I am. I always wear a long raincoat and hood.
 
@sbi Yes, but I have to get back to work again. Maybe some other time.
 
Also , in the area I live you will not be getting an interview with a resume that says I wrote such and such.... you have to start somewhere
 
@StackedCrooked Try not washing beforehand.
 
sbi
7:00 PM
@BenVoigt LOL! I'm at home and just got the kids to bed, so I'm off the hook now. :)
 
@EtiennedeMartel The natural smell attracts them subconsciously right?
 
@StackedCrooked And repels policemen.
 
@EtiennedeMartel Ah yes.
 
0
Q: Possible Buffer Overrun

XoorathI'm having an infuriating issue here where I'm crashing on malloc/calloc/strdup and I'm assuming currently that it's because of a buffer over run somewhere. I'm finding this very difficult to find and I was wondering if any of you can offer me a hand. I'll post code snippets here, and link to f...

This guy doesn't write braces.
 
Maybe it's against his religion.
 
@StackedCrooked i don't think that's fair. i think in the us, people are much too focused on revenge. it doesn't matter who pays, but someone's gotta pay
 
Woop di doo
 
@AlfPSteinbach I agree.
 
wot was he charged with?
 
7:08 PM
4 years
 
@AlfPSteinbach Lost your eyes?
 
Yes
I just found them
 
So… selling marijuana is a worse offense than prescribing a fatal overdose of anesthetic?
 
You don't get maximum sentence from selling marijuana, do you?
 
@aaronburns Isaac Newton :D
 
7:11 PM
The medication was very dangerous and should only be administered by a doctor or nurse. The doctor gave it and allowed him to administer it himself. At least that's what I read in reddit comments.
 
Ready the optimizers:
 
oh right
yawza
 
0
Q: Is x>= 0 more efficient than x > -1?

Gerard DiazDoing a comparison in c++ with an int is x >= 0 more efficient than x> -1?

 
Silly benchmarks!
 
Well, if that Boolean value controls a hefty operation, and x is unsigned, it's far less efficient!
 
7:12 PM
@potatoswatter ?issac newton? i don't get it..... I have a dumbfounded look on my face.
 
Added a comment.
 
@Potatoswatter Of course! Because something.
@RMartinhoFernandes Failed at linking.
 
No, I didn't!
 
@aaronburns Well, who set down pretty much all the physics equations that matter to any game engine?
 
Stop spreading lies. I have the power to alter history.
 
7:14 PM
@Potatoswatter Cucumber vacuum cleaner rock ice cream jellyfish
 
Schroedinger, duh.
 
@Potatoswatter But surely game engines nowadays use complicated relativistic and quantum physics!!
 
Quantum Crayon Deluxe?
 
You won. And you lost.
 
7:15 PM
FILE_NOT_FOUND
 
@potatoswatter , well yeah but like someone else said its about implementation.... also its about geting more depth or focus... I think thats why I like the hard ware aspect of it.
 
@RMartinhoFernandes I want to play that game… bah, my Feynmann book is still collecting dust. And after I dragged it overseas.
 
0
A: Is x>= 0 more efficient than x > -1?

Alf P. SteinbachThe last time I answered such a question I just wrote "measure", and filled out with periods until SO accepted it. That answer was downvoted 3 times in a few minutes, and deleted (along with at least one other answer of the question) by an SO moderator. Still, there is no alternative to measuri...

 
@aaronburns Hardware aspect of gaming… I programmed Tetris in digital logic implementable in TTL… the display board was TTL, I inhaled too much solder and got some brain damage, no kidding…
 
Good job with the fillers.
> I dont' want to optimize any code is just for fun – Gerard Diaz 2 mins ago
unsigned x; x > -1; This promotes x to signed, or -1 to unsigned?
 
7:22 PM
the latter, unfortunately
and the really annoying thing is that AFAIK original C had the opposite kind of rule
i am not sure at what point it changed over to the do-the-most-unexpected-and-damaging-thing
 
I think they're both nasty.
 
Implicit conversions are evil
 
ok
break over: time to re-attack my problem
 
sbi
Article: Is My Passion for Spotify Destroying the Artists I Love? http://bit.ly/uJrCB5
 
ah
 
7:29 PM
How do you search the internet for an explanation of the notl CPU instruction?
 
maybe I'll just go back to having a break :P
 
@KerrekSB Google!
 
@RMartinhoFernandes How??
not seems to be a reserved google term
How do you escape stuff on Google?
 
7:31 PM
@RMartinhoFernandes Thanks (how did you dig that up so quick?), but that's not solving my problem of using Google for short words that are also logical operators
 
@KerrekSB Quotes.
"notl"
 
Even +"notl" gives me pages that don't include the term
 
But that will give you irrelevant stuff.
So I added ia32.
 
@RMartinhoFernandes Adding ia32 seems like a very good idea
 
I'm skilled at coaxing search engines to produce the results I want :)
Arrrgh, this SOPA banner is annoying.
Stupid Merkins.
 
7:39 PM
> The + operator has been replaced. To search for an exact word or phrase, use double quotation marks.
From Google help.
 
Google has help?
 
Also just notl x86 finds relevant stuff.
 
@RMartinhoFernandes Stylebot - A CSS Injector Chrome Extension that basically lets you edit CSS I mainly use it to hide ads and fix broken/crappy websites
 
Also, it's better to search CPU manual, anyway.
 
@KianMayne Thanks. I use FF. And I already have Stylish.
 
7:41 PM
@RMartinhoFernandes Use it then ;P
 
x86 has no notl in any case.
 
@CatPlusPlus D'oh. Thanks. I thought + would guarantee the term's presence... that was a useful feature
 
@EtiennedeMartel Are there any AAA games that are actually written in C++ (as opposed to C with classes)?
 
@CatPlusPlus I don't have any of those.
 
7:42 PM
@KianMayne I will probably forget to restore it after, and I don't want to miss actually important messages, like "SO is going down in a couple minutes".
 
@FredOverflow Does EA count as a maker of AAA games?
 
I only need to pop Launchy and type IA32 to get it.
 
@FredOverflow Depends.
 
You don't need AMD one, unless you're writing an OS or using AMD extensions.
 
7:43 PM
@RMartinhoFernandes I did it when the RIP Steve Jobs thing was there - not disrespecting him but I didn't need to see it EVERYWHERE
 
@CatPlusPlus Ah, - still exists. I don't check the search FAQ frequently, so I'm not keeping up with changes.
@CatPlusPlus Ah, they iz free?
 
@KerrekSB I don't even know what AAA means exactly. Is it some form of American quality standard?
 
Of course they are.
@KerrekSB Yes.
 
@FredOverflow Big budget titles. As opposed to indie games.
 
@FredOverflow It just means "top-quality", i.e. expected high sales, prime shelf space, high price, etc.
 
7:44 PM
@FredOverflow American Alcoholics Anonymous.
 
Lots of marketing
 
Non-casual, big budget, massive hype, major studios.
 
200-300 man teams, 2-3 years development time.
 
@FredOverflow AAA batteries are batteries that are smaller than AA batteries.
 
And expected to be serious, i.e. glaring flaws are not acceptable
 
7:45 PM
lol
 
@KerrekSB Yeah, right.
 
Every template you write slows down the build. Think before you do it.
 
Did you ever play with electrical circuits as a kid? (I mean the battery and lamp thing, not necessarily the dangerous 220 Volt experiments.)
 
Look, it's just like C!
-3
Q: Haskell OpenGL render Object

vxanicamodule Main where import Graphics.Rendering.OpenGL.GL import Graphics.UI.GLUT.Objects import Graphics.UI.GLUT import Graphics.UI.GLUT.Initialization import Data.IORef myInit :: IO () myInit = do clearColor $= (Color4 0.0 0.0 0.0 0.0) matrixMode $= Projection loadIdentity ...

 
Imperative Haskell?
 
7:46 PM
Well, major problems would cause a big backlash from the community. In a lesser game it might just be considered normal
 
Yeah, right.
 
@EtiennedeMartel That's the power of monads.
 
Every single AAA game had major flaws on launch.
For years.
 
@CatPlusPlus Hm
 
@CatPlusPlus Flaws that weren't addressed with patches?
 
7:48 PM
They're rushed releases, almost all the time.
 
Most FFF games had major flaws as well.
 
What about XXX games?
 
@KerrekSB They were, but that's not the point.
 
(I'm channeling Tony.)
 
Well, sometimes they are, sometimes they're not.
 
7:48 PM
At least there's a certain responsibility a studio has for its big titles. A $20 games collection from a Walgreens bin doesn't come with the same consumer expectations.
 
@RMartinhoFernandes Lol
 
@CatPlusPlus Well... having bugs is probably inevitable with the given level of complexity. Whether they're being dealt with is the more important matter.
 
@CatPlusPlus I heard Skyward Sword is the shit.
 
A shame, yes, but probably not feasible to improve. And how many games had truly dealbreaking bugs?
 
x86 instruction set can be funny at times. PUNPCKHBW/PUNPCKHWD/PUNPCKHDQ/PUNPCKHQDQ — Unpack High Data
 
7:50 PM
Ha, in my times, we didn't need no stinkin' patches.
 
Sounds like beatbox.
 
Blades of Steel was perfect.
 
@RMartinhoFernandes Nor 200 programmers and 3 years development!
 
@KerrekSB You're telling me they have more resources and produce more bugs?
Wait, that actually makes sense.
 
7:52 PM
@RMartinhoFernandes Yes
"Code is a liability", says Stepanov. "You should be charged for every line of code you write."
 
@RMartinhoFernandes They write more code. With bigger teams.
 
@RMartinhoFernandes What is this? Sounds interesting.
 
That's a recipe for clusterfucks
 
And it's of the same quality as 10 years ago.
 
7:54 PM
Oh, you.
 
@KerrekSB Less code can be achieve by using the preprocessor more intensively. Muahahahah!
 
@StackedCrooked You would be surprised with how many #defines I saw at Ubisoft.
 
@KerrekSB When you feel bad about bad code you wrote, you buy Code Offsets. The money goes to open-source projects, I believe.
 
They even had their own custom preprocessor.
 
@EtiennedeMartel That's not necessarily bad. As long as it's not just a strawberry cpp.
 
7:55 PM
One day I'll write my own preprocessor.
Generating C++ with Python, hell yeah.
 
@RMartinhoFernandes Haha. This should be employer-driven. I.e. your employer should deduct the offset from your salary.
 
@RMartinhoFernandes It generated C++ and C# from a strange C++/C# hybrid language
 
@EtiennedeMartel I did an internship at Larian, a small Belgian game company. And I soon learned that game development is not compatible with high quality coding standards.
 
@CatPlusPlus The "C Python Producer"?
@StackedCrooked What about EASTL?
 
Only in the game industry will you hear "the STL is slow".
 
7:57 PM
0
Q: enforcing same type on multiple templates

LowTechGeekI have several small classes that are all peers of each other declared and defined in the same file. A lot of these classes share information. Currently, the type of the shared information is hard-coded for initial development and testing purposes, but I want to templatize (verb form?) the classe...

 
What's the boost lib called that allows you to check types of template args ?
 
@KerrekSB I don't know if EASTL is good. Could be. (The exception confirms the rule, lol).
 
@TonyTheLion Boost.CheckTemplateArgs?
Joking.
 
@TonyTheLion You mean ConceptCheck?
 
7:57 PM
@CatPlusPlus yea that's the one
 
@StackedCrooked I'm not sure either, but it looks like a lot of clever people worked on writing a code base for a lot of projects, so one may be optimistic.
 
Back to that silly question: lol @ I want to use templates, but with the same type everywhere.
 
@TonyTheLion enable_if also provides this, kind of...
 
7:58 PM
@KerrekSB At least their motivations for writing it (well, some of them) are not based on superstition.
 
Xeo
phew
I finally got my little brother into bed
 
@TonyTheLion They don't want concepts, though.
They want to write template and use only one particular specialisation of it.
 
@Xeo I read that as: "I finally got in bed ...". Never mind.
 
@CatPlusPlus Templates are cool!
 
Which defeats the point of using template in the first place.
 

« first day (409 days earlier)      last day (4554 days later) »