« first day (3582 days earlier)      last day (1359 days later) » 
00:00 - 16:0016:00 - 00:00

4:05 PM
Naming things: My user table has a datetime field for when the user accepted our terms and conditions. Would you all prefer User::setAgreementAcceptedAt() or User::markAgreementAsAccepted() or something else entirely?
 
@MarkR you are putting the cart before the horse. In the emails I sent you, is the correct police department to contact. And getting in touch with them, and then providing the info they need is the way to go.
@cmb pretty sure sole developer also. Which means the company probably couldn't do anything about him anyway, as it would put them out of business if they tried to.
 
@Danack Nah, in my admittedly limited experience, escalating to criminal investigation is a tough hurdle to cross with a high burden of proof especially when no direct damages are immediately visible. Contacting the ISP directly and providing them with evidence that their subscriber is violating their terms of use is the path of least resistance as they have the contractual right to pull the plug for abuse without the need to go to involve any of the wider legal apparatus.
For t-mobile's T&C (t-mobile.com/responsibility/legal/terms-and-conditions) for example explicitly prohibits both general abuse, and anything which "Causes harm or adversely affects us, the network, our customers, employees, business, or any other person;"
 
@MarkR have you read the emails I sent you?
whatever. let us know how it goes with the isp.
 
I saw a bunch of emails regarding the police, nothing about contacting the network.
Did I miss part of it?
 
4:29 PM
Ugh. Everything about stream persistence.
 
@NikiC wish I could give you an answer, licensing is a big blank for me to be fair. Hopefully remi can give some better insight to this political system. I am just curious on how we should do it if we do end up switching the library, because it will for sure have BC complications and potentially in a larger degree but its also a opportunity to make the userland API nicer
 
Hey guys! I'm trying to find out is there is a way to format date with Z (Zulu) instead of +00:00 in DateTimeInterface::RFC3339_EXTENDED, but use time offset if time is not UTC+0?
I even tried to set Z DateTime, but no luck.
(new DateTimeImmutable())
->setTimeZone(new DateTimeZone('Z'))
->format(DateTimeImmutable::RFC3339_EXTENDED);
 
That was added for PHP 8, with a different format specifier ('p', if I remember), but it won't be part of the RFC3339_EXTENDED constant
But, "Z" really means "UTC-0", so you can't do that for another timezone
 
Yeah, I just tried to cheat somehow without creating some helper methods to str_replace +00:00 with Z
 
Does php-src not use Azure Pipelines for pull requests?
 
4:47 PM
@Derick you were right!
https://github.com/php/php-src/commit/a6e3ce4fd656132e5482e2bc7fc0f7cdf4633077
 
@MarkR well the threat of physical violence that makes it a criminal offence regardless of his other behaviour. Or the fact that Austria has a digital police who investigate this type of shit, and a law that makes his continual harrassment be a crime.
but sure, just fucking skim read emails why not.
btw, he has enough technical skills and resources to obscure which internet connection he is using. This isn't some kid operating from his parents house.
 
Yet he's apparently oblivious enough to keep using obviously connected email accounts
 
He thinks he's helping. He wants people to be able to see how "helpful" he is being.
 
What would be an "easy" way to extract the list of all PHP builtin functions that have a callback parameter?
Is there such a list somewhere?
Do you think scanning the source code for a keyword would be helpful?
 
I assume heap.space would be useful fo dat?
Depending on what you want to do with it
 
4:58 PM
I just want a list of function names like call_user_func register_shutdown_function array_map etc
 
@Silverfox I think looking for where callbacks are used it more likely to get you the info you want than the taking callback parameter.
 
Wouldn't it yield the same list of functions? Are you suggesting that sometimes we dont explicitly have callback as parameter type?
 
cmb
@Derick only for PHP-7.4 and master
 
@Silverfox that's precisely it. Something could store a parameter somewhere, but not parse it as a callable because that whole bit of the code base is a shitshow. I think zend_call_function is the thing to look for.
and there isn't a callable (or colour-ball) type: php.net/manual/en/internals2.funcs.php
s/type/macro thingy that parses a param properly/
 
