« first day (795 days earlier)      last day (4158 days later) » 

9:00 PM
@Crowz Thank you! Don't forget to tip your waitress. I'll be here all week.
 
Ell
Heh I bet this might sound alarm bells for some of you: GetInstances()
 
@Collin No, just habit.
 
user1182183
well I'm going to sleep, byee
 
I wonder how that stylistically will play out, how style guides will start to say things about when to use brace vs regular(?) initialization
 
9:06 PM
@Ell Is it a member of a Manager?
 
Or a factory?
 
@sehe Group 0 is the whole match. /cc @Ell
 
@Collin The robot wants to have sex with braces.
 
@EtiennedeMartel Braces do have nice curves
 
9:07 PM
@R.MartinhoFernandes Oh damn. I mis-edited then. I wrote Groups[1] on first impulse
 
Ell
@Collin It enumerates through all windows in order to get the hWnd's of instances of a particular application
but now I need to fiddle with void pointers in c#, mysterious business :O
 
@GamErix get well!
@Ell That's usually IntPtr?
 
@R.MartinhoFernandes <3
 
Ell
@sehe Yeah
but what I want to do
 
@Collin I say brace for a set of "elements" to initialize from(1 counts), "regular" for all other constructors.
 
Ell
9:10 PM
is enumerate through all windows recursively and add to a list<string> the windows that match - the problem is passing that list to the callback function
I think the easiest was it to turn it from recursive to iterative?
ahh bringing in the shopping, brb
 
@MooingDuck Yeah, that's what I kind of assumed makes sense, but I've seen them just be used as the default initializer type in a few different posts here and there
Could be "cool new feature!" syndrome
 
@Collin a lot of people are attempting to use them exclusively, which leads to problems. A lot of people believe you can use them exclusively, and keep filing SO questions when they discover that "bug".
 
I use them as defaults because I really dislike narrowing conversions.
 
^ I live dangerously
 
user142019
9:16 PM
hmm
 
@R.MartinhoFernandes Vat.
 
That's from 1923.
There is also this one: en.wikipedia.org/wiki/Richard_Head
 
