« first day (744 days earlier)      last day (4205 days later) » 

6:00 PM
For me, calls are a remnant of a long-gone era.
 
I love and hate how you can allocate stuff on both the stack and the heap in C++
and I love and hate copy constructors
 
@zneak You can in C# too.
 
yes, but stackalloc doesn't work with everything
and it makes your code unsafe or unverifiable, I don't remember which
you can't stackalloc arrays for instance
so you can but nobody really does it lol
and anyways the CLR probably does alias analysis to allocate everything it can on the stack too, so you might as well not give yourself the trouble of writing unverifiable/unsafe code
 
did anyone get a button to start an action without reloading the page? I want to add a "export to excel".
 
@AmmarAhmed you can use AJAX.
 
AMH
6:08 PM
I have scenario that I want to create a list of handlers , and on key down I want to fire certain one
 
@Pheonixblade9 I will look into it then. thanks
 
@AmmarAhmed Or call other script with some parameters which will just convert it to Excel format and return *.xls file.
 
much easier to generate a CSV/TSV file than a .xls/.xlsx file
 
the code that handel the excel is in my C#. it outputs a CSV already
 
@Pheonixblade9 But less fun.
 
6:10 PM
less effort = more fun
 
Microsoft's interop lib for Excel never ceases to amaze me
 
ajax seem to do it. I will try it
 
at my last job I gave up and used
um what was it called again
EPPlus
 
