« first day (3710 days earlier)      last day (1254 days later) » 

12:05 AM
@cmb Should I be getting tons of warnings when compiling?
 
cmb
yes; 7.4 has /W3, but 8.0 /W1 (so one could build with /WX to convert warnings to errors)
 
Ok, it looks like I finally managed to compile 7.4 Thanks.
 
cmb
yw
 
1:16 AM
Damn, guzzle promises are just not compatible with amp, even with adapt
Oh okay, that's why, Guzzle's tasks run after the shutdown handler if it's not in a guzzle event loop, wtaf
 
 
4 hours later…
5:40 AM
Immediate SIGSEGV upon ini_set("opcache.jit_debug", 1); ・ JIT ・ #80506
 
This question may fall into the trap of premature optimization, but I dunno. How expensive is it to build a curl expression and execute it inside a loop, where it could be expected to run ~15 times? I would be making either POST or GET calls through an API
There's a rate limit on the server I'd be making the requests to, but it's high enough that the loop shouldn't hit it.
Mobile SO is annoying at times
 
6:14 AM
I suppose I should say, that question is borne of an XY problem, but I've been trying to think of ways to overcome it. I'm trying to send an API request to a server, but most of the fields I've tried result in a 404. When I send the request using a unique identifier, I get the response I'm expecting, JSON with the information I asked for. But currently, I only have a handful of unique identifiers only for testing.
But, I also have a list of queryable fields, I was thinking of loading them into an array, looping through the array and building a curl statement, and maybe one of them would result in something other than a 404.
 
 
1 hour later…
7:29 AM
@Tiffany if you worry about the code setting up the curl handle then don’t worry, the exec is the expensive thing that needs to be minimized
 
 
1 hour later…
8:52 AM
Everything works great if I have this then all the tables if I have more issues ・ MySQLi related ・ #80507
 
happy weekend people o/
 
9:11 AM
morns
!!dad
 
 
2 hours later…
11:11 AM
@NikiC That's weird, have the same as I never really checked i
 
11:35 AM
@Tiffany I do vaguely remember that. Pretty much zero chance I'd be buying a Keurig, I dont think they're even available domestically.
 
11:52 AM
hello guys, can you help me with a subject? stackoverflow.com/questions/65254643/…
 
Mornngos
 
Good morning.
 
o/
 
\o
 
No funny image today @Tpojka :(
Hey Sjon o/
Ah you already shared a tweet <3
 
12:04 PM
hey :)
 
@PeeHaa Day just started. Plenty of time ahead. ;)
 
:D
Sorry to be pushy, but I come to expect it by now :P
 
Here:

https://twitter.com/ConMend/status/1336249743182327808
 
lol thanks :)
 
Hi @Tpojka, what did you mean by expensive logic on my thread? I didn't understand sorry 😅
 
12:11 PM
Every time you are hitting that method you are going to query whole DB. Better would be to change the logic and think how to query where->(['some' => $condition])->first()
 
12:23 PM
@Danack thanks a lot for all the tips you have given me in prep of the talk I just have finished :-) Out of full blown anxiety I've made many mistakes but, I think I did manage to keep the pace steady...
also... achievement unlocked, I guess :-P
There's already some people reaching out to me to help with docs/translations as well, so that's nice
 
1:05 PM
@Ekin \o/
 
1:37 PM
o/
 
Why does this only work in PHP 8? 3v4l.org/KSLBe
I can't find anything about this fix in the documentation
 
cmb
2:28 PM
@Dharman guess you found the only undocumented change :p
 
Random guess: The fix is in timelib rather than PHP itself, and/or was incidental to another change. (Possibly github.com/derickr/timelib/issues/92 or github.com/derickr/timelib/issues/27 looking at the recent changelog)
 
Ok, sarcasm aside, what changed and how we document it?
 
 
1 hour later…
3:56 PM
@IluTov Did you have a branch lying about somewhere with a start of work on partial application? I don't know how far you got with it.
 
I added a new answer here but I have nothing to back it up. stackoverflow.com/a/65266788/1839439
 
4:25 PM
@cmb FYI, I'm working to improve the script to generate the ValueError changelog, fun software engineering challenge :')
 
cmb
yep; may need some AI :)
 
I'm attempting stuff with regex wizardry, doing some progress
 
cmb
:)
 
@Crell Yeah, the only thing I got working was partial application for internal functions though (no methods, no userland functions). github.com/php/php-src/compare/master...iluuu1994:partials-2
 
How would it be different?
(I've got 3 weeks off from work, so I may try to actually learn internals a bit more. When not gaming.)
 
4:39 PM
ah yes I need to handle recursion
 
@Crell Sounds like a challenge... who can squash more bugs, you or the entire cyberpunk 2077 dev team :P
 
There's plenty to go around...
 
@Girgias The new purchase gets the seal of approval
 
Well not really recursion, more traversing back up multiple calls
 
5:34 PM
Well I thought my joke was funny >:(
 
6:10 PM
@Crell @IluTov I'm curious whether what I'm proposing for EnumSet makes sense or whether you can think of some case where this would break down? (I mean, if we add it to furture scope, it should be somewhat sound)
 
@MarkR I am sure it is. Show us where is it.
 
@Tpojka GBP bought a big seal plushie. So I said it got the seal... of approval. Because dad jokes!
There's also the distinct possibility im sleep deprived after fighting React + mutable data all night and it just wasn't very funny
 
@MarkR GPB?
 
@Tpojka Girgias
 
That. Comedy of confusion. :D
@MarkR I went thinking something with British bank, Government etc.
 
6:24 PM
I got it the wrong way around anyway :P
 
cmb
@Dharman that is caused by "Update timelib to 2020.01", so @Derick should know :)
 
6:49 PM
PHP 8: usort() is finally readable as a single liner: usort($items, fn($a, $b) => $a["power"] <=> $b["power"] ?: $a["item_name"] <=> $b["item_name"]); :-D
(or is fn() PHP 7.4? don't remember)
 
7.4
 
7:30 PM
@bwoebi Isn't there a call that is something like xsort($items, ['power', 'item_name'])? I know a few other dynamic languages do; can't remember about PHP.
@Gordon Congrats, by the way.
 
 
1 hour later…
8:54 PM
@LeviMorrison not that I know of
 
 
2 hours later…
11:22 PM
@bwoebi Are there any concerns? Something off the top of my head is that using them in constants would be hard unless we have operator overloading (as you suggested).
 

« first day (3710 days earlier)      last day (1254 days later) »