« first day (1377 days earlier)      last day (3562 days later) » 

12:10 AM
@Fabien Things like that generally get past ethical concerns by ignoring the concept of "ethics"
 
heh true
 
@DaveRandom pfft, just buy some more ethics with that big pile of money you're diving into.
 
When you think to yourself "hey, scotch eggs, they seem simple enough to make", go out and buy some instead
 
I'm not familiar with this "scotch eggs" you're talking about.
 
lol. Go any photographic evidence?
 
12:15 AM
Can I assume that this is just liquor and eggs?
 
You're missing out if you've never had a scotch egg
 
Which sounds like a pretty horrible combo actually
 
Take a boiled egg, wrap it in sausage meat, wrap that in bread crumbs, deep fry it
I have no idea why "scotch"
 
Except the deep fried-ness
 
12:16 AM
Not overcooking the egg is the key to success.
If it's green you've gone too far!
 
@Fabien oh, yum yum :D
 
@Fabien No, I ate it. It tasted OK but was a little burnt
 
> Originally they were not covered in sausage meat but in a rich, creamy fish paste before being sprinkled with breadcrumbs. Their name in those days was 'Scotties,' allegedly because they were made at an eatery by the name of William J Scott & Sons close to the seafront. Hence, over a period of time, the term Scotch eggs was adopted.
 
The biggest issue is the fucking epic mess I made of my kitchen
 
Worth it?
 
12:18 AM
Mostly, the burnt-ness was entirely my fault
I really need to get a proper deep fryer
They are such a pita to store though
 
If you want an AWESOME snack you should make Onigiri.
My personal advice is to seperate the process. 1) Don't make rice, make sushi rice. Way tastier. 2) Then form the balls using the sushi rice and lightly spread mayo around the outside.
 
Interesting, I never thought of making those and I generally enjoy bought ones
 
If you like soy it goes great when you soy it during eating it too. But even plain it's amazing. Seriously though. Make sushi rice.
Also don't share them. You'll want them all to yourself.
Sushi rice takes 1-2 hours to make alone.
The rice vinegar part says heat it but realistically you don't have to if you don't mind stirring it for a while.
 
@Fabien That's a pretty epic cooking time for something that seems so simple, but I'm game when I can reserve the time to do it
 
It's largely leaving time to cook and then cool.
 
12:24 AM
In general I'm all about following the recipe to the letter when cooking things I've never done before
 
Yeah. Just make sure you make lots :P. Find a 'perfect sushi rice' recipe. Then once done complete with Onigiri. Filling is your choice but tuna-mayo is my preference.
You can have anything you like. Salmon, Brocolli, cheese, chocolate, marmalade. Whatever floats your boat.
You don't need to have the nori either. Most people don't like dried seaweed. I personally do. But I eat the seaweed first then the rest.
 
I have to say when it comes to fish I'm all about salmon in basically any form, or rare-ish tuna steak
I don't do in for "fishy fish", if you know what I mean
 
Salmon it up. I ate a lot of salmon ones in Japan.
 
Strangely I like anchovies though, which very few people do for some reason
 
Probably because they stink
 
12:29 AM
Anchovies or people?
 
both?
;)
 
People who've been eating anchovies are the worst
 
That's one thing I don't miss about working at pizza places anymore... being trapped in a car with anchovies is awful
 
I like anchovies.
 
I did my time at McD's, I know what the grease traps look + smell like
 
12:32 AM
Infact I can't really think of any seafood I dislike.
 
That's one thing I'm glad I'm not familiar with actually. I never had to work with that kind of thing fortunately
 
@cspray Meh, it's no more rank than it would be if you cooked 1000 burgers on your BBQ at home. This is the thing people seem to forget about McDs and co, they say "ewww that's disgusting", but so would your house be if you cooked meat in that volume all day every day
 
I've never worked in food industries myself. Done a lot of other menial things. Retail, cleaner, supermarket.
 
The other thing to remember is that all the grease in the grease trap is grease that people didn't eat
 
Still eat there?
 
