These are chat archives for arenanet/api-cdi

28th
Apr 2016
Edgar Doiron
@Coffee4cr
Apr 28 2016 00:18
we need to get the daily fractal panel sorting sorted out, cause I'm going to punch someone
like how they're sorted in the UI?
Edgar Doiron
@Coffee4cr
Apr 28 2016 00:20
yes
I have a feeling it's not deterministic
Edgar Doiron
@Coffee4cr
Apr 28 2016 00:20
and by sorted
I mean not sorted at all
I'll check that after I finish with my current delving
Edgar Doiron
@Coffee4cr
Apr 28 2016 00:20
This message was deleted
wrong image :P
Archomeda
@Archomeda
Apr 28 2016 00:21
punch the one that's responsible for the normal dailies too then
Edgar Doiron
@Coffee4cr
Apr 28 2016 00:21
this one is good
blob
Archomeda
@Archomeda
Apr 28 2016 00:21
PvE, PvP and WvW are completely mixed :worried:
Edgar Doiron
@Coffee4cr
Apr 28 2016 00:21
like it should be sorted Daily T1 -2-3-4 of the same, or all Daily T1 or i don't know
sorted ...period
you're right! I never look at those @Archomeda
Archomeda
@Archomeda
Apr 28 2016 00:22
and when there's a festival around like SAB, it's even worse
Pat Cavit
@tivac
Apr 28 2016 00:27
Our team can't fix everything
(but we're trying)
Archomeda
@Archomeda
Apr 28 2016 00:29
just delegate it to a different team :)
btw i want to see software where everything is fixed
i bet there'll always be at least one bug in a decently sized application
Edgar Doiron
@Coffee4cr
Apr 28 2016 00:35
i FIXED a piece of code at work one day that hadn't been touched in 7 years
because that time it landed in that if, where there was one in a million chance to land
:P
@Coffee4cr the issue I believe is that you're sorting by "total completion". IIRC our sort impl is not stable, so it effectively shuffles them all since they have the same total completion.
The list is initialized in the same order the API spits 'em out for categories. It just never is displayed in the initialized state AFAIK.
Edgar Doiron
@Coffee4cr
Apr 28 2016 00:40
oh shit
just notice there's an alphabetical sort in the drop box
<3
everythign is fix
no fire here
:>
lye @lye runs some unit tests before pushing live
Edgar Doiron
@Coffee4cr
Apr 28 2016 00:41
it's easier to test on live
more testers
Archomeda
@Archomeda
Apr 28 2016 01:20
i think that if there are multiple achievements at the same completion level, it should use alphabetic as second sorting
or something that makes more sense that just "random" :D
it's deterministic based on the original ordering
so it's not really random
Archomeda
@Archomeda
Apr 28 2016 01:21
that's why i said "random"
:D
oh well, this issue is not the end of the world
you guys should complain about more API things
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:22
lol
Archomeda
@Archomeda
Apr 28 2016 01:22
hmmmmm
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:23
api aren't moving forward fast enough
Archomeda
@Archomeda
Apr 28 2016 01:23
i... eh... hmm...
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:24
guild missions api isn't live yet :(
Archomeda
@Archomeda
Apr 28 2016 01:24
i'll leave it up to @Coffee4cr
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:24
that's all
haha
Archomeda
@Archomeda
Apr 28 2016 01:24
:worried:
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:25
when will @Eearslya finish his build editor? :P
Archomeda
@Archomeda
Apr 28 2016 01:25
what about the /v2/events? :P
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:25
is it still possible ?
with mega servers
not really
Archomeda
@Archomeda
Apr 28 2016 01:26
it's still listed in the index as defunct
or disabled rather
it's not useful to tell you vshard 1948 currently has some event up
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:26
can't work until we can get that mumble info another way
so we know which shard we are on
actually they might all be vshard=1 these days
i have no idea how all that jazz works
Archomeda
@Archomeda
Apr 28 2016 01:27
all i know is that the mumble api spits out some number for the shard instance that i don't even know what it means
literally 90% of the item attributes serialize as
{
    id : 684,
    name : "",
    attributes : { }
}
@Archomeda iirc that's the vshard id
Archomeda
@Archomeda
Apr 28 2016 01:28
wow... that's no autoincremented number then
there's some flags stuffed into it
just mask out the higher bits
Archomeda
@Archomeda
Apr 28 2016 01:28
:o
wait are you talking about vshards or item attributes
Archomeda
@Archomeda
Apr 28 2016 01:29
are these flags useful to us?
I have no idea
Archomeda
@Archomeda
Apr 28 2016 01:29
vshards
I don't really know what the flags are for, I just remember they're there
you could pretty much s/flags/X/ and that's my entire life
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:30
hahaha
Archomeda
@Archomeda
Apr 28 2016 01:30
:D
i really should do something more with the api, but i have no clue what
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:32
beat @Eearslya to the build editor
Archomeda
@Archomeda
Apr 28 2016 01:32
lol no :laughing:
hmm... what if @lye reverts the fix for the character api, makes the api read/write, i get to move all the characters to my account and claim all the stuff that's on it? :D
probably not gonna happen right?
no? okay then...
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:34
ha.
@Archomeda it'd have to break in two places for there to be a next time.
At least, with that endpoint.
Archomeda
@Archomeda
Apr 28 2016 01:37
haha :D
maybe an idea for if we finally get build templates ingame with a serialized string like in gw1: make an endpoint that deserializes it and spits out the data that's in it
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:37
so didn't you talk about /skills/profession or /profession/skills the other day?
is that still coming?
Archomeda
@Archomeda
Apr 28 2016 01:38
also something to serialize it... but i'm not sure how that would work out nicely...
and if there's no serializer, i'm not sure if a deserializer is useful on its own :/
Eearslya Sleiarion
@Eearslya
Apr 28 2016 01:48

