« first day (2138 days earlier)      last day (2814 days later) » 

1:00 PM
even if it works? :D
 
you will then actually understand why it works and how/if you can run into further problems with the way you have it now.
 
Still funny. Cats in a nutshell really.
 
okay, good that i asked that Q ;)
 
1:01 PM
@bwoebi I suppose that is slightly slower... maybe I should add a protected method to Observer to drain the unconsumed emitted values. They're in memory... no reason to use a bunch of function calls to retrieve them.
 
@Trowski sounds like a good idea
 
but in general the outbuffering is the correct way, just not like i did, right?
 
@elsololobo tbh, it's how I generally solved that problem, but thinking back, I realize I should be able to make things work without ob, and use ob for generating a smaller response frmo the web server through compression. opinions welcome here
also using ob just to encapsulate a small bit of code is used, though not only to prevent the headers already sent error.
to do that, an all encompassing ob would be better (that is, one of the first things called in your script, and ending it at the very end, after the echos)
 
eveniiin'
 
1:17 PM
\o
Can't tell if that was a dig or just a remark @Jimbo :p
 
@Sean Wasn't a dig at all! Thought we were joking together, sorry if it came across that way :-)
Well, it was kinda a dig - to those people who don't have senses of humour
 
@Jimbo Aye thought it was probably that! ^^;
 
Anonymous
@Sean You booked your hotel yet?
 
@JayIsTooCommon Today/Yesterday
 
Anonymous
You go for the venue one?
 
1:22 PM
Work has booked it in
 
Anonymous
ah
 
I'll find out soon, but I'm not sure. Hopefully the venue, but definitely one of the other recommended ones if not.
 
Anonymous
Also not sure if you know (I didn't) free bar \o/
 
"...both reasons I’d like to attend this event contribute towards that. Plus, the offer of a free bar is pretty sweet." ~ Email to my boss asking for tickets
I'm looking forward to going. I think the last conf I attended was DIBI Newcastle 2 years ago.
Since then it's just been local meetups.
 
What did you do with your ticket @Jimbo?
 
Anonymous
1:29 PM
@Sean haha, nice :D
 
@Fabor Refund I think
 
@bwoebi Did you help build the main-chat that you used to discuss amp stuff on?
 
websockets are HARD
 
@Fabor not really, except the one or other time for bughunting
@Saitama they are easy.
HTTP/2 is hard.
 
@bwoebi Ah furry. Was going to ask some questions about decision made on storage and such. More for Kelunik then?
 
1:33 PM
@Fabor yes
 
@bwoebi All relative. I'd say for a lot of people they're hard :P
Me included
 
@bwoebi programming is hard. Lets switch to peddling homeopathy.
 
@Jimbo I'm just putting it on perspective on the scale
 
Eh, different people do well with different things.
 
Or to say it otherwise: Websockets are hard and HTTP/2 is two magnitudes harder.
 
1:34 PM
@bwoebi yeah implementing them is easy, but to design the api to use it is hard.
 
wow, u ok room11? still no bad pun about what she said and being hard?
 
It was tempting
 
no. moved to bin
 
.......................
 
1 message moved from bin
 
1:35 PM
:P
 
oh, you meant it was a joke! I see :)
 
@FélixGagnon-Grenier ;-D
 
@bwoebi I'm going to some conf talks and also workshops on HTTP 2 in November, should be interesting
 
I'll go have another coffee :)
 
26c outside. :(
 
1:36 PM
Reckon much config is needed to get Aerys fired up with http/2?
 
@Sean none.
 
@FélixGagnon-Grenier Must've missed it, sorry we let the team down! :(
 
Dayum.
 
@Jimbo the most problematic part I haven't found a solution for yet is PRIORITY frame handling. Thank god the HTTP/2 standard allows ignoring them… but if I wanted to… could I even handle them sanely?
 
@Jimbo Any particular reason you're going to the HTTP/2 workshops?
 
@bwoebi Yeah, I want to learn :-)
 
