« first day (2044 days earlier)      last day (2887 days later) » 

12:04 AM
damn i left at a good time...the room went nuts for a while...jaaayyyzus
 
user47589
yup
 
still going through the transcript, hilarious stuff
anyway, don't mean to rehash it all, just surprised
 
user47589
there's a spin-off room, c# sanctuary, where more drama happened
 
lol i gotta go find that room
 
@ReedCopsey admit it, you just wanted to have commit status on all those files ;)
 
12:09 AM
@codeman :p nah, not really
didn't even realize that worked that way until somebody pointed it out
 
yeah, now you'll get pinged any time someone changes it :P
I can't wait until VSTS has a source control experience that is even close to as good as Github
 
user47589
yeah
 
12:24 AM
so my GF and I are getting together a group of people to do the naked bike ride for solstice in a few weeks and we're deciding on a paint theme
right now we're between game of thrones houses and fruit... I feel like fruit would be easier
 
user47589
but GoT houses would be cooler
 
anyone know what in the world an MSO is? EDiT: nvm Meta
 
user47589
still reading?
 
@Amy that is long and crazy...and unbelievably childish, and i found the other temp room
 
user47589
another one?
 
12:31 AM
no the one you mentioned, c# sanctuary
 
user47589
ah okay
 
still going through it all :)
 
1:00 AM
@Sippy can i get details for that slack channel?
or does anyone else here have them?
 
user47589
we need your email to invite. you can send it to sippy, he gave his email out earlier
 
@Amy okay, thanks
 
1:26 AM
I think Sippy got a mod to delete his email. Maybe we need a public email address where people can request to be added to the slack channel
 
@mikeTheLiar thanks, I was wondering where the heck his email was
well i guess i'll talk to him monday then and see if i can jump on to slack as well
if that group still exists
 
It does. I dunno if I have the ability to add people or not. We'll figure something out
 
@mikeTheLiar yeah, thanks for the heads up about sippy's email, i'm half asleep and thought i was just losing it :) have a good weekend
nvm found his email ;) sent him a request
 
 
2 hours later…
4:01 AM
Morning everyone. How did this room get thawed?
 
4:23 AM
@JanDvorak morning! I'd just read the transcript, and the meta post. Lots and lots of (childish) drama.
 
Rob
This room was frozen? Do you have a link to the meta thread, @Sidney? Can't see it on the front page
 
-41
Q: A cause for self moderation and query on the events of 20 May '16

SidneyEarly this morning, a regular in the C# chat room posted a crude but inoffensive message wishing everyone a happy Friday. The message wasn't hostile to anyone, it was however flagged as offensive. Due to this a moderator came in and banned the user for one hour. This was not well met by the C# ro...

 
Yeah, I was affeared for my rep until someone pointed out that meta didn't affect rep.
 
I'm wondering if I should just lurk in the C++ lounge and flag-spam it to hell.
 
Just let it go. It's what I'm trying to do. You don't yell at a cop who caught you speeding for not catching all the other bad drivers.
 
4:31 AM
But... if I manage to get the lounge frozen...
 
Rob
@JanDvorak Thanks
 
5:33 AM
top kek meta -41
what the hell
isnt this biased as fuck because the question itself is not bad
 
 
1 hour later…
6:56 AM
THIS IS COOL...
What's the question?
 
Rob
7:48 AM
@misha130 meta votes aren't for the quality of the question. It's based on agreement/disagreement
It's supposed to be biased, that's the point of meta ;)
 
 
2 hours later…
10:09 AM
@JanDvorak why would you spend time doing that?
 
@RoelvanUden Do you want an invite to the slack channel?
 
@Sippy I may want it. I never used Slack before. Ill wait and see :)
 
Okey doke
 
 
4 hours later…
2:21 PM
Anyone ??
Hello??
 
Nope, nobody.
 
Hi
 
tis but a ghost
 
Can some one point me how can I add user registration page on IdentityServer 3 ??
In there doc I found this
@JanDvorak Hi Jan
Have you used IdentityServer 3 ?
 
Nope
 
2:28 PM
I download above sample and try to run it
but it gives me a error
 
I'm sorry, I don't run just any C# code someone tells me to
 
I actually ran is3
whats the error
 
@misha130 It gives me 403.14 forbidden
I checked It has it's certificate
 
post config
I know for a fact it has a bad support for the whole custom reg/login pages
so maybe you should switch identityserver4
which they redesigned their approach of it there
i personally didnt want to mess with it ever because it honestly sucks
 
2:35 PM
I meant the server configuration
startup.cs
 
It must be run
because it is there example
But I can't figure out what is wrong with this ??
 
 
3 hours later…
5:34 PM
@JanDvorak yeah, that didn't go very well.
 
