Personally, I still think it's foolish to pursue a JIT compiler until we we have a strategy for inlining functions (which could be done at the opcode layer too, I suppose). Plus, we have only a few people who can even work with it; JIT compilers are significantly more complex than regular interpreters...
@Crell PDO doesn't have a way to query what its DSN is. So you can store it out-of-band with a weak map using the PDO object as the key. Then you can find it later when you want to know what the DSN was for a given query. All of this doesn't keep the PDO object alive (and hence the connection alive) when in a weak map, but would in a strong map.
@PeeHaa like next and current, in python you can get the next value by "next(generator_object)", but in php you have to call "$generator_object->next()" and then "$generator_object->current()" to get the value etc, and the "for in if" in python works really well with generators, but there is no equivalent of that in php as far as I could tell
Last time it came up I thought yeah that is kinda nice, but not sure how often you would need it (sans template rendering which was the first thing that came into my mind)
@LeviMorrison, Ah, so you have a map from connection to connection string? I... don't know when I'd use that. :-)
I was thinking first of rendering objects to strings (templating) and storing that, but that seems silly. Then I was thinking "Products and Comments on Products", but that has a lot of additional complexity it would entail.
If I can spare the time (hopefully can, my kids are getting more independent) I want to try to add generic vec[] and dict[] types that are also pass-by-value like arrays so that people can essentially choose which structure and semantics they want.
Step one is making it possible for types (at least in core, maybe userland too) to be constructed from array literals, something like:
I can't take anyone seriously who refers to their product as "NoSQL." You're literally defining it by "it doesn't use the most robust data description API in the world, yay!" Tell me what it's good for, not what it avoids through your ignorance and childishnessness.
and 2027 we're going to have a problem due to our default expiration time of 10 years which cannot be represented in 31 bit then :-)
which will force us to upgrade and about every internal structure of the storage layer has changed in the meanwhile with no upgrade path, except literally creating a new cluster and copying everything
@BogdanUngureanu tell that to people using mongo, dynamo and the fucking real-time db, I don't understand why they make such stupid decisions just to get work on the new "exciting" tech, jeez
@PeeHaa I did not hear a ding. I was looking at something else, hovered over the tab and saw a (1) and thought "yay, I got an answer." Clicked! Sigh...
@Girgias @MateKocsis During Hacktoberfest, I was thinking about creating some Docker images to make it easier for people to contribute to PHP, and maybe even think about GitHub's Codespace (docs.github.com/en/free-pro-team@latest/github/…). Wanna hangout one day to try it?
Microsoft teams is such a piece of shit, I hate it so much. I seriously think I could build something better than this utter garbage by myself in a year.
What really fucks me off is that MS know how to build UI better than this, for all its faults Office (and even Windows) is pretty intuitive, I rarely have to Google shit other than technical things, I can usually figure out how to do stuff by myself in a couple of mins. By contrast, teams feels like a student project
So many stupid basic usability issues, the mobile apps are updated hourly and frequently very unstable
They really need to just call it what it is, which is a clandestine public beta
Maybe even alpha tbh, so much of it is broken/randomly breaks
Having used slack, which is far from perfect, I feel like I have an idiot colleague who we can't criticise for nepotistic reasons
I would rather write messages on paper planes and/or use skype
Windows I'll give it to them I do like the interface there maybe more than Mac OS but for development since I've started using a Mac I can't develop on Windows. That's not related to the UI though
Oh yeh some other insanity I just remembered, you cannot join a call from more than one device at once, including to the extent that if you are already on a call on your phone, and decide you want to screen share with the other person on PC, it creates a new "call" putting the previous one on hold in an unmergable way
If you copy/paste text from a website it copies the background colour format but not the foreground, regularly resulting it things being unreadable in dark them because white-on-white
Like seriously, none of these are made up and all of them are unacceptable in production
@Alesana I had the same (or very similar) issue. I basically did svn co URL path, and after that failed, I tried the same command again, got a notice about a necessary clean, did that, and svn co URL path again. Repeated that 2 or 3 times, and finally had a good checkout.
@Alesana ahh yeh I forgot about the fact that I have sometimes ended up trapped in a meeting where the UI is still responding but won't navigate anywhere other than the previous meeting until you kill it and restart
On both desktop and mobile, weirdly
They must be unrelated but weirdly that description fits the problem on both devices
@Crell nope, still on hold. Peter already archived the PHP5 docs, and I'm hoping to get the bulk removal done over the weekend. We may start PHP8 docs next week. /cc @mega6382
@cmb It just won't finish after trying it like 10 times. I am actually going to write a script that will keep trying to check it out until it succeeds lol
@cmb If you know of anything in particular that you need help on once we start documenting it let me know and I can jump on it. Otherwise I'll just start with what I can find.
@Alesana it might make sense to start writing the migration guide (basically, convert UPGRADING to docbook) right after RC1 has been released (scheduled for Thursday). I don't think anybody so far is planning to work on this.