« first day (2356 days earlier)      last day (2596 days later) » 

Anonymous
8:00 PM
Thanks
 
@PeeHaa can we have a plugin for Jeeves to watch travis and tell us when builds are failing
 
@JoeWatkins yes we can. Assign me and I will try to look into it this weekedn
 
done, ta
/me attempts sleeping, nn all
 
Wes
kill me please
$source .= " \\" . BaseImpl::CLASS . "::__construct insteadof " . $RT->getName() . ";\n";
 
night @JoeWatkins
 
Wes
8:12 PM
god i wish syntax was more lenient.....
use A, B{ A::x insteadof B } <- semicolon not required, errors if you add it
use A, B; <- semicolon required
 
Anonymous
@JoeWatkins it's 9pm! Get up this instant!
 
Wes
gn joe
 
@bwoebi @NikiC In the interest of having arrow functions pass are you open to a multiple choice vote on the exact syntax with these choices: 1) fn(params) => expr 2) ^(params) => expr 3) function(params) => expr 4) (params) ==> expr
The last entails moving grammar and parser classes so maybe not that one
 
I am not strictly opposed against 1)-3) … as long as the RFC would then pass.
 
I'm not fond of 3 but I don't feel that strongly about it.
 
8:17 PM
@LeviMorrison If you restrict that to options 1 and 2 ...
 
Alright, I'll go with options 1 and 2 then.
 
okay
 
Wes
function() is too long, why people want that...
@LeviMorrison can these be optionally extended to have actual closures, with multiple expressions and everything?
 
They could be, yes.
 
Wes
fn(){ return ...... ; }
^(){ return ...... ; }
function() => { return ...... ; }
(){ return ...... ; }
 
8:30 PM
No, drop the => on all forms except function() => {}
Oh and () ==> {} too.
Actually if we move grammar classes for that one then maybe () {} is doable.
 
Wes
so like this?
lol ^() is so ugly. but at least it's short...
 
^($x) { return \array_key_exists($x, $array); }
Something like that; of course you'd use the short form instead of that one if applicable.
 
Wes
fn is my preference, even over (){}
but as long it's short i would get used to everything...
 
Do we allow function, method, constant or class names of λ?
Can't remember if we require a prefix before we use unicode symbols.
 
Yes and stop
 
Wes
8:36 PM
lol
 
please
:p
 
λ(params) => expr
 
Wes
i don't even know how to type that
 
I hate you
 
λ(params) => expr is short and descriptive. No downsides, amirite? /cc @NikiC @bwoebi
 
8:37 PM
:D
 
Wes
why not fn, it's perfect :P
 
@LeviMorrison except that I do not have a shortcut on my keyboard to type it?
 
Wes
use function fn as λ;
 
@Wes Some will oppose it based on the grounds of a new symbol, Wes.
 
Mar 23 at 15:44, by PeeHaa
Just copy JS
 
8:38 PM
@PeeHaa Except => has meaning in PHP already.
 
So does ^
:P
Just not like that
 
Ah, but not an ambiguous one ^_^
 
:-)
 
Wes
yes but many asked for short signatures. i would like
public fn baz(): Qux{}
 
Or even fuck hvvm
==>
 
Wes
8:40 PM
so, it's not just for that, will get that use too, potentially
 
@PeeHaa Requires grammar/parser class changes (or really terrible hacks)
@Wes Again, some will vote against it for this reason.
 
@LeviMorrison ¯\_(ツ)_/¯
2
 
Wes
ahah
do you know how to disable Method call uses 1 parameters, but method signature uses 0 parameters in phpstorm 2017?
it's not an error... just variadic with 0 required args
 
Don't you just want to suppress that specific instance?
Sounds like a potential bug in most situations
 
@Wes Why doesn't the signature use explicit variadics?
 
Wes
8:51 PM
there was a reason. i don't remember it :B
 
Until that's clarified I'll stick with saying the issue is the declaration, not PhpStorm.
 
Wes
9:04 PM
seems that would work, was overthinking
 
9:16 PM
does anybody know what's "websocket" in one sentence?
 
Just use the google for once
 
