« first day (777 days earlier)      last day (4154 days later) » 

4:00 AM
The number of default gravatars in this room is too damn high...
 
4:11 AM
The number of backslashes in my shell script is too damn high.
I want to put two files in one POST request using '\t' as a separator. I think I achieved this using this command:
TAB="$(printf '\t')" echo "$(printf %q $(cat $1))${TAB}$(printf %q $(cat $2))"
But I can't seem to get the decoding part right...
 
heh
 
4:35 AM
I want to store different types of pointer into some array, what should be its type?
void* ?
 
This is weird. This program gives different output in edit-view than archive view. The final line is Dec: abc def in edit-view and Dec: abc\tdef in archive view.
I think my love for bash ends here.
@vidit void*, union, boost::variant, boost::any, pointer to common base class, ... You have several options.
However, if you're gonna use void* then I wonder if you will later still know what type to cast them back to.
 
If I want to use void*, I need to cast all of them... otherwise it gives a warning.
the type actually doesn't matter, I jst want their address..
 
You can use static_cast<void*>(ptr). However, cast to void* should work implicitly without warning IIRC.
 
I'm using C..
I know this is the wrong chat room.
 
Just played 2 hours of TF2... owned so badly as medic.
 
4:42 AM
I used to play Age of Empires II intensely back when I was a slacking student :P
 
is there any way to retain the type as well?
 
12 v 12 , and I finished the game with most points. lol
Never done so well before.
 
@vidit Don't convert to void*. You can't have your cake and eat it too.
 
lol.. actually type is not really required, but it would be good if I can
 
@LucDanton You can't eat your cake? :(
 
4:45 AM
@StackedCrooked You can, but then you can't have it.
 
What a quandary.
 
@Mysticial Playing as medic is easy to farm points.
Especially if there are heavies or soldiers in the team.
 
@Rapptz You get killed a lot though.
 
Doesn't deduct points
 
The other team basically went all spy, and I was still killing them with saws.
 
4:46 AM
probably new players
 
We had a couple of really good soldiers. So every time I kritz-charged them.
It was hilarious.
 
I do hate how all the new players go all spies..
 
4 or 5 kills each time.
I tried playing spy a few times.
never got good at it
I'm still best as heavy.
Recently started playing pyro... not that great at it yet.
I suck at sniper and spy.
 
Aw lame..
The video I voted for the Saxxy lost..
but the winner is a good video too
 
During the full moon halloween celebrations, I got enough items actually dress up some of my classes.
They gave out so many items during those 3 weeks.
 
4:52 AM
 
I've been looking for a strange GL, but they're all like 3 freaking keys...
 
lost..
 
@StackedCrooked Isn't this really simple with division of zero?
Looking at the answers, that's all there is actually
 
5:00 AM
@Rapptz That's the first thing I thought about as well.
If it's too easy for you then try to find 10 different solutions.
 
Also I feel kinda bad that code golf still has that community wiki trigger
 
A true hero would be able to invoke a race condition 1/6 times.
 
5:18 AM
I cant get used to my new rep. Took me 19 days to answer a question -.-;
 
I haven't answered a question since November 8
Huh, that's surprising.
Did ThePhD die. If so RIP.
 
5:36 AM
It was only a brief encounter in the end.
 
Happy World AIDS Day!
 
@Rapptz huh!?
 
@MarkGarcia Is that your favorite day?
 
@Borgleader haven't seen him all day
 
5:37 AM
@Borgleader Pay no attention to the rep behind the curtain!
 
@StackedCrooked It's some special day for all of us.
 
@MarkGarcia I was responding to @Rapptz, not you :P
 
@Borgleader Sooooooory.
 
Awareness of AIDS?
Seriously?
 
@MarkGarcia You messed up badly there. I hope you can make up for it.
 
5:38 AM
There are people who don't know what AIDS is? Probably one of the most joked about pandemics of all time?
 
@Rapptz And they declared AIDS as a pandemic.
Still, why a red ribbon?
 
Gonna take a wild guess.
Blood is one of the ways you can get HIV. Blood is red, red ribbon.
 
In the Philippines, yellow ribbon symbolizes freedom.
 
Apparently red represents solidarity
 
@Rapptz That we would all have AIDS.
 
5:41 AM
huh
 
@Rapptz solidarity.
one for all. all for one.
 
I guess.
 
@MarkGarcia Because red is the color of love and valentine?
 
@StackedCrooked LOL. I'll go for that!
 
