« first day (3689 days earlier)      last day (1256 days later) » 
00:00 - 21:0022:00 - 00:00

@DaveRandom E_NOT_REBECCA
 
also E_SATURDAY
god my drunk self loves my drunk self so much
at least musically
 
12:34 AM
UTC-6, yaaaay... not really...
 
Wes
1:21 AM
$message = wait($this->ampClient->receive());
why do you think i am getting
Await the previous promise returned from receive() before calling receive() again
shouldn't wait() do that?
i just realized i'd have better luck starting from a blank project than refactoring this
 
 
1 hour later…
2:46 AM
@Wes this is my groundhog day - rewriting yesterday's code, every day, forever
 
Wes
:(
 
 
1 hour later…
4:13 AM
@Wes websocket-client?
 
Wes
yes
 
@Danack I did biochemistry and biotechnology for my undergrad.
I originally thought I'd maybe work in biotech or instrumentation, but that never really panned out.
@Wes I would assume somewhere then you're calling receive() and not yielding or waiting on the promise first.
 
Wes
that's where i am calling receive, and i am using wait() right around it
is that wrong?
 
No, that seems right.
Is there a way you could turn the function around it into a coroutine?
So you can use yield instead?
 
Wes
yes, i have to change a lot of code though :P i already started a blank project. seems a better idea at this point
 
4:25 AM
Yeah… it might be. Promises tend to infect your entire codebase.
Can't wait for fibers :-D
 
4:40 AM
@Trowski now you sell coffee on the side :D
(and delicious hot chocolate..)
 
 
2 hours later…
6:23 AM
HoroscSaiche ・ *General Issues ・ #80395
 
 
2 hours later…
8:07 AM
Hi, did something change recently in php-src so that this code now fails with "Cannot declare class ReflectionUnionType, because the name is already in use"? 3v4l.org/596ms
 
8:21 AM
This fixes it ¯_(ツ)_/¯ github.com/phpstan/phpstan-src/commit/…
 
 
1 hour later…
9:47 AM
@NikiC Didn't see a response, what did you benchmark with amphp/http-client?
 
 
2 hours later…
11:39 AM
morns
 
 
1 hour later…
12:40 PM
\o
 
o/
 
 
2 hours later…
2:16 PM
How far along arefibers+amphpfibers? Can I test it yet on windows? @Trowski
 
Please support apline's GLOB_BRACE ・ *Extensibility Functions ・ #80396
 
ha cc @Ekin ^
Pretty sure we have seen errors from that
 
User: I'm going to use a really cut down version of Linux to save space!
Same user: Well, well, well, if it isn't the consquences of my own actions.
 
It could be worse:
Linux opencart-77fcc87595-2gqvw 4.4.86+ #1 SMP Thu Dec 7 20:11:11 PST 2017 x86_64
Linux
Current PHP version: 7.1.12
 
2:52 PM
@Danack the things people make raspberry pis do, like allow a security code which turns a 3D printed mechanism to unlock a deadbolt
 
@Danack Just set an exception breakpoint on "*" and it should stop the debugger when that exception is thrown
 
3:08 PM
yeah.....I was trying to suggest it as a nice idea for a video tutorial.
 
ooooh, right, I missed the context there
I need to make a lot of videos for Xdebug 3
currently struggeling what to do with bugs.xdebug.org/1891 ...
 
it seems to be i) something that users don't know how to debug ii) can be debugged in a few minutes using xdebug...
 
I should collect a list of these...
(these common things that people might want to debug)
@Danack If you have an opinion about that bug 1891, I'm happy to hear. The struggle is between "keeping them in so I can show an upgrade message" and "removing them so things like ini_get()" do the right thing...
 
@Derick why/how does ini_get() have a problem with a legacy setting?
 
because it shows that it exists
and I bet that some people check whether something exists, and then expect it to "work" too
 
