« first day (2271 days earlier)      last day (2691 days later) » 

12:05 PM
@JoeWatkins So much work and we're still at 233 PRs ^^
 
@NikiC yeah, I know ... nearly 100 dealt with in two or three days is not bad going ... I can keep this up for a while, if you're willing to follow me round and check I don't fuck anything up too badly :D
can discount nearly all RFC labelled ones ... and anything with new labels on it ... if that makes you feel better ...
 
Also, I declare this to be the Month Of The Failing Build
 
and once we're on top of it, it should not be so much work ...
 
Now some sec fix for exif broke it ^^
 
I saw that failure, I wondered where that came from ...
sec fixes are a hot mess
 
12:09 PM
yeah
especially with 5.6 still in the picture
we should drop security support for 5.6 like ... now :P
 
that would be so much more convenient ...
5.6 and 7.0 being supported to the same degree makes no sense to me ...
hopefully nobody finds out ...
 
@JayIsTooCommon xp is gone though
 
Anonymous
wat?
 
They killed it
 
Anonymous
fack, so you can make anything now?
 
12:17 PM
Yes
You can haz c4 on day 1
 
@neo no. URL is just a data source. The interaction between objects is mostly governed by their responsibilities. You will have to ask a better question. Also, code samples help making the questions easier to understand.
btw, @JoeWatkins, you are still wearing your Halloween avatar
:P
are you getting old or something
 
it isn't just me that is not sure of my name ...
 
@JoeWatkins Even without your address I am pretty sure just yuor name and island would work :P
 
@tereško I plan to have surgery so I and the photo match ...
 
that's a kickstarter I can support
 
12:24 PM
haha
 
neo
@tereško may be its because i'm newbie my questions look akward
lets consider the case of facebook home page..how do you think dataflow is happening inside that page ?
 
Clearly the blanked out lines are
J Watkins
Watkins
J W
 
@Danack Should I add you as coauthor to the type widening RFC now?
 
I think the last one reads "that 30 something bald guy with the hoody"
 
Unrelated, php-fpm can't find my php files, oh noes. I've dropped chroot and set chdir to /, and also tried the path to the site directory, no dice on either
 
12:29 PM
@Sean :)
 
What do the logs say?
 
[E_HUNGRY]
brb
 
lol
 
@neo why are you so fixated on "data flow"?
 
Facebook's dataflow is easy @neo
Shit goes in. Shit comes out.
 
12:31 PM
@PeeHaa and a copy is sent to NSA
 
Right
 
:P
Is there a way to test sshd configs before restarting?
 
@PeeHaa Restart sshd, keep a connection open. The existing connection won't be affected.
 
@PeeHaa sshd -t
 
12:37 PM
One question, I have a private repository on bitbucket, how can I make it visible for someone else? (like my co-worker)
 
Thanks both
@kelunik I knew that. Just wanted somebody to repeat / confirm it :-)
 
@PeeHaa Well, but that doesn't help in case the one connection you had breaks. :D
 
@Shafizadeh add the user to the project
 
ah thx guys
 
12:39 PM
^ yeah, that
 
@kelunik yeah I know :P Don't jinx it
\o/ done
I was in multi-check mode there for a while
 
neo
@tereško its because i can't understand how information's cause calling different objects and methods and producing final output(DOM)
 
can anyone help me with that issue : stackoverflow.com/questions/41443655/…
 
neo
@tereško i was about send this page to you php.net/manual/en/language.oop5.autoload.php
 
12:46 PM
2 hours ago, by Ocramius
@ShailParas you already got an answer there
nvm it's a different debug this for me request
 
@PeeHaa - Please check thats a new bug
 
Nope. i don't debug people's code
 
there's an app for that ...
 
thanks PeeHaa
 
!!remind update opcachegui in 6 hours
 
12:51 PM
Usage: !!reminder [ examples | list | <text> [ at <time> | in <delay> ] | unset <id> ] Try !!reminder examples
Reminder set.
 
Anonymous
@tereško hahah why not
 
user6438501
!!reminder examples
 