Richard H. "Dick" Black (born May 15, 1944) is an American politician who is a member of the Virginia Senate. He is a member of the Republican Party. Black was previously a member of the Virginia House of Delegates. References External links *[http://www.richmondsunlight.com/legislator/rhblack/ Senator Dick Black (R-Leesburg)] at Richmond Sunlight
 
@yetihehe repost. As in, scroll up
 
And by me! What a coincidence!
 
9:26 PM
He reposted his own content
 
That's spam
 
Ok, sorry then
 
Isn't everything in here spam?
5
 
@DeadMG I was originally hired to port existing java code to C#. They abandoned that project before they actually hired me, so I've spent the last three years keeping the Java from falling down.
 
@CatPlusPlus Hahahahaha.
 
9:34 PM
Why do I keep getting shitty random invites from Steam groups
 
@MooingDuck ouch
 
@FredOverflow oh god, it's an 1hr long
 
plus 3 more minutes and 23 seconds
 
@EtiennedeMartel they suck so much
 
9:40 PM
What kind of conversation were you expecting?
Bjarne: "Hey."
Others: "Hey."
Bjarne: "uhhh.. bye"
 
@FredOverflow I guess I'll go to bed with iPad and watch it there.
 
@EtiennedeMartel lol, those guys are such a joke.
 
@Collin -1 too little boost.
 
hah
 
@BartekBanachewicz There's not much to watch except some slides.
 
9:40 PM
@FredOverflow using watch = listen;
 
@R.MartinhoFernandes The lead on WarZ? He also was the lead on Big Rigs.
 
But I don't want to yet, my new chair is so comfy (at least compared to the old one)
 
I guess you can't teach an old dog new tricks. Such as not sucking, in this case.
 
Hey people
 
@EtiennedeMartel Much of the game instead centers on the player racing their truck against fellow drivers to the finish line; however, the player's computer-controlled opponent vehicles have no AI and never move from the starting position. In addition, due to a lack of collision detection, there are no obstacles to negotiate within the game - seems legit
@javac oh hey... java
 
9:43 PM
lol. don't worry. I quit java a long time ago
 
@BartekBanachewicz Run away before it sees you!
 
Infact I'm learning C++
 
^ anyone care to explain?
 
@BartekBanachewicz lololololol
 
@javac Like terminator was learning medicine?
 
9:44 PM
I learned about pointers today.
 
@javac That's um... very nice, little fella.
 
sbi
Impressive.
 
@javac pointers?
 
yeah
 
@javac never heard of 'em
 
9:45 PM
They are pretty cool
 
@kbok there's an explanation somewhere in this thread: forums.xkcd.com/viewtopic.php?f=7&t=99142
 
@AndreiTita Thanks!
 
Semester is OVER. Possibly the easiest exam I've ever had in Uni so far.
 
I didn't get it either when I saw it.
 
@sbi Indeed. I feared that the pages would be skewed.
 
9:46 PM
well that was not nearly as fun as I was hoping
 
@sbi Wouldn't it be cool if we could do that with our minds?
 
sbi
@BartekBanachewicz That's what the light lines are for the thing lays over the pages: capture their 3d-ness in order to deskew them.
@Rapptz Looks at the robot.
 
@javac I don't like them personally. They sometimes hide under my bed.
@sbi The results are great.
 
@R.MartinhoFernandes Awww how cute... he acts like he's clueless. Like that could ever happen.
 
9:49 PM
Why does everyone keep saying I'm cute.
 
@R.MartinhoFernandes Who wouldn't want to squeeze those chubby iron cheeks?
 
sbi
@R.MartinhoFernandes Wrong question. Right question would have been: Why do only the geeks in the chat say I am cute?
 
@R.MartinhoFernandes Here's a bonus There are technically no obstacles for the player to negotiate in Big Rigs, as the truck may freely be driven on and off roads without any loss of traction, up or down 90° slopes with no loss or gain of speed, through structures such as buildings and trees, simply falling right through bridges, and even out of the boundaries of the map into an endless grey void
 
@sbi It's not only the geeks in the chat.
 
sbi
@FredOverflow OMG, this is long. Can you give an overview over the content?
 
9:51 PM
@sbi Bjarne spoke.
 
sbi
@R.MartinhoFernandes You wish. :)
 
:)
 
Also, Friday is the 21st, not the 20th. chat.stackoverflow.com/transcript/10?m=6769899#6769899
@sbi Are you disputing my memory?
Also, you were present in one of these occasions when someone called me "cute".
 
sbi
@Rapptz I am not part of that religion. I don't worship him. I am not hanging on every word he drops. I only listen when I'm interested.
 
9:52 PM
Not that I'd expect you to remember, but...
@Rapptz The crappy chat search undermines your point.
 
sbi
@R.MartinhoFernandes Didn't you just write "I forgot what I wanted to say" an hour or two ago?
Not that I'd expect you to remember, though.
 
Oh well Navarro's video review has no narration whatsoever; it consists of in-game footage interspersed with wider shots showing Navarro staring in disbelief, crying, beating his head on a desk and finally exiting the building and lying down in the middle of an alley in disgust.
 
For once crappy chat search works in my favour.
 
@R.MartinhoFernandes There are only geeks in chat. Well, and random lost souls
 
Like me after trying to compile wxWidgets
 
9:54 PM
lol
 
@R.MartinhoFernandes How so?
 
sbi
@R.MartinhoFernandes Human intelligence overcomes those obstacles. That was a point well made.
 
@sehe Look at search query, look at search results, ???, profit
 
sbi
@sehe In the very message he posted before that. Darn.
 
@Borgleader Sorry missed the context
@sbi "Darn"? Really
December must be stressful times
 
sbi
9:58 PM
@FredOverflow Are you kidding?! This is just audio! And noticeable it's audio over telephone! That's really bad. Why would anyone listen to that for one hour?!
 
@R.MartinhoFernandes oh did you not know about that game? It also had no top speed in reverse. As long as you held the reverse button you'd accelerate.
 
@Rapptz Is that where they skip the 9 episodes of Nappa "charging up" ?
 
@sbi It's Bjarne, and it's new. That's good enough for me.
 
sbi
10:00 PM
@Fred is a groupie.
 
@Borgleader oh man this is hilarious
 
