« first day (3421 days earlier)      last day (1751 days later) » 
01:00 - 17:0017:00 - 00:00

01:12
@NikiC how hard and how much effort would it take to fix the NULL pointer arithmetic in OpCache/Executor/JIT? (c.f. github.com/php/php-src/pull/5151#issuecomment-591724857) Cause it feels we should fix it...
01:58
@StatikStasis what do you hate about it?
 
3 hours later…
04:52
morns
 
3 hours later…
07:34
Good morning.
@NikiC i just got linked this (on what zeev is doing now) techcrunch.com/2020/02/26/…
@Derick ping
@Kalle ah you here, can i ask a drive by question on why you voted no on Dmitrys attributes RFC in 2016 if you remember? ;) wiki.php.net/rfc/attributes
07:50
@beberlei hey! I think it was purely down to the syntax
@Kalle the <<>> alone or that AST nodes where allowed and returned from Reflection?
I really just disliked the << & >> tags. Not that I think comments was a better alternative, to me it just made it look weird in a way I did not enjoy (not that PHP's syntax is pretty, lets be real)
08:09
morning
Regarding the syntax for annotations/attributes whatever you call them I also dislike << & >> and would prefer [ & ]
I like all PHP.
08:29
Hello
I have mysql query as
SELECT SUBSTRING(COLUMN_TYPE,2) FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='myDatabase' AND TABLE_NAME='myTable' AND COLUMN_NAME='myColumn '
it return this num('credit','debit')
@bwoebi I've found the root cause why my module_started flag is cleared on second request. Reason here is that when I add my module to the module_registry whole zend_module_entry structure is copied in zend_hash_add_mem and my changes in original module_started field is simply discarded ))
my column is of enum datatype
I want to echo the output of my query
$stmt =  $connection->query(' SELECT SUBSTRING(COLUMN_TYPE,2) FROM information_schema.COLUMNS WHERE TABLE_SCHEMA="myDatabase" AND TABLE_NAME="myTable" AND COLUMN_NAME="myColumn ');
 while ($row = $stmt->fetch())
{
echo $row; }
I don't get a result
any idea?
user11585758
08:50
Guys just asking, Is php still relevent today?

Like others node.js, django . Does they will surpass php .
It runs 79% of the internet XD PHP has many, many years yet.
user11585758
that was in past and yesterday, but in future .
then it might run 78%
user11585758
:D
Imagine 1% per year... how long do you intend to live for?
user11585758
08:55
what about nodejs then
PHP's share of the market will only go down, but the number of deployments will go up
But thats simply because there's 400 different alternatives now, basic market fragmentation
user11585758
Is its easy to learn php or to make website like small version facebook. Just asking, how much time it required
user11585758
oh
@mathematics If you're looking for an immediate return on investment for any programming language, you'll likely be disappointed
What's your goal?
user11585758
:) . I am not in php , my goal is different, came here because of my highschool course.
user11585758
08:58
Like i want to make a php project like you had heard about that omegle like site . Thankyou for response @Jimbo .
@mathematics What's your unique selling point? What makes you different from a project already established and making a lot of $$$. Will people rather come to yours than Omegle? Or is this just an exercise in learning?
user11585758
@Jimbo not that big kind, just for fun project :)
09:14
@Girgias Those should all be caused by a couple macros in zend_compile.h
Actually, probably just EX_VAR_TO_NUM
09:28
@mathematics The thing about NodeJS is you'll always be building with so many different tools that are all intertwined that it gets really really frustrating. You'll learn JS, then you'll hate it and use typescript, then you'll use a million tools like npm and compiling about 15 times before you even get to executing it.
But then all languages have their problems.
@Girgias should be fixed now
@Kalle Pong
madainn mhath
cmb
cmb
09:44
\o
@bwoebi Password? :P
yes. sigh.
not an important one, but yes.
10:00
@NikiC ping?
10:17
@NikiC thanks :D Will rebase and run the CI again to see :p
Any one have Idea about cron job in go daddy server
10:50
enchant_dict_suggest() function fails on Big endian architecture ・ Variables related ・ #79311
@Nikic seems Clang on MacOS is still complaining about some with the ZEND_CALL_VAR_NUM macro dev.azure.com/phpazuredevops/PHP/_build/…
how to find parent of a hidden li in CSS?
11:19
> Using memcpy() to assign a `size_t` value to an `int` variable is
… interesting.
lol @cmb :-P
Struggling with what seems to be path mapping when trying to xdebug with phpstorm. I have a local http server with MAMP and I work on the files that are directly in the document root. When I load a new page in the browser the IDE will successfully stop at breakpoints. When I issue ajax request it doesn't and i get the "debug session finished without pausing" notice in the ide. Can someone help 1 to 1?
Are you using a remote trigger that isn't being sent with ajax requests?
you mean the cookie?
XDEBUG_SESSION=PHPSTORM; is being successfully sent by browser with all requests including ajax
if (suggs && n_sugg) { <-- can't help but read that as "if currently listening to Madness"
11:34
you mean the cookie?
XDEBUG_SESSION=PHPSTORM; is being successfully sent by browser with all requests including ajax
@cmb doesn't that also drop an & which is kind of important? :-P surprised that doesn't segfault
or actually it probably ends up effectively passing NULL
No immediate ideas then
@MarkR no worries - thanks anyway sir
cmb
cmb
@DaveRandom the missing & has been fixed soon after: github.com/php/php-src/commit/…
11:49
@AdamCopley It's likely path mappings or a missing "service name" (which is a PhpStorm concept, I think). Check the Xdebug log file (you can make it with xdebug.remote_log=1) to see whether Xdebug makes a connection, and the breakpoints are set against the right path, and whether it matches the fileuri in the <init packet.
Reminds me I need to delete my xdebug.log... it's now up to 3GB
@Girgias Give it another try :P
@m
@MarkR :-)
my fault for leaving xdebug helper enabled overnight with a background service pinging away
@Derick where will my log file usually end up?
12:08
@NikiC still some :D ZEND_ADDR_MEM_ZVAL and ZEND_CALL_VAR_NUM seem to be the last ones
@Girgias Fixed more ZEND_CALL_VAR_NUM. Not seeing the problem in ZEND_ADDR_MEM_ZVAL though
Maybe just JIT related?
Yeah it's just in the JIT I think
So I have my log file which was empty prior to me making the ajax request.

