« first day (4303 days earlier)      last day (864 days later) » 

03:04
@ErikDarling No you - Spiderman Meme
 
4 hours later…
07:01
Image upload still working
 
2 hours later…
09:27
Well done all around
09:44
Oh, you again 🙄
10:08
🤡🤡🤡
> Though EF generally can't detect all possible patterns and optimize everything for you; using an ORM doesn't mean you can forget about perf and not examine your queries.
No shit
I'm sure adding an extra magic lambda would fix it tho
 
2 hours later…
12:02
A full plate is no excuse not to eat your vegetables
12:17
@PaulWhite I actually like this statement, the obviousness is good for developers who know not much about the database side and the subgroup of them who think it's easy because they never wrote more than a simple SELECT statement. EF / ORMs take an object-oriented approach to help automate the database side for you, and when a team at a company like Microsoft admits it's not perfect, it helps show the complexity of the database side IMO.
That's not to take away from the fact that the EF team does do some questionable things, and there are obvious improvements that can be made to the framework though.
No shit
Oh, you again 🙄
Sorry thought we were repeating things already said today. 😉
2 hours ago, by Erik Darling
🤡🤡🤡
Full circle, thanks! I can go back to sleep now. 💤
Oh, were you awake?
12:24
Are any of us ever?
Some more than others
Especially with the possibility of living in a simulation like the matrix.
Fun fact, the more edits you see me make on one of my answers, the more asleep I was when I thought I knew what I was talking about when I originally wrote it.
> ... using an ORM doesn't mean you can forget about perf and not examine your queries
I suppose the part that bugs me most about that is they're not my queries
Perhaps the world would've been a better place if EF had stuck to automating trivial SQL
Having seen what it does to modestly complicated selects, I dread to think what 'bulk updates' will bring
It's certainly ambitious to generate SQL for such thngs
Whether it is wise?
I do understand it is fun and easy to write LINQ and whatnot
Though it looks simple (ish) on the surface, the amount of iceberg under the waterline is shocking
Well it's ironic too... I just caught up on that Twitter thread. And your point: "Point was people will write code like the example" alone is funny because the EF Team could've just used a better example in their screenshot, and avoided being called out on this one. The irony is Shay's reply admits this "You can easily get the query to use an index by writing your LINQ query with...".
Yes, exactly. You'd think they would know how to write a decent example
What hope for the newbie developer
12:32
So maybe should they put more thought in their examples, there would be less opportunity for 🤡ing.
Anyway, I'm glad you read the thread after taking the time to share your thoughts first
I look forward to the nth edit
Hahaha. I was hoping what you quoted was at least a reply from someone on the EF team when I wrote the reply, otherwise I'd just be talking out my ass which tends to happen when not enough 💤
EF'd up is a common enough phrase
😆 nice
12:46
I thought the whole point of EF was that you wouldn’t have to examine the queries you don’t know how to write because you’re using EF to generate queries
12:58
Now we’re back to needing developers with somewhat advanced database knowledge as well as necessary development skills etc.
So like… where’s the beef?
Arby's
@ErikDarling Yea and Paul may be right, that EF should've stuck to only generating SQL for simple queries, let the rest of them be sorted out on the client side instead. Or more so if they spent more depth on making a couple of specific generated query situations better in each iteration, instead of a breadth approach of doing it all not so well, they might've been better off.
13:37
Right, they stuff like “it’s perfect for 90% of simple crud apps” but 90% of simple crud apps don’t need all the bells and whistles and lambdas that they glue in
Even worse is that these advanced features are written in by people who don’t seem to have practical database experience
@ErikDarling Yea that's been my biggest gripe. Going back to that weird ROW_NUMBER() in an ORDER BY clause to "fix" a nondeterministic sorting problem in EF 6. Like anyone from the database team at Microsoft could've taught them why that doesn't actually work easily. I really don't think the two teams communicate.
There’s no communication anywhere. Look at any application developed at Microsoft that talks to a database. Dynamics and SharePoint are disgraceful.
Lol the joys of Dynamics and ERP systems in general. I've never seen one not written terribly.
To be fair I believe Microsoft acquired AX from some small shop in the middle of Scandanavia? or somewhere and it was already poorly written.
> And this is why I require example output in my code reviews. This would be rejected
Wait, so people want example SQL generated by EF for code reviews
What is going on
1 hour ago, by Erik Darling
I thought the whole point of EF was that you wouldn’t have to examine the queries you don’t know how to write because you’re using EF to generate queries
Also, just been reading some of the open issues for async and Microsoft.Data.SqlClient. There are some real problems there.
Iceberg under the water
>⚠ Warning

The async implementation of Microsoft.Data.SqlClient unfortunately has some known issues (e.g. #593, #601, and others).
14:04
@PaulWhite it’s the end of the world as we know it
About time too
> While high-level layers and O/RMs such as EF Core considerably simplify application development and improve maintainability, they can sometimes be opaque, hiding performance-critical internal details such as the SQL being executed.
Shocking news from the world of science
They should've warned us
I was told lunch would be free
14:42
It was until you started paying for it
14:53
@PaulWhite I've heard people claim NoSQL simplifies application development too. 🙃😆
2
 
4 hours later…
18:28
Cricket chat part 2 over here
 
2 hours later…
20:26
🏏🏏🏏
🏉 🏉 🏉
 
3 hours later…
23:15
Is that supposed to be a link to a Post or a Profile?

« first day (4303 days earlier)      last day (864 days later) »