dev_ric

joined 2 years ago
[–] [email protected] 1 points 3 weeks ago

@[email protected] GPTBot is the most aggressive content scraper I've come across in decades of server management. Totally ignores any crawl limits that you set in your robots.txt, and they operate on enough IPs to make even nginx configured rate limiting a bit futile.

You can, though, block them (and others) by their useragent string. Add this to your .htaccess to block both GPTBot and Claude, for example:

SetEnvIfNoCase ^User-Agent$ .*(ClaudeBot|GPTBot) BADBOTHAMMER
Deny from env=BADBOTHAMMER

[–] [email protected] 0 points 1 year ago

@teahands @ukcasual I've never been much of a fan of those kinds of chewy sweets to be honest. They're too much hard work to eat 😆

[–] [email protected] 7 points 1 year ago (2 children)

@teahands @ukcasual this is simultaneously every elf in Matt Groening's Disenchantment!

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

@teahands @ukcasual see, for me, nothing beats that crunch of frozen chocolate. The best bit about a magnum is the crunchy layer it's wrapped up in 😁

Classy though? Pfft. I'm basically a starving Alsatian when it comes to treats. They skim over the taste buds at an astonishing speed 😂

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

@teahands @ukcasual you like vanilla ice cream, and lemonade lollies? It's like nobody ever told you that chocolate was a thing 🤔

[–] [email protected] 2 points 2 years ago

@teahands @gamedev you probably want to start by looking up A* pathfinding. Essentially it's just a way of calculating the shortest route between two places by scoring each adjacent tile from every other, based on how many hops it took to get there. Same maths however many adjacents you have so it should work for hex quite nicely. I'm 99.9% certain a YouTube search will explain better than I can...