@sbi yeah. I reckoned the same: I listened to 30seconds of crackling confused greetings and awkward telephone protocol and closed it
 
@Rapptz If you wanna laugh watch the Star Wars holiday special
 
@sehe I'm not sure whether to be proud or ashamed that I lasted what must have been at least a whole minute, maybe even close to two.
 
0
Q: emplacing a POD

FredOverflowIs emplacement possible with PODs? It does not seem to work in Visual Studio 2012: struct X { int a; int b; }; void whatever() { std::vector<X> xs; X x = {1, 2}; // okay xs.push_back(x); // okay xs.emplace_back(x); //error C2661: 'X::X': Keine überla...

 
10:07 PM
> Keine überladene Funktion akzeptiert 2 Argumente
 
> Please do not play this game. We cannot stress this enough.
@FredOverflow You seem to be talking about aggregates.
 
Gotta love MSVC and its translated error messages.
 
@EtiennedeMartel I translated into English by hand :)
 
@MooingDuck Oh man. This thing is... WTF.
> Furthermore, bridges evidently don't actually exist, despite the fact that you can see them
 
@R.MartinhoFernandes Yeah, you go right through them.
 
10:17 PM
@sbi I just found this gem @ 33:17
> One of the really nice things about Java, probably the one thing I really appreciate, is the fact that they used the keyword interface to describe interfaces, what in C++ are pure abstract classes, and I wish I'd had that idea. It would have made teaching much easier. [...] I think calling a pure abstract class an interface was a stroke of genius [...]
2
 
> Stellar Stone put out a patch for Big Rigs that is already included in newer copies. With the patch installed your opponent actually moves, there are sound effects, and the broken Nightride track is replaced with a mirror version of the first track that doesn't crash the game. The grammatically questionable but entertaining "You're Winner!" message was also changed to read "You Win!"
lol, they bothered fixing it.
 
@R.MartinhoFernandes only partially
 
Essentially, they shipped the game in its pre-alpha stage.
It appears shipping unfinished games in order to scam people of their money is standard practice for Sergey Titov.
 
> Lol were the programmers masturbating while writing the games code?
 
10:22 PM
@EtiennedeMartel that's a good video
 
@R.MartinhoFernandes Usually yes, but we don't like that to be known outside the game developer community.
 
> If you want to expand your mind and wisdom, buy this game. It will broaden your horizons and teach you to view the world in profound new ways.
 
10:31 PM
> The musical score is a tremendously wonderful rendition of John Cage's "4:33", and brings tears to the eyes.
 
@EtiennedeMartel that's not pre-alpha. That's doomed
@R.MartinhoFernandes haha
 
It seems that sometimes you can win before the map finishes loading.
 
@R.MartinhoFernandes <nitpicking> "4:33" is not really silent. You still hear the background noises.</nitpicking>
 
user142019
@EtiennedeMartel I like this one even better: gamespot.com/big-rigs-over-the-road-racing/videos/….
 
user142019
A friend of mine once downloaded and played the game.
 
10:35 PM
16 mins ago, by Etienne de Martel
 
user142019
He thought it was terrible.
 
It's not even playable.
The only reason we're considering this to be a game is because it was actually shipped.
 
My assignment for CG class was a better game than this.
 
@R.MartinhoFernandes 3/5 stars? What?
 
@MooingDuck There are lots of 5-star parody reviews.
 
10:42 PM
I duno -- I kind of liked this one:
 
> Unfortunately, this UMG music-content is not available in Germany, because GEMA has not granted the respective music publishing rights.
FFS
I cannot even watch Big Rigs reviews? Seriously?
 
Ah, Germany.
Land of the prudes.
 
@R.MartinhoFernandes Oh, it's set to "Teenage Wasteland" (The Who), so you'd have to pay 190 billion euros per hour to watch the truck hit 190 billion miles per hour in reverse...
 
Xeo
@R.MartinhoFernandes Don't'cha love the GEMA?
 
Found a video after the patch:
Warning: the sound is awful.
The opponent now moves but... stops right before the finish line so you can... win?
 
10:55 PM
 
> better than COD
Ah, haters...
 
cod |käd|(also codfish |ˈkädËŒfiSH|)
noun ( pl. same )
a large marine fish with a small barbel on the chin.
I probably don't like cod either.
 
