These are chat archives for arenanet/api-cdi

27th
Jul 2017
K900
@K900
Jul 27 2017 10:00
@queicherius the whole thing is one static page, no backend wizardry there
You can already find the data in the source files
I'll probably open source it eventually tho
Also @lye /dailies/tomorrow returns achievement 2477 and it's not whitelisted
pls fix
BoyC
@BoyC
Jul 27 2017 10:07
@K900 I might have a look at that for TacO if you give permission to use the data
K900
@K900
Jul 27 2017 10:07
@BoyC sure, I just need to make the code less shitty and decouple it from the rest of my website
Though we should probably think of a way to share data
Cause one of the big reasons I'm trying to open source it is actually crowdsourcing tips and such
smiley
@codemasher
Jul 27 2017 10:10
protip: start by writing non-shitty code, it saves you work :D
K900
@K900
Jul 27 2017 10:10
It was my first attempt to write Serious Modern JavaScript in like
Five years
I reserve the right to be shitty
codemasher @codemasher coughs
smiley
@codemasher
Jul 27 2017 10:11
"serious javascript"
i'm dying :D
K900
@K900
Jul 27 2017 10:11
Hey
smiley
@codemasher
Jul 27 2017 10:11
c'mon, we both know :P
K900
@K900
Jul 27 2017 10:11
It's a Web 2.0 Progressive Web App With Webpack And Shit
Also like
Honestly
JavaScript sucks WAY less
smiley
@codemasher
Jul 27 2017 10:11
lmao
K900
@K900
Jul 27 2017 10:12
When you have a good framework like Vue
It still sucks in a lot of places
But I'm really surprised by how non-sucky it turned out to be
smiley
@codemasher
Jul 27 2017 10:13
i'm somehow glad i don't have to mess around with js (currently)
every time i get back to it, it reminds me what a jumbled mess it is
K900
@K900
Jul 27 2017 10:13
I kinda want to rewrite most of the daily thing in TypeScript at some point
Because it sucks less
But not now
BoyC
@BoyC
Jul 27 2017 10:27
@K900 a public repository of data like that with a predefined format would be awesome, yeah
K900
@K900
Jul 27 2017 10:28
@BoyC I can show you what it looks like right now and maybe we can figure something out
It's currently a huge blob of JSON
But it should probably be something like
A relational database
Or at least a relational-ish database
Maybe stored as JSON
const DAILY_TEMPLATE = {
  area: 'kryta',
  title: '[TEST] Daily Shadow Behemoth',
  info: {
    waypoint: {
      name: 'Godslost Waypoint',
      tag: '[&BPwAAAA=]'
    },
    poi: {
      name: 'Deathroot Shack',
      tag: '[&BIoAAAA=]'
    },
    vista: {
      name: 'Godslost Swamp Vista',
      tag: '[&BGwFAAA=]'
    },
    timer: {
      title: 'Shadow Behemoth',
      times: everyXHours(1, 45, 2)
    }
  },
  text: [
    {
      title: 'Getting there',
      text: 'From Divinity\'s Reach, take the exit south and walk in the direction of the waypoint.'
    },
    {
      title: TEXT_GETTING_THE_DAILY,
      text: 'From the waypoint, go west into the swamp. The boss spawns at the point of interest.'
    }
  ],

  // for debugging, do not copy
  restrictions: [
    {
      level: {
        min: 1,
        max: 80
      },
      required_access: ['GuildWars2', 'HeartOfThorns']
    }
  ]
}
This is how it's stored right now
The last two are copied from the API response
Then it's fed wholesale to the Vue component
The whole thing is basically one big hardcoded mess
That probably deserves to be split up quite a bit
BoyC
@BoyC
Jul 27 2017 10:45
I'm currently at work, but I'll definitely have a look over the weekend, this would be very nice to have in the overlay
K900
@K900
Jul 27 2017 10:46
@BoyC can you message me on somewhere that's not gitter so we can discuss it?
Reddit, email, whatever works for you
Cause I probably won't be around here much
Email is me@0upti.me
BoyC
@BoyC
Jul 27 2017 10:55
done
K900
@K900
Jul 27 2017 10:59
@BoyC cool
I'll message you on the weekend probably

/dailies/tomorrow returns achievement 2477 and it's not whitelisted

@K900 whitelisted

windwarrior
@windwarrior
Jul 27 2017 16:56
that 10 minute countdown is going to be tedious
10 minutes, 9 minutes 59 seconds, 9 minutes 58 seconds, ...
Eearslya Sleiarion
@Eearslya
Jul 27 2017 17:00
I haven't watched potatoes in months
I hope I don't have any meetings so I can actually watch the stream :/
codemasher @codemasher restarts chrome
smiley
@codemasher
Jul 27 2017 17:05
image.png
oh hey, just free'd 10GB of RAM :D
ptolstoi
@ptolstoi
Jul 27 2017 17:07
so you've got like 32?
smiley
@codemasher
Jul 27 2017 17:07
ye
(pathological tab hoarder)
ptolstoi
@ptolstoi
Jul 27 2017 17:08
now I'm jealous :D
smiley
@codemasher
Jul 27 2017 17:08
haha
ptolstoi
@ptolstoi
Jul 27 2017 17:08
so you could create a RAM disk for gw2? and be like lightning fast at loading screens :/
smiley
@codemasher
Jul 27 2017 17:09
it wouldn't matter, gw2 would still load slow as hell
even the ssd didn't help much
ptolstoi
@ptolstoi
Jul 27 2017 17:09
really? for me it was a huge speed boost
at least at release
never put gw2 on hdd since then
Archomeda
@Archomeda
Jul 27 2017 17:10
ssd helps for loading into relatively unpopulated areas
places like LA is still capped at how fast the client loads the models
ptolstoi
@ptolstoi
Jul 27 2017 17:11
sounds reasonable
Archomeda
@Archomeda
Jul 27 2017 17:11
sometimes you're also stuck at STATE_SERVER_WAIT
like, loading into new zones always makes me wait for the last 10% :P
according to -maploadinfo that is
ptolstoi
@ptolstoi
Jul 27 2017 17:12
hmm never noticed that, I was always looking at the models count loaded
Edgar Doiron
@Coffee4cr
Jul 27 2017 17:23

