lunes, 25 de marzo de 2024

Consejos para bajar subir proyectos profesionales en rama qa y rama producción

Trabajar con ramas de calidad (QA) y producción en proyectos profesionales en GitHub implica un cuidadoso manejo de los cambios para garantizar la estabilidad y la integridad del software. Aquí tienes algunos consejos para gestionar estas ramas de manera efectiva:


Para la Rama de QA

Entorno de pruebas robusto: Asegúrate de tener un entorno de pruebas sólido que refleje fielmente el entorno de producción. Esto incluye datos de prueba realistas y configuraciones similares a las de producción.

Pruebas automatizadas: Implementa pruebas automatizadas exhaustivas para asegurarte de que los cambios introducidos no introduzcan nuevos errores y no rompan la funcionalidad existente.

Revisión de código: Realiza revisiones de código rigurosas antes de fusionar cambios en la rama de QA. Esto garantiza que el código cumpla con los estándares de calidad y funcione como se espera.

Despliegue continuo: Utiliza prácticas de integración y despliegue continuo (CI/CD) para automatizar la entrega de cambios en la rama de QA. Esto facilita la rápida identificación y corrección de problemas.

Comunicación clara: Mantén una comunicación clara y transparente con el equipo sobre el estado de la rama de QA, los problemas identificados y las acciones necesarias para corregirlos.


Para la Rama de Producción

Versionamiento semántico: Implementa un sistema de versionamiento semántico para mantener un registro claro de las versiones en producción y los cambios asociados.

Políticas de fusión conservadoras: Adopta políticas de fusión conservadoras para la rama de producción. Esto significa realizar pruebas exhaustivas en la rama de QA antes de fusionar los cambios en producción.

Implementación gradual: Considera la posibilidad de implementar cambios en producción de manera gradual utilizando técnicas como el despliegue por etapas o la activación de características por usuario.

Monitoreo continuo: Establece sistemas de monitoreo continuo para supervisar el rendimiento y la estabilidad del software en producción. Esto te permite identificar y abordar rápidamente cualquier problema que pueda surgir.

Respaldo y recuperación: Implementa medidas de respaldo y recuperación para garantizar la disponibilidad y la integridad de los datos en caso de fallos en producción.


Al seguir estos consejos, puedes gestionar de manera efectiva las ramas de QA y producción en tus proyectos profesionales en GitHub, asegurando la calidad y la estabilidad del software entregado a los usuarios finales.

martes, 20 de febrero de 2024

BootstrapVue Layout y Grid System

BootstrapVue es una biblioteca que combina Bootstrap 4 con Vue.js para crear interfaces web de manera más rápida y eficiente.

Layout en BootstrapVue

Container: El contenedor principal que envuelve todo el contenido de tu página. Ayuda a centrar y alinear los elementos.

Row: Dentro del contenedor, puedes dividir tu diseño en filas. Las filas contienen columnas y ayudan a mantener el orden.

Column: Las columnas son las unidades básicas de diseño dentro de las filas. Puedes dividir una fila en hasta 12 columnas, lo que permite una gran flexibilidad en el diseño.

Sistema de Cuadrícula (Grid System) en BootstrapVue

Responsive: El sistema de cuadrícula de BootstrapVue es completamente sensible y se adapta automáticamente a diferentes tamaños de pantalla, desde dispositivos móviles hasta pantallas de escritorio.

Columnas Responsivas: Puedes especificar el tamaño de las columnas para diferentes tamaños de pantalla utilizando clases predefinidas como col-sm, col-md, col-lg, y col-xl.

Anidamiento: Puedes anidar filas dentro de columnas y viceversa para crear diseños más complejos.

Offsets: BootstrapVue también proporciona clases para desplazar columnas horizontalmente, lo que te permite crear diseños asimétricos.

Ordenamiento: Puedes cambiar el orden de las columnas fácilmente en dispositivos de diferentes tamaños usando clases de ordenamiento predefinidas.

Ejemplo:

BootstrapVue Layout y Grid System


martes, 17 de octubre de 2023

cambiar version node

Para ver las veriones de node  nvm ls

 Si alguna vez necesitas cambiar de la versión de node, puedes simplemente ejecutar nvm use <número de versión>   por ej  nvm use v12. 18.1



martes, 22 de agosto de 2023

Subconsultas SQL

Subconsultas SQL


select id, nombre, apellido, salario from empleados where salario >=

(select avg(salario)from empleados)


lunes, 21 de agosto de 2023

Joins en Sql

Inner join 

select ordenes.id_orden, clientes.nombre

from ordenes inner join clientes on ordenes.idcliente = clientes.idcliente;

Left Join

select clientes.nombre, clientes.apellido, ordenes.id_orden
from clientes
left join ordenes on clientes.idcliente = ordenes.idcliente
order by id_orden

ó

select cli.nombre, cli.apellido, ord.id_orden
from clientes cli
left join ordenes ord on cli.idcliente = ord.idcliente
order by ord.id_orden

Right Join

select ord.id_orden,cli.nombre,cli.apellido
from clientes cli
right join ordenes ord on ord.idcliente = cli.idcliente
order by ord.id_orden

