« first day (2200 days earlier)      last day (2745 days later) » 

8:00 AM
not everyone has threading
some places must use a busy wait loop, and we need to allow that too, because even though pthreads, people don't like threading ... they don't get it and or are scared of it
 
Well that was a stressy Sunday. :P
 
I am both of those things but I use it anyway :-P
 
Morning 11
 
as for why that specific model, @Wes, I just picked one from the low end with quite cooling
 
@JoeWatkins meaning what, sorry? to be able to retrieve data from it?
 
Wes
8:02 AM
@tereško oh, good to know. do passive heatsink gpu still exist these days?
passive - but with decent performance
 
say you do (in a background thread):
$app->queue(function() use($result) {
    $this->control->setText($result);
});
you need the address of control to be passed to the background, and back to the foreground
for this->control to mean anything
 
Passing objects between threads serializes them, right?
 
ui passes the address, dangerously
I was getting there
I dunno if there is a properly safe way to do it ...
any control can go away at any time
 
@Wes last passive one I have seen was: sapphiretech.com/…
but is does not match your port-requirements
that's 2 generations old (released some time in 2014, I think)
 
Wes
yeah maybe too old
@PeeHaa pick the one you prefer i.imgur.com/Ksznsvm.jpg :B
 
8:06 AM
I've got off track here @DaveRandom
 
@JoeWatkins What if queue() blocked for a response from the UI thread, where you could put in checks that the control is actually there before you try and do anything with it?
 
it doesn't, it only enters a struct into a linked list and returns
 
hi may I ask a question? are you all freelancer or working in a company?
 
oh oh, it doesn't exist yet
ah well, verifying an address means keeping a map of addresses
 
Hi after login my ac after some click or randomly logged out on my laravel-ribbbon how to solve it?
 
8:08 AM
this has surprising consequences for garbage collection and the Worker class in pthreads has to jump through many hoops to make it work
I don't want this to be so complicated, I'd rather keep the complex in pthreads, if possible ...
 
@ARUN.G we dont do Laravel in here. Ping @TaylorOtwell on Twitter
 
@JoeWatkins OK let's shelve that for now then
 
@ARUN.G I am sorry to say, but nobody uses laravel here.
 
the problem at hand is I want to merge the App::run changes with my app::onTick changes
 
@Gordon ok
 
8:09 AM
if you do App::run() and you have an onTick handler, what should happen ?
 
@tereško Thank you
 
tnx @Wes
 
Wes
have you guys seen joe's one? :b
 
Yeah. Looks coool
 
maybe exception ?
or maybe we enter into our own main loop
if you are using flags, then this doesn't matter ...
if you don't use flags (because the words non-blocking, or waiting, scare you, this is 60% of people) but you have an onTick handler, I think you expect it to keep being executed
but entering into a loop in an extension function seems really very nasty
 
8:14 AM
Nope I started writing like 5 things and I hate all of them
I think exception?
Seems weird to throw an exception just because an override exists though
 
Mernins o/
 
@DaveRandom could you please send me @Jeeves's credentials by mail? I am not home atm
 
@DaveRandom all of this is weird, I committed App::onTick stuff
 
@JoeWatkins will take a looksy
 
I think you're using it wrong if you are using onTick and do App::run without flags, I think that's exceptional
 
8:21 AM
@PeeHaa your name is currently appearing for me as "slogan"
 
@DaveRandom Wut?
 
@Gordon Thanks for the update. I do agree it's problematic to mock when final is involved, which is what sparked the original discussion. I was wondering if it would be worth looking into making final classes mockable somehow so that maybe in a future php version using final by default would also make sense in practice, not just theory.
 
@DaveRandom lol. Looks like SO fucked up the editing of profiles
 
Anonymous
@PeeHaa Sorry, who are you?
 
8:25 AM
@JayIsTooCommon Let me give you a hint. I'm the person your mother wakes up next to
 
@JoeWatkins While I am inclined to agree, it feels like there should be a run-time argument to bork at... but I got no non-horrid suggestions as to how to accomplish that
 
lol
 
Anonymous
well that backfired
 
hmm ... new avatar
 
At the same time though @JoeWatkins, is it conceivable that one might want to change the implementation of onTick() at run time? Like when some state change happens do a different thing? e.g. I have a splash screen, once that is gone I do a different thing onTick() then later I do a third thing?
 
Wes
8:27 AM
whose face should i halloween/ruin next
 
@PeeHaa the SE openid creds?
 
Yes please
nvm found it :P
tnx
 
:-P
 
Sorry. I'm stupid this morning. I forgot I have a server with them :P
 
What, you mean the same place I would have got them from? :-P
 
Wes
8:28 AM
lol
 
