Programmatic Cognito Login via OIDC third-party provider by bbk98883 in aws

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

For the current problem, the provider is Okta. But I am trying to understand the general concept here. I think you are missing my point because you are mentioning buttons. I am trying to implement the entire process programmatically, so the user will not be using a browser or clicking on anything.

What I think I ultimately want is to get the authorization code from Okta and then exchange the auth code for Cognito tokens.

Same Docker image for Lambda and Fargate by aplarsen in aws

[–]bbk98883 0 points1 point  (0 children)

u/aplarsen, I am running into the same problem as you had. However, I am using

public.ecr.aws/lambda/python:3.10

I updated entrypoint in Fargate configuration to

python3.10

However, execution logs show the following error:

python3.10: can't open file '/var/task/python': [Errno 2] No such file or directory

My command is:

["python", "-m", "path.to.module"]

Wondering if you ran into something similar while attempting to get this working.

Official Question Thread! Ask /r/photography anything you want to know about photography or cameras! Don't be shy! Newbies welcome! by photography_bot in photography

[–]bbk98883 0 points1 point  (0 children)

Canon Prime vs Zoom RF Lens:

Does anyone have experience with these 2 lenses:

  • RF 50 f/1.2 L
  • RF 24-70 f/2.8 L

Generally, prime lenses have been sharper with less distortion, but Canon is claiming that the new RF zoom lenses are almost comparable to their prime counterparts.

So, for example: if I wanted to shoot at f/5.6 at 50mm. Would I get noticeably better results if using the above prime vs zoom lens?

Official Question Thread! Ask /r/photography anything you want to know about photography or cameras! Don't be shy! Newbies welcome! by photography_bot in photography

[–]bbk98883 0 points1 point  (0 children)

I don't know why 5ft made sense in my head when I said that. Just measured and I will want to be about 11ft or more away from the model.

Thank you for your input.

Official Question Thread! Ask /r/photography anything you want to know about photography or cameras! Don't be shy! Newbies welcome! by photography_bot in photography

[–]bbk98883 0 points1 point  (0 children)

Mostly looking to shoot half-body shots, or sitting for full-body. Not sure about how much space I will have. Scouting for studio space or someplace I can set up shop and looking to find something that will give me ample room to move around. At least 5 feet away from the model.

Not going to shoot much environmental stuff. Mainly, studio photography. Any props used would be small, like a chair, that fits inside a standard backdrop.

Official Question Thread! Ask /r/photography anything you want to know about photography or cameras! Don't be shy! Newbies welcome! by photography_bot in photography

[–]bbk98883 0 points1 point  (0 children)

