« first day (2701 days earlier)      last day (2473 days later) » 

13:00
Yeh I dunno, certainly when I did google it worked
I don't have an actual SE openid so I can't try that
Lets see what github does
Well that worked. Design seems a tad dated ;p
afaik it was written almost entirely by one person, several years ago
I'll click around, but I think i'd prefer other methods ;p
put your mouse in in an editable field and hten hit enter
I needed to do that for google
Wooo! necromancer badge
13:09
Noice. It feels good to get a necromancer badge though on an old question :-)
gives me more a "i've been useful" feel than answering on "fresh" answers
showoff
Gordon just hacked dem badges in his old moderator days. He rolls like that.
@DamienOvereem for a very brief period of time I considered it worthwhile to collect these to become the greatest necromancer on Stack Overflow
Haven't seen you in person, but I'm fairly sure you have the pale skin and evil grin requirements covered.
But: honors where they are due. Quite the accomplishment ;)
hmmm
is there a list of top necromancers?
13:14
you can get it from sede
yea, but there might have been a ranking somehwere :P
opcache corrupts variable in for-loop – #76074
@kelunik Thanks It's a bit too difficult to debug for me so I reported it @ bugs.php.net/bug.php?id=76074
@DamienOvereem theoretically yes. To be clear though, I've got idea what was going on there. It was parsing the vendor directory, but just not finding that class that is in the vendor directory.
13:20
[daverandom@web02 ~]$ php -v
PHP 7.2.3 (cli) (built: Mar  2 2018 12:41:10) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.3, Copyright (c) 1999-2018, by Zend Technologies
[daverandom@web02 ~]$ cat test.php
<?php

function test(int $nr) {
        for ($i = $nr; $i <= $nr + 1; $i++)
                var_dump($i);
}