@DaveRandom that'd be hard, it's a method of the App class
 
@DaveRandom Yea yea I know :P
 
Anonymous
!!wotd
 
Moanings
 
I just close the box :(
 
8:30 AM
@JoeWatkins Right, but does it need to be? It's only executed once. I'm thinking (and ftr this is one of things that I hate) App::run([callable $onTick [, bool $wait]]), so the presence of callable is what App::Loop does, and the bool is App::Wait.
That way it's all run-time
 
Anonymous
@Ocramius o/
 
@Ocramius yo
 
I'm so jetlagged that I can see the future
 
I realise that everything else is done with overrides, but in this case it may not be what you want - because I might want to swap out that implementation at run time
 
test test test
 
8:32 AM
@Ocramius is it bright?
 
!!is @PeeHaa controlling @Jeeves?
wait did you stop the service? :-(
 
@JayIsTooCommon your mother just told me she never seen such a big trunk
3
 
!!did @PeeHaa stop the service?
 
Anonymous
lol
 
Wes
aghahadsf
 
8:33 AM
@DaveRandom Nope I really didn't do anything
 
@Jeeves your mother uses CVS?
 
@PeeHaa interesting
hmmm
 
@DaveRandom I only did: login to vps provider ->use their crappy console
 
@Gordon no, it's still full of JavaScript
 
@Ocramius thanks for wide reply on my RFC
 
8:35 AM
@brzuchal I just feel that a lot of people still don't know shit about use-case scenarios
and they were being really, really noisy
 
I san see that
Haters gonna hate
*can
 
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: Unhandled exception while executing ChatAction for chat.stackoverflow.com#11: Class 'Amp\Socket\ConnectException' not found
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: object(Error)#4517 (7) {
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: ["message":protected]=>
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: string(45) "Class 'Amp\Socket\ConnectException' not found"
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: ["string":"Error":private]=>
@bwoebi ^
 
lol amazing we never had that before
Or is that the new exception you introduced?
No that was in artax
 
Yeh I'm just looking now
 
"I've never tried your X, but my Y works for me, therefore your X is wrong." 2015 might be the year when I learn to dodge such discussions.
 
8:40 AM
ugh that var_dump() does not make life easy :-P
 
yeh this is a new one on me
 
Good morning
 
on you? So you admin guilt?
:P
 
holy crap, what happened with @PeeHaa ?
 
8:41 AM
@DaveRandom Where's the rest of the trace?
 
@AlmaDo Halloweenvatar
 
@kelunik it's not a trace because I am a dumbass and I var_dump()'d an exception instead of stringifying it
So it's really fucking hard to work out
trying to get something useful now
yup, the dump is too long and it doesn't log the trace :-/
oh wait, I have got this much @kelunik:
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: ["code":protected]=>
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: int(0)
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: ["file":protected]=>
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: string(53) "/srv/www/Jeeves/vendor/amphp/socket/lib/functions.php"
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: ["line":protected]=>
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: int(107)
Oct 24 08:32:39 149-210-224-55.colo.transip.net php[428]: ["trace":"Error":private]=>
 
@DaveRandom there is nothing stopping your custom App::onTick deciding what to execute based on the state of the application though
it doesn't need to always do the same thing, right ? it's job can just to be to dispatch the call to some other function
 
@JoeWatkins No, indeed, I'm just thinking it might slightly reduce the wtf factor over having an exception thrown by virtue of an override existing
yeh @kelunik I got no idea what's going on there
 
@PeeHaa the red is distracting
also, if you wanted sth scary for halloween, you could have just put up a picture of your fac a clown
 
8:49 AM
:P
 
!!uptime
that is really fucking weird
 
Hmm, I should write a browser plugin that replaces all gravatars with images of bacon
 
!!uptime
 
@DaveRandom I have been running for 5 seconds, since 2016-10-24 08:50:30
 
@DaveRandom The only thing I can imagine is that there's a parse error somewhere and a global error handler catches the exception and ignores it.
 
8:52 AM
yeh, it's super weird
 
If you're looking to implement a queue system with SOAP requests, would you store the data as something like a json encoded object or the raw XML response?
 
no one is looking to implement anything with SOAP
 
Too right
 
> PHP Fatal error: Corrupted fcall_info provided to zend_call_function() in Unknown on line 0
 
wat
 
8:54 AM
that cannot possibly be good @JoeWatkins @bwoebi ^
 
@DaveRandom Sounds reasonable.
 
@DaveRandom fcall_info. I saw that recently. that's the struct where the backtrace is generated from, right?
 
uv probably?
 
Oh possibly
when I do this:
require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../version.php';

throw new Amp\Socket\ConnectException();
I get the "not found" error as well
PHP Fatal error:  Uncaught Error: Class 'Room11\Jeeves\Amp\Socket\ConnectException' not found in /srv/www/Jeeves/cli/run.php:53
Stack trace:
#0 {main}
  thrown in /srv/www/Jeeves/cli/run.php on line 53
oh wait
 
^ :P
 
8:57 AM
hmm
when I do it right it works
 
@DaveRandom Which is totally expected.
 
I'm going to assume that was a one off (maybe opcache related) weirdness
 
@DaveRandom We should still open an issue @ bwoebi/php-uv.
 
@PeeHaa more details please
 
8:59 AM
@Gordon touché
 
@PureRhymerOrganization ?
oh
@PureRhymerOrganization gist.github.com/1689430
 
@PeeHaa Didn't notice you posted that message. New avatar...
 
@kelunik that fatal error thingy came when I put the throw new Amp\Socket\ConnectException(); immediately before the run() call in the Jeeves startup script, i.e. when I did something super weird. Not sure how to get a minimal i.e. debuggable repro
 
@Wes @DaveRandom's kid :)
 
@DaveRandom Reproducable in that case?
 
9:00 AM
@kelunik Yes. It's halloweenish
 
@kelunik yes but it does a lot of unrelated work
 
It's only for a week. So the moment you finally get used to it it will be back to normal :D
 
Wes
nope @PeeHaa :B that would be bad
send a photo of yourself @DaveRandom :D
 
@Wes We have several of them :P
 
@DaveRandom Doesn't really matter. @bwoebi will figure it out with step-by-step.
 
9:02 AM
@Wes do @Sean or @Danack
 
Anonymous
@PeeHaa That picture of @bwoebi you sent me would be perfect for a halloweening
 
Hm?
 
@JayIsTooCommon lol yeah cc @Wes
 
@Wes it is unlikely you want me to do that
 
Wes
no, not one of those photos please
i still can't unsee them
:B
 
Anonymous
9:05 AM
@official_php It's been 3 years since you promised a post-mortem of the hack causing http://php.net to serve malware. Any news?
 
RT @leighzaru: @official_php It's been 3 years since you promised a post-mortem of the hack causing http://php.net to serve malwar…
 
That's fast.
 
Anyone seen this before? hoa-project.net/En
 
@Wes this any better?
 
9:06 AM
hahahaha
 
Anonymous
oh my lord
 
That was something I really wanted to see this morning
 
Anonymous
#freethenipple
 
@Gordon Hoa? Yes.
 
@kelunik is that any good?
 
9:08 AM
Didn't use their things much, but they generally looked good when I looked at them.
 
@DaveRandom Are you running the most recent version of uv?
@JayIsTooCommon
 
mornin
 
I wonder if we should start a r11 framework
 
Wes
@DaveRandom did you just take that pic? for me? i'm honored :B
 
@Gordon no
we dont need more frameworks
 
9:09 AM
@PeeHaa I do it every year. It's a tradition now :)
 
we need better guids for how to make sites without frameworks
also, there is something really wrong with avatars
 
@tereško I am not sold on that. frameworks have their place. even crappy ones.
 
yes
but that's not the point
 
@Leigh Yeah. Keep doing it
 
Anonymous
Who owns that twitter ?
 
9:12 AM
@tereško also, I am not suggesting to write a new one from scratch but rather adapt stuff we already have into a coherent package
 
@bwoebi how do I get the current version?
 
Wes
ok this was just way too easy @Jimbo (sorry, halloween avatar)
9
 
Anonymous
agaha
 
@PeeHaa did you build uv from src?
 
@DaveRandom look at the most recent git commit?
@DaveRandom you have to^^
 
9:15 AM
@DaveRandom Hmmm IIRC yeah. If I did it should be in /home/root/install or /home/root/temp
 
Pretty sure I did
 
Wes
i should work a bit now :B
 
@PeeHaa Jun 3…
yeah, that's not the most recent version
 
Anonymous
@Wes No, no you shouldn't
 
9:16 AM
@PeeHaa /home/root does not exist??
 
@DaveRandom /root/install/php-uv does
 
oh right
duh
 
Err solly. thata one
 
@bwoebi can't you add it to pecl and then remi will build it?
 
Yes please
 
9:18 AM
@DaveRandom I've never added a repo to PECL…
somebody else needs to do that for me
 
@Wes Nice!
 
Wes
fitted perfectly
 
@bwoebi @salathe halp
 
user image
2
 
@bwoebi uv itself or your ext?
 
9:22 AM
@PeeHaa my ext
 
Pretty sure I did a fresh checkout 1 month ago based on master
 
@PeeHaa there's your issue
one month ago
 
commit 9a297fb7927ae52aabd86052623a81845756bfe5
Author: Bob Weinand <bobwei9@hotmail.com>
Date:   Fri Jun 3 14:55:13 2016 +0200

    Update README.md
 
Latest commit bd1e4a9 23 days ago @bwoebi bwoebi Fix early freeing of non closeable uv handles
^ github
 
I just can't keep up with these crazy fast release cycles :P
 
9:24 AM
which is fixing that exact bug you describe
 
i just make a plugin in wordpress and add it as a shortcut like this add_shortcode( 'my_contact_form', 'cf_shortcode' ); now the problem is that when i use <?php [my_contact_form]?> in my php nothing happen
 
also @PeeHaa did you build libuv from src?
 
Get that shit in remis repo already. My sysadminning should be yum update
 
@DaveRandom yes
 
@DaveRandom Yes joyent are fucking morons
 
9:24 AM
@PeeHaa why?
 
...?
 
They don't release packages
 
i also used [my_contact_form] in my php file but it just printed out just like this [my_contact_form]
 
@PeeHaa really? yum search uv begs to differ :-P
 
They stopped after 0.4 or something crazy like that
@DaveRandom Check the version
 
9:25 AM
note that remi cannot bundle php-uv if he isn't able to distribute uv itself
 
Same goes for node itself
They suck like that
 
> 1.9.1-1.el7
that would be the same as the src you have :-P
 
huh
What repo is that coming from?
 
epel
 
wtf. Surely I would have seen that
 
9:26 AM
apparently not :-P
 
Now I'm not sure if I build from sauce
 
Well you did because it's not installed
will fix now
 
@PeeHaa you definitely buillt from a clone
 
Much confuse
Just fix it :P
 
@bwoebi should simply phpize; ./configure or needs args?
 
9:29 AM
@DaveRandom well, current config.nice is empty - so needs no args now either I guess
 
@bwoebi is there any way to tell in userland whether it has worked?
 
@DaveRandom no.
 
marvelous :-P
 
\o/
 
@DaveRandom just go look at the timestamp of the install destination
 
9:32 AM
> Oct 24 11:31 uv.so
 
then it's all fine
 
Hello, are there situations when it's better to not use a web development environment on windows?
 
@Nadroev it would be easier to ask when it's better. the only reason to use a win env is when your production server runs windows. which you only want to do when you need any of the win products. if you dont, you want to go with a linux based stack.
 
@Nadroev The development/test environment(s) should mirror the production environment as closely as possible. However 99.9% of the time you can accomplish this with a VM and run your IDE under windows just fine.
 
Anonymous
:33663055 were you racist?
 
9:36 AM
Still is
 
@JayIsTooCommon Plobably
 
I find it very confusing that static methods in interfaces in Java need a body
 
undefined variable error occurs while printing this code <li><a href="<?php echo $categories['manufacturer_id']['href']; ?>"><?php echo $categories['manufacturer_id']; ?></a></li>
 
1 message moved to bin
 
@Wes You absolute bastard
 
Wes
9:47 AM
:D ahahah
wear it!
 
@abdul we dont need to see the code. your $categories does not exist. so fix it.
@Wes bieber him. he'll hate you forever.
 
Wes
nah, too obvious :P
 
Are we all doing halloween avatars?
Who else has got one?
 
@Jimbo We should
 
nah
 
9:53 AM
@PeeHaa Yours is new! Is that your face? It's too small to see
 
Anonymous
@Wes I've dm'd you some beauty btw.
 
@Jimbo I wanted to dump a good comeback about your mom, but it's too early and too monday right now
 
:D
 
Wes
ahahaha
 
Anonymous
9:55 AM
lol
 
though it's only scary when you do that on a collaborative branch
 
Anonymous
@PeeHaa does the SE API allow you to delete/move messages ?
 
@JayIsTooCommon We can do whatever any user / RO can do
 
Anonymous
So the ideal behaviour for !!undo is delete if possible, if not move to bin ?
 
Wes
@Sean came out actually scary, so i added...
3
 
9:57 AM
hehehehe
 
Wes
too scary :P
 
@Wes Good lord, that's amazing :P
 
@Wes Wow that's... SUCH AN IMPROVEMENT
 
agree, wicked hat ...
 
@Jimbo ):
 
9:58 AM
Haha, only joshing with you
 
Wes
i.imgur.com/NS78bIp.jpg in case you prefer it without the hat :B
 
@Gordon Still on for meeting Saturday for zehn bieren bitten?
 
@Jimbo yupp, mind if I bring other people you know?
 
@Gordon Hell yeah bring them, is it @PeeHaa's mom?
Also I changed my avatar...
 

« first day (2200 days earlier)      last day (2745 days later) »