« first day (3285 days earlier)      last day (1662 days later) » 
04:00 - 21:0021:00 - 00:00

9:00 PM
they work ok but they don't work together :)
 
ThW
@Stephen Code isn't offensive, declaring it as bad, sloppy, ... is. Especially if it is expected/current behavior.
 
@ThW code that fills a log file with notices about undefined variables and properties is sloppy
That isn’t an opinion that’s fact
If you disagree I’ll direct you to my colleague
 
ThW
And hitting people will help them improve?
 
cmb
@samayo, AFAIR WAMP has an icon in the system tray which offers a context menu to restart the server.
 
9:07 PM
No one is hitting
Call a spade a spade
If you want to write sloppy code you do that, but own it
 
@cmb Problem is not WAMP. When I run composer require is reads from c:/php/php.ini the configs and throws exif isn't enabled
 
Coddling people is what leads to “ignoring undeclared variable errors is a valid programming style”
 
eh php, whenever i come back to it, it bites me in the ass
 
Have you ever tried to debug a 3rd party tool that spams the error log with notices about undefined variables and has zero -
literally no single logging output about actual errors or encounters
 
cmb
Is C:\php in the PATH?
 
9:10 PM
It has comments showing the author knew it could be an error - what does it do? Returns false. And the return value is never checked
 
ThW
@samayo check the phpinfo() output to see which php.ini is used.
 
@cmb yes, that is the path from which composer is running php from
the standalone is being used, i checked
ra@xps MINGW64 /e/os/samayo
$ php --ini
Configuration File (php.ini) Path: C:\Windows
Loaded Configuration File:         C:\php-7.2\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)
 
cmb
Then prepend WAMP's PHP folder to the PATH.
Say, if there is C:\WAMP\php\php.exe, do path C:\WAMP\php;%PATH%
 
won't that conflict? what if I want to use the standalone
 
ThW
That is path PHP cli, not necessarily the version using by the webserver in WAMP
 
9:13 PM
yes
the thing is, I have changed C:\php-7.2\php.ini and uncommented some extensions, like exif ... but I can't restart it, so the old value is being read
 
ThW
@Stephen Not if you make it a moving target by changing the syntax or internals like the comparison logic
 
cmb
If you are running PHP-CLI, there is nothing to restart (maybe you have to purge a cache)
 
There must be something to do, I don't know about the cache, but altering the ini doesn't affect it, so a restart of some kind is clearly required
anyway, i'm just being too lazy
 
@ThW making access of undefined variables an exception is neither affecting syntax or comparisons.
 
ThW
@samayo If it is loaded into a webserver as a module, here is a good change that another ini file is used.
 
9:17 PM
I’m done with this. Like i said if you want to write sloppy go ahead, but own it.
 
cmb
@samayo, then check the taskmanager, and kill all php processes, if such are running. That shouldn't make a difference, though.
 
I tried, I see no php process. At least alphabetically
weird, there is a process and PID for python but not for php
 
So, just a dumb thing that bit me too many times... Make sure you changed the right file. The number of times I accidentally edited the wrong .ini file is embarrassing.
 
cmb
When php.exe is executed, it always starts as new process.
php --ini
 
I only have one php.ini the other is php.ini-development
I actually see no php.exe ... where are you seeing that @cmb?
 
cmb
9:30 PM
There should be C:\php\php-exe
... php.exe I mean
 
Nope, I have two php files, one is .ini second is the logo
wait .. wtf!
 
and just like that, Samayo joins the "I got two identically named files confused and all I got was this boring T shirt" club
 
haha to be fair, it is easy to fuck things up in php
ok, i'll call it a night
thanks @cmb and @MarkR
 
cmb
yw
 
Yeah... that one has cost me literally days
gn
 
10:03 PM
can't believe I'm dealing with can't add a new key into hash during iteration :-P first it made me kinda like ruby, now I kinda hate it
because am iterating a clone...
 
ThW
@Stephen Different points of view: are you trying to "fix" how people program PHP or are your trying to "improve" how people program PHP.
 
Wes
they changed yahoo's logo
 
Hello. How is everybody?
 
Wow, Yahoo... I think the only reason I've used that in 10 years is to sign into Flickr
 
Wes
10:18 PM
@MarkR i've been using it for stock market info. they have real time after hours quotes... which most don't have
 
I like the verge's title for it.... Yahoo changes logo to remind world it still exists
 
10:47 PM
/nn
 
175 votes cast and I'd say that poll is clearly swinging towards default-traditional so I'll drop my opposition to that clause in your charter @ircmaxell
 
@MarkR strawpoll.me/18789725/r "high assurance" I'm amazed at how many places still get this wrong.
 
It double encoding the HTML entities?
They get a lot of traffic, you'd have thought they'd have fixed it
 
@MarkR Yes. And in that context, " is fine anyway.
 
@kelunik am I blind or did you not create an issue for that?
also @Trowski I fat fingered github and accidentally foked libdns in amphp, I don't have the powahz to delete it, can you do the honours?
(and sorry :-P)
 
10:57 PM
That button really needs a "Are you sure you want to clone this repo even though you almost definitely miss-clicked on it" ._. I think at one point 2/3rds of my github is repos I cloned by accident
 
generally true, but also a severe competence deficiency on my part in this case
 
Clone repo deleted.
 
ah shit
I seem to have seriously neglected that
presumably the issue is essentially that it needs to & ~ALL_THE_FLAGS somewhere in the decoder
but I did a load of work on a rewrite and didn't finish (as usual) :-/
 
11:13 PM
I have that problem too. I pushed a bunch of changes to amphp/mysql like 2 months ago for a v2, then forgot about it.
 
ugh that code is just too much of a mess to fix
@kelunik it's safe to remove the flag if you aren't encoding the records anyway, it's just an indicator that it shouldn't be compressed when encoding
I can't find the bit that needs fixing rn and that code is so insane (omg the factories) that I'm not sure it's worth the effort to fix instead of just finishing the sane version that's 95% done
Actually I think just adding an extra entry here which is OR'd with the flag would be an acceptable band-aid
 
11:40 PM
What's a good help desk chat system?
 
They use Kayako where I currently work
 
They use ClickDesk here.
 
:| I just upgraded phpstorm to the latest EAP and it's slapped me in the face with several hundred "possible polymorphic call" messages D:
 
04:00 - 21:0021:00 - 00:00

« first day (3285 days earlier)      last day (1662 days later) »