« first day (2139 days earlier)      last day (2813 days later) » 

10:00 AM
@Fabor Not sure if you need those interfaces. Usually you won't ever have two backends.
@PeeHaa Yes. :-)
 
@PeeHaa great, work is also important
 
@kelunik Nice
@HamZa How's your job?
 
@kelunik wow, netherlands is so expensive. The cheapest I could find was 2gb for ~10euro per month
 
@kelunik Did you have several instances of Aerys running for the complete chat? And for handling like persisting the messages did you just simply save as they sent or some sort of fanout style where the displaying the message isn't coupled to the persisting of it? (Sorry if the questions seem weird or dumb).
 
10:01 AM
@PeeHaa really nice. Flex hours, sometimes even working from home and kind of variant tasks. Now I'm messing around with THREE.js
 
@kelunik Oh, yeah I plan on having a much simpler looking thing, mostly because I am simple :P
 
anyone here familiar with Eclipse IDE?
 
JetBrains 4 life
 
I have a coworker that I want to migrate to using spaces instead of tabs, but I have no idea how to make eclipse play with it
 
696
Q: How do I change Eclipse to use spaces instead of tabs?

Brian DeaconBy default Eclipse indents with a hard tab character. How do I change it to spaces?

 
10:03 AM
@HamZa It's only using that special deal. They don't offer it all the time. And it's internet-only.
 
I C
 
@tereško can you please search before asking. we dont need your duplicate questions. here, have a -1
 
@Fabor I only ever had one instance running, but I could have had two instances at any time.
 
@HamZa that's actually exactly what I tried. It doesn't seem to take effect
 
@Fabor Messages are always persisted before the confirmation is sent to the sender and the message is distributed via redis.
@Fabor Things should be a lot easier if you have just a single room.
 
10:06 AM
!!? cythia protocol
wtf @Jeeves
 
@DaveRandom What? I only execute commands. Go blame somebody else.
 
@tereško Even after a restart?
 
It taunts me
 
@HamZa I didn't try to restart it :(
 
@tereško just a guess, it's been a while since i used eclipse
 
10:08 AM
Is it possible to alias properties using traits?
 
@DaveRandom you need a jailbreaked jeeves for that to work
 
lol
cydia*
 
@HamZa oh three is cool
 
 
!!? cythia protocol
 
