These are chat archives for arenanet/api-cdi

26th
Oct 2017
smiley
@codemasher
Oct 26 2017 09:31
re Windows 10 TIWorker.exe: there's also CompatTelRunner.exe (Windows Telemetry) which seems to be connected to that issue
just had both services going crazy after a reboot and had to kill them
smiley
@codemasher
Oct 26 2017 09:48
cool, and now Chrome's software_reporter_tool.exe went crazy too
what is this madness
BoyC
@BoyC
Oct 26 2017 09:49
@codemasher actually in Hungary it still could be worse, the palette of parties goes even more to the right. The assholes in power are more of a populist thing
smiley
@codemasher
Oct 26 2017 09:50
we must not separate "populists" and real nazis bc it's the same as america shows
that said, the populists are the ones to be really afraid of
because these are usually the ones who make racism... popular
BoyC
@BoyC
Oct 26 2017 09:53
indeed
what these guys do is basically anything to stay in power
no matter if it contradicts their earlier stuff
they're also coupled at the hip with a pretty bigoted party which resulted in stuff like noone should be working on sundays so all shops must close laws
just stumbled across this
re "staying out of politics"
Michael Dougall
@madou
Oct 26 2017 13:23
will love 5eva if anyone can dig around gw2 assets and pull out any asset that looks like the specialization links: http://dulfy.net/wp-content/uploads/2015/08/gw2-ranger-build-specialization-2.jpg
smiley
@codemasher
Oct 26 2017 13:23
you mean the thin lines?
maybe @darthmaim can help?
darthmaim
@darthmaim
Oct 26 2017 13:24
didn't we have this discussion already?
smiley
@codemasher
Oct 26 2017 13:24
haha
darthmaim
@darthmaim
Oct 26 2017 13:25
I feel like you asked that some time ago @madou
yep :point_up: 15. September 2017 02:59
smiley
@codemasher
Oct 26 2017 13:26
elephant brain :D
maybe it was just a glitch in the matrix...
darthmaim
@darthmaim
Oct 26 2017 13:28
and the same thing for our build editor: :point_up: 1. November 2016 23:12
there are some file ids mentioned there, maybe that helps
damn, thats 1 year ago already...
and the buildeditor is still not done
smiley
@codemasher
Oct 26 2017 13:30
/shrug
Quaggan BooOOoot
@QuagganBooOOoot
Oct 26 2017 13:30
¯\_(ツ)_/¯
smiley
@codemasher
Oct 26 2017 13:30
but hey, my oauth lib is close to production ready after like... 3 years? :D
darthmaim
@darthmaim
Oct 26 2017 13:31
at least we don't have to deal with complains that PoF broke everything
smiley
@codemasher
Oct 26 2017 13:31
haha
well, Anet broke it in a way...
by removing OAuth2 from the API xD
that was the sole reason i started digging through OAuth libs
unrealted, but ihave a new webserver for over a year now and STILL haven't updated the credentials on my laptop
and now i'm sitting here at work and cannot access it..
smiley
@codemasher
Oct 26 2017 13:37

Please become a creator to register OAuth clients.

y u maek it so hard patreon?

smiley
@codemasher
Oct 26 2017 14:07

You may use "for reddit" or "a client for reddit" in the title of your app. You may not use "reddit" without "for" preceding it. You may not use the word "official" in the title, keywords or description in any way that implies the app was developed by Reddit, Inc.

is reddit owned by adobe???

