« first day (3335 days earlier)      last day (1526 days later) » 

4:29 AM
@PaulWhite9 Rough start for the guest team.
I don't think the match will be played for the rest of the day.
 
5:09 AM
@AJ9 Yeah. The weather looks much better for the remaining 4 days.
 
@PaulWhite9 Are you going to watch this game?
 
@AJ9 I hope to, but it really depends on workload.
I'd love to get down for at least one day's play.
 
5:21 AM
@PaulWhite9 It's weekend now. Shouldn't be a problem.
 
ha ha ha ha ha ha ha
I don't have a regular 9-5 job
 
ohh
So you have to work on weekends as well?
 
Often yes
 
5:50 AM
@PaulWhite9 Looks like my job.
 
 
1 hour later…
7:19 AM
Morning
 
M yawns orning
 
8:04 AM
/yawn
 
8:16 AM
Friday \o/
Spring weather as well
 
8:42 AM
If "spring weather" is "rain", then yes :-)
 
Yeah, it's cloudy here too but no rain. It felt like almost summer yesterday and now winter.
 
8:54 AM
Morning
 
Maddest thing I've seen on here in a while: dba.stackexchange.com/questions/260218/…
 
Morning
 
9:12 AM
What's the underlying problem you are trying to solve? Surely there must be a better way. — Tom V - try topanswers.xyz 20 secs ago
 
 
1 hour later…
10:33 AM
hey guys, at a pretty basic level, i have a stored proc along the lines of this. is there any risk of the recursive CTE creating a deadlock, thus requiring the joins to be done with no lock or should i just leave it for now and if it ever occurs then add the nolocks?
SELECT QUERY - joins with nolock
CURSOR
	CALL SP
		SELECT QUERY - joins with nolock
		CALL SP
			RECURSIVE CTE SELECT QUERY
		SELECT QUERY - joins with nolock
		SEND EMAIL
	UPDATE COLUMN
 
11:28 AM
Or don't add NOLOCK ever
if your construction is waiting for locks, using nolock is basically guaranteed to return something else than you asked for
 
 
1 hour later…
12:45 PM
2
A: The company’s commitment to rebuilding the relationship with you, our community

PekkaWhile I am rather pessimistic about whether anyone will manage to clean out the Augias' stable of fiefdoms and overall dysfunctional culture that Stack Overflow seems to have become on the inside.... this is definitely a breath of fresh air and the first corporate communication in years that spar...

 
 
2 hours later…
2:19 PM
zzzzzzzzzz they should just issue a "shut up and go away". I would be in 100% support of it.
"Next person to say Monica gets BANNED" policy.
That community manager is pretty naive. You don't apologize to a community of grieving alt-righters.
you just politely laugh at them, and give them the finger.
 
I think it's funny that you consider the nasty people alt right - I consider the nasty people ctrl-left. I agree with you that there are definitely a lot of nasties though
 
3:18 PM
Monica
Monica
Monica
 
you get banned if you say it once, if you say it three times she appears behind you and provides helpful interpersonal advice
4
 
lord knows I could use it
 
I consider nasty people toxic. Or toxic people nasty. Sometimes I even consider toxic nasty people to be nastily toxic.
 
That checks out
 
I don't think the keyboard is relevant: ALT, CTRL, DEL, INS, SCRLCK, PAUSE, BREAK
 
3:23 PM
I'm PrtScr or possibly SysReq
 
I'd love to be HOME, but I got a maintenance window at 1800.
Been a while since I saw SysReq
Well I have wrecked a few systems.
I guess the direction isn't too relevant as well. Up, Down, Left, Right, In, Out
you shake it all about
 
I always thought those buttons were put there by satan to fuck with me
didn't realize they had a purpose
 
lol aoeey
*lol sorry
 
keyboard issues I see
 
3:33 PM
yea, or finger issues. maybe brain issues...
 
Here we say keys, not buttons
 
I'm distressed to see my current keyboard does not have a SysReq key
 
What about your buttonboard?
 
😀
 
@James you're half right, satan put them there to tempt you
@billinkc i call it my keyplank
 
3:37 PM
@PeterVandivier That sounds like a German/Italian literal translation and I love it
 
der keyplank ist ein mekanikalnicht
con bolognese
 
I know what I'm ordering when I get to Rome
 