Examples:
• !!reminder foo at 18:00
• With timezone: (ie. UTC-3) !!reminder foo at 18:00-3:00
• !!reminder bar in 2 hours
• !!reminder unset 32901146
• !!reminder list
• !!in 2 days 42 hours 42 minutes 42 seconds 42!
• !!at 22:00 Grab a beer!
 
Anonymous
12:58 PM
@kelunik you have some poop on your profile pic
 
@Gordon What am I looking at? :)
 
@PeeHaa if you want to schedule a one time job, like update something, you can run at instead of asking jeeves to remind you to do it.
 
@JayIsTooCommon perhaps you should wipe your ass using paper instead of your screen
@Gordon oh. I doubt the at command is smart enough to review PRs, write code and tag a new git release though :)
 
@PeeHaa ah, ok. so it's not some batch job. nvm then.
 
Anonymous
@PeeHaa ah sorted! thanks for your help pee, i'm just a newb trying to learn
 
1:01 PM
lol
@Gordon tnx anyway though :-)
 
just hit 100 mark ...
 
Anonymous
@JoeWatkins you don't look a day over 80, honest
4
 
no dummy ... dealt with 100 php-src pull requests in the last two (or three, I forget) days ...
 
hehehe
 
@bwoebi Shouldn't amphp.org/docs/aerys/classes/client.html#shouldclose be "Boolean whether the connection should be closed after processing the current request."?
 
1:13 PM
@PeeHaa I use IntelliJ with the PHP plugin because I cba having a ton of editors on my computer
 
@Trucy lol that's just icky
 
Yay .. Now I'm able to give grant to people for seeing my repository :-) who wants? :-)
 
@kelunik No thanks.
 
@PeeHaa Literally just a 404. fpm's access log: GET /index/php 404
index.php*
 
1:20 PM
Reasons for being up this early other than work: 1) Forgetting to take out the trash the night before, 2) ????
 
@Sean Anything interesting in the audit log?
 
@Danack Ok, I can remove you again.
 
Unless you're on about something else, not using SElinux
 
shame
 
@PeeHaa What's icky with intelliJ + plugin? afaik the only difference is that I don't have as much as new project configurations as you with phpstorm
 
Anonymous
1:21 PM
@Tiffany 2) Being in a normal timezone :D
 
Anonymous
@JoeWatkins well put, can't change the past
 
Wish I was, but one new thing at a time :P
 
@JayIsTooCommon it's always morning somewhere.
 
@Trucy can you install other PHPStorm based plugins? e.g. plugins.jetbrains.com/idea/plugin/7251-dynamicreturntypeplugin
 
@Trucy You don't just go in a mix php with java in the same thing in the same way you don't combine cornflakes and steak and call it breakfast ;-)
 
Anonymous
1:23 PM
@Tiffany nah, not after brexit. UK morning only otherwise you don't exist!
 
@JayIsTooCommon We broke away from the Imperial Empire for a reason...
 
@PeeHaa DON:T TELL ME WHAT TO DO\
 
Anonymous
:P
 
:-D
 
@JayIsTooCommon well english folks do take a breakfast with bacon and cornflakes
 
1:24 PM
@PeeHaa Is PHP now steak or break fast?
 
s/cornflakes/sausages
@kelunik heheh
 
speaking of which, I'm eating cereal
omnomnom
 
Speaking of which, brb, need food.
 
Anonymous
speaking of which, you're all fat - apart from Tiffany
 
I reminded @kelunik to go eat?
@JayIsTooCommon! I'm sensitive about my image :(
 
1:26 PM
I can't make the gitamp.service find the location of file. I keep getting failed at namespace spawning / no such file
 
(kidding)
 
Anonymous
:P
 
@Ekin Try pointing at it with your finger to help him
 
@Danack looks like I can
 
though I gained like 10 pounds that I'm passive-aggressively trying to lose
 
1:27 PM
did you use absolute paths @Ekin?
 
@JayIsTooCommon actually I have seen very few fat developers
 
