« first day (1471 days earlier)      last day (3477 days later) » 

9:00 PM
@PeeHaa If you don't fit in that chair then you need to think if you're doing something wrong...
 
9:25 PM
 
@PeeHaa ^
 
Beer Buu
Beer Buu :)
 
9:45 PM
fak, I don't want to do to work tomorrow
 
@tereško I don't want to go to college tomorrow :(
 
@tereško @MikeM. ^
 
also, for fuck sake
0
Q: PHP MVC dependency injection

krist4lI'm rewriting my small php framework and I have follow advices about MVC from here My code is below and my question is: Is this a good practice or I should use some other approach? Db - passing only db config Language - passing db beacuse it loads avalible languages from db and sets a lenaguge ...

 
xD
 
@tereško It contains all your favorite words though :D
@tereško lol @ that code though
 
9:48 PM
look at the code =/
 
"dependency injection"
 
user895378
morning
 
@rdlowrey Good Morning
 
@rdlowrey Morning. I should have asked a possibly stupid question before. Does Artax use a file-descriptor when creating a request, or only when the request starts to be processed?
 
user895378
@Danack Every socket connection is a file descriptor. So if a new connections is required that's ++$fileDescriptors; When the connection is closed so is the file descriptor.
 
user895378
9:55 PM
@Danack I'm not sure how php://temp works under the hood, but that almost certainly will create a new file descriptor to store response bodies in excess of 2M.
 
user895378
Every .so extension file your php binary loads uses a descriptor as well.
 
@rdlowrey mkay. I should have made clear before - the issues I'm seeing are when I'm connecting to a single host with host_max_connection set to 4....so I really ought to get you an updated example.
closes Hearthstone.
 
user895378
Are most of the files you're downloading > 2M?
 
user895378
There's likely some internal issue in my code ... I'm just trying to get a handle on where potential problem sources could be.
 
@rdlowrey I'm pretty sure it's crashing before any files are actually reaching 2M in file size....updating the example right now.
 
10:13 PM
Aaaaand I left my S3 authenticator at home so can't upload anything till I get back.
 
user895378
10:28 PM
@Danack No worries. I'm kind of dreading dealing with it anyway. I'm not in a hurry. It's a "Monday" kind of thing to work on anyway :)
 
Oi elevenarians.
 
Ohai @DanLugg
 
What's the good word?
 
Bird
 
@rdlowrey Yeah.....I still think it's probably something simple that changed between beta and beta2. Though the cypto, zend_mm_corrupted shenanigans are probably also real and possibly a 'nuke from orbit' scenario.
 
10:31 PM
Ah yes, b-b-b-bird is the word.
 
user895378
Do you or do you not know the word?
 
user895378
@DanLugg o/
 
user895378
I have adopted @PeeHaa's awesome one-armed emoji salute.
 
\o/
 
11:06 PM
\o
 
11:16 PM
o
^ no arms at all :-)
 
-8- fatty xD
 
I hate the "XD" face.
 
why? :)
 
Not entirely certain, I just think it's awful.
 
:P
 
11:25 PM
Could be worse:
...
 
No, that dates back to bbs, that's fine.
Historical significance :-P
I think it's because I associate the XD with hipster-tween l33t minecraft haxorz.
Damn kids.
 
Why so?
I mean why you think it fit in that list...?
 
Because so far as I have noticed, most instances of XD are used by those who I perceive to be hipster-tween l33t minecraft haxorz.
 
I ain't in any of that lolz but still use it :)
 
11:41 PM
@JoeWatkins (\cc @rdlowrey) pushed the new awesomeness from today into php-src/5.6 and master. That means:
run will now always do a clean internally at the end to be able to call the destructors and shutdown handlers (it's not literally a clean, phpdbg_interactive is still invoked if necessary). Also it makes the whole environment much safer against bugs.
When you create a file breakpoint, you don't have to give it the full filename. Just b Application.php:155. And it'll add a pending breakpoint which is resolved by the first file with that same suffix in the name. (If it's a relative path to an existing file it's resolved instanly.) It was annoying to type full filepaths when debugging.
Further, it includes your fix from last night.
Also, if in execution, you now can do clean, run and exec, too. It'll ask you then and do a cleaning and do the task (running or exec'ing I mean).
 
That's what I've done the whole day. Writing nice code. Maybe wasted one hour with internals, but most time, code. It was fun! @JoeWatkins
 
PHP I HATE YOU PHP I HATE YOU PHP I HATE YOU PHP I HATE YOU
 
hihihi
keywords_as_identifiers RFC, you remember? :-D
 
Yea, I do.
Also, AST, also PHP I HATE YOU.
 
11:48 PM
What does this have to do with AST?
 
I thought AST mitigated reserved word ambiguity?
 
no.
 
Because it changed the parsing phase.
Oh, really?
 
@DanLugg also, callable isn't a type, it's an internal technical type.
 
Well, its usable as a type-hint, so AFAIC it's a "type"
 
11:50 PM
So I just did a CHMOD -r on my directory. Long format listing shows the rwx has changed, but filezilla won't seem to update even with a d/c r/c. Anyone have this happen?
 
@DanLugg It solved the issue of mid-rule expressions which very preventing some nicer parsing things. (like currently we need parenthesis around yield if used in an expression)
 
@bwoebi Oh, but I thought as a side effect that the reserved word debacle was solved (if not just partially)
@bwoebi What was the reasoning that the nay-sayers had for the RFC?
"This doesn't benefit Zend, so I'm voting 'no'"
"This goes against the PHP way of remaining unnecessarily complicated, so I'm voting 'no'"
"I'm an ass knob, so I'm voting 'no'"
"I didn't read the RFC so I'm voting 'no'"
^^ I'm guessing any combination of those.
 

« first day (1471 days earlier)      last day (3477 days later) »