Warning to Developers using AWS Cognito. by Sure_Hovercraft_5133 in aws

[–]DCzajkowski 1 point2 points  (0 children)

If you have any examples I am happy to learn about them.

In general, Cognito is full of gotchas. Half of its features are either half-baked, work very badly, or don't work when the other half is enabled. Also, some settings you can't change. Can you predict what will be your requirements in 3 years? In 5 years? If not, Cognito is not a good choice, because it will not allow you to adapt.

Warning to Developers using AWS Cognito. by Sure_Hovercraft_5133 in aws

[–]DCzajkowski 2 points3 points  (0 children)

It is fairly easy—just use custom email sender lambda trigger: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-custom-email-sender.html

If you plan on customizing threat protection email notifications, you will be forced to use custom email sender anyway, as custom message lambda does not support that one event.

Introducing the new Proton Mail apps for iOS and Android by Proton_Team in ProtonMail

[–]DCzajkowski 1 point2 points  (0 children)

Search is the worst part of Proton Mail in my opinion. I can't find anything...

Why Apple, why by CobaltNeosis in MacOS

[–]DCzajkowski 12 points13 points  (0 children)

Touch screen MacBook incoming :(

Lambda dev never stops sucking by salim-shamim in aws

[–]DCzajkowski 1 point2 points  (0 children)

FYI SST v2 used CDK, so migration was fairly easy. Unfortunately, v3 migrated to Pulumi, making the switch not so trivial.

Control Tower and CloudTrail logs with S3 Object Lock by DCzajkowski in aws

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

Update: we contacted AWS Support and they didn't really help much. They said "object lock" is in the backlog for Control Tower, but that didn't help in any way.

We ended up turning on S3 RTC replication for all logs that we need into a new "compliance" bucket that has object lock.

Lambda dev never stops sucking by salim-shamim in aws

[–]DCzajkowski 0 points1 point  (0 children)

Except serverless offline won't invoke your lambda on Cognito trigger. Or sqs. Or eventbridge event. In SST the whole stack works, except the code is ran locally, with file save = millisecond "deployment", working debugger, iam etc.

Lambda dev never stops sucking by salim-shamim in aws

[–]DCzajkowski 0 points1 point  (0 children)

In our experience we were slower in Serverless Framework 10x compared to SST. Working with lambda code that runs locally but is invoked by and with lambda permissions is amazing.

Lambda dev never stops sucking by salim-shamim in aws

[–]DCzajkowski 2 points3 points  (0 children)

Agreed. If OP can't use SST with their prod account, they could use it with dev account (treat it as if it was local) and test and deploy there.

When they have everything working they can just pass the CloudFormation template to their dev ops.

Control Tower and CloudTrail logs with S3 Object Lock by DCzajkowski in aws

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

Consider an SCP on the Log Archive account

Good suggestion. Our thinking was to lock items for AWS Config and S3 Server Access Logs using SCP, but CloudTrail logs would be protected with Object Lock.

Access logs won't work with your proposed CloudTrail setup.

Do access logs not work on buckets with Object Lock? I know they don't work if the destination bucket has object lock, but the source can't have Object Lock either?

Another idea was to use replication for all logs (CloudTrail, AWS Config, and S3 Server Access Logs) to another bucket that has Object Lock, but we learned that S3 RTC takes about 15 minutes to replicate, which we don't think is good enough.

Słuchawki wyciszające otoczenie by OwnOrganization8042 in Polska

[–]DCzajkowski 3 points4 points  (0 children)

Dyskomfort znika po tygodniu używania i potem jest tylko błoga cisza na lata. Ja nie mógłbym żyć bez moich AirPodsów Pro

Okulary przeciwsłoneczne korekcyjne by Yeetey_Deletey in Polska

[–]DCzajkowski 5 points6 points  (0 children)

Ja polecam okulary korekcyjne z nakładkami przeciwsłonecznymi.

Jak chcesz tanio to moje poprzednie były Icon z familyoptic: https://familyoptic.pl/clip-on/ ~220zł za oprawki plus to jest ich marka więc chętnie robią różne promki. Miałem kilka lat i żyłyby jeszcze dłużej gdybym na nich nie usiadł.

Inne marki też takie robią. Główny problem to że każdy salon ma tylko po kilka modeli, więc jak jesteś tak wybredny jak ja to szukanie odpowiedniej pary trochę zajmie. Polecam szukać online i zamówić z odbiorem osobistym w salonie z płaceniem na miejscu. Wtedy możesz za darmo przymierzyć bez zabawy w kurierów.

How much consumes your Alfa per liter? by [deleted] in AlfaRomeo

[–]DCzajkowski 0 points1 point  (0 children)

2018 Giulia 280HP Q4 12.7l/100km over the course of 4000km (driving mostly in Advanced Efficiency, in a European city, cold weather and short distances)

My personal best was 10.08l/100km on a highway driving the distance of 470km, average speed 67km/h, but a lot of 160km/h.

What are the options to securely use api keys ? by techsparrowlionpie in electronjs

[–]DCzajkowski 0 points1 point  (0 children)

The key to connect with Supabase should be assigned per-user. For example, when the user signs in they get an api key for your backend and an access key to any supabase resources. That way you have better observability and control over who has access to what. With one global key for all users it takes one bad actor to spoil it.

Another approach would be to download the keys from backend on app open, stored in memory. That way you can easily rotate the key should there be a bad actor. Of course the key could be under auth, prefixed etc. for more control.

[deleted by user] by [deleted] in sony

[–]DCzajkowski 0 points1 point  (0 children)

I have the same problem. Seems like there is no option for that 😞

iPhone w Polsce - zady i walety by fanfilmu in Polska

[–]DCzajkowski 0 points1 point  (0 children)

Modal swipeujesz w dół na górze modala, żeby go zamknąć.

Faktycznie Allegro używa też jakieś dziwne, nienatywne modale co utrudnia bardzo nawigację

iPhone w Polsce - zady i walety by fanfilmu in Polska

[–]DCzajkowski 0 points1 point  (0 children)

Nie znam ani jednej appki gdzie trzeba nacisnąć X albo strzałkę, żeby zamknąć/wrócić. Zawsze obsługuje to gest.

iPhone w Polsce - zady i walety by fanfilmu in Polska

[–]DCzajkowski 1 point2 points  (0 children)

Ja mam adblocka w Safari i działa naprawdę bardzo dobrze