5:17 PM
@Danack lol
 
@Danack :D
I clearly pronounced it color-ball, not colour-ball
 
5:41 PM
@cmb I see trigger:
batch: true
branches:
include:
- PHP-7.4
- master
But that doesn't have the "pr:" keyword that the docs refer to?
 
cmb
5:56 PM
@Derick IDK, but it works here: github.com/php/php-src/pull/5949
 
6:11 PM
@Silverfox Use Reflection on PHP 8 and loop through all the functions to check for a callable argument type, that should give you the best info.
 
 
1 hour later…
7:26 PM
@cmb I'll give it a go tomorrow
 
Received an email screen for a job at a place I really want to work at earlier this week, sent the responses today... they're reviewing them over the next week and will follow-up with an interview. Fingers crossed.
 
@Tiffany what is the job?
 
7:41 PM
@mega6382 customer support
 
will it have any technical aspects? or mostly just communications?
 
It's support for WordPress/woocommerce plugins, but the company is pretty awesome.
 
great, best of luck.
 
https://github.com/php/php-src/blob/master/ext/standard/file.c#L115-L117

PHP_STREAM_TO_ZVAL is a macro which wraps..... php_stream_from_zval

Yep. Checks out.
 
7:59 PM
#JustPHPThings
 
I can't tell you how much I want to set fire to streams and start over from scratch,.
 
@Sara do it :-D
 
yeah, seriously
 
@Kalle Yeah, I'm not sure about that either. Maybe your approach of adding a new extension with a new API would be better than trying (and failing) to make it a drop in replacement
 
8:14 PM
It's been something I've been dreaming about since a brainstorm with auroraeosrose at ZendCon.... 2016 I think?
Trouble is things have to live together, and TWO implementations of I/O is like... the worst of all outcomes.
Meanwhile.... God help me. I think this conversion of streams might almost run. o,o
hahahah "Fatal error: Uncaught TypeError: fprintf(): Argument #1 ($handle) must be of type resource, FileStream given " <--- while running make and building phar. That's actually a fairly good sign tbqh.
Woah. Modulo some leaks, this seems to "just work"*.
* Also modulo the fact I have persistence swept neatly under the carpet for the time being.
```
$ sapi/cli/php -r '$fp = fopen("/tmp/file", "w"); var_dump($fp); fwrite($fp, "Hello World\n"); fclose($fp); readfile("/tmp/file");'
object(FileStream)#4 (0) {
}
Hello World
```
Way less violence than I thought would be required, tbqh
15 files changed, 196 insertions(+), 204 deletions(-) Minimum Viable Conversion.
 
8:54 PM
@Sara Awesome!
 
9:50 PM
Okay, so the leak issue is STDIN/STDOUT/STDERR which don't have implicit cleanup/unset.
I could just make that an explicit sapi_deactivate in cli and phpdbg
 
> Imagine organising recycling for 38 million people
^ thought for the day
 
@DaveRandom wat
 
yeh but srsly, imagine
 
Cannot re-fetch rows in PDO ・ PDO MySQL ・ #79940
 
Imagine alll the peopleee... throwing out their cans, whowa, whowa wow, put them in recycling dum dum dum you know you just can. dum dum dum make the whole world a bit greener... you all can lend a ha-ha-hand
 
10:07 PM
Does anyone have any experience with Drupal? I am potentially going to get a job offer tomorrow with Drupal, but great benefits. I'm wondering if it's worth it
The person warned me that a lot of time is spent debugging because Drupal is very hard to work with
 
as long as I know it's used for dynamic websites, it's an open source cms
however, I've never used it so I wouldn't be able to answer your question
 
@Alesana crell knows quite a bit....but might not want to talk about it. And yes, it's very powerful thing that can be quite hard to understand what it's doing.
 
Have to edit the company website that is developed on WordPress nooooo lol
 