@Tiffany Who knows. ¯\_(ツ)_/¯
 
like 2 in my entire career
 
I've seen more fat designers than developers o.o
 
@tereško you're in the wrong country
 
1:28 PM
@Tiffany lol
 
@PeeHaa I just put it in /opt and tried to use as /opt/gitamp/...
 
okay, time to go take out the trash then go back to bed
\o
 
@Ekin Define "it" :)
 
sorry, the gitamp dir where the server.php is
 
@Tiffany are you moonlighting as a contract killer?
 
1:29 PM
iirc you need realpath to all binaries for systemd services, right ?
 
yes
 
it may be that
 
neo
on a scale of 1-10 how much knowledge should one have to design a website by himself ?
 
@Ekin ^^ I fucked that one up last time so he may be right
 
Anonymous
@Tiffany you have breakfast and then go back to bed ?
 
1:31 PM
@Patrick What's your blog?
@Leigh Isn't the pay for PHP much lesser than that of C# and Java?
 
@neo if anyone asks you this in an interview, the correct approach is to ask to clarify , what does the 1 and 10 represent in that scale
 
@tereško I have a question.
 
neo
@tereško have you designed a website by your own ?
i need someone who already is pro developer
 
@neo 1. Google is enough. A few of my friends do a good job.
@neo You probably won't be able to afford most people here lol
 
@neo heh, @tereško is busy for now :-) I've asked the same question just now
 
neo
1:34 PM
@HassanAlthaf dynamic website ?
 
@neo what does "design" mean?
 
@neo About 5 then, neo.
 
> I need a pro developer
I'm holding out for a pro developer 'til the end of the night
He's gotta be strong
And he's gotta be fast
And he's gotta be fresh from the fight
4
 
I am a freelance developer (when I'm bored), if interested, contact me.
@Danack Dude, you nailed it. lol
@tereško Hey man, is there any good post/video to learn how to implement a Domain Model the right way?
 
neo
@HassanAlthaf have you worked with google cloud ?
 
1:37 PM
maybe
 
@neo No.
@tereško Any recommendations?
 
not at the moment
I'm at work and really cant spend an hour looking for articles
 
neo
if i try to learn things from a goal/target perspective things look achievable but if i start to think concept oriented i feel frustated
 
@HassanAlthaf Not for me.
 
@neo hello, I am a pro developer
Of course, I designed my own website, using state-of-the-art tools like laravel, jquery and bootstrap.
10
 
1:44 PM
and mongo
don't forget mongodb
 
and mongo, yes
running on IIS.
 
Think I know why it's 404ing. su-ing as the site user is just giving me permission denied for everything ever
 
neo
@littlepootis i was not looking for developer to hire.I was looking for a developer to clear my doubts
 
Anonymous
@neo You're in a room full of them, just ask your Q
 
Nope, didn't work. Damn
 
1:50 PM
@tereško Oh, I'm sorry about that, I didn't know you're at work.
 
Hello , i have a date that looks like this: 2017-01-03 (Y-m-d), how do i know if this date has passed?
 
!!docs DateTime::createFromFormat
 
[ DateTime::createFromFormat ] Parses a time string according to a specified format
 
@virepo Check your calendar
 
2:03 PM
infact, just using the constructor param should be enough for Y-m-d, right?
 
ye
 
Wes
'noon
 
hey wesley
 
Wes
hey pieter
 
@Sean I think he wants date_diff
 
2:04 PM
@Wes You alive again?
 
!!docs DateTime::diff
 
[ DateTime ] Representation of date and time.
[ DateTime::diff ] Returns the difference between two DateTime objects
 
Wes
hopefully
 
PeeHaa , how can i do it in php
 
Ugh, fpm is doing my head in. index.php is at /srv/apache/site/public So I have no chroot, chdir is set to /srv/apache/site and Apache proxies to [fpmip]/public, 404
But if I set chdir to / and chroot it to /srv/apache/site, it works.
 
Wes
2:08 PM
you were right @PeeHaa i'm now convinced i was testing wrong :B in my defense, i wasn't the only to do that insanity. i mainly assumed others were right :B
 
@HassanAlthaf patrick.louys.ch
 
@Patrick Thanks! Bookmarked! :)
 
