« first day (3657 days earlier)      last day (1274 days later) » 

12:07 AM
\o/
 
Meanwhile I'm just implementing an explicit octal notation :|
 
12:36 AM
Hello everybody. Nice to meet you here. I'm a junior developer and have some knowledge on php, javascript, html and css. I'm a self employee and want to find a job as a trainee. Please let me know if you are interested in that. Thanks for your consideration.
 
12:50 AM
@Trowski That is the first I have learned that lldb is a thing.
@camper Some advice. You should also make a site and host it on pages.github.com that contains some contact details, some details of which country you are in, and maybe some info on what you have done. Make it easy for people to see that rather than it being effort.
 
@Danack Thanks for your advice
@Danack really thanks
 
@RemiCollet you have any heads up on this? twitter.com/dotMudge/status/1318350683830091778 Also, maybe stock up on some redbulls for tomorrow....
 
 
1 hour later…
1:56 AM
That sounds... brutal
 
 
2 hours later…
3:37 AM
PDO::inTransaction() returns false when inside transaction ・ PDO MySQL ・ #80260
 
4:05 AM
hi team, Good day, Have a nice day
 
4:16 AM
@JoeWatkins What do ZTS builds provide aside from thread-local globals? Is this the only reason pthreads and parallel require it?
 
5:01 AM
Files over MAX_PATH are accepted but lead to an Error on close() ・ Zip Related ・ #80261
 
@LeviMorrison yes, but the word "only" doesn't belong in that sentence, it completely changes the process model of every module [almost] transparently ... without it, you have no hope of using php in more than one thread, it will break almost immediately and there is no coding your way around it ...
 
In my case I don't really need to "use" PHP so much as read structures.
 
what do you mean ?
 
I'm trying to do asynchronous call stack sampling from another thread.
 
see krakjoe/stat
 
5:13 AM
Honestly it's working pretty well, but I am certain a sigsegv can happen eventually.
 
it definitely will, but there's a proper way to do it ^^
 
@JoeWatkins \o/ I'm using this UIO already.
I didn't realize all of the guarantees it makes, though.
 
all good then
 
Sometimes it can be hard to grasp all of the implications you read docs on something for the first time.
I was expecting the "partial writes" bits to apply only to longer things like arbitrary strings; no reason it shouldn't apply to other things as well.
Excellent, this is two breakthroughs within an hour.
 
I was expecting stat to make more of a splash than it did ... it's probably the best way of sampling ... not much interest in it at all ...
 
5:35 AM
@JoeWatkins Sometimes the engineering isn't what makes something successful.
I haven't looked at it too much because I'm working on the other breakthrough atm, but I'm sure krakjoe/stat is great.
 
6:04 AM
@JoeWatkins Another obscure question: can an extension know which SAPI it's running under? I looked in SAPI stuff for a while today but I didn't find anything (but I was pretty lost). Basically I'm trying to know what SAPI so I can know min/max number of worker processes and such for knowing how many processes should sample for statistical distribution type reasons.
Even if this only applies to certain SAPIs like PHP-FPM that would be big win for me.
 
@JoeWatkins Did you write words about it?
 
6:19 AM
hello everyone,
How to make a voice call using laravel API
 
@JoeWatkins By the way, if you are interested in a new job I am quite sure Datadog would be interested. I know they'd love to hire someone to do PHP profiling (I'm working on it but it takes me away from the main PHP APM product).
 
@JoeWatkins Of course, you did. I even remember reading that back then. Sorry about the lack of splash :-/
 
> if anyone wants to get started on working on any user interfaces (which I will not be writing), I'd be happy to start collaborating on that immediately.
I think this is one of these things:
51 mins ago, by Levi Morrison
@JoeWatkins Sometimes the engineering isn't what makes something successful.
I hate UIs myself, so I'm sympathetic.
 
6:55 AM
o/
 
7:52 AM
@Danack appreciated. I'll see what I can do.
 
8:13 AM
Vinnyfoowl ・ *General Issues ・ #80262
 
8:45 AM
@JoeWatkins Too much competitors in this chat :D
 
9:40 AM
Morning o/
 
10:11 AM
Morning
 
hi hi
got your pizza? :-)
 
Yes, I did
I ate the whole thing :)
 
cmb
10:28 AM
@Derick, apparently that yitam PECL password reset didn't work out. Did you check that the temporary password worked?
 
