« first day (3050 days earlier)      last day (1898 days later) » 

1:10 AM
@NikiC we can use just zend_object if we sneak buffer length into handle and use properties_table for the buffer data. Any potential or no good?
 
 
5 hours later…
7:05 AM
\o
 
8:00 AM
hoopla excited commotion : to-do
 
@NikiC can you review that pr for me please ?
 
8:24 AM
mornin
 
properties cannot be typed callable in 7.4?
surprising, but fair
 
they can't
I'm not sure why, the rfc said they could, I thought it was handled ...
/cc @bwoebi
 
8:49 AM
I saw it in the RFC. Seems to make sense. A bit unexpected, but logical
 
9:08 AM
@Danack I saw this yesterday and didn't took the time to answer. So thank you now :)
 
9:19 AM
@NikiC removed that last check ... I just preferred it that way, having on DO_ is easier to manage for tooling, but it's not that important ...
hmm
nvm, bug in my code ...
 
Wes
9:41 AM
hello all
 
morns
 
Wes
@Danack do you know how to get rid of .phpunit.result.cache in phpunit 8? i don't know what it is but i probably don't need i, except unless i delete it before running tests it messes up something with the results
 
yo @Wesmonster
 
Wes
yo
 
I ordered your shirt on 15th of last month, and still haven't gotten it. Whats up with that?
 
9:43 AM
@NikiC in case not clear what this is driving at ... it's hotswapping, need to be able to hotswap a user function for an internal one, and vice versa ... tideways does it, uopz does it, other apms must do it ... uopz works around it today with very nasty hacks, tideways is only swapping internal for internal today, and handles user functions othewise ... but it should be possible to swap anything for anything, this makes that reasonably doable because non specialized vm ops handle both
(and overloaded)
 
Wes
@mega6382 dunno, i don't ship myself. it's teespring. don't you have a tracking thing or something?
 
@Wes Yes, but the last update on it is from 1st of Feb, nothing after that.
 
Wes
try to contact them
 
hmm, yeah, seems like the only option left.
 
