« first day (3147 days earlier)      last day (1801 days later) » 

 
1 hour later…
3:30 AM
strtotime('last <day of week> + 7 days') incorrect result – #78080
 
 
2 hours later…
5:15 AM
Guys, there is a marketing word/term which sounds "kak". It means how much cost you have to pay to grab a user. Anyone knows what's that word?
 
5:49 AM
o/
 
6:00 AM
I tried to output -9223372036854775808 but it will show -9.2233720368548E+18 – #78081
 
6:39 AM
ping @SebastianBergmann
 
7:03 AM
I'm trying to design a website that will have a daily giveaway, users must log in and enter the draw. Can anyone provide me with some information or tips on how i might accomplish this? And how the database side of things might look?
 
Wes
7:19 AM
remote: Permission to .git denied to
so sourcetree is completely unable to use multiple github account at the same time
pushes with the global user, not the repo one -__-
 
@Wes wut
Where are you pushing/pulling from?
A real remote, or a local directory as a remote?
 
7:34 AM
@JoeWatkins pong (sort of)
 
7:52 AM
@SebastianBergmann I can see no pathway to this error, and it's nothing to do with the way pcov caches discovery of code, because I disabled that and it made no difference ... it's really hard to debug phpunit in gdb, and on top of that this isn't a very simple reproducing case ... I think I'm going to need an isolated reproducing case to debug it ...
and I can't use phpdbg to debug it because then pcov isn't even used ...
same for xdebug ...
 
@JoeWatkins Sorry about that :-/
Don't know how to make this smaller. But this type of issue is the only problem I have encountered so far with PCOV. Would be great if we figured out how I can help you to debug it in order for it to go away.
 
Wes
@MadaraUchiha nah it's just a bug in sourcetree
 
bread a usually baked and leavened food made of a mixture whose basic constituent is flour or meal
 