I did it .. but every reference says a different thing
 
I hardly believe that
It's a pretty specific thing and almost any definition will use the same gist
 
maybe I have some translation issues
 
What in specific isn't clear about the definition you found?
 
9:20 PM
@Shafizadeh A websocket is a socket for web I/O
 
Wes
Declaration of x::__construct() must be compatible with y::wat(...$arguments)
error after
use x{x::__construct as wat}
ctor signature should never be checked for compatibility...
 
@JennaSloan a new (different) thing :-) ..! thx anyway
 
Wes
cc @LeviMorrison
 
@Wes it's not a ctor any more, you renamed it
 
Wes
posted the wrong line,
\\" . BaseImpl::CLASS . "::__construct insteadof " . $RT->getName() . "
wait
 
9:23 PM
lolwat
 
wtf are you doing :-P
 
go home wes, you're drunk
 
Wes
don't ask.
 
:P
 
Wes
my eyes are bleeding
eardrums are exploding
 
9:23 PM
I will do some pretty weirdo shit but that is... wat
 
Wes
throwing flames through my nose
 
I think I've had that cold this week.
 
Longest test name I wrote today: testNullableScalarSubTypesAreNotVariantMatchForNullableNonScalarBuiltInSuperTyp‌​esInStrictMode()
7
 
Wes
it's a mocking framework @DaveRandom so yeah, you got to do this kind of shit
lol, it is checked against a private method of a parent class? wtf
i might have found something weird lol
traits are such a mess
 
@Wes Did you show your doctor yet?
 
Wes
9:27 PM
he proposed euthanasia
 
:D
 
Which one is correct?
- living at Iran
- living in Iran
 
Wes
the second one
!!youtube living in america
 
thx
 
