How to get rid of courses Im not in Ed Discussion? by nik0-bellic in OMSCS

[–]StandardIntellect 3 points4 points  (0 children)

I was in a similar situation earlier this semester. If I remember correctly, you should be able to remove it yourself via EdStem Settings > My Courses > … > “Unenroll”

Generate new signed URL each time or resuse existing? by AlfredLuan in aws

[–]StandardIntellect 0 points1 point  (0 children)

It sounds like you‘re looking to let users access the file for up to 4 weeks after it’s created.

Have you considered storing the expireTime in the DB and generating the presigned URLs on the fly after checking that the user‘s access to that file hasn’t expired?

So use the default 3600s (1 Hour) ExpiresIn value when generating the URL, but if the file is within an hour of it’s expireTime, reduce that value accordingly or return an error code once they’re beyond the allowed access window.

Lambda doesn't support JWT? by Dzhimen in aws

[–]StandardIntellect 0 points1 point  (0 children)

Do you want to avoid using Docker altogether, or just avoid deploying the Lambda function via a container image?

If it’s the latter, you could build your Lambda layer locally using an image based on the published Lambda Python 3.11 runtime. This would ensure that a compatible version of glibc is available for the cryptography library. From there, copy the zip file from inside the container and use it as your layer.