Wes
:(
 
10:04 AM
@ircmaxell yeah, scoping of callability is not our friend here. We could've made private properties typed callable, but That's be a bit too special I guess.
 
Yeah, given that trade-off, definitely agree with the decision
 
 
2 hours later…
12:03 PM
ya! segfault in 7.4 :)
Program received signal SIGSEGV, Segmentation fault.
0x0000555555af5ef8 in zend_std_get_gc (object=0x7fffff7ff090, table=0x7fffff7ff050, n=<error reading variable: Cannot access memory at address 0x7fffff7feff8>) at /home/ircmaxell/Workspace/PHP-Compiler/PHP/Zend/zend_object_handlers.c:119
119     {
 
are you talking about pointers?
anyway, segmentation fault makes the compiler feel bad.
 
@ircmaxell congrats ... I guess?
 
12:29 PM
Laravel 4.2 pagination with 50 bounty points question for you guys :D
------------
https://stackoverflow.com/questions/48441489/laravel-4-pagination-links-empty-page
 
12:45 PM
@tereško tell me about it, petition to add a day after Saturday called Freeday
 
I'm under the impression I already accessed the user management page of the wiki but now I can't find it.. Does that require any special permissions that I'm missing?
 
1:01 PM
Good morning, room.
 
so, I pulled back the the VM approach, and will add a region based JIT compiler to that. here's the benchmarks for some simple code it runs:
Timers:
  Initialize Libraries: 0.03062105178833
  Parse: 0.0042819976806641
  Traverse CFG: 0.00022506713867188
  Reconstruct Types: 0.072190999984741
  Compile: 0.00083184242248535
  Dump CFG: 0.00038814544677734
  Eval Code: 0.00036787986755371
  Run in VM: 0.019495010375977
running
<?php
$i = 0;
while ($i < 100) {
    $i++;
    $message = "test $i \n";
    echo $message . "another\n";
}
/me is crazy
 
We're working with this confounded language... we all are.
 
1:21 PM
 
1:40 PM
mornin
 
2:04 PM
Did everyone take today off... this is the quietest it has been in a long time in here.
 
@KebabProgrammer unfortunately, there are too many religious fanatics for it to get through
 
Maybe it meant add a day after Sunday.
This is sort of a big deal here: finance.yahoo.com/news/…
 
@StatikStasis I was just about to comment. For a Thursday afternoon this is v quiet
Though it is half term in UK, so those with kids are probably out
 
@JayIsTooCommon What is half term?
 
@StatikStasis school holidays. So like a week off school for kids.
 
2:18 PM
It's been pretty quiet since I last posted before going to sleep last night.
ah- gotcha.
How is the police force?
 
crazy
but fun
 
Fun? Enjoyable?
Nice
 
Much more difficult than I could have ever imagined. But I like a challenge so
 
You're in... UK, right?
 
2:20 PM
You guys carry, correct?
I cannot recall which country didn't allow their police to be armed.
 
No, just CS gas. ARV's are on patrol 24/7 but specially trained, not basic response cops.
 
ah- gotcha.
Do you get any practice with firing?
 
Not yet. You have to be in for 2 years before you have the option. Even then, they'll be a long waiting list
 
Forgive me- I forget some of the laws there. Is gun ownership legal by private citizens?
I don't think you guys have concealed weapon permits as we do in most states.
 
@StatikStasis Not in a public place no. You can have a license for private ownership and use (i.e. farmer and a shotgun)
 
2:23 PM
Oh ok.
I have a CWP here. Have for almost 10 years now.
 
What made you get that, protection?
 
@JayIsTooCommon What were you doing specifically in the coding realm before you went into police work?
 
Software Engineer for private sector company, PHP and Angular
 
@JayIsTooCommon I hunt deer during open season. I usually always took a sidearm with me in case of a cayote, mountain lion, etc. came up on me. Quicker to pull that than to aim my rifle.
But since I could not carry elsewhere I could only put it on when I got to the hunting grounds.
 
Nice, practical
 
2:27 PM
With my CWP it allowed me to put it on and forget it- but yes, that is a small part of the year (Oct-Jan)
The other part was protection.
I am one of those 2nd amendment people. But... I'm not part of some secret militia or one of those fanatics with a bunker.
I only own two handguns and 1 rifle.
I don't have an AR... though I have shot plenty of them with friends. I also like clay shooting.
It's fun.
@JayIsTooCommon I think I asked you this a while back- what made you make the switch to the force?
 
haha, fair enough. I think if I was in the US I'd always be at the ranges, looks like a lot of fun
@StatikStasis couldn't stand being in an office. Did it for 5 years and it was just grating on me, wanted to do something more out there. I like programming, just can't sit indoors for weeks on end
 
@JayIsTooCommon Majority of law enforcement in the US are pro for private citizen ownership and rights to carry. Eh- it all depends on the culture.
@JayIsTooCommon Makes sense. I do a lot of woodworking myself.
 
Aye, good to have a balance
 
We dive too much deeper into gun advocacy or anti- gun advocacy and we'll disturb something in the deep. May be best to leave it be. I've woken it up here before. =D
So do you do mostly traffic stops or...?
@JayIsTooCommon I have to say... I love your hats a lot better than the goofy ones they wear here.
 
@StatikStasis No not mostly, they're quite rare. We have dedicated traffic police who go out and mostly do them. I'm a response officer so I just respond to 999 calls all day mostly. We don't have many cops so you don't get much time to go out and do traffic stops.
aha, strange. I prefer yours
 
2:36 PM
Interesting.
There are some units where they are allowed to wear ball caps- which is cool.
 
Yeah, our armed officers are allowed to wear them. They look much better
 
Oh nice.
Do you guys have any live police shows as we do in the States?
 
yeah- that's nice!
I like that look much better.
And those arms.
 
@StatikStasis as in cop tv shows? If so, we have hundreds. Normally always on one of the main channels. I can't bare to watch them though. They just show you half the job
 
2:40 PM
Of course we used to have Cops- but the latest craze here is Live PD.
It's live and in a number of large cities from 9pm-12pm Fri and Sat nights.
It's really interesting.
I think it has had a positive effect on many communities and allows people to see what officers have to put up with.
 
oh shit! That must be scary for the cops. They say something wrong and it's out on live TV
 
o/
 
hehe yeah. I work out with a guy who was on there for a while. He didn't mind it.
@Allenph Yo!
 
@Allenph as anti-police, you won't like the convo ;>
 
But... he was glad when it was over for his area.
 
2:43 PM
@Wes I have no idea what it is. Maybe forcing it to run all tests rather then running on the failed ones?
 
He's a county officer.
 
@StatikStasis cool though. At least it's unedited and accurate
 
Oh yeah- there have been some hair raising moments many times.
Cars flipping over after a chase, find out there was a baby inside.
90 mile chases of illegal arms dealers.
 
@JayIsTooCommon It's better you're here than off extorting someone for no reason Officer Piggy.
 
I love the K9 cops the best.
@JayIsTooCommon I think what gets on my nerves the most right now are these "sovereign citizens."
 
2:46 PM
is that the, 'the law doesn't apply to me' people?
@Allenph :)
 
