« first day (2469 days earlier)      last day (2705 days later) » 

20:01
@DaveRandom Just add a watcher on it? What?
What am missing?
@Trowski Because Process#start() is synchronous, it will block the process on windows while it establishes 3 sockets with a small handshake
right now im differentiating tags and categories
It doesn't return a promise, so you are forced to block otherwise you are returning control before the connections are established
as categories > technology and web dev > tag
and you can only use tags under categories
@DaveRandom You can just fail $this->deferred at a later time.
20:06
so it can be category > news and tag > web dev || category > technology and tag > web dev
@Trowski there is no deferred, start() is assumed to be atomic (because it is on *nix)
oh you mean on the stream wrapper classes
that could work, although it would need a special impl of the stream for windows where it does a bunch of tap-dancing to check that it has a valid underlying resource
@DaveRandom No, I mean Process::$deferred
@Trowski that's for determining when the process has ended, though. What I'm talking about is code like:
Actually that might not work… yeah, you might need a custom stream wrapper.
Yeh I hadn't thought of that approach until just then, I think I can make that work
The extra branching layer will be not-super-performant but... Windows
20:14
Once the connection is established it's only another function call… so meh.
Right now I'm still fighting with the win32 API anyway
I really appreciate you working on the Windows side. I know little about it and generally can't be bothered.
20:27
@Trowski This is the first time I have ever written a C program from scratch. It's... an interesting experience.
Can someone do me a favour and tell me what IP lxr.room11.org resolves to for them?
> 194.14.179.149
@DaveRandom I didn't get those VMs set up for you but opengrok01 and 02 are still functional
youtube.com/watch?v=EDSMS2iJ0Gg i thought this was obvious...
@PeeHaa What did I just hit?
I have 6 new VM's; need to find some way to automatically provision these things :D
@Allenph ?
@PeeHaa That IP.
@LeviMorrison I've set up a physical box in the server room at my office. We have a five-9s leased line and I have managed to get a box with a Q9505 and 8GB RAM and an SSD
20:31
Pfft.
Doesn't it tell you what it is?
Read line above it
Yeah. I see.
@Allenph That's my el-cheapo VPS
@DaveRandom I used to have some of those.
Now I self-host with DDNS, a stack of RPis and a flashed router.
20:34
self-hosting is so 2002
If you put a VPN in front and only expose a few public services...it's pretty great.
@FlorianMargaine It's not really for anything.
OK @PeeHaa what do you get now?
I have fiber. It's way better than most of the VPS out there.
> 109.111.215.195
\o/
5 minute TTLs ftw
20:36
@DaveRandom Same @ lxr.room11.org / 109.111.215.195
can you try to SSH to it please?
done
Reject key and bail?
(hopefully)
---------------------------
PuTTY Fatal Error
---------------------------
Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
---------------------------
OK
---------------------------
After giving username
cool
OK we have a working box, now to install opengrok...
oh no wait, now to configure the data disk
20:39
my brain read it as "purity error" .. and then it got confused
20:55
@DaveRandom We block for a very short time on Unix, too.
> @Ocramius unfollowed you
breaks my heart
ScanDir Have Problem with UTF8 Character in Linux – #74958
how do i do a static call Foo::bar() by binding a $this? :\
basically i'm calling parent::something() which is not really a static call... and i want to provide a $this...
@WesStark Why are you using a static then?
You want to provide an instance to a static method?
Document openssl_x509_check_private_key() $key parameter caveat – #74959
21:11
it's not static
it's a parent method
Yes...parent:: is not static.
I'm confused on what you're asking.
@WesStark What do you mean? It's the same instance / $this?
in php parent::foo() is like doing
$parent = get_parent_class();
$parent::foo();
but it's not just a regular static call, also $this is sent with it
basically i want to call a method like it was invoked like parent::method()
Anonymous
Has anyone worked on a Drupal site before?
which means i can't simply do MyClass::method() but i also need to bind $this
Anonymous
21:13
I don't have questions, I am just curious
@WesStark Including scope?
And yes I am totally ignoring the fact that you are doing weird shit again
I still don't get what you're asking.
it is weird shit indeed. not everyday's code @PeeHaa it's for a mocking framework thingy
Don't ask. Don't tell
:P
:B
basically i'm covering closures that might have their scope rebound to something else
i've received bad news today... a fine for something i think. tomorrow i will know
it's for sure something to pay...
21:19
@WesStark Pay it with the blood of your creditors.
i hope it's not much. but govern is running out of money and we are all subject to witch hunting right now
but could be a speed limit fine
i hope it's just that..
@samayo yes
@WesStark Are you making a static call, or do you have an instance?
@Trowski static::class within a closure will always be equal to the $scope i passed to bindTo() ?
In the latter case I have an idea.
21:25
yes it is parent:: with a $this attached
no static methods involved at all
but i've solved i think
Wait...whose scope are you trying to provide to the call?
Parent or child?
I'm so confused.
static::class scope. eh, but ignore me. it's complex stuff. i think i got it though
21:51
@Trowski 3v4l.org/sCEXA shouldn't static::class be set to B here
static methods, lsb is all evil
this is madness
@WesStark static::class === get_class($this) in an instance context
thanks
in a debug_backtrace's frame, ["class"] is set to what self::class was in the ["function"], right?
seems like so.
22:12
@WesStark yep.
thanks guys. i think i got it working. looks clean even :P
23:26
@PaulCrovella excellent.

« first day (2469 days earlier)      last day (2705 days later) »