*@using(Ajax.BeginForm( * is so great. Thanks
you guys are awesome. I was stuck since lunch.
 
@AmmarAhmed Btw what do you think about ASPX? Have you ever tried PHP? Cause I've never tried ASPX. But idea about creating webpages in VS is awesome.
 
6:16 PM
I never used PHP and the main reason I am using it is because I am getting paid to do it :D. I am using MVC asp.net. The web pages are not in aspx either (cshtml = Razor)
 
@KendallFrey if your idea of fun is COM objects, you are a sick, sick bastard man child.
 
SANDY IS INVADING NYC
 
@Pheonixblade9 Who says you need to use COM?
 
Wow, that looks really badass.
 
Just write the file yourself.
or use xml + zip
@KyleTrauberman Canada: Where a hurricane is a news story.
 
6:21 PM
@KendallFrey you want to deal with MS file formats?
 
They aren't that hard.
 
no, but I'd rather spend my time doing useful things
 
^---this guy says Sandy is because of the gays.
 
just like boobquake?
 
Not global warming. Not because well, living on the coast of an ocean means you're probably going to get some weather. Because of the gays.
 
@Billdr sort of like when Pat Robertson said Katrina was 'cause of all the homo sex yalls
(cause that's how homophobes say homosexuals)
 
Woo, homo sex, ya'alls!
 
AMH
0
Q: list of event handelers

AMHI want to create a dictionary of event handlers , or something like dictionary of method with key and use it in method that accept key , when this function be called I search using the key and fire the event or the method any idea

 
@KyleTrauberman Is this what you can see from office window? :D
 
no, I'm in arizona
no where near sandy
found that on facebook
 
6:26 PM
the irony...
 
its a sunny 79 F here today
 
Shouldn't fiddler show the post data I'm sending?
 
lol, we have a lot of snow here. CZE
 
@KyleTrauberman Say, don't you have something else you could be doing?
 
6:29 PM
Oh, I don't know. Flying a kite maybe.
 
its not windy
 
I've just though. Has anybody know how is this chat made? AJAX probably, but in which? Java, C#, PHP...?
 
WebSockets I think.
ASPX server side.
 
@sczdavos SO uses MVC
 
C#, PHP?
VB?
 
6:31 PM
asp.net mvc serverside
c#
IIRC it uses an ajax polling scheme
not comet and not signalr
194
A: Which tools and technologies build the Stack Exchange Network?

markusCore Stack Overflow uses a WISC stack via BizSpark(We Graduated!): Operating System Microsoft Windows Server 2008 R2 x64 Web Server IIS 7.5 Database SQL Server 2012 running Microsoft Windows Server 2008 Enterprise Edition x64 Language C# Dev Tools IDE Visual Studio 2012 Framework Microsoft...

 
Thx, I'll check it.
 
@sczdavos - The chat uses hybrid polling.
You can see when the server side thread dies because every once in a while there is a duplicate post for a split second. That is when a thread is started and long polling is also occurring client side.
 
I am at the top 10% of SO this month. I remember when I used to log in and not be able to answer any questions\
who needs halloween candy when you got reps
 
you are moving up in the world :P
 
Skeet, you better watch out
 
6:40 PM
 
Yes!
I want one
 
lots of people didn't like it, but I thought Bioshock 2 was really good
 
better than the first?
 
6:44 PM
Who was evangelizing FF1 earlier?
 
6:59 PM
More toolbars more Explorer :D
 
Too many toolbars! Where is the one that closes my neighbors garage?
 
looks like you need a toolbar to control your toolbars
 
I only really want one extra toolbar that I haven't really seen. I guess you can just do it in the url with javascript:... but I just want a toolbar that runs javascript/jquery on the current site.
simple example: type this into the url when looking at the main site and hit enter: javascript: var xx = document.getElementById("hlinks-nav"); xx.parentNode.removeChild(xx);. It will remove the review link.
Make sure chrome doesn't strip out javascript: because it likes to do that
 
the developer tools can do that alright no?
 
How our teacher said. There is no Internet browser? I'll probably have to use Downloader of Internet browser.
 
7:08 PM
@TravisJ press F12 -> Console
 
Oh, I didn't realize that runs on the current site.
 
In FF is plugin named Firebug. In Chrome it's just CTRL+SHIFT+J or how Kyle said F12. I'm using it often.
To see password, to click on more elements on page, to try something etc. Also you can use jQuery.
 
I just thought console was output
 
So im a bit confused. If you set a mouse hover for a label and turn it to green background and then set a mouse leave property for that label which turns the color back to black, it works fine. But if I add a click event for that label and turn it to red, it doesn't work :(
the mouseleave event messes up with the click
 
just use CSS
 
7:15 PM
I am talking about C#, Visual Basic that is.
 
@TravisJ console is output, but you can also type js into it to have it executed
 
oh, I thought you talked about ASP.NET
 
$('.question-summary').each(function( summary, elements ){
 var score = $(this).find('.reputation-score').html();
 if( score < 1000 ) this.parentNode.removeChild(this);
});
^ low rep screen for questions :D
 
nice one
that reminds me, I need to set a bounty on a question
 
@TravisJ that's pretty cool, but it's a tad unfair for the newbs
bookmarklet'd
 
7:21 PM
Yeah, I only wanted it to see the really complex questions
 
Doctors verdict, it is ocular migraines and she wont give me anything for them for now
wants to see if they are environmental
:/
 
@rlemon I've had those before
back off of aspartame (most sodas, gum)
take caffeine
 
Changing the rep for the screen is easy though
 
and NO MSG
that's worked for me
 
I don't drink many sodas or chew gum
:P
1-3 coffees a day, and that is already a cutback
and I eat fairly healthy
no fast food at least
 
7:27 PM
idk then. IMNAD
 
can I run ajax in the console?
 
heh
 
but yea, idk. she said if they continue into December she will give me something
 
how often do you get them?
 
7:28 PM
depends
sometimes daily, sometimes not for weeks at a time
 
hmm
log what you eat to see if there's a correlation?
maybe sleep too
@TravisJ i made a bookmarklet
javascript:$('.question-summary').each(function( summary, elements ){  var score = $(this).find('.reputation-score').html();  if( score < 1000 ) this.parentNode.removeChild(this); });
 
@Kyle - Nice, I am going to try to pull every question like that now, instead of just the ones on the front page. I will tell you how it goes.
Will they get angry about that?
 
Nice
 
1.) SO has no way of knowing
 
7:32 PM
Because it might be 80,000 get requests in a second
 
2.) even if they did, they couldn't do anything about it
 
they could ban my ip
 
for that bookmarklet i just posteD?
 
no, for the next one I suggested
 
They'll think you're scraping their site, lol
 
7:32 PM
others do it and get away with it
 
yeah, they will care if you spam them with requests
 
I was doing something like that before
 
Not spam though, just once for 1 second.
 
not with every question, but damn close :P
 
Anyone ever dealt with programmatically generated e-mails getting classified as spam? I don't think I can change wording of content much, as it's specified by client.
 
7:34 PM
@Robjb - I think that could be based on headers, and also just where the email originates from.
 
That can be a problem.
 
I love questions like this: "can you solve a huge problem that nobody has solved for me?": stackoverflow.com/questions/13128326/mobile-grid-computing
 
@TravisJ am I to understand you want to return all of the site questions?
 
@rlemon - Filtered
 
what criteria ?
 
7:34 PM
@Pheonixblade9 voted to close
 
based on rep
 
what rep?
 
@TravisJ ugh, don't do that
 
The person asking the question
 
how much and above or below?
 
7:35 PM
just use the bookmarklet to filter the page after its loaded
 
@TravisJ How can you tell that?
 
so you only want higher rep than you?
or lower rep than you?
 
@KendallFrey see the bookmarklet and travis's js above^^
4 mins ago, by Kyle Trauberman
javascript:$('.question-summary').each(function( summary, elements ){  var score = $(this).find('.reputation-score').html();  if( score < 1000 ) this.parentNode.removeChild(this); });
 
@KendallFrey - asked 6 mins ago, name, rep
 
@KyleTrauberman me too, "not a real question".
 
7:36 PM
@rlemon - I just want to see the highly complex questions
 
@Pheonixblade9 i did not constructive
 
The rep displayed on screen isn't the rep of the OP.
 
I don't downvote those, I just vote to close.
 
why?
downvotes on questions don't cost you anything
 
The question itself isn't terrible, it's just off topic.
 
7:36 PM
I think it discourages asking interesting questions
 
@KendallFrey - On the questions page, yes it is.
 
there are better places for it
but not here
 
by that logic, so does closing it
 
@TravisJ Who even uses that?
 
well, closing it doesn't actually hurt the user
 
7:37 PM
lol my office is hilarious right now
 
what's happening
hey I got free candy
 
We just turned off the lights and started playing halloween music, and are about to get our desks ambushed by children trick-or-treating
 
halloween isn't until wednesday?
 
we had that last Friday lol
 
@TravisJ Yea, not sure why we're doing it today :/
 
7:38 PM
when they have events that involve children, they always have them the Friday before the actual date
which makes sense
 
@Pheonixblade9 actually, it does. not in rep, but it might factor into the question ban criteria. no idea on this, the algorithm isn't published
 
imho
 
@KyleTrauberman - Maybe I will try it on only the first 5 so it doesn't wreak havoc.
 
so there was this girl who came in disguised as Chell from Portal
she had a nice outfit and almost realistic-looking gravity boots
and she put her candy in a companion cube she carried around
that was adorable
 
Nice.
 
7:40 PM
that's cool
 
Pro tip: Never dress as a picnic table.
 
her father had a portal gun and a few personality spheres/cores (I don't remember what they were called)
alright visual studio's stalled doing a big operation, I'm gonna work out and hopefully it will have sorted itself out when I'm back
 
That awkward moment when you can't repro a bug because another bug prevents you from following the steps.
 
evil?
for( var i = 0, pages = 5; i < pages; i++){
 $.ajax({
  url: 'http://stackoverflow.com/questions',
  type: 'GET',
  data: { page: i, sort=newest, pagesize=50 },
  success: function (result) {
   $(result).find('.question-summary').each(function( summary, elements ){
    var score = $(this).find('.reputation-score').html();
    if( score < 1000 ) this.parentNode.removeChild(this);
   });
   $(result).find('.question-summary').each(function( summary, elements ){
    $("#questions")[0].appendChild(this);
hm, it almost worked (after fixing the 2 syntax errors)
I got back the data at least, just didn't parse it right
 
hmm, maybe
 
7:49 PM
this seems to be the offending piece: $(result).find
I am not sure if result is in html yet.
 
Hi all! I am able to run a website from visual studio in which I am uploading an excel sheet and saving it to a folder in website using saveas(Server.mappath(filaname)).And I am able to open it as well using the same name.But when I run it from ultidev server, I am not able to open it.
 
Dudes. Tins of popcorn exist! Best shopping trip I've had in months.
 
If anyone's on the east coast in the path of sandy, stay safe!
 
@Grixxly who's Sandy? Your ex-girlfriend?
 
hurricane
 
8:03 PM
www.instantrimshot.com
 
@Pheonixblade9 Slightly less violent ;)
 
(that's not me)
 
I don't know how many levels of creepy there are... but THAT just added one...
 
and this adds four more
 
That video is epic.
 
8:05 PM
@KendallFrey any help?
 
so wrong... but like a bug I can't turn away from the light...
 
lol yea it's a good "pick you up on a down day" video
watch the rest of his stunts they are pretty good
 
8:28 PM
Hey, anyone know a Resharper like plug in that can hook into a code base and give you performance metrics on all functions (private/public etc.) when code is executed?
 
@RyanTernier VS performance analysis?
 
@RyanTernier sorry, let me rephrase my answer. VS Performance Analysis.
 
Is that available in 2005?
 
O_O you're using VS2005?
 
8:32 PM
yea...
don't hate
 
I have no idea, lol. I've been using 2012 since it came out
2008 before that
 
it looks like it's in 2003?
 
2010 after that
yeah, worth checking out I guess
O_O why do you have VS2005 lol
 
Because our solution uses BizTalk 2006
 
8:33 PM
yea...
welcome to healthcare systems
 
you can't just import the .dll's? We use SSIS stuff that requires 2005 but we just use the components
 
I've used JetBrains, Tracing, and other performance tools, but they're not giving me the breakdown like I need
BizTalk can't call anything above .net 2
 
And it calls... eeeeverything
 
I've only ever used the VS ones, and Android profiler
 
8:38 PM
did the VS Performance thing you ran tell you metrics on all methods used in code?
Ex:

Class foo
{
    void doStuff()
       {
            doA();
            doB():
       }
}
Will it tell you the time spent for calling a and b?
 
    @Kyle -
    $('.question-summary').each(function( summary, elements ){  var score = $(this).find('.reputation-score').html();  if( score < 1000 ) this.parentNode.removeChild(this); });
    var tar = document.getElementById("questions");
    for( var i = 2, pages = 3; i < pages; i++){
     $.ajax({
      url: 'http://stackoverflow.com/questions',
      type: 'GET',
      data: { page: i, sort: "newest", pagesize: 50 },
      success: function (result) {
       var start = '<div id="questions">';
 
it didn't do anything
 
orly?
 
i mean, it sent one request
but didn't update the page
 
It updated mine, are you sure it didn't change yours?
I am looking at 45 results right now of only 1k+
 
8:42 PM
i'm on
paste it into the console
 
worked for me
 
oh, it worked that time
 
:P
 
Try it with 5 pages and a lower screen ;)
 
8:43 PM
what are you trying to do with it? it's doing something on mine
 
@Ryan - Nothing, it is just a way to filter by rep, and to get more than 50 results per page
If the filter were set to 0 then you would get 250 results
assuming 5 pages
I wouldn't suggest hitting their server too hard, they might get angry at your ip
 
@RyanTernier the Android one I used did that, not sure about the VS one. I wrapped my own performance tester
 
@Pheonixblade9 Yea, trying to find these darn metrics is annoying. JetBrains dotTrace works, but it doesn't seem to know how to find my source code... when I run it from within visual studio... with my source code loaded... from a right click on the project...
 
rofl at front page of newspaper
 
HAHA, print media.
 
8:50 PM
@KendallFrey Iknoright? Ink headlines, how passe
Aw Billdr beat me to it. :(
 
Websites rarely have such impressive goofups
 
what newspaper?
 
The Record.
The front page has a black cutout line through several articles.
 
Get to the punchline please.
 
8:53 PM
have no camera :(
 
@KendallFrey aww I don't get the record
I will try to steal one from the neighbors
 
@rlemon pic it
 
Should be able to see the glitch in a display.
Assuming it isn't just our paper.
 
@KyleTrauberman if I can I will
 
I'm watching last night's episode of The Walking Dead. ZOMG TEH MAYOR!
 
8:54 PM
DUDE
spoiler alert!
 
That feeling when you are working on a project and you find out someone has already written all the code, and it's just not being used yet... sigh it's so nice :)
 
Anyone watching Once Upon a Time?
 
Nothing got spoiled.
 
ok so query me this
I have a bunch of rows that need processing
once processed their "checkbox" needs to remain checked.
but I do need some indication they have been processed. so atm I am highlighting them and ... ohh wait... shit. I think I have an answer
 
wpf, winform, razor, aspx?
 
8:56 PM
second time i've done that today
 
@Billdr he's using winforms
 
I need to stop saying wpf when I mean xaml.
 
ok scratch that
it's more a UX question anyways so here goes
 
Can't you set it's checked property to "true" when you're doing the highlighting?
 
@Pheonixblade9 I know, I love that feeling. Btw, did you get my CV?
 
8:59 PM
@Billdr Did the xml stuff work well for you the rest of the day?
 
on edit, I change the row color to green to show it is an unprocessed new value. you have a revert option which sets the background color back to white.
 
@JohanLarsson Yea. The problem was happening someplace completely different.
 

« first day (744 days earlier)      last day (4205 days later) »