These are chat archives for arenanet/api-cdi

10th
Feb 2017
uploaded new map tiles; invalidating old tiles with cloudfront now
new ones should be up in an hour or so
Michael Dougall
@madou
Feb 10 2017 00:44
Is there any fan sites that explain how to do ahciements? Want to start linking to more sites from the armory - would be good to link when I implement ahievements soon
Also - hi
codemasher @codemasher whispers ... .png?
(no)
smiley
@codemasher
Feb 10 2017 00:46
q.q
it's too big, generating png files exhausts physical memory on my machine
because the tile generator doesn't wait for writes to disk to complete
smiley
@codemasher
Feb 10 2017 00:47
what's your machine... a TI-30? :D
there are 100k tiles
smiley
@codemasher
Feb 10 2017 00:47
ikr
usleep(500)
hrhr
hurr
auto format = IMG_FORMAT_JPEG;
smiley
@codemasher
Feb 10 2017 00:50
ew
Jonathan Andrist
@rwfrk_twitter
Feb 10 2017 00:53
Now, if only you had a hefty machine in the building you could use for an hour to render it over night....
(yes, I know thats not a realistic solution)
smiley
@codemasher
Feb 10 2017 00:54

nah, you'd just need like a... 486 with a SSD or so

because the tile generator doesn't wait for writes to disk to complete

Michael Dougall
@madou
Feb 10 2017 00:55
AWS spot instances would do the trick
@rwfrk_twitter my desktop can do it
smiley
@codemasher
Feb 10 2017 00:55
wonder what's the average R/W on a AWS host disk
but I'd have to make some changes to the tile renderer
@codemasher depends on what storage you're using
you can pay for a local SSD
Jonathan Andrist
@rwfrk_twitter
Feb 10 2017 00:56
Or you'd have to basically get nothing else done while it generates the meantime I imagine.
or you can use an EBS volume (which is much slower)
smiley
@codemasher
Feb 10 2017 00:56
given the machine is a real pc and no shared host
and hope for good hardware then :D
ec2 is stupid expensive; i never use more than a nano instance
and those are just little fire-and-forget services for the most part
Michael Dougall
@madou
Feb 10 2017 00:58
Hence using spot instances, bid and use for what you need thrn throw it away
Much cheaper than regular AWS
it's $5/month
i don't care enough to waste time with that
smiley
@codemasher
Feb 10 2017 00:58
heh
Michael Dougall
@madou
Feb 10 2017 00:58
Sure
Darqam
@Darqam
Feb 10 2017 03:22
https://api.guildwars2.com/v2/items/80526 "Seraph Seraph Protector", lol
Archomeda
@Archomeda
Feb 10 2017 04:34
@lye so ehm... why is this map on Tyria? https://api.guildwars2.com/v2/maps/918
given these coords, the map is in the most top left of the world map
Jonathan Andrist
@rwfrk_twitter
Feb 10 2017 04:35
Did PvP not have its own floor at the time?
Archomeda
@Archomeda
Feb 10 2017 04:35
this map wasn't there last time i checked
which is less than a month ago
well, not on the main floor that is
apparently floor 36 is correct
well, at least it shows the map of the activity
wait
aspect arena
i was thinking of sanctum sprint
Jonathan Andrist
@rwfrk_twitter
Feb 10 2017 04:37
Hrm. So was I.
Archomeda
@Archomeda
Feb 10 2017 04:37
aspect arena hasn't been available since labyrinthine cliffs is inaccessible
Jonathan Andrist
@rwfrk_twitter
Feb 10 2017 04:38
Lets just say I wasnt a fan because it was much harder to carry.
Archomeda
@Archomeda
Feb 10 2017 04:39
why does it show up now? D:
Jonathan Andrist
@rwfrk_twitter
Feb 10 2017 04:39
I can dream.
Archomeda
@Archomeda
Feb 10 2017 04:41
the reason why i found this, is that i was looking for the location of the new raid wing... and again the region is wrong :')
Darqam
@Darqam
Feb 10 2017 04:42
could this be something that was auto-whitelisted like some of the items?
Archomeda
@Archomeda
Feb 10 2017 04:44
i doubt whitelisting items causes a random map to appear (or change the floors)
Jonathan Andrist
@rwfrk_twitter
Feb 10 2017 04:44
But a tile-regen might push the map floor update?
Archomeda
@Archomeda
Feb 10 2017 04:44
that might be possible i guess?
i'm not sure if map 918 existed before the last patch, or that it just didn't have floors 0, 1 and 2 (which are generally the overworld maps)
for example sanctum sprint doesn't include floor 0, 1 and 2: https://api.guildwars2.com/v2/maps/919
these floors are just a mess lol
David Reeß
@queicherius
Feb 10 2017 10:11
lmao
smiley
@codemasher
Feb 10 2017 10:12
(have a look at his contribution history)
David Reeß
@queicherius
Feb 10 2017 10:15
seems like a beginner that thinks that he's a professional
also some of his issues are literally just error dumps with "fix for me pls" o.ô
smiley
@codemasher
Feb 10 2017 10:18
obvious troll is obvious
Archomeda
@Archomeda
Feb 10 2017 14:16
wow
Darrian
@rikkuness
Feb 10 2017 14:17
he's using PHP, of course he's a beginner :wink:
smiley
@codemasher
Feb 10 2017 14:19
pretty sure he's not "using" anything he comments on
Darrian
@rikkuness
Feb 10 2017 14:20
true true
Archomeda
@Archomeda
Feb 10 2017 14:23
by looking at his name, i'm pretty sure he was 12 yrs old when he created that account
doesn't seem like he has aged much since then
this hits way too close to home
haha
it's exactly like that here
Darrian
@rikkuness
Feb 10 2017 16:25
tell me about it haha try having all of the above totally disconnected from each other and then have management tell you they want to "do the devops"
Darqam
@Darqam
Feb 10 2017 16:26
So long as the 10 backups work...
Eearslya Sleiarion
@Eearslya
Feb 10 2017 16:27
How on Earth is more than 3 environments helpful
1) dev machine 2) staging 3) prod
Edgar Doiron
@Coffee4cr
Feb 10 2017 16:36
^^ that's how a perfect world works
but here we have 3 stages of test before hitting prod
without counting Dev

