« first day (3018 days earlier)      last day (1920 days later) » 

12:14 AM
PDO does not throw an exception when more values than parameters are used – #77490
 
12:42 AM
@DaveRandom armor is items that the player wears, like gloves, helmet, chest piece, boots, etc. inventory is like a backpack where they can store extra items.
think of it like wearing clothes, then wearing a backpack and taking an extra change of clothes with you, and whatever else you'd need
 
@tereško sorry, I got distracted. Will ping you when I am about to buy some parts
 
 
3 hours later…
3:14 AM
morning room.
@tereško happy belated happy birthday :)
 
3:47 AM
Evening
 
 
1 hour later…
5:06 AM
any late night coders on ?
 
 
1 hour later…
6:23 AM
\o
 
hurray! lol
 
it's not very often people cheer just because I got out of bed ...
 
ahh.. 1:30AM over here
 
does anyone with doc karma want to write some docs up for me ? /cc @PeeHaa
where are you ?
 
only boring, experienced developers enjoy writing tests
Canada... east coast
 
6:29 AM
ah canada, that means you have to be nice to me, no matter what ...
:)
 
this is true
 
hello
 
morning
 
Mat is a big shot in the PHP community
 
Yes, I'm kinda a big deal lol
Currently working on finishing up the ecom portion of a clients app
this last feature will take a while though
 
6:36 AM
currently working on a big cup of tea, and keeping my eyes open ...
 
good luck
 
it's hard work, but I'm doing well
does anyone use phars except for composer and phpunit? I mean does anyone deploy phars normally ?
 
I meant Joe is a big shot
 
@JoeWatkins, i've never worked with a phar directly. It seems a bit of an outdated technique
seeing as composer takes care of that for us lol
 
yeah I don't even know how to make one ... if you do make one, it's only for deployment right, your CI/QA doesn't use it, right ?
 
6:45 AM
I'm sure there's a CI platform out there that just may use it, for the rare few who've requested it
I may be talking out of my butt though
 
awkward crappy things ...
@NikiC I came across a really strange thing yesterday, it appears when you have an NS_FENTRY and use zend_parse_parameters "C", it assumes the class you are expecting is relative to the current namespace ... I've not noticed this before, but it seems wrong ?
 
8:00 AM
altiloquent Archaic. (of language) high-flown or pretentious.
 
 
1 hour later…
9:05 AM
I just saw phpunit use 14gb of memory generating html ...
 
9:34 AM
@Linus thanks
 
 
2 hours later…
11:37 AM
Hello, can I ask a quetion about Laravel here?
 
I have this: User::create(request(['name', 'email', 'role', 'password'])); Question: how to hash password using this aproach? Laravel 5.7.
 
11:56 AM
@BlackB0ne you may have more success asking over at larachat.co
 
@Danack will try thx
 
12:39 PM
user image
2
 
What are your views on marker interfaces? At what point do they become a bad idea?
 
@2dsharp why do you want to use one?
 
@Danack Well, I have a set of classes that I want to be a type of something, maybe something to be treated differently, although they do not necessarily have any common methods that they must implement.
In the least to remind the programmer that it belongs to a type and shouldn't do what the objects of that type aren't meant to.
 
12:58 PM
Pretty hard to comment on what's quite a vague description.
 
Err, I know. I am sorry, its hard to explain it rn. I am out. Will get back and describe it properly.
 
googling: marker interface
@2dsharp at the point, when you start defining interfaces that do not have any methods
sounds like a somewhat retarded java thing, for problem of their own making: they needed a way to separate ArrayInterface from Serializable (aka, interfaces that are just implementation class with "interface" suffix from interfaces that actually describe the intent of the contact)
 
1:16 PM
@JoeWatkins That doesn't make sense
"C" should always interpret the passed name as fully qualified
 
Morning
 
@LeviMorrison did you close the vote for the variance RFC? If so, I think you also need to email internals with the result.
 