Search for "youtube living in america" (https://www.google.com/search?q=youtube+living+in+america&lr=lang_en)
• James Brown - Living in America - YouTube - No description available (https://www.youtube.com/watch?v=c5BL4RNFr58)
• LIVING IN AMERICA BY JAMES BROWN - YouTube - Yeah, uh! Get up, now! Ow! Knock out this! Super highways, coast to coast, easy to get anywhere On… (https://www.youtube.com/watch?v=2yrT0DpvfVI)
• James Brown - Living In America ( The Best Versio… - Mix - James Brown - Living In America ( The Best Version )YouTube. James Brown - Living in America… (https://www.youtube.c
 
9:31 PM
@Shafizadeh That depends on whether or not you are referring to the country or the nation
 
dammit I was literally about to do that
 
Wes
ahaha @DaveRandom
 
!!youtube living in sin
 
Search for "youtube living in sin" (https://www.google.com/search?q=youtube+living+in+sin&lr=lang_en)
• Bon Jovi - Living In Sin - YouTube - No description available (https://www.youtube.com/watch?v=VI2-ASiNCac)
• Bon Jovi - Living in Sin Lyric Video - YouTube - Play now. Mix - Bon Jovi - Living in Sin Lyric VideoYouTube · Bon Jovi Blood on blood (lyrics) - Du… (https://www.youtube.com/watch?v=GmQ_b6NIeOQ)
• Bon Jovi - Living In Sin (New Jersey Sessions) -… - Bon Jovi "Livin in Sin" (1989 Philadelphia) - Duration: 8:50. bjcrush 27,938 views · 8:50 · Bon Jov… (https://www.youtube.com/watch?v
 
Whiche one is correct?
- it is also my sister's name
- it is my sister's name too
 
9:32 PM
@JennaSloan wat
 
Your sister's name is Iran?
 
@DaveRandom :d no ..! It's a totally different question
 
Wes
@Shafizadeh equally correct imho
 
@Wes I don't have access to youtube
@JennaSloan thx
 
9:34 PM
@PeeHaa Yes.
 
yes what? :p
 
Wat, tests passed when they shouldn't have.
 
@Jeeves I figured I'd have a chat with you since you will probably make more sense than @JennaSloan is currently making
 
@DaveRandom Like having a chance for getting a boyfriend.
 
@Jeeves clearly I was wrong
 
9:37 PM
@DaveRandom Yes, friends are the best thing in the world.
 
:P
 
@Jeeves wow that's bollocks even for you
 
@DaveRandom No it isn't.
 
@Jeeves Yes it is.
 
@DaveRandom No.
 
9:37 PM
@Jeeves yes.
 
@DaveRandom Prove it.
 
He's faster at least
 
@Jeeves You see this -> o that's a bollock.
 
@DaveRandom No. You don't have a face.
 
@Jeeves When I look at yours, I'm thankful for that, feels like I got off light.
 
9:38 PM
@DaveRandom Where is this going?
 
@Jeeves Well I thought we'd exchange abuse for a while and then retire to the bedroom for foreplay and an argument.
 
@DaveRandom You asked the question.
 
@Jeeves pretty sure I didn't.
 
@DaveRandom Yes you did.
 
@Jeeves OK this is not an argument, it's just you contradicting me.
 
9:40 PM
@DaveRandom No, you are contradicting yourself.
 
hahahaha
 
@Jeeves why are you hitting yourself?
 
@DaveRandom I am not.
 
bored now
 
Did twitter just change their font or is it just me going nuts?
 
9:42 PM
why_not_both.jpg
doesn't look like it to me though
 
Prolly both
Or has it always been big like that on the homepage?
Not sure now anymore :P
s/homepage/timeline whatever the fuck you kids call it
 
looks normal to me
 
k
 
git commit -m "Some changes. I don't know what they are but they look important."
 
Oh god :P
 
9:47 PM
Don't worry, it's only work related.
 
@DaveRandom Hah .. you know, this and the most of my comits look similar :-)
 
Good heheheh
 
I just opened PHP storm and found a load of uncommitted changes in my editor, then I checked production and found the same changes there so... better commit them I suppose
I have no idea when I did this, not touched this project in ages
I am such a pro
 
Wes
toto :B
 
9:54 PM
@PeeHaa try to get a webnews poc
 
:D
 
Wes
a million of these were posted. best one is nein nein nein nein nein
 
Pull 192 to get wiped off the face of the planet? Y/N
 
hahaha <3
@Sean Is a rebase hard?
 
Lemee see.
Well can't ff merge
 
10:24 PM
LOL
Well I fucked that one up @PeeHaa
 
@Sean That bad? :P
 
Wait wat
:P
Did you pull? :P
 
I just.. sigh
 
hehehe
 
10:25 PM
I rebased into master, I think that was a bad move
I tried merging but it couldn't ff
It wasn't a lot of work, I'm happy to burn that thing into the ground
 
Might be better if you can't be bothered to fix it :P
 
:P Can be bothered, just don't know where it fits
 
:D
 
Am I okay to merge in github.com/Room-11/Jeeves/pull/201?
 
Yea sure
Lemme deploy
!!caniuse custom elements
 
<3 @Sean
Just pull those minor changes / fixes right in whenever you have them and ping me / @DaveRandom / @Ekin if you want a deploy
 
also fyi I added !!realias as requested
 
Sweet, will do.
 
(not deployed yet)
 
Anonymous
@DaveRandom \o/
 
10:35 PM
I even made tests
 
waaaat
 
inorite
 
Anonymous
Mental
 
$this->assertTrue(true); // make people proud
3
 
Anonymous
Did you find out what the stripping issue was christoph?
 
10:39 PM
@JayIsTooCommon other than it being a fucky regex, no. I didn't bother debugging the regex that was there, I made a more generic func based on another existing regex instead github.com/Room-11/Jeeves/commit/…
 
Oh btw @DaveRandom while you are here
Do we actually still use that version constant?
 
Well not really no, it's a fallback for when git lookup fails in sebastian\version
 
And it fails back to a random old version :P
 
That shouldn't ever happen, however I do feel like it should be there really
 
Anonymous
@DaveRandom ah noice, finally a helper. I can go through plugins / builtins to make sure they're using that one
 
10:41 PM
Can't we just dump a N/A instead of having the manually update it?
 
Once we reach 2.0 we should put a stable release process in place that involves having a useful value in there
 
k
 
or not, I dunno
maybe it's not actually useful
open to persuasion in any direction really
 
I opt for the N/A | Sebastian dun goofed fallback
 
Anonymous
Oi oi
 
10:43 PM
@PeeHaa the issue with that is, it assumes the bot will always be running in a git checkout
strictly that shouldn't be a requirement
in practice, it's probably fine
 
N/A covers that
Well yeah dunno
 
@PeeHaa I think probably it should just say "dev", then if we have a release process part of that can be to set it to a sensible value
 
Anonymous
Night sisters o/
 
I assume that's how php-src works? /cc @JoeWatkins
 
I was about to say we need a build process
But that would mean yo get distracted again :D
 
10:45 PM
@JayIsTooCommon I don't think anything else does it explicitly
@JayIsTooCommon nn
 
night @JayIsTooCommon
Also dev indeed makes more sense
 
!!issue create a proper build process at some point, probably after 2.0
 
@DaveRandom Issue created - github.com/Room-11/Jeeves/issues/202
 
oh god... I shouldn't have mentioned it
 
Won't be doing it any time soon
you thought any more about the docker thing yet?
 
10:47 PM
Didn't really gave it too much thought yet tbh :( Sorry
 
I realised it needn't be hard-coupled to docker anyway, if the plugins are launched as child processes there can just be a plugin_wrapper_command config option or whatever
 
Did somebody say Docker
 
!!leDocker
 
Wes
testing time. depression kicks in
 
lol taco
 
Wes
10:59 PM
class WhateverTest extends TestCase
{
    function test| // stares at the blinking caret for 5 minutes
}
 
No wonder...
It's blinking so fucking slow
 
Wes
i did my best
 
:P
 
mrngg
 
Wes
\o
 
11:05 PM
\o
 
Wes
11:16 PM
how do i pass the php.ini path to phpdbg?
i would do /? -? -h -help but it sayz ssleay is missing from my computer... which is not :\
found.
and yes, i am that noob
 
11:35 PM
Folks! Good evening. I have an open source application in PHP where I have to create another field to meet my demands, but as the application has thousands of lines it is difficult to understand if the function of this field is extended by other application codes. I want to know if there is a way to search the application code and find all the logic programmed for this menu?
 
Wes
@RenatoLazaro define "field"
 
I did not understand. Can I give you an example?
 
sometimes I wonder if the people designing email made it deliberately difficult to discourage people from using it
 
Wes
what is this "field" you want to create?
 
that would explain a lot and it would make me a lot more sympathetic towards them
 
11:42 PM
@Wes The application already has this field self :: WAITING => __ ('Pending'), I want to understand all the logic this status field does in the application to create an equal but with a different description, but the application has thousands of rows And it is a time consuming process to understand.
 
Wes
@DaveRandom i think some stuff started out as a huge well-planned worldwide-targeting troll and then the lie continued for so long that they either started believing in it or they feared for their lives and tried to convert the troll in something serious
like, php :B
 
and raisins
 
Wes
raisins? :B
 
Yeh I have never understood why everyone pretends they are good. It's like some joke that everyone in the world is in on except me.
There are so many good things you can do with grapes, and then there's raisins
 
My question is if there is a tool to do is look at the code and find out where I should change.
 
Wes
11:49 PM
lol
or star wars. that's a pretty good raisin too :B
@RenatoLazaro no i'm afraid
 
Okay. I'm new to PHP and understanding the logic of other programmers is being tricky.
 
Wes
getting a PHP ide like phpstorm would help probably @RenatoLazaro
 
@Wes For example this is part of the application code line 41 where the menu is created, however I can not understand in the other lines all the logic of this menu Status Waiting github.com/glpi-project/glpi/blob/master/inc/…
 
Wes
5000 LOC in a single file, no wonder you are having problems with it :P
 
I have a local file outside of /var/www/ with a form referencing a php file, how can I get PHP to run this file on centOS? php is installed, and so is an apache webserver (though i don't think a webserver is needed)
 
11:59 PM
@Wes This field freezes the SALA with pending status, but so far I can not if it is logical for this Waiting field to be in this code
 

« first day (2356 days earlier)      last day (2596 days later) »