12:36 AM
When drunk. tbh I was never that keen on it when sober even before I worked there so... not a lot has changed
They are also generally a decent employer, relative to other minimum wage employers
 
I like McDs. In fact I make a point of going to one every time I am in a new country.
 
Anyone has a good idea of which framework I can use to create multiple instances of a Point of Sale I want to resell under username.domain.com ? I want to rent it for a monthly fee. Not sure which one start using for this project. Symphony? Zend? Laravel?
 
keep in mind I have been to around 30 countries too.
 
@Fabien nb: Wales is not a country, and neither is "The West Country"
 
FTR America has the best McDonalds.
 
12:37 AM
:-P
@Fabien Canada has those baked apple pies that are so much better than the fried ones though /cc @DanLugg
 
lol. Wales is more than a country!
 
@Fabien Really?
 
@rodvaN Bad question is bad
 
China does a good McDonalds too. Especially the Chocolate sundaes
@cspray To which part? :P
 
Very subjective question, and very much the wrong question to be asking
 
12:39 AM
@Fabien America having the best McDs. I've been to my fair share in a few different parts of the country and they're typically not very good
 
I had mine in Hawaii and New York. Great milkshakes and the value for size is good.
 
@cspray You have been to ones outside the US as well?
 
@DaveRandom Not recently enough to matter for this conversation
 
TBH though the best fast food burger chain is an oriental chain called 'Lotteria'.
Well... Japan/S.Korea
 
@Fabien "You get more" is not an argument. I would get more cancer by moving to Pripyat, doesn't make Pripyat better than Manchester
 
12:42 AM
When it is food "getting more" is totally an argument
 
@DaveRandom lol sure it is. Value for money includes size for people of our height.
 
Hi,
My Wamp server is issuing 502 BAD GATEWAY, any suggestion what I should do?
 
Remember when we had Super Size in the UK?
 
must... not... troll...
gaaaah
 
Thems were the days. Super size strawberry milkshake.
 
12:43 AM
@DaveRandom Give in. You'll feel better.
 
While we're on the good angle. Best food in the world. Sushi from Tokyo. Close second... Korean BBQ from S. Korea
 
I've said it all before
@Fabien Yeh you don't want it from north korea. Fried dissident is chewy.
 
No email was sent, somebody thought the better of it? :)
 
@DaveRandom lol
 
Ahhh, I see it now.
 
12:45 AM
 
:Q____
 
Travelling is 50% views 50% food.
Basically had take-out for 7 months.
 
@Ocramius Surprised + dribbling smiley?
 
This pizza had waffles on it.
 
@DaveRandom just drooling
 
12:48 AM
@Ocramius Where on irc if I was to ping you? :P
 
oic lol
 
@Fabien I told you, anywhere on freenode
 
@Fabien 1992
:-P
 
ok, serious stuff: I'm splitting my repositories into single-method classes like StuffWithThatThingAndOnlyThatThingReport
thoughts?
only implementing __invoke (with different params)
 
<-- not an irc user -_-
 
12:50 AM
@Fabien lol, yeah, the problem is that I don't follow the SO chat
this channel is primary about amusement imo
 
The advice I am after is just what you'd do with docker given our server(s) setup.
@DaveRandom Speaking of servers. They arrived today.
4 VMs and one bigger box (staging)
Production is down to the client.
 
@Fabien depends on your use-case. We currently use it to setup parallel functional tests
 
The only thing I would utilise docker for is multi php version. But I am unsure how a container running php works with another container running nginx.
 
@Ocramius not a fan of __invoke() in general because too much magic. But also that whole question sounds like it should end with </troll>, I guess it needs more context
 
^^ this
 
12:52 AM
Also unsure on where/how to put files in a single place every vm has access too. I am assuming each dev having all the site code on all their vms is wasteful.
 
@Fabien you just connect the two containers
 
connect?
 
@DaveRandom I basically have a load of repository methods such as getCountOfUsersThatAreJerks()
or stuff like that
I am splitting them into single classes since the repository ends up being a mess otherwise
 
