« first day (2072 days earlier)      last day (2882 days later) » 
01:00 - 14:0014:00 - 00:00

2:01 PM
Is there any sane way to pass runtime variables to phpunit test runs?
Use case: I'm trying to test a git client and I need to have a way to get the git binary location
 
@PeeHaa what type of rt-vars? ENV?
 
I am hoping there is some phpunit -c phpunit.xml.dist -vbinary /etc/git thing
I'll just let people edit the config
 
@PeeHaa is something like GIT=/etc/git phpunit -c phpunit.xml.dist not good enough?
 
Dunno if there is a windows equivalent
Lemme check
hmmm seems like setx does what I want. Will try it out. tenks
 
2:25 PM
Yeah screw that :P Stupid windows
 
@PraveenKumar mersi
 
Chaos monkey for backlogs: remove things randomly, and if no one notices, problem solved!
2
 
2:42 PM
Hey I'm back with another question! I have a code that uses ajax to get the contents of a PHP page every X seconds until completed=="yes", and every time it gets the contents it echo's a <script>alert("checked");</script>, Well if in the php page I have it echo <script>alert("worked");completed="yes";</script>`. So, ideally, it would alert "checked" once, then it would also alert "worked" once. For some odd reason it's alerting "checked" once (as it should) but it's alerting "worked" twice
oops I messed up my backticks there
var completed = 'no';
function checkit() {
if (completed == 'no') {
$('h1.countdown').load('http://website.com/check.php);
setTimeout(checkit, 10000); // makes it reload every 10 sec
alert('checked');
}
}

That's my code
 
Yeah I really give up on this broken phpunit thing...
 
yo
 
Anonymous
2:57 PM
@PeeHaa good choice
 
Anonymous
If you actually lean back and take good look, you'll see everything is broken
 
@Wes lol. wow. sorry, from the state of my head right now, I think I was something like overly drunk :P
 
Wes
i think you were smoking marijuana
while playing hokey
naked
on the motorway
 
you have a sick mind
 
Wes
ahaha
 
3:02 PM
but I kinda like it. will try
 
At least he didn't go for that annotation thing
That would have meant war :P
 
hehe
> A number of my clients are still on PHP 5.5, so I'm currently running all my code with PHPUnit 4.8. I would prefer to have all my code on PHP7, but I don't always control the hosting environment of my clients.
you mean I should run the tests on production server?
 
Sure and the test cases are your users!
 
3:11 PM
:)
 
I don't want to catch the thing myself :(
I'm too good to clean up my own mess :P
 
Wes
? it's not needed in my code
 
3:40 PM
!!version
 
!!should I work or not
 
You should not.
 
!!should I stay or should I go now?
 
3:42 PM
You should stay.
 
@jeeves - I don't think those are the lyrics of youtube.com/watch?v=LZk_HnE-cdU
 
:D
@DaveRandom you remember why we are disabling xdebug in jeeves github.com/Room-11/Jeeves/commit/… ?
Is it to prevent pretty var dump so we could match messages in test properly?
@Wes did you see belgium btw?
 
Wes
nope, was watching F1
how did they go?
 
F1 is really boring...
 
@Wes Ireland got pwned obviously
3-0
@Saitama But but but max!
Who had a shitty time btw
 
3:54 PM
...
 
Wes
F1 is boring indeed, but i'm used to it. this is my 22nd championship seen, i think
 
Anonymous
4:15 PM
Amazon aws
 
@Victor how compatible is hhvm with 7?
 
cat-mario.com tell me if you didnt rage quit...
 
lol death by evertyhing
 
inorite
 
Wes
4:31 PM
@Saitama i rage quit after i saw japanese gibberish
 
heh
 
@PeeHaa I haven't used it many times with PHP 7 features, but it's pretty good at it, see this, for INI configuration docs.hhvm.com/hhvm/configuration/INI-settings#php-7-settings
but however, I switched to zend php
 
@Victor You know whether I can target hhvm easily in my travis builds?
I'm not doing anything fancy
 
@PeeHaa just - hhvm in the PHP version list?
 
@PeeHaa yeah, you can, in the list of php versions simply at hhvm
 
4:40 PM
Yes I know :-) Just wondering whether it's worth it or everything breaks. I haven't tried hhvm in a loong time :)
 
nope. ;) - I want 7.1 to always mean the latest 7.1 available.
So that when 7.2 comes out, the tests don't change to 7.2 magically.
 
But at some point when 7.1 is stable surely you want to target the stable one at some point
I see
yeah I am agree
 
there is stuff getting committed into PHP master that won't be in 7.1 - I presume.
 
@Danack not yet
 
What does yet mean in this context?
 
4:44 PM
@bwoebi k - but there will be soonish right? i.e. before 7.1 gets released.
 
Wes
:P
 
@Danack yes… from experience it'll be branched between mid-beta and second RC
 
just found that huge shit from yesterday, ready to be lighted just beside the bed. man... I had ideas of taking on the world
 
So, yeah.....explicit version is better than ambiguous version....also wtf @FélixGagnon-Grenier
 
I rolled a huge effing joint.
 
4:46 PM
Oh, thought you meant you had an 'accident'.
 
:-P
 
@Danack You got test coverage working on hhvm by any chance?
 
No, I really haven't had any desire to touch hhvm.
 
I just want it when it's easy, but it already sounds like too much work
!!should I try to set up scrutinizer?
 
4:53 PM
Dunno.
 
@Jeeves uuuuussssseeeeleeeesssssssssssssssss
 
@Jeeves are you drunk?
 
@AnmolRaghuvanshiVersion2.0 Screw you human!
 
> Google Calendar now adds events from Gmail, like reservations for flights and restaurants, to your calendar automatically. The following events have just been added from Gmail to your calendar:
Well, that's both awesome and scary af.
 
5:19 PM
That's not like a stalker at all
 
5:48 PM
@PeeHaa, what are you using hhvm for, if I am not indiscreet
I thought you were against it
 
I just wanted to verify my library works on hhvm
But it's already too much work to set up
 
why? you just have to add .hhconfig and - hhvm in the travis config
 
I am running my php tests using phpdbg for coverage. So that would mean I have to conditionally change it for hhvm builds in the travis config. Neither do I know how hhvm works in terms of code coverage
 
5:54 PM
@PeeHaa oh ok, debugging sucks in hhvm
 
So unless somebody can be arsed to set it for me "ain't nobody got time fo dis"
:)
 
I ported my codebase to php
if you remember what I was planning a few days ago
 
Half. Was it hack or php?
 
it was hack
 
Do you have aerys up-and-running yet? :)
 
5:57 PM
after porting, php 7.0.7 confused me because I found out nullable types were not there yet, and mixed and void were not valid return / parameter types
@PeeHaa created a simple chat to get myself used to it. I postponed it to write some UI things
I was thinking how to display a 2 columns newsfeed
 
To the bootstrap mobile!
 
I am not using bootstrap
I made my own UI framework on top of Material UI
 
@Victor Wow their select boxes are broken / annoying
 
When opening a box and scrolling the content jumps one the page with a delay material-ui.com/#/components/select-field
 
6:08 PM
@PeeHaa I've seen that, yeah
for some reason, they recalculate the position on page scroll
instead of setting an absolute positioning
that would be really good
@PeeHaa le me ask you something about some workflow things
 
!!xkcd workflow
 
:P
 
so I have a news feed, which loads blog posts, mainly. they are wrapped in cards and have some kind of comments section. if you use facebook, you know that before commenting on something, things are not necessarily live updated and not all comments are displayed
When someone subscribes to a comment section,
OMG, I've just got the idea!
 
Good, because I have no idea whatsoever what FB does or doesn't do :P
 
6:13 PM
the thing is
you don't really need to know what facebook does. I described it pretty well there
I my scenario: when someone subscribes to a comments section (either by commenting or by clicking show comments), a message is sent to the websocket server and the comments are live for that specific post card
does it sound good?
 
yes
 
ok then
 
If that is all you could also just use an xhr request
Unless you want to be able to update the comment list with live data
I think diqusting does that
 
Wes
there are some character sets that differ in just one character. just because
 
Don't know what's worse. That list or the unicode consortium trying to stay relevant by adding more fucking pictures every couple months
 
Wes
6:25 PM
they are running out of languages to add tbh
only thing left is emojis :B
 
And that's the problem, because that is very much not true
 
Wes
ancient languages are missing, but modern languages are mostly covered afaik, even those of small populations of indonesia, native americans and things
 
@PeeHaa that's it, live data
!!docs token_get_all
 
[ token_get_all() ] Split given source into PHP tokens
 
6:30 PM
@PeeHaa this won't recognize : for return types. it's like it would be invisible
 
Wes
> These companies have, by their very own admission, workforces that are overwhelmingly white, and leadership and tech teams that are even less represented by racial minorities.
that's bs, everyone can submit alphabets to unicode
 
@Wes Show me a @Wes emoji!
 
Wes
if characters are missing, some language expert should help them fixing the problems
it's not that these people know all the languages in the world...
 
The problem is their priorities
brb going to watch the match
 
Wes
i don't think it's like that. if these characters are missing is because nobody showed interest in adding them, otherwise they would be a priority
imho
 
6:35 PM
o/
 
Wes
\o
 
7:08 PM
Hi !
Can anybody give some help for php script with fopen :)
Its like one week i'm on it and i feel so close of my goal
I'm a newbie so i guess it will be easy for some php expert to see what is wrong
 
pastie.org
 
First of all i have creat a topic on superuser which is not the good place i guess. If you want, take a look i explain the situation
(sorry for my english, i'm french)
-1
Q: Get pictures from server #1 to server#2 with fopen

imoopsyI need to get all pictures from from ftp server #1 to my host ftp server #2. 1) Software send all pictures (daily) to Ftp server #1 in photos.txt file : 17135046_01_hd.jpg /photos/xx/VO/xx/xx-1713-5642.jpg f0e533cdbaea68ab1fd52f3e7e8b3825 2) I get (daily) photos.txt file daily on Ftp host...

I gonna put the code on pastie
 
@user3206631 "sorry for my english" - lol, it okei.
 
@Danack it ol goot !
@RonniSkansing any idea :o?
 
@user3206631 coupl of things - one, you really want to separate your code into distinct parts; one to get the list of file, and another to actually download the files.
rather than trying to do both within the same function.
Also, in the code you posted, $ftpConnect isn't set anywhere....so yeah, the error message saying it's null is likely to be correct.
 
Wes
7:23 PM
@PeeHaa ronaldo is so overrated...
 
And a fucking dick
And overrated yeah
 
@Danack Oh yes you are right for ftpConnect ! i will try to change this and see what's appen
 
Not a bad match sofar btw
 
@Danack Lol my friend it works
@Danack It's like 4 hours !
@Danack THANKS :love: :bunny :cute:
BTW, i'm also watching the soccer
 
mua_ha_ha_it_works_it_works.gif
 
7:29 PM
#newbie_like_me_so_noob_they_spend_hours_on_sh*itty_errors
Almost goal
 
you should use an IDE - it will tell you when stuff is not defined. Also enable more error reporting.
/afk rum
 
What is IDE?
How can i scheduled my script to run daily ?
 
@user3206631 not even a hearth utf8 i am dissapoint...
 
@PeeHaa I wish i could to that !
how can i sheduled my php script to run daily :heart: <3 #heart
 
Wes
7:46 PM
@PeeHaa the ultimate douche
 
ThW
@PeeHaa 🍻
 
@Wes I would pay good money for a hitman. Just sayin.... hi 3 letter agencies
@ThW cheers!
 
Wes
lol
also pepe is a fucking douche. he is only good at kicking or worse
 
If only he would kick the fucking ball
 
Wes
messi is way, way better than ronaldo, i don't know how people can even compare them
 
7:55 PM
True that bruv
 
Wes
never liked portugal though, they are always so pretentious, they never learn how much they sucked in past championships...
it's also media's fault, for some reason portugal is always a candidate to the victory
 
8:09 PM
Please take a look at this
I have some problem with my file naming
I promise its easy stuff, only problem is with that _01 going into _10
How can i count 01 02 03 then 10
 
8:34 PM
missed penalty by ronaldo
 
8:51 PM
@PeeHaa Did I open the wrong room or has the PHP room changed into foorball room?
 
9:02 PM
It print 01,02… but after 09 it print 01 again instead of 10
How can i do
 
@bwoebi s/floorrball/floorball with your mom
 
typos <3
 
ThW
9:43 PM
@user3206631 you're converting the first char to an int ?
 
I am fucking drunk
 
like, really drunk
 
ThW
@tereško still working on that
 
ugh.. I'm jealous. I just realized it's saturday,
 
9:55 PM
:D
 
@ThW this has finally work :)
anybody ever used wpallimport
wp plug-in
 
it's kinda strange: I have somehow managed to programed Godsmack as my focus-music
 
:P
strange indeed
 
ThW
@user3206631 I never used wordpress
 
initially it was intended as "do not sleep" music I used in university
and, yes, my spelling is somewhat .. mm ... unstable right now, but so was my bicycle riding
 
10:03 PM
heh that'd definitely keep you awake
 
ThW
@tereško you shouldn't drink and ride
 
true
 
10:34 PM
https://github.com/php/php-src/pull/1797
Any estimate of when it will be implemented?
are having a good discussion
 
@RowAraujo maybe for PHP 7.2 with a simpler implementation - wiki.php.net/rfc/typed-properties
it needs 2/3 votes to pass.
 
@Danack Maybe it'll pass if refs are supported properly…
I doubt it's really the impls fault
 
11:00 PM
Is there anywhere documented that the root namespace is 'reserved' for PHP itself?
 
That's more of an angry cat, than a grumpy cat....
 
hmm
time for me to register a package with namespace php on packagist? :P
 
\o/
 
DAMMIT @Jimbo!
>.<
 
11:17 PM
Someone got yaml'ed?
 
11:32 PM
hey guys
 
This chat seems like it's as fun as AU
well, almost :p
 
hola
 
01:00 - 14:0014:00 - 00:00

« first day (2072 days earlier)      last day (2882 days later) »