6:00 AM
damn it got rolled back just as I posted it
 
@Mysticial What is it about?
 
Some guy is pissed off that his question got closed.
 
did he use all caps and bold
 
@Rapptz worse
 
I was looking for that question where the OP edited out his question
called us all retarded children in bold and all caps for downvoting him
 
6:07 AM
Well, here's the revisions
 
that's worse?
 
@Rapptz Maximum size font.
That's rare.
 
that's pretty tame compared to the one I'm referring to
 
The guy is complaining on meta about it too and is getting humiliated there as well.
 
6:09 AM
haha, that's awesome
oh right, now I remember too
 
I'm looking through my downvote history now to see it
 
You won't, because it's deleted.
 
Ah really? man
Flags show me the deleted things..
 
oh, flags yes
but not on your votes list
 
I've downvoted 73 things.
Only 25 of them aren't deleted.
 
6:11 AM
haha
 
Talk about deletion overkill :|
I should flag more often.
 
-5
Q: what structure can you simulate recursion iteratively

H.A.I think it would be a stack, but could it be a skip list, bst, or queue? it makes sense for it to be a stack since we can keep pushing onto it and popping off. But would a queue be better since it adds them in the order they come in?

This guy knows a LOT of languages.
 
bit of a tag overkill...
 
Did you just list every language you know? — Borgleader 5 mins ago
 
@Borgleader Hehe. +1 for that.
 
6:15 AM
0% acceptance rate, 4 rep, tag overflow --> Recipe for downvote
 
retagged it for the fun of it
 
damn... VS2012 doesn't optimize any better than VS2010.
Fail
 
@Mysticial but dem opening times and compile times
 
@Rapptz Now my comment isn't funny :(
 
@Rapptz I haven't noticed much of an improvement in the compile times.
 
6:16 AM
I wanted to add stupid tags but meh
Can't really troll here like I can other places
@Mysticial Well what have you tried to compile thus far?
 
It looks like VS2012 optimizer is actually worse than the one in VS2010.
@Rapptz y-cruncher
 
how many LOC is that?
 
gimme a sec to run my line-counting script.
it's more than 100k
 
@Mysticial y u no run cloc.sourceforge.net
 
284,789, but let me remove all the inactive files
 
6:18 AM
seriously text editors count it automatically now a days
lol
 
Currently 222,788 active lines in y-cruncher v0.6.1.
 
not bad
 
And 7,668,008 bytes of code.
And there's still a lot of missing features.
 
including a proper UI ;)
 
oh wait, I missed a few more inactive files.
 
6:23 AM
I'm making a GUI library and I named it DUI
^^
 
loollll
make it not suck plz :)
 
Oh wait, no, VS2012 isn't worse than VS2010.
 
Damn. Best question's just closed. Damn.
 
405.825 vs. 400.783
Within margin of error.
 
@Borgleader it's made by me. Of course it's going to suck.
 
6:25 AM
Lines: 216,514
Bytes: 7,469,402
Not much less, the files I missed weren't big.
 
0
Q: How does this function delete an element from a linked list?

Bob JohnMy instructor defined the function remove() as: struct node { node *next; int value; } int IntList::remove() { node *victim = first; int result; if(isEmpty()) throw listIsEmpty(); first = victim->next; result = victim->value; delete victim; return result; } Where fir...

 
831 source files
 
We need an investigative body for this.
 
including headers, documentation and everything
 
6:27 AM
wtf...
 
lol
> I think the perfect programming language is C1000. It is largely the same as the current C99, but with scattered bits of refinement over the millennium.
 
@StackedCrooked I didn't know C existed in year 1000
 
@StackedCrooked Hahahahaha
 
Google doesn't even return any results for C1000.
 
The VS2012 linker is noticeably faster. But it might just be that the laptop is faster than my desktop...
 
6:29 AM
@Mysticial Arggh! The uncertainty!
 
This laptop is faster than my primary desktop in every single aspect: 1 thread, 8 threads...
I'm like, wtf...
The only thing is that it can't sustain it cause it'll overheat - as will pretty much any laptop.
 
NOTA BENE?!!
http://stackoverflow.com/questions/13657043/what-does-the-paragraph-of-nota-bene-in-stl-list-h-mean
 
I think I'm gonna try putting Crysis 1 on it too see if it has a higher FPS than my primary desktop...
geez
 
@MarkGarcia You should vote to close
 
How much rep does it take to VTC?
 
