superjose

๐Ÿ“… Joined in 2017

๐Ÿ”ผ 44 Karma

โœ๏ธ 44 posts

๐ŸŒ€
15 latest posts

Load

(Replying to PARENT post)

Datastar has been garnering my attention https://data-star.dev/
๐Ÿ‘คsuperjose๐Ÿ•‘5d๐Ÿ”ผ0๐Ÿ—จ๏ธ0

(Replying to PARENT post)

I can see this.

I learned from a friend to use Zod to check for process.env. I refined it a bit and got:

```

const EnvSchema = z.object({

  NODE_ENV: z.enum(['development', 'production', 'staging']),

  DATABASE_URL: z.string(),

  POSTHOG_KEY: z.string(),
});

export type AlertDownEnv = z.infer<typeof EnvSchema>;

export function getEnvironments(env: Record<string, string>): AlertDownEnv { return EnvSchema.parse(env); }

```

Then you can:

```

const env = getEnvironments(process.env);

```

`env` will be fully typed!

Definitely, I need to do some improvements in my frontend logic!

๐Ÿ‘คsuperjose๐Ÿ•‘1mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0

(Replying to PARENT post)

Just went and bought it!

I'm in a process where application-level programming isn't cutting it anymore (I still have a lot to learn, but it's in the diminishing returns).

I've been looking to understand the entire stack at a deeper level (from how requests are made to how they're parsed), and this seems like the next natural step!

Thanks a bunch!

๐Ÿ‘คsuperjose๐Ÿ•‘1mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0

Ask HN:

"How Wiz grew so fast?"

๐Ÿ‘คsuperjose๐Ÿ•‘1mo๐Ÿ”ผ2๐Ÿ—จ๏ธ0

(Replying to PARENT post)

Love Vivaldi! It has improved significantly over the years! I use it in tandem with Firefox.

I love to have thumbnail tabs!

๐Ÿ‘คsuperjose๐Ÿ•‘2mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0

(Replying to PARENT post)

I think they need to respond to all the funds they've raised and need to generate money somehow beyond subscriptions.
๐Ÿ‘คsuperjose๐Ÿ•‘2mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0

(Replying to PARENT post)

๐Ÿ‘คsuperjose๐Ÿ•‘2mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0
๐Ÿ‘คsuperjose๐Ÿ•‘4mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0

(Replying to PARENT post)

I've been dabbling a bit with configuring Nginx, and there's a lot of configuration scattered across the web without proper explanations.

Here, Derek DeJonghe, provides production-ready Nginx configurations with explanations for the most common cases.

๐Ÿ‘คsuperjose๐Ÿ•‘5mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0
๐Ÿ‘คsuperjose๐Ÿ•‘5mo๐Ÿ”ผ5๐Ÿ—จ๏ธ1

(Replying to PARENT post)

Wow, kudos to the Author. Very easy to digest, beautifully crafted, and took the time to explain the concepts when most places take them for granted.
๐Ÿ‘คsuperjose๐Ÿ•‘5mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0

(Replying to PARENT post)

Pretty sick tbh!
๐Ÿ‘คsuperjose๐Ÿ•‘5mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0