UndercoverUlrikHD

joined 1 year ago
MODERATOR OF
[–] [email protected] 1 points 1 day ago (1 children)

The author pointed out how exceptions are often faster than checking every value. If your functions throws an error often enough that Exception handling noticeably slow down your program, surely you got to take a second look at what you're doing.

[–] [email protected] 4 points 1 day ago (2 children)

They both have their place. I just recently discovered a bug in lemmy bot I wrote where the lemmy API module will raise an Exception if login fails (response status code != 200), which feels extremely out of place, as the error/status code do matter in that case.

Other times exceptions make more sense as Phillip pointed out. It's ~~easier~~ faster to ask for forgiveness than permission after all.

[–] [email protected] 7 points 1 day ago

I can't remember ever having used meta critic to guide a purchase. There is so much content both from forums and YouTube/Twitch that gives you much more accurate impressions of games. Meta critic seems rather pointless nowadays.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

Yup

I'm hindsight it's a poor choice, but it's not worth the time to change as it's just minor inconsistency.

[–] [email protected] 3 points 1 day ago (2 children)

Good to hear, let me know if any other problems arise. And just be aware that there will likely be some minutes of latency for the match threads since each edit have to federate from world to lemy.

[–] [email protected] 3 points 1 day ago* (last edited 1 day ago)

A few years ago it only took him 1 game* to reach 9 goals, he's clearly on a downward spiral.

*not speaking about PL only

[–] [email protected] 3 points 1 day ago* (last edited 1 day ago) (4 children)

Yeah there is some federation issues. From a lemmy.world account I can't see any comments on superlig.

I've set the bot to subscribe to superlig, so hopefully lemmy.world will start to sync activity from that community.

Edit: for the record, it's the same for programming.dev as it is for lemmy.world. lemmy.ml only sees the latest post, with no comments.

[–] [email protected] 4 points 1 day ago (1 children)

Vini and Bellingham were popular for a long time, and both got Madrid's PR machine behind their back which can never be discounted. Personally I'd pick Kroos over both.

So:

  1. Rodri
  2. Kroos
  3. Vinícius

But I wouldn't bet any money on any other spot than nr. 1

My completely unbiased list would be

  1. Rodri
  2. Yamal
  3. Haaland

What's you list?

[–] [email protected] 2 points 1 day ago

Would have been sweet with a hattrick of hattricks, but won't complain about this either. I remember thinking it was crazy that Norway got the strongest chess player of all time, but this is even more crazy.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

Seems like federation sync between lemmy.world and lemy.lol is funky. The bot did detect the mod status correctly on second try, though there should be no reason it didn't detect it on first ping. It's just parsing response json after all.

The account also doesn't receive tags from lemy.lol for some reason, but that's an instance issue as I can't see tags when logging into the account on boost.

[–] [email protected] 1 points 1 day ago (6 children)

It doesn't seem like your tags on the other instance are being detected by lemmy.world. At least not within reasonably time.

[–] [email protected] 3 points 1 day ago

I can do it, but I don't want to push the bot on other communities. Everything I as a bot Maintainer can do, admins/mods can also do.

view more: ‹ prev next ›