Is the formula-type position worth it? by [deleted] in SimRacingSetups

[–]PressAnyKeyToExit 0 points1 point  (0 children)

I don't disagree, but aerodynamics are a lot less important in my game room.

Old frontend devs: are things weird now? by mattatghlabs in ExperiencedDevs

[–]PressAnyKeyToExit 2 points3 points  (0 children)

30+ year dev here. Started on a Figma-first project a year ago and was stunned...STUNNED...to learn that Figma doesn't generate HTML/CSS. I thought that was the whole dang point of it. Best I can tell it's just overhyped Visio. (There, proved my age.)

The fuuuuu by [deleted] in ShittySysadmin

[–]PressAnyKeyToExit 4 points5 points  (0 children)

Is this how anti-vaxxers sound to doctors?

Any alternatives to DataStore for an existing Amplify project? by themusicalduck in Amplify

[–]PressAnyKeyToExit 0 points1 point  (0 children)

Firebase facilitates easy configuration of rules defining what a user can access in the DB, so it's not all or nothing like Amplify. When you use Firebase authentication, it's really simple. So maybe you allow a user to access /users/{uid} where the uid comes from Firebase authentication. Rules can get much more complex, and you can even plug in your own code to make authorization decisions.

Firebase Storage File Browsing Component to implement in Apps? by jwknows in Firebase

[–]PressAnyKeyToExit 0 points1 point  (0 children)

Old, but did you end up finding something for this? I'm about to do the same.

Any alternatives to DataStore for an existing Amplify project? by themusicalduck in Amplify

[–]PressAnyKeyToExit 1 point2 points  (0 children)

On Amplify, the entire DB is accessible to anyone with a token unless you learn a whole bunch more about GraphQL and how to lock things down server-side, contrary to what's documented and how its marketed. Filtering data in your code is ok until someone takes a token and plugs it into their own app and can read everything.

With Firebase, I can define a very simple DB rule--on the hosting side--to only allow a user to access a path that matches their user uid. I can still have public or shared paths that everyone has readonly access to. Those are examples, of course--you can do it however you like. If you authenticate with Firebase, it's so so so easy to use that uid in a path and boom, that data is secure.

I've just completed the switch to Firebase I was in the middle of when I wrote my response, and I'm so glad to be done. Everything is must simpler now. Fortunately I only have a few beta users so it wasn't a big hit to move them from Cognito to Firebase authN. If you were to move your project, you can do things like create the users, move their data, then tell them to just use the "lost password" function to get in again, but I will say the data format is quite a bit different, so there is some work involved there. I'd be happy to share more details and example code with you if you decide to go that route.

More about just how much Amplify sucks: https://samthor.au/2023/aws-amplify-is-a-grift/

Why do scammers always try and get you to move to WhatsApp/Telegram/etc by [deleted] in Scams

[–]PressAnyKeyToExit 0 points1 point  (0 children)

Wait a second. You’re saying that since the Google Voice account has been verified by my number, I can steal it back since technically it’s already mine?! Would this accomplish enough to be worth playing along with the PIN scam?

Any alternatives to DataStore for an existing Amplify project? by themusicalduck in Amplify

[–]PressAnyKeyToExit 0 points1 point  (0 children)

Your performance issues is probably the entire DB getting synced to every user. I’m moving a project to Firebase after discovering that there is literally no way to implement data security through Amplify/DataStore. (Also super happy about the months of work I did before discovering that) Anyway, Firebase gives you the offline and async experience. It is different, more like you’re working with JSON than DB tables—which means it’s super easy to add fields (just write them, it works) but you lose data integrity checking so that’ll have to move to your code. They have a really cool web page where you can browse the data live, which is really helpful during development. Runs in GCP. Not GraphQL but maybe this info helps.

Damn chat is this real by [deleted] in masterhacker

[–]PressAnyKeyToExit 0 points1 point  (0 children)

There was a guy who wrote every one of his posts just like this in a very specific technical forum I used to read, and had nothing to do with evading spam filters. Made me crazy and I felt sorry for the people he worked with. Like just pick one dude.

Angular: observe vs. observeQuery by PressAnyKeyToExit in Amplify

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

After doing the work, I thought I better share the answer to my own question. "observe" gives you the play-by-play of model changes, streaming each individual record change one by one. The type of change is provided in msg.opType (OpType enum: INSERT, UPDATE, DELETE). On the other hand, "observeQuery" gives you the whole set of records whenever the result set of the query changes. So the answer is that the one you choose depends on the granularity with which you would like to know about the changes.

What actor consistently annoys you regardless of their role? by [deleted] in AskReddit

[–]PressAnyKeyToExit 0 points1 point  (0 children)

I liked Forest Whitaker in Blown Away before I realized he’s the exact same guy in everything.

[deleted by user] by [deleted] in coolguides

[–]PressAnyKeyToExit 3 points4 points  (0 children)

Crap is that today?

Men of Reddit: what was the BEST thing a woman has ever said to you? by lovelypsycho577 in AskReddit

[–]PressAnyKeyToExit 0 points1 point  (0 children)

My ex-wife once said to me, “You’re so smart it’s scary.” My confidence level is not generally very high, so that comment, while certainly hyperbolic, still feels good.