« first day (2419 days earlier)      last day (2754 days later) » 

11:06
hello
I have read and understood the rules.
Anonymous
this moment should be treasured.
:)
hello everyone
Anonymous
o/
:/
:)
:)
hii
user924016
11:14
\o
hii ronni
user924016
What's up Vishva
just going well
user924016
great
what about you?
user924016
11:16
I quit my job a month ago and been chilling it to the max.. And will probably do so for bout a month more
user924016
Just chillin with a bit of hacking and learning some new backend/frontend things
there is examples to illustrate the issue
another reason to use prepared statements is better performance on queries where only the params change
11:33
@tereško what about using a UTM ?
@Vishvadave You learned well from android <3
morgen morgen
Anonymous
@DaveRandom ihg.com/holidayinn/hotels/gb/en/portsmouth/pmehp/… is this where you're staying?
@DejanMarjanovic ohgai
11:46
@JayIsTooCommon no, holiday inn express at gun wharf (a bit closer to venue)
Anonymous
I swear it's much further away.. moment
Anonymous
oh.. that's by car
Anonymous
my bad
well they are both easy walking distance
Anonymous
@DaveRandom you have to give taxis something to do
Oh yes I will be getting a taxi to transport the case for my phone to the venue. No way I'm carrying it that far on a crushed velvet cushion.
@Leigh I want to create a named volume that maps one directory to another, then use that between multiple services. Can't seem to do that with named volumes although I think I'm getting it wrong. I'm doing volumes > app-volume_arbritrary_name > ./appdata:/appdata and then trying to use the arbitrary named volume for each service
pastebin.com/uxz6GQ95 - gives me "volumes.app-volume value Additional properties are not allowed ('./appdata' was unexpected" - any ideas about the formatting for this?
does a relative docroot in an apache vhost get appended to the global serverroot or the global docroot?
You want the same local dir shared to multiple containers?
11:53
Yep
Nginx to serve it, and php container so.. you know.. it runs :)
I'm separating via services and volumes, and I want to specify a mapping under the volumes key, then use that in the top two services
hi, if I want to get the filename only for user classes (not for internal zend classes) within the execute hook, then can I use execute_data->This.value.obj->ce->info.user.filename?
@Wes hahahahhaa
wasn't sure if was going to punch the person or activate a jetpack
@JAamish IDK but out of curiosity, what are you building?
@Gordon :) For internal purposes, we are writing our own performance monitoring tool like xhprof
@JAamish have you considered using an existing one? like tideways, blackfire or a full fledged apm solution (like Instana which I work for)
11:59
@Jimbo Can't see an example of us specifically mounting the same location in different containers, but we use extends on a container that has a volume, and that is working fine
services:
  base:
    image: base-container
    volumes:
      - ./:/var/www/html
...

  service1:
    extends:
      service: base
@Gordon We did try tideways, but it was too in depth. The other two we haven't tried :) It looks interesting, I will check them out
@Leigh Does extending provide anything else apart from the volumes though?
env
Also I found you can use volumes_from or something which allows inheritance of volumes, but it's not the same
common volumes, common environment, common command, working_dir, etc.
12:03
Nah, don't want that
Container debt
so we have a common.yml describing everything, then a prod.yml and dev.yml overriding the key environment vars
@Gordon In Instana is PHP monitoring an extension or like blackfire, is it part of the php codebase
@JAamish extension
12:08
Without installing runkit or similar, is there any way to find out where some library is calling set_error_handler() ?
@Danack ctrl-f? grep?
SQL halp: I have a table with 2 phone number columns (home/mob). A specific value for phone number may occur in either column in multiple records. I want to get exactly one record (the one with the lowest primary key value) for any given phone number - essentially I need to de-duplicate a result set based on 2 columns.
22 occurences. One of them isn't restoring the previous error handler.
22 is okay to go through by hand, or?
@DaveRandom Just add a limit and sort by key
12:11
select * where home=:phone or mod=:phone2 order by primaryKey limit 1?
@DaveRandom simplest way - subquery it select id, phone_number from ( select primary_id as id, phone_number from table_1 union select other_primary_id as id, phone_number) a order by id asc
Not sure if @DaveRandom is broken or there is something else goin gon
@Leigh Okay, I asked a question anyway, hopefully there's a way to compose it and not inherit
0
Q: Docker Compose - Share named volume between multiple containers

JimboI'm using docker-compose and v3. I'm trying to mount a volume in docker: ./appdata:/appdata I'd like to have this as a volume and then reference that volume from multiple containers. The volume configuration reference only shows data-volume: as a named volume, with no value, so it doesn't look ...

