« first day (3409 days earlier)      last day (1539 days later) » 

12:14 AM
do you think I could assume that a class without namespace is a php predefined class?
I'm parsing with nikita's parser and I need to classify them
 
12:30 AM
@CarlosAS No. I can define classes without namespaces.
 
and apparently people do it sometimes :/
 
@CarlosAS There are only a handful of predefined classes declared by php. The rest are loaded by various extensions. In theory, since php always starts with an empty heap, no declared variables, no declared classes, you can check get_declared_classes() on startup, before declaring any user classes or defining an autoloader, and that should suffice.
The only problem with that approach is you would have to take extra steps to ensure nothing is declared in code prior to that check.
Another approach might be to use get_loaded_extensions() and run them through ReflectionExtension::getClasses
@CarlosAS 3v4l.org/TieDm
Coupled with the finite list of predefined php classes you should have an unabridged list of all php declared classes.
 
 
5 hours later…
5:28 AM
https://stackoverflow.com/questions/60235990/allow-specific-product-to-bought-alone-woocommerce

is there anyone can answer this one ?
 
 
7 hours later…
12:09 PM
Morning
 
 
1 hour later…
1:24 PM
morgens
 
1:39 PM
Morning @PeeHaa
Want to hear something crazy?
 
1:50 PM
GO on then
 
lol
Since I took over IT 3 months ago I've uncovered a large number of issues, deficiencies, and/or lack of documents for standard operating procedures...
Terrible Active Directory structure- no clear schema.
One sec... phone call
Ok- back
So the "crazy" part...
I started going through our cellphone bill which is several thousand dollars a month. I had starting digging in to see where each phone was charged and who had those numbers... long story short. We've been paying for at least 90 lines (between $20-$60 for each line before taxes and fees) that are not even being used and have been active for well over two years and even three years in some cases.
@Derick
 
2:06 PM
Sounds about right. Last time management asked our CTO to try to reduce our Adobe licensing bill the same manager added 3 more licenses
 
2:17 PM
@StatikStasis good lord
 
2:31 PM
@StatikStasis i have a fairly large google sheet with all our third party software expenses, 60 entries for a 5 person company. i can imagine costs can get out of control fairly fast if you seperate accounting from the ones purchasing and have no process in place to review
 
Exactly what has happened.
 
@MarkR raving applause!!!11 :p
 
I thought I'd go a little less controversial than removing deathticks this time
 
yeah controversial is hard
 
2:41 PM
Wonder how many more RFCs we'll get pre 8.0. I bought a spare mouse just in case generics comes to vote and I click too hard.
4
I think I'll change the rigid properties to declare(allow_dynamic_properties=0)
Only thing that bugs me about a declare is how to make it obvious that it only effects classes defined under it
 
Want to chat on the podcasts about it? :-)
I mean, it's tiny... but still
@StatikStasis Sounds like you've earned your salary for this year then :-)
 
cc @MarkR
 
You'd be lucky to get 3 minutes content from it Derick
 
yeah :D
that is true
 
3:00 PM
I think Nikita has been poking at the messages in zend_verify_arg_error which I assume would be a much larger discussion, so if anything it might be worth tacking onto the end of that as just a "You can do most of this in userland easier too"
 
@StatikStasis nice :P
 
nice, an always skipped test
 
cmb
but it reveals the version of the server :)
 
3:19 PM
@MarkR you could add an example "diff" converting usage in symfony to this instead of the old pattern, to show what it essentially helps with
 
4:03 PM
@NikiC Another one?! I think I should get other people on the podcast about some of the RFCs that you're doing (though still want to talk about generics with you)
 
4:32 PM
Do we have a zend_string version of sprintf in the API anywhere?
 
@MarkR zend_strpprintf
 
Ta very much
 
5:06 PM
I would appreciate some comments on github.com/sebastianbergmann/phpunit/pull/4095 from someone more knowledgable in low-level string operations, character set issues. Thanks!
 
5:35 PM
@SebastianBergmann it's fine
 