so from Dev to prod there's 5 steps.

but then we have like 10 different Dev -> Test 1 -> Test 2 -> Test 3

that all go to the same prod
we have over 100 environments here...
Eearslya Sleiarion
@Eearslya
Feb 10 2017 16:39
b-but why
I'm legitimately asking
Edgar Doiron
@Coffee4cr
Feb 10 2017 16:40
¯_(ツ)_/¯
that's the government for you
Eearslya Sleiarion
@Eearslya
Feb 10 2017 16:41
I don't even have a staging right now. Just my machine and my server. (But that's probably because singular dev and all.)
Darrian
@rikkuness
Feb 10 2017 16:41
^ I know that pain
Archomeda
@Archomeda
Feb 10 2017 16:41
you dropped a \
Edgar Doiron
@Coffee4cr
Feb 10 2017 16:46
it got caught between all those environments
ChieftainAlex
@ChieftainAlex
Feb 10 2017 16:49
Is there a way to fool the game engine into thinking you have a larger monitor than you do, such that you could take larger "screenshots" of the world map?
actually maybe a panorama tool would work for my purposes..
Eearslya Sleiarion
@Eearslya
Feb 10 2017 16:51
Couldn't you stitch the map tiles? Or are you looking to have all the icons on it too?
The ones in the API I mean
Archomeda
@Archomeda
Feb 10 2017 16:53
nvidia dsr
can handle up to 4x native resolution
i think i saw a non-nvidia solution being mentioned somewhere around the time it was released
can't find it anymore
ChieftainAlex
@ChieftainAlex
Feb 10 2017 16:56
API tiles aren't good enough for this purpose
Archomeda
@Archomeda
Feb 10 2017 16:57
apparently there's also amd vsr
ChieftainAlex
@ChieftainAlex
Feb 10 2017 16:57
plus I want the ingame icons/font as it appears, so screenshots make sense
Archomeda
@Archomeda
Feb 10 2017 16:58
at least hiding the ui before opening the map works
hides some of the panels
ChieftainAlex
@ChieftainAlex
Feb 10 2017 16:58
.. and I learnt something. thanks
always tried hiding the ui with the map open
Archomeda
@Archomeda
Feb 10 2017 16:59
ah yeah :P
ChieftainAlex
@ChieftainAlex
Feb 10 2017 16:59
/bug
Archomeda
@Archomeda
Feb 10 2017 16:59
i just thought of trying that out right now :P
ChieftainAlex
@ChieftainAlex
Feb 10 2017 17:00
I still run into that cloud fade problem I used to get
Archomeda
@Archomeda
Feb 10 2017 17:01
the lower floor doesn't seem to have that
if you mean the clouds hovering on the map
ChieftainAlex
@ChieftainAlex
Feb 10 2017 17:02
sadly harathi hinterlands only has the one :D
Archomeda
@Archomeda
Feb 10 2017 17:02
but i'm not sure if the lower floor also causes some changes in the map tiles themselves
oh bah :(
can't seem to find a graphics option for that either
ChieftainAlex
@ChieftainAlex
Feb 10 2017 17:03
updating maps from 2013, all those blue skill challenge icons
I still like them better.
smiley
@codemasher
Feb 10 2017 17:04

Couldn't you stitch the map tiles? Or are you looking to have all the icons on it too?

https://gist.github.com/codemasher/75d8e1a24b2363cabebf

ahh, thanks, gitter
ChieftainAlex
@ChieftainAlex
Feb 10 2017 17:06
sadly the big drawback on using the API for map images (imo) is the lack of ingame font.
Archomeda
@Archomeda
Feb 10 2017 17:09
i still don't know the exact font that's used
i tried to replicate it, but i'm not familiar with different fonts
smiley
@codemasher
Feb 10 2017 17:10
it's from the beta
btw GW2Treasures/gw2tools#7
Archomeda
@Archomeda
Feb 10 2017 17:13
beta fonts were different right?
smiley
@codemasher
Feb 10 2017 17:13
i think there was a discussion about the font and possible replacements in the german wiki ages ago
Archomeda
@Archomeda
Feb 10 2017 17:13
also, that looks cool
smiley
@codemasher
Feb 10 2017 17:13
but don't ask me where..
yea^^

why is this map on Tyria? https://api.guildwars2.com/v2/maps/918

@Archomeda your guess is as good as mine, I'm afraid

But a tile-regen might push the map floor update?

It doesn't; the tiles have nothing to do with the API. I generate them on my work machine and upload them to S3.

smiley
@codemasher
Feb 10 2017 17:42
guess they messed it up with the shiverpeak arena in gw1... :D
@ChieftainAlex you could always set up an ACtool script that moves the map around and captures screenshots
That's basically what my tile renderer does :<
Darqam
@Darqam
Feb 10 2017 17:48
Out of curiosity, is the plan to expose container contents still planned?
It's on a long list of things to do.
Right now I'm dorking around getting a variety of progress bits exposed.
Darqam
@Darqam
Feb 10 2017 17:49
oh goodie
Archomeda
@Archomeda
Feb 10 2017 18:14
@lye but you have access to dev builds and therefore no icons nor text... that's cheating :P
:>
Darqam
@Darqam
Feb 10 2017 18:20
the solution is simple then, just give chieftain alex that same access
arena.net/#careers xd
smiley
@codemasher
Feb 10 2017 18:34
oh @lye btw how's #62 doing? :D
hmm, I remember starting it
I don't have a CL open for it though
smiley
@codemasher
Feb 10 2017 18:35
yea, so do i :D
no hurry, though
i'll soon have some spare time to do stuff
so asking in advance ;)
smiley
@codemasher
Feb 10 2017 19:14
uhh waht happened to the header on github D:
blob
ahrg
you can always write your own frontend if you don't like theirs
smiley
@codemasher
Feb 10 2017 19:16
stylebot ftw!
Archomeda
@Archomeda
Feb 10 2017 19:17
is it just me, or are there some connection issues?
to the gw2 servers i mean
i get random lag spikes
and my ping flies to 5000 ms
i find it funny that you can dodge infinitely
and then when the client catches up
you have no endurance for like an eternity XD
smiley
@codemasher
Feb 10 2017 19:20
oh cool, just remove the header-dark class from the element :D
Archomeda
@Archomeda
Feb 10 2017 19:21
omfg it's ugly
smiley
@codemasher
Feb 10 2017 19:22
i just thought i accidentally switched to the discogs tab which looks about the same
Archomeda
@Archomeda
Feb 10 2017 19:22
it's so out of place to have a dark header
Eearslya Sleiarion
@Eearslya
Feb 10 2017 19:37
All of my github is dark
David Reeß
@queicherius
Feb 10 2017 19:45
@Eearslya Give the screenshots! D:
Only my header is dark too :(
header-only here too
Archomeda
@Archomeda
Feb 10 2017 20:00
same, header
okay so I've got the legwork done for /v2/account/home/cats but ... the cats are just bit indexes
not sure how to map those back to something usable
Eearslya Sleiarion
@Eearslya
Feb 10 2017 20:05
I have a stylish theme XD
ooh that is pretty snazzy
is that custom css?
this addon makes firefox crash when e10 is enabled.
eugh
Darqam
@Darqam
Feb 10 2017 20:12
Oh no Lye, you too have fallen to the cats?
smiley
@codemasher
Feb 10 2017 20:13
dark background & light text makes my eyes bleed
Eearslya Sleiarion
@Eearslya
Feb 10 2017 20:14
what
smiley
@codemasher
Feb 10 2017 20:15
a bunch of nerds keeps thinking it's cool to have inverted colors, though.
you're entitled to your own, if incorrect, opinion
Archomeda
@Archomeda
Feb 10 2017 20:17
it depends, i like some websites or applications to have inverted colors
but for some others i don't
Eearslya Sleiarion
@Eearslya
Feb 10 2017 20:18
The problem with inverting is that it makes the dark links NEON
smiley
@codemasher
Feb 10 2017 20:18

you're entitled to your own, if incorrect, opinion

there's a reason books & newspapers are printed black on white and it's not because ink is black and paper is white

ChieftainAlex
@ChieftainAlex
Feb 10 2017 20:30
save electrons on monitors, use black backgrounds?
Darqam
@Darqam
Feb 10 2017 20:41
today I learned you can kill electrons
Darrian
@rikkuness
Feb 10 2017 22:07
I try to dark theme everything, not because I think it looks cool but being surrounded by 3 27" screens all day can really fuck with your retinas and even with low blue light mode I just find dark things less migraine inducing