9:30 AM Pacific Time (UTC-7): Postshow with Wooden Potatoes (Till 12:30 AM Pacific Time (UTC-7)..yes that's right 15 hour stream)

Imagine, he does 30 minutes videos for 1 minute clips.... what will he do for 30 minutes?

smiley
@codemasher
Jul 27 2017 17:25
PSA
K900
@K900
Jul 27 2017 17:36
@lye :heart:
ChieftainAlex
@ChieftainAlex
Jul 27 2017 17:59
Um, anyone else getting a plaintext message "The service is unavailable." on the wiki?
nevermind ctrl+f5
Werdes
@werdes
Jul 27 2017 18:20
wait, cache clearing shouldn't solve that, should it? :confused:
ChieftainAlex
@ChieftainAlex
Jul 27 2017 18:33
pretty sure the wiki likes to cache errors more than sane results
i think that message might be Varnish?
ChieftainAlex
@ChieftainAlex
Jul 27 2017 19:25
1701116.png
?
also, anyone know the icon number for the red central tyria mastery point map icon?
oh wait
icon number
derp
ChieftainAlex
@ChieftainAlex
Jul 27 2017 19:34
isn't there a 64x64 version like the green one?
962063.png
256 is a bit skinny when using as a map texture ><
Eearslya Sleiarion
@Eearslya
Jul 27 2017 19:35
..Does Central Tyria even have mastery points tied to a location, though?
ChieftainAlex
@ChieftainAlex
Jul 27 2017 19:35
it does now
Eearslya Sleiarion
@Eearslya
Jul 27 2017 19:35
Where?
basically free autoloot for noobs
JC123
@JC123
Jul 27 2017 19:39
@ChieftainAlex 962101
ChieftainAlex
@ChieftainAlex
Jul 27 2017 19:40
... it's a weird size isn' tit
Eearslya Sleiarion
@Eearslya
Jul 27 2017 23:35
guildwars2.com/expansion?cid=104:5::::Global:67 what on earth is that
cid is "campaign id" and is used for tracking income for various ad campaigns
yes the format is insane
Archomeda
@Archomeda
Jul 27 2017 23:38
"tracking income" lol
wait
i didn't read that right
well when someone makes a purchase we wanna know where they heard about us
we have an affiliate partner program and stuff so we need to track for that as well
Archomeda
@Archomeda
Jul 27 2017 23:39
but indeed, that format
can i safely say that i'm sometimes in the mood to strip that away from the url? :D
i've done that before on various sites that track affiliates
also, missed opportunity to have your own countdown timer here: https://www.guildwars2.com/en/expansion/
yeah but then what would the people who make countdown timers do
gotta leave some scraps for people
Archomeda
@Archomeda
Jul 27 2017 23:43
hhahaa
(also the timer situation gets super hairy with timezones)
Archomeda
@Archomeda
Jul 27 2017 23:44
i was actually kind of hoping that the image here would automatically update every day :P
haha thankfully that's all static
there's enough madness right now that I don't need more work :D
Archomeda
@Archomeda
Jul 27 2017 23:44
fair :D
i can't wait until we're done with all of the announcing bits
I can sit back and take a breather
Archomeda
@Archomeda
Jul 27 2017 23:45
have you tested already if the new access property value gets pushed to /v2/accountwith it? :D
still months away but hey
I haven't had any time to look at API-related stuff
aside from whitelisting and tile regeneration :|
Archomeda
@Archomeda
Jul 27 2017 23:47
that busy eh? :/
more being a lead means no fun
Archomeda
@Archomeda
Jul 27 2017 23:48
:(
i'll try to put it in there after we announce the name of expac2
since expac1 is in as "HeartOfThorns"
It would not surprise me if GM accounts already had the bit set for some reason and I don't want to leak anything
Archomeda
@Archomeda
Jul 27 2017 23:49
hmm... sounds like a good idea probably
just make sure you don't leak the map tiles either, as what happened with HoT
although i think that had something to do with the beta?
sneaky verdant brink back in 2015
but it was mentioned somewhere that new expansions will include older ones? so yay for not having to change it to an array or something :smile:
yeah I've been validating that the map tiles are correct before I upload them
Archomeda
@Archomeda
Jul 27 2017 23:56
:+1:
i don't like getting yelled at twice for the same thing :(
Archomeda
@Archomeda
Jul 27 2017 23:56
can imagine
i have seen glimpses of the map because of things that happened a few months back, but i've been trying to avoid those maps on purpose
wouldn't want it to show up on the tiles api
in any case, i've been toying with roslyn way too long for what i've actually accomplished