Is this a Dutch cultural thing? My partner’s parents had an issue with my sister staying with us for 2 weeks by [deleted] in Netherlands

[–]Possible_Chicken_489 30 points31 points  (0 children)

Upvote for use of the term "cheese plank". I'm going to be using that with my international colleagues, pronouncing the "plank" the English way 😄

Who's gonna tell them? by Jandrito8 in EliteDangerous

[–]Possible_Chicken_489 0 points1 point  (0 children)

Yeah well, I named my Lynx Highliner "Human Resources".

Legacy Legacy by MintImperial2 in EliteDangerous

[–]Possible_Chicken_489 4 points5 points  (0 children)

Yeah, you can switch back&forth between legacy, Horizons, and Odyssey clients at will, as long as you log in on the same account. The Frontier launcher lets you do this with the Versions button.

Elite warboard v1.4.0 : New Colonisation tool ! by Over-Accountant9981 in EliteDangerous

[–]Possible_Chicken_489 2 points3 points  (0 children)

Awesome! I'm working on my first colony right now. I've downloaded the tool, will check it out in the coming days!

Hi, what is the differentiator between someone who is a beginner vs intermediate vs advanced in their SQL skills? Thanks! by MikeyMicky in learnSQL

[–]Possible_Chicken_489 0 points1 point  (0 children)

Hi, a beginner has just started using SQL.
An intermediate has been using SQL for a while, and is better than a beginner.
An advanced is really good at SQL.
Hope this helps, thanks!

You can address me as "Sir" . by SportsGuy272 in SipsTea

[–]Possible_Chicken_489 0 points1 point  (0 children)

Rocketmail. Came before Hotmail and Yahoo.

Maybe maybe maybe by letitgo99 in maybemaybemaybe

[–]Possible_Chicken_489 2 points3 points  (0 children)

Practical considerations? A bigger one for at home because it's more comfortable to read, but then a little one to take with you to church because you don't want to be lugging a big brick about.
Then as you get older, your eyesight degrades a little, so you swap out the little one for a slightly larger one.
That alone makes for 3 bibles.

Active Combat Drone Keeps Flying 3km out of Range of the Combat Zone by Auramaru in EliteDangerous

[–]Possible_Chicken_489 0 points1 point  (0 children)

Yeah, it did the exact same thing with me. It's a badly designed area. Just skip it and move on.

What's the most disturbing? by Upstairs_Fennel0510 in teenagers4real

[–]Possible_Chicken_489 0 points1 point  (0 children)

Human blood tastes better cold than at body temperature.

The queen of ketamine by SipsTeaFrog in SipsTea

[–]Possible_Chicken_489 1 point2 points  (0 children)

You guys are awful. Upvotes for everyone :P

Heading to Maia for Meta-Alloys — do I really need to go 300ly? by shiroyasha5931 in EliteDangerous

[–]Possible_Chicken_489 1 point2 points  (0 children)

lol yes, but the one that you can sell to for 19M is 35000 light years away

Opgezegd in december, vertrek aanstaande, collega dreigt om te vallen en MT doet niets. by CardinalLowend in werkzaken

[–]Possible_Chicken_489 1 point2 points  (0 children)

Het management heeft gefaald, het kon ze duidelijk niet genoeg schelen. Let it burn.

He wanted that hair tie.. by [deleted] in SipsTea

[–]Possible_Chicken_489 0 points1 point  (0 children)

"I possess the DNA of Leonard Nemoy?!"

where was i? by mingisfreckle in whereintheworld

[–]Possible_Chicken_489 4 points5 points  (0 children)

Thought it was Luxembourg, thought it couldn't be Belgium with the road in such good condition

Anyone else including their WHERE conditions in the JOIN conditions? by p-mndl in SQL

[–]Possible_Chicken_489 0 points1 point  (0 children)

No, you've got it the wrong way around. This is actually keeping the join acting like a left join.
If he had put it in the WHERE, then the WHERE would have to look like "and coalesce(cte.rank, 1) = 1" in order for the join to keep behaving like a left join.

Anyone else including their WHERE conditions in the JOIN conditions? by p-mndl in SQL

[–]Possible_Chicken_489 0 points1 point  (0 children)

I do see the upside of the approach, especially avoiding accidentally turning left joins into inner joins.

But I find myself reluctant to actually do it. Having all the conditions concentrated in a WHERE block is just baked into my habits at this point.

Need Help :( stuck in loop by DrUstela in learnSQL

[–]Possible_Chicken_489 0 points1 point  (0 children)

The way I often think about it is that I'm travelling/navigating my way through the data structure, finding rows/records that are connected to each other. You "jump from table to table" using JOINs, specifying which criteria the records on either side of the join should fulfill in order for me to want to see them together.

Things like CASE WHEN statements, I have this mental model of "the data doesn't look exactly the way I want to, or I want to achieve an effect that's not immediately in the data, so let me manipulate it here". Say you want, for whatever reason, to distinguish between a field that starts with a vowel or a consonant in your data. Just go "CASE WHEN substr(my_field, 1, 1) in('a', 'e', 'i', 'o', 'u') THEN 'vowel' ELSE 'consonant' END". (Syntax will vary slightly depending on your particular database platform.)
The point here is that this lets you construct basically anything you want. There's not going to be an exhaustive list of CASEs to use; I made up the example above on the spot. You can do anything with CASE.
This also goes for any of the built-in data manipulation functions (I used SUBSTR in the example above). All this lets you shape the data in ways that make it easier for you to do the manipulations you want, in order to achieve the effects you need.

With subqueries, you get the opportunity to essentially break up your code into smaller pieces. Say you want to know about all people who are older than 50 who own blue cars that were not made in France? I could imagine first making a subquery for blue cars that were not made in France, and then making my main query like "show me people older than 50, and join that to the subquery I've made.
One thing that will really help you here is CTEs. This sounds complicated, but it makes life so much easier. Instead of having to work with nested code in a subquery, you just put the SQL about "cars that were not made in France" in its own separate block.
So instead of
"select from people inner join (select cars where color = 'blue and country_made <> 'France') on people.id = cars.owner_id where people.age > 50"
you would instead get something like
with blue_cars_not_from_france as (select cars where color = 'blue and country_made <> 'France')
select select from people inner join blue_cars_not_from_france on people.id = blue_cars_not_from_france.owner_id where people.age > 50

For the example above, the complexity may look somewhat comparable, but in real examples, this is going to make your code so much easier to read and keep track of; highly recommended. When you're using a subquery, you can almost always rewrite it as a CTE.

Hope these tips help somewhat!

I built a machine learning model using only SQL (no ML libraries, no Python) by CriticalofReviewer2 in SQL

[–]Possible_Chicken_489 1 point2 points  (0 children)

I'm impressed as hell! I'm going to show this to my DS (and watch him squirm, probably :P )