docker attach?
 
@Fabien look at the zfkickstarter thing
@DaveRandom so basically I have a class CountOfUsersThatAreJerksReport instead, which is basically just a curried function
 
12:54 AM
@Ocramius This is an issue I have had many times and never come up with a satisfactory solution to. It's essentially the Utils problem.
@Ocramius ...which just does return PHP_INT_MAX; presumably? :-P
 
@DaveRandom close enough
 
@Ocramius Oh right I previously only saw the single dockerfile not the whole repo. Will hopefully make more sense now.
Cheers.
 
@Ocramius Thought occurs that if you are going to take that approach you may as well just have a closure
 
@Fabien there's a run.sh or such
@DaveRandom can't test a closure sadly
 
Ahh right yes, that makes sense I guess
 
12:56 AM
Ahh cheers @Ocramius.
 
I don't like it, but I don't like any of the alternatives either so...
 
On that note it's time for bed.
Night all. 2am :(
 
yeah, function doesn't work either btw
@Fabien haha, sleep is for the weak!
ZZZZzzzzzzzzzzz
 
s/weak/weekend/
 
works too
 
12:57 AM
also weakened
 
@Ocramius Why wouldn't a function work?
 
btw, fun project:
@cspray because the function would require me to define globals
 
@Ocramius Yea, that's what I figured but I wasn't sure if you had some other complaint
s/complaint/reason
 
@cspray yeah, functions/static functions/closures are really messy for this sort of stuff
(in PHP)
 
I also must bail, because I also am softcore
nite
 
1:30 AM
what is foo?
 
@oyshee not bar
 
lol
 
2:32 AM
@Jack We opted to not send the email.
 
 
1 hour later…
3:50 AM
@LeviMorrison Yep, saw it :)
 
4:44 AM
@LeviMorrison interestingly, btw, the "who can vote" section specifies that either the voter must have an svn account and contributed code or be a community rep ... surely the current voters can't all meet those requirements, right? ;-)
 
4:55 AM
@Jack , since you are only one round ATM ... do you know any good examples for upload management code in PHP ?
something that I would looks at and not by terrified by
I am trying to figure out how to implement uploads in a sensible OO way
 
@tereško You mean an abstraction of $_FILES?
Or .. sending file uploads from PHP?
 
I already have an abstraction for $_FILES
what I am looking for is a nice example of API which handles the "moving around" of the uploads and serving them to the user
 
by moving around you mean moving the uploaded files into a specific path on the server?
 
yeah , that too
 
i'm almost ashamed to admit that i do all of that stuff without using oo ^^;;
 
5:05 AM
yeah .. well .. same here
which is why I am asking whether you know some good examples
 
no, sorry .. never felt the need to abstract it to such a degree; but it doesn't seem awfully complex either.
that said, i've never bothered to write a testable upload management thing before heh
 
5:34 AM
@rdlowrey have fun bugs.php.net/bug.php?id=67666 :x
 
5:54 AM
uh oh
@bwoebi hey, who does the bugs.php.net website?
 
6:13 AM
why is it that , when there is more the one person working on a project, some asshole is always try to fuck up the authentication ?!
I am kinda getting sick of it
 
hmm, which authentication?
 
6:30 AM
"project main authentication"
 
@bwoebi should be a simple fix /cc:@rdlowrey
 
it is extremely irritating, when a coworker with smug face tells you "It is too complicated to use that 'credentials' object. You have to send me it as a base64 encode string, because I cannot be bothered to encode it myself."
 
wat
 
"Oh, and since I am sending the requests asynchronously and cannot be bothered to have a pool of valid tokens, you really should remove the one-time-tokens and all the associated protection. Even though I have been telling PM that I have nothing to do, because you are not making the API fast enough."
I implemented this method for API request authentication, because the iOS app is dealing with sensitive user data and will potentially be going though load balancers, but the fucker has been doing anything he can to strip it away
 
6:48 AM
@tereško Hmm, Jeff Atwood says that you shouldn't follow that.
 
