« first day (562 days earlier)      last day (4612 days later) » 

18:04
My O(1) memory quicksort implementation works!
Ell
Ell
oooh ivy bridge processors for sale at overclockers!
@Ell already?
damn... I'm already 2 generations behind in hardware...
Ell
Ell
I'm on sandy bridge :L
intel hd 4000 graphics ideal for gamers apparently
18:05
I'm on the first gen Sandy Bridge. Then there's Sandy Bride E-series. And ivy is out as you say.
I was thinking. For my documentation generator I can make it find out what kind of exceptions functions can throw by looking at their function bodies. Would this be worth the effort to implement?
Ell
Ell
I rather enjoy my gtx 560 ti cu II :L
@classdaknokt I think so
@classdaknok_t no: templates
@MooingDuck I can figure out the template instantiations. I am using libclang anyway.
@classdaknok_t if you can, that'd be awesome.
18:10
It'll be a little difficult though. It has to find out which exceptions inherit from which and find out which exceptions are caught in the functions. But as long as it's fun to do I'll try it.
Ell
Ell
anyone know when the ivy bridge macbook pros come out?
You can write a static analysis tool for exception 'dependencies', but I assume every one and their mothers are already writing one with libclang. So if you want the functionality, I'd look for it first. If you want the challenge, sure, why not?
Protip: std::bad_alloc.
So my O(1)-space quicksort is more than a constant factor slower than std::sort.
@LucDanton didn't think of new! Thanks.
Is anyone here proficient with libclang? Is it easy to get the string of the source code that's in a CXSourceRange, or do I need to find that out myself?
I think you're on your own.
18:20
I think so too. :P
@DeadMG: I'm confused by your edit+comment on stackoverflow.com/questions/10388548/…, they seem contradictory
not really
the guy quite clearly states he's coding in C++, so there's the edit
and technically, his code is C++
all my comment says is that it bears absolutely no relation to good C++ code whatsoever
@DeadMG ah, k
-1
Q: Can anyone write a short algorithm in PHP?

Bona ChonCan anyone write an algorithm in PHP? I want to know what an algorithm looks like (in PHP code). I had been seeing that word "algorithm" everywhere for a while, I already know the definition, but can I see it on PHP code? 1.- I love to make functions in php, is the functions the same as an algor...

fascinating
"can anybody write a useful algorithm in PHP?" - FTFH
lol
18:29
fascinating indeed. that question had me puzzled for a minute
Does PHP have a "template/generic" type of thing we can suggest for the poor guy?
@sehe in PHP you can't write anything useful. Look at Facebook!
@classdaknok_t case closed
@classdaknok_t while the fb front end is crappy, the backend guys really do an amazing job
@bamboon I didn't say it's done badly. It's just useless. Why use Facebook? I have a mouth which I can use to speak. People just come over.
18:33
@classdaknok_t so I can keep tabs on people I'm too lazy to call, and have another point-of-contact for when someone gets a new phone number.
@classdaknok_t also: I can share links with my friends easily
beside organizing and chatting, social networks are useless (in my eyes)
Xeo
Xeo
@ereOn I know this may long be solved, but why not just convert all addresses to the same format before comparing?
@bamboon until you consider SO to be a social network. Okay, scratch that.
@classdaknok_t I can't send you a link if you aren't in chat, and even then it's public.
Rants against Facebook are just about as useless as Facebook itself.
18:36
@MooingDuck email me.
@classdaknok_t You mean this specific chatroom no? :P
@Mysticial whole of SO. :P
@StackedCrooked true, rants are generally useless
@classdaknok_t your email is not public. You posted a twitter feed, I could use that, but most people don't have even that.
18:37
@classdaknok_t so github is your social network? Thought you said SO was.
@MooingDuck social coding. :P
My social network is school, the cinema and my and my friends' homes. But you guys are all programmers, you don't understand that.
:P
@classdaknok_t I understand that, but half my friends are 5000 miles away, and the rest I don't get to see often because I work 8-5, plus right now I am getting married, and moving.
That's unfortunate.
@classdaknok_t few of my friends are within a half hour drive :(
YES MY CODE FINALLY COMPILES AND WORKS
18:49
I bring teh CLANG to Windows!
Now with exception handling!
you do?
once click msi installer?
@rubenvb just in time for my documentation generator! :D
Let's see if it works for you.
@rubenvb are you also a fractal fanatic?
18:53
I haven't really tested it.
meh wingw
@bamboon not really. I just like buddhabrot ;-)
@Nils I didn't implement the MSVC ABI in Clang, no.
I do not understand why they all need a unix environment on Windows.
@rubenvb who doesn't like looks
Like what is missing?
sed, awk, grep, bash?
18:54
@Nils MinGW != Unix environment.
yeah gnu is not unix blah blah
MinGW and MSYS go hand in hand.
ah it might ned the gnu binutils?
Everything's there, works without bash
@StackedCrooked Don't have to.
MSYS is a Bash shell you'd need for configure scripts. Most modern Cross-platform projects don't need that.
Like Qt, wxWidgets, LLVM, etc...
Get your facts straight, please.
my facts?
I just want to know why it needs MinGW.
18:58
Because Clang can't mangle C++ like MSVC does.
MinGW is a collection of headers and link libraries
ah so it needs the binutils :)
yes, and the libraries
:)
like GCC's libstdc++.
Which seems to hate Clang right now. Damnit.
the header <complex> contains the type std::complex right?
19:04
hopefully
haven't done complex math in a while
std::vector<std::complex> comps;

