« first day (1602 days earlier)      last day (3329 days later) » 

7:00 PM
lol
 
@ReedCopsey I haven't got the exact details of that context down, but it's in a UI library so I haven't got much interest in using it. Besides, I wanted something like Task.Run but that would run a continuation on the same thread. :-)
 
I like when an English major lectures me about the importance of syntax.
 
This is so messed up :(
GIVE ME MY EVENTS
 
Wow I got an upvote on this answer
1
A: How can I find the last element in a List<> ?

Spencer RuportUse the Count property. The last index will be Count - 1. for (int cnt3 = 0 ; cnt3 < integerList.Count; cnt3++)

It only took six years haha
 
7:03 PM
i have a control that's becoming null at runtime, wtf, any ideas?
 
magic.
 
Are you trying to access it before InitializeComponent?
 
debug it?
465
Q: What is a NullReferenceException and how do I fix it?

John SaundersI have some code and when it executes, it throws a NullReferenceException, saying: Object reference not set to an instance of an object. What does this mean, and what can I do about it?

 
Why is ETW such a piece of fecal matter
or something
 
@KendallFrey nope, really strange, example:
    public BranchSiteEditorView()
    {
        InitializeComponent();
        ValueTable.BackColor = Color.AntiqueWhite;
    }
works fine
    public TableLayoutPanel ValueTable
    {
        get
        {
            Console.WriteLine(this.valueTable == null);
            return valueTable;
        }
        set
        {
            valueTable = value;
        }
    }
 
7:06 PM
Today's xkcd could be renamed: Why Linux is such a pain
 
when i try use that accessor from another class it returns null
 
@Steve let's run away to Siberia
 
and when that accessor is called this.valueTable == null is true
 
thats where putin hunts tigers with tooth picks, i dont want to go there
 
7:07 PM
Antarctica?
 
sounds good
 
I just realized I have music playing
I'm so ragey I don't even realize what's happening around me
 
you're angry?
lets go fight isis
 
slaughter some terrorist ass
 
YEAH!
 
7:12 PM
I went to a trampoline park. I did well.
 
did you see isis there
 
Not unless the kids there were being recruited and they were doing obstacle course training or something.
 
@BradleyDotNET - Do you use angular? If so do you know much about value providers?
@ton.yeung - Have you used a value provider? I'm curious if it's safe to do something like .controller("mycontroller", ["myValue", function(myValue) { myValue.NewProperty = "hello!"; }])
ah ok.
I'm not even sure if it would work yet. Suppose I should try that.
 
@ton.yeung I Was a Fan of Isis till those idiots stole her name ! :|
 
I do use angular
I haven't heard of value providers though
 
7:23 PM
Value Recipe
and what I'm doing seems to work. Just not sure if it's supposed to work that way.
 
anyway, Anyone know if i can Make a Database in my Website hosting .... and connect from WinForm to it ?! lol
@ton
 
@Pedram - Most likely not directly. You could probably write/find a web application that exposes some raw database actions though.
 
Your sample is similar to the docs
so I guess so
 
Of course that's considered to be pretty insecure.
 
so it is possible but with some changes ? hmm , i made a program , it get List of Games from Steam Site from Json , BIG list , 16k AppID , then i can scan them all and get info also % of Discount , then i can show the result and sort them etc
but as u can guess ! it is not something easily and FAST done , its big list , so i don't want to give it to all my customers to check for themself each time , i want to put it on my server and check it like once an hour , then update a database , and the users just connect to database and get the newest info !
 
7:29 PM
 
you guys got any better idea for me ? or any idea on whats best way i make an online database ?
 
@Pedram - Have you written a pure ajax driven web application before?
 
i am using MS TFS and i want to move a project in my solution to git. i know MS TFS support both . anyone done something similar?
 
        private static string GetColumnValue(this IDataReader reader, string column)
        {
            int ordinal = 0;
            var content = String.Empty;
            if(int.TryParse(reader.GetValue(reader.GetOrdinal(column)).ToString(), out ordinal))
                if (!reader.IsDBNull(ordinal))
                    return (content = reader.GetString(ordinal));

            return content;
        }
Is that redundant, or a good extension method?
 
7:34 PM
@Alundrathedreamwalker - !!google migrate tfs to git
 
@SpencerRuport no , this app i made is all C# , i did some small test on ASP.net Web App , but nothing more , then i did work on html / php / css too but they are all another matter
 
@SpencerRuport 10x
 
@Greg Off-hand, seems fine
 
@BradleyDotNET Basically get the ordinal value of a column through the name, then see if that ordinal is null, if not get the value otherwise return an empty string.
 
the first search result is a winner : blogs.ancestry.com/techroots/…
 
7:36 PM
 
@TravisJ huh maybe it's a resharper thing
or maybe VS2013? what VS do you have?
 
2012
 
oh resharper is good ? i got a 1 year free coz of being student lol
 
I can't imagine life without resharper
 
Ctrl+Shift+T is a R# thing
<- bought a R# license recently
 
7:40 PM
well i got 1 year free amd 11 months left lets use it then
:P
 
It's hard for me to articulate what features I like best since I sometimes don't notice them unless they're gone
 
@MikeAsdf - Can you name 1?
 
VS without ReSharper is like car without engine >_<
 
The most prominent one
 
lool ok installing it now :P
btw guys , any idea on how to Search on a datagridview w'o a Datasource ? lol i add the data to it by NameOfMyGridView.Rows.Add(...) , i Googled and i figure a way is to copy the datasource to a bindingsource and then filter it ! then copy back ! while this not work for me coz my GridView Datasource is Null !
 
7:50 PM
@RoelvanUden agreed
I find it to be a love hate relationship
 
Yeah, that. Sometimes you can strangle it.
But most of the times, it's lovely.
 
@RoelvanUden should i let the Resharper Add to my Visual Studio Shortcuts ?
WooW installed Resharper and Opened my Project , on right side it show me 112 Warrning :|
 
@TravisJ "Inspect incoming calls": provides a nice tree of all the layers calling some code, helps greatly with finding possible impacted areas of a code change
VS2013 has some built-in find-usages functionality, but it's probably still cumbersome
 
lol all warnings are saying i need to have First name of my stuff Big and the Rest Small :D i got like lots of class with total of 112 item in each ( string or int or such ) and all their name is full lower case :P
 
@Pedram fix ur shitty code
or change resharper's naming convention configuration
or change resharper's configured severity level for mis-named things
 
8:06 PM
lol dude , not my fault , u think i write them all by myself ? :D i copy the whole json and Special Paste it as Json Class :D
 
@MikeAsdf 'inspect incoming calls' - widely used in the NSA
 
I also like the various find-sybmol options in Resharper
I use ctrl+N to find class, ctrl+shift+N to find file, and ctrl+shift+alt+n to find method/property
 
yayayaya
 
And it nicely converts input by camel case
 
im bored
 
8:09 PM
e.g. I can type "batwomanfac" and it finds "BatchWorkflowManagerFactory"
 
BatWoman !
 
The Resharper unit test runner is nice because it can be configured to ignore certain categories. I don't think the built-in one can do that.
 
@KendallFrey
@Sippy
 
oh fak it , i come back to my project tomorow, i spend all day on it today , i go play a Round of League of Legends With my DJ Sona :D
and then Sleep :D
 
Oh, and I'm pretty sure Resharper is what lets me convert "var" to explicit type. I just put the cursor on var and hit alt-enter twice
 
8:11 PM
I found this in my mail the other day:
 
lol O.O
 
Maybe I should check out what's in the loft
 
ShadawCeption !
 
resharper can also detect possible problems with lambda expressions that depend on a possibly-mutatable variable in its closure
 
haha
 
8:12 PM
i mean Shadow* :P
 
Resharper grays-out provably dead code, but maybe VS also does that these days.
 
i mean Shadow* :P
 
@MikeAsdf that would be great if VS stock did that
 
8:14 PM
yeah!
 
resharper lets you view a treeview of class hierarchies
 
Oh The Next one who Say Oh The Next one Who Say is an idiot !
 
you guys have the most idiotic flags out of any room
 
who flagged what
 
none of them, I repeat NONE OF THEM are ever offensive or spam
4 mins ago, by Tom W
user image
flagged
 
8:16 PM
lmao whhhhhhhhhhhhat who the fuck would flag that
i'm literally lolling that something so dumb was flagged
 
LoooL
 
Resharper will highlight the {0}, {1} etc tokens in a format string with a different color
 
seriously though, who wants to man up to that
 
and gray out parameters that have no matching {n}
and warn you if you don't have enough parameters
 
where does it do that?
because it can't highlight {n} in every string
 
8:19 PM
@KendallFrey It only does it for methods that it knows handle format strings.
Like Console.Write and log4net
 
oooookay
 
what?
who flagged?
 
no idea, but my kick finger is getting itchy
 
can you tell? (I guess not)
 
so i wish they'd speak up
 
8:20 PM
kick yourself
 
So if you have a custom logging method, it will not highlight things ...UNLESS you incorporate some special annotations in your code.
 
@KendallFrey nope, i haven't flagged anything since late last night
 
unless they're getting tetchy about me posting identifiable information
which tbh, I think you freaks could have found out anyway
 
@TomW So they flag it, automatically making it appear on screens of users chat-wide, instead of leaving it here
LOGIC BITCHES
 
lol ^
 
8:22 PM
that's the only possible justification I can think of
 
thats a pretty weird flag, yeah
 
Unless they thought the silhouette was of someone touching a nipple
 
Ha, I wish
 
lmaowtf
 
hahaha
 
8:24 PM
@BradleyDotNET weirdest flag ever: s-i.huffpost.com/gen/1649894/thumbs/…
 
why is it weird
 
cos the flag design committee had no creativity
 
Well it just so happens that the correct number of stars fits in a geometric arrangement
 
at least it has meaning instead of, "hey, what should we put on our flag? idk, lets put that weird leaf"
2
 
p.s. did you know that the proportion of Brits who think the United States has either 51 or 52 states is so high that it can't just be the normal proportion of people being dumb, yet nobody can figure out where this misapprehension came from
 
8:26 PM
@Steve at least it's at least tangentially related to our contry
 
america has maple trees?
thats just like choosing a rock and being like "i found it in my country!"
 
they stole them from Canada
 
when was the last time you got fresh maple syrup in texas
 
i'm from michigan, and often?
 
because the flag design committee had no creativity? For the layout of the stars?
I mean, its not like we haven't had similar flags for 200 years or anything
Its related to the country 13-colonies, 50 states
 
8:29 PM
P.S. when maple leaves are that colour they're basically maple tree garbage
 
granted, the stars/stripes has nothing to do with us
 
I think this flag is kind of funny:
I've seen that one in real life
 
then again, we made it have to do with us :)
 
