« first day (3402 days earlier)      last day (1545 days later) » 

12:59 AM
Any ideas why json deserialization isnt working here...
https://gist.github.com/bigteejay/35dcf80c31041ab2da10204b6d560e10
 
 
1 hour later…
mr5
2:03 AM
@t.j. casing?
 
2:20 AM
yo yo yo
 
@mr5 - I cant imagine that is the case issue, as by default .net translates between the styles well otherwise?
@mr5 - crap! it looks like you're right!!
weird that it isnt an issue elsewhere ([FromBody] handles it just fine)
 
mr5
Are you using Newtonsof... oh
It's the new System.Text.Json
 
correct
 
mr5
Haven't used it cause we know it still has a lot of issues
 
bug... but mine (or theirs)?
 
mr5
2:26 AM
theirs
We tried to port our new project to it but there are several features it still missing.
Probably need another more year for it maybe?
 
gotcha... i thought that could be, but seemed so unlikely that i would be the first to encounter it
gotcha... thanks so much, you saved my sanity :-D
 
mr5
Just be careful if you're going to use this in production.
welcome :)
 
if you comment/answer here, i'll accept it so you get credit (otherwise, I'll answer it myself)... stackoverflow.com/q/60123376/3246805
 
mr5
nah I'm too lazy :D
 
lol, k
look what i found via suggestions when submitting the issue... github.com/dotnet/corefx/blob/master/src/System.Text.Json/docs/…
 
 
2 hours later…
4:55 AM
@t.j. The doc pages might be helpful as well.
Specifically https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-migrate-from-newtonsoft-how-to#case-insensitive-deserialization

Regarding the discussion from the chat above (quoted here: "weird that it isnt an issue elsewhere ([FromBody] handles it just fine"), that's because of the default options are configured differently within aspnet: https://github.com/dotnet/aspnetcore/blob/a6bc6ce23dad5a9d02596cf2e91e3c4f965c61bc/src/Mvc/Mvc.Core/src/JsonOptions.cs#L15-L29
 
 
3 hours later…
9:18 AM
@CaptainSquirrel I work sundays though instead
 
9:58 AM
So my EFCore says OnConfiguring cannot be used to modify DbContextOptions when DbContext pooling is enabled
How do I configure my EFCore then?
Automatically scaffolding from my db created the OnConfiguring, so I'm not sure what to change
 
Disable context pooling and you'll probably be good
AFAIK efcore uses the connection pool anyway so it shouldn't make a difference
 
So instead of using .AddDbContextPool for DI, I jsut use .AddDbContext and still get transient contexts?
 
10:31 AM
Yeah
Sorry about the slow lol, I'm in work doing our first server updates in months
 
10:53 AM
Dont worry about it. I thought you worked sundays to thursdays, so this is like me going to work on a sunday for you. Why?
 
Why what? the updates?
If so, our parent company decided to to their updates today, so we're doing the same.
 
mr5
11:46 AM
!!!!
Look what I've found!
FREE ANIME!!
@RoelvanUden
Currently watching: O Maidens in Your Savage
Ha! I know which thumbnail you clicked
Is badbye (opposite of goodbye) a common thing in EU?
 
Never heard 'badbye'
@CaptainObvious are many people in your company working sundays to thursdays?
 
12:13 PM
Nah it's just me
Other people work on differing patterns, and some people to Monday-Friday
I'm the only person who consistently does sunday-thursday
Have done for nearly 4 years now
 
"Different patterns" meaning like "alternating 4- and 6-day week" and "Thursdays to tuesdays"?
 
@mr5 I've also never hear it. Probably just "bye" in a narky tone wopuld do the trick
Nah like they might do sunday instead of wednesday one week, then work the wednesday and have the sunday, then maybe the next take the monday off
or whatever
 
That sounds like something my boss would only allow when he's high
 
..its a good way to have a person available on the weekend.
 
12:28 PM
Absolutely
Especially since we're a SaaS provider and therefore technically have users on the weekend
B2B Saas provider, but still
 
mr5
I thought SaaS was the CSS thing
 
Software as a Service
There is something called Sass CSS I think
 
mr5
Yeah. We were discussing about Sass last Friday and I thought that's what you mean. lol
 
Ah I see
We're using Sass in our application, so there must be some use. Think we use it for parameterizing color themes for customers. Some customers have their corporate colors in our application.
 
mr5
Ah b2b template websites
 
12:40 PM
No no, we actually provide the whole application
Just some companies go "here's lots of cash, make it green!"
 
mr5
Is your company a software solution type?
 
