« first day (4017 days earlier)      last day (914 days later) » 

1:04 AM
I have a real-world usage for enums... sigh... using a class with a bunch of static methods instead.
database values contain single characters or numbers that I'm mapping to strings
 
 
11 hours later…
12:29 PM
So @Trowski how much did you pay Bruce to throw a wobbly the day before Revolt was launched? /s
 
hah
 
o/
 
\o
 
12:45 PM
@JoeWatkins "the fundamental changes it makes to core PHP features" - I think that might be at the core of the drama we're seeing now. The swoole guys have been working really hard for years, and made something more than reasonably decent, and they've been dreaming of finally getting the riches and recognition they deserve for all their hard work.
They've been hearing from their users, that they need better monitoring tool, but because Swoole does funky stuff at it's core, it makes it pretty impossible to use with other extensions stuff that is designed to work with core PHP. So they're now in a position where they need to choose between:
i) Taking on a huge amount of work, to implement their own performance monitoring, which is not a great choice as that would need supporting forever.

ii) Throwing away a huge amount of work, to make swoole work with standard PHP.

Both of those choices really get in the way of them reaping the rewards for all the work they've done so far.....hence toys being chucked from prams.
 
Long term it'll end up being a complete fork of PHP similar to Hack I would imagine. They'd need to support it themselves in that eventuality
 
The current behaviour is pretty similar to their behaviour around the Fibre vote, as having Fibres in core is the start of their dreams being dashed.
 
They even forked Xdebug.... which of course is not needed for using fibres/core PHP.
 
It's a shame for them that their project team potentially self destructed over the lack of one line of code
 
@MarkR Effectively it's fork already.....but I think Bruce may have realised that long term that isn't sustainable for "amount of work reasons" but also the "people probably aren't going to trust us with data" reasons.
@MarkR which line?
And no....I think this is probably about re-integrating with core PHP, vs keeping going their own path.
 
12:49 PM
@Danack Hashing the downloaded file (allowing it to be bypassed via an env) would have been all it took.
 
I can't tell what they're thinking or why
 
Any idea?
 
Don't post homework questions maybe?
 
^
 
It's not homework .. It's a question from an interview that I don't know the answer ..
that's why I'm trying to find the answer ..
Is that "Factory"?
 
12:53 PM
Is there a static method?
 
marketing department: our customers want to integrate with external monitoring tools but can't.
Lead programmer: They want monitoring tools? I'll build them a monitoring tool, how hard can it be?
 
@Shafizadeh no
 
@Shafizadeh in this situation, homework and interview may as well be the same. Try to give a good faith answer yourself. Try to figure it out yourself. Ask specific questions.
An interview is an assessment of your skills
 
I see what you're saying .. But, I don't want to used the gotten asnwer from you in the interview .. since the interview is finished .. I'm just trying to learn it
 
12:56 PM
If you don't know the answer, then you don't know the answer, and it gives you an opportunity to improve
Ahhh
I suspect it's a stack pattern, but I'm not 100%
 
ah ok .. thanks .. I will read about it
 
Though it doesn't have a way to add items to the stack so that's probably a no
 
iterator =)
 
FWIW, I've no idea what to name it either. If I'd to guess, maybe Iterator?
 
But there's no rewind
 
12:58 PM
a stack is a structure not a pattern
 
Iterator was my first thought but it's lacking
 
rewind isn't strictly needed for an iterator though
 
No rewind, no valid, no current... :sweat_drops:
 
Also, what's the meaning of a sentence like this:
> How do you profile your PHP? (name of tool)
 
There are several options there. You can use Xdebug to profile PHP code, or "valgrind/cachegrind" to profile PHP itself.
There are also hosted solutions such as blackfire, tideways, etc...
 
1:02 PM
ah ok
 
"profile" is the word here to mean "analyse the performance of your script/application"
 
yes I got it now
I got a really bad rank :-(
I thought I would be better ..! Also, part of my bad rank is because of my poor English
 
Both you can work on by doing it more often.
 
true
 
cmb
1:20 PM
@Shafizadeh over-engineering ;)
 
Java programmer forced to write PHP.
 
@NikiC thanks
 
1:43 PM
@cmb Just released Xdebug 3.1.1 with that crash fix on ZTS. Thanks a lot for helping out with that/fixing it.
 
cmb
@Derick thank you for Xdebug! :)
 
2:27 PM
@SaifEddinGmati I'm guessing you saw Revolt is finally public again.
 
Yep :D
congratulations
 
Hopefully then you can start preparing PSL to use it.
 
hopefully next week 🤞
 
... so I listened to (parts of) the audio of the verizon call linked here like yesterday and gods. the human talking with the customer service folks is an angel of patience and comprehension.
 
2:43 PM
Off-topic: One of my favorite bands will be releasing another album soon. Starset: Earthrise
 
I like discovering new bands, thanks for the share
 
I'm not sure if they've made a bad song. :)
 
@Shafizadeh How can I take this quiz also?
 
Dharman hard at work winning the PHPVotes :P
 
3:03 PM
I'd be disappointed if he weren't in here shaking hands and handing out rainbow-checkerboard elephpants to all the voters
 
🤝🐘
 
My wife calls my rainbow colored elephant "colorphant" :)
 
3:27 PM
@Dharman You have to apply for the job I applied .. if they accepted your resume, will send you that test
 
4:18 PM
@Trowski oh wow so I started listening to the album Vessels, and I definitely did not expect the switch to scream metal. nice
 
week-end!
 
4:32 PM
@FélixAdriyelGagnon-Grenier They combine a lot of my favorite musical elements into one band. Symphony + metal = awesomeness. youtube.com/watch?v=143gJ1ojeJM
 
 
1 hour later…
5:50 PM
Hey folks
How is it hanging
 
my body hurts because I played multiple hockey games yesterday
 
6:09 PM
If it hurts it was worth it :P
 
 
5 hours later…
11:06 PM
I'm fo ffing sneezing.
 
11:55 PM
@Derick gesundheit
 

« first day (4017 days earlier)      last day (914 days later) »