« first day (3031 days earlier)      last day (1917 days later) » 

9:01 AM
coffee make my heart beat, like drum ;D
 
Wes
@JoeWatkins do you think it's possible to make the code coverage thing you made appear as xdebug for stuff like phpstorm? generating the code coverage in phpstorm is really useful for obvious reasons, but it's slow as hell
 
heh, something else perhaps. Maybe some bacon :P
 
nope, but you could in userland ...
 
Wes
need to change the xdebug code coverage driver to use internally yours?
i can try that
 
actually my assumption was wrong ... show me some code ?
 
Wes
9:03 AM
of what?
 
how does xdebug interface with phpstorm, it's not over dbgp I don't think in the case of coverage, so not sure ...
there's no reference to coverage in the spec of dbgp
 
Wes
1 sec
 
it uses phpunit, I think I don't need to do anything
it should just work, except for if they check for the name of specific extensions ... which they shouldn't, because they are using phpunit ...
 
Wes
php -dzend_extension=....\ext\php_xdebug.dll -dxdebug.coverage_enable=1 E:/.../vendor/phpunit/phpunit/phpunit --coverage-clover E:/---\coverage\PHPParserTools$tests.coverage --configuration E:\...\phpunit.xml E:\...\tests --teamcity
 
php -dzend_extension=....\ext\php_xdebug.dll -dxdebug.coverage_enable=1
replace with
 
Wes
9:07 AM
i can't
 
where did you find it ?
 
Wes
the console when i click "run with coverage"
but i cannot modify it
 
you should probably just open a ticket with phpstorm guys, it's just a case of loading the driver and setting directory/exclude, but first they need to be supporting phpunit 8 ...
I've never actually used phpstorm, in case not clear ...
E:/---\coverage\PHPParserTools$tests.coverage
you may just be able to overwrite that file ...
 
Wes
it doesn't much, it just reads the clover file
 
try overwriting it, see what happens ...
you may be able to define your own command or something ?
 
Wes
9:10 AM
not with the nice coverage ui
 
I'll download a trial and mess about, but probably a ticket is the way to go ... I don't know if they'll be happy to see my name ...
@Wes it looks from docs like viewing coverage is a separate thing to generating it ?
 
Wes
link?
 
Wes
yes you can create the run configuration but unfortunately you cannot change dxdebug.coverage_enabled, that's added automatically
not that i know that is
 
the thing is java right ?
my mouse is broke, so hard to keep switching windows
 
Wes
9:15 AM
yes
 
know of a project on github that has settings committed for it, or shall I do a dummy thing ?
 
Wes
you don't need it. do you have a teamviewer or something like that? wait
 
I can get one
 
@salathe What script do you use for your docs mirroring on github?
 
Wes
do a composer update with phpunit as dependency @JoeWatkins
then open settings in phpstorm, languages & frameworks > php > phpunit
 
