« first day (2193 days earlier)      last day (2769 days later) » 

10:00 AM
@JoeWatkins git branch -D 7.1.0; git checkout -b 7.1.0; git push -fu origin 7.1.0 (really, just reset it straight ahead)
 
> git push -fu
 
I really hate git
 
aptly named command
 
@DaveRandom ahahahah
 
I see what that does, or I think I do ... but it feels like something will go wrong still
 
10:03 AM
@DaveRandom such huge BC break could be introduced smoothly by introducing namespace_table with duplicate cheking and deprecations am I right?
 
@brzuchal in theory yes. In practice, good luck getting that past internals.
You are going to have to have a really good sales pitch. However if you think you can do that, I am 100% behind you @brzuchal
 
Luck is not enought, what else would be needed ?
 
Your first born
 
@bwoebi but what about the next release ?
7.1.0 will be out of date again
 
@JoeWatkins then you reset it again
(in case where you have another RFC)
 
10:06 AM
do you mean rc ?
 
@DaveRandom having supporters could lead me to arrange some time into this feature.
THX
 
thanks
 
@brzuchal a good business case, as it were. I think there are enough of them, but you need to be 100% clear in your own mind about why it's worth doing it, what benefits it brings, what problems it solves. You also probably need to propose deprecation in 8 and removal in 9, I suspect (you can try for deprecation in 7.2 and removal in 8, but I suspect people will not be happy with that).
iirc @LeviMorrison would be behind this as well? (merging sym tables) don't want to put words into his mouth though, but I seem to recall seeing him support the idea in the past.
 
wtffingf
commit 52e362c6559dc88fc038b26c4661dddfa6b3725b
Merge: cd162bd 7204158
Author: Joe Watkins <krakjoe@php.net>
Date:   Mon Oct 17 11:10:11 2016 +0100

    Merge branch 'PHP-7.1.0' of git.php.net:/php-src into PHP-7.1.0
why
 
10:10 AM
what did you do, just reset and push?
 
no I didn't push
 
@JoeWatkins I thought the point was that commits targeting 7.1.0 go straight in there and them merge upwards?
s/them/then/
@JoeWatkins so you did what, reset and pull?
 
@bwoebi can you cleanup the unwanted branches also, while I checkout fresh
 
@JoeWatkins that's because of the force push. just delete that branch locally and pull again
@JoeWatkins namely?
 
You get a merge commit when you can't fast forward, so either nuke the branch and check it out fresh, or reset it further to before it diverged what Bob said
 
10:14 AM
^ yep
 
krakjoe@fiji:/usr/src/php-src$ git remote set-url --push origin oh I didn't reset
> ^C
something about my head isn't working right this morning ...
 
@JoeWatkins uh, let me quickly adjust that screw … a moment … fixed. Try again :-)
 
the RC and beta branches are not meant to exist
right so, I should just tag the 7.1.0 branch now as RC4, right ?
 
essentially, yes
@JoeWatkins correct. It's meant that you'd merge 7.1 into 7.1.0 as long as 7.1.0 isn't released yet upon each release (alpha/beta/RC).
 
@bwoebi not the other way around? never mind
 
10:22 AM
I got it, sorry for being dumb, all these branches confused me
 
Guys, I want to access variables defined inside a for loop. Can I do this without running for loop again? gist.github.com/santosh/…
 
What's your government like, @Peehaa? I'm sick of ours.
 
@SantoshKumar Everything is in $xml
 
can someone check I've got it right before I email internals ... please
 
10:28 AM
@Sean government gonna government
They all suck
 
@PeeHaa feels like someone is testing a bot
 
@tereško he brought us active record orm… so headdesk is expected
 
@PeeHaa Can't I have a variable for multiple time of use?
 
@SantoshKumar yes?
 
@PeeHaa Because referencing to $xml would be tedious for me
 
10:29 AM
I have no idea what you are asking / want to do
 
@PeeHaa I want to define $title globally.
 
Quick Poll: php-fpm's fpm_conf_dump() (invoked via -t flag) respecting fpm-conf's log_level setting: bug or correct behavior?
 
@Gordon I am just getting really tired of this rise of witch hunts
 
