"To me code has more in common with for example poetry or some kinds of writing. The beauty of it is in the structure, [...] So a good piece of code you can read without comments and it's immediately obvious why it's been written, how it's elegant."
Alan Cox
Test the functionality.
Do NOT test implementation details.
Do NOT test the frameworks.
Do NOT test external packages.
Do NOT test external services (they should be already tested, that’s why are used).
@BatsouElef Who knows TBH… maybe it could happen if someone develops a browser with a very (very) different engine from scratch, and it becomes trendy 🙊
Need to speed up a sluggish API endpoint?
Accelerating a slow API endpoint involves several strategic steps:
• Identify Bottlenecks
Pareto principle plays an important role here:
80% of the speeding up will most likely come from optimizing just 20% of the code.
Use profiling tools to identify and rectify the sluggish components.
• Reduce Round Trips
Minimize the number of database requests. Consolidate data queries where possible to decrease latency.
• Leverage Caching
Implement caching strategies to store and swiftly retrieve frequently used data. Strive to avoid redundant computations or database queries.
• Parallelize External Calls
Execute external service calls in parallel rather than sequentially. This ensures that the total response time is not the sum of all individual calls, thereby improving efficiency.
Address these areas in order to significantly enhance the responsiveness of an API endpoint.
Me acabo de enterar de que mis amigos también dicen por favor y gracias a chatGPT.
Nose chavales, por si acaso un día tenemos aquí una distopia cyberpunk xd
¡Ambientazo en el #GofiGeeks 2023!
El CDTIC se llenó hoy de desarrolladores para participar en la segunda edición de la Dev Party, en la que pudieron conectar con otros programadores, diseñadores y project managers, y disfrutar de ponencias, música y otras actividades. 👏👏👏
Actualizad urgente iPhone y dispositivos Apple: encontraron un exploit en la versión 16.6 de iOS que compromete el teléfono sin interacción de la víctima (zero-clic) 🕵️
Lo llaman #Blastpass y está conectado al grupo de spyware NSO (ya hemos hablado de ellos en mi canal: Pegasus)