@Sean you just should have SSL configured and then a browser supporting HTTP/2 by default will automatically use it.
(At least browsers don't do h2c usually)
@Jimbo I mean, what for… are you going to write a HTTP/2 server? Caring about perf tactics?
 
@Jimbo You're forgiven, son. This time :)
 
@bwoebi No, but I want to understand a technology in advance so that when I use it in the future I know more about what's happening under the hood. I'm still and end-user, but I don't like blindly using a technology without knowing about it
 
1:43 PM
@Jimbo So, you're aiming at a more superficial understanding?
 
@bwoebi I guess. Here's the training course I chose.
 
@Jimbo ah okay
 
@bwoebi Your opinion of me has lowered. This must be rectified. There's a free bar at PHPNW and I'll happily buy you a drink.
 
@Jimbo I'd be happier with free accomodation and ticket to PHPNW :-P
 
Yeah tickets have gone up quite a bit this year. Totally worth it though.
 
1:47 PM
@Jimbo well, but pound is much lower too
 
That's the good thing about being rock-bottom. My opinion of you can't get any lower @Jimbo.
 
@Fabor I thought about putting something similar to this in my original message, then thought nobody could be that heartless...
 
I was wrong... it can get lower!
 
/me cries and decides to use NodeJS instead because I'm a loser
 
:D
 
1:49 PM
@Jimbo don't fear, there's still potential to fall down
 
why am I reading the http2 spec on stream priority and priority frames, I'm never going to do anything with this
 
Is being abhorrently mean to your friends a British thing?
 
@PaulCrovella because I made you curious? :-P
 
@PaulCrovella Because it's the geeky thing to do.
 
I don't even understand who sends a priority frame
 
1:50 PM
@PaulCrovella The client
 
Ekn
That's the room 11 effect.
 
Are there any metrics out there for server-side performance / resource consumption with/without http2?
 
Anonymous
@Fabor definitely
 
@Fabor Probably, we all do it to each other in the office. In fact I got really offended when I first started out, now I'm hardened to abuse I can literally take anything and laugh at it.
 
I once knew a guy who would dish it but would get crazy livid if you said anything back. I don't miss being a manager -_-
 
1:55 PM
@Fabor it's also australian, and american if you're with the right people
 
Hello
 
@PaulCrovella I always feel like friends are the people you can insult and it's okay. You shit.
 
Actually, not sure if this is a basic question or not, how does a browser discover what protocols a website supports? Does the server pass them through in an initial packet?
 
@tereško I can't remember but you liked Deus Ex no?
 
2:01 PM
@Fabor yes
 
Picking up the latest one?
 
yes, but on sale
I have about 100 other games to finish
hell ... I havent even completed DX:HR
 
@Gordon Ah, your personal backup of happy memories with @Jimbo 's mum I assume?
 
@Oldskool unfortunately really just a java heap dump
 
2:04 PM
@Oldskool Dammit, that was a PRIVATE megaupload
 
@Jimbo LOL :')
@Jimbo Although it's quite disturbing that you would know that...
 
@bwoebi I question having Body implement Observable... I'm thinking Awaitable only would be better. If you subscribe to Body, it will also fulfill with the entire contents read, that seems unintuitive.
If you want to stream Body, use next()/getCurrent(). If you want it all at once, use when()/yield it.
 
@Trowski it won't?
It will succeed with "" if you have consumed everything before
 
@bwoebi It will, because you didn't consume it from the Observer.
 
oh, Observable
 
2:08 PM
So I'm thinking class Body extends Observer implements Awaitable
 
looks fine
 
@Oldskool he actually held the camera
 
You are probably right with the Observable
 
@bwoebi Got a little long... plus I had a mistake there :-P
 
@Trowski I meant from the idea
 
2:10 PM
@Jimbo she never told me she's a PRIVATE contract star though. not it all makes sense.
 
@Trowski any reason why drain() is actually protected?
 
@bwoebi So you don't fall in
 
@bwoebi Like @Jimbo said, you don't want the public falling in.
@bwoebi Right. I'll have to fix the tests, but it should work.
 
hurr durr.
 
Actually... it could be public.
 
2:13 PM
@Trowski I am not sure whether we really want to have it non-subscribable
Actually, Observer itself could be observable?
 
@bwoebi It's weird to have two ways to stream data...
Then why use Observer at all? It's meant to be an async iterator.
 
@Trowski It's not two ways. Imagine you have a full-request logger in one route. You want this one to be able to passively listen
next() is destructive
it can be only consumed by one single endpoint
 
@bwoebi Hmm... that's true. It will have to be documented well that subscribe is not destructive.
 
@Trowski it never was
 
@bwoebi Alright. Well that makes sense.
 
2:16 PM
subscribe is "current data flowing in, broadcast once"
 
FINALLY been searching for this gif mp4 (I see you coming) for years (literally)
 
@FélixGagnon-Grenier LOL looks like mind = blown
 
@FélixGagnon-Grenier Could have just asked :P
 
captain hindsight reporting for duty
 
2:19 PM
hehe
 
@FélixGagnon-Grenier if you're still looking for the gif just change the file extension
 
well, it wasn't really an active search, more like waiting until I see it again :)
@PaulCrovella I... hmmm
 
so really you've just been willing to see that that gif for years.
 
yeah totally. So many times have I wished I could link it to that or that situation (I can't remember any, ofc)
 
@Danack sounds like a good shout then :-)
 
2:23 PM
@PaulCrovella I have a very faint force power, you see
 
@tereško stackoverflow.com/documentation/proposed/changes/87985 why did you reject this? I.e. where does it flat out change the meaning of the whole example?
 
@FélixGagnon-Grenier "these are not the droids you're looking for maybe? I dunno, I guess they could be"
 
@Gordon Don't suppose you know how to add to Dockers logs? TBH I am not even sure if that's a generic thing. An option on cloud.docker.com shows logs from the services we are running. I'm wondering how I can find out where that log comes from.
 
@bwoebi in the code
 
@tereško ?
@tereško what's the major difference in the code? except that it additionally illustrates fallbacks?
(because breaks are anyway already illustrated in the other examples)
 
2:33 PM
Think it's syslog actually.
 
Hello ! Is someone confortable with PHPWord ?
 
LOL, this looks pretty epic for it's time...
 
I bet that movie was really really fun to make
 
@bwoebi Updated the branch on aerys. You seemed to know how to fix the tests?
 
I love how this thing flying throws everything away
 
2:40 PM
that bridge fainted when it saw it
 
:D
so data is imported from legacy filemaker app alright, then I use the Order value to order content. All goes well, until client sees order of things and complains. Effectively, in legacy app Order was actually used descending to order content. fml.
 
@FélixGagnon-Grenier depending on the type of content, that's not all that weird.
 
filemaker. ugh.
 
:p
@Oldskool interesting... such as? :)
 