@tereško Or just a drone from a specific part of the world
 
Which would be an array.
 
10:30 AM
@SantoshKumar It is already global
 
Possible?
 
@tereško just dont read twitter or comments on politics. problem solved
!!lxr fpm_conf_dump
 
[ /master/sapi/fpm/fpm/fpm_conf.c#1569 ] static void fpm_conf_dump() /* {{{ */
 
got the date wrong, damnit
 
@PeeHaa @Gordon well ... look at that poor guy who made the mistake of asking too good of a question in latest US presidential debates
 
10:32 AM
No, I can't echo it from another <?php block. I can't even echo outside for loop
 
@SantoshKumar Yes you can
 
No I can't, this is live version of above gist, ajneffects.com/tutorials
 
What are you talking about. I just showed you you can
 
imo, it's very pointless that all the output is done via zlog(ZLOG_NOTICE, …); instead of just printing to stdout
I mean, it's a cmd line flag. its supposed to go into stdout
which btw, it doesnt. it goes in stderror iirc
and it shouldnt honor the log_level setting. If I invoke -t I want the output.
 
@PeeHaa This is my gist,gist.github.com/santosh/f2126681cd6db1d358a68e76914fc505, it has two php blocks. There is a variable defined named $title in the first block, I want to use in second php block, I am not able to do so. What can I do?
 
10:37 AM
@nsdlfefinedieicbe not sure if you're still here, but asking the same thing in 2 different questions isn't going to help you figure it out...
 
Seems a bit XY
 
@Gordon thx for the help ;)
 
@Gordon yeh that is weird, but fpm is generally weird in many places. I was trying to come up with a reason it might be like that but there's nothing I can think of. I was wondering if it might be possible to invoke config test in a hot process with a signal or something, but there would be no point in that even if you could.
I suppose the argument would simply be uniformity
 
@SantoshKumar I am leaning towards "hire a developer" as a solution there. You obviously do not understand what you are doing there and are not all that good at articulating what you want.
 
@DaveRandom as far as I can see the only place invoking fpm_config_dump is the binary itself. I wonder if we should just override the log level to notice when someone invokes -t as a quick fix
 
10:46 AM
@Gordon what's the actual real world problem you have, btw?
@Gordon It might be there just to make it "pluggable" by extensions or something but that seems like an odd choice in that case, you'd just expose the raw data structure rather than dumping a string to a black-box logger. Or return a char* if you want to expose that actual string.
is it even in the header?
no, so there is no point even there
 
@DaveRandom we rely on the -t -t output in order to avoid reimplementing all the fpm-conf parsing logic in java. now if clients dont have log_level = notice, we get no output (or too much output if debug)
 
Can you specify a log level as a CLI arg? If not, a) that seems like a generally useful thing to add and b) that would be a fix for you without potentially raising a contentious issue by changing something
Also it seems like it should be easy #FamousLastWords
 
11:02 AM
no, you cannot set any fpm-conf settings via cli. only php.ini settings. or I just dont know how. might be somehow through env vars, but I am not sure.
I agree it would be nice to have a flag for setting individual fpm-conf settings
 
11:18 AM
@SantoshKumar i have already shown you that what you have jus works
If it doesn't for you it means your shared code isn't your actual code
I am not going to hunt for imaginary code
 
Good good good, afternoon everyone!
 
hey @Duikboot
 
I have 3 bullets on my left screen: • The law of demeter • Liskov substitution principle • Open Closed principle ... nice terms to learn more about ... but are those named in general as a 'design pattern' or how is it called when you try to implement such 'interpretation of development'?
 
heh
 
11:25 AM
@Duikboot they are not patterns but principles
 
not sure if I should flag or just wait stackoverflow.com/questions/40085102/…
 
Hello, i wonder if anyone can help me
I have a wordpress website on shared hosting (heart internet)
recently we have added woo commerce to add a shop to it, and because of this we need ssl
now heart internet have free ssl that they provide for you, but to use it you have to go to web115.secure-secure.co.uk/ad-aquatics.com instead of ad-aquatics
they say they map the secure-secure domain to your normal domain
Now if you go to web115.secure-secure.co.uk/ad-aquatics.com you can see that it does bring up the site, but wihtout css/images (this isnt my problem as i just need to change to relative paths)
However if i go to any other page on the site i get a forbidden error
You don't have permission to access /index.php on this server.
I know you guys hate wordpress, SO DO I, but Im really stuck here and dont know how to fix this issue, any ideas?
 