prog.cpp:30:29: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::vector'
prog.cpp:30:29: error:   expected a type, got 'complex'
prog.cpp:30:29: error: template argument 2 is invalid
prog.cpp:30:36: error: invalid type in declaration before ';' token
(gcc-4.5.1) @ Ideone.com
std::complex<T>
@LucDanton oh, hey, lookie there
thanks!
Every time you hit 'expected a type', you didn't pass in a type. So check what it is. In this case it's a template.
@LucDanton I looked at cplusplus.com/reference/std/complex/complex but failed to notice it was a template (I know I know, don't use cplusplus.com. It was the first google hit and second was not relevant)
19:14
you know
it's probably a bad sign if my changelog for acommit is like, 30 items or so
right?
@DeadMG only if you're caught
who's gonna catch me, myself?
@DeadMG the perfect crime
Xeo
Xeo
Hm. I need a new game to play. Anybody got a good site for an overview or something?
airmech
19:16
@Xeo Any particular categories you're interested in?
@Xeo Just marathon a 26-episode series in one sitting.
Xeo
Xeo
@DeadMG RPG, mostly
Just finished Dungeon Siege 2 today with a friend
So I'm in gaming mood
played Deus Ex?
I just got back from an anime con, so I'm having trouble finishing my report that's due in 4 hours.
19:18
ah yeah
I can really recommend both, the new an the old Deus Ex.
Browserquest was fun for about five minutes?
And then you're done with it.
battlefield3 ftw
@Abyx I'm quite a fan of BF3, honestly
it gets unfairly lumped in with CoD
like C++ gets unfairly lumped in with C
bf3 the single player campain?!
@Nils Who gives a monkey about that?
running people over with a jet in multiplayer is where it's at
19:23
@DeadMG those people are your "teammates"
btw, it's sorta RPG, you got levels, kill mobs noobs, chat with people
ok
well single player was even worse than call of booty
Xeo
Xeo
I'm no fan of shooters, so BF is a no-go for me
same with RTS games
so I have to go otherwise I don't get anything done
Xeo
Xeo
Or DotA likes
19:24
starcarft for you then
how do you feel about roguelikes?
Xeo
Xeo
@Nils I just said no RTS
Wizard games.
Aka RPG.
I used to like RTS but now I find it way too stressing. Too many decisions need to be made in too short amount of time.
@StackedCrooked it makes you feel retarded?
Basically, yeah.
Xeo
Xeo
19:28
Erm... did SE get auto-redirect for dupe questions?
@Xeo I noticed it for one question on one of the meta sites. But not on SO.
Xeo
Xeo
I just noticed it at gaming.se
Which I find to be rather annoying, since you have no way to get to the closed question it seems
there is still no RPG as good as System Shock 2
Ell
Ell
there is still no RPG as good as Tomfoolery in Capetown (I made it in RPG maker) ;)
pokemon ftw
19:37
@Mysticial I just took up FireRed again :D
@MooingDuck Awesome! I'm still on 4th gen with the GS remakes... haven't had the time to learn the 5th universe yet... :(
They're all pretty much the same thing :P
@Mysticial I basically only play the origional games (and remakes) I don't like the thousands of new pokemon. 151 for life.
Yeah, the new ones keep getting stupider and stupider
@Pubby 5th gen is especially bad.
the best was 2nd gen by far.
3rd was ok. 4th eh.... meh...
19:40
Eh, I'd say 1 > 3 > 2 > 4 > 5
Xeo
Xeo
I liked 3rd Gen with the hidden... caves? Dunno what they're called anymore
I think my phone's USB slot is finally touchy enough that it can't be charged anymore.
I liked 2nd because you can go back to kanto
Xeo
Xeo
@MooingDuck There are external chargers. A friend of mine has the same problem, so he got one.
the lion is back
19:42
Hello Lion :)
ARGHH!!! Repcap: Y U NO RESET WHEN I WANT YOU TO!!!
oh hey
@Mysticial That would defeat the purpose, I think.
@StackedCrooked It should be done monthly. Not daily. :) Or at least every user should get to choose up to 5 days/month where he/she wants the repcap lifted. :D
@Xeo, yeah... so that question where the OP flipped the examples and turned my answer around. Um... It got reddited by Jeremy Banks last night.
@Mysticial So he is confusedcode?
@StackedCrooked Reddit will ban accounts that only drop a link and leave. So he's been creating new accounts over and over again to farm Publist badges.
Xeo
Xeo
19:48
lol
The bans appear to apply to ip address as well. So he must be a ton of ip addresses.
Xeo
Xeo
router reset
Or just stealthy
Router is likely to receive same IP after reset.
Well, when you have 17 Publicist badges, you probably know what you're doing.
Xeo
Xeo
Really? Never had that problem
19:50
I guess it would be handy to have a list of proxies. And automate rotation.
is it so easy to farm publicist badge via reddit?
libclang y u so verbose
He could be using college PC's as well.
Technically I could do the same since I'm in a dorm and I can get as many ip addresses as I want. But I rather not spam reddit with anything but the best stackoverflow questions.
@bamboon Yeah, I've been watching him since January, he even created a separate SO account and got two of them on it. Then he asked for a mod to merge it into his main account.
My guess is that he doesn't want his id attached to all those reddit links.
He also deletes most of his reddit submissions after a few weeks - probably to help cover his tracks.
I have never been to reddit
@Mysticial I won't click it^^
#5 is that GCC optimization question.
Seems like going through all this effort just to get a badge is kind of missing the point. At least for me SO is mostly useful for getting help or learning new things.
reddit is a silly place.
@CatPlusPlus Not when they come and massively upvote your posts. :D
Xeo
Xeo
19:55
@Mysticial Yeah, especially when you're already at repcap :P
I went from 4 upvotes to 48 from a reddit post
It's a powerful thing
@Xeo It's a good thing I (mostly) stopped caring about rep now. I'm more interesting in just getting highly voted posts.
@Mysticial you farm those posts
@Mysticial Isn't that the same?
Not really. When that denormal question was asked. I knew it would be very good - especially on reddit. But I had a choice.
Choice #1: Wait a few days to reddit it. That would spread the votes out and maximize the amount of rep I get from it.
19:59
Also editing the question on SO puts it back in the active question list and you will get upvotes again.
I never abuse that though :)
Choice #2: Reddit it asap. It would concentrate all the votes on one day, but it will shoot the question to the top of the SE hotlist. This will attract all the stackexchange regulars who don't read reddit.
I chose option two.
You really thought it out.
Post it on /r/cpp and a few weeks later on /r/programming.
Choice #1 gets you more rep. Choice #2 gets you more votes. I picked the latter since I getting a highly voted post is a lot harder than farming rep.
What I didn't expect was...
To be continued...
For the denormal question to get onto the top 50 all-time list. Which (along with the loop question) has been feeding me several votes a week even after the question has fallen off the month lists.
And since I've stopped repwhoring, I rarely repcap anymore. So all those residuals count.
20:03
Ah. So go for high vote count and the rep will follow.
@StackedCrooked Well, only if it makes it to 400+ I'd say...
That can be a problem.
Yeah, if the question isn't googleable, it basically needs legendary status to get long-term residuals.
I'm just thrilled when I get a answer with ten votes. Even if they didn't deserve it: stackoverflow.com/questions/10357836/…
hmm, I failed to log into SO 3 of my 9 days on vacation.
@MooingDuck 10's are nice. Especially when they come with an Enlightened badge.
20:08
wait, what is a "helpful" flag?
33 comments flagged
18 deemed helpful
@MooingDuck They got rid of the flag weight.
Did someone just serially upvote me?
I thought that only happens to Jon Skeet.
@Mysticial no, but I could send you some random upvotes :D
@MooingDuck I get thrilled when I get an answer with 1 upvote^^
um... whoever's serially upvoting me should probably stop, or it'll get reversed.
20:11
@Mysticial I only did 3, since I'm not sure what the limit is
Xeo
Xeo
@Mysticial I'm getting serial upvoted since a few weeks now, but the upvoter is smart, only upvoting a question / answer or two per day
3 seems to be the threshold for downvotes. I've been serially upvoted only twice before. It was around 5 - 10 posts, but the voter picked only the best ones on my list.
neither of them got reverted
@Xeo How sure are you it's from the same person?
They seem pretty spread out in each day.
Xeo
Xeo
It's all different questions / answer, no one double voted AFAICT
@Mysticial Unless they come and massively downvote your posts.
Xeo
Xeo
And it really feels like a serial voting
20:16
@CatPlusPlus True, but that's rare.
32
Q: Top user's answer victim of Reddit mob behavior

