« first day (688 days earlier)      last day (4250 days later) » 

8:00 PM
After all you have no documentation at all of those members.
 
Honestly, VS has one of the worst plugin APIs of the entire software world.
 
@R.MartinhoFernandes still trying to figure out what SetFocus does. :P
 
They really should drop that shit and write a new one with MEF.
 
Sets the focus!
@EtiennedeMartel I thought they did that in VS10.
 
@R.MartinhoFernandes Hahahahahahahaha. You're funny.
 
8:01 PM
19
A: How can I write a plugin for VS2010 using MEF?

Noah RichardsMEF is the primary extension mechanism for extending the editor. If you install the SDK, there are a few new project samples set up to create editor extensions, found under C# (or VB)->Extensibility. These include: Editor classifier – for providing syntax highlighting Editor margin &...

 
@R.MartinhoFernandes Oh my fuck. When I had to write a plugin back in 2010 (for VS2010, no less), this shit did not exist.
 
Unfortunately, I couldn't install the SDK. Something about not having MSVS 2010 installed...
 
@LuchianGrigore Oh, you're on 2008? Sucks to be youuu
 
@EtiennedeMartel I think it came out with the SP1 (because MEF was still in beta at the time of release, IIRC)
 
@EtiennedeMartel no, I'm on 2010... It's just saying that
/\ not sarcasm
 
8:05 PM
@R.MartinhoFernandes Yeah. It eventually became part of .NET 4.
 
@LuchianGrigore Sorry, but no. You're on 2012, as we all are.
 
Visual Fuckyo.
 
@R.MartinhoFernandes I'm pretty sure I'm on 2010...
 
21 mins ago, by StackedCrooked
@FredOverflow That video is hilarious!
 
@EtiennedeMartel You have a creative mind.
 
8:06 PM
@StackedCrooked Especially with fucks.
 
@StackedCrooked I liked it :)
 
So did I.
 
@FredOverflow lol
 
It was like programmer stand-up comedy.
 
@TonyTheLion Oh, I see.
Can't they give you artificial cartilage?
 
8:12 PM
wat
 
wat
 
@Rapptz they can, and they have, but the problem is that it doesn't alleviate much and it has to be redone every six months, which means 3 hospital trips, 3 needles in my ankle, etc...
which I don't really fancy, especially because it doesn't do that much in terms of pain
 
Ugh, needles.
 
@DeadMG in the butt.
 
8:13 PM
needles in the butt?
 
the only thing which really helped was an injection of cortisone in my ankle joint
but cortisone is not very healthy
@FredOverflow in the ankle joint
 
Ah I see.
 
How do I get references for C#? (sorry if I'm not using correct nomenclature)
Specifically Microsoft.VisualStudio.Text.Editor;
 
8:15 PM
@LuchianGrigore Cry.
 
Right click the project, add reference?
 
@R.MartinhoFernandes can't find it on the list.
 
Do you know the DLL's name?
 
References are in dll's?
(short answer - no) :D
 
Ok, what do you mean by "reference"?
 
8:17 PM
@R.MartinhoFernandes Cry.
 
mmmmmmmm avocado
 
assembly reference
 
@TonyTheLion Sales guy vs. web dude is also fucking hilarious, one of my favorite nerd clips ever.
 
The docs usually mention the assembly where stuff can be found.
 
8:18 PM
The answer is still no, but thanks for clearing that up for me :)
 
but Microsoft.VisualStudio.Text.Editor; is a namespace
 
For example: msdn.microsoft.com/en-us/library/… mentions "Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)"
 
I don't think all the stuff from the same namespace has to be in the same assembly
 
Right. Namespaces are orthogonal to assemblies.
@LuchianGrigore Do you have SP1 installed? AFAIK the SDK requires SP1.
 
@R.MartinhoFernandes right, I'm missing the dll's...
Yup, I do have SP1
 
8:21 PM
Oh well, then sounds like your installation is borked...
 
