Closed sandorkazi closed 6 years ago
Your wishlist is ridiculous. I'm not going to change my code just because you're being silly.
I have my reasons... :) But I understand your response.
Another go, and I try not to be similarly arrogant... so... if you read carefully: "I don't know where is the exact demarcation (...) hence I submit this as an issue."
If the timeout is hit somewhere near 5 thousand, others will have this issue as well... if it is over 10 thousand, then, whatever... Although I'd love have the functionality that's not why I submitted... Don't change the code because I'm being silly... I didn't even want to ask you that. I could fork the repo if I really want to have the stats...
You're more than welcome to fork the code. I'm not actively developing in this repo any more. I'm rewriting the site to the version which is in ExtendedStatsServerless. Your name came up in that version too. I'm using AWS Lambda to run the downloader code, and the Lambda that I can afford to allocate to the collection download cannot download your collection before it times out.
As you obviously have ideas, even if they don't work with mine, you're welcome to add me on Facebook: https://www.facebook.com/Friendless.Farrell where I will invite you to the Extended Stats Advisory Council where we can chat about your ideas.
I don't know Angular or nodeJS, but I always have ideas. :) I do Python most of the time...
First idea:
Over a limit (5000?) of collection size do the following:
Can you do this with the lambdas?
Second idea
You can also try to download the CSV version of the collection (for larger ones): https://boardgamegeek.com/geekcollection.php?action=exportcsv&subtype=boardgame&username={}&all=1&exporttype=csv Sometimes this will result in a CSV containing the whole collection, other times you will get the answer
Your request for this collection has been accepted and will be processed.
My collection export is generated in about 10 minutes or so... problems occur when I do large modifications to my collection and I'm (or someone else is) trying to download the collection at the same time... Something is obviously (?) BADly written within the export mechanism on the BGG side (or the code of someone else who was trying to download my collection)... or just WAS, I don't dare to check again...
See the following scenario:
I'm a data scientist... yes, I know this is not an explanation... so:
If you have any ideas how not to have a large wishlist but have the same functionality, I'm all ears. :)
Only an issue for my profile I guess but the stats page times out. I don't know where is the exact demarcation (and would really like to check the stats) hence I submit this as an issue. Everything is on my wishlist which I don't own or preordered and this causes a huge collection.
https://stats.drfriendless.com/dynamic/tabbed/Masu
Chaning the generation of the stats page to be daily (or weekly) instead of on-demand would solve this is issue, but would require data stored on your side. Or is there an API instead of the page?
AFAIK you don't event use the wishlist, so maybe a filtering would solve the problem on my part.
Thanks.