beat @Eearslya to the build editor

@Archomeda you scared me I thought someone beat me

I should write a build editor
Edgar Doiron
@Coffee4cr
Apr 28 2016 01:56
yes!
for tomorrow
Archomeda
@Archomeda
Apr 28 2016 01:59
lol
Archomeda
@Archomeda
Apr 28 2016 02:10
btw after seeing #290 and the spear/harpoon... have you ever noticed that the localization of the spear and harpoon gun is inconsistent? For example, the fractal spear is called Fractal Harpoon and the fractal harpoon gun is called Fractal Speargun
some little trivia that annoys me every single time when i get a fractal skin...
but oh well, who uses underwater combat anyway? :P
Archomeda
@Archomeda
Apr 28 2016 02:17
@lye, just seeing #235, is it maybe possible to implement a select whitelisted list of vendors already? specifically the ones that have a daily rotation on items like some of the guild vendors, or the karma conversion item etc.
because i'm actually starting to track some of those manually to find the pattern, but at the same time i really don't want to :cry:
it's possible that i end up with a table like http://wiki.guildwars2.com/wiki/Karmic_Converter/Table
Archomeda
@Archomeda
Apr 28 2016 02:35
so far i've found these vendors that have rotating items for sale: Karmic Converter, Ley-Energy Matter Converter, Fractal Reliquary, Sigurlina Jonsdottir
@Archomeda it's because the enums are called SOMETHING_HARPOON and SOMETHING_SPEARGUN and they changed the name before launch to "spear" and "harpoon gun" but not the enums
So it's kind of confusing when you're looking at the code without localized strings
I'm not doing vendors until guild chat, character renders and the local API are done -- there's already enough manual madness going on. Gotta draw the line somewhere.
David Reeß
@queicherius
Apr 28 2016 04:59
Character renders confirmed
i just need to change the engine to support rendering without a window context
or write my own rasterizer and such
how hard can it be :cry:
David Reeß
@queicherius
Apr 28 2016 05:02
Just rewrite the game from scratch
let me dust off my haskell chops
we're gonna do it right this time
also due to technical issues the client only runs on freebsd
David Reeß
@queicherius
Apr 28 2016 05:03
:D
for other OS's we ship a virtualbox appliance
Pat Cavit
@tivac
Apr 28 2016 05:51
ಠ_๏
smiley
@codemasher
Apr 28 2016 09:10
:point_up: 28. April 2016 03:37 @Archomeda c'mon, decoding the build templates is fun! i'm always in for some bit-flipping :D
oh and speaking of the events, any news on #61 (and related #57, #58 and #62)?
darthmaim
@darthmaim
Apr 28 2016 11:41
Ok, first time doing anything with the TP API, if an item doesn't exist in /v2/commerce/prices, it just means there are no listings for it? Or can't the item be traded at all? And the only thing preventing an item to be traded are the flags "AccountBound" or "SoulbindOnAcquire"?
Christian
@zeeZ
Apr 28 2016 12:19
Haha! You wish it was that easy
(Actually I have no idea)
darthmaim
@darthmaim
Apr 28 2016 12:21
:worried:
smiley
@codemasher
Apr 28 2016 12:30
@darthmaim i thought you know how it works: if an item isn't listed it means neither that it's not tradable, nor that it doesn't exist at all. in contrary, if an item is actually listed, it doesn't imply that this item does exist or is meant to be tradable at all. :D
Archomeda
@Archomeda
Apr 28 2016 13:06
@lye i understand, no worries :)
@codemasher i was done flipping bits after i did a lot of my own research and wrote my own save editor for a game
Aralicia
@Aralicia
Apr 28 2016 13:08
@Archomeda I dunno, I had fun with bits when I made a PNG program that cleaned the files of useless stuff, and (optionnaly) add even more useless stuff.
I like png as a format, btw. It's fun to think about the fact that you can add all sort of data to a png file (like, a tileset image + full map)
Archomeda
@Archomeda
Apr 28 2016 13:13
i've actually never looked at png aside from creating a png file from c# and strip all the useless metadata
also, after thinking about it a little bit more, decoding/encoding build template strings might be better suited for a library than an api endpoint :laughing:
hmm, actually i think you can make static files regarding those vendors and publish them on github or something
although then it doesn't really support requesting for a particular date.. hmm
Archomeda
@Archomeda
Apr 28 2016 13:23
omg, does the guild vendor sigurlina jonsdottir sell different stuff based in which guild hall she is? or based on how many levels are unlocked?
Aralicia
@Aralicia
Apr 28 2016 13:23
day to day random.
Archomeda
@Archomeda
Apr 28 2016 13:24
like, completely random?
or rotation random?
Aralicia
@Aralicia
Apr 28 2016 13:26
Don't know. the wiki have a list of the possible stuff (based on level), but it doesn't say if rotation or true random. Given the way gw2 usually handle things, there's a good chance it is on a rotation.
Archomeda
@Archomeda
Apr 28 2016 13:29
there's only one way to find out i suppose
i just hope it's not a 100-day cycle like the karmic converter
smiley
@codemasher
Apr 28 2016 13:32
that one was also good, but at least predictable http://wiki.guildwars.com/wiki/Zaishen_Vanquish
Archomeda
@Archomeda
Apr 28 2016 13:33
... >_>
i don't own the fractal reliquary one though... someone here who does?
Edgar Doiron
@Coffee4cr
Apr 28 2016 15:38
The Guild Trader is random/rotation but same for everyone(every guild)
like 2 guilds have the same stuff at the vendor
Aralicia
@Aralicia
Apr 28 2016 15:38
  • if both have the same vendor level, then.