smiley
@codemasher
Oct 26 2017 14:23
uhh, politics... (i will never not stop making fun of this - ban me) https://motherboard.vice.com/en_us/article/vb3dnm/wolfenstein-ii-review-nazis
smiley
@codemasher
Oct 26 2017 17:08
one would think that reddit, as one of the most used sites on the web, would also have great docs.
i had to click through like 5 links to get to the OAuth2 docs, just to pick the necessary URLs out of some code examples down in the text... the fuck?
smiley
@codemasher
Oct 26 2017 17:32
(spoiler: reddit's docs are like the site itself: a mess)
windwarrior
@windwarrior
Oct 26 2017 18:32
I noticed when making the dev tracker
smiley
@codemasher
Oct 26 2017 18:34
right???
also fun: error retrieving access token #2: "429": {"message": "Too Many Requests", "error": 429}
y tho
is that on reddit or gw2
guessing reddit
smiley
@codemasher
Oct 26 2017 18:36
i wish i could say it's gw2 :D
best thing is that i have no idea how and why the access token endpoint is rate limited
(it's 60 requests/min for the API in general)
1 req/s isn't a terrible rate limit
smiley
@codemasher
Oct 26 2017 18:39
indeed, but why on the access token endpoint?
because creating persistent sessions ain't cheap yo
smiley
@codemasher
Oct 26 2017 18:45
-___-
smiley
@codemasher
Oct 26 2017 19:36
aannnnd i continue my quest to break any piece of software i touch:
H:\ytdl>youtube-dl.exe https://www.youtube.com/watch?time_continue=8&v=7V2wtbgVGIU
[generic] watch?time_continue=8: Requesting header
[redirect] Following redirect to https://www.youtube.com/
[generic] www.youtube: Requesting header
WARNING: Falling back on generic information extractor.
                                             [generic] www.youtube: Downloading webpage
[generic] www.youtube: Extracting information
ERROR: Unsupported URL: https://www.youtube.com/
'v' is not recognized as an internal or external command,
operable program or batch file.
(no comment)
PEBKAK
the url contains & so it needs to be quoted
Eearslya Sleiarion
@Eearslya
Oct 26 2017 19:37
keyboard and what?
Khair
Listen
smiley
@codemasher
Oct 26 2017 19:38
the url contains no spaces, so no quotes are fine
the url contains & so it needs to be quoted
smiley
@codemasher
Oct 26 2017 19:38
y tho
because & is a statement delimiter in cmd.exe
(also in bourne shell)
Eearslya Sleiarion
@Eearslya
Oct 26 2017 19:38
I thought BASH interpreted & as background
it does
but in bourne shell, ? is also a special char and needs to be quoted
smiley
@codemasher
Oct 26 2017 19:40
ok, i'll take that back, i'm dumb xD
xD
smiley
@codemasher
Oct 26 2017 19:40
anyway, I BROKE IT :D
see, i use shell and command line so much (not at all), that i totally didn't think of that
smiley
@codemasher
Oct 26 2017 19:46
one thing tho: why doesn't ytdl tell me that the supplied youtube url is invalid then?
Eearslya Sleiarion
@Eearslya
Oct 26 2017 19:47
ERROR: Unsupported URL: https://www.youtube.com/
smiley
@codemasher
Oct 26 2017 19:48
(ok, i know why, but it could exit earlier)
This is kind of a dead giveaway too
'v' is not recognized as an internal or external command,
operable program or batch file.
Eearslya Sleiarion
@Eearslya
Oct 26 2017 19:48
probably should, yeah
ytdl just sees the link provided as https://www.youtube.com/watch?time_continue=8 and YT redirects because it's invalid.. I guess they didn't bother to actually parse the link to make sure it has a v parameter
smiley
@codemasher
Oct 26 2017 19:50
(also, why does youtube redirect with the time_continue as first param instead of v)
Eearslya Sleiarion
@Eearslya
Oct 26 2017 19:51
because youtube doesn't get the v parameter at all
smiley
@codemasher
Oct 26 2017 19:51
lmao
Eearslya Sleiarion
@Eearslya
Oct 26 2017 19:51
ytdl opens https://www.youtube.com/watch?time_continue=8
smiley
@codemasher
Oct 26 2017 19:51
no, i mean from youtu.be links
Eearslya Sleiarion
@Eearslya
Oct 26 2017 19:52
and then cmd barges in and breaks apart the command, turning v=7V2wtbgVGIU into its own command
oh
alphabetical order?
smiley
@codemasher
Oct 26 2017 19:52
youtube puts the v param as last one
ok, maybe they're alphabetical, but weird
smiley
@codemasher
Oct 26 2017 20:54
still getting a 429 from reddit... https://smiley.codes/oauth/
meanwhile i've implemented 2 other providers...
David Reeß
@queicherius
Oct 26 2017 21:11
Patreon locked me out for trying to log in every 24 hours
smiley
@codemasher
Oct 26 2017 21:12
just implemented that one, had no problems while doing so o.O
windwarrior
@windwarrior
Oct 26 2017 21:19
sounds about right, being active in your community couldnt possibly make them money right
smiley
@codemasher
Oct 26 2017 21:30
the only reason i could think of is that reddit blocked me because of the user agent
Eearslya Sleiarion
@Eearslya
Oct 26 2017 21:33
User-Agent: FuckYouReddit 1.0
smiley
@codemasher
Oct 26 2017 21:34
:+1:
to be fair, this was probably not the best choice https://github.com/codemasher/php-curl/blob/master/src/RequestOptions.php#L23
smiley
@codemasher
Oct 26 2017 22:24
ok, there are docs worse than reddit... https://developers.trello.com/v1.0/page/authorization
smiley
@codemasher
Oct 26 2017 23:08
oh well...
image.png
oauth is fun
so if you want to connect to wordpress via oauth, you'll need at least one site...