« first day (3620 days earlier)      last day (1553 days later) » 

00:01
@DaveRandom Corona with lime?
I'm not sure if I've ever had Corona beer to be honest
I have submitted PR but I have never coded in C before so take it easy on me. I also tried to update the test scripts. I did it mostly to learn the process, and if there's something I did wrong I would love to know. It would help me to learn
00:36
@Tiffany smells like weed, tastes like shit
Wow
I am too drunk for keyboarda
Case in point
nn :-P
nn
I'm fixing bugs at 1:38am
And having success.
Corona is shite though.
Hey that's productive at least, can I get you to review the Date warning to promotion PR again tmr @Derick? I hope I've fixed all the comment
 
2 hours later…
02:21
@Crell You may have already seen this. youtu.be/iSyfpUyzQGU
02:35
@StatikStasis guess what!
 
5 hours later…
07:06
@Tiffany ?
 
2 hours later…
09:06
@Girgias Did you sleep any last night?? :D I saw that you created gazillion of PRs :D
@Girgias Link me and I'll have a look later today
09:29
@Girgias i cant find the "Invalid expression" DOM Warning when you do ->evaluate("&!foo134"); for example
its still just a warning with oyur patch
changing the RETURN_FALSE in xpath.c to throwing produces both the warning and the exception, meh
09:42
@Girgias did you come accross some way to render errors to warnings that libxml raises?
__xmlRaiseError
@Girgias looks related to ext/xml/libxml.c php_libxml_issue_error
@Girgias looks like sometihng we should leave as is for PHP 8, needs a lot of research
@rightfold i can relate to the lack of inspiration with corona, much easier for things to feel pointless
But, no @@ :D
10:02
@_@
10:23
posted on September 05, 2020

Whelp, I just came the closest to death I’ve been in months. Shannon and I took Gozer for a walk around the neighborhood (Shannon is my wife, Gozer is the dog). The neighborhood is hilly and suburban, without any sidewalks. We traveled up and down streets and wound around a graveyard, then continued up a hill. When we reached the right combination of hot and bored, we made a U-turn and began