It looks like xdebug did make a connection. The file path in the <init packet was correct.

All of the breakpoints that I had set were listed like:
[26264] <- breakpoint_set -i 16 -t line -f file:///Users/adamcopley/Projects/projectname/app/Rules/NullableBeforeOrEqual.php -n 34
[26264] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="16" id="262640005"></response>
@Derick although it still didn't stop at any of the breakpoints that it has registered
On the topic of xdebug, do I remember hearing something about the ability of xdebug to replay logs without going through the web server?
12:29
@NikiC the ZEND_CALL_ARG expansion into ZEND_CALL_VAR_NUM still seems to do null pointer arithmetic: dev.azure.com/phpazuredevops/PHP/_build/…
@cmb cool, at least it's not that broken :-P
However it seems the MacOSX SDK is also doing it one of the macros used in the socket extensions :| dev.azure.com/phpazuredevops/PHP/_build/…
13:03
Huh, Appveyor does complain a lot during the build process I realized gist.github.com/Girgias/71bb9e3f08e3ef2f9b14c8f21b8128b2
13:19
o/
o/
@Derick Any chance to ban Reindl's "new" email that he posts to internals on?
@Derick My gmail spam filter caught it, but I'm not certain others may be so fortunate
13:34
array_filter should be more improvement ・ Filter related ・ #79312
@Clarity "Wave Protocol" When one member of chat waves with "o/" or "\o" another member follows that with a wave of the opposite hand. Once 4 waves are established a streak has been started and should not be interrupted unless there is an urgent need. AsyncBot does not count as an interruption and the wave streak may continue. Example:
o/
\o
And so on...
These rules were established by the lover of the "wave" and ruler of these great lands Lord @Gordon !
I only say that because he tends to tease and make fun. =P
@StatikStasis I don't think I invented this. I just like to make fun of the many pathetic attempts at creating a page long wave
I know. =P
Which is why I want to get the rumor started that it's all your idea. lol
@Kalle bit inefficient to do that, apparently he can just use whatever address he wants in that domain
13:45
@pmmaga ban the entire domain, hes the only one using it anyway
@Girgias try again ^^
@NikiC currently at Uni and can't rebase, mind doing it? Otherwise it'll just wait until this evening ^^
@StatikStasis, Sorry, I'm new in this chat. But they aren't written in room-11.github.io. So I think it's a joke.
@Clarity It's an unwritten rule. =) And welcome to Room 11!
Thanks.
13:57
Alright- I'm procrastinating my real work. Time to get it done.
14:13
@AdamCopley Then that makes it a PhpStorm issue that I can't help with - sorry.
@MarkR Xdebug 3 :-)
Is that the fancy new one you're working on and have been doing the videos for?
@Kalle It's time to call him with a scary accent to piss him off properly. The fucker. Please email systems@ with this
@MarkR I did videos ages ago, but haven't done some lately. But yes. It's a rewrite and so on.
Cool, that'll be very handy. When i'm debugging I often get run-over by multiple requests stealing focus, or timeouts, so replaying will be very helpful
@Kalle oh, did I miss some drama?
@NikiC nothing special besides his obsession to keep mailing internals despite we blacklist him
14:20
Minor Service Outage | Issues, PRs, Dashboard, Projects has Partial Outage
@Derick thanks anyway
@AsyncBot Maybe you should start posting message when github doesn't have issues
Minor Service Outage | API Requests has Partial Outage | Issues, PRs, Dashboard, Projects has Partial Outage
@AdamCopley Their customer support is pretty good though, so I'd try my changes there
Minor Service Outage | API Requests has Partial Outage | Issues, PRs, Dashboard, Projects has Partial Outage | Gists has Partial Outage | GitHub Pages has Partial Outage
14:27
will do cheers
Incident on 2020-02-27 14:31 UTC | API Requests has Partial Outage | Issues, PRs, Dashboard, Projects has Partial Outage | Gists has Partial Outage | GitHub Pages has Partial Outage
14:44
Incident on 2020-02-27 14:31 UTC | API Requests has Partial Outage | Issues, PRs, Dashboard, Projects has Partial Outage | Notifications has Partial Outage | Gists has Partial Outage | GitHub Pages has Partial Outage
Incident on 2020-02-27 14:31 UTC | Git Operations has Partial Outage | API Requests has Partial Outage | Issues, PRs, Dashboard, Projects has Partial Outage | Notifications has Partial Outage | Gists has Partial Outage | GitHub Pages has Partial Outage
Is this how microservices work? One fails and takes down the rest with it?
Yup
called a cascade failure
Incident on 2020-02-27 14:31 UTC | Git Operations has Partial Outage | API Requests has Partial Outage | Issues, PRs, Dashboard, Projects has Partial Outage | Notifications has Partial Outage | Gists has Major Outage | GitHub Pages has Partial Outage
From what I have seen in github's case it's called MO :P
Incident on 2020-02-27 14:31 UTC | Git Operations has Partial Outage | API Requests has Partial Outage | Issues, PRs, Dashboard, Projects has Partial Outage | Notifications has Partial Outage | Gists has Major Outage | GitHub Pages has Major Outage
14:53
@PeeHaa Have AsyncBot check every 30 minutes to see if last message was o/ or \o and if so post the opposite, but only perform once per day. =D
Sounds like a good first plugin for somebody else to write ;-)
Oh you...
:D
BTW jeeves will soon be coming to a slack channel near you
:-)
WHAT!?! YAY!
I cannot wait to implement.
I "wanted" to get around to making it work with Slack but just zero time.
@Ekin already implemented listening to new messages and slash commands
14:55
@MarkR Another good playlist. youtube.com/watch?v=XYoTrI5RE-k
15:06
Incident on 2020-02-27 14:31 UTC | Git Operations has Partial Outage | API Requests has Partial Outage | Issues, PRs, Dashboard, Projects has Partial Outage | Notifications has Partial Outage | Gists has Major Outage | GitHub Pages has Partial Outage
@PeeHaa not sure how 'soon' :-P there's a lot to implement in their API
if I have a class with some properties, getters, setters, and one property is set based on the values of the other properties, is this a bad thing?
E.g. could there be a race condition? I pass the object to Symfony form type so if it updates the ~objects~ properties in a specific order the values I use to set the other property might not yet be set
@Ekin Is your name Ekin Internet Problems or Ekin Internet Solutions?
lol
hey, you're the solutions side of this relationship :-P
15:15
Incident on 2020-02-27 14:31 UTC | Git Operations has Partial Outage | API Requests has Partial Outage | Issues, PRs, Dashboard, Projects has Partial Outage | Notifications has Partial Outage | Gists has Major Outage | GitHub Pages has Major Outage
you guys are silly
No you
I know you are but what am I
silly
Why … does PHP output nothing when it fails to htmlentities the error message :-( (because invalid utf-8)
15:25
@bwoebi because you didn;t pass the flag
It's a shitty default but at least you have control over it :P
which one?
ENT_SUBSTITUTE
with error message I mean actual php errors
like the fatal error message
Yeah that's not a thing :)
I don't have any control at that point
15:27
Sounds like an easy fix though and not too much push back
Would not make it fatal just yet though
The only reason being people bitching about PHP breaking their perfectly valid project
/s to be sure :-)
:-P
omfg
You can't change that! I use a script looping on invalid UTF-8 attempting to encode it, and the heat from the CPU heats my room. If you change that, I'll die!
5
why the fuck does SimpleXMLIterator extend SimpleXMLElement :((((
why the fuck are you looking at anything prefixed with simplexml? :P
15:32
^ That is the better question.
@Trowski haha
I think I'll just remove that little extends and hope nobody complains
gl :D
I see that swearing is allowed here.
your observation is correct
15:42
@NikiC Why can't I see the commit? blame github failing
sry
cmb
cmb
Does anybody know (or could quickly check) whether FPM properly supports chunked uploads (Transfer-encoding: chunked in the request header)?
Not an answer in any way, but is there even anybody maintaining fpm?
Change since PHP 7.3 ・ Compile Failure ・ #79313
cmb
cmb
15:59
@PeeHaa counter-question: is anybody maintaining any SAPI?
Incident on 2020-02-27 14:31 UTC | Git Operations has Partial Outage | API Requests has Partial Outage | Issues, PRs, Dashboard, Projects has Partial Outage | Notifications has Partial Outage | Gists has Partial Outage | GitHub Pages has Major Outage
@cmb I blame @bwoebi for anything wrong with phpdbg if that counts :P
Incident on 2020-02-27 14:31 UTC | Git Operations has Partial Outage | API Requests has Partial Outage | Issues, PRs, Dashboard, Projects has Partial Outage | Notifications has Partial Outage | Gists has Partial Outage | GitHub Pages has Partial Outage
Counter counter question should we not have any SAPI at all /s
cmb
cmb
well, I am more concerned with (F)CGI (currently)
16:01
We only have 4 SAPIs right?
Also @cmb I saw you comment about the strlcat conversation and why I fucked it up, still don't think I 100% understood the example you provided however :/
@Girgias more
I know of at least 5
But I also know there are more
@PeeHaa There actually is
Just ... slowly
But it's still the most maintained non-CLI SAPI :P
Slow is "fine"
I've been waiting for anyone who knows anything about apache for a review for almost 2 years now :D
Did you just volunteer to be the maintainer for the apache sapi? \o/
:P
16:09
no no no, I volunteer to give them some work :D
Can someone explain to me why the request_response RFC uses the names ServerRequest and ServerResponse rather than say... HttpRequest (or HTTPRequest or whatever other capitalisation you choose to use) etc and HttpResponse
@Stephen Because it got it from psr7
where clients use clientrequest/response
@Stephen aye
cmb
cmb
@Girgias the size argument to strlcat() is the same for multiple calls (assuming dest has the same value); for multiple strncat() calls, the size argument has to be decreased.
Just run the example as is, and then with strlcat() calls instead.
16:13
... so Paul was one of the sponsors of a PSR... thing, which he himself describes as "Using PSR-7 for server-side requests and responses can be challenging.", and the logical next step is to make it part of php itself?
I will fully admit I've not had the time to pay a lot of attention to internals@ for a while, but is this really where things are at?
cmb
cmb
@pmmaga cat work > /dev/null ;)
@PeeHaa stares
Are you hitting on me Bob? :P
perhaps the first 'edition' (using Nikita's proposal) should be "I don't want the fluster cluck that is php-fig in my php please"
I would be down for that :-)
16:17
@PeeHaa no, just staring
Playing hard to get @bwoebi. Ok. /me likes
I think it's more of a death stare
Like it even more. No way they are running away in that case
Batman vs. Superman, Alien vs. Predator... all of these will pale in comparison to @PeeHaa vs. @bwoebi
It's pretty hard to be pale in comparison to me though
16:21
Someone asked me if Laravel can be used for a large project like Facebook.
What do you guys think?
yes
also in the yes fraction
I told him "no way"
depens though if you mean large in terms of "it will handle the traffic" or in terms of functionality
@bravemaster He didn't ask whether it's a good idea though
16:23
@PeeHaa Isn't it the same? Can a next Facebook be built on a bad idea?
@bravemaster of course
to the latter question, that is
@bravemaster It actually did
like Hack?
just because something is possible doesn't mean it's desirable
Don't confuse terrible software with big projects
16:24
I think performance would be terrible.
@bravemaster doesn't make the project impossible to happen, just makes it suck :D
@Tiffany XD
@bravemaster In case of laravel it probaby most likely results in terrible performance yes
Then again: twitter
@PeeHaa People won't use FB if it loads in more than 10s.
twitter ran with ruby on rails for a bunch of years before they switched to something suitable to their scale
16:25
@beberlei And it still doesn;t load half of the time :P
Same with reddit
@bravemaster You would be surprised what people are willing to endure :P
I think FB wants to get rid of PHP(or Hack) but they just cannot.
@PeeHaa What language is reddit built on?
Wikimedia is switching back to PHP
ah yeah i believe reddit is in django, could be wrong and its pure python
@bravemaster By the looks of it indians writing responses manuallyon each request
@PeeHaa XD
16:27
slack is also in hack :)
@bravemaster what concerns me most about this is the idea that there should be a "next Facebook"
what we have already is bad enough
@cmb ln -s /root/to-do-list /dev/null :P
May 22 '19 at 12:06, by DaveRandom
ln -s /@PeeHaa/arse /@PeeHaa/face
3
Some things deserve to be starred multiple times
thank you anonymous user
anonymous user because fuck you @madara
Whatcha gonna do about it now
16:32
@PeeHaa you mean when considering the most insignificant things on this world? yeah
I love you too @bwoebi
@beberlei Don't they also do some erlang in there?
i don't know, from what i read on their engineering blog the "main backend" parts are in hack. I would assume specialized services use the right tool for the job, so why not erlang somewhere
In laravel, index.php will handle everything and it will keep doing same things again and again for literally every request. I just can't stand that.
@bravemaster That's how most software is written?
16:37
I mean even if you have a long running process you would have some single point of entry
Or are we talking about stupid shit laravel does in there?
@bravemaster then your beef is with PHPs shared nothing architecture, nothing related specifically to Laravel here
@PeeHaa I thought it was somewhat different in compiled languages?
@beberlei Right
@bravemaster You cannot blame a shitty framework for the shitty language it uses though :P
@PeeHaa front controller is common for web apps
regardless if it's compiled/interpreted
Projects don't start by assuming they will have FB's scale. If they do, they never release the initial version for a few years and if they get to that point, they'll quickly realize that they are not the next suckerbug
16:39
Don't get me wrong I would happily join anybody on the shit on laravel band wagon, but I like to do it in a fair way :D
@Tiffany gee thanks for the info ;-)
:D
Captain Obvious, reporting for duty
So front controller should load dependencies, environment variables, register middlewares/hooks whenever a request is made, regardless of language?
Even if it's written on C#, Java, Node.js, Ruby ?? I'm so clueless. Teach me, masters.
@pmmaga they get two years in, VC drops funding, six months later, they go on kickstarter and get funding from random chumps, then spend the next three years making excuses as to why their project is incomplete
@Tiffany sounds about right :)
16:43
@bravemaster no, languages have different strengths. with php its the simplicity of never having to care about memory being re-used between requests
@bravemaster Some (most?) of those languages should rather be compared with long running processes in php instead of chat.stackoverflow.com/transcript/message/48706290#48706290
You would have a hard time finding frameworks in php to compare against
Fair comparisons that is
It's not so much a problem of laravel
Incident on 2020-02-27 14:31 UTC | Issues, PRs, Dashboard, Projects has Partial Outage | Notifications has Partial Outage | GitHub Pages has Partial Outage
Again I can shit on laravel all day long, but the breakdown and startup sequence on every request is the one single thing I do not blame on them :P
Incident on 2020-02-27 14:31 UTC |
@PeeHaa I can't remember, did I give you a minimal, verifiable example of the issue I had with the booze plugin?
and I'm wondering if maybe it's my xpath and I need to tweak it
so I'll do that first
16:49
You did not. Let me check
What in specific am I looking for?
/at
run test.php
@cmb I don't have a computer but I got it now with the multiple calls only being able to use less bytes. :D will try to fix it when I get back, will probably do the same for strlcpy that's used even less than strlcat :)
when I reached the point of github.com/async-bot/linux-manual-pages-plugin/commit/… from your commit log, I kept getting NULL, which is being returned from the Parser (figured that out when I was writing the WebScraper example)
but I was using a query that should've resulted in data (lagavulin), instead of nonexistingcommand
and yeah, I butchered your code, sorry :D
ok let me get undrunk, clone and run
01:00 - 17:0017:00 - 00:00

« first day (3421 days earlier)      last day (1751 days later) »