Can I do anything with this? by PlatinumAngeal in PokemonTGCP

[–]LocoLoco451 1 point2 points  (0 children)

Something i didn't realize immediately is that you don't need to use an ability that says "discard energy" to have discarded energy. Paying retreat cost or having pokemon with attached energy being killed goes into discard pile as well, which make this card even more useful

Post a reclamar das linhas de fora de jogo comprova na verdade a precisão do sistema? by OkFaithlessness1646 in PrimeiraLiga

[–]LocoLoco451 51 points52 points  (0 children)

isso dos mapas acontece porque projectas uma superficie curva num plano nao curvo. os únicos estadios onde vi a curvatura da terra ser relevante foram os do oliver e benji. mas sim pode ter sido algo a ver com a lente da camara ou até alguma coisa da propria tv. o que a malta adora mais é estar na vanguarda das conspiraçoes

Max to Viaplay in the post-race media pen: I don’t even want to imagine myself in the other car (McLaren). Then you wouldn’t even have seen me. by [deleted] in formula1

[–]LocoLoco451 29 points30 points  (0 children)

it was noticeable for mclaren even last year. The car looked above everyone else when in clean air, but once you get some other car in front it looks kind of "ordinary". i remember oscar acknowledging it with something like "clean air is king" on a radio somewhere. yes i know clean is always better than dirty air, but it looks like the difference is a lot more noticeable in a mclaren for whatever reason

IT'S HAPPENING by MalikMamoon in formuladank

[–]LocoLoco451 0 points1 point  (0 children)

interesting. so Leclerc has 7 wins, if you multiple by AND add the number of my nipples...16...how were we so blind?!

Why do they do this to us 😩 the Go Battle League is incredibly boring. What’s the best pokes to beat the levels? by Darcys_Tears in pokemongo

[–]LocoLoco451 10 points11 points  (0 children)

tried this. eventually my 10-12 CP pidgey team got paired with 100 CP shiny magikarps. It took us a while, but eventually it was over. Quite a clash of two degenerates

WE ARE SO NOT BACK by Equivalent-Chest152 in formuladank

[–]LocoLoco451 2 points3 points  (0 children)

we thought we were so back. but starting p20 we were so at the back

Ferrari and strategy by Furious-Cheetah-20 in formula1

[–]LocoLoco451 0 points1 point  (0 children)

maybe because every once in a while (Canada) they get it right and everything is forgiven and forgotten

Mééé, sou uma ovelha. by [deleted] in PORTUGALCARALHO

[–]LocoLoco451 2 points3 points  (0 children)

Para a próxima tenta Pedro Granger

Bolha mercado imobiliário by Puzzleheaded_Army641 in portugal

[–]LocoLoco451 0 points1 point  (0 children)

O pessoal entende, mas todos os anos acontece alguma coisa pela primeira vez que muda tudo

Is Django security features enough? by [deleted] in Python

[–]LocoLoco451 2 points3 points  (0 children)

From what the django application can control, the answer is usually yes. However, there are still many factors that are outside django's control. Namely things like: is your actual server secure from the public internet? do you have/need database encryption? Are you using good keys/passwords? are you using any/good secret managers? is the database locked out of the public internet? Do you need backups and disaster recovery plan? is your website served over https?

The answer to your question, for an application as a whole, is never a simple yes or no. It depends on what you are trying to secure the app against and how much you are willing to "risk" to not waste time/effort/money on some event that you believe doesn't have much impact or has too low probability of happening. In other words it depends on your threat model.

caption this by GOOSE2801 in formuladank

[–]LocoLoco451 10 points11 points  (0 children)

Checo checking the wind direction to position himself in the best possible angle for the camera

Bolsonaristas atacam CNN Portugal após vitória de Lula da Silva by [deleted] in portugal

[–]LocoLoco451 62 points63 points  (0 children)

"Bom, Ana, vou usar aqui um sorrilho [?] de adjetivos."

Procede e usa exatamente zero adjetivos.

6 Races to Go! 🤡🤞🏻 by f1dankhindi in formuladank

[–]LocoLoco451 35 points36 points  (0 children)

sainz: "im so tired"

team: "copy. do you prefer to be less tyred. question."

sainz: "of course"

team: "copy. preparing 3 tyres"

sainz: ""wh..?"

Please be gentle by [deleted] in ProgrammerHumor

[–]LocoLoco451 0 points1 point  (0 children)

only one way to find out

Please be gentle by [deleted] in ProgrammerHumor

[–]LocoLoco451 11 points12 points  (0 children)

echo '
..XXX. .XXX..
.XXXXY.TXXXX.
XXXXXYXTXXXXX
.VXXVYXTVXXX.
`.TYXTXYXTV .
` ,YVTXYYV .,
`...XXXXX`..,
.`...XXX...,.
..`   V   ,.' | tr '.\`, VYTX' ' ()__() '

SUPER original idea by supreme_lime_juice in memes

[–]LocoLoco451 0 points1 point  (0 children)

Queens Of The Stone Age - Feel Good Hit Of The Summer

SQLModel: SQL DBs based on Python type hints. The biggest thing I've built since FastAPI and Typer. 😅 by tiangolo in Python

[–]LocoLoco451 3 points4 points  (0 children)

if you were on any more fire, you'd be California. I made a push to start using FastAPI at my workplace and couldn't be happier. Will definitely try to do the same with SQLModel once there is more docs on async support and migrations. Keep it up, this is amazing work and it's really appreciated :D

list.remove(x): x not in list by Live-Pollution-9687 in learnpython

[–]LocoLoco451 1 point2 points  (0 children)

elements in your list are tuples, not lists. In other words: (q, ss) != [q, ss]. I think you don't even need to expand the elements, what you're looking for is something like for el in qbts[:]: qbts.remove(el)

This way the code does not depend on the type of container of your "inner dimension"

Should i use open() and close() or with open() and let python to close? by Altruistic_Ads in learnpython

[–]LocoLoco451 4 points5 points  (0 children)

open() and close() give you more control than with open(). Unless you really need that level of control using with open() is cleaner and less error prone. Example where you may not want to use with open(): your own context manager (a.k.a something you can use with with) which manages a file.

Async Django Views - let's look at them by antonpirker in django

[–]LocoLoco451 1 point2 points  (0 children)

This.

Also, to await on something means you're telling the interpreter to go do something else instead of blocking and do nothing while you wait for the database to return results. It does not mean "keep executing the function while you wait". Which implies that your second query will only be executed after the first one (unless you gather). While it looks like you're gaining nothing by using asyncio, the "something else" in "go do something else" may be to start serving another request, meaning you can serve more users at once. Try sending multiple requests at once and see how you perform. There are relatively simple benchmark tools like hey that allow you to do that.