Do you know a website you can go to and compare insurances?
In germany we have check24, not sure if that is international
We're like that but for insurance brokers
Or mostyl insurance broker pools
Companies with dozens to hundreds of insurance brokers
 
mr5
What is insurance brokers?
 
Do youi know somethingl ike check24?
 
mr5
I'm actually ignorant in those kind of stuffs 'insurance'
Never enrolled to it.
 
12:42 PM
What do you do if you seek insurance?
 
mr5
nope
nothing
 
You have no insurance whatsoever?
Wow
 
mr5
Ahm, I don't know. lol
Where do you apply one?
 
In germany, health insurance is obligatory
 
mr5
Oh.
Health insurance.
 
12:43 PM
You're usually insured alongsidew your parents, until you are too old, then you msut get your own
 
mr5
I think I have something like that but I'm not sure. There's this section in my payslip that I never bother to acknowledge
 
Similar for cars: To drive a car, you must have car insurance
 
mr5
Insurance is to save you a lot of expenses right?
In case you destroy something or you died so your beneficiaries will have some money
 
Yes. You pay a fixed price, and they pay when something actually happens
yes
health insurance pay your doctors and hospital visits
car insurance pays if you destroy something on your car, or with your car, for example other cars
 
mr5
Ah. I think our company has something like that. When I die, my company will hand out some money to my beneficiaries. Lol I just remember it right now
 
12:47 PM
That's life insurance
 
mr5
But I'm not so sure about the health thing or even the hospital thing
 
We usually have health insurance and liability insurance, other stuff you only get when you have enough money
Well who pays your doctor?
 
mr5
I just accept that when I get a cancer, I'll be broke or just die.
 
But when you break an arm?
 
mr5
I don't visit doctor personally but we have an APE
When I break my arm, I'll just suffer at home.
 
12:48 PM
I have no idea what an APE is
 
mr5
Annual Physical Exam.
That's the only time I see doctors
Or the medical requirements when I'm applying for a job
 
When your arm has a 90° angle that's not supposed to be there, you suffer at home?
 
mr5
Luckily, I don't get sick so much. Never had a broken bone.
 
I see you have a similar relationship to insurance as the USA.
 
mr5
Well, maybe I'll see a doctor and see if I can pay for it.
Yeah, I'm living in a developing country after all or maybe I'm just too ignorant about our healthcare system.
And Americans have a lot of influence in our culture so maybe that's the reason we have a similar system
 
12:58 PM
I like our healthcare]
I'm going to see my doctor on monday morning
 
mr5
For what?
Are you sick?
 
Mentally yes
 
mr5
Therapy?
 
Not yet,
I very rarely go see my doctor though
 
mr5
Are you going to get examined? Biopsy? Xrays?
 
1:03 PM
Prior to a few weeks ago, I would probably go like once a year
And that was for other issues relating to my nose
 
I gotta go to the doctor too, 3 of my fingertips have been really, really dry for like a year now and I can't change it.
It even hurts sometimes.
I'm jsut too lazy to actually call and make an appointment
 
mr5
So do you call the doctor "my doctor"?
It means, you're close to that person?
 
Just the "standard" doctor I go to when there is like...something wrong.
 
mr5
Or is that how they are normally called there?
Do you chitchat with the doctors?
 
other, specialized doctors aren't "my doctor"
Usually not chitchat, they dont have time for that^^
 
mr5
1:10 PM
So that flow is like robotic?
 
No, rather...professional.
When I fix your PC, I'm not talking about last night in the pub either
 
mr5
"I have issues in my fingers"
"Okay, drink this"
"I'll leave now:
and that's it?
 
yeah basically
 
mr5
ohhh
I'm alien with doctors
 
Although of course, when I fix oyur PC, I'll have to go "so which porn site do you usually visit?" and "Have you updated your windows lately?"
 
mr5
1:13 PM
lol
Do you go on an extra mile also when explaining something?
I often find myself doing that. Can't help it.
 
only when it's relevant
 
mr5
Then people will just disregard what I say.
 
I usually try to keep it short, tehy will ask if they need further information
Like "do you have sex regularly?" I'd go "Yes"
 
mr5
Happens too often lol
 
then the next question will definitely be about "how many partners?" which is "only my girlfriend".
 
mr5
1:14 PM
"So, did you wipe your laptops keyboard every after..."?
 
lol
Gotta go to the supermarket, cya later
 
mr5
o/
going to eat too o/
 
 
2 hours later…
2:50 PM
@Squirrelkiller Your hand doesn't count killerino.
 

« first day (3402 days earlier)      last day (1545 days later) »