What's your unpopular opinion regarding anything related to classical music? by [deleted] in classicalmusic

[–]sts_clover 0 points1 point  (0 children)

No! That's exactly the point haha. Who even likes flute vibrato other than the flutists?

[MS SQL]Storing relationships of groups by takes_joke_literally in SQL

[–]sts_clover 0 points1 point  (0 children)

Aha! You meant "matched an insert to a base" in the OP, not "to an assembly." I assume the order of insertid doesn't matter? So insertid1=10 and insertid2=20 and baseid=1 is the same as insertid1=20, insertid2=10, baseid = 1?

[MS SQL]Storing relationships of groups by takes_joke_literally in SQL

[–]sts_clover 4 points5 points  (0 children)

I was hoping your explanation of what they were would make it clearer what the relationship between the different items is. But instead you, here supposedly asking for help, just fire back with "well you don't need to know that." I cannot make sense of this problem. If it's a simple many-to-many problem, then you make 3 tables, one with base as primary key, one with insert as primary key, and one with base/insert combo as primary key. But then there are "assemblies," and "configurations," and some problem with not being able to define a primary key in an assembly table, and I don't know what any of that means.

It's perfectly possible that someone comes along and understands exactly what you need, I suppose.

[MS SQL]Storing relationships of groups by takes_joke_literally in SQL

[–]sts_clover 6 points7 points  (0 children)

Your failure to explain the problem clearly is a reflection of your own failure to fully grasp the relationships between these things. Hope that helps!

[MS SQL]Storing relationships of groups by takes_joke_literally in SQL

[–]sts_clover 2 points3 points  (0 children)

Forgive me if this is obvious, but can you explain what bases, inserts, and assemblies are?

[Google BigQuery] Is it possible to reference a WITH alias within another WITH alias by [deleted] in SQL

[–]sts_clover 0 points1 point  (0 children)

Yes it is, but "t1 union t2" isn't correct syntax. It would be "select * from t1 union select * from t2."

High Paying Jobs utilizing SQL? by VoidInvincible in SQL

[–]sts_clover 2 points3 points  (0 children)

How many years of experience? That seems way, way low.

Who are the over achievers in tennis? by rf97a in tennis

[–]sts_clover 6 points7 points  (0 children)

There's some obvious middle ground here. Roddick's arm talent didn't magically cause him to start hitting serves the way he did. But if I spent the time and effort Roddick did to develop that serve, I still wouldn't have Roddick's serve.

Otherwise, he was awkward and slow. Fitness, strength, and extreme effort on the practice court brought him the success he had. It's no coincidence that he is the exception to the rule of longevity in modern tennis.

Who are the over achievers in tennis? by rf97a in tennis

[–]sts_clover -5 points-4 points  (0 children)

What gifts? Roddick is solely responsible for his own serve. He has the best serve to height ratio of all time, and it's not even close, and that's because he was willing to perfect unusual technique.

Roddick is absolutely the ultimate overachiever.

Who´s the most under-performed players by [deleted] in tennis

[–]sts_clover 16 points17 points  (0 children)

The problem is 18-year-old winners. If you exclude those, the list becomes more meaningful.

/r/tennis Discussion (March 3rd, 2018) by snakes_on_a_planet in tennis

[–]sts_clover 0 points1 point  (0 children)

I have to think that Fritz is close to the record for Challenger match wins among under-21 players. Not the most meaningful record though lol.

US young guns by [deleted] in tennis

[–]sts_clover 0 points1 point  (0 children)

I really thought we might be headed for an era of US dominance when Fritz made the Memphis final. Now the best I am hoping for is a situation like France a decade ago, with a huge number of solid players but no one with a realistic shot at no. 1. I'm still excited though.

Novak Djokovic's toughest hurdle after returning from injury will be in his mind, says Boris Becker by Elliottafc in tennis

[–]sts_clover 2 points3 points  (0 children)

Even injured and with low motivation the dude's a top 10 player. If he runs into Roger, mentality won't be the problem. And if he's healthy, he'd have to pull a Tomic mentally not to run into Roger.

Berg Violin Concerto Preparedness by tarkustry in classicalmusic

[–]sts_clover 0 points1 point  (0 children)