can you see what I'm talking about, or shall I try to reproduce it ? @NikiC
 
1:32 PM
@JoeWatkins I'm pretty sure that is doesn't work that way :P
 
yeah ... me too ...
I can't reproduce it now, or find the words I saw in the error, it really threw me and I changed my mind about needing it ten seconds after I saw it ...
must have been something to do with being inside phpunit perhaps ...
well this is getting on my nerves, I can't reproduce it when I do exactly the same thing Idone last night ...
 
2:25 PM
@ikari ping
 
2:52 PM
Any Laravel fans here?
 
3:16 PM
none (I am not even exaggerating)
 
Any reason for that?
 
mostly, because it is terrible: the architecture is broken, it perpetuates bad practices and it re-define what patterns so that "pattern means what we have made and not what it actually is"
it's a rapid prototyping framework, that is being marketed as "enterprise solution"
I hope that enough of a reason, @LeeNelson
 
3:34 PM
Woah, and I thought it was loved here.
Sure thanks, it's definitly a decent reason.
 
3:51 PM
@tereško Yea, I was wondering what Java does with Serializable is a code smell or not. I guess using interfaces as interfaces is better than using them as something else. Thanks.
 
@2dsharp I personally think that interface names should not contain "interface" suffix .. would would make Serializable a good name
:D
 
The practice seems to be quite popular, even in PHP.
 
then let me ask you, do you see anything wrong with:
class AccountClass extends AbstractAccountImpl implements AccountInterface
 
@tereško Oh well, I prefer interface names without the interface suffix as well. To me, personally, this gives me a trypophobia-like effect.
 
4:19 PM
Morgnins
 
@JoeWatkins Er no thanks :) Just woke up :P
 
fair one, and it's sunday ... and I should do it probably ... but I just ... would rather do other less horrible things ...
 
I wish I could say the same about less horrible things, but I still want to work on my smtp client :D
 
4:37 PM
wasn't email outlawed, I'm sure the eu outlawed it and we stackoverflexited ....
I'm getting really bored of waiting for xdebug ...
it's all I do now ...
 
@JoeWatkins mail is ok
Much better than slack you damn millennial
:D
 
so ... I don't get to use the word stackoverflexit again ?
 
:P
 
me and the wife are not sure if we are millenials, by some definitions we are and by others we're not ...
 
I sure hope you are not as I think we are the same age?
Meaning I would also be one
 
4:44 PM
function return empty – #77492
 
the wife says I'm 34 and I've no reason to disbelieve her ...
some definitions say a it's a person that reaches adulthood in 00's, and others say it's someone who grew up in the 00's ...
 
Then you definitely fall into the age range for millennial :P
I'm 34 too
 
5:13 PM
they have one test that crashes xdebug, I disabled it for fairness, but it doesn't crash and pushes the time up by ~30 seconds, and several gb of memory ...
it's annoying that xdebug doesn't report memory accurately, everyone is thinking it might be slow but at least it's efficiently using memory, but it isn't at all, it just doesn't (and php can't) tell you ...
 
5:52 PM
stahp flaggin.
1 message moved to Trash can
 
6:12 PM
@bwoebi want me to open a bug about phpdbg case label coverage?
 
 
2 hours later…
8:38 PM
Evening
 
afternoon ;)
 
@MadaraUchiha Visual aids like this are funny- but effective in learning and remembering how those work.
 
9:07 PM
any docker experts around? I'm having trouble connecting my wp installation to mysql via docker-compose
it says that connection can't be established and I don't know how troubleshoot since this is my first time ever using docker
 
@Dugi are your compose files anywhere available?
 
Oh yeah @Danack, have a look here:

https://stackoverflow.com/questions/54279161/docker-services-not-linked-wordpress-not-connecting-to-mysql/54280651#54280651
I've been stuck on this all day it's giving me a headache :D
 