I'm very confused, so I'm going to stop looking at it for now ... I'll come back to it later today sometimes, and perhaps rope nikita and or bob into looking into it ... they may have some gdb fu I'm missing, the only ways I can think of to catch it happening may take many many hours to run (I'm attempting to run them now) ...
 
Wes
it just doesn't use the right user when pushing. it uses the global one rather the one in .git/config
 
8:01 AM
@JoeWatkins Thanks!
 
Wes
no idea why's that. morning everybody
 
The reporter of #12 managed to make a small reproducing case, if you can find any way to do that, it would be extremely helpful ...
(conditional breakpoints with string comparisons in gdb are slower than wind erosion) ...
 
8:21 AM
I wonder if it's only me that finds numbers harder to read when they have underscores in them ...
0xXX_XX_XX_XX is horrible, so is the binary one, and all of the other examples would be better as constants with meaningful names ... I really don't like this separator rfc at all ...
 
8:36 AM
i'm unable to send values by ajax
 
9:03 AM
@SebastianBergmann I think I found it ... it's not in pcov, it's in the driver ... I'm testing ...
krakjoe@fiji:/opt/src/diff$ vendor/bin/phpunit --coverage-text
PHPUnit 8.1.6 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.3.7-dev with PCOV 1.0.3-dev
Configuration: /opt/src/diff/phpunit.xml

.............................................................   61 / 3655 (  1%)
.............................................................  122 / 3655 (  3%)
.............................................................  183 / 3655 (  5%)
.............................................................  244 / 3655 (  6%)
@NikiC can I be certain that all filenames are interned ?
I think I can, but do you know of any case where that is not true ?
scratch that, I don't have to be, I can just intern them ...
 
yes
make that an unconditional clear
to counter that, I can improve the perf of clear ... (I've done it, testing)
(can't measure meaningful difference on diff, but I'm sure there will be on very large test suites)
also, sorry, stupid mistake ...
I was so paranoid about it being fast, I thought it was logical to skip the clear, but it's not at all ...
 
9:51 AM
I'll do a pr for the driver bit now ...
 
@JoeWatkins Merged :)
 
ta, I'm going to test a few big suites before pushing changes to pcov ... might even be able to make it a little faster avoiding tight loops over coverage data to free strings that are interned anyway (and so no need to loop or release) ...
 
@JoeWatkins I can roll a release of php-code-coverage with that fix regardless, right?
 
yes
 
Done. Thanks!
 
10:02 AM
yw
 
10:13 AM
morns
 
10:31 AM
@mega6382 o/
 
 
2 hours later…
12:17 PM
 
\o
 
just had a windows machine freeze (no BSOD or anything, just frozen on last frame) for the first time in maybe 5 years
I had forgotten it was a thing tbh
 
Good morning, homies!
bros!
peeps!
compadres!
hermanos!
Word of the day is bread? Really...?
 
a indefinite article
wow I got the actual phrasing and everything
 
Hi
I've got a FreeBSD server with NGINX and PostgreSQL and PHP, and I want my users to be able to login automatically. So I read up on LDAP and Kerberos and set up an LDAP server, but I'm not sure on how to proceed. Should I install the SPNEGO module for NGINX? And then what?
I'm just looking for some generic pointers on the grand scheme of authentication.
 
12:35 PM
@DaveRandom wow
That was an exciting day!
 
1:12 PM
So I have to download the SPNEGO module (nginx.com/resources/wiki/modules), set up a compile environment, make it, install the dynamic module into NGINX, and configure it so that credentials are passed via the FCGI $_SERVER superglobal.
And hope for the best in a production environment...
Isn't there an easier way to set up SSO authentication via LDAP ?
 
In PHPStorm, can I split the 'Project' pane? I'm currently having to scroll miles between the source files and test files.
 
@Danack dunno, I'm using Eclipse, it's easy to do in Eclipse.
Perhaps set up a symlink in the project tree?
About authentication, there's is also an LDAP auth module for NGINX. But when I'd use that one, I need to provide some Manager auth credentials in the NGINX configuration, so that the LDAP data can be read. But how then can PHP connect to PostgreSQL?
 
@Danack I dont think so.
 
Do I need to store the PostgreSQL password unencrypted in LDAP?
It seems SPNEGO is a LOT easier and better documented for Apache. No need to compile sources. Unfornately I'm bound to NGINX, so I'll have to do without SSO for awhile.
 
1:45 PM
Bye.
 
1:56 PM
@Danack @NikiC works there now... wonder if he would know. Or recommend the idea to someone since Eclipse can do it.
 
@StatikStasis Thanks. I'm pretty sure though he would put people who ask about UI stuff on ignore quite quickly...
The phpstorm twitter person suggested using Favourites, and that's good enough for me, as I can just add the directory for the src + tests of the stuff I'm working on to the favourites window when I pick up a task.
 
Also, pretty sure it's on our own interest to have him working on core php rather than fiddling with UIs...
 
That link above looks like a way to do two floating windows that are independent but I have not tried it.
 
@StatikStasis yeah, that's for undocking it, or moving it around. Apparently the panel just doesn't support splitting or duplicating.
 
1:59 PM
hmm
 
ah I see. Cool they got back to you so quickly.
 
 
1 hour later…
3:30 PM
Heredoc/Nowdoc identifier constraints outdated – #78082
 
@JoeWatkins I see you're setting up Azure pipelines, nice :)
 
trying yeah
 
And I just found out that we haven't been running any sapi tests in I don't know how long
 
@NikiC and @Danack Can you give me some early feedback on my RFC wiki.php.net/rfc/strict_operators
What do I need to add or change to make it good enough for a discussion?
 
@Jasny-ArnoldDaniels I'll take a look later or tomorrow
 
3:33 PM
ok, thnx
 
Predictorama, statistically, people who have a first name starting with the letter Z, are not going to like it.
 
posted on May 29, 2019 by CommitStrip

 
@NikiC someone closed the pull and deleted the branch ?
 
3:47 PM
@Danack I would also really appreciate your thoughts on this RFC. If you can spare some time to have I look (now or later), I'd be grateful :-)
 
@JoeWatkins you probably pushed directly to the github repo
so the mirroring overwrote it
 
I didn't push anything, it's all automated by azure
 
@Jasny-ArnoldDaniels I think mostly the words could do with moving around a bit to present the problem more clearly first. I'll also try to suggest changes later.
 
@JoeWatkins uh, do this on a fork then please
 
oh okay ...
 
3:48 PM
Because this is going to break the mirroring
 
@Danack Thanks, looking forward to those suggestions.
 
3:59 PM
@Danack I would have been ok if my parents named Zeus. And when I was a kid I wanted to be Zach from Saved By The Bell... not anymore.
 
4:11 PM
it's taken one hour, I just managed to almost configure a build ...
this is going to take a million years
 
@JoeWatkins You've copied the configure from the wrong version
 
crap
 
You'll want a 7.4 or master one, this one looks older
 
yeah 7.3 is checked out ... blame @SebastianBergmann
I'm starting to figure the thing out though ... also, it's fast ...
I think we'll want a directory of scripts for ci ... like we have for travis, but can't reuse that I don't think ...
 
@JoeWatkins I think travis doesn't have much useful in there apart from the main configure
The rest is mostly ... duplicated
So just one file might do it as well
 
4:31 PM
@JoeWatkins Huh?
 
was joking, I built 7.3 earlier to test that pcov thing ... :)
 
