These are chat archives for arenanet/api-cdi

16th
Feb 2017
Eearslya Sleiarion
@Eearslya
Feb 16 2017 05:30
nothing in the DAT file is code except for some small HTML/CSS/JS things
@lye wait are you saying the entire engine is actually in that 30M exe
windwarrior
@windwarrior
Feb 16 2017 08:01
30 MB of binary is quite a lot, thats the realm of chromium
which is arguably one of the more complex pieces of software
Archomeda
@Archomeda
Feb 16 2017 14:35
speaking of chromium, i still don't know why all the chromium parts of gw2 ingame have a slow response time sometimes... especially the trading post in a fps intensive area; i suppose it's because gw2 itself is taking all of the available cpu time :(
Jonathan Andrist
@rwfrk_twitter
Feb 16 2017 15:06
@Darqam They're just stat swapped versions IIRC?
David Reeß
@queicherius
Feb 16 2017 16:14
:fire: api calls to https://api.guildwars2.com/v2/guild/:id/teams end in a 502 :fire:
at least around 50% of the time
ugh
@queicherius do they end in successes otherwise?
David Reeß
@queicherius
Feb 16 2017 17:41
yup. but it works again (at least in my refreshes) since around 10-15 mins
wtf okay
David Reeß
@queicherius
Feb 16 2017 17:42
nvm, still erroring on my key
was using a different one for testing
What's the error you're getting?
Should be two different errors -- one that's an actual error and another HTTP 500 that's due to some anti-cache stampede bug
David Reeß
@queicherius
Feb 16 2017 17:44
this url is causing the issues for me
502 - Web server received an invalid response while acting as a gateway or proxy server
Hmm, well, I know roughly what's causing the 502
I'll see if I can fix that because it's hiding the actual error.
David Reeß
@queicherius
Feb 16 2017 17:45
it also loading forever before it shows the error
yeah.
Basically when two requests need access to the same cached resource, the second one is queued and when the first one puts it in the cache, it dispatches to the queue.
In some cases, if the first one encounters an error and doesn't handle it properly (by passing it back to the cache layer) the queued requests never get woken up
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:27
remind me which github label you use to signify it'll appear shortly in an upcoming patch? Was it "needs deploy" or "ready"?
darthmaim
@darthmaim
Feb 16 2017 18:28
needs deploy
^
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:29
that's what i was looking for. cheers
darthmaim
@darthmaim
Feb 16 2017 18:29
:beers:
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:30
xml parsing error opening the waffle but hey whatever
darthmaim
@darthmaim
Feb 16 2017 18:31
Maybe it's the wrong URL? I'm on mobile atm
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:31
maybe I need to be logged in
darthmaim
@darthmaim
Feb 16 2017 18:31
Just typed it from memory
maybe
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:32
GitHub API rate limit exceeded for waffle-iron. Please log in.
k
I'm sure I've visited that page before, logging in/authorizing the app worked
cats question, if the api returns obtained cats for that account, how would you go about fetching an initial list of all possible cats?
find someone with all the cats first?
check the PR
actually
yes.
I should probably add the hints to the PR.
darthmaim
@darthmaim
Feb 16 2017 18:37
Still voting for /v2/home/cats with a list of all cats that gets referenced by the account one
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:38
hard coded cats everywhere
Archomeda
@Archomeda
Feb 16 2017 18:48
:(
these cats generally don't have a name right?
they 100% don't have names
Archomeda
@Archomeda
Feb 16 2017 18:49
urgh
the NPCs that spawn might have names but I'm pretty sure they're all just "Cat" or "Snow Leopard"
Archomeda
@Archomeda
Feb 16 2017 18:50
except maybe that one in the last story instance
:cat2:
Archomeda
@Archomeda
Feb 16 2017 18:51
but yeah, i agree with having a /v2/home/cats, even if it's just an array of ids XD
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:51
fix this lye, and get all the cat names changed to "Cat"
even the snow leopard?
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:51
Yes. Absolutely
I'll add it into the API
Edgar Doiron
@Coffee4cr
Feb 16 2017 18:52
haha
"name" : "Cat" for all things in /v2/cats
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:52
{ 1: "Cat", 2: "Cat", 3: Cat" ..
Archomeda
@Archomeda
Feb 16 2017 18:52
go even further
I'll even localize it
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:52
lol
Archomeda
@Archomeda
Feb 16 2017 18:52
rename all the npcs to "Cat"
Edgar Doiron
@Coffee4cr
Feb 16 2017 18:52
Chat
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:53
they should have a language mode ingame that allows you to swap to ((placeholder numbers))
lol
Edgar Doiron
@Coffee4cr
Feb 16 2017 18:54
lol
darthmaim
@darthmaim
Feb 16 2017 18:54
((101))
ChieftainAlex
@ChieftainAlex
Feb 16 2017 18:56
Archomeda
@Archomeda
Feb 16 2017 19:03
except with ((123415)) you really don't know what it's supposed to be, compared to ((interact)) for example :P
Darrian
@rikkuness
Feb 16 2017 22:41
hah @Archomeda I just realised I've been following one of your repos for ages, the LightFX Extender one, I pulled it ages ago to see if I could use it to turn on my living room lights xD
Archomeda
@Archomeda
Feb 16 2017 22:44
oh haha
i haven't looked at that repo for a long time
heh
if those lights have an api, you can implement it :P
Darrian
@rikkuness
Feb 16 2017 22:46
yeah yeah it's just RESTful, ended up using Aurora, someone already had a fork doing the same thing anyway
I feel like Aurora may even contain your code, idk
Darrian
@rikkuness
Feb 16 2017 22:47
yeah that's the one
Archomeda
@Archomeda
Feb 16 2017 22:47
yeah, he came to me long before he started working on that
Darrian
@rikkuness
Feb 16 2017 22:47
ah nice
Archomeda
@Archomeda
Feb 16 2017 22:47
i think i still have him on steam
seems like he's worked on it a lot
Darrian
@rikkuness
Feb 16 2017 22:48
I got a local branch that I've got a few mods on, got RGB light strips inside my PC case that I have hooked into it
Archomeda
@Archomeda
Feb 16 2017 22:49
but yeah, it's possible he used some of my code
i think he learned the basic stuff about how to interact with some apis from my code
Darrian
@rikkuness
Feb 16 2017 22:49
cpp is far from my native language though so I just fumbled my way through and hacked in shit until it worked ;p
Archomeda
@Archomeda
Feb 16 2017 22:50
haha
before lfxe i didn't even do anything in c++ either
that's literally what experienced, professional C++ programmers do
welcome to the club friend
Archomeda
@Archomeda
Feb 16 2017 22:50
pointers became my living hell
Darrian
@rikkuness
Feb 16 2017 22:51
I'm doing some golang at the moment and yeah I'm having the same fumbling around experience there at the moment :smile:
not gonna throw you a bone there; if you haven't read the language reference you should do that first
it only takes an hour or so to read through (unlike C++, which takes several lifetimes)
you might find some useful things like the &^= operator which is fantastic btw
Darrian
@rikkuness
Feb 16 2017 22:53
yeah yeah it's not too bad, I'm getting shit done in there, it's finding an excuse to use it yunno. 95% of what I do professionally is RESTful API's and stuff that needs throwing up quickly so I pretty much just node.js all the things these days
ohh I'll look it up, not come across that yet
it's super useful if you're using bitflags for anything
Eearslya Sleiarion
@Eearslya
Feb 16 2017 23:00
The what operator
Eearslya @Eearslya furiously googles
Archomeda
@Archomeda
Feb 16 2017 23:00
interesting, i just contacted the author of aurora again on steam
apparently because of the popularity he got an internship and a job out of this project
Eearslya Sleiarion
@Eearslya
Feb 16 2017 23:01
how do I even google that
Darrian
@rikkuness
Feb 16 2017 23:01
oh wow!
Eearslya Sleiarion
@Eearslya
Feb 16 2017 23:01
google is ignoring the symbols help
Darrian
@rikkuness
Feb 16 2017 23:01
there's a google just for coders isn't there
Eearslya Sleiarion
@Eearslya
Feb 16 2017 23:02
Darrian
@rikkuness
Feb 16 2017 23:02
oh shit, turns out I'm behind the times https://googleblog.blogspot.co.uk/2011/10/fall-sweep.html
they shut code search down in 2012 xD
Archomeda
@Archomeda
Feb 16 2017 23:02
urgh i still hate that i can't search by exact symbols
Eearslya Sleiarion
@Eearslya
Feb 16 2017 23:03
wait no the only result for that is in Go
Darrian
@rikkuness
Feb 16 2017 23:03
yah das it
Eearslya Sleiarion
@Eearslya
Feb 16 2017 23:03
@lye what on earth is &^= google has failed
I thought he was referring to C++?
Darrian
@rikkuness
Feb 16 2017 23:04
nahhh we switched to go, my fault blame me haha
@Eearslya bitwise unset, x &^= y is equivalent to x &= ^y where the unary ^ is a bitwise negation
Archomeda
@Archomeda
Feb 16 2017 23:14
also interesting, apparently he's working on a unified lighting api
it's great if that's gonna be pushed to the various manufacturers
Archomeda
@Archomeda
Feb 16 2017 23:39
@rikkuness yeah from what i've seen, aurora is the way to go for lighting in gw2 ;)
the support is huge
Darrian
@rikkuness
Feb 16 2017 23:40
yeah looks good! I got it setting my case colors in no time at all, but because I don't have a keyboard with RGB I wasn't exactly sure the colors I was setting were even right haha