yes, it worked
And it still works
 
cmb
could that be a case-sensitivity issue (like Greg had)?
 
in the password? no
 
cmb
no, with the username
 
No, works with both yitam and Yitam
 
cmb
10:36 AM
indeed
 
the password that I emailed her on Fri Oct 2nd works
 
cmb
no longer; I've changed it (and sent her a mail), because it is contained in one of the mailing list messages (what is bad)
 
11:03 AM
ugh, who did that?
 
IMO, she should no longer have an account then. Sharing passwords on a public mailinglist?!
 
cmb
That was certainly an accident; a bad one, but still ...
 
I have very little patience for people that forget passwords anyhow. Use a sodding tool for that.
 
Heh
Even using a sodding tool, I never seem to remember my Microsoft account password
 
11:20 AM
I have to reset my password frequently for Starbucks app because it frequently says it's invalid even though I just reset it and used a newly-generated password from my password manager -_-
 
anyone expert in suitecrm please
 
@NikiC Why wouldn't your password manager remember it?
 
cmb
@Derick well, there really should be an option to reset the password; it's not only about forgetting your password, but also about potentially compromised passwords
 
Yes, and I don't understand why that was never copied over from pearweb into peclweb.
 
i want to join favorites table with cases depends on the flag. I am successfully able to create a query at SugarBean::create_new_list_query() but there is global variable $this->field_defs that do not contains newly selected field in the select statement
 
11:25 AM
@Derick Might be related to the dozen or so redirects that happen when you try to sign in somewhere
 
Sure, there is a lot of crappy workflows, but that doesn't stop you from just copying and pasting it in at the right moment
 
cmb
Maybe there are issue due to non ASCII characters?
 
11:51 AM
@NikiC I use KeePass and just keep the portable version of the app on a flash drive with me. I have long passwords.
 
12:33 PM
morns
 
12:50 PM
yawns.
 
(random thought of the day) Imagine if all of the people jumping to help with the PHP 8 Marketing Page Of Awesomeness™ instead offered to write one paragraph in the migration guide…
 
But that wouldn't solve all the problems PHP currently has
The buzzword marketing page clearly does
 
This message was brought to you by JetBrains: Developer Tools for Professionals and Teams
 
Thank you JetBrains <3
 
@salathe but you cant control how people want or can contribute otherwise open source could solve so many problems ;)
 
1:02 PM
@StatikStasis Tbh Lastpass sometimes gets confused too with the bajillion MS redirects
Especially if you use Firefox containers which can sometimes reck an authentication token
 
Why do people put username and passwords on two separate pages?
 
@Girgias Redirects? Oh! I don't use a Cloud-based solution. I use KeePass: keepass.info It just lives on a hard drive/ flash drive. It works really well. I'm paranoid about a cloud-based solution... maybe I have no reason to be anymore but I am.
 
@StatikStasis Microsoft websites will redirect just for you to login
 
@StatikStasis I am all the same
 
@PeeHaa You use KeePass and you are paranoid?
 
1:07 PM
Aye
 
Want to log in to Outlook, get redirected to Office365, then to auth, then back to Outlook when you go past login in
 
@PeeHaa I knew I liked you for some reason.
 
:P
 
@Girgias Yeah- those are aggravating.
The One login pass thingy is too @Girgias
 
1:09 PM
Other than that LastPass works just fine
And tbf it's not even a LastPass issue
 
I have a serious question. This is something that would be much more useful than short functions. Is there any chance to implement native support for webauthn in PHP? Maybe as an extension?
 
Why can that not be done in userland?
Is it hardware support?
 
It uses some kind of cipher I believe. I am not too familiar with it.
 
"some kind of cipher" :)
 
I could only find some libraries on GitHub that were generating the challenge in a manual way using custom math classes
 
1:22 PM
@Girgias Khmm :P Yes, I also had problems with this in the past, but it's suggesting to save the site before you send the form, since a few months
 
@MateKocsis Huh, might need to look into that, but I also need to have access to 2 different outlook accounts at the same time
Which requires 2 tabs
Because MS can't code decent software
same shit with MS Teams
 
cmb
@salathe I'm still waiting for the RMs writing to doc ML requesting to write the migration guide. ;)
 
@Girgias yeah, I can image. Fortunately, the multi-account support from google works really well for me.
 
@MateKocsis It's not like I chose Outlook or MS Teams lol
 