@JoeWatkins \o/ You tagged RC4!
@JoeWatkins btw. when is release scheduled? (in case there aren't multiple major urgent sec fixes?)
 
yeah, about 40 times ... hopefully this one is okay ...
@bwoebi last week :(
here is whole schedule
 
11:39 AM
@JoeWatkins no, I mean, to when got it rescheduled now?
 
@JoeWatkins RCs are called RCs because they are RCs… In case a RC is fine, you can always release afterwards without new RCs
 
oh two days between tag and release is normal, so I'll do announce on wednesday, assuming Ididn't break everything ...
yeah I know, I don't really get why all the RC's are scheduled, but that's the way it seems to work ...
 
@JoeWatkins it's just approximative
@DaveRandom hmm?
 
fpm is full of stuff like that ...
probably seemed clever at the time ...
when they thought nobody would see it ...
 
11:41 AM
@bwoebi it declares the return value as char*, then modifies the supplied char** and always returns null...
 
@DaveRandom it returns a string in the error case
(line 340)
 
oic
still, wtf
that is clear as mud
also it's actually modifying the supplied void** with an insane double cast
entirely missing the point of void*
 
@DaveRandom it casts as it wants to do byte-wise addition
and not multiply the added value with the byte size of a type
 
...and you regard this as a sane thing to do in that context?
 
@DaveRandom do you even see how this thing works?
 
11:48 AM
it's converting a string to an int and generating an error string if it can't, there has to be a better way than that
 
It's not converting a string to an int
offset is equivalent to the byte offset from the base of that struct: php-lxr.adamharvey.name/source/xref/master/sapi/fpm/fpm/…
I do agree though that I see no point in not directly passing that struct…
 
9 mins ago, by Joe Watkins
probably seemed clever at the time ...
9 mins ago, by Joe Watkins
when they thought nobody would see it ...
 
They probably wanted to dynamically be able to dispatch both global and pool option setters without logic got that
 
@bwoebi I'm talking about it's purpose. It is basically a switch to convert a string from the config file to a log level. What exactly is wrong with a readable signature whereby it returns the resulting log_level or -1 on error, with an out param for the error string? (which by the way is constant and could be generated by the caller anyway)
 
they've tried to have all setters have the same prototype, probably for some reason that we don't see, because it was for a feature that doesn't exist
 
11:52 AM
@DaveRandom because the caller does not know about what's valid and not
@DaveRandom php-lxr.adamharvey.name/source/xref/master/sapi/fpm/fpm/… these functions (second offset of the sub-arrays) are all callable
 
or the dispatch thing, I'm not going to read fpm to find out why ... I hate it ...
 
@JoeWatkins yep. But there it wasn't worth it IMHO.
 
probably not, but they probably didn't write it knowing it was going to be actually released into the open ... people do "clever" stuff when they aren't being watched ...
 
@bwoebi I realise that technically, in the context of the existing architecture, it makes sense. I'm arguing that the architecture as a whole does not make sense.
 
@DaveRandom And I don't disagree
 
11:55 AM
Disagree damn you! This is the internet!
 
I disagree, this is my office
 
@DaveRandom I disagree with you that I shall disagree :-)
 
@JoeWatkins You should really clean up a bit, in that case
also can you get a tea lady please
 
I have one, but she's a meat based device, when you try to plug her into the interweb, she squeaks ... I need a new one ...
 
Hehe, var_dump((float) "Nananananananana Batman!");
 
11:57 AM
Whenever there's a bug in my code I remember that my code is being rigged by the media.
 
s/./. That I can tell you /
I'm so glad it fell apart for him ... so glad ... we can all stop worrying about that now, I think ...
 
Not over till the fat lady sings wins
In one sense I'm surprised it took this long, in another sense the fact that it took this long makes me wonder whether he's done enough to torpedo himself effectively yet
or even can do enough
 
@DaveRandom that's not how jokes and bugs work.
 
Anonymous
@JoeWatkins Can work both ways. Now that he appears to be falling behind, many trump supporters will feel it's more important to vote whereas Hilary supporters may not
 
I suspect he could shoot an unmarried pregnant woman in the face live on TV and his supporters would all cheer, every single one of them
 
Hehe, var_dump((float) "Nananananananana Batman!");
 
@DaveRandom I have no idea whether media is rigged… It just seems heavily biased though in largely ignoring the more severe wikileaks and focussing on the accusations against him…
 
Anonymous
^ very true
 
@bwoebi you mean things like this: youtube.com/watch?v=7DcATG9Qy_A
 
@tereško that's quite extreme, but yea
 
12:06 PM
I don't think it would have been won by his vocal supporters ... those people who are willing to tie their colours to his crazy policies are not going to be dissuaded by anything his says or does, that's true ... but those people who would have voted for him purely because they dislike Clinton (and family), he scared them away, normal people .... they won't be able to vote while imagining him grabbing their pussy, or their wives, or their daughters ...
 
Anonymous
Yeah, o
 
@JoeWatkins The joke is that we do not know whether these stories about grabbing pussies etc. are fabricated or whether some of them are true at least.
 
Everything in news media is rigged because it's all created and curated by humans, who are all biased. There is no coordinated conspiracy, just a bunch of people are all idiots because they are people. I am included in this set, as is anyone who reads this.
 
no, there are recordings of him saying that stuff
 
@JoeWatkins there are recordings of him saying stuff; not about him admitting to do it
It's quite bad though, I agree
 
12:08 PM
@JoeWatkins dunno ... to me it sounded like an arrogant tv star talking about groupies
 
His are called gropies, though
 
that doesn't really matter, however wrong, the accusations of the kind of misconduct he is heard describing are enough ...
 
most of them are called "gropies"
 
@JoeWatkins yeah, these are quite effective even if they should come out as just a dirty move by the Clinton campaign.
 
@bwoebi you mean like the birther thing?
:D
 
12:10 PM
@tereško yep. … Just an order of magnitude more severe.
 
as a side note: does anyone think amount of people, that are associated with a candidate's campaign, who have died, should be in the news?
 
@bwoebi Again, I feel like this idea that such things are orchestrated by the other side gives too much credit to either side. People are just not that organised, nor are they capable of keeping secrets. As soon as the number of people who know about any given thing is >1, it is guaranteed that it will be >2 in a very short time, and then the growth is exponential. For every single thing, ever.
 
Anonymous
@DaveRandom True, but I think it's getting worse. News agencies seem to prioritise entertainment over information. I'm no trumpoop supporter, but the way in which the media have behaved throughout this election is appalling imo
 
if I was american, I would vote for Jill Stein ... just saying
 
@DaveRandom well, AFAIK there are some indications on wikileaks about it being orchestrated initially by them … But I'm not an authority on that.
 
12:14 PM
@JayIsTooCommon It has always been that way. The only difference is that the shock value is to be higher in order to get people to pay any attention to you now.
Once upon a time people would have bought a newspaper just because you used the word "damn" in it somewhere.
 
Anonymous
I just dislike humans.
 
@DaveRandom scandal chasing… yea.
 
@JayIsTooCommon this is why I'm going to have a felinoplasty and become a cat.
 
in the uk, the news is covered in trump stories, the other day from the top 10 most read, 5 were about trump ... but I don't think it's biased, clinton isn't going around saying crazy newsworthy things ... he is ...
 
@DaveRandom once upon a time they also contained "investigative journalism" and not rewording of the same press-release.
 
12:16 PM
@tereško I don't disagree — there just need to be more people interested in actually voting third party :-/
 
and they are actually rather nice about him, they have to be here ...
 
Anonymous
@DaveRandom :P
 
they are still referring to him as property mogul, not prick, for example ...
 
@JoeWatkins media often is also replicating other media…
 
@JoeWatkins "Raging Thundercunt Donald Trump said at a rally..."
 
Anonymous
12:17 PM
@JoeWatkins Yes but you have that information based on media reports :P
 
@JoeWatkins actually, she's actually being in public as little as possible. I am still convinced that she is suffering from advanced stage of alzheimer's
 
@tereško She possibly has a disease, but I doubt it's alzheimers…
 
for there to be bias, the media have to be ignoring sensible things he says, and only reporting dumb things ...
 
@tereško possibly, or possibly it's just taken her this long to clock on to the fact that she doesn't need to argue with him, he will just continue to argue with the aether in her absence and do a fairly effective job of rubbing people up the wrong way all on his own
 
@JoeWatkins The media is eventually even reporting it, but not putting it into focus. Only scandals are important.
 
12:20 PM
that's not happening, he's not a bad orator, he's actually just as simple as he appears to be when you hear him speak, he isn't saying sensible things ...
 
@JoeWatkins lol, yeah ... and the state of r/politics is quite impressive
@bwoebi in general - yes, but only the ones that are not tied to Clinton
 
@JoeWatkins I agree that his strategy feels a bit like "I propose this and that, it will make america great again and blah"… While mainly trying to steer enthusiasm …
 
he's a populist
 
@tereško correct. The question is what he'd do if actually elected…
 
nothing, because he would be blocked by both congress and senate
 
Anonymous
12:32 PM
Hmm trying to think of a sane way to implement configurable views, db wise. A settings table that references view_id maybe..
 
@tereško That very much depends on what he tries to do.
@tereško I somehow do not want to believe he's only wanting to become president for the sake of it though…
 
trump would do what he wants, clinton would do what here donors want here to do :D
which is the lesser evil?
 
The former… I guess.
At least very ridiculous ideas would be - as you said - blocked by congress&senate.
Whereas Clinton and her donors have generally much more influence on the congress&senate to pass a lot of insane things her donors want to be done.
 
... like direct warfare in Syria and conflict with Iran =(
unless they get a big donation in the Foundation to prevent it
 
possibly, yes.
@tereško who would be interested in that?
(except normal people who haven't that power to donate a lot and thus influence?)
 
12:44 PM
@bwoebi Russia would be interested in that donation ... maybe China
last time Russia made that type of charitable donation, they got a contract for 20% of USA uranium
 
@tereško I doubt it. As long as US continues war, Russia also has more initiative to go down there and continue war too.
 
both Syria and Iran are allies of Russia
 
@tereško You can only continue a war as long as you're being attacked too…
If there is nobody attacking Russias allies, there's no war either
 
hence, the donation :)
 
I even guess Russia is their ally to have an extraterritorial war.
 
12:48 PM
who are "they" in that context?
 
Russia is Irans&Syrias ally
 
yes
 
they can't really side against them otherwise the war would be quickly over if the whole world is attacking against not that powerful countries.
 
which is why Russia would be interested to prevent "boots on the ground" bullshit in Syria
I think we are both arguing the same point :D
 
lol
 
12:55 PM
 
fuck you too :(
now I am also upset about programming
 
:D
 
:-D
 
@nsdlfefinedieicbe we already did. what is so hard to understand about your DBConn is not an object?
 
1:01 PM
okay @Gordon , can you please give me updated code to make DBconn as an objject ?
 
dont knock it, @Gordon - 50€ is a really high rate in Latvia
 
@tereško I guess so
 
I am currently employed at 10€/h
 
@tereško o_o with your skill, I'm shocked
 
1:10 PM
well ... 8.5€
 
that's pretty low
I thought pay in my town was low, compared to other cities. The tradeoff is the cost of living is really cheap here
 
Does codereview SE review implementation concepts or only concrete code?
A rather large implementation change is being pushed through for email templates and I'd like someone else to take a look at my proposed strategy to see how crap it is
 
It's about email templates so it's crap by design (or rather lack thereof)
 
:P
 
@charlietfl yes I know, like codeigniter or cakePHP. Anyway I just want the theory behind it. So if you say that a view can also implement other views, does it mean that the parent view has got at least some sort of business logic into it just before outputting the child views? — Gianluca Ghettini 21 secs ago
well ... I tried
 
1:25 PM
BTW based on what I hear about the stuff you are working on: your job sucks. SOAP and email templates
That's like the worst two things I can think about :P
 
I feel a little vindicated, thanks :P
 
:D
 
I've heard of SOAP, never took the time to figure out what it is
also why are all the stars cleared?
 
Anonymous
@Tiffany that explains the smell.
 
Hey, I showered last night :P
(funny enough though, I tooted when you said that...)
 
1:30 PM
@NikiC someone messed the repo again?!
 
Anonymous
:P and stars aren't cleared?
 
hm, maybe just me then
there they are, refresh fixed it
 
Anonymous
:)
 
@Tiffany you tooted? *giggle*
 
I keep wanting to backport my proposed non-bugfix changes to master to PHP-7.1. This is a bad way to think. :p
 
1:32 PM
@salathe well I was going to say farted, but I was trying to be polite
 
@Andrea ... well ... if microsoft can do that with their "telemetry" ...
 
@tereško heh
 
@Andrea did you prove you are not a witch yet?
 
@Gordon … runs
 
hey peeps, I've been trying to send emails with UTF-8 encoding, but for some reason not working. code is here. it's very short. pastebin.com/e2yWDCRp
 
1:38 PM
@KerrialBeckettNewham a) define "not working" b) don't use mail()
 