@Danack Hmm, so do you think that it's more of a learning curve thing rather than just it being difficult to use?
 
So....one way of looking at the value of a job offer is considering how much value the stuff you learn on the job will be. So a job where you might be learning how to use interesting things like elasticsearch or maybe machine learning are not just fun for that job, but then can lead onto other interesting jobs. For something like Drupal....it won't give you much knowledge other than how to debug Drupal.
 
10:15 PM
I would not do Drupal.
 
It's a complexity thing. Because all the hooks and plugins are stored in the DB, it can be really hard to understand what is happening.
 
Stun your growth.
 
Right, that's my main reason for taking a hard consideration. It will pay more and offer much better benefits than my other options
But, the only reason I have many options right now is because of what I've been doing for the past year and a half
So I don't want to ruin that
 
@MarkR "just can" is lovely in the context of recycling
@Alesana very version-dependent statement. I don't know much myself, I know @Crell has a lot of experience but I think more in PM roles than ubertechie, I also know a few people who I can't really contact before tomorrow but if you still have a problem at ~2pm BST tomorrow then hit me up
 
10:41 PM
@DaveRandom for context, the people being dumb (imosho) about technical debt were here - en.reddit.com/r/PHP/comments/i2rar8/…
 
I'm trying to sleep, stop pointing out people being *wrong* on the internet
 
@DaveRandom Awesome thanks
I'm thinking back on the comment Danack made and I think that his point kind of makes it a bit clearer
Now I'm wondering if anyone has any comment on how much the name of a company helps on a resume vs the technologies used. For example, a startup using all the latest technologies vs one of the largest international entertainment companies using alright technologies
 
The name helps.
 
I'm thinking I'll go with them. I also just heard from a dental artificial intelligence company though I talk to them tomorrow. I don't know what the repercussions of accepting a job offer and then backing out are. Working for the dental company would be a clear winner if the interviews get to that point
 
Oh great. Just what we want. Teeth with artificial intelligence. There's no way that could backfire.
 
10:53 PM
@Alesana do you really need to accept it while still in the process with the other company?
probably more to do with optimised chewing.
 
@Danack I haven't even talked to the other company other than via email and it took them a couple weeks to get back to me. I imagine that it wouldn't be quick to get a job offer from them
I already asked one company to give me a week and 3 days later they rescinded their offer
Probably dodged a bullet there anyways though
 
@Alesana yeah....
 
@MarkR Surely if they're intelligent they would know not to bite the hand that feeds them
 
skynet
 
lol Mark
 
10:57 PM
I cannot separate the name "Mark" from The Room
o hi Mark
 
O hai Tiffany
whats The Room... o_O ... oh, I google'd it
 
the best worst movie
this has more of a variety of it's... greatness... youtube.com/watch?v=pKAwXLVxuZQ
 
11:17 PM
There. Leaks sorted in a not entirely horrendous way.
 
Well that was weird. I was just interviewed on zoom by 3 people and I was the only one to have my camera on
 
lol
 
The other 3 probably weren't wearing any clothes
 
hahaha
 
Haha near the end one person turned their camera on to show they had short hair and then turned it back off
 
11:26 PM
In the morning videos call's I also do not turn on my video.
 
That's a bad look for an interview.
 
See that's different than an interview
 
Nothing like just getting out of bed and not worrying about looking good.
 
Turn that company down
 
@Sara For sure
Although I did have an interview with one of them previously and they had the video on
It's a university with good benefits but they use Drupal so I don't think I'd want to work there anyways
 
11:49 PM
When I do amateur radio exams, we all have our cameras on initially and introduce ourselves, but we do turn them off during the actual test (honestly, I can't resist nodding and shaking my head as they attempt to answer).
 
nods and shakes head
 
I need to find an animated avatar program for the next r11 stream
 
Or you could just like... be yourself :OP
Although if you want to stay off camera I get that
 
Both that and I think it would be fun
 
00:00 - 16:0016:00 - 00:00

« first day (3582 days earlier)      last day (1359 days later) »