10:11 AM
Search for "cythia protocol" (https://www.google.com/search?q=cythia+protocol&lr=lang_en)
• Cynthia W. Lett - Etiquette Expert - Cynthia Lett media kit for speaking and training. Etiquette and Protocol Expert and Trainer. (http://cynthialett.instantmediakit.com/)
• Cynthia W. Lett CPP,CEP: International Etiquette… - (https://www.youtube.com/watch?v=XfsecoSiFWU)
• Cynthia W. Lett - Business Etiquette - Self-Impro… - Cynthia W. Lett, Business Etiquette, Self-Improvement/Self-Help, Health,Fitness, … One of the few… (http://www.allexperts.com/ep/2294-13862/Business-Etiquette/Cynthia-W-Lett.htm)
 
OK so I definitely broken something in those two commits
 
Anonymous
Does anyone know what part of Italy @Wes is located in?
 
weird
 
@DaveRandom No CI + tests?
 
!!? cydia protocol
 
10:11 AM
Search for "cydia protocol" (https://www.google.com/search?q=cydia+protocol&lr=lang_en)
• cydia:// - JailbreakQA - How to use the cydia:// protocol on MobileSafari? I want to make a DashCode application that will… (http://www.jailbreakqa.com/questions/23948/cydia)
• Copying � Cydia - Cydia Packages. Secure Copy Protocol: Install OpenSSH to let you connect to your device with a sta… (https://cydia.saurik.com/copying.html)
• Veency · Cydia - Just remember: VNC is not a very fast protocol ;P. The default Mac OS X Screen Sharing VNC client… (https://cydia.saurik.com/info/veency/)
 
@PeeHaa we started a new project and thought about using AngularJs. It's kinda cool when I saw it but it's kind of a pain if you want to hack something really fast and get it working
 
Wes
@JayIsTooCommon north east, far from the earthquake
 
yeh I reverted those two commits for now until I figure out why something in there breaks it
 
!!? @PeeHaa's mom
 
Search for "@PeeHaa's mom" (https://www.google.com/search?q=%40PeeHaa%27s+mom&lr=lang_en)
• PHP - 2016-03-18 (page 4 of 5) - rooms - Stack Ov… - @⁠PeeHaa Please man just ignore me if u don't want to give a good answer I've tried so much But I …… (https://chat.stackoverflow.com/transcript/11/2016/3/18/19-23)
• PHP - 2016-07-23 (page 2 of 3) - rooms - Stack Ov… - (see my comment at the bottom). @⁠PeeHaa I'm sure you've meant to write Haapee, not Hapee? :-P …..… (https://chat.stackoverflow.com/transcript/11/2016/7/23/14-22)
2
 
10:12 AM
lol
 
lol! ^
 
Anonymous
@Wes Ah good
 
@JayIsTooCommon he's alive and well
 
@tereško maybe it did take effect but you still needed to replace all previous entered tabs with spaces?
 
> @⁠PeeHaa Please man just ignore me if u don't want to give a good answer
Yep thats peehaa alright
 
10:13 AM
:P
 
@HamZa no, I (well, actually "he") would need to have spaces for the new code
 
I see, weird...
 
"converting all tabs to spaces" would be really destructive to git-blame
 
hehe
 
ping @MadaraUchiha?
can haz chat.stackoverflow.com/transcript/110670 unfrozen pls, kthxbye
!!? cydi protocol
I cannot type, apparently
!!? cydia protocol
 
10:24 AM
@Jeeves Y U NO WORK?!
 
!!? cydia protocol
> TypeError: trim() expects parameter 1 to be string, array given in /srv/www/Jeeves/src/Plugins/Google.php:157
god damn it
 
ah, explains as much
 
Are you debugging it with nano on production server or something?
 
That should have been in the logs though, not sure why it was silently swallowed
@nikita2206 vim, but yup :-P
I'm lazy. Shoot me.
 
I said nano to add a bit more absurdity :P
 
10:27 AM
19 mins ago, by kelunik
Is it possible to alias properties using traits?
 
Real men work with echo foo > on production dave
 
@bwoebi @NikiC ?
 
don't think so, let me check parser file quickly
 
The RFC says traits don't have properties, but they can have in reality.
 
TRS
@DaveRandom guide.room11.org check please...
 
10:28 AM
oh yeh I will fix that as well
 
@kelunik methods only
 
!!? cydia protocol
 
Search for "cydia protocol" (google.com/search?q=cydia+protocol&lr=lang_en)
 
ummm...
 
slowclaps
 
10:29 AM
I hate PHP
 
aren't we all
 
@bwoebi Thanks. That means I can't resolve conflicts. Why can traits even have properties even though the RFC doesn't define them?
@bwoebi Thanks. That means I can't resolve conflicts. Why can traits even have properties even though the RFC doesn't define them?
 
@kelunik probably they were forgotten to be prevented
Also, I love this on slow connections, when messages are shown to be timed out because the success message has not been reported back yet… (while actually having gone through)
 
@bwoebi Yes, same here currently.
 
!!? cydia protocol
 
10:33 AM
Search for "cydia protocol" (google.com/search?q=cydia+protocol&lr=lang_en)
 
that's weird
 
that expains it
 
jeeves is currently not running
 
@kelunik dunno, according to commit logs, property support was intentionally added in the initial implementation, not sure why RFC doesn't mention it.
 
Who added them?
 
10:35 AM
Oh, huh, the URL format changes when you supply a User-Agent as well
 
@kelunik Stefan Marr [no idea who that is]
 
!!? cydia protocol
 
Search for "cydia protocol" (https://www.google.com/search?q=cydia+protocol&lr=lang_en)
• cydia:// - JailbreakQA - How to use the cydia:// protocol on MobileSafari? I want to make a DashCode application that will r… (http://www.jailbreakqa.com/questions/23948/cydia)
• Copying · Cydia - Cydia Packages. Secure Copy Protocol: Install OpenSSH to let you connect to your device with a stan… (https://cydia.saurik.com/copying.html)
• Veency · Cydia - Just remember: VNC is not a very fast protocol ;P. The default Mac OS X Screen Sharing VNC client i… (https://cydia.saurik.com/info/veency/)
 
\o/
 
yay
 
10:37 AM
@DaveRandom done
 
:P
 
Any particular reason you aren't using the Sandbox?
 
Anonymous
just in time @MadaraUchiha ;)
 
just in time
 
@MadaraUchiha too much spam for a regular sandbox :-D
 
10:38 AM
@MadaraUchiha because will be using for testing RO stuff
 
But I guess we could add support for it, just the same format: $property as ... and $property insteadof ....
 
@DaveRandom Do you not have RO in the sandbox?
@bwoebi No such thing
 
@MadaraUchiha don't really want to make bot owner of sandbox though
 
Unless you're testing flags, in which case it doesn't matter which room you use
@DaveRandom Fair enough
 
@kelunik Not that trivial though (to implement internally)
it will also give conflicts when iterating over $this etc.
 
10:39 AM
what is the batter way to generate report/pdf document in php?
now i am use work on zend framework2 so
 
@bwoebi And it doesn't make sense, yeah, since it's not a rename but a an additional method.
 
@kelunik exactly.
 
@kelunik Will be multiple rooms for me. Basically creating a messenger client for me and my friends and we like to use several rooms to break up the fart-jokes from the existential-talk room.
 
But IMO the following shouldn't fail:
trait A {
    public $foo;
}

trait B {
    use A;
}

trait C {
    use A;
}

class A {
    use B, C;
}
 
It'll be OpenSource when I am brave enough too.
 
10:42 AM
Currently it fails with PHP Fatal error: Cannot declare class A, because the name is already in use in /home/kelunik/test.php on line 15 even tough it's the same trait that defines $foo.
 
@kelunik no, it shouldn't
 
@kelunik That error is a bit vague
 
Wait, this one doesn't fail. Wrong error message.
 
Is it because there's a trait of the same name A, or because it uses two traits that try to use the trait A?
 
Have to look up the exact thing that blew up some days ago.
@MadaraUchiha Yes, that's the wrong one, wait...
 
10:43 AM
PDFReport library?
 
!!? fpdf
 
Search for "fpdf" (https://www.google.com/search?q=fpdf&lr=lang_en)
• FPDF - Provide a PHP class, which allows to generate PDF files without using the PDFlib library. (http://www.fpdf.org/)
• fpdf.de // Willkommen - FPDF - PDF Dokumente mit… - Dokumentation, Downloads und Forum rund um das Projekt zur kostenlosen Erstellung von PDF-Dokumente… (http://fpdf.de/)
• Generating PDF files with PHP and FPDF - TechRepu… - 20 feb. 2008 - PHP allows you to generate PDF files dynamically, which can be useful for a variety… (http://www.techrepublic.com/article/generating-pdf-files-with-php-and-fpdf/)
 
The API is horrible but it's the one that produces the best results, in my experience
 
@bwoebi @MadaraUchiha Foundi it, just the same with methods. Works with properties only.
trait A {
    public function foo() {}
}

trait B {
    use A;
}

trait C {
    use A;
}

class D {
    use B, C;
}
PHP Fatal error: Trait method foo has not been applied, because there are collisions with other trait methods on D in /home/kelunik/test.php on line 15
 
I see, so it doesn't try to find out whether it's the exact same method or not
 
10:47 AM
ok thanks @Jeeves, @DaveRandom
 
@km8295 You're welcome!
 
It just tries to apply them all in a sequence
And if it has a name collision it gives up and explodes
Yeah, sounds like grounds for an improvement.
 
@MadaraUchiha Exactly.
 
@MadaraUchiha I think that the methods are effective copied at compile time, it has no way to resolve the fact that it came from the same definition
 
@DaveRandom Sure it has. Store the names of the traits you've already applied, and just skip the ones you've already applied
Since traits are always static and cannot change in runtime, you should have no problems.
 
10:49 AM
@DaveRandom It could save where it came from while compiling.
 
Yeh I mean in terms of the way it works atm
 
@Wes oy, alive?
 
I've been staring at mb_detect_encoding too long to try and determine the actually impact of using strict... am I reading this right that if it's not strict and the filter ident function does set a flag, it's stopping after only checking the first character?
 
Wes
@rlemon yep :B
 
@PaulCrovella If you use it always use strict
Anything else is completely useless
 
10:51 AM
are there any good alternatives for SourceTree on linux?
 
@PeeHaa I'm not using it. I will never use it. I'm trying to understand it.
 
Don't think reading mb* stuff is good for your health though :)
 
TIL .stop() (yes yes jQuery).
 
@Fabor this applies to you also @PaulCrovella, only in your case it should be called .stahp()
 
lol
 
10:55 AM
/me immediately renames every start(), run() and stop() method to stert(), rern() and stahp()
 
what did i do?
 
Attempted to read the mbstring source code
 
I'd really like to know if I'm at least reading that one part correctly. My eyes have crossed and it's difficult to tell anymore :(
 
TRS
<?php echo '234'; ?> mistake in the sentence?
 
Anonymous
@TRS If the desired behaviour is to echo string 234. There isn't one
 
TRS
10:59 AM
yes total is to waste the sentence.
 
Anonymous
What?
 
TRS
total = 10
10 is waste number
 
Anonymous
Am I missing something here?
 
@Wes good, now go make sure everyone else is too.
 
21
Q: About the artworks used in the Elfen Lied opening scenes (contains nudity)

GaoThe anime Elfen Lied is notorious for its one of a kind OP, featuring the mesmerizing theme song Lilium composed by MOKA and performed by Kumiko Noma, as well as sequences of art porn, a homage to Austrian symbolist painter Gustav Klimt. The idea to pose the characters as in Klimt's artworks came...

 
TRS
11:04 AM
negative question
 
@kelunik @bwoebi @NikiC would it be possible to just naively compare existing_fn and fn here to avoid this? i.e. just check whether the function pointers are the same and don't do anything at all if they are? /cc @MadaraUchiha
sorry for uber multiping
 
@DaveRandom what is this now?
the fatal error when a same trait is multiply used?
 
yes
since (I don't think?) the ce for the source trait doesn't exist after the method has been added to a class
 
@DaveRandom They're different pointers… but it should be fine to compare the opcodes pointers
 
oh right yeh it creates a new function pointer but leaves a pointer to the op arrays
 
11:08 AM
@DaveRandom Not sure if I can't think or just plain stupid. Is there an easy way to check if a DOMNode contains something? e.g. <Parent><Foo/></Parent>. I have Parent as a domnode and I want to check if it contains a Foo element
 
that should be a simple fix, right?
 
@DaveRandom possibly.
 
I don't have a sane build env for PHP7 atm but I might try and make one later
@PeeHaa as an immediate child or...what?
 
yes
xpath wants a domdoc instead, domnode doesn't have (getElementBy) selectors, looping sucks
 
$node->ownerDocument + xpath
But tbh if the child node list is small and you are only interested in immediate children (i.e. 1 level) looping is probably quicker
 
11:11 AM
oh xpath does contextnodes yeah
 
Also DOMElement has getElementsByTagName()
 
no shit
 
and what you have is a DOMElement, presumably
 
\o/
oh wait wat
Yeah probably
> public DOMNode XMLReader::expand ([ DOMNode $basenode ] )
...
lemme dump to be sure
 
Well I don't think it makes sense for anything other than a DOMElement to have children?
 
11:15 AM
True
 
So you can short-circuit on instanceof DOMElement, because it's definitely false if that's not true
 
ThW
@DaveRandom DOMDocument itself, DOMDocumentFragment :-)
 
DOMDocument doesn't have direct children though, they are children of doc->documentElement
(which is a DOMElement)
 
ThW
the documentElement, the xmldeclaration, comments, pis, ...
 
piss?
 
11:17 AM
oh right
 
ThW
Processing Instructions
 
oh
 
that's winning at life right there
 
hub.docker.com/_/php in case you need sth different
 
ThW
11:23 AM
@DaveRandom actually even attribute nodes have a child node (the value is a text node) - eval.in/private/080364c0290863
 
true
oh wait wut
attrs O.o
 
ThW
:-)
 
Ekn
mornin
 
hey ma'am
@ThW That's just odd unexpected
 
ThW
@PeeHaa true
 
11:27 AM
@ThW Right, although in this case I was thinking specifically about child elements
but yeh you are totally right
 
@Ekn \o/
 
btw @ThW are you phpnw'ing this year?
 
ThW
@DaveRandom yeah, all booked
 
Ekn
o/
 
@Ekn g to the mizzle mah dizzle
 
Ekn
11:29 AM
still haven't had my coffee, can't interpret that yet
 
So, yeah... this is a hot issue today: theguardian.com/world/2016/aug/24/…
 
I give this banana 5/7.
 
@ThW when you getting here?
 
ThW
Friday
 
what time?
/cc @PeeHaa
I'm not working so can do airport pickups
 
11:31 AM
\o/
 
You can get the tram also but it takes like a million years from the airport to town
 
I still need to book flight
 
ThW
3:25 PM, but I am happy to take the train.
 
well, an hour
 
y u go to this one but not when I went @PeeHaa :( GitHaa
 
11:31 AM
Hey your fault not mine :(
 
Anonymous
Aug 11 at 8:10, by JayIsTooCommon
@Fabor Don't forget this either :) https://www.google.co.uk/flights/#search;f=BKK,DMK;t=MAN;d=2016-09-30;r=2016-10-‌​02
 
Anonymous
I will keep sending you that link until you book...
 
@PeeHaa get on that shizzle
 
@JayIsTooCommon I have looked and I saw a price -_-. You guys are nice but you're not £700+ nice.
 
11:33 AM
@Gordon Much amaze
 
And Manchester certainly isn't £700 nice
 
okay, I'm done reading mbstring. If anyone has corrections to this answer I'm all ears.
 
@Danack Is it possible to process object-types as they are in your RFC rewrite with my examples or it needs more work on it?
 
@ThW I'll figure out my schedule nearer the time and let you know :-)
 
11:34 AM
hole felix
 
that's right, I'm holy
 
...
gloryhole
 
Anonymous
*holey
 
Didn't HTML 5 bring in some event listener shtuff?
 
11:36 AM
E_TOO_BROAD
 
E_YOUR_MOTHER_IS_TOO_BROAD
 
ok, I need to get faster
 
@Fabor I will fight you
 
in my @PeeHaa's mum jokes
 
@FélixGagnon-Grenier that is certainly not what she said
 
11:37 AM
@Fabor You would know
 
yeah, I let that door wide open didn't I?
 
That, on the other hand, is what she said
 
@FélixGagnon-Grenier If @PeeHaa's mom has to fit through, that's the only way you can open it.
 
@Fabor s/broad/wide
 
/me leaves now before this goes nay further
 
11:38 AM
:D
 
Where's Joewhat'shistits these days?
 
!!urban broad
 
[ broad ] Word for a woman. Less respectable than lady but much more respectable than bitch.
 
Ekn
sigh'd lol
 
ok that's not cool
 
11:39 AM
You don't want to urban some other people's names in here...
 
!!urban Felix
 
[ Felix ] 1. A person with a large dick. 2. A pimp. 3. A person who will become succesful in some way.
 
Well, now I do...
 
!!urban jimbo
 
[ [jimbo](http://jimbo.urbanup.com/4278226) ] 1) Regurgitated cum bubble that is generally blown through a male's nasal passages.

2) Refers to an unintelligent, moronic neanderthal that finds humor in himself when others do not.

3) A male or female who receives great levels of gratification from touching "tra-la-las"
 
11:39 AM
LOL
 
FFS
 
huh. TBH I was half excepting a different urban for that tbh.
 
you pretty clearly asked for that
 
Ekn
^ that
 
Are there any names associated with anything positive on urban?!?
 
11:40 AM
!!urban gordon
 
[ gordon ] A great friend. Always trying to make you laugh. Makes you sad when hes sad. makes you happy when youre happy. He's like a drug you cant get enough of. you will never forget him no matter how much you try. You miss him right after you saw him. He makes the girls go crazy. Easy to fall in love with. A best friend. Someone you dont want out of your life. Really cute and athletic. smart. funny. and a sweetheart.
 
@FélixGagnon-Grenier has clearly been writing selenium tests to get such a nice urban
 
Good ol' Gordo
 
Anonymous
there it is..
 
if only :D
 
TRS
11:41 AM
(removed)
 
also
!!urban rlemon
 
[ rlemon ] The most incredible guy in the universe, end of story. He’s sweet, caring, and truly amazing. He isn’t concerned with himself at all, but instead he’s concerned with other people. He always knows the perfect thing to say and the right time to say it. He takes your breath away and leaves you speechless. And he has a way of making your heart melt like no one else ever will. Robert is so wonderful, it’s almost impossible to find the words to match.
 
    if (isEphemeral(phpFpmProcess)) {
      continue;
    }
 
@DaveRandom no, not him.
 
how awesome does that read?
 
Ekn
11:41 AM
!!urban ekin
 
[ Ekin ] A word referring to an individual who acts in the manner of an elderly man. Such acts include, but are not limited to, sleeping early, calling caramel "toffee," and displaying a disproportionate affection for foods such as prunes.
 
The best thing about that one is that it is by not_rlemon
 
TFW you think it's Thursday and check the date :'(
 
@Ekn That's not too bad!
 
Ekn
11:41 AM
heh indeed
 
Just means you've only got a few years left before you snuff it
 
!!urban Ekn
 
whatchoo talkin bout willis
 
Anonymous
@Fabor did you send it to him btw? or still updating?
 
!!urban PHP
 
11:42 AM
Your Thursday Wednesday song of the day is Ten Walls - Walking with Elephants. This message is brought to you by me.
 
[ Jeeves ] Name of butler in any rich person's house.
 
Ekn
true, true
 
!!urban php
 
@JayIsTooCommon I was updating it and planned on giving to to some people for a little scrutiny before I send.
 
11:42 AM
you broke it
 
Uhhh, did I break jeeves?
 
Ekn
no answer
 
!!urban laravel
 
whatchoo talkin bout willis
 
11:43 AM
Quick let's get that on there
 
Anonymous
@Fabor Did you see the convo I had last night with Sheriff? I re wrote my entire CV because of it :P
 
please do
all my upvotes are ready
 
@JayIsTooCommon Nope. Linky?
 
Chars
 
11:48 AM
> Has the bottom fallen out of your world? Try Ex-Lax - the world will fall out of your bottom
 
@JayIsTooCommon that's how I am writing my resume nowadays, too
 
TBH when I review CVs I just look for the word "SOLID", if it isn't found I look further.
 
essentially the key is hipster technologies name dropping
shit like "I like trying out Go or Rust in my free time"
 
> In this role I
• drove the adoption of a unified coding standard resulting in the reduction of coding standard
violations from over 600 to zero thereby improving the overall readability of the codebase
• promoted Test Driven Development resulting in an increase of test coverage from 25% to 60%
thereby enabling more reliable refactorings through instant defect feedback
 
Well I am glad about the longer than 1 page part. Everything I have read says 2. I have received 5 page CVs too. Mine is pushed in to 2 with effort.
@DaveRandom May I send you my CV for tender and loving review?
 
11:52 AM
writing your CV this way also makes you all warm and fuzzy inside because you will be impressed with yourself
 
TBH I almost always tend to undervalue myself on my CV.
 
@Fabor I have a single page CV (and had for past 8 years), and it does not mention B2B, OOP, MVC, SOLID, SCRUM, IoT and Cloud
 
You can but I'm probably not the best person to ask, I've basically never interviewed (on either side) in the tech industry
 
I might just put a picture of Daniel on it. Pretty sure fire way to get an interview.
 
@tereško so that's why it took so long to get you a job
 
11:53 AM
@tereško Stop building websites for a living and apply for a job that deserves you then :P
 
I've always just sort of fallen into jobs, and whenever we've taken people on I just talk to them
 
@Gordon yeah .. I "looked" for about 8 month. In that time I sent my application to two companies and I didn't like the first one.
it surely was because of my CV
also, I think I will go feed myself somewhere
 
mouth usually works well for me
 
lol
 
probably CityWok (none of my usual spots has anything interesting today)
 
Ekn
haha
 

« first day (2139 days earlier)      last day (2813 days later) »