These are chat archives for arenanet/api-cdi

1st
Jul 2016
Archomeda
@Archomeda
Jul 01 2016 00:07
yay, masteries endpoint :D
next release hopefully
smiley
@codemasher
Jul 01 2016 00:19
ok, icons and stuff completely in CSS - happy styling http://wiki.guildwars2.com/wiki/Widget:Map_floors/test
(need to fix the popup center, though)
relic
@nukiebaba
Jul 01 2016 00:34
?wiki is to make tracking traffic load from the wiki easier when we started having widgets that make API requests.
that's what I remember from what poke or ishmael said.

uhh, are these already in use or just placeholders

@codemasher ehh those'll be populated when the next release lands. I might change the code shortly to hide them if the backend sends nothing about them.

smiley
@codemasher
Jul 01 2016 17:25
hmm, just leave them in so that we don't need to check for the top level objects
btw. i removed all icons from the code (and don't depend on API icons anymore) less overhead ftw!
(the sector and task bounds had a severe impact on the response size)
I'm really not fond of how I've ballooned the response size for maps/floors/etc but don't really have a better option
smiley
@codemasher
Jul 01 2016 17:46
well, how many applications would you break if you'd turn any response above map level into metadata?
events, tp, items - there are so many sites. but maps? i know only of a handful.
probably a few
smiley
@codemasher
Jul 01 2016 17:48
because the floors were mostly unusable, so most people just used the tiles and created their own layers (see wiki)
so i guess literally anyone who has a map application would be happy if you break stuff for "the greater good" :D
yeah
/v2/continents/:id/floors/:id is too big right now
smiley
@codemasher
Jul 01 2016 17:50
yep
I might add /v2/floors which just dumps the floor-specific metadata without having all of the maps
since you need the floor data to render out the map AFAIK
smiley
@codemasher
Jul 01 2016 17:51
(a full floor 1/1 map)
rendering a full floor with leaflet is a mistake
smiley
@codemasher
Jul 01 2016 17:51
i know
and it's only a test
but leaflet geojson is damn quick
uhh, can you add the full map response to the respective endpoint then?
yeah, that needs to happen first doesn't it
smiley
@codemasher
Jul 01 2016 17:55
uhh, tbh, i don't know. haven't used that endpoint in a while... :D
it's not currently useful
smiley
@codemasher
Jul 01 2016 17:56
yea, it's basically what /v1/map_names or so was
windwarrior
@windwarrior
Jul 01 2016 20:36
lots of :before and :after tricks
at some point you should just use a SVG
windwarrior
@windwarrior
Jul 01 2016 20:37
(and misuse of gradients to make patterns)
I really don't want to know how a CSS interpreter looks
that must be hell
smiley
@codemasher
Jul 01 2016 20:38
oh hey, is the GW1 live team still in business? there's a proposal for GW:Beyond/Nightfall :D http://www.wartower.de/forum/showthread.php?t=1157381
(as in: anti-meta foes)
the rule computation isn't bad either, FWIW
windwarrior
@windwarrior
Jul 01 2016 20:43
this is a parser right
yeah
windwarrior
@windwarrior
Jul 01 2016 20:43
hmm
sad thing every good implementation of CSS is in a major multimillion line browser
I mean depends what you call a CSS implementation
I would say that the layout engine is probably the nasty bit
but the CSS parsing and specificity rules aren't that bad I think
windwarrior
@windwarrior
Jul 01 2016 20:46
yeah, I meant what the layout engine does
ah yeah, that's fair
windwarrior
@windwarrior
Jul 01 2016 20:46
I just fell short of the "layout engine" term, and called it an interpreter
;)
have you seen http://www.dillo.org/ ?
windwarrior
@windwarrior
Jul 01 2016 20:47
no I havent
it's a fairly minimal (in many aspects) browser
for layout/rendering only, there's also servo
windwarrior
@windwarrior
Jul 01 2016 20:47
fancy! that might be very interesting to browse the source from
yeah, I just installed servo today
font hinting on Linux is a mess, but the rest looks quite nice already
eh, fonts
but yeah, I kind of want to use servo for doing native UI stuff
as silly as that sounds
windwarrior
@windwarrior
Jul 01 2016 20:50
as like a webview-type construction? Much like uhh, electron
(calling electron native is a bit of a stretch imo)
ohhh dillo is even under active development
Pat Cavit
@tivac
Jul 01 2016 20:54
I've been pretty happy w/ brave lately, but that's cheating because it's just chrome
windwarrior
@windwarrior
Jul 01 2016 21:04
thats a chrome fork with built-in adblock right?
Pat Cavit
@tivac
Jul 01 2016 21:06
electron-based, iirc
windwarrior
@windwarrior
Jul 01 2016 21:07
yeah right
I see now on their GH, they managed to hide that fact pretty well
windwarrior
@windwarrior
Jul 01 2016 21:21
dillo looks awesome as a learn-how-a-browser-works-codebase, but the hand-rolled tls code made me cringe I misread that
honestly I'm surprised they didn't just use cURL as a transport layer
Also the whole CCC thing Dillo uses is interesting: https://github.com/dimkr/dillo/blob/master/src/chain.h
basically continuations for blocking operations
Christian
@zeeZ
Jul 01 2016 21:53
a website that looks like it hasn't had a makeover in over 10 years always kinda puts me off whatever awesome thing it is they built
windwarrior
@windwarrior
Jul 01 2016 21:57
I had such an issue finding their repo
(actually, I found a mercurial repo even)
there's a mirror on github but I'm not sure how well it's upkept
windwarrior
@windwarrior
Jul 01 2016 22:35
the one you linked was 2y behind
behind the Mercurial repo that is
ah fair
oh man
/******************** BEGINNING OF STUFF DERIVED FROM wget-1.16.3 */