« first day (2349 days earlier)      last day (2598 days later) » 

12:09 PM
I'm going to practice design patterns in PHP. Basically looking up ones on Wikipedia from Design Patterns: Elements of Object-Oriented Software and writing the Wikipedia examples in PHP. Question: when I'm creating the classes, should I make each class a separate file?
 
@Tiffany typically you'll use a separate file for each class, but if you're just tooling around with practice examples it doesn't much matter
 
Wes
morning
 
@Tiffany github.com/ircmaxell/DesignPatternsPHP also have a look on this afterward...
o/ Wes
 
@Wes Moanings o/
 
where do you live @Wes where this is morning? you're Italian, right?
isn't it like 1-2pm in Italy?
 
Wes
12:13 PM
yes but i'm a vampire
 
ah, morning is afternoon for you
 
!!ugt
 
3 messages moved to Trash
 
something tells me @DaveRandom is not working on dnslib
 
12:19 PM
13 messages moved to Trash
 
@Tiffany forked from domnikl/DesignPatternsPHP
 
@Gordon no I'm literally xkcd.com/303
 
ah
 
@DaveRandom your make should send a notification whenever its compiling dnslib so we can keep track of you
 
12:23 PM
well amphp/dns is written in PHP, it takes like a few ms to compile... however this work project is written in VB.net and I would like to kill myself.
 
what does _. mean in javascript?
 
!!? what does _. mean in javascript?
 