The tree threw it out, it was old and busted
 
@KendallFrey Using that argument, they should have put Poutine on the flag - I see that in canada way more than maple syrup ;)
or, for that matter, just gravy ;)
 
8:31 PM
If poutine had been invented at the time of Canada's founding I dare say they'd be the superpower
 
hey Reed, I'm missing ETW events and some events have the wrong data in my logger process. Is this normal?
 
@KendallFrey not sure
I've never tried to write my own listener, only producers
never felt the need to reinvent the wheel
 
shucks, it was worth a try
this is dumb
 
:sigh: flags are not toys. please stop being children about them.
I know the flagger is in the room and reading this. if you have problems with the content be an adult and speak up. don't hide behind the glow of your monitor and flag stupid shit. it annoys everyone.
 
again?
 
8:37 PM
this time your response to the flag.
 
i did it
 
why
 
I flagged one comment I didn't flag that cool envelope that tom w sent
I flagged the F word
 
did the word "fuck" in itself offend you?
it wasn't directed at anyone, and it wasn't an insult. it was showing emphasis on his statement
please grow up
 
Rather odd way to "show emphasis"
 
8:39 PM
actually it is a rather universal one.
 
not odd at all
 
Well it's offensive to many
 
I don't agree with people swearing at eachother, but "fuck my pc crashed and I Didn't save my work" isn't offensive, I will stand by that every day of the week.
 