@PeeHaa judging by @Danack query, maybe we're not totally woke up yet
Ah single field result
I blame @DaveRandom's broken explainer
12:12
@Danack some variant of that may work, tnx
throw in a where phone_number = also I guess.
It's really brain melting, there's actually a load more at play but I didn't want to confuddle everyone further
!!urban confuddle
[ confuddle ] Merge of the words 'confused' and 'befuddle.' Origin unknown; I have claimed to have created it before to my friend, who had also claimed the same.
12:13
Yeah that worked out...
I experienced something strange this morning. I got up before 8 am.
someone changed the hour of your clock?
nah, actually, the cellphone died, so when I opened (naturally) my eyes, I freaked out and got up
5/7 would get up on time again
@FélixGagnon-Grenier ha dat feeling
12:14
@PeeHaa yah :D
@Gordon Is confusing though, if I use volumes_from then I can do ./appdata:/appdata. But with all these other ones I'm seeing, I only see one side of that mapping. Like, the key or value, not both, know what I mean?
@Jimbo docker ¯\_(ツ)_/¯
just use laradock.io
^^
I will never forgive you.
hey, I never said you should use docker compose or get serious with docker
serious == anything beyond running stuff from dockerhub
12:28
AAAAAAAAAAAAAAAAAAAAAAAHHHHHHH
AAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHH
$foo = null;
// This is fine.
echo $foo['bar'];

