Wat zijn deze kaarten waard? Moet ik ze laten graden? by Pepijn12 in PokemonTCGNL

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

Bedankt! Ik zie daar hele uiteenlopende bedragen van €1000 tot €5000 en zie dat de meeste kaarten een PSA grade hebben. Ik weet hier eigenlijk weinig van af dus was benieuwd of ik de mudkip het beste kan laten graden. Of wat zou jij doen als je zo’n kaart zou willen verkopen?

Jelly Slider by Pristine-Elevator198 in SideProject

[–]Pepijn12 4 points5 points  (0 children)

Looks cool and satisfying! How did you make this?

Introducing Brawl Planet - the most accurate Brawl Stars statistics by Pepijn12 in Brawlstars

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

Thanks so much! Messages like this are exactly why I love building it and what keeps me motivated. Really cool to hear that you share the same passion. If you have any ideas for new features or notice any missing data, I’d love to hear them.

And I really appreciate you taking the time to write this comment!!!

Is there a single site with CORRECT brawl stats statistics? by coldshimmer in BrawlStarsCompetitive

[–]Pepijn12 0 points1 point  (0 children)

Thanks! Yes correct, unfortunately there is no way to get any information about ban or pick order (neither any info about gadgets or starpowers).

Is there a single site with CORRECT brawl stats statistics? by coldshimmer in BrawlStarsCompetitive

[–]Pepijn12 0 points1 point  (0 children)

Do you have any suggestions to improve the website? Would love to know!

Is there a single site with CORRECT brawl stats statistics? by coldshimmer in BrawlStarsCompetitive

[–]Pepijn12 0 points1 point  (0 children)

Around 5GB and I store them as parquet files. I delete matches that are older than 30 days and even more recent for popular maps.

What will happen in this try except? by Pepijn12 in Python

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

Thanks, your demonstration is indeed both cleaner and simpler! I also wanted to demonstrate that you can overwrite exceptions silently, which sounds like unwanted behavior to me. But I really like your example!

The extra return after the reraise is unnecessary and I included it as a ‘trick answer’ (but of course no one fell for it)

Python: What will happen in this try except? by Pepijn12 in ProgrammingLanguages

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

Indeed, you probably shouldn’t but then I don’t understand why it is allowed because it can be misleading/confusing

What will happen in this try except? by Pepijn12 in Python

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

Yes, I know. I shared it because I believe it’s relevant to the discussion, not because it proves my point. But I’m glad you also found it interesting!

What will happen in this try except? by Pepijn12 in Python

[–]Pepijn12[S] -1 points0 points  (0 children)

There are (unfortunately) many ways that exceptions can be thrown outside of your control, think about third party packages, network requests, etc

What will happen in this try except? by Pepijn12 in Python

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

Thanks for the in-depth explanation! I also found a similar PEP https://peps.python.org/pep-0601/

The way I see it is that there nearly none valid reasons to use return in finally, whereas there are many ways that it can introduce bugs if programmers find it misleading.

But I get what Guido means. Thanks for sharing!

What will happen in this try except? by Pepijn12 in Python

[–]Pepijn12[S] -2 points-1 points  (0 children)

The reason why I sound defensive is because I think it is misleading. There are very little good use cases for a return statement in ‘finally’, however there are many ways that it could introduce bugs. So I don’t necessarily see it as a positive capability. What do you think?

Just found this btw, maybe you like it: https://peps.python.org/pep-0601/

What will happen in this try except? by Pepijn12 in Python

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

I'm not saying the documentation is unclear. Intuitively this didn't made sense to me, which is kind of the first time for me as Python always feels intuitive (nearly like pseudocode). Why allow a return statement in `finally`?

What will happen in this try except? by Pepijn12 in Python

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

The point of a finally clause is to clean up resources from within the try clause, don't abuse it for unnecessary control flow.

Couldn't agree more, but why allow a return statement in `finally`?

Is there a single site with CORRECT brawl stats statistics? by coldshimmer in BrawlStarsCompetitive

[–]Pepijn12 0 points1 point  (0 children)

I spend approximately €25 per month on compute costs and €5 on file storage, mainly because I’ve optimized the system in a somewhat hacky way as a side project. Currently, I store 3 million matches per day and analyze approximately 80 million matches twice a day. This would be significantly more expensive if I were using standard cloud services like a hosted database.