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

08:00
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
Wes
08:02
@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
Wes
yeah maybe too old
@PeeHaa pick the one you prefer i.imgur.com/Ksznsvm.jpg :B
08:06
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?
08:08
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
08:09
if you do App::run() and you have an onTick handler, what should happen ?
@tereško Thank you
tnx @Wes
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
08:14
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
08:21
@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?
08:25
@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
Wes
08:27
whose face should i halloween/ruin next
@PeeHaa the SE openid creds?
Yes please
nvm found it :P
tnx
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
Wes
08:28
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 :(
08:30
@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
08:32
@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
Wes
aghahadsf
08:33
@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
08:35
@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.
08:40
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 ?
08:41
@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
08:49
: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.
08:52
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
08:54
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
08:57
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
08:59
@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?
09:00
@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
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.
09:02
@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
Wes
no, not one of those photos please
i still can't unsee them
:B
Anonymous
09:05
@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?
09:06
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?
09:08
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
Wes
@DaveRandom did you just take that pic? for me? i'm honored :B
@Gordon no
we dont need more frameworks
09:09
@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 ?
09:12
@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
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^^
09:15
@DaveRandom Hmmm IIRC yeah. If I did it should be in /home/root/install or /home/root/temp
Pretty sure I did
Wes
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
09:16
@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
09:18
@DaveRandom I've never added a repo to PECL…
somebody else needs to do that for me
@Wes Nice!
Wes
Wes
fitted perfectly
@bwoebi @salathe halp
@bwoebi uv itself or your ext?
09:22
@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 <[email protected]>
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
09:24
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
09:24
@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
09:25
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?
wtf. Surely I would have seen that
09:26
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?
09:29
@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
09:32
> 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?
09:36
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
Wes
09:47
: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
Wes
nah, too obvious :P
Are we all doing halloween avatars?
Who else has got one?
@Jimbo We should
nah
09:53
@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
Wes
ahahaha
Anonymous
09:55
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
Wes
@Sean came out actually scary, so i added...
3
09:57
hehehehe
Wes
Wes
too scary :P
@Wes Good lord, that's amazing :P
@Wes Wow that's... SUCH AN IMPROVEMENT
agree, wicked hat ...
@Jimbo ):
09:58
Haha, only joshing with you
Wes
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 (2972 days later) »