AI summary: Zod is a lightweight, zero-dependency TypeScript library for runtime type inference and validation, enhancing type safety. It allows defining schemas to validate data structures, such as requiring specific object properties and array types. Using `parse()` throws errors on invalid data, while `safeParse()` returns a success or error object. It simplifies form validation by eliminating the need for separate interfaces and validation logic, as schemas can generate TypeScript types via `z.infer`. Zod adds runtime safety to TypeScript code and streamlines basic validation.
AI summary: The author successfully secured a frontend internship at a small company with a monthly salary under 3k, working 7.5 hours daily, weekends off, no overtime. Initially hesitant to seek internships during finals, a friend's advice prompted them to start applying. They used GPT to generate a tailored resume and began submitting applications on June 27th, sending over 30 on the first day with no responses. After seeking advice, they intensified efforts, applying to over 100 positions by the 28th, but still no replies. On June 29th, they received multiple responses, including two interview offers—one in Zhengzhou and one in Changsha. They accepted the Changsha interview. Before the interview, a friend's tarot reading predicted time pressure, self-doubt as an obstacle, and fast-paced communication. The author prepared by conducting a mock interview with a friend, which boosted confidence. On the interview day, they arrived early and faced a 45-year-old interviewer with a strong presence. Despite knowing only basic Vue concepts (lifecycle and parent-child communication), they maintained confidence and performed adequately. The text ends abruptly due to a draft loss.
AI summary: The author began learning Nuxt to address Vue's poor SEO and slow initial load, as Nuxt uses SSR and CSR via its Nitro engine. Finding few Nuxt 4 courses, they turned to Nuxt 3 materials but found them low-quality or TypeScript-based. Struggling with official documentation, they started learning TypeScript through a Shang Silicon Valley video, finding it manageable with a Java/JS background. They plan to finish TypeScript decorators before resuming Nuxt.