@Dugi I need to go back and watch One Punch Man. I only watched two episodes.
 
> define('DB_HOST', 'localhost');
 
@StatikStasis lol you should get to it, that anime is awesome
 
9:10 PM
that should be 'mysql'
 
@Danack I did that (according to the first answer there), but it doesn't work
 
I prefer to set a loopback address, and just access the DB via the host.
 
I posted a screenshot there showing what happens
that sounds advanced :D
Here you can see what happens when I change it to `mysql`:

https://screenshots.firefox.com/dbXSxUw8c2OVuLPV/localhost
 
posting text rather than screenshots is a lot easier to read....
you should bash into the box and try to connect to mysql from the command line.
docker exec -it something_mysql_1 bash
 
I managed to connect to the database via a mysql client app if that helps
and added the wp database there too
but yeah, I'll go do that
 
9:14 PM
then something has gone wrong with the settings, and the credentials you're using on the command line aren't the same as the ones defined in the code.
 
can you confirm if the links section is in the proper spot in the YML file?
 
never used it.....
 
I'm so stuck I have no idea how to proceed lol
 
8 mins ago, by Danack
then something has gone wrong with the settings, and the credentials you're using on the command line aren't the same as the ones defined in the code.
if you can reach the db from inside the box via the command line, the connection is there....you've just got a typo or something.
 
curl_basic_009 fails with newer curl versions – #77493
 
9:26 PM
@Danack ok let me try the exec as well
Yeah like expected, it works fine, I just did a simple mysql -uroot -p and I'm in!
(from within the container)
and connecting via root doesn't work either...
 
9:41 PM
@Danack do you have any idea how to check nginx error logs of the container on my host machine ?
 
Should be like /etc/nginx/logs/error.log (on guest) and holy hell I remembered that without googling
 
@Dugi normally people set those up to just output to stdout or stderr with:
access_log /dev/stdout;
    error_log /dev/stderr;
so that the logs can be piped to where the are needed.
 
@Danack Thanks a lot for the help!
so if I were to replace nginx with apache in that docker-compose.yml, how'd I do that?
 
9:59 PM
well, don't do that, but it's the service that's defined as:
webserver:
    image: nginx:alpine
 
@Danack why not? I have to work with apache sadly, but phpdocker.io only provides nginx so I'm not sure how to swap
 
why do you have to work with apache when you're configuring a new environment?
 
to match my coworkers' environments
the environments differ for everyone, but I wanna utilize docker from now on
 
10:24 PM
Yep, better to take it like a champ and figure out how to docker it up from now on. Production servers will be containerized with things like Kubernetes.
Well, it's popular for app running on Cloud services or Microservice architectures..
I wanted to hang onto my "simple" VM setup for a long as I could lol
 
> Production servers will be containerized with things like Kubernetes.
Something like it, but hopefully something good.
 
yeah but the headaches are real lol, I have no clue how to even google for stuff
 
10:43 PM
@Dugi any reason you're choosing to switch from what your co-workers use? Reason I ask is you may be better off sticking with what they use until you're comfortable with Docker by messing around with it at home... if you aren't already doing that.
 
@Tiffany well everyone uses something different and I had some hard drive crash recently and it's sort of giving me a chance to switch to docker instead of my old environment
 
@Tiffany my guess is they don't have a standardised dev environment.....I was totally going to hit enter before Dugi replied.
 
I always wanted to do it but never had the chance to do so
exactly what Danack said!
 
posted on January 20, 2019 by amphp

Initial release.

 
I see. Fair enough.
@Feeds fancy
 
11:22 PM
the headaches are super real i agree.. it's kinda forcing developers to have no choice but to have more than subpar devops sklils
looking at websockets, if any of you are Laravel Developers and haven't seen Laravel-Websockets(docs.beyondco.de/laravel-websockets), I recommend checking it out . It's pretty amazing stuff.
 

« first day (3018 days earlier)      last day (1920 days later) »