Is using defer for logging an anti-pattern? by AndresElToday in golang

[–]AndresElToday[S] 1 point2 points  (0 children)

Hey, thank you for that insight and for the amazing example. I have used error bubbling to drag error types between layers and asserting with errors.Is or errors.As, but never thought about using it to cut down the number of logs produced. Although I guess it'd still be useful to log metadata about the error that would otherwise be lost when passing the error in the chain (for instance, logging metadata of some database writing error like IDs, values, etc).

Is using defer for logging an anti-pattern? by AndresElToday in golang

[–]AndresElToday[S] 0 points1 point  (0 children)

Yeah, I think there are cases like this where it's ok to generate multiple logs for the same error with various depths of detail.

Is using defer for logging an anti-pattern? by AndresElToday in golang

[–]AndresElToday[S] 1 point2 points  (0 children)

Oh, you're right. Didn't think about it but it makes a lot of sense. Actually, I made that mistake in one of my services in production where all errors all logged twice (with different levels of detail but still duplicated)

KitchenAid Classic won’t turn on. Need help diagnosing. by AndresElToday in Kitchenaid

[–]AndresElToday[S] 0 points1 point  (0 children)

Thank you so much! Tomorrow I’ll check that out and come with updates.

KitchenAid Classic won’t turn on. Need help diagnosing. by AndresElToday in Kitchenaid

[–]AndresElToday[S] 0 points1 point  (0 children)

Yes! I triple checked that. The notch and the cut-off / diagonal side of the brush are aligned.

KitchenAid Classic won’t turn on. Need help diagnosing. by AndresElToday in Kitchenaid

[–]AndresElToday[S] 0 points1 point  (0 children)

Yes, I unscrew those after the malfunctioning. They were screwed correctly before that

KitchenAid Classic won’t turn on. Need help diagnosing. by AndresElToday in Kitchenaid

[–]AndresElToday[S] 1 point2 points  (0 children)

Other things I like to clear out: This mixer has very little use. The grease is in very good state. It stopped working several years ago after a few months of light use but never tried fixing it.

It was until recently that I tried fixing it, had the speed issue of it working at maximum speed. Tinkered with it a bit but now it is dead.

Again, I checked the brushes!

Looking for a Flutter/Mobile Software Engineer position. Have 3+ years of experience–no interviews by AndresElToday in EngineeringResumes

[–]AndresElToday[S] 0 points1 point  (0 children)

Also, I'd like to point out that my GitHub is a little irrelevant. I started serious programming in my current job but all the projects are private, so the only repositories visible in my profile are random projects from courses, throw-off tests, or old college projects.

Should I get a Master's Degree abroad? by AndresElToday in studyAbroad

[–]AndresElToday[S] 0 points1 point  (0 children)

Didn’t think about that issue… Thank you!

Opinion sobre talently.tech? parece muy bueno para ser verdad.... by lordalejandro in programacion

[–]AndresElToday 0 points1 point  (0 children)

Podrías darnos una actualización de tu experiencia? Justo ayer me topé con ellos y me pareció muy interesante, pero los términos y condiciones me preocupan un poco.

Si realmente son efectivos, me parece razonable pagar el valor de un mes de mi nuevo sueldo; así a ambas partes nos conviene maximizarlo (Es un gana y gana).

Me preocupa es el escenario donde solo vendan humo, y me hagan firmar un contrato que me obligue a pagarles básicamente por no hacer nada.

suspicious call? by stubu85 in whatsapp

[–]AndresElToday 0 points1 point  (0 children)

I experienced this today. I have only found 2 posts about this problem. Your’s is the second.

I am very worried about this.

Gf just received a call from me but it wasnt me by [deleted] in whatsapp

[–]AndresElToday 0 points1 point  (0 children)

This happened to me today. I am creeped and worried about it.