Use a mail client lib like a normal person
 
@salathe hmm?
 
@DaveRandom @KerrialBeckettNewham a) define "not working" b) don't use mail()
 
Well, maybe not normal, but wants their mails to actually work
 
@DaveRandom That's at least somewhat normal :P
 
1:40 PM
@bwoebi @NikiC just reopened a bunch of bugs with the comment "Someone messed the repo again, reopening."
 
@KerrialBeckettNewham Also, you might want to read about email injection
 
@salathe you mean bugs which were auto-closed by push?
 
@bwoebi yes
 
@Tiffany was about to bring it up
 
@Tiffany Good point
Another reason to stop dicking around with mail()
 
1:41 PM
@salathe yeah, that was merging into 7.1.0
 
I have that article bookmarked :)
 
@PeeHaa if "normal" == "most common", then my experience says otherwise
 
@DaveRandom Are you bored again? :P
 
@bwoebi okay I see... the bug isn't fixed but the commit message keeps closing the bug
 
yep
 
1:43 PM
@PeeHaa "again" implies that the previous session ended
 
hahhahahahah
 
Thank you all. I'll throw that away and start again.
 
\o/
!!ban list
 
5234642 (2017-01-27 13:17:36)
 
how does pear mail compare to other mail libraries?
 
1:45 PM
lol still no name resolving so sad
 