@StackedCrooked Actually, cod is good.
 
It is?
 
Call of Duty, however, isn't. Well, it's good, but repetitive, and the online matches are all filled with douchebags.
 
11:01 PM
Ah, I see it's kabeljauw in Dutch. Indeed, that's not bad.
 
user142019
I liked Modern Warfare 2. Black Ops, not so much.
 
@Zoidberg'-- What? It was the exact same thing. Except they added game modes ripped straight from CS.
 
user142019
And online playing was extremely buggy on PlayStation 3 because Microsoft paid Activitision.
 
@Zoidberg'-- You got a source?
 
user142019
I couldn't even join a private lobby.
 
user142019
11:07 PM
@EtiennedeMartel I think the fact that in most ads the PlayStation logo wasn't even mentioned says enough.
 
@Zoidberg'-- So... you got no proof?
 
user142019
I'm almost sure of it.
 
user142019
I can't figure any other reason they would make PS3 version so crappy.
 
Because they sell more on the 360, so they figured they might as well spend more development time on that version?
(Their target audience, i.e. male teenagers is more likely to own a 360 than a PS3)
I tried going back to MW2 a few months back. Played three games, got bored.
 
I haven't played CoD since being somewhat disappointed in CoD5
Played CoD4 a lot when it came out but a bit after it died out, loved that game.
 
user142019
11:14 PM
Microsoft also has certain contracts with Activision regarding getting DLCs first. prnewswire.com/news-releases/…
 
DLC first != Buggy online
 
user142019
@Rapptz I never said that.
 
7 mins ago, by Zoidberg'--
And online playing was extremely buggy on PlayStation 3 because Microsoft paid Activitision.
^_~
 
user142019
That's irrelevant to the DLC, you fool.
 
@Rapptz Well, he didn't say that, even though he meant it.
(Ha)
 
user142019
11:15 PM
Uh no.
 
CoD4 will always be the best CoD (of the online ones anyway) for me.
:(
 
@R.MartinhoFernandes lol at game load time
 
@Rapptz COD4 is the only one Yahtzee liked. There you go.
 
You mean that annoying guy from Zero Punctuation?
TIL Yahtzee has actually made games.
 
@Rapptz How come he's annoying?
Because he blasts the games you like?
 
11:26 PM
Nah.
Couldn't care less of other's opinions of games I "like"
 
He sends his reviews personally to Rapptz, unsolicited. Terrible annoyance.
 
@LucDanton I know right, what a complete douchebag.
@EtiennedeMartel Of the 12 or so videos I've seen the format is predictable, he doesn't really seem to like anything, and the few that I've seen that he does actually like it ended up being the Portal games.
He seems to completely discredit consoles from even existing and has this mindset of the "PC master race"
 
@Rapptz I think you missed that point.
See the Witcher 2 review for more details.
Actually, I think you missed a very crucial detail about that guy: he's incredibly sarcastic, and everything he says has to be taken with a grain of salt.
 
Ell
aghh gawd I hope I don't have the norrovirus
 
11:30 PM
@Rapptz He liked a few games.
 
@EtiennedeMartel I know he's being sarcastic.
 
Spec Ops, The Line
 
Also XCOM and FC3.
 
he also didn't rip into, what was it... Far Cry 3
and indeed, XCom
 
And Dishonored.
He liked BioShock, and DOOM 3.
 
11:31 PM
I don't know if he's less annoying now, granted the last video I saw from the guy if you didn't infer from the portal reference was hell, around the time Portal 2 came out.
So cool, he's liked a few games since then. Good on him.
 
I usually agree with him, but not always; I greatly enjoyed Dead Space and its sequel, for instance.
So, what we're saying is: before you judge, at least watch what he does.
 
@EtiennedeMartel according to wikipeida: Portal, Psychonauts, Silent Hill 2, Saints Row 2, Batman: Arkham Asylum, Just Cause 2, Portal 2, BioShock, and Half-Life.
 
Are you serious? I've watched at least a dozen videos of him.
 
@MooingDuck That's seems to be old.
@Rapptz He's made more than 200, IIRC.
 
Why would I waste my time watching all 200 videos of him to get an opinion of him?
 
11:33 PM
Because it's fun?
But alright, I get it, it's not your style of humor.
 
I wanted to get a "Pants on head retarded" shirt
 
(I rarely watch Yahtzee for his opinion on games because of how caustic he is)
 
Oh his personal wikipedia page it also lists that he liked Silent Hill 2, Spider-Man 2, Prince of Persia: The Sands of Time and Fantasy World Dizzy
 
hahaha
I'm out, gn
 
11:34 PM
@LuchianGrigore no drive-by redditing ;)
 