We have rights and I am all for upholding those. But these guys/gals go out of their way, armed with only internet knowledge from some forum, and make it so hard for officers to do their jobs.
@JayIsTooCommon These are the ones who refer to themselves in court in the 3rd person because they are [enter name] the representative, but not the person. They roll their windows down two inches at traffic stops, tell the officers they do not have to give them their ID, they claim they are just "traveling" and do not have to provide information or comply with their instructions.
In many cases they end up having warrants after they have been tazed and subdued.
 
@StatikStasis In half of the states that's perfectly legal.
 
was there interface for overloading empty() (same way as there is one for count())?
 
@StatikStasis Ah I know what you mean. More common in the US I think
 
@JayIsTooCommon This is a funny back and forth between a sovereign citizen and a very patient judge. youtube.com/watch?v=VnSd-E3Hb3Y
This woman's voice just irks me.
 
3:06 PM
ahah. "let me just write that down"
 
lol
@JayIsTooCommon Patience level 1000
 
Indeed, great guy
 
3:35 PM
A bunch of talented, amazing people from Travis will be looking for jobs soon. People who mentored me in: Bash, Go, Ruby. They built stuff with K8s, Hashi, worked on scaling, observability. Know cloud APIs like the back of their hands. /1
2
 
@Danack can I ask you some Stripe questions? trying to wrap my brain around some parts.
 
⬅︎ Is also familiar with Stripe.
 
I'm not sure if I'm missing any parts to how this process should go:
- customer fills out form with payment information
- first name, last name, unit number (storage unit), payment amount
- POST (?) to application
- application sends response to Stripe (?)
- Stripe sends response back (?)
- if payment confirmation then add payment information into database (first name, last name, unit number and payment)
I'm hoping I don't need to store any more information than that in my database.
And how are the funds acquired? Inside Stripe? I'm assuming that I can eventually build something to make it easier to acquire the funds, but it's not a focus for me right now.
 
- User fills out payment information
- User's browser sends request to Stripe with payment details (full card number, cvc, etc).
- Stripe response with token that is sent to your server
- Server makes request to Stripe with token and amount to be charged
- Stripe responds if the payment was successful or not.
 
^^ that, and I didn't need to type.
 
3:43 PM
Stripe's docs are quite good: stripe.com/docs/stripe-js/elements/quickstart
@Danack I've been used… :-P
 
I'll read them more closely. I've been skimming them and trying to build something alongside reading them, but haven't been thorough in reading.
 
I've done a lot with Stripe, so I'm happy to help.
 
I was thinking of writing two classes - Payment and Stripe, where Payment would handle payment stuff on my end, and serve as an adapter for ... I'm now realizing this might violate SRP ... anyway, adapter for Stripe, Stripe would be a wrapper basically? or maybe I make Stripe the adapter, and Payment interacts with it?
 
@Danack ugh... :/
 
@Trowski also congrats with Psalm :)
 
3:50 PM
@Tiffany Thanks! Hopefully it will help get a lot more exposure for Amp.
 
Yeah, that would be sweet.
 
@Tiffany I really strongly recommend not abstracting into a generic payment class. Just expose that it is Stripe you're using.
 
Reason I was thinking of abstracting it is in case I have to switch. I don't think I will, but who knows.
I guess it's not that hard to switch if I had to?
 
@Tiffany I made a PaymentMethod interface with charge(), getAmount(), getname() methods, a StripeCard implementing that interface that uses a StripeCommunicator which actually does the communicating to Stripe.
 
alright
@Trowski that helps, thanks
 
