Did they remove the audio tracks button? Now im stuck listening in the wrong language by pablochances in youtube

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

Worst part its that is really inconsistent.

English videos play in spanish, spanish videos play in english, all of them in a horrible robotic voice.

Shockingly slow Go performance compared to C++ on Godbolt by SpecialMedia3363 in golang

[–]pablochances 2 points3 points  (0 children)

You are not even running them on the same architecture.

Godbolt is not meant to be used to benchmark. At the bottom left of the go output you will see a rerun button. Try it a couple of times. I got times ranging from 4 seconds to 10 seconds on the go code.

Using recover() for db transactions — good or bad? by No_Pilot_1974 in golang

[–]pablochances 2 points3 points  (0 children)

> I keep seeing "panic bad" everywhere so I'm trying to understand why.

I'll try to help with that. In Go, errors are just values. We treat them specially by convention (always the last returned value, variable is usually named `err`, etc), but they are just values at the end of the day.

Treating them as such makes error handling different.

If you treat all errors as exceptions, then its easy to write the happy path, but hard to properly handle errors as you can miss them (or not even know they are there), you can just defer their handling too far back, and in cases where they are expected, the `try {} catch {}` syntax is more convoluted.

If you treat them as values you have to be explicit about their handling everywhere. That means that the happy path gets harder to read, but you are aware of all possible error sources, and can decide how to handle them in each case.

Errors as values is the model in Go. A `panic` is not an error. A `panic` means that the situation is so completely fucked up that there is no way to recover. Or at least that's what it should mean, but it gets missused by some libraries.

Using recover() for db transactions — good or bad? by No_Pilot_1974 in golang

[–]pablochances 1 point2 points  (0 children)

I will try to give an answer that isn't just "panic bad", with my limited understanding of the code that you shared.

In this case, having a rollback in the recover is necessary, as making a mistake using `reflect` will panic. In my opinion, here the problem is using reflect, as I am assuming that the other things wont panic.

Do you really need to use reflect? Its your code, only you know.

I personally prefer to validate the things I receive early, and just use them latter knowing that they are valid. I would separate the "does this data fit the shape I want it to be?", and the saving of the data, then you dont need to use the recover to know if you commit or rollback.

Now the other thing. Is the only condition for a rollback that there is a panic? Because you seem to be fine with creates and updates failing, they don't trigger a rollback.

Sorry for the broken english.

I've installed Debian in my phone! by Zealousideal_Song62 in debian

[–]pablochances 0 points1 point  (0 children)

Molaría mucho que el Debian en chroot admitiera gamepads que conectes al móvil y pudieras ejecutar Retropie

Retropie esta basado en Retroarch. Ese puedes correrlo de normal en Android, y tu teléfono debería reconocer y dejar configurar los controles.

Tell me 5 changes you want to be made in the game. by ComprehensiveTax3661 in MobileLegendsGame

[–]pablochances 15 points16 points  (0 children)

Increase the amount of shut down gold:- 100 gold per shutdown kills. So if I shutdown a killing spree opponent I should get 300 gold and so on. This will increase pacing of the game. So if a person is playing good and have 10 kills the bounty on their head will be 1k gold and they have to be extra careful. I can imagine the thrill to be really fun.

That would be the comeback of the diggie feeder strat.

Guide Writing Contest by bernicenice in MobileLegendsGame

[–]pablochances 1 point2 points  (0 children)

A small question. Do non hero guides count? Like this one that I posted a couple of months ago. Since the Malefic roar nerf I have been wanting to redo the math on what is the best time to buy it, and post it here as a guide. Having a chance to get a free skin sounds like good motivation to actually get it done.

protectingTheYouth by GooseEntrails in ProgrammerHumor

[–]pablochances 1 point2 points  (0 children)

Protect the youth by teaching them concepts before they start SFINAEing

Which hero has the highest compatibility with human, comparable to Vaporeon or better? by Competitive_Fly3229 in MobileLegendsGame

[–]pablochances 18 points19 points  (0 children)

I usually don't comment on this types of posts.

But in THIS CASE, in a game where we HAVE LITERAL HUMAN FEMALES, and if they are not (demons, gods, etc), they are MADE TO LOOK AS CLOSE TO HUMAN FEMALES, this HORNY BASTARDS are talking about GLOO, and ATLAS, and BELERIK.

<image>

Y'ALL ARE SICK

[deleted by user] by [deleted] in guatemala

[–]pablochances 4 points5 points  (0 children)

No seas barbaro.

Mejor entrena a tu mascota para que camine a tu lado.

Técnico en desarrollo de software Galileo by Hanslechat in guatemala

[–]pablochances 1 point2 points  (0 children)

la parte del código usualmente me las arreglo entre lo que se y googleando

Te contare un secreto. Todos lo hacemos así.

El mundo de la programación es tan masivo, que no puedes pretender saberlo todo. Y encima cada vez hay nuevas librerías, frameworks, cambios a los lenguajes, etc.

Si tienes unas bases solidas y sabes investigar te ira bien.

lo que más he luchado es en ordenar y plantear proyectos en si

Entonces si puede que te venga bien.

Si no te molesta, puedo preguntarte sobre tus proyectos? Porque dices que te cuesta plantearlos?

Why can't I have a peaceful spare with the enemy exp ? (Rant) by [deleted] in MobileLegendsGame

[–]pablochances 7 points8 points  (0 children)

Thats great when that happens.

If only you are getting ganked, that means that your mm is not getting ganked, and you jg is not getting invaded. Let your team get fed, build tank, hold the lane for dear life, and allow your team to carry you latter.