« first day (3180 days earlier)      last day (1773 days later) » 

1:00 PM
For example, say you have an Azure SDK library, and you expect some object with a property clientId which should be a string.
What's going to happen if the HTTP response comes back with a null instead?
 
I need a little help about authentication. I have a setup like client talks to a web api 2 backend. That backand have an auth server possibly on other server. So I installed oauth 2 and openidconnect. Is it my backend web server will be introspection point?
            app.UseWhen(context => context.Request.Path.StartsWithSegments(new PathString("/api")), branch =>
            {
                branch.UseOAuthIntrospection(options =>
                {
                    options.ClientId = "Mirtusz4gAuthWebService";
                    options.ClientSecret = "secret_secret_secret";
                    options.RequireHttpsMetadata = false;
                    options.Authority = new Uri("http://localhost:58084/");
                });
            });
 
so whenever client asks for auth, it will use localhost:58084 as auth server?
 
private Expression<Func<PmsEquipment, int, int, bool>> moveDownPredicate = (equip, oldPos, newPos) => oldPos <= equip.SortOrder && equip.SortOrder <= newPos; dunno why, but i find the => oldPos <= very funny!
 
@Squirrelkiller how the hell are you making 35k already
oh wait yeah spain shit salaries
 
1:06 PM
Buenos tardes
 
Buenas*
 
las tardes, gracias
 
gutten... bitte
 
mr5
 
Well I'm just that good
 
1:06 PM
IDK the word... guttentag?
 
der dag = el dia
 
CIAO
 
mr5
Why would someone assign PI a value other than its actual value?
 
tarde = Nachmittag (afternoon)
 
BUONA SERA
 
1:07 PM
tarde = female, nachmittag = male becuase Mittag = male
 
@mr5 I understand that's the kind of problem that shows if the kid knows what pi equals, while also refreshing how to calculate a volume
 
REGAZZI & RAGAZZA
 
el mediodia, el...despuesmediodia, ouchi
 
Oh I got a story, I had an interview at Madrid
 
i like italian
SO PALARE IN PO IN ITALIANO
 
1:08 PM
Madrid is the capital of Spain for the record
 
@HéctorÁlvarez are you @CaptainObvious?
 
mr5
@HéctorÁlvarez is it common to replace value of PI?
 
@Harry Obviously I'm not.
 
mr5
Muchas Grasas! Dora the Explorer!
 
I feel a bit degraded by Hector thinking I needed that explanation
 
1:10 PM
@Squirrelkiller i think he thinks we're idiots
 
I'm trying to develop the story here, don't rush it.
 
tbf he wouldn't be too far off
 
the capital fact was for background, because the actual fact I wanted to bring up on the table is that rent costs go up from 600€ to 1500€ (per month)
so this lady approaches me all inquisitive asking left and right, then the moment comes: "What's your current salary?"
I gave her a range more or less
 
mr5
@ntohl that's highly abstracted but I believe it just manipulate the header part of the request. If you're like me who wants to look what's happening under the hood, search for the plain http request that abstraction does.
 
and she's back "oh well, we can't pay you that much"
And here I'm thinking "b*tch you want me to move to the capital where costs are 3-4 times more expensive and also want to pay me less?"
 
mr5
1:14 PM
@HéctorÁlvarez now she will use it as a basis for your payment
 
I said kthxbye
 
mr5
@Squirrelkiller what does tbf stands for?
 
to be fair
 
@mr5 I want to keep the right amount of abstraction. I just want to install the minimal amount of nugets, which will keep me going
 
to put this in numbers
 
mr5
1:16 PM
I mean the library you're using is highly abstracted that's why I advised you to look what it does uth
 
let's say you're broke as a VB6 senior developer, you'll have to pay for a room, not an appartment.
that's 800€/month, and you'll have to share room with roaches.
 
WHAT
WHAT THE **** IS WRONG WITH THAT
 
800x12 = 9600€
 
obviously, VB6 was the part that was wrong
 
not the cost, the ROACH COMMENT
 
