GraphQL Subdomain Queries with 3rd Party Cookies Disabled

UPDATE: Wes was kind enough to respond via Twitter about this issue. It seems Heroku and Now, have their domains as a "public suffix". This means you can't set a cookie for their TLD. The fix was for me to alias my frontend and backend URLS like this: sick-fits-backend.calendee…

Recovering from a New Job Disaster and How To Interview for a New Job

tl;dr (seriously long!) : I talk a lot about myself below. Here's the gist of it: I started a new job in mid-January and quit after only two days. I cover the mistakes I made during the interview process; problems with the new job; coping with shame, embarrassment, impostor syndrome…

TypeScript with Next.js

tl;dr (seriously long!) : I talk a lot about myself below. Here's the gist of it: I started a new job in mid-January and quit after only two days. I cover the mistakes I made during the interview process; problems with the new job; coping with shame, embarrassment, impostor syndrome…

Firebase Features Wishlist

UPDATE: I've created a Firebase Cloud Function that can obtain a user's IP address. This information can be logged, added to the database, or used for any desired purpose. LINK : https://github.com/calendee/firebase-log-ip-address UPDATE: The Firebase team has responded to this post and provided some insight on their…

Converting base64 to an Image

A very long time ago, I wrote a post about Getting base64 of an Image. Today, I needed to do the inverse of that. I had a text file with base64 data that needed to be converted into a JPEG file. How to proceed? Well, first, check the docs: >…

Use Browser's Console Temporary Local Variables in React Native

Have you ever used console.log on a complex object and gone to inspect it in the browser's inspector? Maybe it's so complex you wanted to run JSON.stringify on it so you could analyze it more easily? You can normally do this quite easily by right clicking on the…