« first day (2065 days earlier)      last day (2880 days later) » 
00:00 - 15:0015:00 - 00:00

12:08 AM
nn\
 
Ekn
nite
 
Is there a decent way of asynchronously watching a file or stream for data?
Tried krak's pthreads for some stuff but it ended up cloning the single class I was trying to use across both threads (I think)
 
reactphp
 
Cool, will give that a shot, thanks.
 
@Ocramius Was looking at Stream but will take a look at that too, cheers
eio not supported on windows platforms. Darn
 
12:59 AM
Man, pthreads is certainly giving me a run for my money lol, as soon as object sharing gets involved it all goes bugger up
 
 
2 hours later…
2:44 AM
Moin
 
monring
 
Wes
3:06 AM
mornings hodor
 
3:21 AM
:P
'nin
 
 
1 hour later…
4:41 AM
E_TOO_QUIET
 
@Sean show me code
 
indeed
 
'nin
 
posted on June 11, 2016

New Cyanide and Happiness Comic

 
Wes
6:09 AM
a friend told me it's quite scary being in paris right now. there's the army everywhere at any time
hope everything will go fine...
 
:/
 
Wes
you from @Saitama?
 
umm... Don't you know? Lelouch's from Britannia!!!!
 
Laothoe populi - popular hawk moth - staying out of rain in my garden #iow https://t.co/PO4ZuA0otp
cool bug in garden ...
 
Wes
@Saitama i bet he/she is from japan :B
 
6:13 AM
nah.. watch Code Geass... he's actually Britannian prince...
 
Wes
i have an infinite list of "i would rather do" than watching Code Gassy whatever that means
:P
hey joe
 
:P
 
is nullable type, is there in 7.1?
 
it let me measure ... the thing is either super confident, or senseless ...
 
:D
 
some laravel help plz,
 
6:39 AM
@Saitama yes
 
okay!
 
@JoeWatkins Reminds me of a simliar, but smaller, friend: goo.gl/photos/pmcdzoWMwTDGKMVQ9
 
Anonymous
7:00 AM
Holy crap Joe. Just run, run as fast as you can
 
Wes
i can't hear myself when i think
lost focus like 2 days back, struggled since then
for something i shouldn't even be doing
i wanted to replace a bunch of if()s with a overly engineered oop pointless abstraction, just because
and i don't know what i'm doing anymore now
 
:DDD
 
Wes
!!should i delete everything or continue struggling
 
Dunno.
 
Wes
you suck jeeves
 
7:07 AM
You should continue struggling.
 
Wes
i hate you jeeves
 
!!should i sleep more or go to work
 
You should sleep more.
 
@JoeWatkins Dad is dead. You're next. Love, Moth.
 
Wes
7:13 AM
 
got chance for teaching college students php..
 
so will you?
 
yeah thinking about that..
should i do it?
 
Wes
@RonniSkansing puppies!
 
@Wes they only attack if they are squeezed
 
7:44 AM
yaaay
 
@AnmolRaghuvanshiVersion2.0 Are you confident you can do it well?
 
!!should @AnmolRaghuvanshiVersion2.0 teach college students in php?
 
Dunno.
 
@MadaraUchiha i can do my best what i learn here...
 
@AnmolRaghuvanshiVersion2.0 That's not what I asked.
Are you confident that you can do it well?
 
Wes
@NorthbornDesign sorry forgot to answer. i don't think there are many gotchas with rewindable generators. it's just about keeping in mind how it works
 
@MadaraUchiha i have been in teaching area from many years but teaching programming first time
 
@AnmolRaghuvanshiVersion2.0 You think you'll have a good time?
 
Anonymous
@RonniSkansing That's a second time in a week, you have crushed firefox for me :)
 
I know that teaching can be a very rewarding experience, and especially in programming, it can reinforce your understanding of the basics
 
7:56 AM
that's one of reason in want to do it
 
Wes
@samayo crashed?
 
Anonymous
Yeah :\
 
Anonymous
It hates gifs for some reason, and that dailymail site ..
 
@Wes No, crushed.
With your fist.
 
Wes
why people insist using firefox?
 
Anonymous
8:01 AM
It's a daily occurrence for me, so I have submitted myself to it.
 
@Wes Because you touch yourself at night?
 
Wes
lol
 
Anonymous
So, safari claims to be 2x faster than Chrome or Firefox.
 
Wes
that just testing my own layouts. not actually navigating anything
 
@samayo And I claim Safari to be full of high grade horse feces.
 
Anonymous
8:02 AM
Page doesn't even have a download button, I hate everything related to apple.
 
Wes
just let it die please
 
It might be faster on a Mac. But I don't use a Mac.
 
Anonymous
Even itunes is a headache.
 
@samayo lol
sry =)
 
Anonymous
8:50 AM
Is ES6 work learning, or is it too soon?
 