emm .. that sentence was confusing
what were you trying to say and what is "that" referring to ?
 
It refers to your "this" in the previous sentence.
Basically he's saying to just stick with Charles Miller.
 
@Jack actually that scenario is bullshit, because if cookie get's stolen, you delete the series and not the token (which in turn causes all users of that series to get logged out, because they were trying to identify with series that isn't there anymore)
He proved that wrong implementation is bad ... which is kinda strange
 
ugh, now i have to read that crap again ...
 
you have three parts: identifier (id or username) , series (created when you log in, basically acts as "session") and token (changes for each request)
- if you try to identify with a token that doesnt match an existing identifier-series pair, the series gets delete
 
6:58 AM
yeah, i know the method .. just checking the nitty gritty.
 
the improvement's point was to let you have multiple authenticated devices at the same time, where having one of them compromised does affect other
 
@Jack no idea…
 
damn, that stupid quick fix dropdown is broken
 
I know^^
 
@tereško I think Jeff assumes the attacker has physical access to the device/computer.
 
7:02 AM
if attacker has physical access, then there is nothing that you can do
 
yep, i think that was his point.
 
I will take a little better security over a little bit worse one any time
because the improved version lets you know when you have been targeted by man-in-the-middle attack
which is the best way to attack random phones
 
yeah, mitm attacks are childishly easy in public wifi setting.
jaspan's suggestion doesn't use too many additional resources, so it's still a viable way.
 
what is important for me is that it can be easily adopted for REST API
 
well, yeah, because it's compatible with charles miller :)
 
7:11 AM
anyway, my original point is that I am annoyed by that smug asshole
 
cue keyboard smash scene ...
@bwoebi perhaps ... @bjori knows :)
 
perhaps.
 
lol, vote @ 20/40 .. it's a massacre
too bad no betting lines
 
@Jack yeah
 
@Jack as said, we'd need a 2/3 vote.
 
7:18 AM
nah, just let them have it .. this can't be stopped with reason.
 
I just can't let the emotion win :x
 
i think it would have been okay if they had just come out and said "look, having invested so much time in a failed release, we just don't feel like working on 6 again" ... but instead, it was covered up with pseudo reason.
 
anyone here using Atom editor ?
 
@Jack then I feel like it's their decision to not work on it. we still could have 6.
 
@bwoebi i personally don't think we have the luxury to lose core devs over it.
 
7:23 AM
I really doubt we'll lose core devs.
most people who are feeling emotional about it are emeritus coders.
 
haha
 
good mornings
 
VGM :)
 
@bwoebi in the top 10 contributors for this year, four of them have voted 7; close :)
 
lol, I'm #3 there
 
7:30 AM
me = #8 there \o/
of course, this only takes into account master ... so once phpng is merged, the score will look totally different.
 
yes, then dmitry will be #1^^
 
and nikic + laruence will shoot up too
 
yep
 
fixed the ssl issue btw =D
 
I saw, thx
 
7:36 AM
@Jack it's sad and retarded
 
yes
 
it's the human condition i'm afraid.
i'm considering to write a script that matches karma up to votes, though.
 
There are a lot of emeritus coders with unicode php which still have all karma
 
the good old days
i'm more worried about the "i just like to vote" users.
and "i use php, therefore i have a say in things like these" users.
 
Good morning.
 
7:46 AM
what's this sh*t about ph7? such a trololol
> ph7: An Embeddable PHP5 Engine
 
Good Morning
 
good moaning
 
lol
 
Ah, William ... my answer is a coming ... muhahaha~
 
Morning
 
7:50 AM
hy can somone pls check this
 
checked it, dunno, dun really care either.
 
this is related to php
@Jack u dnt know about that ?
 
orly .. the last time i checked, php doesn't handle clicks.
the bulk of that code is javascript, what does it have to do with php?
 
yeah actually that code is working fine for latitude and longitude bt just stuck in finding zoom level ?
 
you can use php to zoom into google maps?
 
7:55 AM
how / ?
 