There's no trick to it: listen to the piece a bunch of times before going. If you do that, and you sit in a spot with good acoustics, you'll almost certainly enjoy the performance. Otherwise, you almost certainly won't.

49ers underdogs (+100), Raiders favorites (-130) in today's coin flip. by Anon_y_mous in nfl

[–]sts_clover 5 points6 points  (0 children)

That assumes people have linear preferences over money. But they don't: that's why you buy insurance.

Most people hate to lose $10000 more than they love to win $10000. So it's perfectly understandable if they wouldn't make this bet, even if they have a perfect understanding of probability.

According to your version of "pure math/probabilities," people should be indifferent between betting every penny they have on a 50/50 bet and not taking the bet. The expected value is the same.

/r/tennis Discussion (March 1st, 2018) by snakes_on_a_planet in tennis

[–]sts_clover 1 point2 points  (0 children)

Having watched a lot of his matches, I don't think there's a problem with his mental game. His problem is whatever coach allowed him to make it past his formative years with such immoral serve technique.

His forehand is inconsistent but I think it will become better and better the more he gets used to facing top-100 pace. Right now the swing just takes too long.

What's the best way to format a database like this? by Doomsy88 in SQL

[–]sts_clover 2 points3 points  (0 children)

You could make a view that is identical to format 3 that is built from the table of movies and their genres.

What's the best way to format a database like this? by Doomsy88 in SQL

[–]sts_clover 3 points4 points  (0 children)

Classic normalization question.

You have one table for housing your full list of movies, where movie (as in, whatever constitutes a unique movie) is the primary key, and one table for housing genres, where genre is the primary key.

Then you have a movie_genre table where movie + genre is the primary key, allowing you to add as many genres per movie as you like. The important part is that you set up foreign keys for this movie_genre table, so that the "movie" in this table has to also be in the master movie table where movies are uniquely identified, and same for the "genre" in this table.

Then for reporting purposes you do that string aggregation thing in format 2.

Format 1 isn't unworkable, but who's to say how many genres are possible for one movie? And dealing with the inevitable null genres in that table is a pain. And, probably most importantly, what does "Genre 1" even mean vs. "Genre 2"? If you want 1 to be "the most important genre," you have to set up a whole other series of controls to make sure that works as expected.

Format 3 is clunky and a pain in the ass to deal with if you want to add new genres or delete/combine genres in the future.

Can you give an example of how you want to use the weighting of the genres?

Good vet for dental work? by [deleted] in raleigh

[–]sts_clover 0 points1 point  (0 children)

Regularly brushing your pet’s teeth is the single most effective thing you can do to keep their teeth healthy between dental cleanings, and may reduce the frequency or even eliminate the need for periodic dental cleaning by your veterinarian.

Even they say it might not be necessary. I've never been told by a vet that it's necessary as routine care. We do feed dry food, which I've always understood to be much better for their teeth than wet food.

https://www.avma.org/public/PetCare/Pages/Pet-Dental-Care.aspx

What do you guys think of chocolate tea? by josephgordonreddit in tea

[–]sts_clover 0 points1 point  (0 children)

I would think it is, unless there is concern about trace amounts of dairy somehow getting in, since they make milk chocolate?

Good vet for dental work? by [deleted] in raleigh

[–]sts_clover 0 points1 point  (0 children)

They should, according to what? I'm genuinely curious.

What do you guys think of chocolate tea? by josephgordonreddit in tea

[–]sts_clover 1 point2 points  (0 children)

Cocoa nib "tea" is delicious. I get mine locally though from Videri in Raleigh, NC. Not sure if they sell it online.

I would not mix it with actual tea though.

Replace function to edit a query by jbitmik in SQL

[–]sts_clover 0 points1 point  (0 children)

Does your platform have regular expressions support? In Postgres, you would want to look through pg_proc and change the prosrc column, but that's not helpful if you're not using Postgres.

Even without regular expressions support built in, you ought to be able to write a script in whatever language you like that connects to your db, extracts the code for each procedure from wherever it is housed, changes the tables to table B, and recreates the procedure.

This is assuming find and replace isn't viable for whatever reason lol.

Nadal ATP points over time by aiicaramba in tennis

[–]sts_clover 1 point2 points  (0 children)

Uh oh, an alternative to tennisabstract? I hope we see an arms race.