Edgar Doiron
@Coffee4cr
Apr 28 2016 15:50
well yes and no
vendor level unlocks new tabs
but tab 1 is the same for everyone
Archomeda
@Archomeda
Apr 28 2016 15:52
it isn't
i have a guild hall in gilded hollow and lost precipice, but:
  • gilded hollow has Bag of Gear (masterwork), Resonating Sliver, Bag of Rare Gear, Bag of Masterwork Gear
  • lost precipice has Bag of Gear (masterwork), Resonating Sliver, Bag of Rare Gear, Rune Bag (masterwork)
that's the first tab
but the gilded hollow doesn't have the third tab unlocked, whereas the lost precipice does have it; so there's definitely variation here
Aralicia
@Aralicia
Apr 28 2016 16:03
Just looked at ours (Lost precipice, 1st level vendor), got the same as yours Gilded vendor.
Archomeda
@Archomeda
Apr 28 2016 16:07
gilded hollow has level 2, lost precipice has level 4:
Naamloos.png
Aralicia
@Aralicia
Apr 28 2016 16:08
Do you have a bag of gear in one of the other tabs in LP ?
Archomeda
@Archomeda
Apr 28 2016 16:10
nope, none at all
5 obsidian shards, large bag of obsidian, recipe: ascended short bow
Aralicia
@Aralicia
Apr 28 2016 16:13
So it's not based on a "we got a better version in another tab" filter.
Edgar Doiron
@Coffee4cr
Apr 28 2016 16:15
hmm
interesting
Archomeda
@Archomeda
Apr 28 2016 16:16
second tab is also different
  • GH lvl2: 5 Obsidian Shards, Trophy Bag (fine), Recipe: Ascended Greatsword
  • LP lvl4: 5 Obsidian Shards, Large Bag of Obsidian, Recipe: Ascended Short Bow