yes, how
 
i just need zoom values while clicking on map already performing zoom
 
wait ... i ... no, i don't care.
 
@ErumHannan That is a JavaScript question and have you looked at the API? Google provide pretty extensive documentation. This may also be what you are looking for
 
8:02 AM
yes i am doing same
bt not getting result
 
8:14 AM
Interesting. Unlike the current Internals vote, a public poll is currently in favor of PHP6: phpmagazin.de/polls/php-6-php-7-quickvote-175063
 
@Enijar can u pls help me where i am doing wrong ?
 
Please, take this to JS room
 
@Gordon Numbers could be high but even at a small sample it's an interesting depiction.
 
@iroegbu have a;ready asked there but no one respondnig
 
then post question in SO
 
8:33 AM
@Gordon that's indeed interesting :)
 
@Jack though you can vote as often as you want
 
Perfect!
 
@Gordon Egal?
 
put it on reddit @Gordon (just an English version)
 
==
 
8:35 AM
@SecondRikudo Egal => Don't care
 
@Gordon until the total votes in poll reach something like 5k, it is meaningless
 
@tereško a few hundred are already pretty significant
 
> Gesamtstimmen: 39
(sum total)
 
yeah, not enough that
@Gordon When did this poll go live?
 
8:39 AM
@Jack cant be too long ago. it just showed up in my twitter timeline.
@tereško maybe, but it's the only open poll atm and it's interesting to see what the public wants. Even if it's just a 40.
 
just put one vote on reddit...
you'll get hundreds of votes…
 
does reddit can haz polls?
 
the strawpoll.me genre one
just put a link there…
 
i'm somewhat surprised that nobody has done that yet
 
mornings
 
8:50 AM
@Jack meet oo. Maybe they're all just discussing whether they should do it :-D
 
@tereško Sample Size
@DaveRandom Morning.
 
@Gordon I'm sorry, but that's not interesting. None of this is. This whole "discussion" is insane. I can't believe it is still happening.
 
It's like a bad dream, except that ... it's not a dream, just bad.
 
@DaveRandom I disagree. The community outside internals is usually ignored although they are the biggest stakeholder. So every tiny hint of what that stakeholder wants is interesting to me.
 
@DaveRandom The interesting part is that a gen-pop's opinion is differing from voters. Less about the 6/7 debate and more about that.
 
8:57 AM
I actually feel that something like this is really something the community should decide
it has no internal implications etc., so…
 
Hmm, I think Mr Schaaf raised a good point about method compatibility .. :)
@bwoebi hmm, how should I treat the UPGRADING file across branches?
Surely I don't merge from 5.4 -> 5.5 right?
 
YoHaa
 
9:12 AM
@Gordon I agree that more community involvement on things that actually matter is required, but this does not matter in the slightest tiny little bit. This is like me asking the PHP community at large whether they prefer iceberg or little gem lettuce. It doesn't matter, and idgaf. Except I'm being forced to gaf because right now everyone is fighting over a name instead of creating the thing that needs to be named.
 
Iceberg lettuce btw.
 
Iceberg is the obvious answer
 
does anyone known how to get username which logged in password protected directory ?
 
Do you peel away the first leaf to avoid washing it? I used to be a washer but lately I am a peel and use guy.
 
9:15 AM
I think both. The outer layer tends to be a little manky, the inner leaves could have random crap on them too
 
Yeah. I should rinse them more but soggy lettuce is no fun. Really it's Lexi's doing. I used to wash them all the time.
 
I tend to peel outer leaf out, grab a fist full of the inside, throw on sandwhiches
Then refold the outer leaf back in
Also, put your bread in the fridge - lasts like 2 weeks min
 
@Jimbo Lettuce level - Expert
 
lol
 
@DaveRandom its exactly because of this why it's all the more interesting to see what the public community wants. if internals have to fight and cannot agree on a name, listen to the users for once.
 
9:22 AM
can we get logged in user information in php which logged in password protected directory
 