@FélixGagnon-Grenier Descending order is not unusual at all... unless there's something I'm not understanding.
Though Filemaker... my condolences...
 
2:44 PM
@FélixGagnon-Grenier Such as when you list invoices or such. You'd want the newest/unpaid on top, the oldest/(most likely paid ones) at the bottom.
Although I'm not at all familiar with Filemaker, so not sure if that makes any sense :p
I just assume it does what it says and makes files?
 
@Oldskool You'd be sorely mistaken.
 
ok, so you see a list of rows, featuring a Order value. You're telling me you would actually figure the natural way of ordering it is descending? Keep in mind the list is not orderable, it always have this order. except the top one is 10, and the last one is 1
 
@Oldskool if sadness is files then yes, it makes those
 
@Oldskool hmmm... right. I guess asking to order it on a date value would be too much :D
@Trowski I appreciate it :). soon finished though!
 
@FélixGagnon-Grenier Hmm, yes that would have been better
 
2:47 PM
@FélixGagnon-Grenier Well yes, date would be much more obvious.
Though sometimes they want them in invoice/statement/order# order, regardless of date.
 
ah, the small joys in life
 
@Oldskool filemaker is kinda like ms access.. and it's been in use at your company for 15 years, but only one person is left who knows anything about it
 
Depends on your invoice # structure too I guess. Over here it's required to have your invoices numbered in an increasing series, so bookkeepers and the tax people can make sense of it all. So you always know that the higher the invoice number, the newer it is.
 