Chicken?
2
(sorry - that's probably getting old already)
 
4:01 PM
@WhatsThePoint consider implementing optimistic concurrency via the database-level setting for READ_COMMITTED_SNAPSHOT or snapshot isolation at the transaction level - read about it here and here
 
Seen on the interwebs today ...
@PaulWhite9 Interesting that other folks are focusing on the culture and 'personal fiefdoms.' Every time I've seen dogma deeply embedded in an organisational culture it always arises from somebody using it as a rhetorical device to label and discredit people they view as a threat. I'll still argue that over-the-top PC culture is a red herring and the root cause is somebody's empire building. They just happen to have latched onto this as a rhetorical device.
 
"This self-ordering behavior occurs naturally in the IT world because it is populated by people skilled in creative analysis and ordered reasoning. Doctors are a close parallel. " LOL
(the doctors part)
 
4:28 PM
Empire Building 101:
An empire builder is someone who builds up a network of soft influence within an organisation, usually for self-serving ends. Their objective is to control events surrounding their personal fiefdom and they will interfere with other departments projects, attempt to undermine or obstruct their work or discredit other parties. It's regarded as a major sin in management because of how destructive it can be.
Empire builders can only function when their management turns a blind eye or is otherwise unable to see through their bullshit. Dollars to donuts, the management problems at SE are down to a serious case of empire building.
Find the empire builder by seeing who everybody is fighting with or afraid of. There are consultancy firms that do this sort of thing. Replace the empire builder and replace their line management. Make sure the replacements have a good bullshit detector as you will need to root out the rot they've recruited into the organisation.
A's hire A's. B's hire C's. Joel. You've been preaching it for 15 years. Now practice it.
The SJW stuff is all a red herring. This is entirely about somebody playing toxic power games.
 
"Find the empire builder by seeing who everybody is fighting with or afraid of."
sounds like the SJW's to me
 
Just one. More than one will be fighting with each other.
 
this monica thing was two factions of the sjw's going at it - the Terfs and the Trans
 
Empire builders are always highly manipulative; that's how they operate. Chances are that the source of the problem is someone that the SE board trusts.
Forget the SJWs. They are a red herring.
The SJW dogma is merely a convenient rhetorical tool that the originator is using as a political bludgeon to attack their rivals. They may or may not even believe in it. They've also managed to dog-whistle up some groups of supporters to attack on their behalf - notice that the originating party hasn't actually come forward. The empire builder's MO is to get others to do their dirty work.
 
they fired shog9...
he was the empire builder
what more do you want.
 
4:43 PM
He was a rival to whoever is doing it now.
 
now they need to follow through and "replace their line management. Make sure the replacements have a good bullshit detector as you will need to root out the rot they've recruited into the organisation."
 
I wonder if we will ever learn the identity of the Phantom Menace
 
@James jar jar, isn't this well known now?
 
@James I'm pretty sure it wouldn't be hard for someone inside the organisation to figure it out but they're not saying.
Contract work tends to find one being hired by dysfunctional organisations on a semi-regular basis. I've seen three organisations with a serious empire building problem now. It's always one particular individual reporting to incompetent line management.
Weaponised dogma was used in two of those organisations. Empire builders also like to position themselves as confidantes of their management and wage wars against people they consider a threat. The spate of mods leaving smells a lot like a political purge to get rid of potential threats.
The dogma doesn't really matter. I saw one place where somebody managed to use Agile theory as a rhetorical tool.
The inflexibility of the dogma is what makes this smell like empire building. It suggests that it's being used as a rhetorical device rather than as a symptom of a genuinely held belief system.
 
4:51 PM
@EvanCarroll lol i really wish they had gone that route in cannon, it made way more sense
 
That's my two satoshi worth anyway.
 
P.S. The fact that SE is still putting out transparent propaganda is a pretty strong indicator that the problem hasn't been rectified; the source of the toxicity is still working there.
@James Star wars canon is just about an oxymoron.
 
5:11 PM
@James fool, reddit is cannon and it did go that way.
lucas can suck it.
 
canon
 
@EvanCarroll Kathleen Kennedy these days.
@swasheck Haven't seen you in a while. How's it hanging?
 
@ConcernedOfTunbridgeWells it's been ok. wild last 2.5-3 years
 
@swasheck What have you been up to?
 
job-hopping. traveling. adopting.
the usual
 
5:18 PM
@swasheck Same old here. Bringing intelligence to the business as usual. Now with a wife and two spawn in tow.
 
@ConcernedOfTunbridgeWells intelligent business isnt really that usual
:D
 
@swasheck No. That's why they need business intelligence consultants to bring intelligence.
 
i figured you'd say something like that
 
Oh, dear. I'm getting predictable.
 
time for some anomaly detection
did you inherit the spawn ... or have you been ... productive?
 
5:21 PM
No. Ours, born and bred.
 
nice work.
i mean ... congratulations
 
Well, I say software engineering is like unprotected sex. You end up supporting it for the next 18 years.
I am one with Baby Shark.
 
mmhmm. mine are 14, 12, and 3. all three love baby shark. i cannot escape it
the older two got hooked on it in s. korea a few years ago when we were meeting the third.
 
My eldest spawn was born in Indonesia about the time it went viral there. When I say I am one with Baby Shark, I was there from the beginning.
My wife likes to watch Korean soaps.
 
ground zero, if you will
 
i like to eat korean food
 
At one point they even had baby shark competitions in shopping malls and ads knocking it off.
@swasheck Too much fried rice and deep fried stuff in Indonesian food. It's too fatty - My internals can't really handle it in quantity.
I like kimchi, and bipimbap though.
@swasheck She did most of the work. I kind of helped.
My current ambition is to take a long sabbatical in Indonesia.
 
I see we've all been disregarding the close queue, as it should be.
 
5:50 PM
@MaxVernon just like old times
@ConcernedOfTunbridgeWells that sounds nice. i didnt really eat much of the deep-fried stuff in korea, but i do love kimchi - it takes a bit for the gut to get used to a steady stream of it, though
 
@MaxVernon I would object.
 
sorry, @John - I don't follow what you're saying.
 
I've been following the close queue. :-)
...closely.
 
6:24 PM
i object to your objection
 
I reject your objection and substitute my own*
* Copied off Mythbusters, ish
 
7:24 PM
Anyone know If I could do anything to improve this question? I'd like to make it as easy as possible to reproduce/look at. First time on this site
 
I think you'll find trees are available at your local garden center. /jk
 
I'm surprised sql fiddle works today
No seriously that's a good first question. Why do you need the where though?
 
yah, I thought it was pretty good too. Too bad no one is left to answer questions on dba.se
 
Though I'm on mobile. I haven't really tested the output
Also. Friday's are a bit slow in here usually. Don't get upset if you don't get much feedback over the weekend
 
@dustytrash i'm having a hard time figuring out what you need, but I think you need a rank() or lag() function and a cte
 
7:38 PM
Fair enough, I need the where clause for getting the children given a category. It's part of an application where a user has access to certain categories, and all children of those categories
the Fiddle works and gives the output described
 
and access to the children's children?
 
Yeah, and its childrens childrens children etc
I'll checkout CTE's, I don't think I've used them before
I can change the table structure if needed. The only important one is Category, categories I just used to handle the many to many
 
Is this a reporting structure or a different type of hierarchy?
 
you can also join to tables multiple times
 
C reports to B, B reports to A. B leaves the company and until a new butt in in the seat, C reports to A through a missing reporting level...
Or do you have Position Z reports to Position Y and Position Y reports to Position X with Person C in Position Z, B in Y and A in X
 
7:44 PM
@billinkc Sorry I'm not sure which type of hierachy.
Here's an example: A Miller, Heiniken are both beer, beer is alcohol, alcohol is liquid.
Another ex: A is B, B is C, B is also apart of D
 
PeopleSoft and some other system take that approach. Can make it easier to keep your structure in tact as things move about (if that's a concern for the system)
PG support graph database?
And is restructuring your tables within scope?
 
Yes I can restructure
One category having multiple parents won't happen often.
The table won't change once set very often, possibly never major changes
I'm going to add a diagram and maybe more data to my post for a better description
 
6
Q: What's the best way to order a list of tables based on their foreign key constraints

JamesI'm working on an etl task that takes tables from one schema (with no constraints) and inserts them into the same tables (plus constraints). I don't want to type out a bazillion insert statements, so I wrote some dynamic sql that looks like this: declare @table varchar(255), @stgtable varchar(2...

maybe the answer in this question will help, too, idk
 
8:07 PM
I added a diagram to my question and some more details
Postgre does not support graph database, but there is an extension that I could use for it
That question may help with ordering, which would be nice to have but currently just trying to get the data
 
How much of this may just be the particular server resources being low? Because this is only happening on the automated test runs of the exact same data/schema/procs on SQL Server 2016 and not SQL Server 2012. It is a fairly large set of unions of the results of many table-valued functions. It just a got a little more complex than it was yesterday.

"The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify
 
8:47 PM
poor planning
 
SQL 2016 is generally worse, has lower limits than 2012 or is there something with this instance?
I only test locally on 2012 so I don't use language features past that version and obviously my local 2012 instance is fine. And the 2012 instance used by Team City to install and test the database is fine. The 2016 might be different. I'll have to install and test against a local 2016 and see if it works, then it would be something up with that other 2016 instance.
Or I could refactor the code to simplify it. None of this code is in the product, this version is in code freeze, it's all the test harnesses that test runs that I am improving and expanding to test more things and.
This isn't even in the test runs themselves, it's the building of the test run results document, so it's just tons of nested and unioned ITVFs, many of them code-gened to cover all the categories of test cases.
 
9:02 PM
so ... are you able to take one of the queries and try to get a query plan?
 
 
2 hours later…
10:37 PM
@CadeRoux Do you get that error with both cardinality models?
@ConcernedOfTunbridgeWells You make a persuasive case
 

« first day (3335 days earlier)      last day (1526 days later) »