@FredOverflow hahah :)
 
I'm @ home though, I don't exactly have a licensed copy at home :(
 
How do you know it's not legitimate piracy? Microsoft's software has means to shut the whole thing down.
 
I don't follow...
 
Xeo
lol
 
8:33 PM
@TonyTheLion Furthermore, I suggest Nobody canna cross it, Memory is RAM and Greatest freak out ever.
 
@FredOverflow That email about not rebooting the server was lols
 
294
Q: I've inherited 200K lines of spaghetti code -- what now?

kmoteI hope this isn't too general of a question; I could really use some seasoned advice. I am newly employed as the sole "SW Engineer" in a fairly small shop of scientists who have spent the last 10-20 years cobbling together a vast code base. (It was written in a virtually obsolete language: G2 --...

lol @ title
 
I thought that said I've invented 200k lines of spaghetti code -- what now
Was pretty confused
 
8:39 PM
@FredOverflow Run for the hills?
 
@TonyTheLion Just don't trust DailyMail
 
indeed
@R.MartinhoFernandes not a bad idea
 
> Like many of our peers, we also fell for this good old British tabloid rumor at first. We have updated the story now that Willis’ wife has denied that this story was true.
@Rapptz Don't trust any journalists. They're a bunch of incompetent fools that won't even do their own work.
 
this ^
 
I don't enjoy generalisation.
 
8:41 PM
@R.MartinhoFernandes Whose profession is dying out. Working as a journalist and actually making a living is very difficult.
 
Their workflow has become: "publish > do not check shit > if contrary facts come up maybe fix what you published"
 
now, I'd be the first to agree that they're all pricks who should be thrown in jail
 
@Rapptz lol
 
but a little slack could be worse
 
8:43 PM
The fact that they apologise that they "fell" for it shows how much of their work they did.
 
most of them are just out for a story that will sell, truth has very little bearing in this
 
All they did was "retweet" something the others wrote.
 
404'd
 
works here
 
8:45 PM
it's not actually a 404 response
it's literally just the text "404".
not an actual HTTP 404 response
 
yeah
 
anyways
tomorrow I'mma go cap in hand to the govt asking for moneys
 
@TonyTheLion thx
 
and then a few days after that, I get the glorious experience of moving back in with my parents
 
:(
@Cheersandhth.-Alf no problem
Mueller Rice, yum yum
 
8:51 PM
lol
 
Made my day
 
well then
I think it's an appropriate time for me to say goodnight
 
good night
everyone else also gone to bed?
 
I'm trying to get work done but I'm procrastinating to the max.
 
yea
I know that feeling
 
9:00 PM
Do you guys play games?
 
unfortunate!
 
@Rapptz yeah
 
@Mysticial Console, PC or both?
 
both. mostly PC now
 
nope, don't play games
I thought I was bad
but this takes the piss
 
9:02 PM
ewww
@Chimera very nice indeed. Also: lol:
 
lol. Is it hard to boil water on the stove?
 
> 1:22 a nice girl appears
 
@Rapptz seems for some most things are hard
I use a kettle to boil water
This here, takes it to another level Slightly NSFW
 
Hi fellas. I have a question purely out of curiosity. I'm trying to add numbers from 1 to 2^64, and the code I have is able to do it just fine but only up to a point. For some reason after about 2^35 or so, my computer starts slowing down tremendously (as does the speed of operation). Here is what I have:

int main(){
unsigned long long number = 0;
for(unsigned long long i = 0; i <= 18446744073709551615UL; ++i){
number += i;
}
cout << number << endl;
}
Any ideas?
 
@NicoBellic maybe, look at cpu utilization? I suspect hyperthreading?
 
9:14 PM
@sehe yeah CPU shoots up 100% and sometimes it goes above.
Does this mean that this is a hardware limitation problem?
 
@NicoBellic have you calculated how long that would take
 
@NicoBellic Quite obviously, yes.
 
@Cheersandhth.-Alf for up to 2^32 it takes about 11 seconds. Then it keeps going pretty nicely until about 2^35, and then it's all downhill from there. I haven't been able to compute 2^64. Computer just keeps going and going.
 
erm... exponentials?
 
@NicoBellic u now, laik, mæth?
 
9:17 PM
if 2^32 takes 11s, 2^35 should take 11*2*2*2 = 88 seconds
Assuming linear performance
 
@sehe yeah. Not linear after 2^35
 
which it probably doesn't have, due to the addition starting to overflow, possibly
 
@NicoBellic You're not gonna get up to 2^64. That'll take more than a few years.
 
Brace yourselves :)
 
9:20 PM
Yeah I thought so. I was wondering if maybe it might have been code-related. Guess not.
 
Hey guys, do you prefer adding comments to your code during programming or after you are done
 
@sehe There's a meme about that :P
 
@TonyTheLion Stop it.
 
@MohamedAhmedNabil depends. Mostly before programming. But I absolutely pref to not comment at all
 
9:21 PM
@NicoBellic look at it this way. let's say that 2^32 = roughly 4 billion. let's call that 4B.
then 2^64 = (4B) * (4B)
that is, it takes 4B as long to do the 2^64, as it takes to do the 2^32
thx
4 billion times 11 seconds = ?
how many seconds are there per hour?
 
a lot
 
@MohamedAhmedNabil The only things I document/comment are: granularity of locks, stability of interface, lifetime annotations and various design choices.
 
3,600.
13,123,511.1822 hours or 546,812.96 days.
 
Seems reasonable
 
uh, how many years is that?
 
9:23 PM
oh god
 
Reminds me of the GUID scraper question on Stack Overflow
 
1.5 millenia
 
~1,497 years counting leap years
 
See, it's not so bad as it seemed :)
Also: shame 1497 isn't a prime
 
So absolutely no way besides the arithmetic sequence sum formula.
 
9:25 PM
@NicoBellic come back when you're done :P
 
Erm. You make it sound like a bad thing
 
Not really. I was just curious.
 
@Mysticial Yup. Classic
 
Can't see it. :(
 
9:28 PM
@Rapptz hang on
 
" -58 down vote favorite
12


EDIT I know this might sound stupid, but please stop voting the question down. The point has been made. No need to keep voting it down. In fact, Im pretty sure this is the most negative votes for any SO question ever.

I 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 have. Please understand, that this will be done, it j
^ I think he had to be trolling, nobody can be that stupid and articulate at the same time
 
lol I've never seen 58 downvotes on a question.
Sounds like he was trolling, with the whole "top 50 fastest computers" bit.
 
@NicoBellic Me too. Turns out there is indeed no difference related to the size of the 'summands' - nothing spooky like with floating point denormalilzation. See ideone.com/XpzHE for a simple test
 
http://i.stack.imgur.com/FAO4x.png
http://i.stack.imgur.com/NzpSu.png
http://i.stack.imgur.com/MnBBT.png
 
Erm... LINK them? Also, get a screen capture in a single image :)
 