@beberlei I made a joke to ocramius on Twitter about that... missed opportunity :P
@Tiffany still time to vote once again! ;-)
Anyone know how to pipe commands, and get the output from the previous command in Symfony. for example vendor/bin/phpstan analyse || bin/wte analyse need to get the output of phpstan in the bin/wte analyse command
only one |
not two
10:41
@StatikStasis it's negative! :D
They didn't test for THC
10:58
Congrats! You is not a hardcore druggie who's going to sell internal company secrets to an afghan farmer for your next hit
I don't really understand what drug testing in the workplace is meant to be solving in the US. Over here it's rarely used and almost exclusively in high risk places (plant operators etc)
@MarkR wtf do companies even care if you're on drugs as long as you're doing your job properly...
@KerrialBeckettNewham I would guess that companies believe (or rather are sold that) those who are drug users (addicts) are more likely to not do their job properly and do illegal things - possibly with company property / data
Consequences of a capitalist economy with few controls on personal / workers rights
user1804599
@DaveRandom I don’t drink.
user1804599
At least I remembered a nice project to work on, so that’s what I’m gonna do today.
11:14
There's also medical insurance which is offered by employers and I guess employers can get discounts for insurance costs if they drug test.
But I would assume that would require random drug testing, not drug testing pre-employment
Sometimes I wished we had less tests so that I could pretend the feature would be working correctly
@AllenJB Statistically speaking they are probably correct, but it's not a very human approach.
user1804599
People are ill-informed about drugs. Hence, ill-informed drug policies are introduced.
I have to clean off my other desk so I have room for another computer
user1804599
You can replace “drugs” by anything else and diagnose a large portion of societal problems we face today. :)
11:29
morns
"Employees going postal causes millions of dollars in damage every decade. Monitor your employees gaming accounts and get alerts when they're spending too many hours playing violent video games!"
"Socialist ideas are dangerous to your bottom line! Start monitoring your employees social media accounts today!"
@bwoebi I can relate: github.com/php/php-src/pull/5058/files Just look at the ratio of changes in C vs test code :D Maybe it's 100:2000
11:50
@MateKocsis haha, but in this case the tests are showing an actual problem, which I'd like to not fix haha
I found that the issue Nikita pointed out with yield from … when fixed properly shows a hidden bug in an unrelated place
@MateKocsis I slept from 6AM to more or less an hour ago :')
@beberlei Right, probably better to just get the straightforward ones done at least :)
What will happen to this feature if it is not yet finished? Will it be rolled back?
12:07
@Dharman which feature?
Promotion of warnings to errors
@Dharman no, it will just not be 100% complete
Are we allowed to complete it in 8.0.1
and if that happens girgas, mate and nikita will earn their entry into php sadness ;-)
no, next possibility is php 9
so we will have to live with a new inconsistency for another 5 years
12:10
@beberlei 8.1 is fine too, depending on the actual issue
@beberlei 8.1 should be fine, no? There are are plenty BC breaks in other minor versions.
We don't really follow semantic versioning anyway. If we were strict about it it would be very hard to get anything done in minor versions.
Is it a BC break?
BC breaks in minor versions have to be... well, minor breaks. That's my understanding, at least.
I would consider this a bug fix rather than BC :D
If I knew earlier that you require help then I would have helped with mysqli. I know mysqli very well and I can help with more accurate errors
@Dharman mysqli warnings have been converted to exceptions in 5bf6aedae4556facb8b407426a13c4e8d5399dd5 in january
That means that my PR yesterday is unnecessary
12:25
there are still E_WARNING i see, but not all of them can be converted anyways
12:37
@IluTov still have the issue. could you help to resolve that issue?
user1804599
13:17
Cool, got hello world working!
user1804599
Only 200 lines of code and configuration.
user1804599
Now I’ll have to add another 100 or so lines of configuration to get PostgreSQL working and then I can start writing more code.
user1804599
Oh, maybe another 100 more for integration tests, because if you skip setting up an integration testing framework, you won’t be writing integration tests, and your app will be 1000‰ unmaintainable after two months.
@lipon It's hard to help you without the whole context. PDO requires the number of expected and actual params to be the same. So the count of the params in must be the same as the count of ? in the query. You can try xdebug and step though the program to see where it goes wrong.
So sorry, no, your on your own :)
13:52
@beberlei Pushed again, could you review again, might have missed something from your Quintuple ping :p
user1804599
Is php-fpm supposed to fail to start when the file passed as the -c argument does not exist?
user1804599
Apparently it just silently ignores the error.
14:08
Array[foo] ?
Nevermind, this is known, I forgot the braces. I thought both were broken. :)
was I right tho
@Girgias No, it's "foo". 3v4l.org/frAtc
Whereas here foo is correctly interpreted as a constant. 3v4l.org/fupVm
welp I don't get ho that works but my brain can't spend time on that yet
@Tiffany \o/
14:29
anyone can help me im spitting out cards with bootstrap carousels in each one the problem is that when they all load they all goto the next slide at the same time and im tryna figure out how to put a random delay one each say like 1-3 i can use rand function but im missing the knowledge in jquery
*1-3 secs
This is a PHP room tho
You probably have better luck in the JS room
thanks
14:57
@beberlei haha 😃😃 you described the situation very accurately! 😃
@Dharman I think Benjamin is right, we can't do such distruptive changes like reclassifyimg warnings to exceptions is minor versions. I think we have promoted them quite profoundly, but it is simply unrealistic to reach 100%. And the definition of a "programmatic error" is not even perfectly clean, so that's another factor which prevents us to be 100% consistent.
omw to do PGSQL, just need to figure out how to set-up PostgreSQL
Dockerrrrr
Well I need the headers at least so that I can compile it
15:38
i dobut its more complicated than apt-get install postgresql-dev or something
Well, first time setting up the server did make me pull my hair to get the tests running
But that's sorted
Does anyone know how to pass the output of a command into another command in a Symfony console application? for example vendor/bin/phpstan analyse || bin/wte analyse the output of phpstan as the input of the second command.
16:27
@KerrialBeckettNewham I don't know exactly what that command expects, but maybe bin/wte $(vendor/bin/phpstan analyse)
or just pipe the info to a temp text file....
16:40
Doing some wiring for my home network. Is Cat8 worth it over Cat6a. Cost of a 1000 ft. roll is $450 vs $250.
I can't imagine what I'd need Cat8 for, but if this were installed 20 years ago I'd be sad today if I had installed Cat5.
A little googling says cat8 is only worth it if you anticipate having a connection greater than 10Gbps
Does your area offer fiber internet?
Or I guess if you think you'll need to transfer files between machines... I don't have much of a home network so I can't comment on that.
@Tiffany Yes, I would say they'll be offering 1G shortly. It's more of a question of future-proofing.
16:58
@Trowski Most people wouldn't even say that cat6 is worth it.
@LeviMorrison Heh, well I'm certainly not installing 5e :-P
I put cat6 in at my parents place this year, personally.
Admittedly it's overkill because their home internet speeds are very poor and don't expect that to change, and they don't have home servers or things like that.
I do plan on having a home server for steaming movies etc. Cat6 is still overkill for that at the moment.
php_memnstr segfaults ・ Program Execution ・ #80099
I guess there's also the question of money - do you have the extra 200 to spend or could it be better used somewhere else?
And that reminds me, I still need to buy some hot chocolate from your store, especially since I have a job now :P I'll have to grab a package with my first paycheck.
17:06
@Jeeves wtf
@Tiffany Well yes… but I try not to spend money on something that will never be of benefit.
@Tiffany Sounds good :-D
17:25
@Ekin heap.space fixit_remix.mp4
 
