These are chat archives for arenanet/api-cdi

11th
Jul 2016
Archomeda
@Archomeda
Jul 11 2016 02:51
@codemasher, in this case, $path is both accessed as char array and string
$path[0] just gets the first character of the string
smiley
@codemasher
Jul 11 2016 02:54
it should be mentioned that $path has been overwritten by an explode before
so it was def an array
Archomeda
@Archomeda
Jul 11 2016 02:55
oh
ehm
yeah
nvm then :D
smiley
@codemasher
Jul 11 2016 02:55
like $path = explode('?', $path)
Archomeda
@Archomeda
Jul 11 2016 02:56
http://php.net/manual/en/function.substr.php
pretty sure it requires a string yes
why would that explode not be done after that check though?
smiley
@codemasher
Jul 11 2016 02:57
i have no idea
the whole code works, but is bogous on every corner
a couple potential bugs
relic
@nukiebaba
Jul 11 2016 02:57
nah it's fine
Archomeda
@Archomeda
Jul 11 2016 02:57
and lol, that error_reporting :laughing:
smiley
@codemasher
Jul 11 2016 02:58
yea, Reluk, that's code for you :D
relic
@nukiebaba
Jul 11 2016 02:58
is your 'y' key still broken?
smiley
@codemasher
Jul 11 2016 02:58
zzz
Archomeda
@Archomeda
Jul 11 2016 02:58
maybe to suppress a PHP warning or something?
smiley
@codemasher
Jul 11 2016 02:58
BUT WHY
Archomeda
@Archomeda
Jul 11 2016 02:59
An E_WARNING level error is generated if filename cannot be found, maxlength is less than zero, or if seeking to the specified offset in the stream fails.
smiley
@codemasher
Jul 11 2016 02:59
you do that anyway in production
Archomeda
@Archomeda
Jul 11 2016 02:59
The function returns the read data or FALSE on failure.
don't know
smiley
@codemasher
Jul 11 2016 02:59
there's a way to cover all cases
Archomeda
@Archomeda
Jul 11 2016 02:59
(also gitter, why the heck are you continuously scrolling my scrollbar up when i or someone else post something??)
smiley
@codemasher
Jul 11 2016 03:00
BUT NOT BY DISABLING ERROR REPORTING
and if you really need it, then use the FUCK IT operator @
Archomeda
@Archomeda
Jul 11 2016 03:00
rofl
smiley
@codemasher
Jul 11 2016 03:01
b/c noone expects error_reporting in code except in the bootstrapper
btw. i might go to bed, it's already 5 D:
n8
Archomeda
@Archomeda
Jul 11 2016 03:02
same here, but i got held up because of a guildie sharing his raid experiences :D
quite funny stories
but gn ;)
relic
@nukiebaba
Jul 11 2016 03:02
no sgqd to keep you up
Christian
@zeeZ
Jul 11 2016 18:02
love the php FUCK IT operator
David Reeß
@queicherius
Jul 11 2016 18:51
Is it me or did github change their font?
darthmaim
@darthmaim
Jul 11 2016 19:02
they did
smiley
@codemasher
Jul 11 2016 19:03
ugh
darthmaim
@darthmaim
Jul 11 2016 19:03
looks like they are using system fonts instead of webfonts now
smiley
@codemasher
Jul 11 2016 19:04
maybe the cdn broke? :D
darthmaim
@darthmaim
Jul 11 2016 19:04
no
smiley
@codemasher
Jul 11 2016 19:04
(just lemme hope, ok)
darthmaim
@darthmaim
Jul 11 2016 19:04
font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"
David Reeß
@queicherius
Jul 11 2016 19:05
I first through it was the CDN too, because now everthing is off-center :/
smiley
@codemasher
Jul 11 2016 19:05
"Segoe UI" sigh
btw. is there a way to make a 4K w10 desktop readable without upscaling?
darthmaim
@darthmaim
Jul 11 2016 19:08
you can increase the fontsize
smiley
@codemasher
Jul 11 2016 19:08
that's what i just did and then immedeately undid
i may add "without breaking apps, too"
darthmaim
@darthmaim
Jul 11 2016 19:09
no
smiley
@codemasher
Jul 11 2016 19:09
meh
Christian
@zeeZ
Jul 11 2016 20:18
it's really wonky
and I've only gone up to 1440
ChieftainAlex
@ChieftainAlex
Jul 11 2016 21:23
buy a smaller monitor. :<
Archomeda
@Archomeda
Jul 11 2016 23:55
fuuuu
i have overwritten my ghostly infusion that i got last week because i wanted to do fractal lvl100
now i'm waiting for support to respond :|
349g lost because of an annoying infusion system that should be revamped
well, i didn't buy it, but still it has a 349g value