@PaulCrovella dude, you working foy my employer as well? how can you know so precisely...?
 
@PaulCrovella Ugh, sounds like hell.
 
2:51 PM
@FélixGagnon-Grenier nah, I left there. shortly thereafter so did the one who knew anything about filemaker.
 
@Trowski ah, this issue still… pushed
 
evening roomies
 
\o
 
2:56 PM
@Trowski I had for some moment a fear you'd make everything slow and unreadable, regarding body/bodyparser initially, but now it looks good :-D
 
@bwoebi Sometimes I forget about performance, you just have to remind me when I do. :-P
 
@Trowski but TBH I think you can remove usage of Producer in BodyParser
 
Unreadable though... I dunno about that, usually I'm trying to make it more readable (and that's where I go wrong with performance).
 
as we anyway have our own subscribe...
 
@bwoebi I could just use a Postponed in BodyParser instead.
 
3:01 PM
@Trowski I mean the first draft where you added deferred and everything
@Trowski I … uh … meant that you can just trivially loop once over the watchers
 
@bwoebi Ah... yeah that got a little unreadable, I wasn't happy with it either.
@bwoebi Would we gain much?
 
@Fabor nope. sorry
 
@Gordon Tis fine. It was syslog that it listens to.
 
@Trowski not much, just finding it a little more readable
 
Can push to it with $ logger. Though I think maybe having syslog listen to php's error_log is a better idea. We shall see
 
3:09 PM
@bwoebi Throws need to be forwarded to the loop. I can do that quick.
 
@Trowski do they?
 
@bwoebi Yeah, otherwise a throwing callback will throw from whatever method is emitting a value.
 
@Trowski yeah, okay
 
good morning everyone!
 
@bwoebi How do you throttle the amount of data arriving from a client in Aerys?
 
3:15 PM
@Trowski ClientSizeException
 
That is, stop them from sending a huge request or many, many requests?
 
@Trowski Up to Options->maxBodySize is always delivered immediately
 
@bwoebi Ok, how about request count?
 
@Trowski Options->connectionsPerIP
i.e. that's the amount of concurrent requests per IP
 
Ok. I'll have to dissect Aerys a little more when I have time and figure out how everything works.
I'm going to merge that branch into amp_v2 then if that's alright?
 
3:19 PM
@Trowski done
@Trowski but you went through the docs tutorial at least once I hope?
@Trowski e.g. big amounts of data are covered in amphp.org/docs/aerys/performance/body.html
 
@bwoebi Yep, quite a while ago though.
 
@Trowski Observer::drain() only works if the emitter doesn't wait for the Awaitables, right?
 
@bwoebi Right. Otherwise the Observable shouldn't complete before the Observer consumes the emitted values.
 
[no do not remove it … it just made me wonder]
 
@bwoebi Probably a good idea to resolve them.
@bwoebi Exactly, because the observable might not wait for the awaitable, but something else might.
 
3:30 PM
yes
by the way, when I'm allowing for larger bodies, they are not stopped at all
i.e. once the Client is authorized to send 100 MB, it will buffer these 100 MB unless they're consumed faster than received by the server
 
@bwoebi Can you double-check something? In the NEWS log there is not an entry for prepending ? to nullable types, just one for reverting it correct?
 
you can currently enforce chunking (of e.g. 10 MB) by calling getBody() repeatedly
 
@bwoebi Most apps won't allow for such large bodies. But if an app did, it can stream it and throw if the request shouldn't have a large body, if I'm understanding correctly?
 
@LeviMorrison right, and the latter is double there.
 