3:53 PM
I also have PayPal and CustomerAccountCharge as payment methods, so that's some of the reason for the abstraction.
 
yeah, I'm a little worried my dad's customers will pressure him for a paypal implementation ...
I understand that working with paypal is painful
 
The PayPal API is terrible.
I've learned the pitfalls though, so I can probably help you out there too.
Mostly it's that their documentation does not well explain what values are required or would be considered invalid until a customer payment fails.
 
so on my end, I will need a database? and storing first name, last name, unit number, payment amount and stripe token is enough? or is storing the stripe token a security risk?
 
You will want a database to store order information I assume. You'll want to store successful payments and some of the information Stripe returns. I store the last 4 digits, expiration, and card type (e.g., Visa debit card).
Storing the token is not necessary, it's invalid once used.
 
@Trowski I'm hesitant to store card information, I'm not confident in my ability to keep the database or information secure.
 
4:00 PM
Those details aren't considered private by PCI standards.
 
My dad said he'd need at least the unit number since that's how he can identify the customer who owns the storage unit, since sometimes other people pay for the unit than who's listed as the owner (like spouse or something)
 
@Trowski do you have EU customers? For what purpose are you storing them...?
 
I included first name/last name, in case someone mistyped the unit number. My dad tells them he hasn't received payment, customer said they did ... so first name/last name would be a way to help clear that in that situation.
 
@Danack No. So if a customer later asks how it was paid I can tell them.
 
I'm curious - why would people ask that?
 
4:03 PM
I'll have to see if my dad would need that information. I can see the value of having it, but if he doesn't think it would be necessary for him, I may opt out. Though... it could still be useful ...
 
  try {
                $normalized[$name] = $this->children[$name]->normalize($val);
            } catch (UnsetKeyException $e) {
            }
....symfony....
 
@Danack customer dispute, I'm guessing
 
"I want give you money.", "no, you've already paid for it, you don't need to pay again", "Prove it? Or let me give you more money..."
 
@Danack ^ That, and some businesses have employee cards and it helps if I can just tell them the last 4.
@Danack You'd be surprised how often we get double paid on invoices.
Though that's generally with a check, not credit cards online of course.
Since then the system says "You've already paid this stupid!"
 
I'm guessing there's also some fringe benefit of verifying/identifying a customer correctly, though ... I don't think this is a good method of doing it. Verification should be done in some other way.
 
4:08 PM
@Danack I can't imagine doing this in the EU right now… I'd have to be even encrypting a customer's name, yes?
@Tiffany If Stripe is willing to send the information back to me, then it's not private enough that I can't store it.
 
Trying to write out programming logic on index cards is...lackluster... I need to find some larger paper...
 
I don't store everything Stripe sends back, but I do store the transaction ID so I can look it up if necessary.
 
@Trowski depends on what other stuff you're storing and for how long. If you're storing personal info then probably. If you're just storing the fact that the paid for something, and only storing that info for a year, then probably not.
 
@Danack I'm storing address, phone number, etc, so yeah, probably. I haven't looked at all into how those schemas work since it hasn't been necessary.
A year isn't nearly enough for that type of data in the US. 7 years is more typical. Though would it have to be on a live server of course, that could get replaced with some simple flag that the order was paid, but details removed.
 
@Trowski I guess my concern would be -- is this information that customers would be worried about being revealed to the public if there was a breach? (if the information is plaintext)
 
4:17 PM
\o
 
o/
 
\o
 
@Tiffany No, they print that information on basically every receipt you get at a store.
o/
 
Personally, I like to store all user credentials into the same log file that linux writes to when you attempt to sudo with the wrong password, cuz no one knows where the hell that is.
 
@Tiffany If you're uncomfortable with it, don't store it. You can store the Stripe transaction ID, which you can use to look up info about the transaction later.
 
4:22 PM
^ that's pretty much all I do
 
@Trowski that seems safer for me.
 
I don't store the card details in my server's DB either, it just goes into the payment information field on the invoice in the inventory system, which is in someone else's DB (not sure if better or not, lol)
 
@Danack with luck maybe they'll make whatever we're gonna use instead of travis soon it sounds like
 
either way all I care is the confirmation of their payment and then a way to pull a report of all payments for a period
 
@Paul the github actions will soon be a reasonable replacement.
 
4:25 PM
last 4 numbers gives you some continuity at least
 