cmb
Any ideas on the meaning of php.net/manual/en/function.include.php#example-126? I mean the first "works", and the variable assignments afterwards.
 
1:28 PM
@Girgias :) I would have been surprised if you did :D Btw, we also use Outlook at work (its the desktop client).
 
@cmb the context for "works" is the paragraph above
 
cmb
@salathe yes, include 'http://www.example.com/file.php?foo=1&bar=2'; works, but how is that related to the following var assignments? These look like they'd be related to the include.
Is it about register_globals?
 
@cmb I'm assuming that the last 4 lines were added at some later time (or some code got deleted).
 
cmb
seems the history is lost (cvs.php.net); I shall remove those 4 lines
 
2:13 PM
@cmb The imap change broke the build on azure
Due to an odd warning
/home/vsts/work/1/s/ext/imap/php_imap.c:3498:98: error: pointer type mismatch in conditional expression [-Werror]
 3498 |   spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? bod->contents.text.data : "", CRLF);
 
cmb
@NikiC unsigned char *data;; I shall add (char*) casts
 
3:06 PM
@LeviMorrison Any word on the issue I mentioned about fatal errors and observers?
 
@Trowski I know that @SammyK has been looking into this space in general, but not sure about your specific issue.
 
@LeviMorrison Did you want to look into it, or should I poke @SammyK?
 
If you can repost/link to the details I'll make sure he sees it.
 
@LeviMorrison @SammyK I'm registering an observer that triggers at script end and an error observer that sets a global if a fatal error occurs. If trigger_error is called, the end-of-script observer appears to be executed before the error observer.
I'm surprised this happens, since the error observer appears to be called in zend_error here.
 
PHP 7.2.27's SoapClient seems to be dropping returned elements with numerals ・ SOAP related ・ #80263
 
3:46 PM
Hrm, so many JIT bugs in the "works for me" category...
 
current_execute_data is NULL in zend_error_cb ・ *General Issues ・ #80264
 
@NikiC That's not a good situation then.
 
mild_shock.gif
 
4:21 PM
@Trowski At the moment the end handlers shouldn't be firing after a fatal error. We started adding fatal error support with this PR: github.com/php/php-src/pull/6114 but we're working on a different approach that should handle all zend_bailouts (PR to come). In your case, could it be that the error callback gets called and then zend_fiber_cleanup is called? It looks similar to zend_fiber_observer_end so I'm wondering if that's what happening in this case.
 
4:39 PM
@SammyK So it turns out my test was borked and was executing a timer before the fatal error was triggered when I thought it would be after. zend_fiber_cleanup destroys any unfinished fibers with an uncatchable exception.
So it seems I should keep the error observer as it would be necessary if that PR is merged.
 
4:49 PM
Sounds good! I'll give you a ping when the PR to handle zend_bailouts is ready. It would be good to vet it on your implementation. :)
 
@SammyK Ok. Looks like I need to handle cleanup a bit differently if there's a bailout, since I don't need to clean up the unfinished fibers.
An uncaught exception is not considered a bailout, correct?
 
An uncaught exception will cause a fatal error which will cause a bailout, but in this case, the end handlers are fired from ZEND_HANDLE_EXCEPTION so those cases should be handled properly.
 
@SammyK Does then my error observer being FIBER_G(fatal_error) = type & E_FATAL_ERRORS && !(type & E_DONT_BAIL); look correct, as it seems uncaught exceptions have E_DONT_BAIL set.
 
@Sara You're still at MongoDB, right?
 
5:05 PM
@Trowski Ah yes, I forgot that Niki fixed bailouts from uncaught exceptions: github.com/php/php-src/commit/…
 
That's great, btw. Thanks again, @NikiC!
 
@SammyK Ok, that makes sense then why I have to handle an uncaught exception like a regular shutdown.
@LeviMorrison @SammyK github.com/amphp/ext-fiber/commit/… Works perfectly now, thank you!
 
@Trowski \o/
 
5:58 PM
hey, this is a new feature huh? interesting stuff!
but I think the design could be better
 
6:12 PM
Took pre-workout drink. Got hungry on way to gym. Stopped and ate Enchiladas... I made a ghastly, ghastly mistake...
 
Pre-workout? Gym? O_o
 
Yes... i/o problem.
 
Buffer overflow?
 
lol
Sounds about right.
 
Your digestive system should be a queue, not a stack.
 