test(1);
[daverandom@web02 ~]$ php test.php
int(1)
int(2)
@Sjon cannot repro ^
@DaveRandom add -d opcache.enable_cli=1
oh right
yes, can now repro
int(-9223372036854775808)
int(-9223372036854775808)
Can repro with master
13:23
can also repro on 7.2.0
also, forget to add, opcache.optimization_level=0x000000F0 bugs and opcache.optimization_level=0x00000000 doesn't
Can't repro with 7.1.12.
morning
someone should enable opcache on 3v4l.org :P
@Sjon to be more precise: 0xA0
which is callgraph+sscp optimization
13:32
I love it when you people don't make any sense to me :)
weird, after clearing the file cache it sometimes takes a run or two before the bug kicks in, and sometimes it does immediately
@Gordon after some tweaking and refreshing my sql server grammar data.stackexchange.com/stackoverflow/query/817122/…
pass3 optimizes T4 = POST_INC CV1($i); FREE T4 into PRE_INC CV1($i); NOP. So it optimizes $i <= $nr +1 into $i < ++$nr ?
--with-fpm-acl wrongly tries to find libacl on FreeBSD – #76075
@Sjon pass 3 is not involved in the problem. Have a look at it with -dopcache.opt_debug_level=0x100A0
If I see that correctly the postincrement changes the range from INT_MIN, INT_MAX to INT_MIN, INT_MIN (overflowing the end of the allowed range)
thus having it assume the value must be INT_MIN
13:39
23 mins ago, by Gordon
http://data.stackexchange.com/stackoverflow/query/611846/top-100-necromancer-bad‌​ge
@bwoebi ah, right that output is even better
ah, I thoguht it was just a link to sede xD
oh well, I had fun :P
@kelunik @Trowski @bwoebi I know I can bitch about amp stuff at times, but the react adapter stuff is just freaking awesome and works seamless <3
@PeeHaa I know, thanks. <3
It reeeeeeally makes me appreciate the sane api you guys provide
13:54
@Jeeves what day is it?
seems Jeeves weekend has already started :P
We disabled the terminator plugin (which is what did the cleverbot thing)
ah bummer, why?
Some people got annoyed by the noise
mm, shame :( @PeeHaa can you take over then?
Take over being annoying?
Sure!
We still do have !!friday btw
13:58
can we add this instead of cleverbot: guacamoley.com/lol/2018/03/08/ZJKCgw/…
that would be awesome :D
tbh, of all things, why laughing? Feels like so many other options were missed opportunities here..
Anonymous
@PeeHaa @DaveRandom you seen this meta.stackexchange.com/questions/307647/… ?
I am following that other bot's repo and saw it yeah. I am not sure yet what it means for us (as in didn't check it out properly yet')
Do we do openid?
Anonymous
I thought Jeeves was openID yeah
Anonymous
!!version
Anonymous
man i'm lazy
Seems yes indeed
Anonymous
mornings
Is that just me, or why can't I push to github? :x
Bobs-MacBook-Pro-2:php-src-X bob$ git push -u github bug_76074
Counting objects: 36378, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (13987/13987), done.
Writing objects:  12% (4366/36378)
error: failed to push some refs to 'https://github.com/bwoebi/php-src'
14:16
@bwoebi I have done in the last hour.
@NikiC given that I seem to not be able to push that to my fork … gist.github.com/bwoebi/54a778e389751a56d7d962d66ec80ec6 < can you check that patch please?
I'm not overly confident with pushing fixes directly to Optimizer
@bwoebi please copy the add_will_overflow from zend_ssa.c
generally looks fine tho
@NikiC I'm only interested in overflow on the max side or overflows on the min side, not both
add_will_overflow would also return true when both operands are negative and larger than min_long
and tell me I'd have an overflow where an underflow happens
Anonymous
@PeeHaa what's wrong with your site?
@NikiC Or am I wrong?
14:32
@bwoebi The reason I'm telling you to use the function is that your code is UB and can be legally optimized to a sign check only.
But without thinking too hard about it, I would say that you have to worry about overflow in both directions
@NikiC yeah, but not when determining max here, which is the minimum of both maximums
if we determine max being impossible of overflowing, we can ignore the possible overflow
but I'll look at fixing the UB before pushing - have to go now though
@bwoebi If you have [INT_MIN,INT_MIN] + [-2,-2] you'd take INT_MIN-2=INT_MAX-1 as one of the max bound. If you minimize over that you could end up with the wrong max bound (say if the variable has [INT_MAX,INT_MAX] bound)
I don't know if you can construct a case where it's actually problematic, but generally you need to deal with bi-directional overflow on both bounds
@NikiC well, a too large max bound is never problematic, only a too small one. But I'll look at it later again
14:52
@bwoebi can you even push through https? I always use ssh for that
@Sjon Yes, you can.
@PeeHaa actually I don't think we do
@samayo Can be arsed to log in and run a script
it's really confusing, but I think we use what they refer to as "Stack Exchange (aka email/PW)"
@DaveRandom Awesome
15:00
I think Jeeves technically has an SE OpenID, but doesn't use it to log in
still, it would be good to make all that login stuff slicker
if we could make it work with teh googlez then Jeeves should be able to work on other chat instances (i.e. chat.se)
Anonymous
it would be good to make you slicker..
Is there a good compat.h file where the zend_string, array handling etc can be smoothly handled for both PHP5 and PHP7 extension
@JayIsTooCommon oil me up and call me Gladys
7
@JAamish php5?
What is this php5 you are talking about? :P
@DaveRandom Photos please
15:02
@PeeHaa :( yes, we are having some php5 applications for whcih we are writing an extension and we would like to have this extension common for both PHP 5.x and PHP 7.x
not sure how to photograph a name
Sucks to be you :)
Anonymous
@JAamish you should concentrate on upgrading :)
Still, I would be glad to get some help to find a good compat.h file in any old project
@JayIsTooCommon :) true, I have been trying..
Anonymous
15:04
@Wes I bet you're really bored and looking for some html email distractions..
When PHP 7 came out, I would have expected some projects to support both 5 and 7 together.. how did they handle this.. any samples. I see that zend_string is not present, array_init is different, zend_hash_str* functionalities are not available..
@Sean stahp:
@JAamish I have a vague recollection that Sara made a thing, could be completely making that up though
@JAamish I know that a lot of pecl exts just branched. I have also seen some with a crapload of #ifdef ZEND_ENGINE_3 littered throughout
@JAamish why not just make the extension be PHP 7 only....
evenings room
15:08
I think this was maybe the thing I was thinking of that Sara made, I haven't really looked at it though
@Danack s/cave/dave/
@Danack I know....! old applications..
@DaveRandom I suppose this is the one from Sara that you meant - github.com/sgolemon/zeval
oh yes that was it
again, I haven't really looked at it, I just vaguely remembered seeing a tweet about it
good memory :) let me check this and see
Thanks
thank Sara, she did all the work :-)
user924016
15:22
happy frydai
Anonymous
15:36
You guys parting without me?
Anonymous
user image
8
Anonymous
sad
Anonymous
:)
Anonymous
great pic btw
that's 2 (?) years old now
Anonymous
15:39
I found it today
Anonymous
Who is the guy b/n you and bob?
That's @Thw
@samayo coming from outside -- so is this the PHP core team members..
from left-right it's bwoebi, ThW, me, Danack, Jimbo, Leigh, JoeWatkins, Sean, PeeHaa, JayIsTooCommon, pmmaga
@PeeHaa totally looks like a small Putin
15:41
:-P
@Jimbo edit with ping please
tnx
lmao
3 messages moved to Trash
I want to give Dan a pointy had and a fishing rod
@DaveRandom thanks.. so you all work in the PHP in an organization or do you all have other jobs as well..
sorry for the question - just curious to know
15:43
If I got paid to work on PHP I might actually do something every now and then :D
You know, everyone who works on PHP does it for free :)
there is, afaik, between 0 and 1 people who are paid to work on php-src
@DaveRandom why . before PeeHaa name in tweet??
Michael someone?
A reminder about OSS maintainers and contributors - thank them for responding to your issues, they don’t have to, and offer them a beer at the next conference or something. These people work FOR you, for free, and they thrive on your support and positive feedback.
3
^ This is why I owe @DaveRandom about 23 still
15:44
Wow! really.. PHP is so widely used by so many huge organizations..
He helped me understand a lot (PS I love async now, not yet in PHP though)
23 cokes and coffees later...
Anonymous
I too owe @DaveRandom 53 pints of coke.
Is a bit much, maybe we should drown him in it to get it into him faster
@DaveRandom @Leigh So you all are from US or different part of the world.. then do you all meet in any conferences..
15:45
We can get a paddling pool and glaze him in it
Anonymous
I was gonna say drown @PeeHaa in tequila too, but he'd drink his way out.
Somebody said tequila
@JAamish Negatory, we're actually mostly EU-based here
Hoi
Anonymous
15:46
:B
s/mostly/moistly/
@DaveRandom ta.
I'm actually not sure if it's still necessary tbh
Twitter is so fucking broken
I didn't know there's a badge for zero views/comments/answers
Anonymous
15:48
Does it have a punny name?
Anonymous
fine, i'll look myself.
Anonymous
oh.
@Leigh (:
@JayIsTooCommon lol
btw @JayIsTooCommon you need to let me know when you are allowed to arrest people, so I can come and indecently expose myself outside you house
Anonymous
15:54
that'll be a different kind of arrest, but sure
Ok. Alright. This is exactly the time for me to get out of here. Happy weekend guys :)
Anonymous
lol
@DamienOvereem get lost already (:
16:00
@JayIsTooCommon cardiac?
Anonymous
:B
@JayIsTooCommon You're going into the police?
This sounds funny, or rude, but it's not, but I always thought you had a face like a policeman
5
Anonymous
aye, got bored, potentially coincides with being put on a Laravel project.
2
Anonymous
and I'm still trying to work out the latter.. give me a few to work out whether to say fuck you or thank you.
0
Q: How to Make Array of multiple products under category having two arrays using array PHP

Raheel AslamI have to try to make that type of array but not to make expected array. I have two arrays one is category and one is product array .and i want to combine two arrays, I have need to display all products under specific category. Category and product arrays below: $categories = [ 2490 => "POS",24...

16:15
Next conf meetup by the way?
Anonymous
NW would be a nice one to go to again
Morning.
Anonymous
o/
I've been waiting for PHPNW info to come up for this year. I'm hoping I'll be able to convince my bosses to send me.
16:30
Can anyone help?
Unlucky, PHPNW was finished
@Jimbo What do you mean "Was finished?"
@RaheelAslam I would do yourself a favor and write some classes. This looks way overly complex.
As in, it was the last conference
For real? God damn it.
Why?
Yea 10 year anniversary was the last one, I skipped it because I didn't really fancy the talks, and there was "always next year"
I was bored, so I wrote a windows executable crypter in PHP
(as in, it's still an exe file, anti-virus can't finger it, double click, it decrypts itself in memory, and runs as normal)
16:41
That's sketchy.
Guys, this PR is right github.com/php/php-src/pull/3038? People in some packages are going crazy github.com/laravel/framework/commit/…
"going crazy"
@Allenph i think it would be handle in simple three lines code instead of multiples for loop.
"Have fun" maybe? Hahhaa
@RaheelAslam Okay, then go figure it out.
16:44
@Allenph Thanks
@GabrielCaruso What issue are you looking at???
@GabrielCaruso I love the high quality of commit messages in Laravel.
@kelunik You said that, not me :joy:
@PeeHaa In my PR at Core, I forget something? Looks like they are complaining about missing array type
Where are people complaining?
public static function __set_state($array) (what I did, should be) public static function __set_state(array $array)
16:49
Sooooooooo
Writing code and fixing bugs is complaining?
confused look
I guess I used the wrong term, sorry
If a bugfix breaks your shit, fix your shit
simples
I was going to say "code", but then I saw the name of the repo
@GabrielCaruso probably :P
As I have no idea what you are trying to say :D
But whatever it is I will just blame laravel
> But whatever it is I will just blame laravel

I stay with that
:-)
16:55
@PeeHaa Where's @Feeds btw.?
@kelunik ah fuck
k will fix it all this weekend
feeds is my bad
/s/feeds/everything/
True
Anyone happen to know how to format a user name in a slack api call, to ping them, when they've got a space in their name.
17:02
But fiiiirst imma try finishing my project while I am stil somewhat sober
@Danack Doesn't <@foo bar> work?
lol their api is a mess especially regarding usernames
You're on your own :P
Seems like you are SOL and need to target user id instead?
17:21
@Allenph Are u working?
@RaheelAslam Am I working on what? Your problem? No.
@Allenph yes problem
No, I'm not going to do your work for you.
You already have several good answers on your question.
@Allenph did you read my complete question and read the answer
@Wes You were right about those factories. Really that responsibility should belong to the mapper. Removing them greatly decreased complexity and made things much more testable.
@RaheelAslam I already gave you my advice.
17:24
Hi @sorak
Hi, Raheel. You left the room before I got there
Wes
Wes
@Allenph lol :B
I still left the generic factories as standalone objects though.
Seems weird to have the aggregates have a static responsible for their creation, but in reality I guess it's just a static constructor that can be passed, huh?
@sorak thnks for reply i have shared a question.
AFAIK I'm accessing a git repo set up on a network shared server from two different computers (one PC, one Mac). The Mac is showing that there are modified, unstaged files, but PC is not. I tried git status on both.
yup, same repo
17:31
@Tiffany A good way to check would be to create a file and see if it's reflected on the file system for both computers.
created a file, both picked it up
Weird. Any weirdness with the filenames that the PC doesn't pick up but the Mac does?
@RaheelAslam - Yes, and AbraCadaver seems to have answered it suitably... the only other modification I might make is keying the product_category_listing sub-array by prd_id instead of sequentially, just to facilitate certain data access, but it may not be necessary for your use
@sorak i hope you can answer this in simple one loop rather than more than loops(multiple loops).
I think I know what it might be
different line endings?
hmmmm
like CRLF or whatever, I know Windows and *NIX differ on those
17:36
That's a pretty good guess. I've run into that before as well.
Why do you use the same repo for multiple computers? The point of Git is to not have to do that.
I thought I set git up to change it Linux endings but maybe I didn't, or since it's vendor code, they didn't bother.
At least part of it.
I have it on a share because it's backed up
my work computer is not backed up, neither is the Mac I'm working on
but our network shares (servers) are
17:38
So use the network share server to push to as a central repository and clone it on the other two?
@RaheelAslam - I have to go to the bank, but I'll be back. Come back to the room you created so we can talk about this in a few
I already have a central repo
I see what you're getting at
but I'm not sure if it's what I want to do
Pretty interesting workflow for sure.
I think another reason I did it this way is so I'd have transparency on the code I'm working on... if my supervisor or coworker wants to look at what I've done so far. They would have access to the network share.
And before you suggest it, they don't understand git, and I doubt they ever will.
@sorak Thanks ping me
17:43
@Tiffany So? You can arrange it so that you use git, and they never need to
Wes
Wes
hallo
Just make a script that synchronizes your git repo with some medium they can see
@MadaraUchiha I wouldn't know how
and it would be considered a waste of time to try and learn how
Also, if looking at code is all they want, using something like GitLab or GitHub as the main remote would allow them a nice UI to check out the code
it's proprietary code, I think GitLab would be the only one I could load it onto
shrug, I'll figure it out.
17:45
@Tiffany Or BitBucket, or pay 7$ for a private GitHub repo
I like the way I have it set up now
18:01
shrug, if it turns out I need to change it, I'll change it, but I'd like to keep it this way if I can
@MadaraUchiha suggest an anime to watch during my lunch
@Tiffany What style/genre?
I think I need to watch Code Geass, haven't seen that yet
just noticed it on my watchlist... after I asked you...
@Tiffany Hmm, Code Geass is a good idea to watch if you haven't yet.
Wes
Wes
@JayIsTooCommon that's a super weird career change
but good luck with that :B
i hope you don't forget us <3
Anonymous
@MadaraUchiha Was just about to ask for suggestion :)
Anonymous
18:15
I need to bing-watch something this weekend
Anonymous
I was thinking of The Wire but that's probably a bit depressing ...
Blood Blockade Battleground, Psycho-Pass, Parasyte
assuming you haven't seen any of those
Wes
Wes
@MadaraUchiha yo. how do you make bidirectional navigation among multiple objects like $a->getChildren()[0]->getParent() === $a ?
@Wes Whatever constructs the child passes it a reference to the parent
Wes
Wes
that's a circular reference which i want to avoid. what are my alternatives?
18:18
There's no real way around it
Unless you're willing to go for service location
Which is even worse imo
Wes
Wes
but it doesn't feel like a good thing :B
Depends on what the parent and child represent
In DOM, for example, some external entity builds the entire tree
So it instantiates with the correct references for ->parentNode
brb
@RaheelAslam - ping
Anonymous
@Tiffany which one is better
18:33
@samayo Psycho-Pass, by far
Wes
Wes
18:55
@JayIsTooCommon i am here now
!!dad
What’s the best thing about telling UDP jokes? I don’t have to care if you get them.
makes me think of "I have a UDP joke, but I'm not sure you'll get it"
aaaaand, I'm home
I tried to come up with an IPv4 joke, but the good ones were all already exhausted.
5
19:04
evenin everythings
hello
@Tiffany lol
i.imgur.com/6IpVNA7.jpg /cc @FélixGagnon-Grenier
@MadaraUchiha thought about during lunch, it does make more sense to clone to each machine because I already have a local, dedicated git server that I can clone from and push to. I was being obtuse.
Wes
Wes
accurate
@MadaraUchiha Gitea is a good option for small stuff like that.
CC @Tiffany
19:52
@MadaraUchiha the point was there's a French word for it :P
20:05
I found an ant on the floor. – #76078
How many type of errors in PHP?
Just in case anybody else in here is interested in hardware hacking with PHP + Arduino:
Here's an LED controlled via #PHP WebSockets. https://github.com/kelunik/amphp-arduino/commit/18b2c967bcede054caf68775d9293ece76002646 https://t.co/pPnCH97p9E
Great
Any documentation for it?
Wes
Wes
do you pronounce led as an acronym in english? :B (noticed the "an")
@KamranJabbar There are some examples in github.com/ThomasWeinert/carica-firmata.
Wes
Wes
20:12
we pronounce it like lead, the metal :B
I do. Not sure if other people do.
@Wes I do
@Wes in my country, that's how "old people" pronounce it
Wes
Wes
it's.. more efficient
20:26
@PeeHaa It actually does, but that's so stupid I didn't think it would.
oooh :)
\o/
@Jeeves my new favorite ascii ant!
20:31
@Wes depends on if you're talking about an LED or led as in "led by example"
Wes
Wes
led as the diode :B
the former I pronounce "EL-EE-DEE"
Wes
Wes
hey cryptic \o
til @Tiffany
huh, there's no iOS/Swift chatroom
I have probably the stupidest question
20:55
https://phpunit.de/manual/current/en/database.html#database.composite-dataset

Anyone use DB unit? This class seems to not exist anymore and I want multiple fixtures in one collection! D:

Says the class isn't found, and indeed I can't find it in my copy.

« first day (2701 days earlier)      last day (2473 days later) »