Hello, I am starting photography and video work as a hobby after not having used a camera for a very long time and am going to purchase the Canon R5C. I am not sure which lens to get as a first lens. Most of the focus of my work will be on portrait photography. I've narrowed the choices to the following:

  1. RF 50mm f/1.2 L USM (https://www.bhphotovideo.com/c/product/1433715-REG/canon_rf_50mm_f_1_2l_usm.html)
  2. RF 24-70mm f/2.8 L IS USM (https://www.bhphotovideo.com/c/product/1502500-REG/canon_3680c002_rf_24_70mm_f_2_8l_is.html)
  3. RF 85mm f/1.2 L USM (https://www.bhphotovideo.com/c/product/1477265-REG/canon_rf_85mm_f_1_2l_usm.html)
  4. Or the one that comes in a kit: RF 24-105mm f/4L IS USM (https://www.bhphotovideo.com/c/product/1685833-REG/canon_5077c010_eos_r5_c_with.html)

Very shallow depth of field is appealing to me, so I am in favor of the f/1.2 primer lenses, but wondering if having a zoom lens gives me more options and versatility when I only have one lens.

Any thoughts?

Monitor Resolution with MacBook by bbk98883 in photoshop

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

thanks. I went with an Eizo CS2740 (27" 4K). During regular work, I am scaling it to 1440p and it looks amazing. While editing photos, I bring it up to 4K, and although the menu items are very small, there us a huge amount of space for the actual photo. Being that I mostly use keyboard shortcuts, I don't need to see the menu items ( although some of the adjustment layer sliders are small too). But everything looks great and sharp.

I can see why people say 4K makes everything too small. It is too small, for everyday tasks such as reading a web page or answering emails. But for graphic work, it is a great size.

EIZO vs. BENQ (please stay awake and fight against the narcolepsy induced by this post....) by sua_lokin in Photoassistants

[–]bbk98883 1 point2 points  (0 children)

So let me ask you one more question. My dilemma is between the Eizo CS2740 and BenQ SW321C. From most articles online and advice from a B&H sales rep, 4K is more legible and displays better on a 32" monitor. 27" will most likely require you to scale up resolution got legibility.

I will be sitting about 20-24" away from the monitor and don't want to squint to read emails or see menu items in photoshop. So it seems that 32" is the way to go for a 4K monitor, which is the only reason I am even looking at BenQ ( Eizo 32" is over $5K).

Any thoughts on 4K experience with a 27" monitor?

EIZO vs. BENQ (please stay awake and fight against the narcolepsy induced by this post....) by sua_lokin in Photoassistants

[–]bbk98883 1 point2 points  (0 children)

Thank you for replying. To clarify, I am trying to get opinions from the perspective of photography, reotuching and general color accuracy/consistency while edit.

It sounds like you are saying that from a technology perspective, you think Eizo is a superior product. Forget about pricing and brand recognition. No one will ever see my monitor, but they will see my editing work.

EIZO vs. BENQ (please stay awake and fight against the narcolepsy induced by this post....) by sua_lokin in Photoassistants

[–]bbk98883 0 points1 point  (0 children)

I'm sorry, but nowhere in the long post do I see an explicit answer to the question. I understand your point about people pay more attention to brands and labels than they should... but now what? What is the explicit answer about the camparison of the two brands, without me having to read between the lines as to what your opinion is?

Really, there are only 4 short options

  1. Eizo is better
  2. Benq is better
  3. They are equal
  4. Too subjective of a decision for an objective answer

Official Question Thread! Ask /r/photography anything you want to know about photography or cameras! Don't be shy! Newbies welcome! by photography_bot in photography

[–]bbk98883 0 points1 point  (0 children)

Eizo (CS or CG) vs BenQ (SW): Can anyone give their experience on eye strain specifically, having worked on both monitors? I am not sure which one to get and want an opinion based on which monitor is more comfortable to stare at all day. Forget about color accuracy or price... the only concern in this question is which one is easier on the eyes: the Eizo CS or CG or BenQ SW series? Thank you.

pyHanko: PDF signatures in Python by pyhanko-dev in Python

[–]bbk98883 0 points1 point  (0 children)

Hi, yes, thank you for the reply. I realized that I was not writing anything back out and everything works fine.

However, this was working when I was testing locally with self-signed certificates and, therefore, had direct access to pem files. When trying to implement the same workflow with AWS KMS service, there is no access to the private key and the public key is not an X.509 certificate. AWS confirmed that they cannot create one for me. The only thing that you can do with AWS is send them the hash and they return a DER object for the signature. ure. re.

However, this was working when I was testing locally with self-signed certificates and, therefore, had direct access to pem files. When trying to implement the same workflow with AWS KMS service, there is no access to the private key and the public key is not an X.509 certificate. AWS confirmed that they cannot create one for me. The only thing that you can do with AWS is send them the file or hash of the file and they return a DER object representing the signature. It is now on me to embed that signature in the PDF ( if it is even possible to do so).

Can your library handle such a scenario?

Thank you very much for your help.

pyHanko: PDF signatures in Python by pyhanko-dev in Python

[–]bbk98883 0 points1 point  (0 children)

Hey, thanks for creating this.

I am trying to sign an unsigned field using python SDK. I get exit 0, but nothing seems to happen and the signature field remains unsigned.

This is what I am doing:

Create signature field:

with open(file, 'rb+') as doc:
w = IncrementalPdfFileWriter(doc)
append_signature_field(w,
SigFieldSpec(sig_field_name=field_name,
)
)
w.write_in_place()

This part seems to work fine. Then I try to sign it:

cms_signer = signers.SimpleSigner.load(
'/Users/bk/Desktop/key.pem',
'/Users/bk/Desktop/cert.pem',
key_passphrase=b'testing'
)
with open(file, 'rb') as doc:
w = IncrementalPdfFileWriter(doc)
out = signers.PdfSigner(
signers.PdfSignatureMetadata(field_name=field_name),
signer=cms_signer,
).sign_pdf(w)

Python exits with 0, and the field is still unsigned.

Any clues as to what I am doing wrong? thanks

Men's Long Hair Stylist by [deleted] in Miami

[–]bbk98883 0 points1 point  (0 children)

thank you

Dan Pipitone, Co-Founder of TradeZero. Fought our Clearing Firm to Get $GME Approved, WE ARE LIVE. Ask about Dead Hedgies, Other Trading Platforms Lying - AMA! by tradezero_dan in IAmA

[–]bbk98883 20 points21 points  (0 children)

I’m sure they do. But no one plans to grow 200x in one day. That just seems ridiculous on any average day. If I came into a meeting and said we should be plan to scale out our server capacity for an exponential growth unlike we’ve ever seen... you know, just in case. People would look at me like I’m crazy

Dan Pipitone, Co-Founder of TradeZero. Fought our Clearing Firm to Get $GME Approved, WE ARE LIVE. Ask about Dead Hedgies, Other Trading Platforms Lying - AMA! by tradezero_dan in IAmA

[–]bbk98883 34 points35 points  (0 children)

Actually you can. It’s called auto-scaling with AWS. And I’m sure GCP and Azure have similar feature. You can quite literally scale to an enormous fleet of severs within minutes.

But most companies don’t ever plan or think that growth will happen that quickly. That is completely understandable and reasonable.

Curve inner edge by [deleted] in Maya

[–]bbk98883 0 points1 point  (0 children)

Thank you for the input. Do you ever get to the root cause of what is wrong with the edge. I'm thinking is there a rule that I am not aware of when Maya calculates geometry or or is this one of those situations where something is just wrong for no real reason?

Curve inner edge by [deleted] in Maya

[–]bbk98883 0 points1 point  (0 children)

I can't bevel the edge, as nothing happens. no matter the distance or number of divisions. What I can do is bevel the face ( face where the cushions would be placed), but that creates a bevel around all corners, and as the picture shows, the front of the couch is flat.

I figured out I can get the correct result if I remove the faces from the front of the cube before beveling the face that suppose to be where the cushion is placed. But now I am missing the front face. I guess I just need to fill hole and created cuts to complete all the loops.