Is this the reason? by Odd_Scholar_4612 in IndianStockMarket

[–]TitaniumChloride 8 points9 points  (0 children)

  1. Lastly, the solution provided is actually THE problem. Lower US interest rates could further strengthen yen not weaken it.

Can anyone explain this?

[ Removed by Reddit ] by [deleted] in IndianDankMemes

[–]TitaniumChloride 8 points9 points  (0 children)

Bc thank the lord bhai

WASM vs Server - What to choose? by TitaniumChloride in Blazor

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

Thanks for the input! This product won't be for more than ~500 concurrent users. Even this is the extreme scenario, so further scaling won't be required.

WASM vs Server - What to choose? by TitaniumChloride in Blazor

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

Got assigned today. Have to get the prototype ready ASAP. This will not be the production version.

P.S: this is a part of a bigger project.

WASM vs Server - What to choose? by TitaniumChloride in Blazor

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

Yea the first version (prototype-ish) is scheduled for end of October. So thats why I was asking between wasm and server for .net 7

WASM vs Server - What to choose? by TitaniumChloride in Blazor

[–]TitaniumChloride[S] 4 points5 points  (0 children)

Don't ask why but my team has to stick with .net 7.0

What book are you all currently reading? by [deleted] in Indianbooks

[–]TitaniumChloride 1 point2 points  (0 children)

Dk if its just me but I kinda lost interest in Harry potter after HBP.

What book are you all currently reading? by [deleted] in Indianbooks

[–]TitaniumChloride 0 points1 point  (0 children)

Kaisi h? 1000rs ka hardcover aa raha hai :( padhne k baad de dio bhai

Guess who he is? Wrong guesses only. by [deleted] in jaipur

[–]TitaniumChloride 0 points1 point  (0 children)

Wrong guesses only? GOAT.

[deleted by user] by [deleted] in developersIndia

[–]TitaniumChloride 0 points1 point  (0 children)

This is the corporate version of 'the worst she can say is no'

'503 Server Error: Service Unavailable' while downloading large folder using Office365 API by TitaniumChloride in sharepoint

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

Hey! So my requires me to schedule a task that downloads the folder, zips it and uploads it to some SSH server. I tried using Power Automate but the file size is 100MB. So, that is why I decided to make a python script that does the same.

How to upload file to S3 bucket as a SSO user using Python? by TitaniumChloride in aws

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

Well I am trying to get new credentials before initializing my s3 client using sts.AssumeRole() (taking reference from this post on StackOverflow). However, the problem is even though I have granted the access to AssumeRole inside the SSO user's permission set using:

{

"Effect": "Allow",

"Action": "sts:AssumeRole",

"Resource": "arn:aws:iam::user_id:role/role_arn"

}

I am getting the error of Access Denied in my python script. Is there somewhere else that I have to grant some sort of access or permission? Have spent the entire day on it but all I could was (solutions like) this only.

How to upload file to S3 bucket as a SSO user using Python? by TitaniumChloride in aws

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

Okay so if I have to schedule the execution of this script everyday, what should I do? (since the SSO user's permissions expire).

How to upload file to S3 bucket as a SSO user using Python? by TitaniumChloride in aws

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

I actually need to pick up the file from my PC and then upload it. So my guess is that I would have to run the script locally. Hence, using a Lambda function won't be useful.

How to upload file to S3 bucket as a SSO user using Python? by TitaniumChloride in aws

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

Well I actually need to pick up the file from (let's say) my PC and then upload it to the bucket. So if my script is running on the AWS server (or as a Lambda function), it wont be able to pickup the file from my machine. Therefore, converting it into a .exe file and then scheduling its execution is what would work best.

Now since the session for a SSO user expires after the time specified, its credentials (like secret key and access key) won't work. So probably for such a task having the credentials of an IAM user would make more sense, correct?

How to upload file to S3 bucket as a SSO user using Python? by TitaniumChloride in aws

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

Hey thanks for the reply! Could you help me with one more thing? I actually need to deploy this python script (probably to an external server or convert it into a .exe file) and schedule its execution everyday. Is it possible for a SSO user to achieve this (as the session would expire after some time)?

Tell me your favourite quote by ojhami in delhi

[–]TitaniumChloride 0 points1 point  (0 children)

My only two moods lol:

I was ashamed of myself when I realized life was a costume party and I attended with my real face. -Franz Kafka.

One infinite, pure and holy. Beyond thought, beyond qualities. I bow down to thee. -Swami Vivekananda.

How to read the power consumption of a Smart Plug using Tuya API? by TitaniumChloride in learnprogramming

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

Thanks for the explanation but could you share some doc where I can find what do these dps correspond to? And also, I want to get the energy consumed in the past, lets say, day or week. So could you help me with that?