well, they're too young to be registered with SO
 
Well, we disagree on that
 
8:40 PM
@rlemon that probably happens every day of the week too :P
 
let me say this: one flag will not stop anybody from saying fuck, all it will do is annoy everybody else in every other room
 
@Ethan and the people who see the flags on SO agree with me. please don't flag that stuff.
meta issues have even been raised about this
 
@Ethan grow up, or leave. Nobody's forcing you to stay in a chat whose content offends you.
 
when you flag things every user in the chats with 10K+ rep sees them
it is annoying to see pointless flags like that
 
8:41 PM
@Pinky did you really flag? was it the envelope?
 
sure, don't like the word. cool. I dislike many words so I ignore them unless directed at me.
 
nah i just wanted to take the blame
 
don't do that
 
@Pinky Are you into S&M too?
 
lol, kudos for having more testicular fortitude than the person who flagged it
but dont lol
 
8:43 PM
@rlemon @Tom W - Alright. I love this chat room and find it beneficial, but hate that people use cuss words as though they were regular adjectives. I found it offensive, but didn't know that it didn't qualify as offensive.
 
@Steve I dont have testicles sir lol
 
oh, well then... what are you doing later? want to grab a drink
 
lmao
@Steve wants to go out with a eunuch
 
@Ethan well, for example, I find people who link w3schools or who talk about religion offensive. I don't flag them because they are not attacking anyone. general rule of thumb, if they are not attacking? probably just ignore it. (imo)
 
