« first day (2141 days earlier)      last day (2801 days later) » 

8:03 PM
either someone opened up my cottage cheese before I bought it at the store or someone opened it up here at work
either way, I threw it out not getting my late day snack
 
:(
vending machine?
 
@Trowski github.com/amphp/aerys/commit/… What exactly does that do?
ah… rethrowing
@Trowski I'd honestly do the obvious and just directly rethrow there?
 
You commonly see a /src folder in most PHP projects. If you are using Symfony you'd have the /app, /var folders etc. This means you have probably picked your framework before you started developing your domain model. What if you develop your domain models (a team per sub domain) and then just pull them into your whole project later? The annoying thing I can think is that every time there is a change to one of the domain models that needs to be reflected in the whole project
 
@Tiffany no. I bought it on the way back from work at the store and put it in the fridge...
someone must have thought it was theirs is all I can think and didn't realize it until they opened it...
or someone opened it at the store, bcz you know when you take the lid off of a cottage cheese container is has that film plastic on it? mine was opened... The film was there, but it had been pealed back
and I don't carry cash, so no, no vending machine for me
 
I always see people picking their framework, generating the base skeleton and then developing the core of the application in the /src folder but then the VCS will be tracking changes made in every file and not just the src/Vendor/BoundedContext/Domain/Model files
It's convenient but I think it should be developed completely independently of the framework since it should not depend on it at all
I suppose the other thing is you can't just put your src publicly on packagist and add it to your compose.json. Anyone have an ideas?
 
@tibanez having and /src folder has completely nothing to do with a framework
 
@tibanez ... heard of .gitignore? it does many great things..
 
completely nothing
it's an industry term
 
and you can put the business logic where ever you want, if you then remember to configure it into your autoloader
@rabbitguy are you mentally fucked?
 
@PaulCrovella Thanks I'll take a look. @tereško Yeah but I'm saying if you have your framework skeleton and then decide to start putting your solution in the /src folder then you are developing your solution side by side with the framework. @FélixGagnon-Grenier If you choose symfony do you just want me to .gitignore app/config files etc?
 
8:24 PM
yes, but where are you going with that question?
 
@tibanez you probably should start by figuring out whether you want your business logic be a separate package or not
 
@tibanez technically, your "framework" files would not be worked on at the same time as the application itself. the "framework" would be a dependency, and reside in /vendor, which would be in your .gitignore, as well as any config file containing sensitive information
 
@tereško That's what I'm saying. I think it should be but is it worth the inconvenience.
 
your domain model will change, when you start adding UI
 
that is, if you make a full fledge "framework" to begin with. otherwise you can also go the library way, and have "packages" residing in a /lib folder
 
8:26 PM
not because there will be UI logic in it but because you will notice that there are a lot of missing "operations" for your model
 
@FélixGagnon-Grenier Yeah they should be worked on in different branches but at the end of the day if you tag this version as v1.0.0 it would include the /app files because obviously the config for the application is under VC. I want the model to be a different package so it is developed entirely independently of anything else but I'm not sure if it's worth the hassle
@tereško That's true
 
bottom line is this - you need a really good reason to separate model from the rest of project
 
@tereško But the model depends on nothing at all from the outside so it can be tested and developed completely by itself and have a version
 
if the business model changed, it should mean that your entire application has a new version
 
That is true
 
8:33 PM
@bwoebi Definitely could, then we can just use Loop::defer instead of Amp\defer.
 
@Trowski Amp\defer() is still for resolving coroutines
I just find the return for the rethrow weird
 
@bwoebi Yeah, it's a little magical.
 
@Trowski which is fine as long as it doesn't look magical
I assume my coroutine to just be resolved
 
@tereško are mentally disturbed ppl not welcomed here?
 
but a return in a normal function makes me just WTF, what? What should a defer callback return??!
 
8:36 PM
@bwoebi You use return $this->initIncremental() a couple times :-D
 
15 mins ago, by rabbit guy
completely nothing
15 mins ago, by rabbit guy
it's an industry term
@rabbitguy why did you write that?
 
@Trowski this is returning a Generator though and TBH a bit weird too
It should be rewritten as \Amp\defer([$this, "initIncremental"]) … ah no, it's a private method … bah.
 
bcz completely nothing is not good grammar, heh
completely implies all encompassing and nothing implies the opposite :P
 
Ekn
I feel like I'm completely nothing to everything.
 
@Trowski why does PHP have language supported visibilities… pfff…
 
8:40 PM
@Ekn my brain just blewed up
 
@bwoebi It could be Loop::defer(function () { Amp\rethrow(new Coroutine($this->initIncremental()); });.
 
So much longer though...
 
Ekn
mission success :P
 
@Trowski right.
 
8:41 PM
@rabbitguy and how was it any way useful to the person I was talking to? Was your intention to communicate: "this person is talking bullshit"? Because that's how it sounded.
 
@rabbitguy that sucks. we have an ATM here so I can get cash if I need to, and a business office that can break larger bills into singles so I can get something from the vending machine
 
sadly no Closure::fromCallable() in 7.0 … @Trowski
 
@bwoebi Could conditionally do that just for performance in 7.1.
I've done it in a few places... but only where the callback is invoked many times.
 
@tereško chill, mang... they at no point in that conversation thought you didn't know what you were talking about. We all cut up on each other all the time in here. If I am offending you I'll be sure just not to interact w/you anymore, but I was not attacking your character and nobody took it that way
 
@Trowski right, because everywhere else it's not actually faster
 
8:43 PM
English is a fucked up language, I think we can all agree
 
definitely
 
sooo many contradictions
 
@Trowski can we change the wrapper funcs in Amp from:
        if ($result instanceof \Generator) {
            $result = new Coroutine($result);
        }

        if ($result instanceof Awaitable) {
            rethrow($result);
        }
to
    if ($result instanceof \Generator) {
        rethrow(new Coroutine($result));
    }
 
@rabbitguy FYI, I was not pissed because you said something to me, but because how it would be read by the person I was trying to help at that point
 
@bwoebi So just ignore returned Awaitables?
That differs from Amp v1 I think.
 
8:46 PM
@Trowski it doesn't
it'd be exactly what v1.x does
 
@NikiC Too bad, that's the day where I'm leaving.
 
@bwoebi Yep, you're right.
 
that's concerning
 
I know...
 
I suggest talking to your mental health specialist, if it's a psychiatrist or therapist or whatever
 
8:53 PM
beer helps
 
and look for another job
 
@bwoebi Do you have some benchmarks we could set up for Aerys. It would be nice to see the affects of changes.
 
@Tiffany she knows... I have a safety net setup to ensure that nothing bad happens...
 
@Trowski yeh, give a me a few
 
Anonymous
@Tiffany what is?
 
Anonymous
8:56 PM
Oh removed message
 
@JayIsTooCommon yes
 
Anonymous
Everything cool?
 
yeah... just counting down the clock to go home
33 minutes till the weekend
 
Anonymous
:P
 
Ekn
2 to mine
 
8:58 PM
have a great weekend, mang
 
Ekn
:-) you all as well
 
@bwoebi With your suggested change, Amp\execute(Amp\coroutine( … )) would now be a mistake.
 
@Ekn here we call it "midnight"
 
@Trowski yep
 
8:59 PM
Dunno if I like that...
 
Ekn
@tereško it's just another beer time
 
You and I know why it's wrong... but it's not very obvious to an outsider.
 
Ekn
speaking of... /me opens up one
 
@Trowski Yeah, I wonder whether any value except null and Generator should just throw…
 
aaaannnndddd... 5 o'clock.
sorry, I meant beer o'clock
oh, I see this is totally already being spoken of.
 
9:03 PM
@FélixGagnon-Grenier I thought you were in Canada, not in Australia
 
@bwoebi That's not a bad option.
 
5pm in Eastern Canada right now
 
Stupid samba protocol transferring files one by one instead of concurrently…
 
@FélixGagnon-Grenier Molsen beer?
 
9:06 PM
throws up a little
 
lol
 
Ekn
@FélixGagnon-Grenier cheers then
 
when I think Canadian beer, that's first that pops up to me
and before you start throwing rocks at shitty American beer, no... I'm a Kentuckian.. We make bourbon... I win :D
 
yeah, canadian beer. here in quebec, we have internationnally known micro breweries with very good beers
 
9:07 PM
I like beer, don't get me wrong, but its hot hot out right now, so i honestly like American lite beers (Miller) during this time of year
in the winter I'm all about stouts
 
I love me a good pilsner when it's that hot. but I still prefer good ones :)
I also love gose styled beers, at that effect
 
my father drank miller lite, so the smell and taste brings back good memories, but yeah, Pilsners in the summer, stouts in the winter...
bourbon all year long
 
or whatever beer is the "beer of the month" at BWW when I am there...
currently Budweiser
 
... wat?
I want to google BWW but am a bit afraid of the results
 
9:10 PM
Buffalo Wild Wings... a sports bar in town
no no..
heh
yall don't have BWW in Canadia?
 
hmmm... not that I know of. but I'm not a big fan of sports bar
 
They have "tall" beers (22oz I think) for $3 as their special of hte month...
 
they rotate around Bud, Coors, Miller Lite and I'm sure Michelob
 
@rabbitguy I see. I'd definitely drink that too, to begin the night :p
 
9:12 PM
begin? I try to start w/the beers that have flavor, then end on crappy beers... otherwise I won't taste the quality after a few beers
after a few drinks you basically can't taste anything
 
I'd argue with that. thing is, when I start the night, sometimes I am *really* thirsty, hence the first few beers I don't even realize and they're gore. so it goes something like

crappy beer - okay beer - good beer - scotch - shooters
 
@rabbitguy there are light craft beers... like Sam Adams Porch Rocker... mmmmm
 
you guys talking about beer... makes me miss beer
 
when I get back in town tonight after I drop the kids off w/their mother, I'm heading to that bar...
that is nothing but bourbon
over 400 to choose from
 
9:14 PM
shiite...
 
I've only had approx 40 of them
a flight can run up to $50 (4 half shots)
 
:( I wish I didn't get migraines from alcohol
I'm jealous
 
@Tiffany You are probably better off without it even if you didn't get migraines.
 
yeah, it's an expensive habit
 
A lot of calories too.
 
9:16 PM
that I can handle...
hehe
 
can someone test a URL for me?
 
sure, so long as it's safe for work
 
jwcc.edu/fall - does this redirect you to a different URL, or does it give you a 404?
 
my boss left early, hehehe
404
 
grumble
thanks
 
9:18 PM
here's the list of standing bourbons at that bar: themillerhouserestaurant.com/pdf/whiskey.pdf
looks like they haven't updated it recently
@Tiffany just tried again and it redirected me to here: jwcc.edu/admissions/8-and-12-week
 
can you try it again?
yeah
 
yeah, it wasn't set to active, which was why it worked for a couple people and not everyone else -- we were logged into the system
 
looks like it's working then :)
 
9:22 PM
logged into the system -- inactive pages work; not logged into the system -- inactive pages = 404
 
@Trowski ever heard of __FUNCTION__ magic constant?
 
@bwoebi Yes :-P I tried that, but it's within a closure.
 
@Trowski \Generator::class … seriously?
@Trowski oh, true
 
@bwoebi Heh, I suppose that's stretching it a bit.
 
@Trowski a bit :-P
 
9:23 PM
Imma start slowly moseying towards my car. Yall have a good weekend
 
you too
 
@bwoebi Let me just make them on-liners... I started with sprintf when I thought __FUNCTION__ would work, but now it's just clunky.
 
yep
 
@bwoebi Ok, refresh that diff.
 
[Uncaught Interop\Async\Loop\InvalidWatcherException in /root/aerys_v2/vendor/amphp/loop/lib/Loop.php on line 272: Cannot enable an invalid watcher identifier]
I love it
 
9:32 PM
@bwoebi That's actually helpful.
 
@Trowski +1
 
I still see "Cannot disable an invalid watcher identifier" :-P
 
Fatal error: Cannot resume an already running generator in Unknown on line 0
… wat
how am I supposed to debug that? <.<
 
That's surprising… did that come from a coroutine?
That is, are you using a generator for anything else, or did it have to be a coroutine?
 
I have no clue :-D
I don't even know where that comes from
 
9:38 PM
That could happen if an awaitable callback was invoked twice.
 
gonna fire up gdb…
yes, but then it still shouldn't be in Unknown on line 0
 
Anonymous
@PeeHaa sorry for making everyone hate us...
 
Anonymous
Night all o/
 
10:03 PM
@brzuchal No, I think you should let 7.1 get out first. The problem is that there are several contentious things being discussed already. Adding another thing into the mix isn't likely to have as good a result as introducing it when everyone is calmer.
 
HR department did a classy move. Our A/V dude's last day is today. At 5pm ON THE DOT, they send out an email for the opening of his job.
 
wuahy ?!
why wouldn't you post an as soon as the guy hands in his resignation ?!
 
I dunno, some kind of protocol
"politeness" or something
 
hell, you can use the same person the then teach the newbie how to take ower his responsibilities
 
that's actually how they did it with the current dude
well
now no longer current dude
 
10:12 PM
 
but his predecessor was here for about two weeks to teach him stuff before he retired
 
current employer (soon to be ex employer) is presently getting a total brain fart. They totally ignored my advices on how to direct the thing (namely, listen to what the users actually have to say) and are about to hire outside consultants to ask them what they should be doing with the codebase. Said consultants don't have a clue about the technology stack, nor business culture, but I am to give them a presentation of the thing so they can apply their wisdom to the case.
I was really getting pumped up, then took a deep breath. so totally not my problem anymore. let them be, Felix.
 
hey if you need a puppet consultant to get paid to feed them your advice, I'll be happy pass along your recommendations to them
 
why do they need a fucking presentation?!?
if they were to improve shit, they would need to conduct several interviews
 
@PaulCrovella that'd be awesome, let me think of a way :p
 
10:18 PM
some developers, some management, some users .. shit like that
 
@tereško I've been trying to explain that. but boss says they totally understood my points, and are in contact with the sales force, and blah blah blah.
 
did they ask any questions after your presentation?
 
I will know that next tuesday, after the presentation
 
oh .. sorry
I misunderstood your last sentence then
 
thing is, these "consultants", expert TI guys supposedly, are actually friends of the senior sales guy
 
10:20 PM
I thought "they" were the consultants
@FélixGagnon-Grenier fuck them
 
oh, sorry if I was unclear. in any event, I think I lost this battle before it even began
yup
 
will you be taking an extended vacation?
 
nah, starting right over at the new place. which is totally ok
 
or looking for new job right away
oh
 
will be working with a friend of mine, on nice projects, with an actual team of programmer, far from client relations
 
10:22 PM
will you be having an exit interview?
 
what's that?
well.. no I won't be explaining to them what I liked or disliked working there :p
 
in good companies that's when some HR people and project managers talk to you to learn why did you choose to leave
 
> in good companies
^
I guess the other day, when I entered the boss's office and told them I was leaving, that would have been that interview. but nothing close to them asking why I would choose to go away
but for now, I think it is time to consider a nicer question. @All What is the best 4x game you've ever played, if you're into this? (sorry Allen. your name asks for it :p)
 
dont know about good, but this is one of the latest: store.steampowered.com/app/281990
 
oh... europa universalis was indeed good, maybe they were able to put that to space. how intredasting
 
Ekn
10:45 PM
Dang. I took down a guy with a knife since I was out of ammo... but game closed itself...
 
The cpu couldn't cope with the sheer effectiveness. I take it you chose Rust then?
 
Ekn
nah its metro last light
 
@PaulCrovella you sneaky little you
 
11:02 PM
I don't have it in me to argue right now. Every little permutation of a problem is a unique snowflake, and that's not gonna change.
 
for fuck sake ... this is why I hate SJW/progressive bullshit so much
since they were suppression all the negative information about immigration crisis, now the extreme right is on the rise
and they are now proposing basically to "ban islam" all over europe
because banning shit is how you change people's minds /s
Baltic states should just leave the EU, and make their own trade zone .. we can invite poland and finland too
 
heh :D let's all have our floating cities
in a few millenias
 
@FélixGagnon-Grenier reddit.com/r/longevity
 
I see you're trying to infuse me with reddit's culture. I had successfully stayed far from there.. until these last months. my mental stability is at stake I think
though this particular subreddit seems somewhat ok, judging the book by it's titles
 
@FélixGagnon-Grenier that one I get harmed only by r/KotakuInAction
 
11:09 PM
must... not... go... ok let's do it
 
.. it's where the hugh magnus video was from
it's the "unofficial main gamergate sub"
 
almost insta cringe
 
@Trowski About 10% decrease in perf
 
yeah, I shouldnt be reading it, but the sometimes pick up good stories
 
@Trowski 101k (v1) vs 91k (v2) req/s
<?php

include 'vendor/autoload.php';

(new Aerys\Host)->use(function($req, $resp) { $resp->end("Hello World!"); })->expose("*", 8000);
^ config file
~/php-src/sapi/cli/php -dzend.assertions=-1 bin/aerys -c test.php
^ run command
./wrk -c 1000 -d 15 -t 2 http://localhost:8000/
^ benchmark command
 
11:16 PM
@FélixGagnon-Grenier if you want a fun subreddit, try reddit.com/r/pcmasterrace
 
ah, that sure is less unsettling
 
also reddit.com/r/Futurology is some good news source
 
but ugh, I have to put a timer on my consumption of reddit
 
@Trowski and yeah, fixed the issue in Aerys … seems I missed to test prod-mode back then when porting
@Trowski I typically get differences of ±2% between different benchmarks of the same thing, but amp_v2 is definitely consistently 10% slower
 
> The best defense is a good offense. Interestingly, so is the best offense.
sgtm
 
11:28 PM
@Trowski an interesting thing to notice is that wrk never reports socket read errors for master, but it does for amp_v2
[I have absolutely no idea why - just observing that]
[both are using NativeReactor btw.]
@Trowski got once 95k req/s with amp_v2, but still 6% slower
 
@bwoebi have you published the benchmarks anywhere? It'd be interesting to read about. Would love to see how it fares against other software with comparable configuration using the same hardware and methodology.
 
@PaulCrovella look about 15 messages above this one
Also, haven't compared against other software, but it's hard to compare hello-worlds
Regarding hardware: 3,5 GHz i7 Haswell with 32 GB RAM inside a Debian VM (via vmware) with OS X as host OS. @PaulCrovella
 
do you pull any system load stats while you're doing it?
 
@PaulCrovella load is at 7 (with 8 logical cores) and max CPU usage
 
11:58 PM
@bwoebi Hmm... I wonder where that 6% went.
If you're using \Amp\*() calls a lot, it's costing an extra function call now.
 
@Trowski I do too… needs profiling where the cost gets lost
 

« first day (2141 days earlier)      last day (2801 days later) »