Anonymous
I'm split b/n Drupal8/ES6.
 
Wes
why drupal?
 
Anonymous
$$$$$$$
 
Wes
really? dis why i'm poor
i don't want to live on this planet anymore
 
Anonymous
I see it basically on 60% of the job requirements.
 
Wes
8:55 AM
anyway, if i wanted to learn a cms, i would rather go with an ecommerce program. those for sure will be paid properly
 
OH "The most important thing to maintain is my mental health. Not my programming skills." #phpsc16
4
 
Anonymous
Cool guy
 
Wes
true
 
Anonymous
@AdilIlhan What Metal health? I have long lost that.
 
omg @samayo
 
Wes
8:59 AM
@samayo you probably know more than me, what's the trending php ecommerce platform right now? prestashop?
 
Anonymous
@Wes Yup. It's all over the place
 
Anonymous
Never even attempted to learn that.
 
Wes
i haven't properly checked that. would've tried doing ecommerce in the past, but magento convinced me to not do so :B
maybe prestashop is worth learning...
 
opencart? eheheh
okay okay don't beat
 
Wes
lolno
 
9:01 AM
i think there is much more job in magento
 
Anonymous
There is definitely a job for it, I see it here and there but drupal and prestashop are more common.
 
Anonymous
Magento is like WP. I think its time is up
 
wut
magent is like wp?
you praised to wp
and you insulted magento
 
Anonymous
I was talking about their popularity in the job market.
 
Anonymous
But again, that might be different everywhere.
 
9:13 AM
morgn
 
@Trowski Restriction to "empty array" default values intentional? That statement doesn't seem to line up with the patch
 
@AdilIlhan fwiw, both are crap. popular crap, but crap
 
9:31 AM
is prestashop crap? @Gordon
 
@AdilIlhan dunno
 
mornin
 
!!is prestashop crap?
 
Let me think about it … wait … yes … well actually, no.
 
@AdilIlhan It's all crap ™
 
9:32 AM
haha
 
@AdilIlhan just read the source
 
i don't have time
 
The correct answer should have been: I just ate
 
btw, we call them as crap. many companies earn money through wp, magento, opencart etc. though
 
let's put it this way: if you are building a shop system that needs to cater to any possible shopping use case, things will be less optimal than when you build a something tailor made for only your actual use cases.
 
9:35 AM
some of them are millionnaire
 
Also you will be putting out fires like crazy
 
@AdilIlhan which proves you can become rich from crap
 
ehehe
so thats why we aren't rich yet
 
profitable and popular crap
heck, it's even functional… no doubt about that
just under the hood… crap
or maybe crap is really the wrong term… we usually measure crap in how much pita it is
I correct my statement… wp and magento are a pita to work with, but they are very profitable, popular and functional
 
and crap
ahaha
 
9:39 AM
@Gordon WP isn't really functional though
 
@PeeHaa it's very hackable
 
maybe we can say "pluginable"
 
@Gordon Yes it is both malicious as well as by its intended users
 
yeah, that makes it functional :)
 
:P
 
9:48 AM
on a side note, I see people are enjoying Jeeve's Dad <3
 
:)
is dad plugin disabled
 
It isn't but we have tweaked him to only trigger 1/10000 times
 
makes sense
 
@PeeHaa booo
 
Anonymous
9:58 AM
@Fabor are you the fat bast*rd who was scrannin all the food at the back ;)?
 
How's the conf guys?
You drunk yet?
 
@Gordon heh
 
Wes
took me 2 hours to draw a circle in inkscape
i think i should go back to illustrator
 
Anonymous
@PeeHaa awesome :)
 
Cool. You've found the roomies yet?
 
10:03 AM
hey from #phpsc16
 
Anonymous
Nah, I'm fairly certain I've spotted.. I.e there's a 9ft guy walking around
 
hey @ircmaxell
 
Anonymous
@ircmaxell o/
 
Anonymous
Are there any EU php conf around this year?
 
@phpnw, North West, UK
PHPNW: PHP North West user / networking group in the UK
1.4k tweets, 2.4k followers, following 20 users
 
Anonymous
10:12 AM
Not UK. I can only travel to any eurozone country.
 
10:39 AM
$to      = 'example@example.com'; // not actually what I send the mail to
$subject = 'Message sent using your contact form';
$message = ''.$message.'';
$headers = 'From: '.$email.'' . "\r\n" .
    'Reply-To: '.$email.'' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
Is there any obvious reason why it doesn't send mail?
 
10:56 AM
laravel how to call a stored procedure
$tasks = DB::select('CALL pros()');
this is wat i tried it shows error
MariaDB server version for the right syntax to use.
 
@Crysis i think you should use DB::Raw in DB::select
im not sure though
 
ok thk u
 
Wes
@PeeHaa delicious git
user image
6
 
