Try not to construct the same object multiple times maybe? I notice, that in steamwishlist.js
, you're creating the same cheerio object many times by calling $(this)
more than once in a function. Why not cache it into a variable and use that instead? That'll surely speed things up, theoretically.
Also, try using more named functions rather than the anonymous ones. Though, the performance gained from doing that one shouldn't be too significant, as you'll most likely have something else that's bottlenecking the app. Things like network latency, and I/O stuff.
There's so many things that we could discuss regarding performance, but what's really important is doing benchmark and find the bottleneck. :T
Comment has been collapsed.
Nice update. Use this for group giveaways. Thanks a lot :)
Comment has been collapsed.
All I get is a page saying "This is maybe the new Steam Group Wishlist. You may want to visit the forum topic."
Comment has been collapsed.
It doesn't work on Google Chrome, just tried Firefox and it's working.
Javascript is enabled, the old version worked fine for me.
Edit: Just so you know, it doesn't work on IE either. (At least not IE7, what I'm stuck with at work)
Comment has been collapsed.
I just tried it from home (was at work earlier) and it's working flawlessly in both Chrome and IE10.
Dunno why it won't run on my work computer. Could be the corporate firewall acting up but I find it weir that it would still work in FF though. And the older version worked for me there too.
Comment has been collapsed.
It relies on websockets or long-polling as fallback, I'd be wary on how well that copes with enterprise firewalls. This might prove to be a good starting point, as it's heavily dependant on both the firewall and the browser apparently. The websockets run on port 8000 tho, as that's an openshift-requirement currently.
The old version used none of that fancyness and just used plain old ajax requests.
Comment has been collapsed.
Yeah, I'm pretty sure port 8000 is blocked at work. Makes me wonder though why it worked in FF. I have a proxy set up in FF though to bypass the firewall's blocked sites (nothing worse than getting locked out of some sites you actually need to do your job) and that might have been active. I'm guessing if you could move things to a more standard port it would help a lot.
Comment has been collapsed.
Works for me on FF too. It's just that I almost never fire up that clunky thing.
Comment has been collapsed.
Works fine on my Android tablet. Tried both default browser and Chrome.
Comment has been collapsed.
I'm pondering about using localStorage at least for game-information on client-side, I'm not sure how well it'd fare when adding all wishlists of what may be quite a lot of users. Limiting it to 100 or 200 as max group size with caching enabled might be a viable option.
This really depends on suggestions.
Comment has been collapsed.
Not wishlist compile, but a group checker for any title on steam. Idea being that you cache the library of people in the group and check it every few days for new additions. I have never looked at the steam api, so I am not sure what it lets you grab... if there even is an api, I am assuming there is, because otherwise sites like this would be insane to sync up. For obvious reasons, large groups would not function well with the local cache of every members games. It would just make it so quick to check for private groups.
I am too busy with work to get started on it myself :( Plus I haven't touched web stuff in so long. I should really work with rails again. I had fun with it. But for now, haskell!
Comment has been collapsed.
Steam does provide an API, sadly the data exposed by it is very limited. They don't even provide an API to grab someone's wishlist. What the script does is, basically open the wishlist page of each member, and query the DOM to find out the wishlisted games.
Comment has been collapsed.
Comment has been collapsed.
How excited am I about this new wishlist? Very.
How bummed am I that I can't get it to work for me? Majorly.
I'm running Firefox with Java enabled, port 8000 is open on the router, and I'm trying to find what's blocking the list. The fact that IE 10 isn't pulling it up, either, leads me to believe it's still the router, but I passed the winsockets test with flying colors. All the ports are open and working.
Sigh...
Comment has been collapsed.
I also found an little bug with the sorting algorithm, where it seemed to favour putting them in alphabetical order rather than the number of times it was wishlist-ed occasionally. Screenshots. Names were removed because apparently I have too much time on my hands.
It sorts itself out when I refreshed the page, though it's not any sort of a big problem to begin with.
Just a heads up, really. Appreciate the work, mate! ♥
Comment has been collapsed.
This also happened to me. I'd suggest to just forget about sorting by alphabet, and stick to how many people in a group wishlisted a game. Trying to sort the games by alphabet when the amount of people who wishlisted is the same doesn't present any useful information anyway. Though, people might beg to differ on that :T
EDIT: It seems that the cause of this problem is due to the sorting function called after the client side script receives info about a user, rather than being called after updating the total number of a game being wishlisted.
Comment has been collapsed.
However, I don't have any clue on how to access a list of games on Steam, thus I'm not sure how to put it into a nice GUI apart from asking for the App ID. And that's like stooopid.
Comment has been collapsed.
Comment has been collapsed.
31 Comments - Last post 48 minutes ago by slurredprey
54 Comments - Last post 1 hour ago by sensualshakti
450 Comments - Last post 5 hours ago by klingki
7 Comments - Last post 9 hours ago by xXSAFOXx
16,297 Comments - Last post 11 hours ago by SebastianCrenshaw
206 Comments - Last post 14 hours ago by Joey2741
31 Comments - Last post 15 hours ago by Pika8
53 Comments - Last post 9 minutes ago by ShroudOfLethe
70 Comments - Last post 28 minutes ago by Tucs
44 Comments - Last post 43 minutes ago by Tucs
690 Comments - Last post 52 minutes ago by Fitz10024
171 Comments - Last post 53 minutes ago by Fitz10024
128 Comments - Last post 53 minutes ago by Swordoffury
138 Comments - Last post 1 hour ago by grez1
Hello everyone!
I'm the semi-mastermind behind semi-popular useless tools for SteamGifts such as that old, boring Steam Wishlist thing which was/is located at steamwishlist.mabako.net.
Improvements over the original version:
Where? http://swl.mabako.net/YourGroupName - for example, this.
Dump feedback here. If it broke, see the bug tracker. I'm not sure if I'll take the old version offline soon-ish, maybe if this actually shows up as stable. So until then, consider this beta.
Bug Tracker - please report any issues there as I hardly have time to go on Steam/talk on Steam/read this forum topic in particular.
Source: Github
TL;DR - Here's a puzzle
Comment has been collapsed.