« first day (1405 days earlier)      last day (3534 days later) » 

12:53 AM
tfw using "amazeballs" in a commit message
 
1:52 AM
@rdlowrey The http parser works again :) left with some clean up and it will be ready for PR.
 
 
3 hours later…
5:02 AM
morning
 
5:16 AM
0
Q: Deleting an Operating System

Hassan Althafyesterday I installed Windows 8.1 while I had Windows 7 already installed. Now, once I boot up my laptop, it asks me whether I want Windows 8.1 or Windows 7 booted up. I want that to go away, I want to uninstall Windows 7, and I read somewhere that all I had to do is format the Windows 7 partitio...

Someone help pl0x
I wish i did not focus on learning programming only l0l
 
what is pl0x & l0l?
 
pl0x = please, l0l = lol
My swag
 
okkk, yes you will need to reformat whole laptop by deleteing all partition and recreate them.
 
@bwoebi none, need to have a go at reproducing ...
 
I wonder, what was the original reason, that caused for the "green shithead" to end up in my ignore-list
also, mornin'
 
5:35 AM
morning room
 
^ You reckon php-uv should be mentioned? :)
 
hi, can anyone help me how to create form(ACRA) in PHP
 
ACRA?
 
5:47 AM
@Ja͢ck yes
 
What is ACRA?
 
@Ja͢ck not, don't confuse the subject anymore ...
 
hehe
 
I'm surprised someone didn't say "you can use curl_multi" ...
grrr
 
yeh yeh yeh
@JoeWatkins hey .. how did you get the 'php' contributor icon on your flair? :)
is it something you ask for, or some mod will figure it out?
> You would have to argue for so long about (making ZTS be the default build), I'm sure no one will ever live that long ...
hehehe
@JoeWatkins any major roadblocks for pushing ustring around?
 
6:10 AM
@Jack no idea actually, just happened ...
 
interesting ... because nikita doesn't have one e.g.
 
I know yeah, no idea ...
ustring is going well I think ... I've done a bit of messing about with defaults ...
 
anything i can help with?
i'm nearing the end of my 3-day php-uv stint.
 
anthony suggested and niki agreed that everything should be stored as utf-8 by default, converted on construction if no utf-8 and adding a getBytes method to fetch in a charset other than utf-8 ... so I tried this and couldn't detect a difference in performance
so I wonder why that is ... the last question to really answer is should we change the default icu behaviour and override it with our own like that even if we cannot detect a difference in performance
(icu's default is to use utf-16, our system default constructs everything as utf-8 by default but without conversion)
 
can we just do conversion at the "end points"?
 
6:16 AM
like cast, that's what we are doing now by default
 
I mean, who cares whether we store stuff as "xyz' internally ... unless there's a noteworthy performance penalty.
 
that's what I think actually ...
there is no nice api for UTF-8, there are apis but they horrible ...
 
If the UTF-8 API was nicer, then sure ...
Yeah, exactly.
 
I think we should let unicodestring care about it ... also, java has utf-16 as the internal storage set and nobody ever complains about that ...
 
Agreed .. imo the burden of proof is on the utf-8 lovers :)
 
6:18 AM
it's so much faster than mb already that I don't see the point in changing .... if icu at some point has another nice api then we should use it but spend hundreds of man hours trying to solve non problems we should not do ...
 
okay .. so, let's ship this thing!
 
phil is gonna do the rfc and be my talking head during that ... because he's good at it and i'm shit at it ...
 
mr sturgeon?
 
yeah
 
awesome :)
 
6:21 AM
yeah, he's very helpful :)
 
oh, quick question on splitting implementation
let me show you something.
 
he got a bit down when we done arrayof rfc, like it was his fault it failed somehow and I promised we'd do another because wasn't his fault at all ... so I want him to do it ...
 
I just now realized that I will be 30 in about 4 months .. hmm
 
@JoeWatkins agreed, i think the idea itself was really the issue, not his handling ...
 
the first time I seriously considered my own mortality, how my family will survive when I'm gone, it was my 30th birthday ...
 
