« first day (1767 days earlier)      last day (3406 days later) » 

22:05
@NikiC @bwoebi is this right 3v4l.org/84TnJ ?
yes
@marcio yes.
Someone of you started a myth about ::class working for non-classes
It doesn't
::class resolves class names. If it works for anything else, it's only incidential
@NikiC ok, not me :P but I was expecting it to resolve as FQ anyway
@marcio It does. It resolves to the correct fully-qualified name for the d class
22:07
ohsnap.gif
If you write new d, that is the class you will instantiate
user895378
@Fabor Yes.
@NikiC yes, that sounds reasonable :)
You had me also believing the Tyler Durden theory, pretty weird end.
user895378
@Fabor yeah I'm not really sure what to make of it all now
22:09
how is internet in the your country ? speed and traffic and cost ?
In my country: 100kb /per sec speed download, 5 GB in month, 5$ in month
user895378
I had to rewatch the episode the next night
I just want to be his friend.
user895378
Mancrushville. Population: me.
lol
22:14
@rdlowrey I mentioned this before but we didn't achieve an 'action item'; how do you feel about extracting an interface from either Arya/Aerys for both Requests and Responses to a separate repo, to allow that precious interoperability?
@Sherif whaaat ???! 940 mb/s ??? is it not possible, it is more than your H.D.D speed.
No it's not.
Kelunik mentioned that the ones in Aerys are probably more refined than those in Arya, but I obviously don't have access to those, so can't tell if there's a difference.
@Sajad The CPU can do more than that.
@Sherif you can see video on YouTube as online with high quality ?
22:19
To give you an idea your typical off-the-shelf 7200RPM mechanical drive can do about 1 Gbps. Most modern 10K RPM drives today closer to 3 Gbps and SSDs of course aren't subject to the same seek latency limitations.
1 Gbps is not at all unreasonable by today's standards.
Of course random access I/O is a totally different ball park.
@Sherif 1 GB/s? I see speeds of maybe 300-500 MB/s … but never seen more on HDDs…
Only SSDs have > 1 GB/s, from my experience…
@bwoebi Well, that's the buffer-to-computer interface more likely. You're probably looking at actual throughput.
I'm guessing
user895378
@Danack Well we could but the thing is the aerys ones have specific functionality that you don't need in the web SAPI so I'm not totally sure it's a 1:1 relationship
In 90% of cases that isn't your real limiting factor since when you're downloading you're still buffering into memory first and then hitting the HDD buffer before it ever gets written to the platter.
So not like something to even be concerned with really.
user895378
It would still work, it's just that web sapi responses aren't generally modeled as streams the way they are in a non-blocking server like aerys
22:22
@Sherif uh, SATA has like 5 GBit/s today?
@bwoebi Yea, depending on your motherboard bus as well.
You may not always be using the full SATA bandwidth in many cases.
@Sherif I doubt that this bus is slower than 1 GBit/s …
Well, probably not for you, but there are 3rd world countries where certain technology is strictly regulated during export and import.
I'm just try to paint some broad strokes.
@rdlowrey Ok....the interfaces could just cover what is common to both? Hard to say if that would actually be worthwhile or not. What I might do then is just create some interfaces under the room-11 org in github based off the Arya ones, and then see if people want to re-use them.
That SATA/internal bus are a bottleneck for SSDs isn't new to me… but HDDs… never heard of that.
22:25
@Danack Yes!
No, it definitely shouldn't be a bottleneck. That was my point. You will be buffering anyway and by today's standards hitting 1Gbps download speeds isn't unreasonable with today's hardware.
@rdlowrey actually I think the Aerys Request/Response APIs are quite reusable
I'm referring to commodity hardware
user895378
@bwoebi they actually are (I just pulled them up) ... the only thing you don't really need in the web sapi is Response::end() because you don't really have to tell the web sapi the stream is complete the way you might want to in aerys
22:29
@rdlowrey you might want to, to send a final flush and do other work afterwards…
@rdlowrey It still makes sense to have them in a separate repository, that way, other server implementations could use them, but middlewares etc. would be compatible.
btw is there a reason the Arya Request class doesn't have a getPath() or getURI() ? I know it's retrievable via the get() method, but it seems like a standard thing to have.
@Danack Aerys Request class has getUri() for example…
user895378
@Danack I honestly won't be able to answer any question about arya lol ... I spent about three days on it a long time ago. My best guess is "who knows" :)
Cool.
user895378
22:36
I would be fine if someone else wanted to take the repo off my hands just to keep my profile nice and tidy :)
user895378
That said, it works fine and I think it's a nice little library -- I just haven't had any need for a web sapi framework in a long time.
Don't mean to go off topic but I took another stab at a type-declarable enum that seems less shitty than my previous attempt: github.com/cspray/enumable. Feedback is welcome.
Honestly still wonder if they're even worth it in PHP but I just can't seem to let it go
@rdlowrey Arya makes your repo nice!
22:53
@cspray what was your previous attempt?
@marcio I almost don't even wanna show it to you
It's bad
That project is way old
I haven't done anything with it in a long time and probably won't
Did you wipe the server? "Like with a cloth or something?" @HillaryClinton asks
Hmm.
@ircmaxell That......is not completely free from sexism.
@cspray I was/am working on a PHP preprocessor that allows you to do this gist.github.com/marcioAlmada/05cc7d56cda46c697604, but there still a long way to go :P
@Danack she's the one that said it
@marcio at the C level?
23:01
facepalm
and is it a generic macro system?
@ircmaxell not C level, yet, I'm using php first while I develop the DSL.
I started this after you published your PHPGenerics repo
@marcio That's so evil. I love it.
23:07
nice :-)
@cspray :-)
@ircmaxell I would have never thought of hijacking the autoloader like that
what can I say, I do have my moments
@ircmaxell Ah, yikes! So sorry about that. Do you know if 3rd party cookies are allowed in your browser? -Mary
wow, they actually replied
ne 1 with nginx experience here? i'm experiencing a weird issue with nginx
23:24
@marcio that's scary :o)
@bwoebi it was made to scare you
@marcio oh.
@PeeHaa How's the work on your self-hosted git thing going?
\T_STRING·enum::__(@T_STRING·field) o_O
stop it with that error suppression operator
@ircmaxell don't worry, this was just to pass the test. There is a pending construct to stringfy whatever was captured that should be used instead.
23:35
also, change the parsed from Fruits->Apple to Fruits::Apple
@marcio sgtm
@r3wt You should write your question before trying to get someone to agree to help you. If you write it in notepad, and then copy + paste it in here, even if no-one can help you now, you will have the question written down and you will be able to re-use it elsewhere aka sol.gfxile.net/dontask.html
@marcio If you're serious about it you should get a real repo up and throw up a link ;). I know I'm interested. Your syntax is what we actually want I think.
@marcio mh… Found the middledot… alt+shift+h on OS X: · … well hidden ^^ why do you use such chars :s
@cspray sure, I'll do it soon and ping here. Most tests are passing already.
@bwoebi I'm looking for a good alternative that will never clash with legit code. If you have any suggestion...
@marcio Use NUL-Bytes (lol) … Well… I'd recommend using backticks (nobody uses backtick operator anyway)
23:44
@bwoebi and a shell exploit later
@ircmaxell shell exploit? that thing would just outright parse error if used as-is…
@bwoebi the good thing about T_TYPE·id or ···id is that it's normally parsed as a common identifier so nothing spurious would happen.
yeah, hence… parse error would be probably better.
hummmm, T_STRING`identifier that gives me more OCD than that `\` we don't like to talk about.
@marcio saw it. Not sure why you don't merge?
23:55
because I haven't asked for a git account :)
I'll write the email right now.
@marcio oh, still.
well, will merge tomorrow then if no-one is faster

« first day (1767 days earlier)      last day (3406 days later) »