@Danack what's coming down the pipe with that?
 
On most websites (in the US at least) an order usually references how it was paid for by the last 4 digits, expiration, and card type.
 
@Paul do you mean in general or specific question? github.com/features/actions
 
I mean you said "will soon be" like something particular is coming up
 
ehh ... php ... 3v4l.org/vg2B2
 
4:29 PM
They're improving the service and still adding some stuff that people would expect to be there - e.g. build status badges aren't a thing yet.
 
we don't need no stinking badges
 
silk badges for everrrrrrrrrryone.
 
lol... could I abstract the details of being an officer in a guild for a game and having to manage people? as a resume thing
 
@Trowski I hate PayPal. I absolutely love Stripe. PayPal has become a cumbersome mess. I use Amazon Pay as well... but I haven't formed an opinion yet... they still have a lot to go in my opinion. Especially when it comes to allowing the use of their service to be built into a mobile app.
 
@StatikStasis I've thought about adding Amazon Pay, but I wasn't sure if it was worth my time.
Do customers often use Amazon Pay?
 
4:39 PM
I had to keep track of ~60 members to make sure they were contributing during an event. I had to keep track of the points they contributed and send individual messages to members if they didn't meet the point requirement by a deadline stating that they were being kicked or taxed a resource that was easy to acquire in the game. I ended up turning it into a lot of administrative crap. There was some other stuff I did, but memory lapse.
 
@Trowski Not as many as I thought would.
@Trowski Their testing tools are not great. Stripe just amazes me at how well every part of it is built.
 
@StatikStasis PayPal is already only about 1 out of 20 customers… so I question it. People might use it, but would they have not made a purchase without it?
 
Multiple users, multiple accounts, etc.
GUI interface.
 
@StatikStasis Definitely. Stripe is like the gold standard of API design.
What are the fees for Amazon Pay?
 
@Trowski On one of our eCommerce platforms we offer Stripe and PayPal. We had PayPal first and used Authoriz e . net for the other. Authoriz e . net (don't want to offer them backlinks) had a ton of issues and we switched to Stripe. We still have about 59% of our transactions where people use PayPal... I think it is just a matter of them having it and being able to login with their PayPal account and pay- where with Stripe they have to enter their details each time.
@Trowski Our other platform (much smaller-growing) we use Stripe and Amazon Pay. I thought Amazon Pay would be great because so many people have an Amazon account and they could use that to login and pay- but I think we only have about 20% of our customers who use it. Just a rough estimate without looking at the data.
@Trowski 2.9% plus 30 cent per transaction; standard.
We get a small decrease on PayPal due to our non-profit status. Cannot recall whether we did for Stripe. It's been a while since we set it up.
The issue I have with Amazon Pay is they currently will not allow it to be used within a mobile app. It's either web browser or desktop only.
They will suspend or ban your account if you do. At least last time we checked which was about December 2017.
@Danack What exactly is happening at Travis-CI?
 
5:00 PM
rofl... I've been throwing papers into a cardboard box that are to be recycled... cat climbs into the box
 
@StatikStasis it was sold to a software frankenstein company last month or so, it seems they are cutting big
 
random papers = toys?
 
@beberlei ah- ty
 
from the way they sold it, the quick cut of employees it looks they are in deep financial trouble
 
@Tiffany fresh wad of paper is a fav cat toy here.. they're super excited when the mail comes
couple that with a cardboard box and I don't see how a cat could resist
 
5:02 PM
@Paul :D
 
Our cat used to love when we would get boxes and we would take the brown paper void fill out and open it up and put it in a pile. He would jump all through it.
 
@Paul I'm now crumbling up the papers and throwing them in the box... she's playing with them
 
5:24 PM
@StatikStasis travis' business plan was to sell CI to enterprises. Microsoft bought github and are launching github.com/features/actions which completely kills Travis' business plan. So presumably the investors behind travis wanted to sell it as quickly as possible. I don't know the details of what is actually happening at travis, but it sounds like they're abandoning their growth plans and are trying to turn what they have now to be profitable.
 
travis got bought out like a month ago.. this is the new owner squeezing the life out of 'em
 
@Danack travis was self funded
 
uhhhhhhhhh....it turns out they were communists github.com/travis-ci/travis-ci/issues/925
> It seems like travis-ci.org is a communist organization. These commies want to defraud America what is rightfully ours. We need to stop foreign entities like travis-ci.org from infiltrating American businesses.
 
I didn't know trump was a personal friend of yours @Danack
have I missed anything important, or can I go back to code ?
 
travis just laid off everyone.. other than that yer fine. enjoy.
 
5:36 PM
oO
where can I read about it that isn't a github issue ?
 
2 hours ago, by Danack
A bunch of talented, amazing people from Travis will be looking for jobs soon. People who mentored me in: Bash, Go, Ruby. They built stuff with K8s, Hashi, worked on scaling, observability. Know cloud APIs like the back of their hands. /1
 
not a good week for those guys ... so there's no actual news on what's happening yet, just speculation ?
 
just confirmations that people are canned.. e.g old.reddit.com/r/devops/comments/at3oyq/…
 
I'm slightly surprised that there wasn't a mandatory redundancy notice period if there are a lot of people being let go at once.
 
> Yep. We were terminated by Idera without even our managers knowing.
wow
 
5:59 PM
american companies tend to apply their 2 weeks notice rule even in other jurisdictions
and travis ci was remote company, so most employees were probably just contractors
 
6:29 PM
@Paul TravisCI is going dark soon?
 
@tereško dunno, doubt that though.. my guess is it'll hang around for years and stagnate, die a slow death as contracts bleed out
they were bought a month ago.. new owners are ditching expenses, not revenue - they want as big a return as they can get as soon as possible with minimal effort
 
@tereško I think the systems that work well will keep going....some of the less used systems (e.g. osx build tools) might start to crumble sooner rather than later.
 
it sounds like they work well because of the talent ...
 
no more regular updates of the php master build image or something :)
 