I'd modify the case insensitive check to allow some speed increase there as well, but that's added benefit. The proposed implementation looks good to me...
 
@SebastianBergmann side note, you should explicitly an utf-8 encoding on the mb_stripos, so this isn't affected by global encoding
And for obvious reasons, you should absolutely not, under any circumstances, attempt to support encodings other than utf-8 and binary inside phpunit
 
@NikiC But that would also mean to add that to the mb_strtolower further above and to all other usages of mb_*
Or set mb_detect_encoding in every assertion explicitly...
 
@heiglandreas sure, if you use mb_ you should be specifying encoding everywhere, at least in libraries
 
mb_internal_encoding that is... Sorry, my mistake....
As that is currently not done (at least not in that one file) I'd consider it a possible BC-Break to set that now. So I'd currently leave it as it is. But I might be wrong...
 
6:10 PM
@PeeHaa I've calculated we've almost $70,000 in wireless services over the past 2.5 years for lines that were never used.
 
 
2 hours later…
8:21 PM
@StatikStasis that's 3k$ a month... what kind of services cost that much?!
 
That's not a lot for 90+ lines
 
Yeah... but it's incredible no one noticed.
 
@BogdanUngureanu probably his predecessor didn't care
 
8:56 PM
I once saw an AWS bill for ~$900K because someone terminated an ec2 cluster but forgot to close the autoscale group.
whooopsy
 
o_o
 
9:22 PM
Not noticing waste is relative to a company's size. When you have billions of dollars in the bank you tend not to notice a ~$1 Million bill among a few hundred other $1 Million bills.
Just sayin' it happens
 
9:58 PM
Just not when are we asking for a raise? :D
 
 
1 hour later…
11:28 PM
The last message was posted 1 hour ago.
 
:eyes:
 
:roll:
 
:beer:
$dave->insert($beer);
One of my proudest moments is when I endorsed @Jimbo on linkedin for
what a life
 
@DaveRandom Thanks for reminder. i.imgur.com/j4OYpye.jpg
 
11:44 PM
Aldi's finest
"We need to compete with Kronenbourg, how can we do that without getting sued?"
tbf it's actually pretty decent for £3.29/4
 
@DaveRandom Something like Audi BMW Mercedes Bentley billboard war? :)
 
something like that, yes, although I can't imagine a beer-related scenario where you could put an English name in the same sentence as a load of German ones
the irony being that Bentley is actually VW (or at least it was, I haven't kept up with the car industry lately)
 
I heard that car and dog has should be from Gremany.
 
---strike--- => strike
fyi
:-P
 
Thanks. ^Worked. :D
 
11:52 PM
I accidentally screwed up your markdown.
 
@DaveRandom Now, how did you write that not being striked? lol
 
@Tpojka By using ---code--- tags?
 
---not_striked---
 
You can't escape markdown, which is the crappiest thing about markdown.
 
11:53 PM
Meh.
 
because *whatever* you put as **inline** _code_ doesn't [tag:get] rendered
because whatever you put as inline code doesn't rendered
^ fyi :-P
 
Hah, I thought I failed although it was success. :D
 
Markdown code tags act kinda like <pre> tags in HTML
 
chat markdown is a bit retarded tbf
putting a backslash at the end of inline code is an unwinnable game
 
I think linking sometimes didn't work for me. Maybe I messed something about it though.
 
11:55 PM
that also is a bit broken
iirc it doesn't deal with spaces in the URL
 
[link text](http://link.link/no spacees allowed)
No, the URL has to be properly URL encoded
 
you can do it with %20 but copypasta from address bar doesn't always work
 
see
 
That (I think) I experienced. Good catch.
 
@DaveRandom distressingly the way I find this image is by searching chat history for "white power" :-P
 
11:58 PM
I prefer purple power
 
I am still awaiting the plush phpenis
it's only a matter of time
 
They don't have those yet?
 
@Sherif yeh now that problem I have never managed to find a pattern with
it's super weird, Jeeves always managed to get the image correctly
no idea why chat doesn't
 

« first day (3409 days earlier)      last day (1539 days later) »