I'm still not quite sure why
 
I guess the mod didn't like the way we chat.
I totally get the certain sentences look bad out of context
 
hi. Can anyone look into this and tell me how to pass argument to params method parameter ?
 
They totally do
OTOH, not having a C# can be a real bummer for C# newbies like me
 
@karan what have you tried? What did you find when you.googled it?
 
5:39 PM
I dint google it
 
@karan Is it your intention to pass multiple int arrays?
 
multiple?
 
> By using the params keyword, you can specify a method parameter that takes a variable number of arguments.
 
yes
but we can also pass array name I think
 
Why are you using params there?
 
5:43 PM
Do you want to turn an array into multiple arguments at the call site? As in, what Ruby's splat operator does?
 
splat operator, awesome name!
:D
 
But yes, with array literals, variadic functions are mostly pointless
 
I will send one more link and let you know what I am trying to do actually
 
def method_missing(name, *args); delegate.send name, *args; end
 
I have done method overloading, but not knowing how to pass arg for params parameter
 
5:46 PM
Do you know what params does?
 
yes
 
Tell me
So, are you trying to pass a variable number of arguments to a function?
 
if you want to pass an array as a parameter, to pass list of args comma seperated and to makeparameters optional
I did that way too
something like this : dotnetfiddle.net/iLcFp1
 
Apparently I suck at Google
 
5:53 PM
if I pass variable number of args to that function, it should invoke second overloaded function and print their sum.
 
user47589
@JanDvorak nice avatar
 
@scheien: oh. I dint try in this way.
Thanks a lot.
 
You're welcome.
 
Interesting... Too magic for me :D
 
which part?
 
5:57 PM
That you can pass an array to a variadic function without any destructuring syntax
In Ruby if you call def foo(x, y, *z) with foo(1, 2, [3, 4]), z will be a one-element array
 
user47589
that syntax reminds me of the args... syntax from TypeScript, its used to capture extra arguments into an array.
 
oops, wrong language, fixed
 
user47589
hehe
 
Haskell doesn't even have variadic functions
Well it sorta does, but you have to define them as arg -> (variadic or result)
 
I think I've used params once.
 
user47589
6:07 PM
i've got params in a few places
 
user47589
but its not used much
 
I'm too addicted to my work laptop :-/ Chat on one screen, HD video on the other
Plus I've got a 2k monitor in our office
 
6:57 PM
Hello all
 
tries to focus on Finder
 
)
it is the first day as I started to learn ASP.Net MVC
 
Welcome to the team
 
thanks
 
What brings you here?
 
7:01 PM
is it possible to somehow save the value of the properties if they are not used in the view?
 
That would break your logic as soon as you add debugging
 
Let me try to create an MCVE to further explain the problem.
 
Permission granted
 
you got tempdata(until postbock) and you got session(until user session ends) to save data
if you are talking authorization then its user.identity
 
7:32 PM
I guess I don't understand something obvious
So, I have couple classes:
    public class SomeInput
    {
        public int Some { get; set; }
        public double[][] SomeArray { get; set; }
    }

    public class SomeOutput
    {
        public double[] SomeVector { get; set; }
    }
and method in Controller:
    [HttpPost]
    public ViewResult Some(SomeInput some)
    {
        var temp = "";
        if (some == null) //some always is null
            return View("Some", some);
        else if (some.SomeArray == null)
            return View("SomeI", some);
        else
            return View("SomeO", DoSomething.doSomething(some));
    }
Some.cshtml:
    @using (Html.BeginForm())
    {
         <p>Some: @Html.TextBoxFor(x => x.Some) </p>
         <input type="submit" value="Click" />
    }
The problem is that 'some' is always null.
I thought that the data should be saved
 
So, it's both an assumption and a problem?
 
Yes, it is problem
Seems, I saw an example where it worked
maybe that better so:
I saw an example where it worked, seems
not sure how to write correctly =)
maybe I need to add a call to a some standard method?
 
7:59 PM
I'm having a weird problem with XAML and wonder if anyone else has had it. I have a simple button and the content property is set to MDL2 icon. However, when I run the app, the only way to click the button is if I take the cursor near the bottom. If the mouse is on top of the icon, it isn't clickable. Anyone know why?
 
Sounds like a transparent element overlapping your button
That would be a styling issue; dev tools in your browser are your friend
 
8:22 PM
Browser dev tools won't help with xaml
 
I figured it out. I am using ExtendViewIntoTitleBar...I guess buttons in that area are not clickable?
 
9:20 PM
Is it possible to take a screenshot of a specific region in the active window, then apply blur on that bitmap using Composition?
 

« first day (2044 days earlier)      last day (2887 days later) »