These are chat archives for arenanet/api-cdi

15th
May 2016
smiley
@codemasher
May 15 2016 00:15
someone please stop me from ranting on #312
people who open issues because of such things are the reason why we can't have nice things
Archomeda
@Archomeda
May 15 2016 15:30
this is also making my eyes bleed: https://www.reddit.com/r/Guildwars2/comments/4jd6u4/suggestion_count_minor_sigilsrunes_as_junk/
sure, getting all these minor sigils/runes is annoying, but you can't just change them to junk since they technically aren't junk...
it will bring all other kinds of complications etc
windwarrior
@windwarrior
May 15 2016 19:27
I think the market for them will break
Eearslya Sleiarion
@Eearslya
May 15 2016 20:31
What market?
@codemasher I got your back
@Nabrok I was on BGBL from what I remember
but RE: 206, I originally thought it was a silly idea but it turns out to be super helpful for a lot of things
so it'll have to be removed over my dead body
Eearslya Sleiarion
@Eearslya
May 15 2016 20:59
I think it's nice to have some kind of indication you're not getting everything you requested
technically you can look at some of the other response headers and compare against the original request
but that assumes you didn't send any dupe ids
additionally: at some point I should probably dig through our HTTP stack and make OPTIONS requests an option so we can support preflighting
Eearslya Sleiarion
@Eearslya
May 15 2016 21:03
Whee, dark themes for everything
smiley
@codemasher
May 15 2016 21:09
thanks @lye, i've expressed my sentiment through the new ra(n)ting system... :D
Eearslya Sleiarion
@Eearslya
May 15 2016 21:10
Huh. I never noticed that.
:>
Eearslya Sleiarion
@Eearslya
May 15 2016 21:16
Huh. LE is really pushing the new certbot thing. It's the only download they show on their site XD
smiley
@codemasher
May 15 2016 21:42
i doubt it'll ever happen
smiley
@codemasher
May 15 2016 21:43
(but at least loading/saving builds, yes? :D)
i'm like the least reliable person to ask
i have no idea what the plans are lol
smiley
@codemasher
May 15 2016 21:44
hehe, but you're in a quite good position to poke the right people about it
that costs time and energy, two things I have little of
smiley
@codemasher
May 15 2016 21:44
heh
there was an overwolf extension that swapped builds
I'm not sure what ever happened to it
smiley
@codemasher
May 15 2016 21:45
i doubt it did that through any official supported way
honestly I'd be happy with a tool that let me put in stat constraints
then it looked at my bank and said "use these items"
like, 3k toughness, 300 healing power, 30% crit before fury, rest power
smiley
@codemasher
May 15 2016 21:45
there's basically the same problem in wildstar
but there at least you have up to 4 so called action sets that allow you to save skill/amp combinations
sadly not the associated armor and stuff
the armor's actually kind of hard from a technical standpoint
smiley
@codemasher
May 15 2016 21:47
a dream would be to add the armor to an action set
there's a lot of error states to handle, basically
smiley
@codemasher
May 15 2016 21:47
yea
i wonder how long that would take to implement
Eearslya Sleiarion
@Eearslya
May 15 2016 21:47
@lye I think something like that could easily be written via the API..
sure, but you're stuck with the loading bit
Eearslya Sleiarion
@Eearslya
May 15 2016 21:48
Loading bit?
and it's easier to message the user "hey you're missing zerk rings" with the native UI
yeah where you swap in the skills/traits/gear/food
Eearslya Sleiarion
@Eearslya
May 15 2016 21:48
Well true, but at least the API can do the math for you
sure, but does anyone have an application that does that?
Eearslya Sleiarion
@Eearslya
May 15 2016 21:48
I mean..I -could-.
smiley
@codemasher
May 15 2016 21:48
no, because it doesn't work :D
it should be pretty easy implementation with a greedy algorithm
well, it does work
smiley
@codemasher
May 15 2016 21:49
give us the abilities and yo'll see app pop up :D
it's the knapsack problem but over a finite set
smiley
@codemasher
May 15 2016 21:49
i mean like directly load a build
ah right
maybe one day we'll have the local API
Eearslya Sleiarion
@Eearslya
May 15 2016 21:49
First writable endpoint :fire:
smiley
@codemasher
May 15 2016 21:49
soon(tm)
the "no non-https websockets over localhost" was the nail in my heart
I'm still mad at the people who worked for that
Eearslya Sleiarion
@Eearslya
May 15 2016 21:53
Mm, thinking on the build-planner-thing more, I realize what you mean. That's a fun problem to tackle..
smiley
@codemasher
May 15 2016 21:53
oh and this is how one of the fan-made wildstar APIs gather their data http://mods.curse.com/ws-addons/wildstar/220356-jabbithole-client
meh, i really hope carbine comes up with an API some day
smiley
@codemasher
May 15 2016 22:08
oh and on a side note: i got a new skybox for my housing plot - and if that isn't a bow down to guild wars, i don't know what it is http://chillerlan.de/wildstar/chaosstorm.png
(and the skybox is in fact called "Chaos Storm")
windwarrior
@windwarrior
May 15 2016 23:27
knapsack problem, just use dynamic programming right :>
the set is small enough that it shouldn't matter
there's 20 prefixes * (6 armor + 6 trinkets + 2 weapons)
windwarrior
@windwarrior
May 15 2016 23:30
yeah, its just a textbook example of when to use DP
brute force is a reasonable strategy, though it's faster with a greedy algorithm
I mean sure simulated annealing is going to work too
maybe I am too out-of-touch with modern DP strategies
windwarrior
@windwarrior
May 15 2016 23:33
the only one my textbook taught me was caching subresults... like when calculating a list of fibbonaci, store old results
and in knapsack just store subresults
Simulated annealing (SA) is a probabilistic technique for approximating the global optimum of a given function.
I love wikipedia's drive to be absolutely formally correct
but... this is not helpful
simulated annealing is really simple
it's a guided random walk where the maximum deviation is a function of time with a negative slope
if a random walk is P(x) = x' for the domain of P
and a random walk is P(x) = x' given x' is better than x for the domain of P
windwarrior
@windwarrior
May 15 2016 23:38
yeah
I just read about it
it's pretty simple but is actually wildly applicable
windwarrior
@windwarrior
May 15 2016 23:39
today I learned :>
I like to know more of these little optimisations, academia just gives up if someone says NP-complete