6:19 PM
Folks living in Germany, do you know what and how much is tax returnable regarding home office equipment?
I would ping @Ocramius but he doesn't pay taxes fo sho.
 
Whelp, RFC posted. Let's see if I can get one through, finally... :-)
 
@Crell Pretty sure already told you but I like it :)
 
\o/
 
@DejanMarjanović I pay a shitload of taxes
I pay around 100 trumps in taxes
 
Thank you for supporting poor people like me.
 
6:25 PM
@Crell Yep.
 
@DejanMarjanović I generally mark EVERYTHING that is excusable as "needed for office and R&D" as expenses - I pay enough already
 
@Sara Interested in being on another episode to talk Mongo? :-)
 
from a company perspective, it literally substracts from my net income :shrug:

Don't know how it works for individuals, sorry
 
Thanks @Ocramius, I will just declare and maybe they don't care and give something back.
 
@Crell In theory. How deep a conversation? Specific sub-topics? I'll prolly want to ask my boss for permission on that one (cause reasons). Would you want him along maybe? He'd probably have fun.
 
6:38 PM
I think we have a second guest already. (One of my colleagues is taking point on this one.) Probably not more deep than we went on PHP. We've covered a few other tools like Kafka and Meilesearch in the past if you want to check the archive.
Same kind of "what is it, what's it good for, when would I use it, when would I not use it" type of thing.
 
btw, I feel like you missed an opportunity to use: function str_contains(string $haystack, string $needle): bool => strpos($haystack, $needle) !== false;
As an example in your RFC, I mean.
 
LOL. Welll, we have a str_contains in stdlib now...
But I suppose I could add it as an example of the type of thing that could be done. :-P
 
Right, but I just have this deep seated need to troll the shit out of these piddly utility functions
If nothing else, it's more concrete an example than add
 
str_contains() is 10x more useful than half the string functions we have now.
 
But yes. In principle that podcast sounds like fun. Just wanna get a thumbs up from the powers that be.
 
6:42 PM
Cool cool. Let me know what they say.
 
cough strpbrk() cough
 
Well, added that example for you. Just because I like you.
 
<3
 
@Crell nice. I just don't like accessors example, that should really be <<Getter>> :P
 
@DejanMarjanović Well that doesn't exist yet, so... :-) (And I'd like to see property accessors myself, for many reasons. And just basic asymmetric visibility.)
 
6:48 PM
@DejanMarjanović are you self employed or employed?
 
@beberlei Arbeitnehmer but 6 months out of office (not allowed to go back) :)
@brzuchal github.com/plumbok/plumbok can't this be now (re)written with attributes not comments?
 
Incident on 2020-10-20 18:54 UTC ・ GitHub Pages has Partial Outage
 
7:29 PM
What was the final resolution on attributes on promoted constructor params? Applies to both (and ignore the checks) or error?
 
7:59 PM
does anyone feel like you want to code, but you are too tired to start your IDE?
 
@DejanMarjanović then it depends if your employee paid for the stuff you cant aöso put it on tax
 
@Crell I wonder if using fn for functions too wouldn't be more consistent.
Arguably the only benefit of => for functions over just braces and return is that it's shorter and more readable, so I think the same logic applies for using fn instead of function as in arrow functions.
 
As a product manager, based on which parameters do you announce a delivery-date to the customer? For example:
1. team seniority
2. the number of resources (team members)
3. having a similar-project-experience with the same team

any other option you can add to the list above?
 
@samayo Totally. I've been feeling quite drained lately (probably Winter blues) so I've had 0 energy to code after work.
I probably live in the wrong country. I feel like I'm depressed 6 months out of the year just because the weather is shitty.
 
8:18 PM
@IluTov I don't know which country doesn't have a terrible winter
 
For me the weather is ok, but I work in another field. Almost daily, I want to write some codes after work but I get tired just opening the IDE and starting the server lol
@Shafizadeh yo, what's up bro, how are you?
 
thanks buddy .. all is fine .. what about you?! is everything ok?
 
@Girgias Hawaii would do :P
 
@IluTov Right... but do they really have Winter?
 
@Shafizadeh don't announce a delivery date
 
8:21 PM
Actually Japan wasn't that bad when I was there from Jan to April
 
@Shafizadeh ok with me, say hi to teresko for me bro
 
But then it has a bloody humid summer
 
I wanna join, but I keep forgetting
 