6:51 PM
@Danack Thank you.
 
7:22 PM
\o
 
7:39 PM
Hi
Can you please tell me how to send bulk SMS using twilio ?
 
8:02 PM
@Ravi Following docs step by step?
 
So empty in here today.
echo! echo.. echo...
 
<o>_<o>
 
8:18 PM
I need help my buddas!
I need convert this number 1000.10 like this 1.000,10 another sample 200.22 => 200,22
 
see php.net/number_format or php.net/numberformatter, depending on your needs
 
@moteCL what kind of weird formatting is that?
$yonumber = number_format($number, 2, ',', '.');
 
8:38 PM
There are a few places that use a dot to separate the millionths and a comma to separate thousandths.
Some will use a dot for thousandths and commas for decimal separation. It all looks confusing to me when I see it.
I need a new PC... very soon.
 
i bought a premade pc for the first time instead of building my own and it's pretty solid and the price was pretty much the same
 
Why would you do that? You get far more value for your money when you buy the components and build yourself.
 
8:58 PM
@NikiC is this taking it too far? ^^
- https://github.com/php-ds/ext-ds/blob/cw/src/buffer.h
- https://github.com/php-ds/ext-ds/blob/cw/src/vector.h
 
@StatikStasis it was a bundle on newegg and the individual components totaled to pretty much the same as the price of the bundle. You only get ripped of when you buy dumb stuff like Alienware.
 
@Edward ah- that makes more sense.
 
9:18 PM
@Trowski so you just use Stripe's Checkout thing, or something else?
 
9:46 PM
@NikiC ping
 
9:59 PM
something is wrong with phpdbg printing, it caused me to make that unecessary patch to get call op, and wasted nearly a whole day ...
(gdb) run test.php
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /opt/bin/php test.php
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
COMPILER OPTIONS SET