Search for "what does _. mean in javascript?" (https://www.google.com/search?q=what+does+_.+mean+in+javascript%3F&lr=lang_en)
• What does _(variable_name) mean in javascript? -… - 16 apr. 2013 - I came across the following javascript code … Might find your answer here: stackover… (http://stackoverflow.com/questions/16046532/what-does-variable-name-mean-in-javascript)
• What does this symbol mean in JavaScript? - Stack… - 3 mrt. 2012 - This is a collection of questions that come up every now and then … amnotiam yes, exc… (http://stackoverflow.com/questions/9549780/what-does-this-symbol-mean-
 
sorry, I mean "it takes 15 minutes to compile because someone at some point thought they would customise the build process with a load of impenetrable scripts that do fuck knows what and I dare not touch them"
 
wat
 
12:25 PM
idk. i dont do js.
 
@Tiffany it's member access of a variable called _
 
Wes
lol the combining vomiting
 
so it refers to the library I was looking up, why are people using it in an example on wikipedia
 
because iowa
 
e.g. this._commands = [];
 
12:25 PM
var _ = {prop:'foo'};
console.log(_.prop); // "foo"
 
blargh
 
@Tiffany that's just assigning an array to a member of this called _commands
however it's Javascript, so this could refer to many things, including (but not limited to) the current object scope, some entirely different object scope, a function, or Donny Osmond.
 
@Tiffany nothing, but there exist underscore library
 
12:41 PM
!!booze glenlivet
 
Search for "glenlivet" (20 results)
• The Glenlivet Single Cask: Pullman Water Level Route - Expert Rating: 95 - User Rating: 4.7 ★★★★★ (https://distiller.com/spirits/the-glenlivet-single-cask-pullman-water-level-route)
• The Glenlivet Single Cask Pullman Club Car - Expert Rating: 93 - User Rating: 4.3 ★★★★☆ (https://distiller.com/spirits/the-glenlivet-single-cask-pullman-club-car)
• The Glenlivet 25 Year - Expert Rating: 92 - User Rating: 4.4 ★★★★☆ (https://distiller.com/spirits/the-glenlivet-25-year)
 
<3
works like a charm. thanks @PeeHaa
 
\o/
 
4 messages moved to Trash
 
!!booze aberlour
 
12:44 PM
Search for "aberlour" (9 results)
• Aberlour 18 Year - Expert Rating: 92 - User Rating: 4.2 ★★★★☆ (https://distiller.com/spirits/aberlour-18-year)
• Aberlour 16 Year Old - Expert Rating: 90 - User Rating: 3.9 ★★★★☆ (https://distiller.com/spirits/aberlour-16-year-old)
• Aberlour A'bunadh - Expert Rating: 88 - User Rating: 4.2 ★★★★☆ (https://distiller.com/spirits/aberlour-a-bunadh)
• Aberlour 12 Year Sherry Cask Matured - Expert Rating: 87 - User Rating: 3.6 ★★★★☆ (https://distiller.com/spirits/aberlour-12-sherry-cask-matured)
 
!!booze Laphroig
 
Search for "Laphroig" (5 results)
• Laphroaig Cairdeas 200th Anniversary Edition - Expert Rating: 94 - User Rating: 4.5 ★★★★★ (https://distiller.com/spirits/laphroaig-cairdeas-200th-anniversary-edition)
• Laphroaig 10 Year Cask Strength Batch 005 - Expert Rating: 94 - User Rating: 4.1 ★★★★☆ (https://distiller.com/spirits/laphroaig-10-year-cask-strength-batch-005)
• Laphroaig 16 Year 200th Anniversary - User Rating: 4.5 ★★★★★ (https://distiller.com/spirits/laphroaig-16-year)
• Laphroaig Four Oak - User Rating: 2 ★★☆☆☆ (https://distiller.com/spirits/laphroaig-four-oak)
 
aah, Laphroig. I like.
 
!!booze Black Dog
 
Search for "Black Dog" (4 results)
• Monkey 47 Schwarzwald Dry Gin - Expert Rating: 99 - User Rating: 4.6 ★★★★★ (https://distiller.com/spirits/monkey-47-schwarzwald-dry-gin)
• MB Roland Kentucky Black Dog - Expert Rating: 65 - User Rating: 3 ★★★☆☆ (https://distiller.com/spirits/mb-roland-kentucky-black-dog)
• Bird Dog Blackberry - User Rating: 3.1 ★★★☆☆ (https://distiller.com/spirits/bird-dog-blackberry)
• Compelling Gin - User Rating: 3.7 ★★★★☆ (https://distiller.com/spirits/compelling-gin)
 
12:53 PM
the monkey 47 is nice
 
@PeeHaa your badge of shame changes make it sound like @Sean's kid broke the build
4
 
Wes
lool
 
!!booze brockmann
 
@Gordon No results for: brockmann
 
Wes
beautiful
 
12:54 PM
@DaveRandom ...
!!lxr zend_check_type
 
@JoeWatkins Nothing went wrong but I couldn't find a suitable definition
 
@JoeWatkins And you like it.
 
@JoeWatkins That one should be fairly fixable
thanks
 
12:55 PM
@PaulCrovella :P
 
@PaulCrovella @PeeHaa Go, build that as a badge service.
 
@kelunik Yeah @DaveRandom suggested the same :D
 
@JoeWatkins dam, I was hoping the was some way to hook into that, I guess not :-(
 
@Vamsi when was the last time you flew through BLR?
 
are you looking for vm opcodes ?
 
Anonymous
12:58 PM
@DaveRandom if the logic was separated so that it's purely exception based, would that be smelly? I.e. A responder which try's the action and responds based on the exception caught or based on nothing being thrown?
 
@JoeWatkins I'm specifically looking for a way to intercept and handle type checks for a specific list of names (that I will maintain) and pass the rest through to the default handler
 
@Dereleased few months ago.
 
[return opcode](https://lxr.room11.org/xref/php-src%40master/Zend/zend_vm_def.h#3692)
[arg opcode](https://lxr.room11.org/xref/php-src%40master/Zend/zend_vm_def.h#4552)
[arg with default value opcode](https://lxr.room11.org/xref/php-src%40master/Zend/zend_vm_def.h#4573)
[variadic arg](https://lxr.room11.org/xref/php-src%40master/Zend/zend_vm_def.h#4608)
[function to set handler](https://lxr.room11.org/xref/php-src%40master/Zend/zend_execute.h#314)
fucking stupid fucking markdown ...
 
When did they finish all the recent changes? I was there a month ago, but hadn't been since 2013. It looks almost completely different in all the non-gated waiting areas
 
@JayIsTooCommon I had an idea for this when discussing the other day: pass some kind of Response abstraction to the command handler as an arg, and the command handler uses that to post messages rather than asking for a ChatClient in the ctor
 
1:01 PM
@JayIsTooCommon never use exceptions for flow control
 
@JoeWatkins thanks, will investigate over lunch, I will probably have more questions...
 
@JayIsTooCommon fyi, you're writing PHP, not Python...
 
Anonymous
@JoeWatkins why?
 
because it's nasty
@DaveRandom lxr.room11.org/xref/php-src%40master/Zend/zend_execute.h#306 <- relevant return values from user handler, and some useful comments ...
 
1:04 PM
@Dereleased somewhere around 2014, also currently they are upgrading the current runway
 
53
A: Are exceptions as control flow considered a serious antipattern? If so, Why?

blueberryfieldsThere's a detailed discussion of this on Ward's Wiki. Generally, the use of exceptions for control flow is an anti-pattern, with notable situation- and language-specific cough exceptions cough. As a quick summary for why, generally, it's an anti-pattern: Exceptions are, in essence, sophisticat...

 
Anonymous
@DaveRandom but you'd still be basing success in the actions based on the response, wouldn't you?
 
@Vamsi Wow, I got in and out just in time to avoid that, it looks like.
 
Anonymous
@JoeWatkins interesting, thanks
 
Now if they'd just let me in more than 2 hours before my flights the 6 hour connections wouldn't be so bad.
 
1:16 PM
@Dereleased , generally for International flights , they do allow you in 4 hours before, but for domestic its 2 hrs
 
[mysqlnd] Annoying "mysqli::close(): Couldn't fetch mysqli" warning – #74290
 
@JayIsTooCommon The Response would have postSuccess() and postFailure() (or something like that)
 
> Exceptions are, in essence, sophisticated GOTO statements
I don't think I agree with that.
 
1:34 PM
hey @JoeWatkins! ping! :P
 
Anonymous
@DaveRandom but there's normally more than one failure possibility, or are you planning on generalising failure messages?
 
@JayIsTooCommon that doesn't matter, you only post one type of failure because you stop after it failed
 
Anonymous
@DaveRandom oh postFailure would still have an arg or of the message. Still means success would be determined by the same thing though? Or am I missing something
 
@Ekin best language ever!
 
Wes
1:44 PM
lol
 
If you were interviewing for a job that sounded very relaxed, and you were ready for something very relaxed, and when I say relaxed I mean "They make a physical product, you manage all the websites and internal tools", but you were worried that, come salary negotiation time, they wouldn't be able to meet your needs, what would you do?
 
@JayIsTooCommon yes success is determined by a call to postSuccess(), and you can only call exactly one of those methods exactly once
 
Wes
it's amazing how keywords actually make sense
 
yeah :D
 
Wes
While STICK AROUND
 
Anonymous
1:45 PM
@DaveRandom I see, that kinda works
 
EndWhile CHILL
 
There will be other stuff involved, I haven't figured out the details yet @JayIsTooCommon but it's necessary to do something like that in order to implement github.com/Room-11/Jeeves/issues/26
 
Wes
Return I'LL BE BACK
 
Since we need to be able to distinguish between success and failure there, you don't want to redirect failure messages to another user
It's complicated though, it won't be a trivial 2-method object, I haven't fully thought it out yet
 
Anonymous
@DaveRandom Yeah, that makes sense
 
1:47 PM
I just know that we need to do it on a per-command basis (hence an arg), we can't just have things directly invoking things on ChatClient willy-nilly
 
@Patrick Move to the US, double your salary
 
Anonymous
@DaveRandom heh willy
 
!!blame
 
It's @PeeHaa's fault
 
No idea why it's badged as me tbh ^
:P
 
1:49 PM
:D
Let me update this one too
!!alias blame say It's @Sean's fault
 
@PeeHaa Alias '!!blame' already exists.
 
ugh too much work
Forget it
 
Anonymous
Noob
 
I can't hear you. I have you on my ignore list
 
Now that we've established it's PeeHaa's fault there's no need to play the blame game
 
Anonymous
1:52 PM
@DaveRandom it'd make tests easier / shorter as well
 
@Sean @DaveRandom is going to fuck it up anyway in a couple of hours
 
Hahah
Oh did the rfc thing work?
!!voting deprecate-bareword-strings
 
• Raise severity of undefined constants to E_WARNING in 7.2, and Error in 8.0? - Yes (41: 100.0%), No (0: 0.0%) (https://wiki.php.net/rfc/deprecate-bareword-strings#doodle__form__raise_severity_of_undefined_constants_to_e_warning_in_7.2_and_error_in_8.0)
‌ ◦ Yes: aharvey, ajf, ashnazg, bwoebi, cmb, dams, danack, daverandom, davey, dm, emir, francois, frozenfire, galvao, guilhermeblanco, hywan, jhdxr, joey, kelunik, kguest, lcobucci, leigh, levim, lstrojny, marcio, mariano, mbeccati, mrook, narf, nikic, patrickallaert, peehaa, pollita, sammyk, santiagolizardo, sebastian, subjective, svpernov
 
Alternatively we could tally it
 
@PeeHaa You should see the black magic I was messing with earlier
 
1:53 PM
Yay!
 
@Sean I didn't actually even test it after the fix :D
@DaveRandom The import cleanup?
That looked easy enough
 
Anonymous
You look easy enough.
 
Depends on who is asking though
 
Anonymous
Don't pretend you care
 
About you?
Hahahahahhaha
 
Anonymous
1:56 PM
lol
 
I wish this work week would be over already...
 
Anonymous
Hmm, technically I'm unemployed today
 
Same
Rumor has it the devs have a very bad meeting in the afternoon with some higher ups
 
4 more hours today
 
@JayIsTooCommon You have been an unemployed bum since monday right?
 
1:57 PM
Not looking forward to it
 
Anonymous
@PeeHaa No last day was yesterday :p
 
Anonymous
Got a measly £45 amazon voucher.
 
@Sean About the project with the stakeholders not stakeholdering one?
 
@Sean gonna be unemployed soon?
 
Anonymous
I wanted a car.
 
1:57 PM
@JayIsTooCommon You still have your corsa rite?
 
Anonymous
Yep, state of the art
 
Hey guys, how would you create a database for sliders ? Knowing that I don't know how much slides there could be
 
@JayIsTooCommon :D
 
@Baldráni ask your teacher
 
Anonymous
A brand new 04 plate fast 1.2 corsa
 
1:58 PM
@tereško my teacher ?
 
!!? uk license plates
 
Search for "uk license plates" (https://www.google.com/search?q=uk+license+plates&lr=lang_en)
• DVLA Personalised Registrations - Buy private num… - Search and buy from millions of personalised number plates direct from the DVLA, including auction… (http://dvlaregistrations.direct.gov.uk/)
• Private Number Plates from Plates4less | DVLA Per… - We sell personalised number plates owned by clients, previously unissued DVLA … Air Ambulance; VRM… (http://www.plates4less.co.uk/)
• Number plates, vehicle registration and log books… - Number plates, vehicle registration and log books. Registration
 
@Baldráni yes, since this smells like a homework
 
@tereško not even close sry
 
Weird
 
Anonymous
2:00 PM
2004.. I was trying to make it sound better with some oxymorons
 
Yeah found your weird plate scheme
 
Anonymous
You're a weird plate scheme.
 
Anonymous
These quick come backs aren't working.
 
@Leigh I doubt that I would earn twice my salary in the US... ^^
Salaries here are well above the numbers stated in the survey
 
@PeeHaa put it this way, it's pretty Ocramius
 
2:05 PM
Oh that
Saw that. Noticed Marco liked it. Moved to dev null in my mind
 
lol :-P
 
@Patrick That survey isn't reflective of anything, really. I work with PHP and my salary is well above what is stated in the US as an average for PHP.
Even well above what's stated for Go.
Also, on a totally random note: Ubuntu's idea of caching DNS records is utterly retarded and buggy.
 
I wonder how much the numbers are skewed by wordpress developers etc
 
I just spent an hour debugging what is probably the stupidest DNS bug in history.
 
Because they probably earn a fraction of what a proper senior dev earns
 
2:09 PM
that survey gives javascript as the #1 language for sysadmins, devops, and data scientists... take it with a grain of salt
 
@Sherif That's the idea of an average
 
@Sherif Working with Digital Ocean ?
 
@Baldráni No.
I eliminated resolv.conf completely from the equation to prove it was Ubuntu's doing and after digging into source, low-and-behold Ubuntu turns out to be retarded as always!
Thanks Ubuntu! you guys never cease to amaze
 
Anonymous
You doing anything snazzy for your birthday @PeeHaa?
 
!!urban snazzy
 
2:12 PM
[ snazzy ] to be well dressed, have really stylish clothes on and generally look good
 
Yes I generally look good
Sounds like me alright
 
@PaulCrovella it was multiple choice, its hard to avoid js if you do anything web related I guess
 
But at the very least will get drunk probably :D
 
Anonymous
@Jeeves get a grip.
 
@JayIsTooCommon You underestitamte my writing abilities.
 
2:13 PM
lol
 
lol
 
16 hours ago, by PeeHaa
27 mins ago, by Jeeves
@PeeHaa If you will look back, you will notice that I have not made one single spelling error or typo of any kind.
 
@Jeeves Top of the morning
 
@TomasZubiri Bottom of the afternoon.
 
lol
 
2:14 PM
Sick
 
Anonymous
He's definitely got better since the ping was removed
 
Wait
that got removed yet?
 
@PeeHaa what are salaries like in below-sea-level-land?
Had a quick look a while ago since my gf is dutch but I remember it being very low
 
Anonymous
I'm certain it did
 
@kelunik @bwoebi ping, Can someone help me with ampv2 socket server, i think i find a bug
 
Anonymous
2:14 PM
Moment
 
Whoever did that. Thank you
@Patrick Dunno exactly tbh. I've been out of the market for a while now
Could check if you want
 
Anonymous
@DaveRandom isn't just a pretty face
 
<3 @DaveRandom
@JayIsTooCommon Nope he's also a tall beast
 
I'm not even a pretty face
 
2:16 PM
@PeeHaa was just looking for a very rough figure
 
@Patrick look at @DaveRandom
There are enough photos of a rough figure in chat transcript
More serious though. We don't actually like to share information like that over here so it's really hard to give an estimate
Probably @pmmaga can give a better number than me
 
hahahhaah
OMG they keep getting worse better
 
@kelunik @bwoebi
1. php examples/ampv2/server1.php
2. php examples/ampv2/client1.php
3. disconnect client
4. server get 100% CPU

May be I do something wrong, but I adapt it from ampv1
 
Anonymous
Hahahahahhaha
 
Anonymous
2:21 PM
Fabulous
 
@DaveRandom Oh my god
 
@DaveRandom pretty sure every photo I've seen of you is in some stage of... dress-up
 
There are some normal(ish) ones but those are boring
 
@Patrick, I think the average for a senior php dev is around 60k
 
@pmmaga depends on the country
 
2:25 PM
@kivlara When I hit stuff like this it's usually because I'm yielding a succeeded promise in a loop that doesn't break
 
@tereško yup, he was asking about the netherlands as far as I could tell
 
also, does the number mean netto or brutto
 
it's bruto or bullshit
 
openssl_pkcs12_read only returns 1 extracert when the .pfx has multiples – #74291
 
oh :/
Any idea what the top end of the salary range is?
 
hello
 
It's me
 
Guys I am quite stuck here in my cakephp project, installed selenium but cant run the sample test, could anyone take a look and maybe help?
0
Q: selenium testing in cakephp with phpunit

JapanGuyI want to learn about ui testing with selenium in phpunit. I had phpunit installed on my cakephp project, and it was running perfectly. Then I decided to install selenium following the steps described in https://phpunit.de/manual/3.7/en/selenium.html (i installed selenium in my project with the f...

 
@TomasZubiri congratulations on being the newest member of my ignore list
@JapanGuy current phpunit version is 6-something
not 3.6
 
oh shi
 
2:40 PM
:D
 
@tereško thank you for noticing! I googled selenium phpunit and that was the only relevant result, didnt notice the version in the url... i have version 6.0 installed and looking at its manual but there seems to be nothing about selenium..
damn
 
Anonymous
@DaveRandom Who is that?
 
Anonymous
it needs NSFW tag btw :)
 
A drunk person, probably
I have no idea how old that is
 
@PeeHaa eh, it was half off the back of that. They're gonna be looking for a señor project manager / developer outside the company.
 
2:46 PM
@JapanGuy maybe the support was dropped
or a separate project was create to focus just on that
 
A lot of talk about better processes
seeing is believing :)
 
:P
 
@tereško :( does anyone here play with ui tests? any recommended frameworks?
looking at codeception.com
 
Mar 16 at 8:33, by Gordon
@JapanGuy users
 
@Gordon ?
 
2:51 PM
She looks surprised about the pregnancy. https://t.co/gDI00FhwmG
 
@Jimbo I am offended by your latest fb post :D
 
Wait wat. @Jimbo does facebook :O
 
Anonymous
!!wotd
 
ort: a scrap or morsel of food left at a meal.
 
Anonymous
hmm ort could has two meaning now
 
2:54 PM
> THERE are reports of gunfire outside the parliament building in London. bbc.com/news/uk-39355940
 
Anonymous
Does anyone know what this weird table (with no clear definition is supposed to do) php.net/manual/en/internals2.opcodes.instanceof.php
 
@samayo Show the opcodes of the code?
 
Anonymous
Ah, so it's about the thing I know nothing about. Makes sense in a weird way
 
Anonymous
Shits going down in London
 
2:59 PM
@Patrick Yea I know, I beat the average reported by far, but I'm... good ;) (also in London)
 
@JayIsTooCommon yeah just heard it now
 
Terror attack outside U.K. Parliament. 2 men down on road. Man with knife/machete got into Parliament and stabbed p… https://twitter.com/i/web/status/844560649745301505
 
@Gordon You're not human.
 
@Jimbo the Freeman is not human
 
Anonymous
@PeeHaa This is why, I want to re-learn from starting from the C implementation, Zend and upwards... Because it's hard to find new stuff like this and try to understand it ..
 
2:59 PM
@Jimbo your mother is not human
 
Anonymous
thanks btw
 

« first day (2349 days earlier)      last day (2598 days later) »