Rafe KettlerI don't know Hans Passant, but he's the 5th highest rep user on SO, and I'm sure that's no fluke. He clearly is very active and knows what he's talking about. His answer to the question at http://stackoverflow.com/questions/4772893/vb-net-interrupt-form-loop-and-end-form did not satisfy the OP. ...

and
-105
Q: How to send 100,000 emails weekly?

xRobotHow can one send an email to 100,000 users on a weekly basis in PHP? This includes mail to subscribers using the following providers: AOL G-Mail Hotmail Yahoo It is important that all e-mail actually be delivered, to the extent that it is possible. Obviously, just sending the mail conventiona...

Oh hey, there's a dev in the room.
@Shog9 How often do posts get massive downvoted from reddit or other links?
oh God…
We should undelete the GUID question and reddit it.
jk
@Mysticial oh there it is. I tried to find it again a while back but couldn't. Favoriting...
@Mysticial That's the SO mob vs the Reddit mob.
His question is now mass upvoted.
i voted for undelete
20:24
@StackedCrooked Oh, you can't see Han Passant's deleted answer. It's at -71.
Oh, I misread.
That's not nice then.
oh my god, the GUID question is full of win
3
@KonradRudolph isn't it? I just read it again :D
@JohannesSchaublitb Guess I'll be voting undelete as well. :)
The comments on that GUID question need to be preserved for everyone to see.
what is the other question with 305 upvotes that the comments talk about?
20:28
@KonradRudolph Question with 300 upvotes? There aren't too many of them. You can try running down the list?
Phil only ever asked one question, but boy it sure did wreak some havoc.
@Mysticial me too.
:P
Yay it's undeleted.
-31
Q: Fastest way in C# to iterate through ALL Guids Possible