i think it might be because of the different levels that allow you to buy 1, 2 or 3 items a day
but i'm only in 2 guilds that have access to this, so i can't really confirm that based on 1 day :P
Aralicia
@Aralicia
Apr 28 2016 16:22
Well, I have a lvl1 guild vendor, so I can help to check that day to day. But maybe not here, right ? :)
Archomeda
@Archomeda
Apr 28 2016 16:24
That might be a bad idea indeed :D
David Reeß
@queicherius
Apr 28 2016 16:31
@darthmaim
Archomeda
@Archomeda
Apr 28 2016 16:33
@lye wanted us to complain about the api instead right? let's complain about those items in commerce again ^^
Christian
@zeeZ
Apr 28 2016 16:51
Why doesn't the API let me make a DPS meter chatbot automailer that flips the TP for maximum profit yet?
Lion's Arch is in desperate need of a trivia bot
windwarrior
@windwarrior
Apr 28 2016 16:55
Player: [Twilight]
TriviaBot: did you know that 1010313412431 made that before you
David Reeß
@queicherius
Apr 28 2016 16:58
@lye You won, by the way. The correct amount of mails was 56
windwarrior
@windwarrior
Apr 28 2016 17:02
on the more serious note
is there a common subset to all attributes of responses coming from v2/items/?
like, can I be guaranteed that every single item has attributes name ... id ... etc.
windwarrior
@windwarrior
Apr 28 2016 17:07
I can try to find out, but that would mean crawling the entire v2/items/ :')
Archomeda
@Archomeda
Apr 28 2016 17:07
:point_up: 28 april 2016 03:27 @windwarrior
not sure if that helps though :P
windwarrior
@windwarrior
Apr 28 2016 17:08
not sure what I am looking at also
@queicherius hahahaha! My account is Lawton.1697
Aralicia
@Aralicia
Apr 28 2016 17:13
@windwarrior I can check for name & id, since I've got a table with that.
windwarrior
@windwarrior
Apr 28 2016 17:13
free moneys!
@codemasher yeah I need to do that. I've got a bit more experience working with our map data after fixing the map tiles generator.
Speaking of which -- I meant to regenerate the map tiles this week but got sidetracked -_-
smiley
@codemasher
Apr 28 2016 17:15
@lye @tivac are you aware of this?
[18:14] <Horrible> https://www.reddit.com/r/Guildwars2/comments/4gszm7/players_make_thousands_of_gold_with_insider/
[18:14] <Horrible> hopefully anet sees that
[18:24] <Horrible> https://www.reddit.com/user/GW2CoreKrewe
[18:24] <Horrible> for example, that guy
[18:25] <Horrible> literally just gave himself away.
windwarrior
@windwarrior
Apr 28 2016 17:15
@Aralicia well I just wanted to know on a more meta level, what the guaranteed structure is of an item
@codemasher I mean that's the cost of using hosted services
smiley
@codemasher
Apr 28 2016 17:16
(i asked Horrible to hop over from #gww to here so that i don't have to play messnger again...)
Archomeda
@Archomeda
Apr 28 2016 17:18
@codemasher wait what
btw, is this just coincidence? atm the fractal dailies are sorted by tier...
Aralicia
@Aralicia
Apr 28 2016 17:20
@windwarrior I understood, yes. Still, I queried my name2id table, and there is one item with an empty name : https://api.guildwars2.com/v2/items/63366
oh this is about actual insider trading, not queicherius scouting what markets peplle are playing in
Edgar Doiron
@Coffee4cr
Apr 28 2016 17:20

gw2skills.net is dead :(

@lye how's progress on that build editor you volunteered for last night? :)

windwarrior
@windwarrior
Apr 28 2016 17:20
o.O I used to use gw2skills :O
Archomeda
@Archomeda
Apr 28 2016 17:20
PANIC :fire: :fire: :fire:
Hmm, I offhandedly said that I should make one and that's about as far as I've gotten
Aralicia
@Aralicia
Apr 28 2016 17:21
@Coffee4cr I thought it was @Archomeda that worked on it.
Edgar Doiron
@Coffee4cr
Apr 28 2016 17:21
haha yep :P
no
Archomeda
@Archomeda
Apr 28 2016 17:21
no... that was @Eearslya
Edgar Doiron
@Coffee4cr
Apr 28 2016 17:21
wasn't it @Eearslya
yeah
Aralicia
@Aralicia
Apr 28 2016 17:22
Ho yeah. sorry. I'll need a bit of time to not mix up people. I always do that kind of things with new people.
windwarrior
@windwarrior
Apr 28 2016 17:33
currently my pip is removing itself to upgrade to pip 8
this feels meta
Christian
@zeeZ
Apr 28 2016 17:50
and then it fails to write something and you're pipless
windwarrior
@windwarrior
Apr 28 2016 17:50
yeah it gave me a huge error
but it still works
so I can ignore the error right
Christian
@zeeZ
Apr 28 2016 17:51
if it ain't broken..
On Error Resume Next
windwarrior
@windwarrior
Apr 28 2016 17:55
patch inc? or api down? or is my script really that broken?
which endpoint seems down?
windwarrior
@windwarrior
Apr 28 2016 17:57
items
seems fine from here :/
Archomeda
@Archomeda
Apr 28 2016 17:57
seems to work here too
windwarrior
@windwarrior
Apr 28 2016 17:57
yeah now it suddenly works again
but I am seeing reduced request rates to /v2/wvw/matches (half of what it usually is)
the API machines look fine though
windwarrior
@windwarrior
Apr 28 2016 17:58
it was not responding for a few mins for me
but maybe something broke here
oh wait yeah there's the email
Archomeda
@Archomeda
Apr 28 2016 17:59
email? :o
windwarrior
@windwarrior
Apr 28 2016 18:02
assuming something like Sentry
@windwarrior are you pegging /v2/commerce/prices
(or is someone pegging it)
windwarrior
@windwarrior
Apr 28 2016 18:03
no? just v2/items/
David Reeß
@queicherius
Apr 28 2016 18:03

oh this is about actual insider trading, not queicherius scouting what markets peplle are playing in

If I would do that I would actually make money with my investments. Instead my grand total of investment profit is about -500g :(

windwarrior
@windwarrior
Apr 28 2016 18:04
well, I did test windwarrior.github.io/GW2MaterialHeatmap but that is code that I have been using for months
and shouldn't make that much calls anyway
darthmaim
@darthmaim
Apr 28 2016 18:06
I added a clientside request for /v2/commerce/prices for all item pages on gw2treasures.com yesterday
no worries -- that shouldn't be causing issues
it was something totally unrelated
darthmaim
@darthmaim
Apr 28 2016 18:06
:+1:
timeouts should clear up in 5 minutes or so
i wonder if that guy who writes commitstrip is an anet employee... :D
pfft that's literally every programming/ops job
smiley
@codemasher
Apr 28 2016 18:24
ikr :D
it's just... the timing is sometimes very uhhh, coincidentally
( see before... haha)
this is why we can't have nice things
putting a 10s cache around /v2/commerce/prices
Pat Cavit
@tivac
Apr 28 2016 19:14
:+1:
(that canyon is stuff catching fire)
Archomeda
@Archomeda
Apr 28 2016 19:16
:fire::fire::fire:
smiley
@codemasher
Apr 28 2016 19:17
(picture above) :D
i'm just happy this usually happens while I'm at work
smiley
@codemasher
Apr 28 2016 19:18
coincident? :D
Pat Cavit
@tivac
Apr 28 2016 19:19
no, EU prime time is during work hours here
and the EU is always the problem
smiley
@codemasher
Apr 28 2016 19:19
whoa, not even canada?
Archomeda
@Archomeda
Apr 28 2016 19:20
:o why are we always the problem? :(
because cross-DC traffic is limited, and there's some singleton services in dallas
so when my code goes berserk in frankfurt it affects other services
(but when it goes berserk in dallas no too much catches fire)
smiley
@codemasher
Apr 28 2016 19:22
well, i live near frankfurt, i could go and get the extinguisher... :fire:
Christian
@zeeZ
Apr 28 2016 19:25
I can be in frankfurt in like 30 minutes, extinguisher available
thanks team, y'all the best
smiley
@codemasher
Apr 28 2016 19:26
yw
windwarrior
@windwarrior
Apr 28 2016 19:26
I can be at the Amsterdan Internet Exchange within 2 hours, I can maybe replug the transatlantic link?
smiley
@codemasher
Apr 28 2016 19:27
changing the ends of the cable helps!
(helped at every LAN party!)
New OpenSSL releases will fix multiple sev:hi vulnerabilities. Change your passwords. Stock up on canned goods.
wait for real?
(openssl sev:hi vulns)
smiley
@codemasher
Apr 28 2016 19:28
i didn't want to bloat the chat with another tweet
orz
I need to switch some of my machines over to libressl
Christian
@zeeZ
Apr 28 2016 19:29
fingers crossed for corner case in a round room
Edgar Doiron
@Coffee4cr
Apr 28 2016 19:29
Vote for Scoring!
@Archomeda - @tivac made that!
Archomeda
@Archomeda
Apr 28 2016 19:29
nice job!
Nabrok
@Nabrok
Apr 28 2016 19:29
@Coffee4cr I'm leaning that way
Pat Cavit
@tivac
Apr 28 2016 19:30
proof I sometimes do real, actual work
Edgar Doiron
@Coffee4cr
Apr 28 2016 19:30
the rest is mostly available through websites :P
@tivac I was started to think you did nothing over there
Pat Cavit
@tivac
Apr 28 2016 19:30
a valid criticism
Edgar Doiron
@Coffee4cr
Apr 28 2016 19:30
so maybe you should be doing the build editor instead of @lye
Pat Cavit
@tivac
Apr 28 2016 19:31
I keep busy in other, less obvious ways
Edgar Doiron
@Coffee4cr
Apr 28 2016 19:31
this way, you can whip him if the api isn't returning what you need
windwarrior
@windwarrior
Apr 28 2016 19:31
Add a WXP-gain sparkle trail.
Archomeda
@Archomeda
Apr 28 2016 19:31
https://feedback.guildwars2.com/en/results, don't even have to vote yet :P
Pat Cavit
@tivac
Apr 28 2016 19:31
that's on purpose
https://github.com/tivac/falcor-experiment I did actually build a small bit of API-powered stuff
nothing very interesting, but was working on learning falcor and having it front the API was a fun challenge
Nabrok
@Nabrok
Apr 28 2016 19:39
Did old posts get cleared from the official forums?
Found it, the link just changed (forum restructuring I guess)
Nabrok
@Nabrok
Apr 28 2016 19:53
Two QoL changes I would really like to see though ... changing tag color and a "karka egg" beam of light above your squad commander (only visible to squad members)
Archomeda
@Archomeda
Apr 28 2016 19:53

@tivac, might be better next time to make a seperate thread on the forums and link it on the feedback page, because:

Also, let us know what you think by joining the discussion on the official forums!

Pat Cavit
@tivac
Apr 28 2016 19:54
Content isn't mine
It's all via a CMS
Archomeda
@Archomeda
Apr 28 2016 19:55
oh... well, then that person who provided the content should link it :D
Archomeda
@Archomeda
Apr 28 2016 20:00
but yeah, this is really a good way for asking what the community wants instead of using a single forum thread; really nice job :)
now make an api endpoint for that :>
Pat Cavit
@tivac
Apr 28 2016 20:05
I'm so over APIs
Christian
@zeeZ
Apr 28 2016 20:47
So, meta APIs?
Pat Cavit
@tivac
Apr 28 2016 20:52
(no I'm just being a butt)
Edgar Doiron
@Coffee4cr
Apr 28 2016 21:05
With VR gaining popularity, just beam it to our brain
just beam ice cream to my mouth
:shipit:
Nabrok
@Nabrok
Apr 28 2016 21:06
It's nice GW2 has that stereoscopic screenshot option ... I can take screenshots and view them on google cardboard.
Sometimes they come out a bit weird though
Pat Cavit
@tivac
Apr 28 2016 21:07
IIRC that was hacked in forever ago at nvidia's behest
At some point I need to unbox my rift and give GW2 a spin
and then probably get the spins
smiley
@codemasher
Apr 28 2016 21:10
@Nabrok dusted off this one a few days ago - DIY VR :D https://www.discogs.com/Tool-10000-Days/release/1184594
Nabrok
@Nabrok
Apr 28 2016 21:14
Where's the VR?
Christian
@zeeZ
Apr 28 2016 21:15
First person gw2 VR
doesn't need to do much, just be able to rotate the camera around
smiley
@codemasher
Apr 28 2016 21:16
Notes
Packaged in a fold-out laminated digisleeve with built-in stereoscopic viewing glasses.
Nabrok
@Nabrok
Apr 28 2016 21:17
Ah
smiley
@codemasher
Apr 28 2016 21:17
the whole artwork are stereoscopic images, even the track listing and liner notes
Christian
@zeeZ
Apr 28 2016 21:17
needs more buzzwords
Nabrok
@Nabrok
Apr 28 2016 21:18
I'll probably play around with trinus for a bit, but I don't see myself getting a vive or rift any time soon.
smiley
@codemasher
Apr 28 2016 21:20
i'm waiting for carmack dropping some serious VR game
smiley
@codemasher
Apr 28 2016 21:34
@lye can you please add this to the 502 error message? thanks! https://twitter.com/sadserver/status/725758299442794496
unfortunately, due to the nature of 502s they're generated by IIS
and I'm not touching IIS
smiley
@codemasher
Apr 28 2016 21:35
awww :D
Pat Cavit
@tivac
Apr 28 2016 22:26
they're static HTML files, I keep on meaning to customize them
¯\_(ツ)_/¯
would be ideal if we could respond with application/json for api.guildwars2.com
Pat Cavit
@tivac
Apr 28 2016 22:27
probably not happening, but yeah
but I'm not that worried about it, applications should check the status code before reading the body IMO
Pat Cavit
@tivac
Apr 28 2016 22:27
:+1:
Archomeda
@Archomeda
Apr 28 2016 22:29
learned that the hard way...
next time i'll probably also check the Content-Type
Archomeda
@Archomeda
Apr 28 2016 22:34
on a slightly unrelated note, i now know what those XP effects are when you earn some from events... sparkle trails...
on a more related note, what kind of errors can the api spit out? i think i saw a list somewhere, but can't remember where exactly
I feel like I wrote a list at one point
It's not really well-defined ATM.
Pat Cavit
@tivac
Apr 28 2016 22:37
Nothing is true, everything is permitted
You'll get a non-2xx response and (usually) an object with a text field
smiley
@codemasher
Apr 28 2016 22:37
tbh, more interesting the success codes - 200, 206 so far, yes?
yeah
Pat Cavit
@tivac
Apr 28 2016 22:37
gonna Math.random() some 204 responses in there for funsies
200 if the request is 100% working, 206 if some ids provided are invalid
Archomeda
@Archomeda
Apr 28 2016 22:37
and are only the 502 ones not json?
5xx's are not json, no
smiley
@codemasher
Apr 28 2016 22:37
@tivac you are an evil person :D
Archomeda
@Archomeda
Apr 28 2016 22:38
oh, the whole 5xx section :)
Pat Cavit
@tivac
Apr 28 2016 22:38
there are 500 errors that are JSON
but if they're generated from the load-balancers they're not JSON
there are other non-502 5xx's that are not json
Pat Cavit
@tivac
Apr 28 2016 22:38
sorry :-\
@tivac a javascript exception will cause a non-json 500
and those do happen (I keep an eye on the error logs for 'em so I can fix them)
Pat Cavit
@tivac
Apr 28 2016 22:39
Yeah, but I swear we barf back some JSON 50x too
they're usually really weird edge cases, like a deleted guild team being returned from the ladder server
I don't doubt it
I'm not exactly good at being consistent
my opinions change too frequently
Pat Cavit
@tivac
Apr 28 2016 22:39
APIs are big and collating data from lots of weird systems
irregularities are not unexpected
would be good to do a unification pass at some point, but the number of permutations is bonkers
woot /v3 confirmed
Pat Cavit
@tivac
Apr 28 2016 22:40
ugh
Js2API3
might as well rewrite some of the backend components while we're there
haskell stslib pls
tivac @tivac barfs forever
Pat Cavit
@tivac
Apr 28 2016 22:41
:skull:
Archomeda
@Archomeda
Apr 28 2016 22:41
@tivac do you barf 502s too? :D
Pat Cavit
@tivac
Apr 28 2016 22:41
yes I'm actually quite unwell
Archomeda
@Archomeda
Apr 28 2016 22:44
so many possible http status codes...
wow... didn't know that 451 existed

but why...?

451 Unavailable For Legal Reasons
The 4xx class of status code is intended for situations in which the client seems to have erred.

how does this make it a client error? :(

unless it's conditional based on location maybe... urgh
Archomeda
@Archomeda
Apr 28 2016 22:48
those codes are a mess
HTTP is a mess
Archomeda
@Archomeda
Apr 28 2016 22:49
the 4xx section shouldn't be named "client errors" anymore imo
a client can't fix a 451 error
well, true that
how's http/2.0 going?
iirc it's fully standardized
SPDY is deprecated now etc etc
IMO HTTP/2 is also a mess
...IMO pretty much everything in the realm of computing is a mess
so don't value my opinion highly
Archomeda
@Archomeda
Apr 28 2016 22:52
i haven't really looked at it, i only know it was being developed and supposedly reduced loading times if there are lots of requests to the same domain or whatever
David Reeß
@queicherius
Apr 28 2016 22:52
lye said my code is a mess. :'(
Archomeda
@Archomeda
Apr 28 2016 22:52
haha, but yeah
every time i look at something i created some time ago, i want to redo it
David Reeß
@queicherius
Apr 28 2016 22:53
I had a lecture the other day about IT security and the professor bascially ended with "we'd have to rebuild everything starting with the hardware level"
I think it's natural wanting to rebuild something after you learned some more stuff
we really should rebuild everything starting with the hardware level
the P/N junction is fine
David Reeß
@queicherius
Apr 28 2016 22:54
And after you added some crappy organically grown code to fix X edgecases
we just need to gut the current ISAs and re-engineer pretty much all I/O interfaces
smiley
@codemasher
Apr 28 2016 22:57

wow... didn't know that 451 existed
but why...?

victim blaming :D

the "content" industry is evil, all the way through
lye @lye shrugs
not much that can be done about it from an end-user perspective though
smiley
@codemasher
Apr 28 2016 22:59
"content" as in audio/video
they doo all their best to save their rights
the 451 affects us in germany partially
yeah, germany is fucked with all those content restrictions
especially on youtube, "can't watch this", "can't watch that", "can't watch ANYTHING"
smiley
@codemasher
Apr 28 2016 23:03
i started to tweet each blocked video (link to artists's channel) with the hashtag #GermanyBlockedByYoutube
you could just use a VPN >_>
smiley
@codemasher
Apr 28 2016 23:03
since this is the ongoing youtube/GEMA battle which lasts for about 10 years now
Archomeda
@Archomeda
Apr 28 2016 23:04
hmm, @lye with all those disables recently, what about a status api that spits out the current disables or disruptions on the live server? :D
well until the internet becomes nationalized instead of global
smiley
@codemasher
Apr 28 2016 23:04
i could
but it hurts the artists
@Archomeda I'm not touching those with a 10-foot pole
smiley
@codemasher
Apr 28 2016 23:04
there are lots of unblockers
Archomeda
@Archomeda
Apr 28 2016 23:04
hahaha :D
David Reeß
@queicherius
Apr 28 2016 23:04
ahahaha :D
Those are done with map instance server configs which I don't have access to
(or, the API backend servers don't have access to)
also those disables are often really clever.
Archomeda
@Archomeda
Apr 28 2016 23:05
i'm amazed really that it's even remotely possible
smiley
@codemasher
Apr 28 2016 23:06
@Archomeda eh, I think that's just experience
pretty sure the servers have been able to disable arbitrary things since launch
Archomeda
@Archomeda
Apr 28 2016 23:08
@codemasher :+1:
darthmaim
@darthmaim
Apr 28 2016 23:08
@codemasher, you could say, you just had a (•_•) ( •_•)>⌐■-■ (⌐■_■) minor victory against the gema
Pat Cavit
@tivac
Apr 28 2016 23:08
We've had killswitches for a long long time
the config-based content macro things are... something else entirely
I actually have no idea what config-based content macros are.
I should probably read emails.
Pat Cavit
@tivac
Apr 28 2016 23:09
They sound like black magic
smiley
@codemasher
Apr 28 2016 23:09
reading emails is like reading youtube comments
Archomeda
@Archomeda
Apr 28 2016 23:10
are there other shenanigans too?
Pat Cavit
@tivac
Apr 28 2016 23:11
I don't think so
Archomeda
@Archomeda
Apr 28 2016 23:11
so no killswitch for the entire game? :worried:
Pat Cavit
@tivac
Apr 28 2016 23:12
we can disable login/access via config
smiley
@codemasher
Apr 28 2016 23:12
@darthmaim in fact, youtube is the more evil one in that case :D
Archomeda
@Archomeda
Apr 28 2016 23:13
not sure if i would trust you if you were to make skynet though
don't worry about us -- worry about DARPA
they've got an umbrella program that's internally referred to as skynet
smiley
@codemasher
Apr 28 2016 23:18
(btw. y'all should totally watch that video from that tweet - it has cats! and lasers! and aliens!)
Archomeda
@Archomeda
Apr 28 2016 23:18
cats? where?!
smiley
@codemasher
Apr 28 2016 23:18
Archomeda
@Archomeda
Apr 28 2016 23:24
cats with lasers... i prefer to not have one