3:16 PM
That sounds like their problem not yours....what you've done so far sounds right, and then just remove it in a future version...
 
yeah, this is 3.0 only and going to go in 3.1
 
@PeeHaa All the Amp libs have been updated for fibers (with the exception of a couple like beanstalk). ext-fiber should work on Windows, though I've never tried it.
 
just to aide people moving over to new settings
 
@Derick If you have time and are interested, I get a bad access when using xdebug 3 and ext-fiber, running PHPUnit on Amp's tests, with the mode is set to coverage. Not sure if that's my problem or yours. Happens in xdebug_create_key_for_path.
 
do you have a backtrace ?
otherwise, please file an issue with a reproducible case at bugs.xdebug.org -- i don't relaly know how fibers work
 
3:23 PM
@Derick Sure, I can do that. I doubt that backtrace is going to be nearly enough.
 
yeah, this is going to be a tricky one
 
Any chance you can make some time to set up an appveyor build at some point @Trowski?
 
Sure, right after I set up a travis build
 
cmb
@Trowski is ext-fiber supposed to be PHP 8 only?
 
@PeeHaa "PRs welcome!"
 
3:30 PM
@Trowski I wouldn't bother with Travis, but do GitHub Actions instead
 
@cmb Yes, RC5 required in fact.
 
cmb
@Trowski I can provide a AppVeyor CI, I think.
 
@Derick Yeah, I've heard. Unfortunate, just another thing I have to learn now.
 
Just steal what I have for Xdebug: github.com/xdebug/xdebug/blob/master/.github/workflows/… --- it's easier IMO than travis too
 
@cmb That'd be great! I've never set up AppVeyor, @kelunik always did that for Amp.
@Derick Thanks, that'll be helpful.
 
3:32 PM
You can copy that too if you want (appveyor): github.com/xdebug/xdebug/blob/master/.appveyor.yml
although I think @Cmb has "opinions" on how I do that
 
cmb
I just hate to have real script code in YAML. :)
 
but it's so nicely self contained ;-)
 
I usually put long scripts in separate files for travis too :)
 
cmb
The proper solution would have to have a set of reusable Powershell scripts, which do the actual stuff. Not sure, if I'll ever come to this.
 
4:13 PM
I am eating dark chocolate bought in Singapore in early January.. before the apocalypse happened. it's both delicious and a reminder of the good times.
@cmb hate/disgust is a normal feeling when seeing yaml.
 
5:02 PM
@Derick Hi, do you know if the bugs.php.net box is experiencing issues or planned maintenance? It keeps timing out (and I can see you are one of the people with access to it according to the wiki)
 
@PeeHaa can't see but I remember alpine glob thingy on teh images
seems bugs is down
 
"planned" "maintenance" hehehehe @Kalle
 
@PeeHaa Always be polite in the first message, we all know that box is funky :>
 
:D
 
 
1 hour later…
6:21 PM
OK, um, have we any documentation on how to actually check out the Git SVN repo? I apparently need to go merge my own PR (you commie), but I'm unclear how to even get the repo checkout...
 
Please tell me we have something better than "some guy's old blog post"...
 
but I refuse to touch svn.
 
cmb
doc.php.net/tutorial/local-setup.php is likely better overall
 
and @SammyK is not just 'some guy'.
 
6:30 PM
True, he's some pretty awesome guy. :-)
I think those are more what I'm looking for.
Will try that later tonight, I hope. Need to go to lunch now.
Thanks.
 
6:56 PM
My ears were burning. :D
 
7:21 PM
@SammyK Updated for RC5: github.com/amphp/ext-fiber/commit/…
 
I have a mongodb / JS question and there is no one in JS room. I have an Address and Review Models. Each Address can have multiple reviews and each review has one address. I'm trying to access all of the reviews for an address, I set up a virtual property on the Address model, however when I retrieve one address, it just shows an empty array in the reviews property. Why can't I see the reviews?
 
