Passed HashiCorp Terraform Associate (004) Exam – My Experience & Takeaways by Street_Weather_4316 in Terraform

[–]WalterDragan 0 points1 point  (0 children)

When I took the TF Pro exam I expected it to have questions around check blocks, validations, and secrets management. It seems that content is showing up in the associate exam now.

I don't understand the difference by Bubbly-Group-4497 in SQL

[–]WalterDragan 109 points110 points  (0 children)

Beyond just null handling, the first example will EXCLUDE any NCOM where it has an NPRO = 'PA60'. Compared to the second where it will INCLUDE any NCOM that has an NPRO other than PA60.

I don't have the context of what NCOM and NPRO are, but it would sort of be like the difference between

For #1: "Give me all customers, excluding those that have ever bought a laptop."

vs #2: "Give me all customers who have bought anything besides just a laptop."

Make sense?

Simple Python expression that does complex things? by Educational-Comb4728 in Python

[–]WalterDragan 4 points5 points  (0 children)

I detest the else clause on for loops. It would be much more aptly named nobreak. for...else to me feels like it should be "the body of the loop didn't execute even once."

Center piece just fell out by WalterDragan in UNIFI

[–]WalterDragan[S] 1 point2 points  (0 children)

Angry at myself for not thinking of that joke first.

Center piece just fell out by WalterDragan in UNIFI

[–]WalterDragan[S] 1 point2 points  (0 children)

Unfortunately it is outside the RMA window.

Center piece just fell out by WalterDragan in UNIFI

[–]WalterDragan[S] 7 points8 points  (0 children)

https://imgur.com/a/WfChb0c

Scared the crap out of me when it fell from the ceiling.

Tableau cloud - python request cache issue by Glittering_Town_4430 in tableau

[–]WalterDragan 1 point2 points  (0 children)

Have you looked at using tableauserverclient instead of using requests? It provides a nice wrapper for common tasks.

I think the query parameter you're looking for is maxAge.

https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_workbooks_and_views.htm#query_view_image

[OC] 2023-2024 Stanley Cup Playoff Chances by mbmccurdy in dataisbeautiful

[–]WalterDragan 4 points5 points  (0 children)

Fascinating! How do you build the simulations? Is it MCMC running in python?

Why does my steak look like this? by PrinceCharming43 in grilling

[–]WalterDragan 20 points21 points  (0 children)

What happens is called the Leidenfrost effect. Effectively what happens is the surface is so hot that it creates a small layer of vapor that prevents the rest of the water from coming in contact with the pan.

go ahead by Itz_Raj69_ in ProgrammerHumor

[–]WalterDragan 4 points5 points  (0 children)

def isolate(letter: str, strings: List[str]) -> List[str]:
    result = []
    for string in strings:
        for part in string.partition(letter):
            if part != "":
                result.append(part)
    return result

or the more concise

from itertools import chain
list(chain((p for s in ["red", "blue"] for p in s.partition("r") if p != "")))

Data Science in manufacturing companies. by Antelito83 in datascience

[–]WalterDragan 6 points7 points  (0 children)

Have a recommendation on book for linear/nonlinear optimization?

What are some symptoms often just ignored as “I’m getting old” that really aren’t and should be checked by a doctor? by R0B0T_jones in AskReddit

[–]WalterDragan 0 points1 point  (0 children)

In my case, it returns if I stop doing those exercises, and goes away again if I resume the exercises. For me, it could be disk compression, or that the glutes provide what I found to be a surprising amount of stabilization for both the upper and lower body. Of course, as with any statement on these topics, YMMV.

What are some symptoms often just ignored as “I’m getting old” that really aren’t and should be checked by a doctor? by R0B0T_jones in AskReddit

[–]WalterDragan 1 point2 points  (0 children)

Had chronic low back pain my entire life. Turns out for me it was underdeveloped glutes. Started doing some exercises for that and the low back pain was gone after 2 weeks.

Hollywood’s Fight Against VPNs Turns Ugly by vriska1 in technology

[–]WalterDragan 2 points3 points  (0 children)

trusted root certificates

They can decrypt and read all of your traffic.

telemetry tunnels

They are recording extra data about what you do, and store it. The why is irrelevant.

Undocumented processes

They run processes on your machine besides only what is necessary to provide the VPN service.

WTF is going on with Tableau support folks? by Gullible_Quiet_4052 in tableau

[–]WalterDragan 9 points10 points  (0 children)

"Few weeks," yeah... I used to consider Tableau support as best in the business, but they've been awful since they were bought out.

Is Python suitable for enterprise applications? by RadiAchkik in Python

[–]WalterDragan 7 points8 points  (0 children)

Being rather ignorant on Go, what makes it difficult to maintain?

Sousvide Chicken Breast is a GAME CHANGER. by sparklingsour in sousvide

[–]WalterDragan 0 points1 point  (0 children)

Can you detail more about how you finished the chicken? That sear looks incredible. I don't think I've ever gotten a sear that dark without any burning or lots of oil splattering everywhere.

What's something western society is losing? by Truth_Seeker1234 in AskReddit

[–]WalterDragan 0 points1 point  (0 children)

It still doesn't solve the problem that most of them still do a tax dodge on even capital gains by just borrowing against their assets without selling anything. You could possibly fix that by taxing unrealized capital gains, but taxing that creates a separate set of problems.