I'm planning to remove both and do this instead:
- Reflection:
  . Reverted prepending \ for class names. (Trowski)
  . Prepend ? for nullable types returned from ReflectionType::__toString().
    (levim)
Looks good?
 
3:37 PM
@bwoebi Really? Bah, I must've screwed up the merge.
 
@Trowski I'm not sure if I'm making up something. … I probably am…
 
Not sure how to handle when a beta is missing something in its changelog.
 
@LeviMorrison just add it?
 
@LeviMorrison Davey not tagging the beta when he should have threw me off...
 
@Trowski when?
 
3:38 PM
@bwoebi He tagged the beta on Thursday rather than Tuesday.
So I assumed I had time to revert the \ before RC1, but then it ended up in beta3.
@LeviMorrison Yes, that looks fine, and please clean up my mess.
 
@Trowski Uh… the tag is not important. He anyway has his own branch.
 
@bwoebi That was created after it should have been... whatever, not a big deal though.
 
He could have branched off from a commit a day eariler though
 
@Trowski What do you mean, mess? The only one I see is the double entry and the missing one.
 
@LeviMorrison That's what I mean. :-D
I'll have to remove it from NEWS on master too.
Or is it suppose to be in master... now I'm a little confused.
 
3:44 PM
Alright, here is my work on PHP 7.1: github.com/php/php-src/compare/…
This should be merged into master as well. I think that's the direction it goes.
Can you guys double check, @bwoebi and @Trowski?
 
@LeviMorrison Looks good.
 
I've never committed to anything outside of master before. Do I just commit to PHP-7.1 and then merge PHP-7.1 into master?
 
@LeviMorrison Yes
 
that looks exciting
 
o/
 
4:00 PM
o/
 