@KerrialBeckettNewham That's... not a question we'd know anything about. Lack of answer elsewhere doesn't mean the JS knowledgeable people are hiding out here.
 
@Crell Then ignore it...
 
@KerrialBeckettNewham There is no JS room? Did 17 finally give in entirely?
 
@bwoebi I have a question: I've been playing around with storing the enum singleton in a class constant. Right now I'm just doing passing a fresh instance to zend_declare_class_constant_ex in zend_compile.c. Is it ok to create this instance at compile time? I'm not sure that will work correctly with opcache. What is the right approach here? It is a "constant" so having it at compile time might be useful (for type inference, dce and such).
 
7:26 PM
Good news, everyone!
Room 17 still exists
\o/
 
@PeeHaa never mind.
 
I appreciate it died out just as fast as the "language"
cc @rlemon
No auto complete :(
 
@bwoebi Additional question: Storing objects in constants causes memory leaks right now because the objects are never freed. How would we go about that? Do we add an exception to memory tracking to ignore enum singletons or do we want to make sure to free the objects after the script ends?
 
@IluTov could you use reflections?
 
@PeeHaa yeah, but most of the guys are on discord
 
7:31 PM
@IluTov The singleton is an implementation detail, no?
As in, user code would never access that class constant, right?
 
@Trowski They would access that constant directly. E.g. Suit::Hearts
@KerrialBeckettNewham Not sure I follow :) This is internal, not userland.
 
@IluTov No, that won't work
You can't have objects in opcache
 
@NikiC That's not something that could easily be extended, I assume. What's the alternative?
 
If you can detect the enum access at compile time, could it get mutated into a method call that lazily-initializes the object? (He says, not knowing what he's talking about.)
 
@IluTov Handle it in zend_get_constant or so?
Ah no, best store a CONSTANT_AST value
With a special node that creates/fetches the enum?
 
7:49 PM
@NikiC Interesting, I'll try that approach.
 
I have just made my first direct commit to docs SVN. Can someone please confirm that I didn't destroy everything? :-)
 
@Crell The syntax for accessing class constants and enum cases is the same. At compile time we might not know which of the two it is (like if they're in separate files which is most likely gonna be the case).
 
Hm, drat.
 
@IluTov it should send an email to docs team if the build is broke
 
@Tiffany Ok ^^ /cc @Crell
 
7:55 PM
:-)
 
oops
 
We do talk to each other a lot, but we are definitely different people. :-P
 
I clicked on the wrong arrow
 
@Crell Definitely probably :)
 
@Crell lies.
@Crell sorry, it's SVN so you probably did
 
7:59 PM
I've broken my local build, but honestly, who hasn't?
 
shrug.gif
 
@Tiffany I've got good news for you, you haven't
You have, however broken your local build
yw
 
lol
there
 
@IluTov I think I already recommended using a constant ast - which can be resolved at runtime then, otherwise you'll break opcache - and obviously leak
 
@Tiffany are you about to start deliberately using the wrong there/their/they're? Because ftr I will hunt you down and kill you, don't think I won't
 
8:02 PM
@bwoebi Sorry, I missed that.
 
The documentation on this page is ambiguous about example language ・ Documentation problem ・ #80397
 
@IluTov It's been a couple weeks maybe :-)
 
@Jeeves how useful are the internals docs in the manual, is any of it correct any more?
 
8:06 PM
afaik most of that stuff was written in the PHP5 era
phpinternalsbook is much more useful (again, afaik) and I think even that's quite outdated in the context of PHP8
 
someone was going to rewrite it I think
there was discussion of removing them, but I think cmb said someone was going to rewrite them, so currently waiting on that to happen
 
@Tiffany lol @ "going to" :-P
 
yeah....
 
I fully endorse the idea, but let's be honest... :-P
 
trying to remember if it was via email or r11, but it was probably both I think
 
8:09 PM
@Girgias Your match-page branch seems... very out of date. :-)
 