@Wes :P
 
Wes
i can't avoid knowing about B. that's what i was missing. do you agree?
 
Is that other function already under test?
> should i be aware that the function uses another function B
Yes, how do you know you have tested all code paths otherwise?
Testing a signature as you said in there means you also won't be testing exceptions when taking it literally
 
Anonymous
2:28 PM
@virepo Google is your friend :)
 
Actually scratch that they are part of the "signature"
 
Wes
@PeeHaa yeah i get it now. it is even obvious actually, but what i grasped from the things i read in the past that tests must not be a mirror to the implementation. i think the most misleading thing i had stuck in my mind and that led me to write such insane things is that "refactoring code should not change the tests' effectiveness"
 
how2writecleancode
 
Wes
in fact some TDD stuff i read even suggest to write tests before the implementation
 
@Wes Well that's the idea behind the TDD principle
The development is driven by your tests
So you only write code necessary to pass the new test
And if your test that you just wrote passes… then you may (do) have a problem
 
Wes
2:34 PM
how can that even work. if you don't make assumptions about how the things are implemented you end up with crazy stuff
 
@Wes @PeeHaa I would keep unit testing as a black box in principle. So only worry about the method signature (incl. exceptions). use code coverage to see if you missed some code paths, but refactoring without changing the signature should not break tests
but say if you have an algorithm that does something different for values between 0-100 and >100 then you need to write tests for all those cases
but if you refactor that the tests should still not break
 
Wes
not break @Patrick only less effective
in other words if you refactor a function that has 100% code coverage, not necessarily it will end up having the same coverage after the refactoring, unless you actually test all the possible combinations of input/state which is basically what i was doing :B
 
how do you define test effectiveness (or the guy who wrote the quote)?
 
@Wes it's easy - you just get the design of the code correct the first time!
 
Wes
:D
 
2:38 PM
@Wes yeah that happens, then just add more tests
 
Has anyone used the HAR format for storing network interactions, and is it worth bothering with, compared to just using a shitty homebrew format, that stores just enough data?
 
is there a remarkable difference between json and shitty homebrew ?
(I haven't)
 
Wes
@Patrick i now think that's inevitable, but what i grasped (it's probably my fault) is that tests' coverage should be 100% regardless of the implementation. in other words what they said was that it would be incorrect to have tests whose coverage may change when the implementation changes
 
not everything is a javascript object though ... I hate that ...
 
Wes
sure you can try doing that... if you can deal with the insanity of the thing :B
 
coverage means absolutely nothing ... it's a thing that makes you feel warm and fuzzy ... but says nothing whatever about the quality of tests
 
Wes
tl;dr @Patrick ? will read them later
 
@JoeWatkins some (actually most) of the responses I'm storing in the shitty format are actually zipped/tar.gz data....so converting that to json would make the cached data be quite a bit larger I guess.
 
@Wes tldr: when you learn unit testing, use 100% coverage to get into the habit. then later scale back
 
Wes
i've been testing wrong this whole time, i think :B
 
Anonymous
2:46 PM
@Patrick Are you still writing a book btw? Or is that not a thing anymore
 
Anonymous
o/ @rdlowrey
 
@JayIsTooCommon yes, but I need to make more time. hopefully I'll have the content together by summer so that I can aim to release it end of the year
 
Anonymous
noice
 
What does chdir actually do?
in php-fpm
 
I'm only 30 pages in, I rewrite things over and over :x
 
2:49 PM
Unless I chroot in the pool, I have to specify the full path e.g. 127.0.0.1:9000/srv/apache/site/public/ in order to work, it just ignores chdir
 
@Sean post your configs somewhere?
@Sean chdir changes the current working directory....but that's not normally needed for serving files.
 
chdir is executed after chroot, to set working path within chroot (or root) ...
 

« first day (2271 days earlier)      last day (2691 days later) »