9:21 AM
krakjoe@fiji:~$ done that
bash: syntax error near unexpected token `done'
 
Wes
phpunit library: use composer autoloader. in path to script find your/path/vendor/autoload.php
as soon you select that it should say phpunit version 7.5
then below that set default configuration file to phpunit.xml in your project
then click ok and create a test class,
class FooTest extends TestCase{
function test(){ self::assertTrue(true); }
}
right click that file and you should have this working right away
that will run the test with phpunit
 
when I click sync extensions with interpreter it doesn't see pcov
 
Wes
it's probably because uses a global php.ini
or something like that
 
/home/krakjoe/.config/composer/vendor/autoload.php
PHPUnit version: Not installed
wait, I got it
 
Wes
after you created the FooTest.php you just need to right click it and click "run"
btw, xdebug's coverage is also wrong
i should update
 
Wes
9:44 AM
@Danack do you have any use case of having multiple entries in composer's "psr-4": {} ?
@JoeWatkins could you do it? ask me anything
 
still trying
 
@NikiC I don't have the SSH key on this machine to get the actual script but... it's basically, 1. have a git-svn copy already, 2. git svn rebase, 3. git push github
 
Wes
@JoeWatkins teamviewer?
 
@salathe Huh, that's simpler than I thought ^^
 
morns
 
9:57 AM
I done it
but no real idea how, let me send you some screen shots ...
I used mimus, right clicked src directory, and done this
under run with coverage, you got create
 
Wes
send me screens yeah
 
the xdebug.stuff will just be ignored if not loaded and it doesn't bother to check, so long as pcov is loaded you get your result ...
I can install a tv and try to walk you through it ...
 
Wes
nah that's not gonna work... need to remove pccov stuff
why did you name the extension after @Paul?
 
it does work
 
Wes
screen?
 
10:06 AM
 
Wes
wow
you sure it used pcov and not xdebug?
 
select run and "run mimus coverage with coverage", where mimus coverage is name of that configuration
xdebug isn't loaded
 
Wes
it adds -dzend_extension=php_xdebug automatically
near the coverage windows there should be the console, you can read the command it used there
 
not here
/opt/bin/php -dpcov.enabled=1 -dpcov.directory=/opt/src/mimus/src -dxdebug.coverage_enable=1 /opt/src/mimus/vendor/phpunit/phpunit/phpunit --coverage-clover /home/krakjoe/.PhpStorm2018.3/system/coverage/mimus$src.xml --bootstrap /opt/src/mimus/vendor/autoload.php --configuration /opt/src/mimus/phpunit.xml --teamcity
 
Wes
neat
 
10:10 AM
can you maybe deselect it from the php interpreter setup?
it doesn't seem to matter whether I have it selected or not, it doesn't try to load it ... clearly windows is different, it's under others in runtime of php interpreter setup ...
 
Wes
so basically it checks whether the clover file exists and opens the coverage window, or something like that
 
how do I open the window, I'm getting coverage data in the ui, on the left hand side of the code window?
when I select some coverage there, it brings up some browser icons, and when I click one of those, it brings up a blank screen on localhost:63342/mimus/… for example ...
 
Wes
you should see the coverage also where you have the php files @JoeWatkins like Foo.php 100% means it's 100% code coverage
 
yeah I got that, but the actual data is on the code window
is it same in windows ?
 
Wes
what's the question?
yes
you can move the coverage panel by dragging the tabbutton
 
10:20 AM
yes, but I'm asking about whether windows shows the coverage in the code pane, on the left hand side, the green/red blocks ?
I think the blank browser window is something to do with the general project setup, on the right of the code pane are lots of warnings about classes not being found and such, so I did something wrong there ...
oh no wait, that's because missing stubs for componere
long and short seems to be that yes, it works, but someone should open a ticket for proper support ...
 
Wes
@JoeWatkins yes it does
thats the useful part :D
 
@Wes that seems to be the only data I can access ... yeah I agree, that's the useful bit ... but it should work the same as xdebug, and shouldn't be forcing xdebug to load ... pcov can't function properly when xdebug is loaded
 
Wes
that works for you, right?
 
yes, but xdebug isn't being forced to load here
 
Wes
that's because you configured the run command manually, i bet that works for me as well
what i was trying is "run with coverage" command
 
10:26 AM
yeah maybe, I been using phpstorm for 45 minutes ....
 
Wes
which adds dxdebug.coverage_enabled automatically
 
yeah that's added automatically for me too
but ignored if xdebug isn't loaded by configuration, but you seem to have it being forced to load, probably because windows, but not sure, maybe it won't if you configure it ...
 
Wes
what's the pcov command? i am not actually trying yet i am just guessing
need to compile the ext, which means i need to update visual studio first
my archenemy
 
it's on pecl
-dpcov.directory /path/to/your/src should be all you need if pcov is loaded by your default configuration
you'll need 7.2, and phpunit 8 installed too ..
 
Wes
oh joe btw, can you do a quick test for me? do you have a big test suite you are using for pcov?
 
10:34 AM
not locally no, I did have but since the version requirements changed, can't run it against laravel/symfony or anything now .... I got the phpmyadmin/sql-parser suite setup for testing, but it's not huge, 4 seconds pcov, 10x longer xdebug and -10 seconds with xdebug prepend filter
someone ran some symfony suite, and it was 24x faster in pcov ...
 
Wes
btw did you solve that circular phpunit code coverage dependency?
 
not in a way that we understood
we set COMPOSER_ROOT_VERSION in CI and it magically worked
look at what jordi said on the original pr to php-code-coverage, the messy one, not the one that was merged
 
Wes
link?
i missed it, i was reading the message on twitter i think
 
Wes
10:50 AM
from my understanding what it does is correct @JoeWatkins phpunit depends on an older version of code coverage, so you can't install phpunit when root is code coverage
 
I've no clue, I have literally no understanding of how that works at all
 
omrng
 
\o
upgraded to phpunit 8 to test pcov on @tidewaysio testsuite. Runtime of testsuite increases from 34 seconds to just 38 seconds with coverage for a codebase of 65k loc. This is going to be viable to run by default on CI :-)
 
Wes
\o
increases?
 
yeah, 34 no coverage, 38 with coverage
 
Wes
10:58 AM
nice
phpdbg was pretty fast already
bottleneck for me was code-coverage itself
 
try pcov :)
there's no bottleneck in code-coverage, and phpdbg is a debugger, and makes mistakes ...
 
Wes
download a big test suite and i will prove you
 
it may be true for xdebug or phpdbg, neither PHP driver was very good ... but it's not true of php-code-coverage itself ...
I didn't say I didn't run it on big test suites either, clearly I have, run on massive (private) suites ...
when developing, we were testing with phpunit 7.5 you see, and now that it's released and requires phpunit 8, it's hard to change the public suites I used during development to run it, so I haven't bothered is all ...
 
Wes
https://github.com/sebastianbergmann/php-code-coverage/blob/master/src/CodeCoverage.php#L351
https://github.com/Netmosfera/PHPCSSParser/blob/master/tests/CodeCoverageHack.php#L350 <- my patch (my file is old tho)
that linear search kills performance in big test suites
 
it depends what is passed from internal to php driver .... in array is not very nice, but seriously, try it ...
try your patch too, I may be wrong, but this looks like handling of malformed data passed from internals
there is no remarkable slow down, even with absolutely massive suites ... and just look at the code for the drivers too, neither of them actually provide the interface that php-code-coverage needs, so it has to be cleaned up and changed by php-code-coverage before use, that line really looks like the same ... in addition both drivers will hand over huge amounts of data that is not necessary ...
 
Wes
11:11 AM
try changing that line and the next one
it made a big difference for me
 
I don't think it's travelled
 
Wes
travelled?
 
if (empty($this->data[$file][$k])
it isn't empty ...
 
Wes
that's not the problem
 
wut
 
Wes
11:14 AM
that's not the code i changed
 
the only change I can spot is in_array -> isset
am I missing something?
 
||
 
Wes
https://github.com/sebastianbergmann/php-code-coverage/blob/master/src/CodeCoverage.php#L349-L355
change with this
https://github.com/Netmosfera/PHPCSSParser/blob/master/tests/CodeCoverageHack.php#L348-L354
 
ah
I see I see
 
Wes
isset($a[$id]) <- fast
in_array($id, $a) <- slow
it's just that
 
11:20 AM
shouldn't you ditch the empty too
 
Wes
if you are testing on a small test suite you won't notice much, because linear
 
I can't measure a difference, but the biggest suite I have locally is the sql-parser one, suggest another public one that won't take an hour to modify to work with 8 ?
 
Wes
dunno
is 8 that different from 7?
anyway, need to go to bed i'm not felling well
 
void return typehint on setup
nn
 
Wes
ew
void so overkill
 
11:24 AM
hope you're better soon o/
 
Wes
thank you
 
@JoeWatkins @ircmaxell @pmmaga Draft gist.github.com/nikic/cc00380a7bfb28b5e2a7927a7274eb74
 
ship it
 
did the extension function addition need an rfc in the first place? I wondered why it wasn't just a pr
 
@NikiC yes. please.
 
11:27 AM
first, clear your schedule, because you are going to need time to argue with everyone ... then ship it ...
 
@Paul It depends. If the maintainer agrees and nobody else particularly disagrees, then no.
But it's not always clear cut, and sometimes there just isn't anybody who wants to take personal responsibility for a merge (especially for exts that are not particularly actively maintained)
 
a lot of the time, an addition to an extension can be seen as a bugfix even, because we've missed some important part of an API, or the original API is not sufficient to do it's job but cannot be removed or changed
 
fair enough
 
I might use slightly different words there
I might say "such as an additional extension feature" ...
or omit it altogether ...the first words we write are going to be the ones that are referenced in the future when there is disagreement ... if they are vague, that's possibly worse than omitting them
we can clearly judge the scope of each suggestion on the merits of the suggestion itself, without needing to clarify that before hand imo
maybe over thinking it, and badly :)
 
10 parallel builds for open source. That sounds much better than what we get from AppVeyor
 
11:43 AM
we can only have one parallel build in av right ?
unlimited minutes too
that does sound better ... that's the main problem right now, we only use two builds but they rarely actually complete
 
@JoeWatkins we have 2 parallel
 
so we could run three builds ?
 
@JoeWatkins how do you mean?
 
I thought it was one + one parallel
so max of 2 in parallel
2 or 3 is still a very small number, 10 is better, and this unlimited thing is most appealing
/s/unlimited/unlimited time/
@FlorianMargaine had some pretty devastating opinions on azure though, not sure if applicable here ...
 
12:04 PM
Morning
 
12:28 PM
\o
 
@NikiC a few comments. First, while it may have been my idea, I don't think you're "just posting it". Maybe word it that "You're posting it because you find it compelling" or something? The way it currently reads is that you're just doing me a favor by posting it
 
@ircmaxell yeah, agree
 
> 1. All primary RFC votes require a 2/3 majority, while secondary votes resolving implementation details may use a simple majority. (This is the same as the voting margins RFC.)

Is your intention here to change this with the other RFC? Because I think a key tennant to this is that 2/3 should be required otherwise there is more risk with less discussion?
> the result is unlikely to change in your favor, and that continued misbehavior might be seen as spam.

What would you think about making that stronger... "and that continued pushing should be treated as spam and lead to suspension per the mailing list guidelines."
 
@ircmaxell I'm not sure, but I think yes, we should handle the voting margins part in the other RFC. I think that's the one change we absolutely need and we shouldn't couple it to anything else.
 
@NikiC oh, totally agree. But I think the intent is to have 2/3, so maybe mention that the rule should be 2/3, but the intention would be to solve that in the margins RFC, so it wouldn't need to be addressed here specifically?
 
12:44 PM
@ircmaxell I wanted to avoid mentioning mailing list suspensions to keep it positive ^^
 
Fair enough. In that case, strike that comment.
 
"and that continued pushing should be treated as spam and be dealt with as per mailing list guidelines"
maybe ...
 
Otherwise I think it is quite well presented
 
I just misread that ...
 
@ircmaxell I made some tweaks
> The proposal I would like to present in the following is not my own idea, it has been suggested by Anthony Ferrara. Because I found the idea very compelling, I'm presenting it to the list now.
> (This is already proposed in the voting margins RFC, so discussion about this point should be directed into the corresponding RFC thread.)
 
12:55 PM
Awesome
 
@MadaraUchiha Yep, I know. Just wanted to make sure the base query worked first then i'll look into validation/injection protection
 
didn't travis add windows support at some point?
 
@Paul yes they have experimental windows support
 
has anyone tried it for php-src?
 
1:59 PM
Is there any function in PHP to show "1:00" as "1" and "1:32" as "1:32" ?
I can do that (removing .00 from the number if exists), but I want to know is there any existing function for doing that?
 
@Shafizadeh It is unclear exactly what you're trying to do. It looks like you're trying to parse a time value. I would look at php.net/date_parse
 
no no it is not a time .. it is actually a float number
like this:

1.01 ----should be----> 1.01
1.00 ----should be----> 1
 
I don't know of anything offhand that would do that. I would just do a simple conditional check to see if your number is equal to an integer representation of itself.
 
ah ok thx
 
2:15 PM
moin
 
2:47 PM
> XFAIL REASON: Maybe not a bug
 
user9578966
hi , i got my account banned a time ago for asking stupid questions ( i was a noob at that time ) and now i have became pretty good at php , still got to work to be honest. And now i don't know how should i edit my questions so i can ask questions again. Can someone help me ?
 
Morning
 
user9578966
Morning
 
No Dan Lugg around. =(
 
@ValentinGrigorean Sounds like you need to read meta.stackexchange.com/questions/86997/…
 
3:07 PM
now the question is, where to get a pink keyboard ...
 
get a gamer keyboard with programmable lights and have at it
 
yeah, I was disappoint they only had green and blue
also, it's a totally shit mouse, I've been using a trackpad for years ... they had one of those ones with the ball on the top, but made by a company I never heard of and 115 eur
it'll do for a while, until I can find matching set with a nice mouse in good colours ...
I missed scrolling, that's nice ...
 
@JoeWatkins What is the maximum price you want to pay for a pink keyboard?
 
how pink is it ?
 
3:13 PM
so this test from 2011 is XFAIL.. adapted to run on PHP 4 it shows the same behavior for 4.3 - 7.3 - any objection to changing it to instead expect the current behavior? "Maybe not a bug" is an understatement at this point
 
not pink enough
 
@Paul sgtm
 
better, but wants to be electric/bright pink really
 
3:17 PM
They are very rare, thats for sure
 
phpunit 7.3: 32.88 seconds phpunit 7.3 with coverage (xdebug): 10.89 minutes phpunit 8.0: 33.36 seconds (lots of deprecation warnings) phpunit 8.0 with coverage (pcov): 51.5 seconds Nice! https://twitter.com/krakjoe/status/1091227580601171968
 
@JoeWatkins That's too much pink. You need some contrast or else it just blends together. You may say this is blasphemy. =P
 
there is no such thing as too much pink
 
I think I want my whole setup in blue
Dodgerblue
 
Without contrast you cannot enjoy it as much, IMO.
 
3:20 PM
it's always going to contrast with wooden desk, black screen ...
/me searches for pink screens
 
I like the flowers on the spacebar
:P
 
me too
 
I think a hot pink backlight keyboard would be better. With black keys though.
 
3:22 PM
tech is such a boys club, you can't even get a pink monitor ... little pink tv's but no serious monitors ...
 
Maybe this pink? Same store
https://mechanicalkeyboards.com/shop/index.php?l=product_detail&p=1950
 
There is a show on Netflix, I think it is called Amazing Interiors. There is a lady that has every single thing you can imagine in her house - all pink. Not one thing of any other color. It makes my eyes hurt... and I love pink. It's crazy.
She spent over a million getting everything in pink.
 
That would be way to much pink for me :P
I'll just stick with Jane the Virgin, more than enough dramatic scenes
 
this is mostly in an effort to just brighten up my workspace
@KoenHollander it's nice, but I want it to be brighter still
 
OMG. The chat is beeping when someone tags me :P
 
3:25 PM
maybe try a lamp
 
Love it
 
white monitor (easier to find), pink bulb
 
used to have a white aoc one, but only white on the back ... and I got the sun most of the time, not brighten in that sense, just tired of looking at black/white stuff
 
/me back to reading my book- see you guys in a bit.
 
lata
flowery one is growing on me, it's pretty ...
 
3:28 PM
isn't it?
 
Is True Jackson VP also on Netflix?
 
you could give your monitor trim a nice fabric treatment with a bit of hot glue
 
@StatikStasis
 
I'm not bad with a can of paint, I've considered it ...
I painted a laptop years ago, but it's hard to get monitors apart for paint
they're all sonic welded together
 
I hate rattle cans.. can never fully get rid of the orange peel
 
3:33 PM
slowly, and sanding between coats is the key, and nice even lacquer ... it's possible to get a nice finish ... I've painted much bigger things than a laptop, bonets/roofs of cars, stripes ... not bad at all at it ...
the main problem is just getting it apart without breaking it ... you can't paint it with the screen in place, it will look crap because you can't mask it well enough ...
you'll either have paint on the screen or black plastic showing ...
not even a single screw on this one
 
you can mask it well enough, it's just a pain
the good tape from auto body shops helps
 
well, I'd normally mask and then score with a knife to get a straight edge, on a panel or woodwork, but can't think of a way to do it nice on this
 
but screw paint anyway, what you need is hot glue and fur trim
 
haha
@NikiC how much longer will it take you to find the courage to post that thing ?
 
@KoenHollander Not sure
 
3:44 PM
ooo, maybe rhinestones.. bedazzle that bitch
 
you know @Paul you sound a bit like my wife, she likes the fur idea, and is on about decorating a track ball because we can't find a pink one ...
 
my amazon suggestions are going to be fabulous after this
she's clearly a woman of taste
 
clearly, you only have to look at her choice in husband to know this ...
 
indeed, you're fur trimmed too
 
@Fabor if you had a wishlist, I'dve bought you something better. 😛 I got @FélixGagnon-Grenier Hellblade
 
3:55 PM
> Your English must be very good, both oral and written. We still like accents though, but to a limited extent.
is it just me, or is that an outrageous thing to say ?
 
that is... whatever they were actually trying to say they did it wrong
 
made with love dot be backend engineer job posting ...
it reads just terrible ...
 
it's not good, that's for sure.. I'm guessing they have an opening in HR too
 
@JoeWatkins I think they just want someone they can talk to with ease … I mean what's the point if you understand each other only barely or not at all?
 
yeah I'm quite sure they didn't mean to say what this implies ... but they did ...
 
4:01 PM
@JoeWatkins Umm, what does it actually imply?
I was reading that just like they said it
 
the first sentence is sufficient, the second should go
 
yeah, not really an implication, they said outright they don't want to work with you if you have a strong accent ...
 
@JoeWatkins is that a problem?
 
or they're after a token sexy-accent guy
but just one
 
I'm shocked that you don't see the problem in that actually ...
 
4:05 PM
@JoeWatkins Could you please enlighten me?
 
1) there's no such thing as an English accent
2) there are a variety of accents within England alone, a different accent every couple of hundred miles in mainland UK
3) you can have extremely good language skills and still a very detectable accent, that doesn't effect your ability to communicate
4) it's extremely exclusive, and comes off just rude, to me ...
 
accents exist, they're just what someone else has
 
the people who can/do talk in English with no detectable accent at all, reside in a strip of England about 150 miles wide ... all of the rest of the world that speak English, do it with an accent of varying strengths ... that is why I say it's exclusive .... because it actually as a matter of fact, is ...
 
!!dad
 
Why do bees hum? Because they don't know the words
 
4:16 PM
@bwoebi Kind of like someone here in the States saying "We're looking for someone who can speak English very well. If you have a southern country accent that is ok, but not a hillbilly accent."
Well- have to give the dog a haircut.
 
it sounds like a euphemism, but I don't know what for
 
@bwoebi they obviously don't mean they want someone from that 150 mile strip preferably ... but given the facts, why say anything about accents, it's nothing whatever to do with your ability to communicate, not orally, not formally, not written ... it's a pretty awful thing to say imo ...
 
@JoeWatkins Sorry, was busy with something else. Sent now
 
if you made that job advert in England, you would be sued
@NikiC cool
I done a totally reasonable +1
 
4:36 PM
I'm still gonna cue up 25 shitty test changes to gain a vote out of spite if things go south
 
I think for a lot of people, they will panic at the idea of such a drastic change in the way we work without really thinking about the benefits, the first thoughts that came to my head were negative also, and it's only on reflection and trying to see what kind of future it creates that they become very appealing ... but I was worried about the same things people are going to bring up ... I just hope we can talk enough of them round ..
 
it's not that drastic and the problems are imaginary
 
well drastic in the sense that it is throwing out the rule book, and replacing it with rules you could write on the back of a bus ticket ...
z will probably totally miss that this is actually great for dmitry too
 
remember to thank him if this passes, it wouldn't have happened without him
 
he could get so much more done, we all could ...
 
4:48 PM
@bwoebi think of English speakers from other countries, for example India. An applicant may have excellent written and oral skills, can enunciate their English appropriately, but still have an accent. Why should it matter if they're capable?
 
anyone already self-conscious about their accent would have an extra shitty time applying/interviewing too... if they got that far
 
I have a coworker who's Vietnamese, and at times it can be challenging to understand what he's saying. As time has gone on though, understanding him has become easier and his accent isn't as pronounced either. He's capable at his job, regardless.
 
@Wes On principle, I don't use PSR-4.
@JoeWatkins I think they're trying to say "we like non-native English speakers, so long as they can communicate effectively", but managing to say it in a racist way.
 
yeah definitely, but racist is how it seems to me too, but I didn't want to use that word first ...
 
5:20 PM
apropos of nothing, I'm enjoying Language Implementation Patterns ..only a bit over half way through but it's a pretty cool book
 
and how many times thus far has PHP been given of as an example of the way not to do something ?
 
its existence has been thus far ignored
 
> how to concatenate strings.
 
it's been a while since I was in trending list on github ... that's nice ...
 
5:42 PM
@LeviMorrison I've been reading up on zval separation and external iterators (Rust) (lazy sequence in Kotlin). We have the opportunity to do something really cool here. How far have you gotten along this direction? I'll probably be writing notes on this all day so will share what I managed to come up with at some point.
 
yo rudi
 
Hello hello.
All the best with what you guys are trying to achieve btw. I'm an observer but I have a little #room11 flag that I'm waving furiously in support.
 
Got my dog all trimmed up.
 
@Paul I'm reading CODE at the moment, very cool book too. Have added LIP to my list.
 
@rtheunissen sorry if I sent you off on a tangent, but glad you seem to be having fun with it
 
5:46 PM
Tangents can be good.
 
the dragon book is next up for me.. hoping it'll be less intimidating by the time I get there
 
I have a few classics to get through, pragmatic programmer, clean code(r), myth man month etc. Have only recently started to read more (have always wanted to)
 
$165! Yikes!
 
it's like a thousand pages
 
Then superintellegence and maybe master algorithm but not sure if I'm set up to get that much out of them. ie AI noob jumping into the deep end
 
5:53 PM
@NikiC I'm still reading ... I decided to ignore the dasm bits for now, and just try to understand how the thing actually works ...
it's nothing like as complicated as I thought it would be
 
17 cents a page
 
@JoeWatkins I think this doesn't really apply to php...
 
dasm_link_and_encode
here's how I want to respond to that ...
Without understanding all of the JIT implementation in detail, the basic facts are that the way code is compiled is not changed by the introduction of the JIT. Zend will still compile discrete Zend VM opcodes as it does today, the JIT then compiles those discrete instructions to machine code and replaces the Zend VM opcode handler with that machine code.
Quite unbelievably, and in this regard, it's not such a big change for Zend, and is in contrast to what I think you (and others) may expect, which seems to be that the JIT compiles and replaces opcodes at the top most level for a unit of execution - function (or file).
 

« first day (3031 days earlier)      last day (1917 days later) »