1:17 PM
this lady wanted to pay me 22k, so...
22000-9600 = 12400€
 
22k net?
 
you take 15% off the base payment due to taxes.
22k gross
 
ew, gross
 
that's 3300€ less
 
could be worse, you could live in england and have to pay 24% in tax and national insurance
 
1:19 PM
9100€ remaining
you can cut off 2000€ worth of food over the year
 
mr5
I'm paying ~150USD / month for a solo room with cockroaches and rats
 
another 1000€ for transport
 
@mr5 sounds like a steal
 
oh and if you want to have a heater, that's an extra 50€ per month
bills
 
I am paying €24 a month for a solo room
 
1:21 PM
where the hell are you living, 1865?
 
At the end of the day, you'd better do yoga or shapeshift into a gladiolus, otherwise you'll lose money
 
but I know someone who pays €200 per month for a mansion
 
oh and beer + snack = 8€
 
oh, and free electricity, gas and water
 
@Harry Solo room being
 
mr5
1:22 PM
@Wietlol is this for real?
 
ignore me
 
-_-
 
@mr5 pretty much
 
@Wietlol Did you buy the house in Solitude or is IRL because I smell troll poo
 
mr5
1:23 PM
@MadaraUchiha I call Harry
Ohh
 
@HéctorÁlvarez it is as real as I am
 
mr5
That make sense since Wiet=Harry irl
 
Lion = Roach
 
mr5
And we also have another Harry here (which is Wiet 2nd account)
 
sure
wut?
Harry = Harry = Wietlol?
 
1:24 PM
why does everyone think we're the same people
 
5 hours ago, by Captain Squirrel
Those may or may not be Wietlol's stairs
 
im not wietol
 
because lions and roaches are similar
it is easy to confuse them
 
mr5
I saw ur email bruh
 
then why do you take turns to write messages? huh?
 
1:25 PM
I have 27 email addresses
and 29 of them are fake
 
im disappointed that you didnt notice them misspelling of your name
 
@Wietlol Antlion or roachlion?
 
MajesticLion
 
gr8 b8 m8 i r8 29/27
 
or Lith-ion
 
mr5
1:26 PM
@Harry proof. We need proof
 
@Harry take a selfie, if you is lion, you is me
 
oh crap it's 15.26 I'm ouuuut
 
here a small apartment would be 500 eur/month. The avarage salary is 750 eur/month
 
yes ill show some random stalkers online my face
 
wut? where do you live
 
1:27 PM
the northern hemisphere
 
Hungary, Budapest
 
ok
 
the only numbers catching up to the European avarage is the cost of housing.
 
mr5
I am about to move to another location which cost a little less but I need to have 1 month advanced and 2 months deposit. Is this how renting works in Europe too?
 
kinda
 
1:29 PM
yes
 
mr5
Damn. Is bedspace an option also there?
 
In JS, do I always have to go
for(var o in objectArray){
  o = objectArray[o]
  ...
}
?
Why not just give me the damn objects
 
War
@Squirrelkiller write your own loop iterator
 
because an objectArray is an array of an array of objects too. It only depends on this for how it's read
 
But the array is [] and the objets are {}
 
War
1:39 PM
I use my own extension method ...
var foos = getsomeArray();
foos.forEach(function(foo) {
       ...
});
I get on so well with linq i implemented that in JS
gets rid of a lot of drama
 
ForEach isn't LINQ though afaik
explicitely so
 
War
I did the same in C# so i can do this in IEnumerable<T> instances ...
enumerable.ForEach(i => ...);
i figure by now looping over shit should be this simple, more so when i usually don't care about the indexes
 
Did you use yield return, or do you go through the whole thing before returning? We did it with yield return and something stupid happened because of that.
 
War
something stupid happened ?
mine doesn't use yield return
although that is a good idea for Enumerables
 
mr5
IList already have the .ForEach extension
 
1:53 PM
be wary of strange errors though. I don't remember what exactly happened, but we kinda returned the un-foreach'ed IEnumerable because lazy yield return and something broke because it wasnt complete.
@mr5 I'm not aware of a FOrEach on IList, can you link me?
 