Full Join

select ord.id_orden,cli.nombre,cli.apellido
from ordenes ord
full join clientes cli on ord.idcliente = cli.idcliente
order by ord.id_orden

Union (mismo # columnas y  tipo datos similares, no es un join)

  select contacto, ciudad, pais from clientes
  union
  select contacto, ciudad, pais from suplidores


  select contacto, ciudad, pais from clientes
  union all
  select contacto, ciudad, pais from suplidores

select 'Cliente' as Tipo,contacto, ciudad, pais from clientes
  union 
  select 'Suplidor' as Tipo,contacto, ciudad, pais from suplidores


viernes, 28 de julio de 2023

English practice for interviews in Platzi

English practice for interviews thanks to Platzi

 ----------

Pitch

I am a Software Developer. Some of my strengths include working as a backend developer with 

JavaScript and PHP. I studied Telematic Engineering, and I am currently a student at Platzi. Recently, 

I worked as a backend developer for several companies, utilizing technologies such as Laravel 

and NodeJS, where I developed software for individuals from Panama and Colombia. Now, I am 

seeking to change my job, as I am very interested in working with new technologies and frameworks.

------

Experience

I have 5 years of experience working as a backend developer with technologies such as PHP and 

JavaScript. At the same time, I am learning new skills to work with JavaScript and PHP technologies,

specifically NodeJS and Laravel. Additionally, I have acquired experience working with database 

engines, including MySQL and PostgreSQL. I have also been able to work with the Scrum methodology, collaborating with co-workers to assist them with their tasks.

----------

Why do you want to work for this company and why 

should we hire you?


I admire your company’s results in the industry, and I would like to get experience working with 

the same technologies.I am goal-oriented, and I deliver exceptional results working for many companies developing software.

Since I have worked with people from different countries, I adapt easily and work well with other 

cultures. I am sure I would be a good match for this position. I am interested in working with new 

technologies to achieve company goals.

-----------------------------

Talking about your skills and competencies

Due to my technical skills I have a natural ability to get along with people and participate in teams with many talents. I have built a good relationship with work colleagues and I like to help them to improve 

their skills. I would like to learn new technologies quickly and use my abilities to get goals for the company and our team.

---------------------------------

What are your strengths and weaknesses?

Strengths 

I am detail-oriented in projects I work on. I like to collaborate with co-workers without knowledge. I am very organized and disciplined, and I prioritize communication instead of anything. It’s the most important skill in a team.

Weaknesses?

Sometimes I recognize I am slow with my work. Being too detailed makes me slow with my task. But I have to say my work quality is very well when I deliver projects, and I am happy about that.

-------------------------------

Salary expectaion

Example I: My salary expectation is between $A and $B because my experience in these technologies and my experience with important projects in the industry make me prepared for this position.

Example II: According to my qualifications, experience, and professional achievement, I would 

expect a salary in the range of $A and $B.

-------------------------------

Where do you see yourself in 5 years?

I am very interested to see how technological progress in the world. It is really fascinating to 

see it. But I don’t want to be only a user, I want to help to build it. I would like to work with 

people with the same interests and with vanguard technology all my life, and AI is the current way. 

Also, I know that English is very important to achieve this goal and I want to use it and improve 

it a lot.

----------------------------

Answering situational questions

1. What would you do if you had to collaborate with a coworker that is difficult to work with?

It’s OK if we have different opinions o way with a coworker. The most important thing between us is 

communication. Without communication will be serious problems in the team and the leader, or I 

as the lead, need to organize a one-to-one meeting to solve the problem.

2. What would you do if you made a big mistake and no one noticed? Would you address the mistake even if it will slow down things, or would you ignore it and not tell anyone?

In the past, I make that mistake and I regret it. I didn’t ask for help and if I could do it, the 

problem have been very easy to solve. Since then, I ask for help always I need it. It’s easy and 

very significant to find support from the rest of the team.

3. What would you do if you were asked to complete a task that you had never done before?

It’s not a difficulty for me. I am looking for new challenges constantly. I need to solve new 

problems because I bored quickly, and I need to learn more about my work.

4. If you knew that your boss was completely wrong about something, what would you do?

In the past, I spoke with my boss about my vision for the work, and It’s important to communicate. 

Many times the boss is wrong from my perspective and that it’s OK. I have to collaborate on the 

issue with my experience.

5. What would you do if you were a manager and one of your team members was not reaching goals and expectations?

First of all, I could talk with this member about why he doesn’t reach his goals. It’s my work to 

help him with his tasks. Later a few weeks, the member doesn’t improve with his goals, I talk 

about it with him again and find for external help.

---------------------------

Questions for the interviewer

How would you describe the company culture?

What do you like most about working here?

How do you define and measure success for this role?

What are the three most important things that you would like me to accomplish in the first six months if I were hired?

What do you think is the most challenging aspect of this position?

Will I have the opportunity to meet the team during the interview process?

Are there opportunities for professional growth?

..the next steps and how you should follow up.

Blogs Colombia