9:31 PM
iimgur.com
and link
 
You can just edit the links by saying 'space' or something arbitrary in front
 
@sehe I was trying to convert them into imgur first.
 
Fair point
 
sorry for the temporary mess
 
no worries
 
9:32 PM
lol.
 
as a fellow regular, we can be forgiving
 
It's fine. Apart from the fact that it is 3-part of course. Lemme make a bookmark
 
but golly if you were new here :P
 
@TonyTheLion Huh. Where did you just magically learn a new word?
 
@sehe oh, is that a forbidden word?
 
9:33 PM
I love that hard drive comment haha
 

Generate all GUIDs

10 mins ago, 8 minutes total – 26 messages, 6 users, 0 stars

Bookmarked 4 secs ago by sehe

 
oh wait, that 3rd one is a dupe
 
@TonyTheLion No it's the first time I heard it around here
@Mysticial vote to close!
 
oh well, there's nothing important at the bottom
 
9:34 PM
@sehe yea, well, not generally a very forgiving place, this room is.
 
Erm I beg to differ
@TonyTheLion You know I'm joking
 
@sehe lol
@sehe hard to tell over chat
 
Here's another good one:
-28
Q: How to request a large no. of requests to bring the network down.?

Ashwin SinghThis is a college project. I have to develop an app which can be used to bring the network down by requesting a large no of web pages in short span of time. I have coded the program but for some reason the network does not go down and others can still use the internet. I have used 100 threads whi...

 
@TonyTheLion Only look at what happened this afternoon:
8 hours ago, by user963499
yeah, i learn this situation the hard way. i have to repay my sins
8 hours ago, by DeadMG
@user963499 Yes. And I'm all for helping you do that.
^ WHOA!
8 hours ago, by R. Martinho Fernandes
Yeah, me too.
 