6:23 AM
@JoeWatkins i decided that immortality until proven false works better for me =D
^^ so i've split off the http parser component from the extension, so that i can conditionally include it based on the ./configure line.
the question here is ... do i use a macro to "inject" functions into php_uv.c based on an #ifdef, somewhere here in the code?
 
@JoeWatkins yeah , no. That part I got over when I was ~16
 
@Ja͢ck proper submodule, I would
 
hmm ...
 
you can register a module from your register_httpparser function, with its own name and functions ...
if it's really separated properly from the rest of the extension ..
 
oh, you can define multiple modules in one extension?
 
6:28 AM
@tereško I just got to it ... and don't really have a good plan yet either ... probably I can work for another ten years the way I do ... it's not much time ...
 
do you happen to know an extension that does such a thing?
 
@Jack you can yeah ... I've seen others do it ...
 
okay, that's something i could consider :D
 
I don't have the name of one offhand ... none in pecl so must have been quite obscure ... but I do remember seeing it done ...
 
posted on August 21, 2014 by kbironneau

/* by Attakinsky */

 
6:32 AM
opcache does it ...
register in minit
startup in rinit
iirc
actually just register, startup should be invoked on rinit anyway ...
 
6:53 AM
haha
 
7:23 AM
Gooooooooooooooooooooooooood fridaaaaaaay morning
 
nope
 
ow crap... thursday :(
 
nope
 
goddamnit
 
=)
 
7:25 AM
oh, the disillusion!
 
@PeeHaa its thursday.
 
What a horrible horrible way to start the day :|
 
It could have been worse, it could have been Monday again.
 
you made everyone's day 20% worse ... that's an estimate ... but it's definitely worse now ...
 
@JoeWatkins I think besides disabling phpdbg, they should consider switching off ZTS as well hiak hiak
 
7:27 AM
who should ?
 
some php-src dev guy
Lior disabled phpdbg, but the build still fails because there are some zts issues still unresolved.
 
if you're developing php-src with zts disabled you are doing it wrong
 
lol
 
where are you reading this from ?
 
one of nikita's commits went something like "made the sh*t compile, but it will probably not work" heh
@JoeWatkins from ML?
 
7:31 AM
they shouldn't disable zts, there shouldn't be a need ... everyone really should develop patches with zts enabled all the time, there is nothing worse than a broken (windows) build because someone forgot TSRM_* somewhere, or everywhere ...
 
morning all
 
bob is going to be fixing phpdbg in the next couple of weeks ... for now it has to be disabled ... if still fails then debug, don't disable anything ...
not really reading internals at the moment ...
no time no time ...
morning @Naruto
 
@JoeWatkins With phpdbg it wouldn't compile; now it compiles, but there are failing test cases .. that's not the same thing of course.
 
I get fails locally too ... I thought expected ...
I'm sure stas is on it, travis is his baby I think ...
our test runner could do with some work actually ...
 
True, but there's nothing much you can do about Travis because both builds must pass all test cases before it turns green.
non-zts passes.
 
7:36 AM
show me travis link ?
 
is it these
Bug #60825 (Segfault when running symfony 2 tests) [Zend/tests/bug60825.phpt]
Closure 026: Assigning a closure object to an array in $this [Zend/tests/closure_026.phpt]
GC 029: GC and destructors [Zend/tests/gc_029_zts.phpt]
 
wait hang on
 
strange
I get totally different ones
 
errrr
strange btw, why do they clone with depth of 50? depth of 1 will do.
 
7:39 AM
I dunno, I think thats travis not our scripts for it... (I think default)
 
> I'm sorry but your test run exceeded 50.0 minutes.
wow
@JoeWatkins oh, you're probably right.
 
I don't get those failures at all ...
 
actually, the non-zts fails test cases and zts just .. fails completely lol
 
@JoeWatkins did you see this issue?
 
I did
 
7:42 AM
ok :-)
 
What is travis?
 
I don't use drupal, so have no idea how to reproduce
 
hah, alright
 
I think bob was looking at it maybe ...
 
@YogeshSuthar it's continuous integration tool.
 
7:43 AM
ohkkk, for php or any language?
 
any
 
okk. Will need to learn it.
 
Travis continuously integrates all the things!
 
good mornings
 
