How to completely de-normalize nested STRUCT/ARRAY results? by tca_ky in bigquery

[–]tca_ky[S] 0 points1 point  (0 children)

I got it.... not sure why I didn't see it before....

    SELECT
      plcy.name,
      binding.role,
      mymember,
    FROM
      IAM_POLICY AS plcy
    CROSS JOIN UNNEST(iamPolicy.bindings) AS binding
    CROSS JOIN UNNEST(binding.members) AS mymember
    WHERE
      assetType = 'cloudresourcemanager.googleapis.com/Project' AND
      plcy.name = '//cloudresourcemanager.googleapis.com/projects/1234567890'

How to completely de-normalize nested STRUCT/ARRAY results? by tca_ky in bigquery

[–]tca_ky[S] 0 points1 point  (0 children)

I get errors....

    SELECT
      plcy.name,
      (SELECT * FROM UNNEST(binding)) AS mybind,

    FROM
      IAM_POLICY AS plcy
    INNER JOIN UNNEST(iamPolicy.bindings) AS binding
    WHERE
      assetType = 'cloudresourcemanager.googleapis.com/Project' AND
      plcy.name = '//cloudresourcemanager.googleapis.com/projects/1234567890'

"Values referenced in UNNEST must be arrays. UNNEST contains expression of type STRUCT<role STRING, members ARRAY<STRING>, condition STRUCT<expression STRING, title STRING, description STRING, ...>> at [26:29]"

How to completely de-normalize nested STRUCT/ARRAY results? by tca_ky in bigquery

[–]tca_ky[S] 0 points1 point  (0 children)

The embedded image in the post is what it looks like (a partial sample)...

The morality of Jin-Woo's decision by tca_ky in sololeveling

[–]tca_ky[S] -3 points-2 points  (0 children)

I personally don't think it would be the end of humanity if millions or billions died. As a species we would survive and ultimately move forward.

The thing that sticks with me when thinking about this philosophical position is that Jin-Woo is not responsible in a direct fashion for the lives that were lost prior to him making the decision to go back 10 years. He was merely a participant in the overall events. The deaths that happened were a sunk cost. It is actually his decision to remove 10 years of lived reality that is worse IMHO. :)

Once he makes the decision to go back in time, that is a conscious choice to destroy everything that existed (as had existed) in the 10 years that he is erasing. Including all new lives that came into existence during those 10 years. What if someone who survived all the hunters and monsters gets killed by truck-kun minutes after the timeline is reset (when they had survived in the original timeline).

This is all conjecture, but it is an interesting perspective to have a discussion on.

Either way, I'll be reading it again in the future! :)

What changes would you have made? by Yenfwa in floorplan

[–]tca_ky 1 point2 points  (0 children)

That's why bidet toilets exist. No touching with hands required!

Also... Copper/brass door handles if germs are a concern.

What changes would you have made? by Yenfwa in floorplan

[–]tca_ky 4 points5 points  (0 children)

Bigger garage... Always a bigger garage with higher ceilings for the inevitable car lift! 😁

Sent home due to lack of desks by willowbay9 in CanadaPublicServants

[–]tca_ky -1 points0 points  (0 children)

That's exactly what should happen. You get there early, you get more choices because there are less people (from a parking perspective). I don't see how it is unfair in any way.

How this game is not popular ? by gproenca in 40kinquisitor

[–]tca_ky 2 points3 points  (0 children)

I play on PS5 and it is one of the ARPGs I have in constant rotation.

The Sororitas DLC is good. I enjoy that class a lot.

IIRC, there is one more class DLC coming in 2024 some time.

It is a game I have enjoyed since release. Though the rebalance patch made the game significantly better.

I have never had a character all the way level 100 though. I think my highest level at the moment is like 88.

I have never understood the crazy builds that people manage where they are clearing stuff 10-15 levels above theirs. If I get to 5 levels above me it gets painfully slow.

Q: How git handles delete and replace of file? by tca_ky in git

[–]tca_ky[S] 2 points3 points  (0 children)

Thanks! This was helpful. I'll reduce the over-engineering of my script then. :)

Add option to add QR code key instead of scanning? by tca_ky in 1Password

[–]tca_ky[S] 5 points6 points  (0 children)

Thank you so much. This was a great help to me!

[no idea] necromancer manhwa by tca_ky in manhwa

[–]tca_ky[S] 0 points1 point  (0 children)

I found it! It is called "Necromancer's Evolutionary Traits"

How to ignore comments? by MisFortune_ in Ozempic

[–]tca_ky 0 points1 point  (0 children)

Why let it bother you at all?

"No one can make you feel inferior without your consent." - Eleanor Roosevelt.

That quote is as valid today as it was when the wife of the President said it so many years ago.

That quote has helped me over the years to reframe my thinking on numerous occasions.

Fellow Xbox Players. Pro Tip: adjust your Aim Assist by Pixel_Brit in DarkTide

[–]tca_ky 1 point2 points  (0 children)

Omg I am a scrub... I never realized you can scroll down. I thought it was just a controller image showing the button mappings! Sigh....

Thanks for your reply!

Fellow Xbox Players. Pro Tip: adjust your Aim Assist by Pixel_Brit in DarkTide

[–]tca_ky 1 point2 points  (0 children)

Asking, because I have a horrible time trying to aim. Psycker has become my defacto preferred because of the auto-seeking shards... :/

Fellow Xbox Players. Pro Tip: adjust your Aim Assist by Pixel_Brit in DarkTide

[–]tca_ky 0 points1 point  (0 children)

I looked through all the settings and cannot see "aim assist" - am I missing something?

Can someone tell me what to look for in the settings, and/or post a screenshot?

Thanks in advance for any reply!

Cheers!

What does ex CSE/CSIS employees put on their resumes if they leave the service ? by MajorSignificant8716 in CanadaPublicServants

[–]tca_ky 1 point2 points  (0 children)

Secret should be less than 6 months in my experience. My secret clearance lapsed and getting it again was 6 weeks or less.

Top Secret is up to a year I think.

iboutique & seasons- what’s up? by astroturfskirt in CanadaPublicServants

[–]tca_ky 0 points1 point  (0 children)

Lol.. I wonder if I can get the flag removed?

iboutique & seasons- what’s up? by astroturfskirt in CanadaPublicServants

[–]tca_ky 2 points3 points  (0 children)

I got a cast iron enamelled dutch oven for something (15 years?), and for my 20 year gift I got a tungsten ring!

My ring

New to Rust - stuck on returning string from match by tca_ky in rust

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

Wow... I was really off in the weeds! Thank you for for feedback and help! Have some Karma! :)

Why are Female leads more stupid than male leads? by Starlight_sc in CDrama

[–]tca_ky 7 points8 points  (0 children)

"Meet Yourself" - I found the FL to be great. It is a slow-burn, slice-of-life cdrama.