1 hour later…
user1804599
18:43
@DaveRandom In the eighties they found a solution to this problem. Just put “class SalesforceApi {” above your code and “}” under your code and now all your functions procedures are re-entrant.
user1804599
If only there were a standardized markup language that translated easily into HTML.
which one?
:P
user1804599
HTML.
I would go for XML personally, but then we could take it a step further and go with the docbook DTD ... though that's excessive for chat ...
user1804599
18:51
XHTML, it is.
user1804599
19:14
I am so happy that I am programming in PHP again.
19:43
@cmb can't quite place my finger on it, but I really don't like the presented solution in github.com/php/phd/pull/29. I guess convoluted? Like, we know what we're trying to solve, so why abstract the variadic term to ellipsis?
granted, adding variadic as a role may lead to a maintenance nightmare in the future, but I like that it's specific in its intent
heap-use-after-free in zval_undefined_cv (zend_execute.c:274) ・ Unknown/Other Function ・ #80100
user1804599
> Expected result: Program received signal SIGSEGV, Segmentation fault.
20:12
I have to write a little thing to sync between 2 rest apis in the next 12hrs. It's totally doable (in like a couple of hrs, both APIs have full featured SDKs in a variety of languages) but I also totally cba. Anyone bored and wanna do it for me? :-P
(obv not really)
user1804599
Eww, storing data in more than one location, requiring it to be synced.
yeh but integrating 2 black box apps
(salesforce and an access control system)
user1804599
Good luck, have fun.
it's not really practical to look stuff up in the salesforce API live every time someone scans a keycard at a door :-P
user1804599
Just got my integration tests working! Now I can implement the first feature.
user1804599
20:15
Don’t Salesforce and the access control system both support LDAP?
user1804599
Instead of spending a few hours writing a syncing program, you could spend a few months setting up LDAP.
looooool
tbh the real issue is that the access control still needs to work if the internet goes down
you can't have people trapped because the internet doesn't work
user1804599
What if there is a power outage?
user1804599
Do the locks have backup batteries?
@rightfold the internal doors are all maglocked so they release if the power goes out, the external doors have a magnetic 1-way deadlock so they lock down for ingress (but not egress) when the power is remove
user1804599
20:18
Nice.
also there are backup batteries and stuff, it varies by site
(this customer has 98 sites ranging from 1 door to 238 doors)
user1804599
I wish I were that rich.
user1804599
Sounds like the SCP Foundation.
you probably don't tbh, I've been in their offices and it seems well stressful
(multi-national law firm)
20:30
Is Appveyor behaving itself today?
20:48
Does it ever?
hi
I made a web application, where some users can uppload files. For someone it's working fine, but someone gets the following error: ERR_HTTP2_PROTOCOL_ERROR even when they are trying to upload the same file...
Is it possible to fix it?
@Danack I'm trying to figure out a way to read errors from any other command line tool. Did you try your suggestion, doesn't seem to be working for me. I'm trying to find the simplest solution, saving to files seems a bit messy.
@Tiffany It seems not...
21:06
@Danack seems easier to pass the command as an option like so bin/console analyse -c"vendor/bin/phpstan analyse" then I can run the command from within the first.
@BálintCséfalvay what steps have you taken to diagnose the issue?
Do you have error logging enabled?
how unsafe is zend_hash_foreach where calls within it may alter the iterated array?
very, right? :-D
@Tiffany I don't have errors enabled. The user got this error mesasge from browser:
ERR_HTTP2_PROTOCOL_ERROR
cmb
cmb
@Tiffany the "ellipsis" is just a quick (and dirty) implementation detail; don't want to spend much time on implementation until we'll have agreed on the solution. The relevant part of PR 29 is to use the standard "rep" attribute of the methodparam element, as suggested by Peter.
Actually, I don't really mind which solution we use; I'm more interested in deciding on one, and then update the docs ASAP. There's much more I'll like to see improved in this regard (mostly union types, but also getting rid of the bracketed optional parameters, and also getting rid of the excessive whitespace in the signatures).
21:21
Is there a reason why exif_imagetype doesn't recognize SGVs as valid image types?
@bwoebi yes
cmb
cmb
@samayo it's just not implemented yet
@cmb Is there someone assigned to work on that?
cmb
cmb
@Crell I marked the 5 failing tests as XFAIL (and pinged Dmitry; can't do more, at least for now), so it should behave (for now)
I can't tell, the RFC UI is too archaic
21:26
Good good. I retriggered the branch a while ago so we'll see if all 3 test sets pass now.
cmb
cmb
@samayo no; feel free to do it :)
might not be easy, though
That's all I need to know not to do it
cmb
cmb
exif_imagetype() is actually a simplified variant of getimagesize(), and it may not generally be possible to get the size of an SVG; just recognizing SVG shouldn't be that hard, but a hard dependency on libxml would be an issue, so ...
@BálintCséfalvay it's probably timing out. Look at the post_max_size, max_input_time and max_execution_time ini settings
also note that if you use browser's dev console (press F12) it will probably give you a more precise error
@DaveRandom It looks like this:
php_value post_max_size 26G
php_value max_input_time 1800
php_value max_execution_time 1800
21:34
26GB???
somewhere your web server is logging something that tells you what the problem is, you need to look at the web server error logs
the error you are getting from the browser is generic, it doesn't really tell you enough to figure out what the problem is, but somewhere either on the client or server side there is an error message that will tell you the problem
php log errors and display errors was turned off
that's a good start, but because of the error that chrome is showing I suspect that won't help
for me its working good, but some of other client got the error
21:41
ah, well it could be as simple as those users needing to update their browser
and/or you may need to update your web server
you need to figure out what the variable is whbich determines whether it works or not - i.e. is it always some specific users that always have problems, or does it always time out after 5 mins or... something else
try and find the thing which connects all the failures that doesn't exist when it works
it could be a specific browser/version, size of file, specific characters in the file name, specific country... all sort of things, but whatever it is that connects them, figuring out what it is will help you identify the problem
the users browsers version is:
Chrome/85.0.4183.102
OK that's the same as mine so basically latest mainline, that shouldn't be the issue
I would start in the web server error log
Yes, i think so
maybe turn the logging level up to debug and provoke a failure, if you can't find anything relevant in there
@cmb big-big thumbs up on every items listed :)
21:52
@NikiC Status: Number of tests : 123 (Passed) 123
Yay! It's finally passing again on all 3 test systems! github.com/php/php-src/pull/6046
I know the feeling. Boy, that kung po chicken was hard to get rid of.
@Crell Now merge it before it breaks again :D
I don't have merge access to php-src. :-)
I do but I am not brave enough to merge stuff I didn't write :-P
21:58
@Crell I was just teasing :P
I object to anyone merging stuff they wrote themselves, but that's another matter. :-) I just need someone else to merge it before it breaks again.
I'm currently wondering whether I'm even brave enough to push my bugfix to code I have written to php-src
@bwoebi You probably want to PR this one
@Crell post-review, indeed... more accurately I don't want to take responsbility for review :-P
yeah guess so
will do
21:59
At least, if it's as tricky as I assume it is ^^
@NikiC You're not in a merging mood, are you? :-P
@NikiC a 100 line diff in zend_generators.c
@Crell that said, I actually have no issue merging that, it all looks sensible and doesn't break any tests so I will do it
remind me in the morning, I am away from my SSH keys atm
If I don't find anyone else to do it by then. :) I'm just paranoid of it breaking again and not making the Tuesday deadline.
(morning = +10hrs)
22:07
@Crell What PR is that?
github.com/php/php-src/pull/6046 - Just cleaning up some array function param names.
moths are so fucking dumb. I just turned on my phone torch to look under my desk for something and a moth just fully flew straight into my eye
hope it's not too bad
I always regarded air travel as one of those things that requires a pretty high degree of accuracy, afaict moths operate at around 50%
22:11
@DaveRandom maybe it was aiming for your eye?
you scared it, it retaliated
the appropriate word definitely begins with "reta" but it doesn't end "liation"
@Crell I think that most of the changes should be uncontroversial, and I like them, except for this:
- function array_keys(array $array, mixed $search_value = UNKNOWN, bool $strict = false): array {}
+ function array_keys(array $array, mixed $for_value = UNKNOWN, bool $strict = false): array {}