lmao
 
8:44 PM
@Steve sure whats your number
 
@Pinky You don't need testicles to have balls
 
@rlemon - Copy
 
@KendallFrey yeh testicles are overrated
 
to exclude file from publishing to Git you add it to the list in the file .gitignore???
 
you know, somebody flagging fuck, i can at least understand that, even if i dont agree with it
the envelope, totally pissed me off
 
8:45 PM
@Ethan now, if you see someone tell someone else to "go fuck themselves" flag that. I totally would get behind that flag.
context is 9/10th of the law
or something like that ;)
 
@Alundrathedreamwalker correctomundo
 
@Alundrathedreamwalker adding it to .gitignore just means git knows you don't want to check it in and to ignore it
 
how was the envelope offensive?? I thought it was cool
 
right?
 
it doesn't mean you can't check it in (I think)
 
8:45 PM
I would really love to know who flagged that
 
me too
 
is it possible to igonre a whole project?
 
it's possible to ignore any set of files
 
@Alundrathedreamwalker - Oracle does it all the time
 
damn Balpha, if only he hadn't fixed that bug we would be able to see the flaggers
 
8:46 PM
inb4 flag
 
@rlemon - alright! Thanks for the info on flagging
 
it existed for EVER before it was fixed as well. a few people used it under the radar for a long time.
then we started using it in JS and stuff, few weeks later it is patched :(
sorry everyone, we ruined it for all.
 
that's probably how most security flaws go
how long do you think Heartbleed was abused before we heard about it?
 
@Ethan I don't wanna sound like "the law bringer" or anything, this is just my opinion as a heavy chat user myself (in fact, the heaviest)
inb4 fat jokes IM NOT FAT!
@KendallFrey 18 months
NSA
we know this one ;) bad example
 
@rlemon - lol I was quite serious, not making fun
 
8:49 PM
@Ethan yea I just wanted to get that a crossed. stuff like that doesn't always come out right you know.
 
by the NSA, or heard from the NSA?
@rlemon ACROSS
 
FLUBBER!
 
@rlemon oh yes
 
wtf
PerfView gets the data right, but the event is still missing
 
@TravisJ I just added this to my gitignore file :
#My personal Ingonred files
MYAPP.WebSites.Demo/ViaSoftech.config
MYAPP.WebSites.Demo/OSBOX.config
not sure if it's the right syntax
 
8:51 PM
@Ethan thanks for manning up to it btw
 
I want to exclude those two files
 
maning, man-ing
w/e
 
@Steve Eli or Peyton?
 
lol
 
Peyton
 
8:51 PM
thats what i thought of when i typed it
 
o/*\o
 
@Steve - I didn't know it wasn't classified as offensive. I never meant it to annoy anyone. So, if the flag will be ignored I will ignore the message that I flagged
 
no worries
 
gtg
 
a lot of times, people come in here, thinking the same rules apply as in SO proper
 
8:54 PM
even on a Friday afternoon
yeah, overweight chance
 
later
 
Well I'm just a 14-year-old, Christian, noob programmer. Sooooo ;)
 
@Steve tater
potato knishes
 
they call me tater salad
 
this is where i make potato knishes
the magic and the mystery
 
8:56 PM
@Ethan I hear you on not liking swear words, but yeah, its the internet. And its a chat room on the internet
From what I can tell, this room is actually pretty tame
 
@BradleyDotNET - yeah
 
WPF has almost no OT conversations though, so if you really want to avoid it, you can hang out there.
 
lol now I REALLY gtg
 
little black squash balls
 
@Steve Lol, I like this week's friday message
next week's should be --SATURDAY
 
8:58 PM
should be "happy -~thursday"
:)
 
@BradleyDotNET lol alright, you do it next week, you know how to pin right?
 
yeah... but I can't pin my own stuff
 
sure you can
 
yeah you can
star != pin
 
unless thats an awesome room-owner feature I don't know about :)
 
8:59 PM
yup, room owns get to pin, and star, everybody else just gets to star
 
in the message menu
 

« first day (1602 days earlier)      last day (3329 days later) »