« first day (4301 days earlier)      last day (865 days later) » 

00:00
@Charlieface All things are possible with CLR. 🙃
 
6 hours later…
06:27
Morning
@Charlieface Maybe if you captured it with XE and then read from the XE in another session
06:40
Morning
Is leaving answers in the chat even worse then answers in the comments?
Maybe questions in the chat
17
A: Image uploading fails with "Failed to upload image; an error occurred on the server"

KyleMitUpdate It's not DNS There's no way it's DNS It was DNS This issue has been remediated. We've manually updated our DNS records to make sure the image upload service resolves correctly. It's currently just pinned to a box and we are working with the vendor to make sure we have the appropriate e...

Confirmed fixed
And there was much rejoicing!
I'm afraid to click
@PaulWhite where are the hobbitses?
inside eating nth breakfast
Or asleep now cos it's dark
07:57
@ErikDarling Why did they bother writing that
@PaulWhite I don’t know, but they got paid for it
@PaulWhite send in the clones
Oh right, desktop site to upload
Seems to be on fire
A foggy day sir
Don't be silly; fog doesn't burn
I’ll have to run some more tests
 
3 hours later…
11:37
@Zikato @SeanGallardy more drama in the chess "cheating" saga: spiegel.de/international/world/…
Things still going well in the UK I see
New Finance Minister sacked
> It means Kwarteng is the second shortest-serving UK chancellor on record. The shortest serving chancellor, Iain Macleod, died of a heart attack 30 days after taking the job in 1970.
Election by Christmas?
11:55
popcorn.gif
12:22
@PaulWhite one can only hope
@PaulWhite I have a question regarding that comment by Conor (now incorporated in Charlieface's answer)
> The non-ANSI FROM clause (which you are using here) has specific binding behaviors ...
Is there an ANSI FROM clause option in SQL Server for UPDATE that involves 2 tables or more?
oh, a correlated subquery would be ANSI I guess
@PaulWhite That's not how it works. There is no way to force an election if there is a majority against it in Parliament.
@ypercubeᵀᴹ I don't think so. ANSI demands that an UPDATE have no FROM etc, just UPDATE table SET ... WHERE ...;. See also this answer
1
A: What are the scoping rules for UPDATE when mixed with a JOIN?

CharliefaceThe documentation calls this out specifically: FROM <table_source> ... snip ... If the object being updated is the same as the object in the FROM clause and there is only one reference to the object in the FROM clause, an object alias may or may not be specified. If the object being updated appe...

@Charlieface Yeah, I know. But you could rewrite an update like
You can have multiple references to the same table in the same scope, but all of them, bar one at most, must have an alias. In the top line UPDATE table the table being updated cannot be an aliased table unless there is only one reference to it.
UPDATE t
SET ...
FROM a WHERE (join predicate) ;
12:35
I don't believe that's ANSI but feel free to correct me.
to
UPDATE t
SET t.col = (SELECT ... FROM a WHERE (join predicate) )
WHERE EXISTS (...) ;
And the other option would be using an updatable view (or derived table or cte)
UPDATE
( SELECT ...
  FROM t JOIN a ON ...
) AS upd
SET upd.col = ... ;
@ypercubeᵀᴹ Yes, exactly
But neither of those suffer from the "multiple references" problem, as they are in different scopes.
@Charlieface Yeah, I know. Forcing another change of PM might conceivably lead to the government losing a vote of no confidence
@Charlieface Yeah, I agree. One problem with the OP's query is the multiple references (not using aliases)
12:40
There's some sort of comedy note in the docs about UPDATE with ambigous references caused by a CTE, I believe.
@PaulWhite Highly unlikely, IMO. Tories are way down in the polls, so a large number of MPs would lose their seat. So why would they vote that way? Why not wait til the polls hopefully go back up?
Binding is basically done by object id, and CTEs don't have one of those
@Charlieface It might be highly unlikely. Many highly unlikely things have occurred in recent times, not all of them appearing to have a solid rational basis
@ypercubeᵀᴹ At least in SQL Server an updatable view cannot have a join (although it can use the aforementioned WHERE subqueries).
CTEs can indeed be updated, the rules are the same as for updatable views.
@Charlieface A view with a join can be updateable. The update must resolve to a single base table though.
2
Regarding CTEs and object IDs: docs.microsoft.com/en-us/sql/t-sql/queries/…
> When a common table expression (CTE) is the target of an UPDATE statement, all references to the CTE in the statement must match. For example, if the CTE is assigned an alias in the FROM clause, the alias must be used for all other references to the CTE. Unambiguous CTE references are required because a CTE does not have an object ID, which SQL Server uses to recognize the implicit relationship between an object and its alias.
> Without this relationship, the query plan may produce unexpected join behavior and unintended query results.
@Charlieface Did someone say otherwise? Or a non sequitur?
@PaulWhite but... now it's expected
@ErikDarling Your mom is expected
It's quite easy to shoot yourself in the foot with UPDATE FROM and it doesn't warn you about ambiguous updates like MERGE does. But most sensible people don't write those sorts of queries. It's possible the drama around UPDATE FROM is overblown.
Doesn't stop people having very strong opinions about it ofc.
Someone, possibly Hugo, tried quite hard to get the syntax deprecated at one point.
@PaulWhite beats the alternatives
@ErikDarling Yes, she does.
Has the fog lifted yet?
Or has whatever was on fire been put out, I suppose
12:55
i think i preferred the fog though
Oh? Not a nice sunny day now?
I don't see fog v often, but I seem to recall it's usually followed by sun
Might be wrong
Fog is way more goth though
Ugh. Lead grey.
Fog literally lifted eh.
yeah, fog has a charm to it
Especially around graveyeards
12:58
this view might as well be manchester
build another grey building
i have a sales call in 30 minutes
and then we're going back out drinking
You and your real database buddies?
i have to be up at like 6am or something to catch my flight
@PaulWhite if that's what we're renaming the heap, sure
Ah, cool
13:01
too much time in utrecht
not enough time in amsterdam
should have left a day earlier
Flying back via London or Zurich?
Ooo la la
Seems to be about an 8-hour flight, which isn't too bad at all
Jeremy Hunt is the new UK finance minister
Sounds like rhyming slang
Yeah it’s a tolerable flight. Just boring.
No bed?
13:06
Yeah bed but I can never sleep on planes
@PaulWhite Sorry misunderstood your comment about CTEs.
Ah, ok
What’s the point of this.
yesterday, by Paul White
Communication is a skill
People are just insanely bad at expressing themselves
I don't doubt they have a valid question. Just have no idea what it might be.
It sounds like they aren’t curious enough to read all that wonderful open source code themselves
Or download Postgres and try it
Just curious enough to let me know they’re curious
I wonder if they’re expecting an answer
Hm
13:21
🤣
In fairness, there wasn't a question mark.
So probably just letting you know their status, yeah.
@Zikato Thanks for sharing this, I had never heard of it. I can only imagine how difficult that must be for your family.
2
14:07
Alright lads, sales call is in the bag and I think we should join it
Let's do it.
What are we selling?
14:32
@ypercubeᵀᴹ Interesting. I don't know man, it's weird... like that article he goes out of his way to say Hans is rude and mean and over the top... and then says Magnus was mad that Hans was so relaxed and calm the whole game... so Magnus shouldn't notice that Hans is acting 100% not like himself? I'm not saying Hans did or didn't cheat, I think it's interesting that lots of "little" things add up.
@PaulWhite Better than his brother, Mike.
@JoshDarnell Thanks, Josh. It takes a few hours each day to go through the exercises, etc. The exercises themselves are quite short, but the persuasion to start and do them properly is a pain.
@SeanGallardy I mean, I think it's pretty clear that he has cheated a lot more than he said
@Lamak Oh, agreed.
The fact that both of them were caught multiple times before doesn't help their cases, either.
It doesn't mean they did cheat in this case, just isn't helpful.
@SeanGallardy the post mortem of that previous game was just too weird, I can't think of any sensible explanation other than hans cheated
I thought some of those arguments were quite reasonable. Like saying the chess.com is the only arbiter of cheating. But I don't recall the other information
14:38
@Lamak Especially given the interview he did... where he was so off on the moves.
@SeanGallardy exactly
Yeah it's all over not great. That article Ypercube linked makes it sounds even worse coming from the dude himself, he's like "oh yeah they accused me of cheating so I made a false confession"
like... what?
Are you being executed?
lol
No. They ban your account. Ok. Is that your only income source?
No, it wasn't. In fact in the article he makes fun of winning $500 as though it was nothing since he "charged more for chess lessions"
He makes a point and then a paragraph later, destroys his own point.
Again, not saying that makes him guilty of the accusations, but it's not helping him either.
@SeanGallardy a lot of people argue like that
14:44
@JoshDarnell magic
Maybe he’s playing a different kind of chess now
Interview chess
Clearly not an international grand master
You never know
Setting a trap
Playing the ultimate fool
@Zikato I bet. Hell, it's often difficult to convince children to do things that they need to stay alive (eat, drink, sleep). Much less something that's challenging for them.
@ErikDarling Getting into the ORM game huh?
15:04
Haha nice.
🫠🫠🫠
15:49
Ok, this vendor call is excruciating ("We use Mongo as a backend!") and it's getting close to winter so I'm a hobbit so I might be around here again more
@Lamak is there a video with that post mortem? I haven't seen it, only read about it.
@SeanGallardy that is weird, yes. But then, the whole chess.com procedure to catch cheaters is like "we checked and analyzed your games, we found indications of cheating, we ban your account. If you want to re-open it, confess and everything is confidential."
What can a player do in this case (assuming he didn't cheat.) Start a long and tedious law procedure to prove he is not an elephant? Go public?
I wouldn't confess to cheating but some people obviously thought it was a not the worst choice at that point.
16:31
Yeah, it seems very much like a no-win situation.
@bbaird next time send it to voicemail
@ErikDarling If only Zoom had that option
Ah well Chinese spyware
17:02
@PaulWhite especially in someone else's native language
@ypercubeᵀᴹ Totally get it, but also it's their platform 🤷‍♂️
of course. but they also choose to reenact the ban (on their online platform) a few days after Magnus made his half-accusation against Hans (for an over the board match) and when he went public about this second ban, they chose to make these old allegations (2 years) public and make new accusations public (I presume without contacting the accused in adavance)
I don't claim that Hans is or is not a cheater. But since these allegations were made public, half the chess world is convinced that he is a cheater and that he did cheat against Magnus
17:39
stupid vote to close daily limit
Note to self: do the queue AFTER you read all the new posts
Robbie Coltrane died.
@ypercubeᵀᴹ Totally get it, it's hard (just my opinion) since both have a history (real or not) and it's hard to get rid of the past like that. I agree it doesn't mean he did or didn't cheat this time. If it's warranted to bring it up, then sure, I don't think they should have done it just because Magnus said something. Due diligence should be completed (and the report wasn't really... yeah) before actions taken.
I wonder if Hans has contacted lawyers and what they would advise.
 
2 hours later…
19:16
The first thing they would normally advise is to shut his mouth. Shit, I should probably give legal advice.
19:42
😂
 
1 hour later…
21:00
On a trace, for a long-running statement (like a report for an SSRS query), the EventSequence is related to when the event got logged? But not necessarily the StartTime or the EndTime. Like the sequence number comes long after events that started at the same time and after events that ended later.

« first day (4301 days earlier)      last day (865 days later) »