Even after your explanation in my review comment, $for_value doesn't seem like a good choice (and neither for Peter), so IMO it would be worth to gather a little bit more feedback (or leave this one out)
Sigh.
Anyone else want to weigh in then? (I have no other way to gather feedback.)
I must be honest, I do like needle and haystack for that stuff, it's unambiguous, albeit esoteric
(also it's used in quite a lot of places already)
I like search_value as well... for_value just leaves me wondering "for what?"
22:18
@NikiC the hardest part was really understanding again how it worked… I was really 1-2 times "wtf" and then "ah … I understand"
@Tiffany $filter maybe?
It's really been 6 years, I've definitely forgotten nearly everything about it
search is specific, for is ambiguous
@DaveRandom that may be better
user1804599
Ah yes, use PHPMailer\PHPMailer\PHPMailer;.
@rightfold you forgot as PhpMailer
user1804599
22:19
Doesn’t matter, is case-insensitive.
PhPmAiLeR
user1804599
inb4 used classes are not.
$filter_value?
(It's returning keys for which the value is the value provided.)
@DaveRandom for me, a filter means a function, so yes, $filter_value seems better
user1804599
I wish PHP 8 didn’t remove configurable case sensitivity for constants. Removes useless trivia I can wow people with. At least the “except for TRUE, FALSE, and NULL” part remains.
22:20
yeah, I prefer filter as well
yeh I'll go with filter_value
OK, let me see if I can change that without taking 3 days to make it work again... :-)
@rightfold is that true?
if so, til
@Crell 🤞
I start my new job in a week O_O (just realized)
22:22
yay!
what should I do within a week while I'm still "funemployed"?
that costs less than 100 dollars :D
user1804599
@DaveRandom Wouldn’t be surprised lol. But probably not.
Beat Saber is only $40. (If you already have the hardware...)
buy 10,000 penny sweets
I don't have VR gear :/
22:24
oh I was looking at a laser tag set on ebay for like £30 the other day
probably going to spend the week turning my living room into an office
office/laser tag arena?
(and if not, why not?)
kinda hard to play laser tag alone :D
I could try playing with my cats, but I'm not sure they'd find that enjoyable
tabs will give you a game I'm sure :-P
she's living with her kids again
though I could invite her over I guess
22:26
invite your dad over and take out some anger :-P
I'll give him some plastic bags...
@NikiC Do we really have to stop working on param names on Tuesday? I understand that it's hight time to stabilize our APIs.. but if let this opportunity go, many current shitty (and sometimes incorrect) names will be set in stone, since there will be just too many usages in 5 years time :(
OK, switched to $filter_value and pushed.
@MateKocsis That's more of a @Sara and @GabrielCaruso question. I think Sara said RC1 was the deadline.
@Crell maybe we just should have more beta and less RC then :-D
I don't have even slightly enough karma to have that conversation...
22:57
I would be happier if you delayed the release of PHP 8 to polish all the new features. We can wait few more months for the new features, but having to live with badly implemented features for years is much worse
Christopher Jones has just shared a very nice blog post he wrote about pursuing an RFC: blogs.oracle.com/opal/…
I think it should be sent as a first reply to a lot of threads nowadays... :D
It's a very old one and is linked in the RFC template IIRC
Oh really? I didn't recall it. :S
Has the quiet on internals ended?
Oh, only a handful of emails
@Tiffany Yep, we were presented a new idea yesterday! :D
23:05
Seems like a call for struct?
@Crell ...ya broke it
I guess technically r11 broke it
Seriously what the <censored>...
23:21
What the fork
And I'm not even touching pcntl!
Ugh. I think I got it now, but it took 2 pushes which means it's going to build twice. Because FML.
Nah, should cancel the first build
Yeah it did @Crell
Oh, pushes cancel an in-progress build? Nice.
For Travis and Azure yeah, not Appveyor
But there is a bit of a backlog currently so your first one didn't start :p
Yay! Or something.
23:27
Yesterday was a good day for me to debug SNMP via CI as no one was using it (well I was also doing that at 2 to 3 AM CEST)
@Girgias turns out cancelling stuff is one of those things that seems like it should be simple until you try to do it :-P
@DaveRandom And how do I cancel you then? :P
like deleting things
@Girgias like I said, sounds simple but probably not worth the effort
@DaveRandom I do have better things to do then trying to cancel someone, so I'll take your word on it
you could create 40 sock puppet accounts and try flagging everything I post but honestly I suspect you have better stuff to do with your life
as briefly amusing as that would admittedly be

« first day (3620 days earlier)      last day (1553 days later) »