« first day (2834 days earlier)      last day (2114 days later) » 

oh, here the bit about state was.
 
I don't get it. If an instance is created on server creation and registered as a route handler through the router, shouldn't it be that very instance that handles all requests for as long as the server stays up?
bah heading home, laters ;)
 
@FélixGagnon-Grenier fwiw - I'm with you.
@SaltySea You are being very annoying. Are you trying to piss people off? Because you'll probably succeed.
Missed an eventful evening it seems.
 
@StatikStasis he's suspended for half a year. I guess he started doing the same stuff in the js room too.
 
9:15 PM
@Tiffany wow- that escalated quickly.
I felt like I was reading a Beavis and Butthead script.
But it was only Beavis.
 
@Tiffany I feel like, he figured that this was chatroom like any other chatroom for 10 yr olds, not realizing that it actually consists of adult professionals and is actually for providing help and discussing important matters, surely we go off topic a lot of the times, but it is always within a limit and is in a courteous way.
 
9:31 PM
@mega6382 except the jokes like @PeeHaa's or @Jimbo's mom, but the difference is we know that they are harmless jokes, even though they may not seem like it to outsiders. Compared to a newcomer who we have no history with and for all we know is a jerk normally.
 
@Tiffany Yeah, not are those jokes just harmless but are out of love and friendship too
 
@FélixGagnon-Grenier correct
 
You can't be familiar with a person who's a stranger, essentially. Even though technically we're on the internet and I haven't met any of you in person so you're all strangers to me. :P
Er......... wat, I can't do new line in mobile chat now
Bugger all
 
@Tiffany exactamundo
 
@Wes Does ./configure or whatever it is on Windows help before recompiling?
 
Wes
9:35 PM
trying again
@kelunik you mean buildconf?
 
@Wes I run phpize, ./configure, make install on Linux for a .so, not sure what's required on Windows.
 
Wes
i did a full recompile with buildconf and configure, and i am trying again
 
how to run a jar application on a server with a frontend website build on php
 
Wes
but must be some missing include
 
@Smple_V that question is poetry
 
Wes
9:39 PM
@Smple_V you were told already that it's impossible these days
 
@kelunik Ok, thanks. So, if I think I am observing that a repository is losing its state between requests (that is, two successive add($entity) calls do not add up), either I am doing something wrong or I am doing something wrong?
 
@Wes i totally agree with that but the client is adamant about it.
 
@FélixGagnon-Grenier Do you use multiple worker processe (i.e. amphp/cluster)?
 
@wes all they need is to host the applicaiton made in java on a webserver and use a frontend
 
@kelunik I am not aware of that. Possibly, but I don't recall doing anything purposefully about processes.
 
Wes
9:41 PM
please stop pinging me
 
I'll read about it.
 
appreciate your prompt response is there any other way to work around it
 
@FélixGagnon-Grenier How do you start the server?
 
through cli, php Server/server.php
inside is a Loop::run much like the one in the documentation
 
In that case there shouldn't be multiple processes handling your requests.
 
9:43 PM
ok
 
Do you maybe re-create the repository for every request?
 
well, it would seem so
I thought I shared it through the injector, but I might have over engineered something and lost count ;)
thanks for the hints! bbl
 
Do you use the same injector for all requests or create one per request?
 
it's created on server startuo
 
Also off now, later o/
 
9:45 PM
in the Loop::run
yeah o/
ooohhhh waiiiittttt......
in the loop.
oh well, maybe that's nothing
 
Wes
@kelunik i compiled it shared and it didn't error
 
really off
 
Wes
@kelunik still there? it worked lol. i swear to god i just repeated what i did already
still hangs here though
Test 'Amp\Process\Test\ProcessTest::testProcessCantBeCloned' ended
Test 'Amp\Process\Test\ProcessTest::testKillImmediately' started
 
@Wes Still works stand-alone?
 
Wes
hangs also stand alone now cc @DaveRandom
 
9:51 PM
@Wes All others work fine?
 
Wes
hangs also here now Test 'Amp\Process\Test\ProcessTest::testKillThenReadStdout' started
commenting that out too
 
Damn, my question is too damn long.
But it's simple, actually.
 
Wes
and here Test 'Amp\Process\Test\ProcessTest::testSpawnMultipleProcesses with data set #2 (6)' started @kelunik
 
Hello everyone.

I have one of those questions that I know everyone hates and no one will answer, I feel like a noob asking but anyway, I'll ask anyway, feel free to ignore.
 
@Wes thx
 
Wes
10:05 PM
i'll be at my computer tomorrow if you want me to try more
 
I think I'm done with the samesite cookie \o/
3
 
About my question, solved it with Foreach. Feels wrong, but works.
 
Wes
10:26 PM
nothing wrong about foreach
 
 
1 hour later…
11:31 PM
@LucasBustamante unrelated to question, but if you use gist.github.com, you can add separate files to paste code into
 

« first day (2834 days earlier)      last day (2114 days later) »