Any chance of getting the -T functionality from php-cgi into php-cli? Would make it a lot easier to benchmark PHP/OpCache/JIT performance with PHPUnit.
 
4:52 PM
do you mean -S (-t) ? the cli server ?
oh
I didn't know that was a thing ...
 
exif_read_data() corrupt EXIF header: maximum directory nesting level reached – #78083
 
@JoeWatkins -T count Measure execution time of script repeated count times (CGI only).
 
I got as far as make, I'm basically a god of CI right now ...
@NikiC build in 6 minutes, travis takes 10 ... haven't got to run tests yet ...
 
5:39 PM
user image
10
@JoeWatkins Don't give me any grief- I'm at work and I only have PowerPoint to work with here. =p
 
that is so me ...
 
6:20 PM
I need some help, please! I use Laravel Eloquent... how can I link an entire table to a row? Eg. Each Foo row has its own Bar (all rows of it)
table row having another entire table
 
> and it that case you could just compute them by adding
> powers of ten.
> E.g. DISCOUNT_IN_CENTS = 1 * 10^5 + 3 * 10^4 + 5 * 10^3;
 
@JoeWatkins I see that you've made good progress :)
@Danack I think that was the best argument in favor of the RFC I've seen :D
Sometimes it takes a person who tries to argue the converse position, in a really really stupid way
 
I think there's an actual phrase for when someone takes up your side of an argument, and you really wish they hadn't.
I would post my definition, but as that would be unwelcoming I certainly won't do that.
 
6:34 PM
@NikiC yeah not bad, just figuring out the best way to make the matrix of jobs from this configuration ... there are some strange things going on, parallel testing keeps outputting TEST and empty lines that I don't see on travis, and there's some odd fails
Test stream_isatty with redirected STDERR [tests/output/stream_isatty_err.phpt]
Test stream_isatty with redirected STDIN/STDERR [tests/output/stream_isatty_in-err.phpt]
Test stream_isatty with redirected STDIN/STDOUT [tests/output/stream_isatty_in-out.phpt]
Test stream_isatty with redirected STDOUT/STDERR [tests/output/stream_isatty_out-err.phpt]
Test stream_isatty with redirected STDOUT [tests/output/stream_isatty_out.phpt]
IntlBreakIterator::getLocale(): basic test [ext/intl/tests/breakiter_getLocale_basic2.phpt]
 
@JoeWatkins Possibly an ICU version difference?
 
7:07 PM
I need some help, please! I use Laravel Eloquent... how can I link an entire table to a row? Eg. Each Foo row has its own Bar table (all rows of it). Thanks!
 
7:34 PM
This kills the chat room.jpg
 
7:51 PM
Laravel and Eloquent... isn't that an oxymoron?
 
8:51 PM
@NikiC seems possible, although not sure what to do about that ... I got the 4 basic builds running now, will add jit tomorrow, not sure if they should be separate jobs, or just stick another task in each configuration to run the tests again with jit ... will try separate jobs first I suppose ...
 
@JoeWatkins I which branch is the code with JIT?
 
master
 
cmb
@JoeWatkins A while ago I tested with ICU 64, and I got a couple of failures – possibly these ones.
 
 
1 hour later…
Wes
10:23 PM
evenings
 
@cmb this is a bit random but just wanted to say thanks for the amount of work you put in to triage on bugs.php.net... many times I have looked at reports which are <5min old and you have already dealt with them, it's a crappy job and I just wanted to let you know that your work doesn't go unnoticed :-)
5
also hey @Wes
 
Wes
\o
kinda got an office job to one of my clients, so i'm spending some months there
hopefully something interesting to make :B
 
cmb
@DaveRandom Thanks! :)
 

« first day (3147 days earlier)      last day (1801 days later) »