Breakpoint 1, zend_get_call_op (init_op=0x7ffff2e8aa00, fbc=0x0) at /opt/src/php-src/Zend/zend_compile.c:3046
3046		if (fbc) {
(gdb) p fbc
$9 = (zend_function *) 0x0
(gdb) finish
Run till exit from #0  zend_get_call_op (init_op=0x7ffff2e8aa00, fbc=0x0) at /opt/src/php-src/Zend/zend_compile.c:3046
it's probably not actually in printing, it can't get the opcode name wrong ... but dmitry said fbc can't be set in get_call_op if IGNORE flags are set, which totally confused me, turns out phpdbg is not doing something properly, when I looked with gdb, indeed it is not and cannot be set ... but phpdbg says it output DO_ICALL ...
 
/me leaving work
 
10:30 PM
scratch that ... guess what ... it's opcache ...
krakjoe@fiji:/opt/src/zend-overload$ phpdbg -p* ../php-src/test.php
COMPILER OPTIONS SET
function name: (null)
L1-8 {main}() /opt/src/php-src/test.php - 0x7fdda6602140 + 1 ops
 L8    #0     RETURN<-1>              1

function name: someFunction
L2-7 someFunction() /opt/src/php-src/test.php - 0x7fdda6687000 + 10 ops
 L3    #0     INIT_FCALL_BY_NAME<1>                        "microtime"
 L3    #1     SEND_VAL_EX             true                 1
 L3    #2     DO_FCALL                                                          @0
no opcache, DO_FCALL when compiler options are set ...
krakjoe@fiji:/opt/src/zend-overload$ phpdbg -p* ../php-src/test.php
COMPILER OPTIONS SET
function name: (null)
L1-8 {main}() /opt/src/php-src/test.php - 0x7f232b867858 + 1 ops
 L8    #0     RETURN<-1>              1

function name: someFunction
L2-7 someFunction() /opt/src/php-src/test.php - 0x7f232b867720 + 9 ops
 L3    #0     INIT_FCALL<1>           96                   "microtime"
 L3    #1     SEND_VAL                true                 1
 L3    #2     DO_ICALL                                                          @0
with opcache, DO_ICALL, compiler options ignored ...
 
10:57 PM
ffs
reverting reverts is not nice ...
optimizer has the fbc ... silly ...
 
@JoeWatkins do you if there is a way to create a class entry without exposing it to userland?
 
it's supposed to be possible, but I've tried it before and it doesn't work (anymore, possibly) ...
inspector does it, but it's buggy ...
 
--re will have some strange results then :/
 
--re ?
oh yeah, reflection ...
 
    Class [ <internal:ds> abstract final class __ds_buffer ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [0] {
      }
    }
 
11:06 PM
you can do it, but I can't remember the exact nature of the strange, but there definitely is some, still I left it in inspector, the Patch class doesn't register the definition ...
 
abstract final class.. ><
 
I mean, there are obvious problems, like type hinting ...
 
Thanks I'll dig some
 
11:18 PM
sorry, not inspector, Componere/Patch ...
 
Evening Gents
 
@JoeWatkins could you please review some extension code for me that is either very clever or very bad? ^^
 
I will yeah, but tomorrow if that's okay ... I'm pretty tired now ...
evening @Kalle
 
Anytime at all. This branch: github.com/php-ds/ext-ds/tree/cw
 
@JoeWatkins been without Windows (due to work) for a month now, I feel... empty :(
 
11:36 PM
@Kalle what do you like about windows? (curious)
 
11:51 PM
@rtheunissen the ability to play games without emulators is my primary motivator
 
I just restart and boot into Windows when I want to not work for a while. Is nice to have that hard separation I find
 
I also have hard separation from windows, I haven't installed it on a real machine (of mine) in about 10 years ... it works quite well ...
 
I like to have it as a all-in-one solution, I do really dislike the Mac which I have to use for work, it is terrible
 
I've thought about partitioning my drive or buying a cheap, small SSD and installing Linux on it, and using that for personal projects so that I'm not tempted to play games in Windows, but I've been able to keep them separate in Windows. If I'm working on stuff, no games are open. If I'm playing a game, my Linux VM is shutdown and work stuff is minimized.
It is difficult to make the mental separation though.
 
One thing that kinda pushes me away from most Linux distros is that the GUI looks bad even with themes and such, I can't really be bothered to go and customize it myself as I want something good out of the box. ElementaryOS and Mint is ok I suppose, but most of the others annoys my viewing experience (Yes I'm a bit picky)
 
11:59 PM
I rarely ever pay attention to Linux UI. Even if the distro has a UI, I'm just going in and opening terminal...
 
yet another day I'm going to end frustrated and annoyed at zend ... I patched something earlier, something clearly broken, then dmitry said the patch was wrong because the situation I describe is impossible, so I reverted it, then I spent several hours working out what was going on, only to find dmitry is actually wrong, so I reverted the revert ... and now he's being all crappy ...
 

« first day (3050 days earlier)      last day (1898 days later) »