« first day (2082 days earlier)      last day (2860 days later) » 

5:01 PM
Here is my register method
 //
        // POST: /Account/Register
        [HttpPost]
        [AllowAnonymous]
        [ValidateAntiForgeryToken]
        public async Task<ActionResult> Register(RegisterViewModel model)
        {
            if (ModelState.IsValid)
            {
                var user = new ApplicationUser { UserName = model.UserName };
                var result = await UserManager.CreateAsync(user/*, model.Password*/);
                if (result.Succeeded)
                {
                    await this.UserManager.AddToRoleAsync(user.Id, model.Name);
 
hello hello
 
user47589
either your RegisterViewModel has some validation attributes on it, or you have some other code that checks the password
 
Is microsoft.owin.security.cookies needed if ASP Identity is not be used?
Since cookies are not used in OAuth
 
user47589
Use it if you need it. Don't use it if you don't.
 
user47589
It sounds like you don't need cookies, so no, you don't need to include something you aren't using.
 
5:08 PM
TIL: "you don't need to include something you aren't using."
 
Examples I look at are referencing it and I am trying to figure out why
 
I feel like a new person
 
I include pointless packages all the time.
Keeps NuGet on its toes.
 
haha indeed
 
user47589
Examples might include it just for the sake of including it. try removing it from your project. does your project compile? Good work! You don't need it!
 
5:10 PM
Thanks! Just trying to figure out why it was being used in OAuth which does not use cookies but tokens
 
user47589
Ultimately the question of "Do i need library X" can be answered with an attempt to remove library X.
 
@Amy Thanks .. simple and makes sense
 
Is there any way to use Microsoft.EntityFrameworkCore in Class Library (.NET Core)?
 
user47589
Yes, the same way you use it in any other project.
 
@Amy what if they try to delete the .NET framework?
or system32
 
user47589
5:12 PM
@JABFreeware well if their code still compiles, I guess they didn't need those things.
 
user47589
If their code doesn't compile, they probably needed it.
 
I see
you like to kiss I guess
 
user47589
So, for example, if I unplug my computer, I won't be able to compile my code. We can thusly conclude that to compile, my computer requires power.
 
user47589
On the other hand, if I close my eyes, my code can still compile. So my eyesight is not a dependency.
 
user47589
See?
 
5:14 PM
Amy: Friendship Scientist
 
@Amy here is my RegisterViewModel
public class RegisterViewModel
{
[Required]
[Display(Name = "User name")]
public string UserName { get; set; }

/*[Required]
[StringLength(100, ErrorMessage = "The {0} must be at least {2} characters long.", MinimumLength = 6)]
[DataType(DataType.Password)]
[Display(Name = "Password")]
public string Password { get; set; }

[DataType(DataType.Password)]
[Display(Name = "Confirm password")]
[Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
public string ConfirmPassword { get; set; }*/
 
Doesn't VS have a ~3 click solution to removing unneeded usings?
 
@Amy don't forget your power has dependancies as well
 
notice I have all the bit with the password comented out
 
user47589
okay then, something else is looking for the password
 
user47589
5:17 PM
i dont remember how Identity does its password configuration.
 
wouldn't it only look in the register portion of the controller?
 
user47589
no
 
user47589
you're using a UserManager
 
user47589
so why would the controller be the only place?
 
@Sidney thought that was an addin
 
5:18 PM
Not on VS 2013 at least.
 
@Sidney im on 15
 
user47589
You've already confirmed that your pw model code is commented out and the check isn't in the controller. You can conclude, then, that the problem lies elsewhere.
 
user47589
This seems logical, doesn't it?
 
Then you should definitely have it.
 
I agree
 
5:19 PM
I concur
 
I just cannot see where. I am still newish to MVC
 
user47589
bangs gavel
 
and this is the first time I have tried to do something like this
 
All sort as the honorable coder Amy is present
 
Question, pretty basic.
 
user47589
5:21 PM
@Skullomania Google tells me you have a file called IdentityConfig.cs. That seems like a likely place to look.
 
user47589
How basic, @greg?
 
Filter(params string[] parameters)
{

}

If I wanted to call the filter method, how could I pass string[] to it?
 
@amy you're being a complete tool!
 
user47589
you can either pass an array, or pass strings
 
user47589
Filter("a", "B") is the same thing as Filter(new [] { "a", "B" })
 
user47589
5:22 PM
@sippy good
 
God Amy, you're such a tool
 
user47589
i was trying to be earlier, but no one noticed how much of a tool i was
 
Good indeed
 
The real question is, what kind?
 
Tools are useful
 
5:22 PM
Is she a screwdriver?
 
user47589
it was demoralizing
 
@Amy I simplified, the problem is the method that will call filter is coming from a form submission. So there is some additional content from that submission to be passed to filter as a parameter as well.
 
@amy what kind of tool are you
 
@Sippy I wish I could say what I'm thinking in response to that
 
this is a safespace
you can't hurt me
 
5:24 PM
I think she's more of a socket wrench
 
@mikeTheLiar what size?
 
I always thought of Amy as more of a jackhammer.
 
@Sippy safespace? Thats just what therapists say. There is no safespace
 
user47589
not enough giggity.
 
5:25 PM
I'M TRYING
 
lol
 
user47589
@Greg controller action methods probably shouldn't use params.
 
user47589
I'm not entirely clear on how it works with action methods.
 
@Sippy perhaps speculum is the right answer
 
user47589
o_O
 
5:27 PM
dang it autocorrect.... I mean spectrum of course ;)
like so broad and flexible capable so many different things
 
user47589
uh huh
 
mhmmmm
 
user47589
@greg non-params parameters must come before params
 
user47589
@greg so Filter(params int[] x, string y) is not valid, but the reverse of those arguments would be.
 
@Greg so Filter(string y, params int[] x) is valid, but the reverse of those arguments wouldn't be
 
user47589
5:33 PM
Is this room still a safespace?
 
@Amy you're in it...
:)
 
user47589
Are you sure?
 
user47589
I don't think that's right.
 
@Amy sure you're inside? yes
 
user47589
I'm pretty sure I'm not in this room.
 
5:34 PM
quite sure
hmmmm
 
@Amy The controller Ajax sends a form and an array.
 
user47589
@greg it sends what?
 
user47589
be more specific
 
(string term, int? sortableOptions, string[] filterOptions)
 
user47589
5:35 PM
that doesn't answer the question.
 
maybe show the ajax code
 
user47589
AJAX sends data to the server in the URL, in headers, and in the message body (if present).
 
user47589
So, show us the AJAX request.
 
user47589
What is the payload?
 
user47589
How is that payload sent?
 
5:36 PM
ummmm
why is it so hard for people to answer questions well. Its like they don't even read the question
yet somehow get uprated
</off topic rant>
 
user47589
@greg ? you there buddy?
 
> uprated
 
@Failsafe what?
 
what
 
user47589
maybe he meant uprooted
 
5:45 PM
what
 
what?
 
Updoodled
 
Brothers
what do you call this case
Type
Is it camel case?
Typo
 
user47589
hi @Obviously, i can't wait to hear your question.
 
Typa
Typu
 
5:46 PM
Typi
 
Like the first letter is capital
 
Taipei
 
Taipan
 
PascalCase
 
It's French casing
 
user47589
5:46 PM
@Obviously google "camel case"
 
user47589
pls
 
@Obviously It's many types of case, you need to be more specific if you want a specific answer
 
PascalCase
camelCase
snake_case
SHOUTY_SNAKE_CASE
 
ok
There is a war on stupid
That needs to be stopped
 
user47589
This is a perfect example of a perfectly googleable question.
 
5:47 PM
If someone has lower iq
 
@GrantHill you're not allowed to actually be helpful
you pleb
 
I know what side you fight for @Obviously
 
it doesnt entitles you to insult them
 
user47589
Who has insulted anyone?
 
yes it needs to be stopped, but how do you delete all the stupid people? we're out numbered
 
5:47 PM
Google war on stupid
 
For all you know, that information could be subtly wrong.
 
its real
 
@Obviously No, it needs to be increased
 
Did @Obviously just admit to being of lower IQ?
 
stupidity is not nice
 
5:48 PM
I'm pretty sure he did
 
Meanwhile, the war on Christmas rages on.
 
90% of the questions asked here I would dare to say are very googlable
and life in general
 
everything is googleable
 
and can be accurate answered
 
user47589
5:49 PM
You asked a question that can be answered with a ten-second google. Look at the definition of "camel case" and maybe you might find your answer.
 
with google
 
@Obviously everything, huh?
 
I once googled. It was excellent.
 
@Obviously If you google "c# type casings" you will get an answer faster than us
 
user47589
You've wasted our time answering a question that Google is only happy to help you with. And we have every right to ridicule over it.
 
5:49 PM
I'm googling myself to this conversation
 
I googled and it was showing me court cases
and iphone cases
 
that is why i asked
 
user47589
Then you are very bad at google.
 
5:50 PM
First link
 
You googled "camel case" and got court cases?
 
"c# type casings"
cmon man
that wasn't that hard
 
Either you are lying or an idiot. Or both I suppose.
 
user47589
I would have googled "c# camel case" and gotten a perfect answer.
 
@mikeTheLiar bet he googles camel stuff a LOT
and not the case kind
 
5:51 PM
"My camel is getting banged up. I should get a camel case"
 
True that was a googleable question
my bad
 
user47589
As punishment, google 100 questions.
 
we like to hear you type :)
 
Discussions are a better way to learn
 
5:54 PM
though
 
user47589
no, they aren't
 
What discussion was had here, though?
 
user47589
they're a waste of our time when the answer is one short google search away
 
user47589
stop wasting our time
 
We discussed Googling questions.
 
5:55 PM
You discussed me.
 
user47589
discussions are a great way to learn when the topic has nuance and a level of detail that a static post can't match.
 
user47589
but this is not an example of that.
 
true
 
user47589
this is the complete opposite of that.
 
it was a very small question
 
5:56 PM
It's more that your immediate reaction was to come here and ask us. When you have a plethora of options available to you to answer your very own question.
 
@mikeTheLiar mike mike mike mike mike. what day is it tomorrow mike?
 
@VeronicaDeane I'm pretty sure it's Wednesday. That could have been answered with google.
 
i got something to talk about with casings
how come resharper's configuration for type casings is so limited
and wrong by default
well i guess not wrong by their standards
 
user47589
yeah, i dunno.
 
user47589
its pretty easy to fix resharpers casing settings though
 
5:59 PM
it's limited though
 
user47589
limited? how so?
 
This one is much better.
 
@Amy Sorry, I got side tracked.
 
user47589
welcome back @greg
 
6:01 PM
@Amy what about me?
 
user47589
i was afraid you'd run off with another pony, @greg
 
user47589
@JABFreeware oh, were you gone? i hadn't noticed.
 
Man, googling "Winnie the Pooh meme" gets you some fucked up results
 
@Amy I came back just for you. Now im offended
 
user47589
oh well
 
6:01 PM
@Amy Your the only pony for me?
 
user47589
lol @greg
 
@Amy How is your project?
 
user47589
did you know that the real-life Christopher Robin actually hated Winnie the Pooh?
 
@mikeTheLiar Christopher Robin went through some dark times, believe you me.
 
user47589
6:02 PM
its a real sad story
 
user47589
@greg okay i suppose. i'm presenting it tomorrow to some of the users
 
Looking forward to it. Or no?
 
6:04 PM
Fun fact: Pooh's real name is Edward.
 
user47589
as presentations go, meh. half of the meeting i will be assisting them with their card printing work
 
Ew.
 
@mikeTheLiar y u do dis
 
user47589
i dont get it, is that a crack joke?
 
6:06 PM
[insert substance here]
 
@Amy there appears to be an original
 
user47589
that last one is funny
 
Bothers can't melt Eyore's tail
 
6:09 PM
Christopher Robin did 9/11.
 
A Rather Blustery Day was an inside job!
 
user47589
read it if you're exuberantly happy and want to be taken down a notch
 
Wake up, Piglets.
 
user47589
6:11 PM
are the Piglets sleeping again?
 
Sleeping from the truth.
 
the truth will set you free
 
user47589
in the beginning was the Truth, but men could not profit off the Truth, so they dressed it up in lies.
 
truth is relative
 
No it isn't.
 
6:20 PM
see? exactly my point. This guy doesn't see my truth
 
Crazy idea of the minute - boolean values that are relative and change depending on the point of view
 
user47589
Obiwan was an expert at such booleans
 
I'm def feel like I'm fighting stupid, 1 day at a time here
 
Anyone see the new benchmarks for Asp.Net Core, it is pretty quick.
 
user47589
we all are, @CharlieBrown
 
6:22 PM
To all stupid put all Google in your [REDACTED]
Marty has a DeLorean
 
in my infinite wisdom i decided to make something better at work
 
Wise.
 
i think, my brain occasionaly forgets that most people dgaf and are super lazy
so these things usually end in disappointment
 
There is a war on stupid.
 
user47589
Indeed there is.
 
user47589
6:27 PM
And stupid lost.
 
There is a war going on for your mind
 
user47589
But it will be back
 
user47589
and with a stupider question
 
I watched, in pain, while a QA tester manually tested a rest api we just wrote as part of an "acceptance demo"
 
@CharlieBrown what do you mean by manually? :(
 
6:28 PM
it took over 30mins and he made about 10 mistakes, and forgot about 4 different tests
@JABFreeware yeah, right
 
sad
 
So, in my "wisdom" I created a REST api test harness that reads scripts (cucumber) and runs tests automated. I recreated that demo with 1 file and 20 lines of code in about 10mins
the response: "In the interest of time, we are going to keep doing it manually, since thats what we know how to do"
 
@CharlieBrown I think we work for the same company
 
¯(°_o)/¯
 
@CharlieBrown
fuck
well
this is for you
wear that
 
user47589
6:30 PM
i love it
 
@StevenLiekens working from home, so it might not have the same affect, but yeah
 
they still think its okay to use a google dog to keep track of bugs and EVERYTHING and wonder why things get disconnected and lost etc etc. They don't believe in QA either. Not thorough QA which if its not thorough don't bother in the first place if you ask me.
 
user47589
my company doesn't believe in QA either.
 
user47589
or project management
 
google doc not dog
whoops
 
6:31 PM
We write the software behind your healthcare. so yeah. thats why this shit costs so much
 
I want a Google dog.
 
@CharlieBrown so YOU'RE the reason
I knew it
@Amy the customers are our QA testers
 
Our developers also do QA. Unfortunately, if you find a bug, there's a good chance it won't actually be fixed.
 
our bugs only have one purpose
blackmailing the business into paying us more money or watch their systems die
 
the problem is the underlying framework used. You change something and a bug is introduced on a page no one knew about and completely unrelated.
 
user47589
6:33 PM
"nice systems you got there. be a shame if a bug went... unfixed."
 
they don't actually get fixed
they get made obsolete by other buggy features
 
@StevenLiekens seems like a business with a bad exit strategy
@StevenLiekens we actually have parts that no one has any idea how the hell it works but it "just does" even though it shouldn't.
but there is "not time" to fix all of those
 
Hi !
 
@Cth103 Hi, welcome to the room where we have won the war against idiocy, specifically stupid questions.
whats your question?
 
How to make a drag and
drop text on console app ?
 
6:39 PM
 
>drag and drop
>console app
Abandon hope
 
ok
thanks anyways
 
You're asking to make a plane that swims
but of course
anything else?
 
user47589
console apps don't support drag and drop.
 
ok
 
user47589
speaking of, "The Machine of Death" is a great read.
 
That was a good book.
 
user47589
yea
 
6:42 PM
whats it about
 
Didn't they make a sequel?
 
A Machine
Of Death
Pretty obvious really
 
Imagine a machine that tells you how you're going to die.
 
user47589
it's about the effect of knowing how you will die on society
 
three different answers
 
user47589
6:43 PM
it doesn't tell you when, and it can be very vague or very specific
 
Then stop imagining it, because there's already a book about it.
You could get "old age", then get hit by an elderly driver next week.
 
@Amy I accept your answer
thank you +1
 
user47589
i haven't read the second one
 
user47589
IIRC all of the stories in the Machine of Death books were user-submitted.
 
user47589
every story has a different author
 
6:45 PM
I see I can use the partial keyword to break a class down into smaller pieces. But since my files' names are the classes' names, what should I call other files that have partials?
 
Most of them are pretty good.
 
Good Day sires and ladies
 
Oh boy this is gonna be good.
 
@catgocat I name them like:

MainClass.cs
MainClass.Hats.cs
etc.
 
I have a file Book.cs with the class Book, when I break it down and create partials, what do I call the new files?
Why Hats?
 
6:46 PM
Like, what that file deals with.
 
user47589
call it whatever that partial deals with.
 
Oh ok
 
You should split your class into logical parts.
 
user47589
MyClass.SubjectA.cs
 
user47589
MyClass.SubjectB.cs
 
user47589
6:47 PM
whatever
 
Got it
 
Or just name them whatever. The compiler doesn't care.
I name mine after coworkers I fancy.
TypeMessageEnterpriseFactory hasn't noticed my advances yet, but it's only a matter of time.
 
user47589
you need to call senpai.Notice(Me);, @GrantHill
 
I dunno, all this event-driven programming sounds like nonsense.
 
user47589
if that's how you feel, Senpai will never notice you
 
6:54 PM
ha
 
ha
 
user47589
oh
 
pony
 
user47589
6:57 PM
catgocat broke the combo of monosyllabic utterances.
 
user47589
i propose we toss him into a lake.
 
what lake?
 
user47589
any lake will do
 
lake of spaghetti
 
knees weak
 
6:59 PM
palms are sweaty
 
arms spaghetti
 

« first day (2082 days earlier)      last day (2860 days later) »