Git is...
 
Wes
11:10 AM
gitilicious?
 
maybe.. :P
 
Oh damn. I kinda like it :D
Also I want to lick it cc@JoeWatkins
 
Wes
:P
 
Bought a game from origin, like 18 hours ago, still haven't got it...
 
@Wes Can I set it as the orgs github avatar yet?
 
Wes
11:23 AM
yep :P maybe i'll improve it later. i like the shape but i'm unsure about the nodes of the git logo... dunno
 
looks cool tho
 
Wes
isn't too bad though, it's a bit off center lol
 
Not too bad at all imo. Then again I'm the last person who should judge things like this :P
Damnit. github caches avatars :(
 
Caching is nice...
Marathon-ing Code Geass again... \o/
 
yay updated
 
Wes
11:37 AM
i.imgur.com/YgtYkaP.png this is better, right?
 
I think so
 
Aren't those same?
 
Wes
bigger git logo in the latter
 
oh...
 
Wes
like the color though?
 
11:40 AM
second one, seems like balls
 
@Wes totally!
 
Wes
probably the smaller circles were better :B
 
@AdilIlhan ಠ_ಠ
 
Wes
but he was right :B
what a pointless piece of turd is inkscape. sorry, open source
but this is just too terrible
 
11:55 AM
OSS is crap for grpahic stuff. Fuck RMS
 
R.I.P. Christina Grimmie.
 
Who? What?
 
Wes
sad
 
!!google Christina Grimmie
 
Search for "Christina Grimmie" (https://www.google.com/search?q=Christina+Grimmie&lr=lang_en)
• Christina Grimmie - Wikipedia, the free encyclope… - Christina Victoria Grimmie (March 12, 1994 – June 11, 2016) was an American singer and songwriter,… (https://en.wikipedia.org/wiki/Christina_Grimmie)
• Christina Grimmie - Facebook - (https://www.facebook.com/christinagrimmie/)
• zeldaxlove64 Christina Grimmie - YouTube - Christina Grimmie's "SIDE A" 30 Second Promo. 193K views 4 months ago. HELLO TEAM I wanted to give… (https://www.youtube.com/user/zeldaxlove64)
 
Wes
11:57 AM
@PeeHaa won the voice or something in usa, talented
got shoot randomly while performing at a concert
 
@PeeHaa Do you even live in this world? :'D
 
Wes
bah
 
@Wes jesus
 
Wes
murica!
 
@Saitama Sorry I don't follow tmz like you do :P
 
11:58 AM
hi
 
:P
 
@Sarah hoi
 
Ekn
what :( she's really dead?
 
does java have cms like wordpress?
or jomolla
 
Trust me you don't want to use the combination of java and wordpress
 
12:00 PM
no
i just want to run a website base on java
quickly
like wordpress
 
I know there is hippo
Cannot judge the quality though
 
it has only hippo
 
Wes
song is even more sad now
> You shoot me down but I won't fall
I am titanium
stupid connection
 
:P
 
12:08 PM
I don't want to be an asshole, but do they really need this gofundme.com/christinagrimmie?
 
Wes
@PeeHaa this the best imho imgur.com/xF3oDky if you want i can try other colors
 
Looks awesome to me. Ship it!
 
@PeeHaa who knows...?
I love Material Colors
 
Well what annoys me is "This campaign was created by her management team and donations will be given to the family to help during this trying time."
 
12:09 PM
I mean surely management made enough
 
true...
 
Anyway I'm out getting food and beer and whatever I find
brb
 
lata'
 
Wes
lata
 
@JayIsTooCommon @Fabor i can't see you guys. Meet me at the stairs at 3?
 
Anonymous
12:17 PM
@PeeHaa Those people who set up funds are fast.
 
Wes
that's a bit sad
 
? Places with two hundred people are hard to always see someone....
 
Wes
beard radar?
@PeeHaa yes, seems to be her agent. lol insta sucking of what's left
though, still nothing compared to that couple that faked to have a kid with cancer to raise some money with crowdfunding...
 
Anonymous
waht???
 
Wes
12:33 PM
there are dozens of these
but this couple was particularly creative, they shaved the head of their actual kid to make him photos
 
Anonymous
no comment!
 
Wes
i know... incredible
 
Anonymous
I have read some hoaxed fund-me stories but nothing on that level.
 
Anonymous
I do remember this one from 2 years ago I think
 
Anonymous
Does anyone know how to costume pick font-awesome icons without going for fontello.
 
12:42 PM
Wtf … 8 yes and 11 no for return types right now … I … didn't expect that.
 
Wes
typed props you mean? aw
we can't have nice things...
 
Anonymous
@Danack will do
 
@bwoebi yeah...
 
s/return types/typed props/ o_O
 
I blame Dmitry and Ocramius
 
1:00 PM
@NikiC TBH, we really ought to try typed refs…
we even haven't tried it…
 
@bwoebi feel free
 
!!rfcs
 
1:16 PM
@Wes wtf...
 
Wes
¯\_(ツ)_/¯ i don't want to live on this planet anymore
did you upload latest logo?
 
Wes
yep
 
Done \o/
 
Wes
surprisingly (as it's very simple) i like it :P next is the gui :D
 
1:20 PM
Yay
 
What are you guys doing?
 
Wes
i'm trying to finish amphp logo now, but i'm failing hard with the ears' stroke
 
:D
 
Wes
the stroke that is between the actual hear and the elephant's head. not going well
 
@Saitama Nothing yet
 
1:25 PM
redirects me to github's main page...
 
oh odd
 
:/
 
Does this work github.com/Gitilicious?
 
yep!
 
@Wes Are you guys still going for the dark bg one I saw yesterday?
 
Wes
1:27 PM
no idea :P
 
Yeah. Works for me
 
Wes
the ears look better in this sketch thing than the proper one i'm making. bah
 
Cool
 
My holidays are going to be over :( need to finish the homework, bbl, guys
 
later @Saitama
 
1:37 PM
@NikiC Lxr is still down … arrrgh…
 
What question should i ask Anthony at the end of his "anatomy of types" talk?
 
/me googles for "anthony ferrara" … first suggested autocompletion result "obituary" … uh …
 
Wes
@Danack provocative? why it's so hard for the php community to admit that having to remember coercion rules of type juggling is way harder (and risky) than convert types ourselves explicitly? :P
 
@Wes because that's not true?
Because you typically do actually not have to remember the exact rules
it just works.
 
Wes
this, from you? :P i don't think you actually believe that... you need to know how it works
you can't just trust php blindly for all cases
 
1:52 PM
@Wes Why the surprise? I just need to know the exact rules when I'm trying to make them sane internally.
But in general, I can just write a bool, int or float to a string-only storage and get it back and continue to use it.
or I can pass something 0 or 1 to a bool and just works …
All you have to know is what works. not how.
 
Wes
i'm not talking of the obvious conversions, but of the crazy rules i don't even remember since i avoid them like ebola
like, numeric strings
 
numeric strings is basically:
3 mins ago, by bwoebi
But in general, I can just write a bool, int or float to a string-only storage and get it back and continue to use it.
 
Wes
you are missing my point. isn't just simpler and safe to just convert explicitly and always use strict comparison?
 
Safe yes, simpler no.
 
Wes
just few more characters to write, which make intentions 100% clear to the reader
 
1:58 PM
Like you're probably not-that-rarely just concatenating an integer into a string…
 
Wes
indeed, but that is not risky
 
Implicit string to other scalar conversion is IMO only fine as long as you can trust the input string.
I'd avoid putting unfiltered external input strings to other types like hell too… there I agree.
But for internal storage (databases, shared memory, own memory, local network I trust) … it's fine.
(as long as it's not ultra-critical)
short: avoid surprises. Don't allow unexpected input to go where you're trusting your input. That's all.
 
Wes
which is what i was saying. when i'm unsure i go full pedantic with checks, types, etc.
 
Sure, but you need to at fewest points in your code. Just at the outermost layer directly accepting the external data. Validate early.
 
Anonymous
2:15 PM
@Danack you with them?
 
Wes
@bwoebi you validate when you construct an object, then you pass the always valid object around and just check if the class name matches... :P
 
hmm ... almost 18:00 and I have done fuck all today
 
Wes
> i can't hear myself when i think
lost focus like 2 days back, struggled since then
for something i shouldn't even be doing
except it's 3 days now
 
:D
 
Anonymous
2:35 PM
How is this for indentation?
 
Anonymous
public function isGet():
bool {
    return $this->getMethod() == 'GET';
}
 
horrible?
 
^ dat
 
Anonymous
Yup, which is why I am going to make peoples' lives difficult. I will blog about how we should be using that :)
 
public function
isGet():
bool
{
    return $this->getMethod() ==== 'GET';
}
 
Anonymous
2:37 PM
> Title: Why you certainly need to follow this new rule
 
@FlorianMargaine It could do with some extra braces in the return tbh :P
 
Anonymous
I will create my own psr guides now.
 
Anonymous
echo 1; var_dump(headers_sent()); // 1bool(false)
 
Anonymous
wtf!!
 
@NikiC null or an empty array. Did I do something wrong in the patch?
 
2:48 PM
@Trowski My question was, why empty?
The note about the patch was that it does not check for emptiness either, and it seems like a weird requirement
 
@NikiC I've never used anything other than an empty array for a default, I forgot it could be non-empty.
I'll update that.
 
00:00 - 15:0015:00 - 00:00

« first day (2065 days earlier)      last day (2880 days later) »