@Girgias Sure, they have Winter, it's just not that much cooler.
 
well, I have to @FlorianMargaine
sure :-) @samayo
 
8:22 PM
@IluTov Well you could also go to North Australia in that case :p
 
no, you don't
 
Winter 20-25°C
Just the summer is 35°C up to 45°C when there is a heatwave
 
8:38 PM
@Shafizadeh There's only 2 ways to agree to a due date with a customer.

1) "We'll be done on X date, because that's when you said to be done, but we won't guarantee how much will be done by then."
2) "We'll do the work you asked for, all if it, and it will be done when it's done and not a minute before."

Anything else is setting your team up for failure.
@IluTov I am impartial on function vs fn. fn proved harder to do given the way methods are defined in the lexer. If someone can help me refactor that without breaking everything, I'm fine with fn instead.
 
thanks @Crell
 
(Context: I worked at an agency for 10 years. We tried all sorts of things.)
 
@Crell Instead of function try T_FN { $$ = CG(zend_lineno); }. I think that should work.
 
I could do it for function easily.
 
Actually, try just fn
 
8:43 PM
Methods are defined in a totally different way so it's not obvious how to define it, since the keyword and body are in two different definitions.
 
You would just have to do the same in attributed_class_statement I suppose.
It seems the current implementation doesn't handle methods at all. I don't understand how this even works.
Oh I see, the arrows are part of method_body.
I think you shouldn't modify method_body but create method_body_arrow or whatever and use that nonterminal instead (or just inline it since there's only one case) for both methods and functions.
 
8:59 PM
@beberlei No, for example, I bought/will buy a 600 euro monitor, I put it as a need for work (which is true during work hours) and I get something back? :)
Spring boot is great, my entire application is just config file.
 
9:18 PM
@IluTov I have no strong attachment to the approach, so whatever the consensus is I can roll with.
 
9:53 PM
Is this equivalent to non-existing multiline arrow function in php?
 
10:17 PM
I... don't think so, from that incomplete snippet.
 
10:32 PM
 
@Crell Any idea what I can add to wiki.php.net/rfc/explicit_octal_notation ?
Cause I'm ain't having them
 
Will read as soon as I finish this article on named arguments for the blog series. Nearly done... :-)
 
I promise it's an extremely short read
 
Hm, so it is. :)
I think some discussion of the string implications would be in order.
Eg, does this mean that '0o45' == 045?
 
10:36 PM
o.O45
 
@Crell No because PHP strings don't support Hexadecimal numeric strings since PHP 7.0 so I didn't add support for that
 
That should be noted then.
 
Right, more decent into madness into explaining numeric strings :(
 
That's what you get for touching the black magic.
 
10:55 PM
@Crell Added a small section but I don't see what I can add more even about that
 
11:11 PM
All issues have been resolved!
 
@Crell When would work? The 26th, say 14:00 GMT?
(note, DST changes happen that weekend)
 
@Girgias How about filter_var('0oF', FILTER_VALIDATE_INT, FILTER_FLAG_ALLOW_OCTAL), will that work?
 
I didn't even knew that existed
So let me add that to a TODO list
 
@Derick I think that's 9 am my time. As long as we're sure it will be less than an hour I should be able to do. (I have a company meeting at 10 am my time.)
@Girgias May I edit to tweak wording?
You seem to flip between referring to hex and octal in a way that feels confusing.
 
11:24 PM
I don't think ti's 9am your time that week
or, maybe
you're in America/Chicago?
 
Yes.
 
@Crell Go for it, it's midnight here too so lol
 
And if we go over an hour, I'd fuck myself.
 
And I have no desire for you to become the next Jeffrey Toobin, so let's keep it short. :-)
 
OK. I'll scoot you email then about it. Need to read the forking RFC first.
 
11:27 PM
:-)
 
@Girgias I guess it's same stuff for *dec etc. 3v4l.org/8YeSF
 
Right, does a probably some that I need to add support too
 
Or potentially break the internet, one of those :P
 
Welll, can't be that bad
 
11:47 PM
@Girgias OK, check now and make sure I didn't change anything on you without intending to. :-)
 
@Girgias You're right, nobody uses octal and php :D
 
@Crell Looks and reads good to me :D
@DejanMarjanović well maybe unexpectedly :D
 
thumbsup.gif
 

« first day (3657 days earlier)      last day (1274 days later) »