$foo = [];
// But this is an error.
echo $foo['bar'];
@Danack For some reason I thought that was fixed recently
WWWWWWWWWWWHHHHHHHHYYYYYYYYYYYYYYY?
Fix it
I also, though it was fixed. But not in 7.0.
All that array style access stuff should die for everything but array(likes)
12:31
null not scalar and therefore is array-like.
@DaveRandom That's... not what I meant with array like :P
Asshole
@Gordon What's this Lardock?
@Ocramius laradick*
5
I didn't mean to put it in this way
Anonymous
ughhh
Anonymous
12:35
github down?
Anonymous
yes.
no its not
Anonymous
I hate everyone.
FIne. Fuck you too
@JayIsTooCommon
lol
12:36
;-)
Anonymous
@Jeeves you better report this you bitch
@JayIsTooCommon What are you?
@Ocramius Sorry. Me neither. Much be a typo
@Ocramius well, it's not lardo, that's for sure.
Dang I could fancy some lardo though
12:37
major: Major service outage as of 2017-05-31T12:36:44Z
Anonymous
yeah that's right, you better.
Good guy
Anyone here using/used Yii?
^^ that.
12:37
damn github
BTW @JayIsTooCommon I miss username linking for !!tweet :(
Anonymous
oh fuck yeah
unicorns... unicorns everywhere
Hello everyone. can someone tell me what is wrong in that query?
Anonymous
@PeeHaa sorry.. Erm, hmm i'll try and get it done tonight if I get the chance? I'm gonna clean up some of the issues too, if that's cool.
12:38
mysqli_query( $con,"insert into respostas (menuId,corp_resp,id,data,id_avaliacao,subcat_id,menuIdPai) " . "values ('{$cr[2]}','$value', '{$cr[3]}', NOW(), '{$cr[4]}', '{$cr[7]}')" );
@ChristopheCosta yes: you are using mysql_* functions, and you are not binding parameters
@JayIsTooCommon Whenever you want. Just a friendly reminder :)
No stress
Also, my cat died while looking at it, sorry :(
Anonymous
now you can get something that loves you, like a dog.
12:39
respostas(7 params) values(6 params)
FUck cats
pfft - uploading images to here is also broken.
lol @FélixGagnon-Grenier
Anonymous
fuck felix.
12:39
hehehe
@JayIsTooCommon I have 3 dogs: I hate them equally
lmao
but dogs are nice
^ that
Dunno, mine are just roombas
s/nice/not evil
12:40
dogs are great
:p
to answer my question regarding relative documentroots in vhosts: they get appended to the global server root, not the global doc root
guys, it's 2 months I'm using git and I've never faced with "conflict" error. Is that normal?
yay payday, booo fuck you tax man
12:40
@Shafizadeh yah
I miss my dog.
Everyday when I get back home. He used to hump my leg.
Anonymous
@Ocramius there's a special place in hell for you. And it's spaghettiless.
5
@Ocramius ok good
@JayIsTooCommon that's... actually really mean!
@JayIsTooCommon Gooooood I wish I could have tweeted that with user link
12:41
awwwwww
Anonymous
p.s. love you.
I'll send my deaf/blind dogs at you
also: they have no teeth
just put the poor beasts down.
do they have balls?
12:42
@new_user no <_<
Ocramius there's a special place in hell for you. And it's spaghettiless.
@FélixGagnon-Grenier I read that as: "just put the poor breasts down"
12:43
You heard that, put down those breasts
lol dat place in hell like
@FélixGagnon-Grenier btw, they are really deaf/blind/teethless
did you adopt them?
12:44
yeah, I believe you :) I was like, 69% serious
no, they are just old and of pure bloodline
which is possibly the worst thing for tiny dogs
oh. breed them? like memes?
or they became deaf/blind/teethless because you are not treating them well.
@new_user uhm... no?
office in Bamberg is doge friendly :P
bob
bob
12:45
hey peeps, I don't know what i've done wrong. but when i run ` mkdir -p Code/php7fromscratch echo “Test” > Code/php7fromscratch/index.php` it says no directory found.
@PeeHaa Looks like they just retweet about anything with the sentence "special place in hell" in it.
@DejanMarjanovic haha
also, I didn't reply to your mail yet
@Oldskool which is awesome
The little devil ate my elePHPant this morning :D
12:48
"Hmmmmm, elephpant meat"
- dog, probably
Anonymous
Does anybody know what the "Pinch Zoom" feature does in Windows?
More like OMG SO FLUFFY BLARGHABRBBLRFFFFGGGHHRRRFFFBRRRR
@samayo it encourages people with sad facial hair taste
can covfefe be used as starship fuel
Anonymous
lol
12:55
Tempted to ask @phpstorm if they can remove typhints because it adds to visual debt, but pretty sure I'll get flamed
@Jimbo I'd say let the argument die
No arguing, just laughter :)
the only reason I bashed it so frikking much is that the audience of Laracasts is pretty much juniorish-clueless, so bad advice follows Brandolini's law
the incoherence though. "Question everything! except me and Zend guy".
@Ocramius The problem isn't that - it's that they're arrogant about it, that's my problem
12:57
it matters enough to make a video about it -> other people do "hey why are you reacting, it doesn't matter"
Anonymous
@Ocramius did it come up in the webcast yesterday? I didn't get a chance to watch
No, we didn't cover it
@FélixGagnon-Grenier that @Oldskool
Wat is better, I want to send Query parameter with true or false but I don't know if true is better on 1 and 0
12:58
well, as it will be converted to a string anyway, it doesn't change anything
if we could send boolean through url, I'd prefer a bool, but you will be evaluating a string in the end
Thanks
Incorrect conversion of array – #74679
@WorkingPig no need to star that
:)
13:04
Is it possible to send an email using php?
Anonymous
@DeStr google is your friend :)
ok found something
https://www.w3schools.com/php/func_mail_mail.asp
but
@DeStr W3Schools should not be trusted as a reliable resource. Click here to read why. Check the official PHP Documentation for help with PHP.
hmm
http://php.net/manual/en/function.mail.php
better?
good bot
Anonymous
13:08
@Sean :)
what will be the email that the user recieved the mail from?
Anonymous
you specify that in the headers
do i need a mail server?
or anything additional to that command ?
@Jay lol did they just call you a bot
LOL
@FélixGagnon-Grenier that was a quick response, I made conclusions
13:11
@FélixGagnon-Grenier He meant prick. Which makes sense
that isn't a bot?
He is
:)
We were pointing at @JayIsTooCommon. Who is not a bot but a prick
The keys are like right next to eachother!
Anonymous
aw, you <3
13:12
<3
@DeStr ooohhhhh... my bad, you actually assumed @Jeeves was a bot.
@FélixGagnon-Grenier I'm sorry, I don't understand the question.
@FélixGagnon-Grenier I know you are, but what am I?
Anonymous
@DeStr i don't know windows / xampoop - give it a google . You'll probably need to configure SMTP somewhere to run locally.
need to google mercury and tomcat
no. or git and nginx. I need more coffee
13:14
"The Mercury Mail package in xampp for windows is a great way to start sending emails from openemr or any open source CMS program placed in xampp" that was easy
Anonymous
You know.. I've never had a cup of coffee. Maybe that's where I'm going wrong.
That entire fucking island is doing it wrong @JayIsTooCommon
Anonymous
:B
Wait what
13:19
There is a reason @Jimbo got away
It's the tea
@Jimbo still drinks tea: I verified
Well bad example. @Jimbo sucks
@Jimbo
I think @Jimbo needs another ping
Not sure @Jimbo needs that
@Jimbo
Also, I should probably be good to @Jimbo: I didn't yet invoice Trivago...
13:22
I feel like we need more drama and anger in here
the only thing @Jimbo needs is butter and cucumbers
You guys and gals ready?
Anonymous
@PeeHaa flag something.
@PeeHaa contender to what?
I am really tempted to flag that, tbh
Anonymous
@Gordon have you had a shit today?
There sure is tension
13:23
@JayIsTooCommon not yet?
Anonymous
well when you do, that.
No, I really wanna know. You can only be a contender to something
I will stahp it now :P
@PeeHaa HAMMERTIME!
the thing I noticed with #Laravel supporters is, they use words, but sometimes it's not entirely clear they know what they mean
13:24
back to work
back to wok
lol
I'm bored: porting a 5KLOC class, splitting it into testable bits
@PeeHaa oh wait. that's from cloudways, so it's an interview
Yes ma'am
13:26
they interviewed me, too
They interview everybody nowadays don't they
I should send the response to my interview too...
Hey. Is there such a thing as an "archiveable" programming pattern? Designing a PHP system right now where I have entities (eg, mails) which I want the user to archive and only as last step delete. Simplest would probably a boolean attribute, but that could bloat the table. Simply an entity that extends the original one? Finding nothing useful on google
Use the boolean flag: unless you are facebook, you probably have enough disk space
plus inheritance for this is 99.9999999999% the wrong solution
13:29
@PeeHaa the list is quite long
aha, so this was the question:
> For rapid application development, one of the toughest challenge is the choice of PHP framework. How do you think Symfony and Laravel best fit this requirement? What should be the criteria for framework selection?
And as long as the attribute's column is indexed, shouldn't take too much time sql-wise, right?
so the context is picking a framework
Anonymous
stop being reasonable @Gordon
@JayIsTooCommon give me a vmax
Jesus @Gordon
13:31
@kero no: and stop worrying so much about it :-P
Stop adding context bitch
Databases are stupid fast nowadays
unless it's MongoDB
True true. Just thought maybe someone knew a "prettier" solution
@Ocramius you clearly havent tried reading from cassandra
Thanks for the feedback @Ocramius
13:32
@Gordon we're using cassandra here: takes ~30seconds to get an indexed integer for a financial entity
FAST
you are weird
ok now i got a problem
@DeStr you joined this room
had a heart attack from the bell sound
13:35
You should add a second core for redundancy
https://paste.ofcode.org/qinFbtRrUTBRHKaK3eB9RS
give out this: Message could not be sent.Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
the thing I noticed with #Laravel supporters is, they use words, but sometimes it's not entirely clear they know what they mean
hahahahahah flagger!
What's with all the pings? :O
13:37
Wow
#Sad
@Jimbo
wat happened?
... sometimes I get pumped up on actually getting to 10k, just to get annoyed by the flags
My fearless leader just got flagged
They are just all jelly
@FélixGagnon-Grenier seeing deleted content is way more worth the effort vs flags
I am agree. Now say sorry to eachother
13:39
there are some good gems on SO which get deleted.
like "which boy should I choose" <- girl wanting us to pick a boyfriend for her
@rlemon duplicate of "Paxos vs Raft"
can someone help me?
tempted to start following @realDonalTrump for the lulz, but the facepalm scares me
@DeStr please tell me that's not your gmail password...
I thought so at first
thats an old one
13:44
phew
Anonymous
31 mins ago, by JayIsTooCommon
@DeStr i don't know windows / xampoop - give it a google . You'll probably need to configure SMTP somewhere to run locally.
btw, GMail uses a custom SMTP port
Anonymous
@rlemon if you see it again, please point them my way.
Anonymous
:37390256 you wish.
if I configure a local smtp can I still send to any mail or only to the ones on the server
13:47
phew. for a second there I though my joke had hit harder than I expected
@JayIsTooCommon I suggested whatever boy doesn't know she's asking on stackoverflow
@FélixGagnon-Grenier Looool. Nadians
shit... my coffe cup rings on the exact same tone as a chat ping
it took me a few seconds to realize, and I was getting edgy
13:51
@JAamish hey, can you tell me how Tideways was too in-depth for you? Like what in particular?
Anonymous
@FélixGagnon-Grenier .. did you spell phone wrong?
@JayIsTooCommon nope. my coffee cup is right next to my hand, but it was touching the side of my computer. My table moved, which in turn made the cup hit the side of the computer, which pinged me.
I was like... wth?
... ok, the sound is slightly different, but close enough for jazz
Anonymous
heh, weirdo.
Wes
Wes
#QuestionEverything #Laravel #PHP https://t.co/X5bTzVjUbi

« first day (2419 days earlier)      last day (2754 days later) »