i feel like people don't know the different betwean hardware and software
 
im trying to code here and my boss is like "can you use your expertise to fix the printer"
 
I mean, printers do have software problems too
 
1:59 PM
Like connecting the fucking thing over network
 
but it was a paper jamming hardware problem
 
War
@Squirrelkiller i'd be curious to know more about that
 
im like what expertise do you think i have about this model of printer that you don't
 
War
is it because of the use of Lazy<T> ... i don't have any of those anywhere in my stack
@SamuelWakeman you're "a computer guy" ... in their minds you know all there is to know once you figure out HTML
 
2:01 PM
but html is actually like the most bs easy thing. its incorporating other things into html where everything goes to shit
 
War
ah but you're the IT guy
once you learned HTML ... you simply found the rest out by osmosis or something
 
im the comptuer science full stack web dev intern that they hired to build amazon 2.0 by myself.
 
War
that's how the non IT guy logic goes
 
No Lazy<T> there, but yield return is lazy by design
 
mr5
@Squirrelkiller it's on List my bad. Here's the link: docs.microsoft.com/en-us/dotnet/api/…
 
War
2:02 PM
think of it like flat earth logic ... if the horizon looks flat it must be true ...
You look like you stuff, so it must be true
 
Ah I see. Ok but that's sync, so there's gonna be no problem there.
 
mr5
it's not even an extension -_-
 
War
@Squirrelkiller i tend to only use IEnumerables with things like data readers / typed object streams that i'm getting from things like FileStreams
 
mr5
Imagine a socket stream where you don't need to disconnect
 
(removed)
 
War
2:07 PM
that makes no sense
 
@war an apt comparison
 
Lazy<T> is evil, be carefull with it
 
2:23 PM
Good morning, Whack whack
 
2:58 PM
@Squirrelkiller I did it with yield return too... then Rider yelled at me... then I ignored Rider... then I forgot, you shouldnt argue with Jetbrains IDEs
but to make it simple, you dont have to return anything
 
3:30 PM
Afternoon. I've got a local Git commit but it's to the wrong branch. Is there a way I can get those changes onto another local branch?
 
Hey folks. I'm having a hard time finding info about backwards compatibility for Visual Studio 2019. Can anyone confirm that I shouldn't have a hard time opening a project created in 2017, modifying it in 2019, and then opening it in 2017 again? I don't want to lock out other collaborators from my project if they aren't on 2019 yet.
I would have thought this would be easy to research but apparently I'm using the wrong keywords because I couldn't find anything.
 
mr5
merge it into the target branch -> switch to undesired branch (current branch but assure it) -> git reset to specified sha1 commit --hard
 
@mr5 ta. Just done that and VS is still "completing". Am getting The Fear waiting to make sure I've done it right 0_o
 
mr5
there's nothing to fear
 
@mr5 Wish I could believe that. git terrifies me.
 
mr5
3:38 PM
git does not delete
if you just fear of having to commit this in the wrong branch, you have been misguided to what a branch actually is for
 
@mr5 No, but it does tie itself in tighter and tighter knots when you try and fix what you've messed up
Well it looks like it's worked fine, thank you. Just a bit confused as it seems to have pushed the changes as part of the switch, which I didn't expect
Or maybe not ... odd ...
 
mr5
@MattThrower are you using cli or a GUI?
 
@mr5 Mostly I use a GUI. SourceTree, although I occasionally use VS or a command line
 
4:10 PM
Hey, have any one developed webrtc application in xamarin.forms
Any available resource would be extremly helpful
 
4:34 PM
posted on July 01, 2019 by ericlippert

Last time on FAIC we finally wrote a tiny handful of lines of code to correctly implement importance sampling; if we have a distribution p that we’re sampling from, and a function f that we’re running those samples through, we can compute … Continue reading →

 
 
3 hours later…
7:41 PM
 

« first day (3180 days earlier)      last day (1773 days later) »