19 hours ago, by Ja͢ck
Getting Travis to work properly is like courting a woman ... "no" ... "nuhuh" ... "nope" ... "not gonna happen"
just so you know.
 
7:44 AM
is there any way I can help to debug the issue?
 
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Directly modifying an unreferenced array when foreach'ing over it while using &$value syntax. [tests/lang/foreachLoop.013.phpt]
Directly modifying a REFERENCED array when foreach'ing over it. [tests/lang/foreachLoop.014.phpt]
Directly modifying a REFERENCED array when foreach'ing over it while using &$value syntax. [tests/lang/foreachLoop.015.phpt]
tests ran in about 5 minutes ...
 
That's a shitload of failed test cases.
 
yeah quite a lot ...
 
that's with zts?
 
7:47 AM
too much text to paste, can't even read all of it ..
yeah, always ...
will run non-zts now to compare ...
stupid that I have to wait for 10k tests to run sequentially ...
7 cores doing absolutely nothing ...
(other than loading pictures of kittens from the internet, obviously)
 
Yo, guys, could someone help me with something like real wuick?
*quick dammmit
Actgually wait nvm
 
@user3779981 just ask, and if someone has the time, they will answer
 
@JoeWatkins you definitely need one core per kitten.
@JoeWatkins Hmm, that might be something I could take on .. make the damn test cases run in parallel as much as possible.
 
iirc sara made some commits to tests to make it possible because they use our test suite upstream, but they run in parallel ...
but the runner needs work yeah .. do it do it do it ...
there is nobody left (that we have to care about) with a single core ...
 
@JoeWatkins Sorry people :(
 
7:52 AM
hehe, we're over it :)
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Directly modifying an unreferenced array when foreach'ing over it while using &$value syntax. [tests/lang/foreachLoop.013.phpt]
Directly modifying a REFERENCED array when foreach'ing over it. [tests/lang/foreachLoop.014.phpt]
Directly modifying a REFERENCED array when foreach'ing over it while using &$value syntax. [tests/lang/foreachLoop.015.phpt]
the same failures ?
 
dafuq
 
dafuq indeed
 
okay, let me run master test cases on darwin
 
some of these tests are just wrong
 
oh dear ... the "new guy" has 'learned MVC from Laravel'
 
7:55 AM
=D
 
@tereško whoops
if he understands quickly (as you said he did), it shouldn't be an issue to reteach him though
 
Morning
 
moin
 
good day-before-friday mornings :)
 
moin @salathe
 
8:03 AM
heh
I showed this pic to a dev friend
 
@salathe Monring!
 
1st thing he tells me? "there are 2.* addresses?!"
nu-huh buddy, that's not what you were supposed to look at.
 
As a point with that VLC picture. Whoever took it used a screenshot but VLC has a built in snapshot tool. Or at least I am assuming so by the VLC bar.
 
Good morning PHPC :) This room is nice, more active than #phpc
 
8:16 AM
morning @PaulDragoonis
@Jack how many fails did you fix so far ?
 
I've been talking with Dmitry in private understanding more about internals than I previously knew. :)
Feeling a bit more motivated to contribute to core/ext lately
 
excellent news
what you going to do first ?
 
A lot of my time is invested in PPI Framework, connecting up ZF internals and SF components, takes up a lot of my time. I spend a lot of time on PHPFIG and on the php.net website/new design.. So I already do a bunch of things.
I'm usually motivated to fix bugs on SPL, or patch existing functions.
Adding new features is easy, but bug fixing is more important than shiny things, imo.
 
oh yeah I see you everywhere :)
its definitely the more important thing yeah ...
 
Is there an active disable prepared statements thread atm? Or has there been one after @ircmaxell's last discussion? I really would like to open the discussion again
 
8:30 AM
hard to say if something is active ...
it's not being talked about this week ... that's not to say that nobody would join in the discussion if you brought up the old thread or started a new one ..
 
I often get confused on prepared statements being enabled/disabled and the implications of this. I always have them turned on, however I had a issue recently on my platform that the supposed fix was to turn them off, which I still wasn't happy about.
It would be good to have a PHP tutorial to outline the differences if on vs off, and the implications of both.
 
@JoeWatkins Yeah, will post to the ML
 
posted on August 21, 2014 by kbironneau

