Day 45 of code till internship:
โ dove deeper in closures
โ learnt creating custom ApiErrors , ApiResponse and AsyncHandler function
โ solved 4 question on closure on Leetcode
โ closure interview questions by @akshaymarch7
Chai aur Backend - ๐๐ฎ๐ 09
๐๐ฒ๐ฎ๐ฟ๐ป๐ถ๐ป๐ด๐:
- cookie-parser, cors
- some middlewares like urlencoded, static, json etc.
- asyncHandler method
- wrote some standardized ApiErrors, ApiResponses
Notes attached๐
@nirudhuuu#chaicode#backend#webdev#cohort
ApiErrors, AsyncHandlers, ApiResponses. Feels about 80% clearer than yesterday on this topic, and thatโs a win. Slow understanding is still understanding.
The LLM/ChatGPT community on Twitter seems oddly silent about an important issue. The newly released OpenAI GPT-4-0613 model, set to become the default in less than a week, has a significant problem with uptime. It frequently experiences 500 type APIErrors, rendering it virtually unusable for development (check screenshot).
Furthermore, there have been notable changes in the model's behaviour. While the previous versions, like 0314, had a balanced approach to prompts, the focus has shifted heavily towards system prompts and function descriptions. This means that without restructuring prompts, the performance deteriorates rapidly. The requirement for users to transition to the newer model within just three months, without any alternative, coupled with the instability of the endpoint, raises concerns about OpenAI's dedication to developers.
Several discussions on the OpenAI Discord platform support these observations and frustrations:
discord.com/channels/9745198โฆdiscord.com/channels/9745198โฆ
Very sorry if this sounds like a rant, but any help is appreciated ๐
@OpenAI@npew@BorisMPower@OfficialLoganK
Error en la API: El endpoint "users/add" deberรญa ser "users/create". Utilizar el verbo HTTP correcto es clave para mantener la consistencia en la nomenclatura de los endpoints. #APIErrors