hey guys. is it possible to determine the signature of a lambda type at compile time?
 
@Borgleader That's 9gag.
 
@samwise yes
 
@EtiennedeMartel Possibly, but I saw the image on reddit
 
@Borgleader (See that orange bar at the bottom?)
 
11:36 PM
@Borgleader 9gag reposts from reddit son.
 
@Rapptz I know, I've been told so many damn times I actually switched to reddit
 
@MooingDuck, can you elaborate? there doesn't to seem much in a lambda type.
 
@samwise Deduce the type from &T::operator().
 
@DeadMG Can I deduce from that that a lambda is some sort of anonymous functor?
 
@Borgleader Yes. That's it's definition.
 
11:39 PM
Ah ok, ty
 
@DeadMG and how would you extract the signature from the T::operator() ?
 
@samwise same way as any other function/functionoid
@samwise depends on what you want to do with it
 
@MooingDuck What I want to do is use the lambda argument types to parameterize the class that is accepting the lambda. I do not know a technique to extract argument types of a method at compile time.
 
If Functor is your functor type, then something like template<typename... T> ResultOf<Functor&(T...)> operator()(T&&... t); doesn't care what arguments a Functor takes.
 
@LucDanton I think you have to use auto and the trailing return thing for that don't you? To deduce the types?
 
11:52 PM
what is trailing where?
Give me one reason why.
 
Is Visual Studio good for C++? Can it be used for C?
 
@LucDanton nevermind
 
@Crowz It is good for C++. It can be used for C
 
^ This
 
Ell
Hmm I'm stuck on whether or not I need to copy in c# Things get so confusing without pointer/reference syntax >.<
 
11:54 PM
@Crowz depends on definition for good. I think it's good for C++. It's C compatability is less than stellar, but still works good I hear.
 
I'm having some trouble getting it to into C
 
@Crowz there's not much to the language, it's pretty straightforward.
 
@Ell Don't. Work with the language. Write some mixed mode code if you really have to. But 99% of the time just passing references, and perhaps storing strings in centrally owned List<T> will do.
 
Nah I mean Visual Studio, getting Visual Studio to into C
 
@Crowz Visual Studio is the least compliant of the major C++ compilers with respect to C++.
C++ 11 I should say.
 
11:56 PM
@samwise of the big three, yes. There's also many many that are worse.
 
right.
 
@Crowz getting Visual Studio to "into C"?
 
@Crowz What the hell in the fuck? o.o
 
Ell
@sehe Well it's mixing with winapi. If you remember, I'm going through each window and seeing if the title matches a regex, then placing it in a dictionary, but because I'm doing this recursively (and I can't change the function signature - it's a callback for the winapi function EnumChildWindows) then I need to either write to a static dictionary and then return that or somehow work with void* in c# with the lParam
 
I want to write and compile in C
I also want to be queen of the underworld but that's a different story
 
Xeo
11:59 PM
@Ell Do you need to change what you got without it reflecting on the original source? Get a copy. Do you want your thing not to get changed when the original source is changed? Get a copy. Otherwise, get a reference, since stuff is garbage collected.
 
@Ell I'd say you should be able to get the CLR to 'magically' marshal those types. Define the WINAPI structs analogs, pass arrays of the stuff etc. Sadly, I'm not experienced there, but Marc Gravel, Henk Holtermann and the rest of the .NET gurus on SO certainly do. Just ask there.
@Xeo Native. API. Interop.
 
@Crowz so type in some C and compile it. Visual Studio does that fine.
 
Ell
@sehe Right okay, I will google then ask :)
 
Xeo
@sehe Oh, sorry, didn't catch the context.
 

« first day (795 days earlier)      last day (4158 days later) »