SpoiledTechie.comI have access to one of the top 50 fastest computers in the world. This question I am trying to complete is for a job that is required to get done. While it might not make sense on an ordinary regular computer in the civilized world, it makes sense to do it with the hardware and capabilities I ...

I'm not gonna reddit it though. Don't want to hurt the OP too much.
20:30
kill him with fire
@Mysticial which subreddit?
/r/programming?
@classdaknok_t Are you serious? proggit (reddit.com/r/programming) If you want to reddit it, may I ask that you wait a day for this one to fall off the front page first.
NOW UNCLOSE IT!
20:33
I'm still getting upvotes on this answer from that reddit link.
136
A: Why does GCC generate such radically different assembly for nearly the same C code?

MysticialUpdated to sync with the OP's edit By tinkering with the code, I've managed to see how GCC optimizes the first case. Before we can understand why they are so different, first we must understand how GCC optimizes fast_trunc_one(). Believe it or not, fast_trunc_one() is being optimized to this: ...

@Mysticial I'm not going to post it on Reddit.
Oh ok, it sounded like you were about to. lol
@Mysticial ah I misread the "not".
4 mins ago, by Mysticial
I'm not gonna reddit it though. Don't want to hurt the OP too much.
I though you said "I'm gonna reddit it through."
ah
Although I do think it will do pretty well on reddit if you give it the right title.
Ok suggest a title.
20:35
Why did you guys undelete the stupid GUID question?
To post it on reddit. xD
10 mins ago, by Konrad Rudolph
oh my god, the GUID question is full of win
@classdaknok_t Really?
I did not vote to reopen the question though!
I dunno what to say.
20:36
@RMartinhoFernandes I'm not sure. I just came in here.
@RMartinhoFernandes No, I was only joking about it.
But it would make a pretty good reddit submission though.
@KonradRudolph me neither. I did undelete it though.
that’s what I meant, “undelete”, not “reopen”
@Mysticial I thought that question was deleted.
@classdaknok_t If you look at the history, it's hilarious...
Spam flagged - deleted and locked.
Jeff unlocks it and undeletes it...
20:38
How do I get to the history?
/timeline right?
Ah got it.
@Mysticial Not terribly often; I can only think of a couple other instances off-hand. of course, depends on your definition of "massive"
lol i reddited it
@Shog9 I'd say anything with 25+ downvotes or 50+ upvotes from reddit would be massive.
I'd title it "I accidentally 2^128 GUIDs, is this bad?"
@JohannesSchaublitb fu I was just going to do that. :P
@JohannesSchaublitb you serious... You should've used the link to get a badge from it.
@Mysticial He's an altruist. He's not doing it for the badges, he's doing it for great justice.
i did use the badges link...
oh noo i didnt!
@JohannesSchaublitb if you don't use it for yourself, at least append my user ID.
@Shog9 I'm also wondering, do the devs have like an "alarm" for when something gets reddit or linked otherwise. If the post is older than 1 month, we can't see it in the 10k tools. And if it isn't in the recent list of publicist badges, then I would have no idea something on SO's been linked.
20:45
lol @class
Thank God libclang preserves comments as tokens. doxx is starting to get shape.
Somebody should edit the GUID question so it gets bumped.
AFAIK it simply calls a comment handler
reddit mob doesn't like my post :(
@JohannesSchaublitb It takes longer than that.
Give it a couple hours.
@JohannesSchaublitb Reddit skews the votes. Also, the title should've been funnier. Anyway, I up voted it. :P
It's in the "new" tab. The mob doesn't come in unless it gets enough votes to make the front page.
can i change the title after posting?
ohh
Make it "I accidentally 2^128 GUIDs…" or something funny.
20:51
I'd help, but my work bans reddit, and I'm too lazy to workaround
> A cow have four more legs than no cow. No cow has five legs. Therefore, a cow has nine legs.
@RMartinhoFernandes I just read that myself. You scare me. I read that sentence then tabbed here because you said something.
@RMartinhoFernandes haha
@RMartinhoFernandes Set theory to the rescue
20:56
@classdaknok_t page blocked :D Now I know two pages my work blocks
It's on the front page already. Let the rage begin!
@MooingDuck That sucks.
Did I miss something? What's so special about that question today?
@RMartinhoFernandes what question?
20:58
@RMartinhoFernandes we found it again. Also it got undeleted
> about 20 people a year are killed by cows in the United States
@DeadMG This one: stackoverflow.com/questions/10029651/…. They reopened it and reddited it. For some reason.
no idea why
> Cows can live 25 years. You can guess the age of a cow that has horns by counting the number of rings on the horns. Before counting, make sure the horns belong to a cow
I still think this one is gold. :P
But people didn't like the title.

« first day (562 days earlier)      last day (4612 days later) »