@Mysticial Interesting "school project".
 
9:37 PM
I did my contribution too stackoverflow.com/questions/7624332/…
 
@sehe haha
 
@Rapptz Dunno if you've seen these:
Jul 14 at 6:12, by Mysticial
user image
 
lmao
 
and this one
 
@Mysticial Yeah. Classic too.
 
9:42 PM
Apr 13 at 5:35, by Mysticial
user image
 
Console.WriteLine. On WINDOWS, no less. No wonder it takes two weeks, regardless of language
 
"Is French faster than Spanish" LOL
4
 
@Mysticial Oh hey, I commented!
 
i think italian is fastestest
 
@Cheersandhth.-Alf Certainly not. But that is due to temperament
 
9:44 PM
that comment made me lol
I almost feel bad I can't upvote it.
 
@Rapptz We can't upvote it either since they're deleted. But I manged to upvote most of these classics before they got deleted.
 
How come you don't have the review tab like I do
 
@Rapptz It's shared with the "Tools" tab.
 
Oh
 
"Tools" meaning moderator tools.
The orange icon is the number of flags in the 10k queue.
The brown one is the suggested edit queue.
 
9:49 PM
I didn't know I added 1 to their bar. I thought they just saw the question and accepted my edit.
 
@Rapptz That's what I do. I hardly ever open the tools/edit queue.
Oh, BTW, I hate edit queues. All of a sudden, I'm not capable of reviewing on my own?.
I mean, I have 'unlimited' immediate edit power, but when it comes to reviewing proposed edits, I have to... get the acceptance of a peer. FIRST
 
that's confusing
 
This totally bogs me when I want to do an edit myself. I have to bloddy wait till some other 10k user comes around and reviews the pending edit. In effect, the question/answer is locked down
 
Xeo
@sehe Err, just click "improve"?
 
@sehe It's mostly a safe-guard since it's easier to allow a bad suggested edit than to make a bad edit yourself.
On meta, it seems you only need one person to approve.
 
Xeo
9:54 PM
You then accept the edit and can do your own stuff
 
So two or more people have to accept my edits?
 
@Xeo I tried that, but there was something 'wrong' there. Maybe it's just that I continuously get confused, electing to 'accept'/'reject', expecting to be able to edit after that
 
I've also found that reviewing an edit on your own post is binding. Only one vote needed.
 
@Rapptz Two, not more. Allthough, the community always has the power to re-edit, vote for delection/close etc.
 
@sehe unless the first 2 disagree.
 
9:55 PM
@Mysticial Sorry. Logic fail. I plead flu
 
@sehe, oh and btw, I find most of these hilariously downvoted questions from the 10k tools or from meta.
 
There's data.stackexchange.com if you're really desperate
 
I don't think they keep deleted posts?
 
It's a query engine. I expect you need to say 'where deleted = true' (or just, drop the filter)
 

« first day (688 days earlier)      last day (4250 days later) »