6:33 AM
3000
 
3k?
I really need 2k rep
I hate being put in the suggested edit queue
Latin phrase for note-well. Similar to "pay attention to this" — Rapptz 1 min ago
 
Really! I JUST WANT HELP! PLEASE JUST HELP ME :(. MY WEBSITE MEANS EVERYTHING TO ME AND I WANT TO HAVE THE HOMEPAGE SOON! PLEASE JUST HELP ME :...(..... — b2550 30 mins ago
 
LOL
 
@Mysticial Oh.
 
How would you feel if you just came to Stack Overflow and this happend to you? — b2550 30 mins ago
Yeah man. How would you feel?
 
6:36 AM
If it's just a first account, it wouldn't matter. Just throw it away and start over. It would hurt more on a more established account though.
 
whoa 4 people died in chat
 
@Rapptz I resurrected.
 
I wonder how many of us always have a window open?
I for sure do.
I don't think I've fallen off in months.
 
I don't like doing it because I get like (1300) in the window and I'm like shit that's a lot.
 
Maybe briefly last week when I tried to log out and it logged me out on every single computer I was logged in from.
@Rapptz I've had it go up to 40k.
I almost never use chat at work. So that window can go for weeks without being visited.
 
6:39 AM
Chat takes up a lot of memory
 
It hangs the JS.
 
127K currently for me
Browser total is 324K
 
I have SO as a pinned tab in FF. But the chat I open and close with the browser
 
When I said 40k, I meant 40k messages.
Well over 1 GB in memory.
 
6:40 AM
@Mysticial Yeah I know
I was mentioning another reason why I don't like to leave it hanging. Chrome takes a shit when it's open for too long
 
Woohoo new badge "Pundit"
 
I want that badge :(
 
Make more funny comments :)
 
I have 1 comment with 11 points, 1 with 6, 3 with 3, 11 with 2, 22 with 1, and 72 with 0.
 
Too bad there's no badge trio for comments. "Nice Comment", "Good Comment", "Great Comment".
 
6:43 AM
11 points is a lot.. :( that's more than most of my answers lol
Wonder what comment that was
 
Okay, SR3? Totally awesome.
 
1x9, 1x8, 2x6, 1x5, ..., 97x0
 
Oh I found the comment.
 
It's okay, I'm not either :(
 
6:46 AM
Ha, ha!
 
@StackedCrooked You have a comment with 99 upvotes.
 
@Mysticial What!?
 
> 99 Debuggers have only existed for about half a century. Evil is much older than that. So, no. – StackedCrooked Oct 26 '09 at 16:22
 
Mysticial's table lol
373 man :(
 
@Mysticial I don't even remember writing that.,
 
6:47 AM
@Rapptz Well... It was also under that branch predictor question.
 
@Mysticial Link?
 
Asians man... #winning at everything.
 
@StackedCrooked It's deleted:
Question: Is a debugger the mother of all evil?
 
Google only finds this.
 
@StackedCrooked Yeah, your comment is there.
 
6:49 AM
Stackprinter is so fucking ugly
 
Yay, I made a great comment. I just don't remember writing that at all.
 
lemme try to stack 4 monitors to screenie it
 
@StackedCrooked Maybe debuggers are actually evil after all.
 
But, ok, it's from 2009. Perhaps I was sleep deprived or drunk at that moment.
@R.MartinhoFernandes They steal my brain cells.
@Mysticial But, how did you find this out so fast?
 
I remember it.
It was really that funny.
 
6:52 AM
I feel bad that it's at 99
One more and it would have been 100..
 
Well, once you reach 100 you enter an entire new league and you are a newbie all over again.
So maybe 99 was the best score for me.
 
damn, it borked my sidebar too
oh well
I should've centered my top monitor.
 
Alex you sick bastard. You could have upvoted it to 100.
:(
 
A question with 250 upvotes got deleted. Isn't that scandalous? Is SO like Stalin or Mao Tse-tung?
 
@Rapptz Yeah, it's my fault...
I swear I voted to undelete that too. Perhaps delete/undelete votes also age away.
 
6:57 AM
@StackedCrooked Yeah just like 74 of the things I've downvoted, only 25 aren't deleted.
SO is delete happy I think.
 
@Rapptz Not really, it's mainly the same 20 or so people that like to delete everything.
I'm never voting them for moderator.
And if any of them run for moderator, I will probably call them out for it too.
 
@Mysticial Well, let's put in a few undelete votes now...
 
@JerryCoffin sure
 
When can I vote to undelete/delete? 10k?
 
10k
 
7:00 AM
I need to answer more questions.
 
@JerryCoffin If anything, I think that question deserves a historical lock.
 
Though I think the review queue makes me more annoyed than the delete abuse..
 
Because it's arguably not constructive.
 
@Mysticial I wouldn't argue against that.
 
But awesome enough that it should stay.
 
7:02 AM
@Rapptz Don't get me started on the reviews.
 
What's up with the review queue anyway? Do people just go the easy way out because of the badges?
 
@Mysticial I suppose as they've defined constructive, it may not be. On the other hand, based on how I'd normally define the word, I'd say it really is.
 
IMO the question is how can you justify deleting a question that has 250 upvotes?
 
@Rapptz Yes.
It's crazy.
 
@StackedCrooked Lots of the higest-voted questions have been deleted.
 
7:03 AM
@JerryCoffin The highest of them got a historical lock.
Like the cartoon question. All the "hidden features of X". Book questions except for the C++ one...
 
That's entirely undemocratic. I should not further discuss this topic now, because it makes me too angry.
 
@Rapptz Yes -- most of the last podcast was devoted to that (first one I ever listened to, and it had to be that...)
 
We have podcasts?
Not that I'd listen..
 
@Rapptz There's an SO/SE podcast somewhere, but I doubt I could find it again.
 
@StackedCrooked The deletion audit earlier this year had a pretty crazy effect on the most upvoted legit questions.
 
7:05 AM
@Mysticial Quite a few did, but quite a few more were just tossed.
 
Go to the OP's rep history.
You'll notice that the amount of residuals went up at around March. (which was when the deletion audit happened)
Then it went back down after the JSON and branch predictor questions topped it from the #1 spot.
 
Nice question.
 
@Mysticial Not to mention roughly 10% of his rep happened in less than a week, well over 2 years ago...
 
Flash CS4 was #1 from March to mid-July.
 
7:12 AM
You are well informed :P
 
@StackedCrooked Not really, since I follow meta, I watched the entire deletion audit play out in March.
And I saw all those top bike-shed questions drop off one-by-one.
Come to think of it, I might have actually benefited from it since at one point, but the loop and denormal-float questions were in the top 50 because so many top questions were deleted or locked.
 
I never had 3 in the top 50 though.
I remember very clearly that the branch question was the one that knocked the denormal question from #50 to #51.
 
That's hard to believe. Given the trollish nature of the Internet.
 
I think the 125 rep min. really plays a big part.
 
7:18 AM
I have to admit, that's my favourite privilege I have. Checking score distribution, that and downvoting + commenting.
 
Really?
I'm sitting on the ground again.
I tend to do that alot when I am sleep deprived...
 
imma try to sleep. night
 
night
 
@Mysticial cya
 
is there a meta chatroom to ask questions about stackoverflow accounts?
 
7:27 AM
There's always your primary schoolteacher who told you you could ask him anything.
 
in Let's get philosophical on Meta Stack Overflow Chat, 7 mins ago, by Jeff Atwood
OH MY GOD I JUST REMEMBERED HAR MAR SUPERSTAR
 
he might be retired by now, so a second option would be preferable
 
@StevenBluen You probably don't want to go in there right now
 
Just post on meta.
Chat rooms are not for questions.
 
Neither is meta
 
7:30 AM
I could buy his (Jeff Atwood's) book for free from Amazon when it was just released. I have to say that it's quite good.
 
@Pubby Er, yes it is. Meta questions.
room topic changed to Lounge<C++>: We can't stop here it's meta country [c++] [c++11] [c++-faq]
 
well, I think I figured out the answer to my own question, which was how to merge multiple logins
and now I don't have to worry about logging into an account and seeing a reputation score of 1
 
Multiple logins can be merged automatically if it detects same ip and email I think
 
I don't know about multiple emails though
 
7:55 AM
Can I use shared_from_this with C++11 std::shared_ptr?
http://www.boost.org/doc/libs/1_51_0/libs/smart_ptr/enable_shared_from_this.html
 
No.
Use std::enable_shared_from_this
 
Oh. Good. I thought that didn't exist... Thanks.
http://en.cppreference.com/w/cpp/memory/enable_shared_from_this
I just wanted to explore it
 
those shared and smart pointers are something I wish my college would have covered
 

« first day (777 days earlier)      last day (4154 days later) »