@Gordon I realise this is not what you are saying but be careful making that point, it could be misconstrued as "give the decisions that don't matter to the community", which effectively means the community still doesn't get in on stuff that matters
 
user1804599
Why is this not allowed? ideone.com/iNl1hF
 
@DaveRandom right, it's not what I am saying :)
@rightfold because of Liskov Substitution Principle
 
user1804599
Ohh right, D extends A.
 
user1804599
9:27 AM
No.
 
user1804599
f still accepts any B.
 
@rightfold although technically its not because you are widening access which is okay but PHP still doesnt allow it
 
user1804599
I have observed that PHP doesn't allow it. :v
 
i dont know if it's a parser limitation or just misinterpreted LSP
 
user1804599
Hmm. Oh well.
 
user1804599
9:30 AM
This doesn't really occur that often anyway.
 
Thanks a lot @Gordon its solved my problem
 
9:40 AM
@rightfold Yeah it's a pain.
 
user1804599
@Gordon It could be LSP if you consider the runtime error caused by passing the wrong type part of the interface.
 
9:51 AM
What's the programming methodology where you should fail early? It's the thing that stopped me nesting ifs
 
@Jimbo Like early returns?
 
@PeeHaa Yeah, and doing if checks and throwing exceptions early
 
Idunno. Sane Programming ™
?
 
@Gordon Guard clauses, that's the one. Thanks
 
10:01 AM
@Gordon Ah yes. Now that I see it
 
I just call it the guard pattern
 
> In addition to a guard attached to a pattern, pattern guard can refer to the use of pattern matching in the context of a guard. In effect, a match of the pattern is taken to mean pass. This meaning was introduced in a proposal for Haskell by Simon Peyton Jones titled A new view of guards in April 1997 and was used in the implementation of the proposal. The feature provides the ability to use patterns in the guards of a pattern.
 
HUZZAH! First question I answered that was not immedeatly downvoted :D
 
10:16 AM
answer should be good
 
@MoshMage ...stop answering bad questions then :-P
 
"ANSWER ALL THE QUESTIONS" :x
 
no
dont do that
 
stackoverflow.com/a/24930961/587811 <- is this a properly answered text OR WHAT? :x
I even used proper punctuation, SO should award me a badge for it :x
 
@rightfold Hm... that's weird
LSP should allow that
 
user1804599
Yeah.
 
user1804599
Return is logically covariant and parameter types contravariant.
 
user1804599
But in PHP the parameter types are invariant.
 
is there any use of reputation for job or else?
 
user1804599
10:30 AM
@NikiC btw return type hints are being considered right?
 
@rightfold yes
and those will certainly be covariant ^^
 
user1804599
Neat. :)
 
user1804599
Great for self-documenting code and enforcing return types in interfaces.
 
Just a bit surprised right now that the argument hints aren't contravariant. Probably you're the first person ever to try that :D
 
user1804599
Well, TBH.
 
user1804599
10:32 AM
51 mins ago, by rightfold
@Gordon It could be LSP if you consider the runtime error caused by passing the wrong type part of the interface.
 
user1804599
But ever handling such an error is extremely silly.
 
10:49 AM
"we don’t have a reverse lookup for mailserver.domain.com." What's that mean?
 
@NikiC I run into this rather frequently and know a couple of people who do, too. But it's easy to workaround so my assumption is no one bothered to report it as a bug.
 
@Fabien Presumably you're getting that error from some other mail server?
 
Someone reported an issue sending mail to a customer. Getting bounceback emails from them
We manage the domain name for them
 
0
Q: wrong results when crapping using regex

user2997418I have some URL to scrap and extract street address. My regex is fine but I get weird results : I want to scrap the page http://www.regis24.de/impressum/ and get only the part of address "21 10119 Berlin" I tested the regex and it gives the right work but In my code this gives : Array ( [0] =>...

The title rocks
 
"Warning - Reverse DNS does not match SMTP Banner" <- Error
We have a blank MX record pointing to mailserver.domain.com
 

« first day (1377 days earlier)      last day (3562 days later) »