that still doesn't resolve names? :-/
 
:P
 
!!uptime
 
@DaveRandom I have been running for 1 day, 15 hours, 29 minutes and 4 seconds, since 2016-10-15 22:17:04
 
@Tiffany The fact that it is on pear tells me I don't wanna
 
1:46 PM
@DaveRandom it should have ", and I am really tired" added, when it exceeds previous record
 
:D
 
@PeeHaa rofl.
 
@DaveRandom I've updated php in case you were wondering whether he died for a reason
 
@tereško on it :-P
@PeeHaa did you pull from master?
 
@Tiffany I personally recommend SwiftMailer or PHPMailer (if stuck in legacy)
 
1:49 PM
@DaveRandom Not yesterday. Just updated php and rebooted
 
!!version
 
s/rebootet/restarted
 
rebootet !?
gawd
 
@DaveRandom for some reason it reminded me about:
 
1:50 PM
@salathe I think @bwoebi did something this time
Repushed old commits to a branch that was subsequently deleted or so
 
@NikiC nah, I've updated the 7.1.0 branch for Joe as he was afraid to break anything.
 
(link to the source of the "le tired" thing: youtube.com/watch?v=kCpjgl2baLs)
 
@tereško I'll keep those in mind for personal projects
a classic
 
@bwoebi i see
 
Here you go #j08691 29 secs ago
 
Anonymous
1:53 PM
@DaveRandom lol
 
Anonymous
@PeeHaa the hand would be difficult in just html5 alone :/
 
@JayIsTooCommon That deserves a comment :P
 
Anonymous
:P
 

« first day (2193 days earlier)      last day (2769 days later) »