Jun 23 at 17:11, by cmb
the removal should be simple; it's just that somebody claimed he would like to keep that chapter, and would be willing to provide updates; just give him some time.
 
@Crell what do you mean?
 
github.com/Girgias/doc-en/compare/… - I added your repo as a remote, checked out that branch, made my own. This is the GitHub PR claim against it. I am confused by it.
 
@Tiffany intrigued as to who "somebody" is :-P
 
may work on docs tomorrow if RL doesn't take precedence like it has today
 
8:11 PM
I'm trying to close out some stuff, then go play Squadrons. :-)
 
Ah yes... because SVN to git it fuckes up when the top branch is not up to date
 
interesting, maybe send him mail saying "cough PHP8 cough" or something :-P
 
@Crell I may have to buy that.
 
Let me rebase it
 
8:13 PM
@Tiffany I think there's an extra deep sale on right now. But you really do want a HOTAS stick for it. I am playing PSVR with HOTAS, and it's a lot of fun. :-)
 
I am totally going to start pluralising "fuck" with "-es"
 
I think the closest I would get is a gamepad
 
Are you on PC?
 
yes
I only have a Switch in terms of consoles
 
Apparently you can play mouse-and-keyboard, but for a flight combat sim joystick is what you really want.
 
8:15 PM
I currently don't have room for a TV :P
 
heh. Nothing wrong with PC for gaming, seriously. Honestly most games are better on PC if you have the right controls for it, and beefy enough hardware.
 
I've been a PC gamer almost exclusively for the past decade or so
only acquired a Switch a couple years ago
 
I grew up a PC gamer, then took several years off gaming, then got an XBox 360 in a conference raffle and ended up in console land. My PS4 is the first console I ever bought myself.
 
grew up on Mac games and console games, migrated to PC games, and have pretty much stuck with that. got a Switch cause it's fun as fuck
having a portable device that is also a full blown console
 
I considered getting a switch, but I don't game often enough to justify it. Plus, once the pandemic started they got impossible to find.
 
8:20 PM
 
So instead I just bought a portable table saw with airline points. :-)
 
heh
 
I bought my Switch last year, basically only got it for Zelda, Animal Crossing (which I haven't played for a bit) and recently Fire Emblem: 3House (which I bought for the most degenerate reason possible)
 
@Girgias waifu?
 
Not even lol
Let me pull up my meme tweet
 
8:22 PM
😂
 
@Girgias Huh. The Github diff didn't change...
Unless I did something goofy on my end.
 
@Crell :-/ something something rebase?
 
The sooner we remove svn from the picture the better.
 
oh yeah, that was my weekend project plan, messing with squash and rebase and interactive rebase with a basic repo
 
@Girgias According to gitk, everything should be nice and neat.
I'm going to just push some changes to my copy of the branch, PR against yours, and let God sort it out.
Figured it out. That was showing a diff against your master branch, which is super out of date. Here's the PR for you: github.com/Girgias/doc-en/pull/1
 
8:33 PM
@Girgias can you recommend fire emblem for switch? looking for a new game
 
@beberlei Torchlight 2 if you like ARPGs and haven't played it yet
It's incredibly fun on the Switch
 
@Tiffany oh woah that looks fantastic, and ign also rated it above 9
 
Made by two of the three devs who made Diablo 2
 
8:55 PM
@beberlei Honestly, yeah, it's probably my first J-RPG and I'm enjoying it a lot, but it's a long ass game I'm at about 50h and I think I'm only half way through the current story route I'm doing
 
@Girgias i only play games for the journey, hardly play most of them through :p
 
But if you like turn by turn strategy with the possibility of perma death (which you can disable but wouldn't recommend it) then go for it
I think the story is the rather interesting bit, my mind got blown from a plot twist
 
00:00 - 21:0022:00 - 00:00

« first day (3689 days earlier)      last day (1256 days later) »