/* by Rodrigo Casanova */

 
@JoeWatkins found 35 fails on my system.
 
I fixed about that many on mine !!
you do the rest :D
 
fixed? in what way?
 
fixed tests
 
i was busy caffeinating myself.
 
intl had wrong version number in some tests, and some other stuff ... I forgot, it was 10 minutes ago ...
yeah my turn ...
 
8:44 AM
did you push any of those fixes?
 
I no longer need crutches to move around
yeah
 
awesome!
bug #55871 is rather interesting, but i think laruence fixed that properly.
 
what's your total number of tests ?
mine went up by 90 a few minutes ago when I pulled, 10181
Directly modifying an unreferenced array when foreach'ing over it while using &$value syntax. [tests/lang/foreachLoop.013.phpt]
Directly modifying a REFERENCED array when foreach'ing over it. [tests/lang/foreachLoop.014.phpt]
Directly modifying a REFERENCED array when foreach'ing over it while using &$value syntax. [tests/lang/foreachLoop.015.phpt]
Bug #60825 (Segfault when running symfony 2 tests) [Zend/tests/bug60825.phpt]
Closure 026: Assigning a closure object to an array in $this [Zend/tests/closure_026.phpt]
that's all the failures I have now
 
13261 of which 5837 skipped
making test again now ...
 
ah I enabled another extension ...
show me your configure
 
8:47 AM
'./configure' \
'--disable-all' \
'--enable-maintainer-zts' \
'--enable-debug' \
'--with-libedit' \
'--with-openssl=/usr/local/opt/openssl' \
'--enable-json' \
'YACC=/usr/local/opt/bison27/bin/bison' \
'--enable-pcntl' \
'--enable-posix'
 
wasn't 67118 the one we discussed the other day ?
I think libedit is evil
 
hehe, the other one doesn't work on darwin
 
maybe they finished libedit for it ...
I dunno, am allergic to anything mac ...
 
@JoeWatkins isn't that fixed already?
 
it makes me all shouty and annoyed ...
 
8:49 AM
it's closed anyway.
 
fails for me ..
 
ahh
 
did you fix in master at the time and not port to ng ?
 
i have no recollection of ever fixing that.
It was another bug we were talking about, memory leak related
Also, I was told that ng was frequently merged with master ... so there was no need to cherry pick them myself.
 
looks like remi reverted someones fix
 
8:52 AM
> Expected result:
----------------
Regularly the page crashes instead of showing the result, this can be any page on the website.
Why would anyone expect a regular crash?
 
DateTime makes me sadd
 
yeah think I might be allergic to it too ...
 
mornings
 
because empathy is great, I can't go on irc ... maybe someone ping remi about that one ..
moin @DaveRandom
 
8:55 AM
@JoeWatkins Awesome, your fixes reduced the number of failed test cases on my system by a whopping 1 test case ... =S
 
excellent stuff ...
paste your fail list for me ?
 
sure ... i'll pastebin it
 
@JoeWatkins do you want an irc bouncer?
 
it doesn't have the diffs though =X
 
8:56 AM
0
Q: XlS file with date format php

ShinI have created a xls file with following row, <Row> <Cell><Data ss:Type="String">1761601 21:36</Data></Cell> <Cell><Data ss:Type="DateTime">2014-08-20</Data></Cell> <Cell><Data ss:Type="Number">12</Data></Cell> </Row> But, <Cell><Data ss:Type="DateTime">2014-08-20</Data></Cell> wi...

 
I idle on php.net systems already ... the problem is when I open my client it goes mad, I dunno why, only started last night ...
 
dafuq .. my client is banned on irc .. sigh
 
@Jack u strange ... I haven't got those ... judging by travis output we are barking up the wrong tree, dmitry or someone else broke something ...
might be that ... (the banned thing)
I dunno if I'm visible on there ?
 
@JoeWatkins you mean it's like random ?
 
*** glibc detected *** /home/travis/build/php/php-src/sapi/cli/php: corrupted double-linked list: 0x0000000001b46e10 ***
 
8:58 AM
=0
 
that's not because of bad tests, someone broke something ...
 
yeap
 

« first day (1405 days earlier)      last day (3534 days later) »