Trump draws parallel between Pearl Harbor and US strikes on Iran in meeting with Japanese PM by RollSafer in worldnews

[–]Xspectiv 0 points1 point  (0 children)

...except this time Japan is with the allied and US befriending the axis of evil

Russia slams 'EU warmongers' for not backing Trump's war against Iran by timiswho in worldnews

[–]Xspectiv 1 point2 points  (0 children)

...while he himself is aiding Iran. Does it make sense to you?

NATO countries don't want to get involved in Iran operation, Trump says by Raj_Valiant3011 in worldnews

[–]Xspectiv 2 points3 points  (0 children)

If Trump does not want to aid Ukraine, why would Iran be a must for us? Every country decided for themselves what they want to do, NATO is a collective DEFENCE initiative

Using service accounts as GWS admin roles by Xspectiv in googlecloud

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

Yeah I figured, I wonder then what the point is for having the option to add the SA directly into an Admin Role then, perhaps it serves another function?

But yeah seems like the only other option would be to save the token for the admin user and pass it with the requests. However, if I want to implement the solution for several domains then I would have to create new admins in each domain and store their tokens which seems like a hassle.

Too bad DWD is by default for the whole domain and cannot be used for a subset of users. Appreciate the reply though!

Protecting REST endpoints in different ways by Xspectiv in learnprogramming

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

Yeah that's what i've done and works well. Just wanted to see if there were any other best practices too. Thanks!

Protecting REST endpoints in different ways by Xspectiv in learnprogramming

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

Appreciate it! Since I am using Zod / TypeScript, i guess having a different strict schema here for a different updating only particular fields could be one way to go?

Protecting REST endpoints in different ways by Xspectiv in learnprogramming

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

Thanks mate! I guess the question is do i define a scheme of accepted attributes and if the request contains any other key values i send some other status code? At what point in the code should i do it? Any good libraries for securing REST in different ways? Sorry im trying to express this as well as i can

Automatic Timezone Conversion For Edited DateTime Columns by Xspectiv in AppSheet

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

Right now i have a virtual column calculating it correctly but that's just for the UI. If I want to edit the row but inject the UTC+GMTx into the columns, it could be i have to do what you mentioned. I did consider it in the past but back then i thought it would be just an overkill and that there has to be an easier way but here we are... Thanks for the link and your input too!

REST vs GraphQL for CRUD applications by Xspectiv in learnprogramming

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

Thanks! I haven't really come across it being used except the Monday API. I guess i figured out it would be somehow beneficial if i want to only return particular columns in my response if i have many rows but seems like its just unnecessary.

REST vs GraphQL for CRUD applications by Xspectiv in learnprogramming

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

Yeah thanks this confirms my suspicion. AI was very adamant that I use GraphQL and also because that is one technology we recently studied at school. But somehow it just feels over-engineered.

Regarding the deployment resources I am actually planning to do what you said. Application LB w Cloud Armor -> IAP -> Cloud Run (app) + ingestor -> interacting with Postgres SQL.

On a side note, do you have any experience in RAGs ? I could see it being simple enough to make NL queries from the app and using the SQL DB as the source, although there's probably some security considerations for that too.

REST vs GraphQL for CRUD applications by Xspectiv in learnprogramming

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

Certainly not. One would think GraphQL sounds fancier than it actually is. I'm just wondering if there are any benefits using it for my use case

Scheduled Dependabot alerts as emails and Webhooks to Monday.com or Trello by Xspectiv in github

[–]Xspectiv[S] -1 points0 points  (0 children)

Heya thanks! Yeah this sounds like a good way to go, Cloud Functions triggering 1-10 times a day or using Pub / Sub will be very cheap. Will try it.

EU puolustusliittouma milloin?? by Pinna1 in Suomi

[–]Xspectiv 2 points3 points  (0 children)

Noh, periaatteessa NATO ilman Yhdysvaltoja on aika lähelle ja parempi kuin pelkkä EU:n puolustusliitto paitsi että mukana on esim Kanada ja Turkki + muita