@LeviMorrison NEWS seems to contradict itself? You revert `\` but then put it back… oh no wait I see, nvm.
@LeviMorrison if __toString is user-readable (and therefore includes the ?), shouldn't it include the leading backslash?
 
4:22 PM
@Andrea We do not prefix any fully resolved names with slashes do we?
 
no
 
@LeviMorrison internally and in reflection, no, but it sounds like __toString is supposed to resemble syntax…?
idk
 
I think it would probably be a net good change but I also know it'd affect some code bases out there and they already complained about it so meh.
Not worth fighting those groups when I'm potentially already making them mad with the question mark prepend.
Hmm.
> $ git rebase upstream PHP-7.1
> fatal: Needed a single revision
invalid upstream upstream
I've done this type of thing before so I'm confused
 
git rebase PHP-7.1 should do it?
 
@LeviMorrison you mean origin, not upstream?
 
4:34 PM
@bwoebi origin is my github; upstream is git.php.net
 
ah
invalid upstream upstream should mean though that the remote doesn't exist?
 
I do this so under-specified commands will not affect git.php.net
@bwoebi I'm not sure what's going on there. I can fetch, pull, etc.
 
oh… mh
 
I've added another ssh key for my account and am going to attempt to use the non-https url.
It shouldn't matter for local operations like rebase but that's what the info I've found online suggests.
 
@LeviMorrison try git rebase upstream/PHP-7.1
 
4:38 PM
Sigh...
conflicts in NEWS and UPGRADING on merge.
 
@LeviMorrison hmm?
 
Why does its diff work so badly?
 
@LeviMorrison note that upstream is a branch, not a remote (according to the manpage at least)
 
@bwoebi I am not confident I merged to master correctly.
Can you pull 7.1 and do the merge to master?
The diff looks WAY too big.
 
oh
I finally fixed my blog
now I know why composer wasn't working. it was running on my PHP 5.6 install ._.
 
4:44 PM
@LeviMorrison done
 
(I have to keep a custom build of PHP 5.6 around, because, unfortunately, Simple Machines Forum. Everything else I do is on PHP 7.0. ;-;)
PHP 5 please die already.
 
@bwoebi Thanks
 
@Andrea what were you working on recently with PHP? :-)
 
@bwoebi nothing, alas
My most recent website project was in Haskell, and that hasn't gone anywhere because I have no faith in it.
 
...@bwoebi although it looks empty?
 
4:46 PM
The last web code I did was JavaScript. I did get paid for that, though.
 
@Andrea no faith into the project or in doing it in Haskell?
 
@bwoebi in the former. I love Haskell, it's my favourite programming language.
 
@LeviMorrison it's a trivial merge… the merge commit itself didn't change anything
@Andrea Ah, I already wondered
 
@bwoebi Hmm - I wonder why I had conflicts then?
 
@LeviMorrison I have no idea what you fucked up ;o)
 
4:50 PM
git checkout master
git pull upstream master
git merge PHP-7.1
That's what I did.
 
@LeviMorrison that should be fine…
If you haven't fucked anything else up before
 
@NikiC I have reverted the revert for prepending the question mark (or in other words the question mark will still be there in beta4). The leading slash has been removed.
 
uuuuh… You should either have both or none
 
There was never a discussion about the leading slash.
There was one about the leading question mark.
 
I don't know. Just stating my position.
either you give just the name or you make it fully placeable directly into function signatures
 
5:15 PM
Can someone reopen this, please? stackoverflow.com/questions/39107027/… The duplicate link is wrong.
 
... you could also ping @Machavity and see what is the matter :p ^
oh nvm you did
 
Yes, I left a comment.
What's annoying is I was in the middle of typing up the answer when they closed it. >.<
 
:P
 
ah, that's the matter :p
 
People get so eager to throw their close hammers.
 
5:18 PM
that's just outrageous sometimes
 
people also sometimes get somewhat hot headed when they personally can't answer a question :p
 
@FélixGagnon-Grenier Answering questions is hard stuffs man :/
 
power === responsibility
 
@Sherif very true. I pretty much gave up on that
 
@Sherif There's nothing about the dup target that's particularly *nix-specific. In fact there are already answers there addressing windows
 
5:21 PM
@PaulCrovella No, they aren't the same question.
 
gotta.... get to.... 1k rep.......!!! i'm too lazy man.
 
His issue specifically has to do with memcached on Windows. There is a reason why he's having this problem.
It's not a general, I fucked up php.ini problem.
 
@Sherif okay, your comment gives different reasoning
 
well, there is the matter that the file is not where they think it is...
> PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_memcache.dll'
- The specified module could not be found.
this is rarely false ^
 
@PaulCrovella Does it? What was the different reasoning? I specifically state it doesn't answer the question.
 
5:22 PM
> this is a Windows-specific question whereas the question you're linking as duplicate is *nix specific
 
Yes, it is Windows-specific. That is true.
That is not a different reason than what I stated. It merely points out one of the key problems.
 
if there's something particular about memcached on Windows, you might mention that
 
we can still split the hair in more than 4 if you wish :D
 
Jesus, I'm getting the third degree because I know how to help the guy.
Forget it.
 
5:24 PM
you're getting the third degree because you suck at communitcating
 
!!urban third degree
 
[ third degree ] Derived from an extreme form of police interrogation of the same name, its a phrase people use to describe a situation where you are being asked a series of many questions.
 
@PaulCrovella I wasn't asking for you criticism of my communication skills, but rather if someone could reopen the question. I appreciate your insight, but you would stand to be a better communicator yourself if you employ just a modicum of humility in criticizing others. Thanks for your input though.
 
ah yes, I'll take humility lessons from you. good idea.
 
5:35 PM
@Sherif shrug it's reopened. It's the same thing (the file or path to the extension is wrong) but have at it
 
@Machavity Thanks, but it's really not. Installing the memcache extension on windows has certain caveats.
The question is more about memcache than it is about the file being missing. He just formulated the question poorly.
 
@Sherif Am curious to see your answer
 
apprehension heightens
> I have successfully installed memcached in C:/memcached the service is running.
> PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_memcache.dll'
so... yeah, I want to see that answer too :)
 

« first day (2138 days earlier)      last day (2814 days later) »