« first day (3457 days earlier)      last day (1491 days later) » 
00:00 - 23:0023:00 - 00:00

12:10 AM
@Girgias well, next step is crafting a bunch of furniture so I can get more villagers ...
I may have picked the worst island shape... it's hard trying to get housing plots to fit
I almost wish I could redo all of them
 
Wes
@Tiffany i've seen your messages, sorry for not answering. i was trying to stay away from my computer
 
@Tiffany I feel you I've got that issue too :(
 
12:25 AM
@Wes no worries, just glad you're alright, I was worried
 
Wes
@Tiffany sorry for that, i needed some good old isolation. watched some movies, played some games. reset the neurons :B
 
@Girgias the dodos are funny though, I think they're my favorite
 
Haha x)
 
"we've got a walker who needs wings"
 
12:36 AM
I do love how the logo is just a copy paste from the JAL logo
 
Or codename bellbottom dubstep
@Girgias I didn't know that, haha
 
Wes
12:50 AM
anyone around that knows python 3 a bit?
 
Don't ask to ask :P
I know a little, but I'm in bed.
@Girgias Blathers is a close second. "...which amounts to paleontological fan fiction. I own that."
 
xD
He's fun
And you can also torture him with bugs :')
 
1:24 AM
Lol, yeah, and he has this sneer smile when you say you don't want to hear the descriptions
 
1:43 AM
And I leave you all with this... I'll have myself some cookies soooon cc @DaveRandom youtu.be/hqswc-Oy4yQ
 
 
1 hour later…
2:45 AM
What was that thing called again that SO chat does with wikipedia/twitter lilnks?
My Google fu is failing me.
PHP is a popular general-purpose scripting language that is especially suited to web development. It was originally created by Rasmus Lerdorf in 1994; the PHP reference implementation is now produced by The PHP Group. PHP originally stood for Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor.PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or as a Common Gateway Interface (CGI) executable. On a web server, the result of the interpreted and executed PHP code — which may be any type of data, such as...
That ^
What's that called? Anyone know?
@DaveRandom you know this one, right? ping me when you're up.
 
Open Graph? @Sherif
 
No, that's not it.
 
Isn't it just a link preview then?
Open Graph metadata can provide additional info for link previews to render
 
No, there was a specific term that they used.
It's in the chat history somewhere I just can't figure out what to search for.
 
Oh idk then
 
 
2 hours later…
Wes
4:35 AM
onebox?
 
@Wes You're my hero!
You wouldn't believe how long I was searching for that. It was driving me nuts.
 
Wes
it's a class="onebox" of the actual box :P
 
indeed
Hmm, apparently it comes from Google.
 
Wes
4:51 AM
oh, i didn't even know
 
 
2 hours later…
cmb
6:59 AM
\o
 
o/
 
7:18 AM
\o
 
8:15 AM
@NikiC btw, your constructor promotion RFC should probably say what you do with var.
 
8:31 AM
@Andrea It should. "Not supported"?
 
@NikiC I guess? If we want to eventually get rid of var then it would make sense to not support it. It also means we can use it for some new functionality down the line (if we implement typed variables for instance)
the inconsistency maybe slightly annoys me, but introducing a new way to use a keyword only to deprecate it would be worse :)
 
@Andrea added a note
 
@NikiC thanks :)
 
I feel like the var is not super clear, especially if you also use other languages and haven't seen var used in PHP in the last 10 years
Then you're going to think that var is some kind of mutability modifier on the parameter or so...
 
yeah! it's not very popular since visibility modifiers were added
 
8:43 AM
And of course, there's a big outcry if someone actually tries to deprecate it :)
 
it's pretty harmless as-is
it's the kind of thing I might vote against deprecating unless we had a compelling reason
though it is one of the few cases where if it was deprecated, you could fix it with one sed command and not break anything (assuming you don't support ancient PHP versions)
 
I mean
Ancient being PHP 4
 
@Girgias Well, PHP 8 is only two times PHP 4. Not much difference.
 
It's also 2**3
So even less difference
And you drop one of the * and you get 6
So now we can only drop var when we support Unicode
 
@Girgias any chance for you having time to check and modify the PHP Namespace in Core RFC ?
 
8:54 AM
posted on March 27, 2020

Global pandemic going on? Check. Major food shortage for over a month? Check plus! Perfect time for my fridge to go out. I want to be clear. This is a one of those "slap my forehead" type of moments, not a scream obscenities moment. It even has a sweet ending. More on that later (that’s why I used the word “ending”). Where was I? Oh yeah. The back wall had iced over. This was bad

 
After walking the dog @brzuchal and I'll do it I promise
 
@Girgias Great, thanks :D
 
9:34 AM
Are there some recommended/common solutions for solving the problem of needing to filter/sort records by an aggregate of related records.
E.g. sorting clients by number of orders or filtering based on total spendings
My basic naive approach of performing the aggregate calculation during the query is inefficient of course.

i.e.:
SELECT clients.*, (SELECT count.. from orders where..) as orders_count ....
ORDER BY orders_count DESC
That's clearly not very fast so it would be better if these values were stored / pre-calculated
 
@PeterTheLobster Why don't you use JOIN's ?
If you wanna store calculated data in DB do it on app level, not by DB triggers, cause you should have data manipulation in one place which means on application side
 
Would that improve the performance in a significant way?
Even when it comes to sorting?
Because my impression was that the reason sorting is slow is that the DB basically needs to recalculate the metric for the entire clients table in order to perform the sort
whereas if you're just selecting it can do it just for the records that are getting selected
 
9:52 AM
anyone online//
 
Well joins always improve performance I believe. When you use a subquery in select clause it searches through all the orders where some of them are matching only for counting purposes, but this operation is being performed for each row, while when you join those two tables are merged into a huge set and filtering accross orders is made once for all clients in one go
 
can anyone help me with this stackoverflow.com/a/18800862/9214781
it usually works but does not with meta tag http-equiv
 
Happy Friday
 
Finally Friday
 
10:09 AM
can anyone help please
 
user11419622
10:37 AM
Hi
 
@DipanshuMahla you need to specify what you're having trouble with. Your question is too broad for anyone to help you.
@Akbarali what have you tried so far? What have you tried googling? What doesn't work? Do you receive any error messages?
 
user11419622
@Tiffany RewriteRule ^blog/([a-zA-Z0-9_-]+).html$ /blog/?act=udm&udm=$1 [QSA,L] it works seamlessly in php 5.6 but does not work in php 7.2
 
Then that should be included in your question. Have a look at codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/…
 
user11419622
@Tiffany This is not in php
 
10:51 AM
"works in 5.6 but not in 7.2" doesn't make much sense. The rewrite is happening before it reaches PHP code. The difference must lie in some config setting you have somewhere.....like not having the rewrite module enabled in your 7.2 environment.
 
user11419622
In short
https://webschool.uz/blog/?act=udm&udm=article-text.html
How can I access https://webschool.uz/blog/article-text.html
 
11:31 AM
Good morning everyone. I have a problem receiving a variable via GET.
Example: Yx82Au*+s37ajE
When I give a var_dump the symbol of + does not appear.
var_dump($_GET['pass']);
string(14) "Yx82Au* s37ajE"
How do I receive this GET interpreting all the characters?
 
12:09 PM
@Tiago You encode it properly before sending it over HTTP. + has a special meaning in the HTTP protocol. Take a look at urlencode()
 
12:23 PM
Happy friday
 
@Sherif Using var_dump(urlencode($_GET ['pass'])); now it doesn't recognize the *, instead it puts %2A
 
That's what it's supposed to do.
Please stop that. Every time you edit that message I get a ping.
 
What's wrong with pings @Sherif ?
 
@Sherif How do I receive the amount exactly as it is in the url?
 
OK, you get one of those today.
@Tiago You encode the data before you send it to PHP. Noter after.
$_GET is run through urldecode()
 
1:21 PM
Flush() is needed to print headers when execution is terminated ・ Scripting Engine problem ・ #79446
 
2:05 PM
@brzuchal finally got around to it: wiki.php.net/rfc/php-namespace-in-core I'm still not a hundred percent sure how I fly on this whole idea but I tried to organize it and present it a bit better.
 
@Girgias Great, I'll read that carefully today evening. I'll ask you tomorrow about your feelings then ;)
 
If you can find more useful ideas that would be great :p
 
If you would feel we can give it a hit then we shoudl start a ML thread
I'll try to do so
 
I think it still need a bit of work but I tried to present the arguments you laid down (and added one myself) to make it more compelling
 
Wes
2:20 PM
mornen
 
cmb
\o
 
ô/
 
 
o/
I kind of want to spend the time I'm in isolation learning how to decorate cakes and bake awesome cookies instead of coding ...
Not a waste, is it? I'm being productive at least ...
 
Wes
2:40 PM
not a bad idea :D
 
"Introduction of PHP namespace also as a way for gradual migration over renamed and marked as deprecated symbols reducing breaking changes." You a word in there. And even assuming what you meant to say.....that's a non-sequitur. Having namespaces doesn't seem to make changing function names/behaviour any easier.
other than having two functions with the same name but different namespace, that behave differently. Which seems 'ungood' for other reasons.
 
Yeah that's what I didn't get so left here so brzuchal could clarify cause I was confused by it
Otherwise @Danack do you have any other opinions about it? I'm not sure if it's that great either, but I think the Attribute example is maybe compelling enough, but then dunno
 
When I wrote my draft (wiki.php.net/rfc/php_namespace_policy) I said we should only allow things in them which are currently autoloadable to allow for easy polyfills
 
@Tiffany got it. Thanks anyway.
 
2:55 PM
@Girgias This would be an easier conversation to have in a pub over a pint. I'm going to send github.com/Danack/RfcCodex/blob/master/rfc_attitudes.md to the mailing list is a bit. But.....maybe contemplate some of the obvious ones...
btw it's fine to disagree. But at the same time it's hard to have a productive conversation about it when the arguments for doing it/not doing it are based on different sets of values, from which logical conclusions have been drawn.
 
@Danack well that I can agree on that having an IRL discussion would be better
The thing is I don't know personally how fond I am of the proposal myself it's like, I see the potential value in it, but then it can also be completely stupid
 
Yes. Add in how people naturally feel when they've spent time working on stuff and any negative feedback is going to be aggravating.
 
3:11 PM
\o
 
o/
 
cmb
\o
 
Serializing uninitialized typed properties with __sleep should not throw ・ Scripting Engine problem ・ #79447
 
3:27 PM
How many keywords does Google accept?

#CEO
 
@Derick you're semi-correct, at least the evidence leads to it being "inconclusive" at present snopes.com/news/2020/03/30/… so that's good. :D
Inconclusive, but weighing more towards "not likely to infect cats"
 
@X4748-IR It doesn't really use keywords
(in the traditional sense)
 
@Sherif onebox?
 
@PeeHaa I know they analyze the whole page, but I think they still use the meta tags. It's one of the best ways to understand the content.
 
3:43 PM
ok boomer
 
3:54 PM
I've been looking for a bit but haven't found it yet if it exists: do we have a ZEND_API for fetching a constant from a string? e.g. CURLOPT_HTTPHEADER
 
cmb
 
Would expect a series of functions like zend_fetch_constant, zend_fetch_class_constant.
@cmb I forget that constant() exists; thanks!
 
cmb
yw
and actually, it's good to forget that :)
 
Fucking hell, all these mb_ereg* functions are hot garbage >_> like on first glance this makes no sense what so ever why it throws: github.com/php/php-src/pull/5341/files#r403104127
 
@cmb Teehee. zend_get_constant_str looks perfect, thanks.
 
4:00 PM
Hello Every one
 
Hello, do you know our lord and saviour Nikita?
 
I heard our lord and saviour Nikita was once crucified by Node-worshipping hordes... and 2 weeks later he forced his way out a cave muttering something about no wifi and not being able to push PRs onto github.
 
@MarkR mutting or muttering?
 
thx :P
 
@Girgias I know that is a joke. Saying it to someone new to the room who might not get that it's a joke is one of those things that could possibly be taken dramatically wrongly. Whereas saying "Hello, I am Galstaff, sorcerer of light" is always funny...
Hello @Mohamad.
 
4:07 PM
takes notes Will do that next time then
 
Danack must be hilarious at parties and/or cult meetings.
 
@MarkR as someone who doesn't detect sarcasm easily, it can be appreciated, even if it ruins the fun
I'm also hilarious at parties. I get invited to so many parties. All of the parties. I'm the best at parties.
 
Wait, it was sarcasm? :O ¬_¬ .... better cancel those church of nikita promotional DVDs
 
4:24 PM
@Tiffany Fabulous parties. Stupendous parties. Everyone is talking about them. They're getting the best reviews. THE BEST.
 
4:39 PM
Someone in the UK, tell me if you see anything here: cupcakejemma.com/collections/baking-kits I can't tell if they're sold out or if they only appear by location
 
@Trowski @Tiffany At one of these parties did a big tall guy come up to you, with tears in his eyes, saying "Sir, sir, thank you for being so wonderful"?
 
Some dude that made pillows said that God had ordained this party. Was rather confusing.
 
@Tiffany I see 7 incredibly overpriced baking kits.
 
@Danack so it is location based :( I guess I have to buy the ingredients locally
Or on Amazon...
 
Same, 7
 
4:43 PM
I see nothing... it looks like the page is empty. However, I can see other products
 
Probably for the best, I agree with Danack, those things probably cost £4 in products
 
They use baker-quality ingredients, and premix everything. All that's needed are perishable ingredients and combining it all... plus they have handy-dandy videos on how to bake them...
Don't tell me this doesn't look amazing...
 
Baker quality...? what even is that.
Make your own :-) you'll feel much better after because you won't have spent $20 making $5 worth of cookies
 
If you buy "baker quality" bread flour it basically means "super high gluten"
 
They have bakers flour at our local supermarket because people use it for when bread machines were all the fad
 
4:51 PM
@MarkR I don't have any choice :P I do need to acquire a mixer though. My arms are too weak to mix stuff.
I have my mom's old bread machine... I've yet to use it and I've been storing it for a decade :S
I don't know if it still works...
 
"No eggs or milk required"
 
@MarkR I use it for pizza dough
it really makes a significant difference
(i mean for like american style dominos-esque bases)
@Derick I am broadly on board with veganism but one of my major blockers for going the whole hog is that the is just nothing that I have ever found which comes anywhere near a suitable replacement for eggs in baking
milk no issue there, most nut/bean milks are perfectly fine, although I must admit I have yet to find anything that works in tea so I'm still on cow juice for that
 
5:06 PM
@DaveRandom "veganism" ... "whole hog"
 
oh yeh lol :-P
 
ಠ_ಠ
 
chia seeds kind of work as egg replacement in pancakes but they just don't cut it in cakes
all you really need is very long chain proteins I suppose, but for whatever reason eggs just seem to work in a way that nothing else does
and a lot of those things which are specifically sold for the purpose seem to have add sulphurous compounds, presumably with the aim for making them "more eggy" but it's totally unnecessary for baking (I just want a binding agent) and it ruins the end result
I have spent quite a lot of time thinking/fucking about with this in a slightly obsessive way, can you tell? :-P
tbh if you are interested in veganism on purely ethical/environmental grounds I personally think that eggs are semi-OK as long as you don't buy cheap ones, esp. if you can buy direct from producer. Small scale free range hen farming is fairly sustainable and can be done without mistreating the animals, it just costs more
 
5:28 PM
@DaveRandom Yeah @Wes figured it out. Thanks! :D
 
to buy or not to buy a kitchenaid mixer...
 
I can just go in and decline the request/response rfc right?
 
You mean updating the wiki?
 
aye
 
Don't see why not, the results have already been announced so it can have its status changed and be moved
I had to update it the first time to change its header to voting
 
5:44 PM
!!rfcs
 
@DaveRandom what a coincidence. I just saw this: americastestkitchen.com/guides/vegan/what-is-aquafaba
 
cmb
\o
 
o/
 
5:48 PM
If you guys wouldn't mind subscribing to help me get to 100 subs- I would appreciate it. =) Going to start streaming whatever I am playing. youtube.com/channel/UCX6OAEFvXlOc2_mkeiELWrA
 
6:13 PM
That's rebecca right?
It has to be
/me turns up volume
Holy shit it's actually you! @StatikStasis
And that on a friday
Will smash that like and subscribe button once I am done working / not on my work account
 
@user3655829 that's also OK for some things but it just doesn't work for cake (or more accurately, I cannot get what I regard as an acceptable result with it). It doesn't seem to hold together for long enough to give structure to a slow bake.
This is little more than a semi-educated guess, but I think the fundamental problem is that starch is just not complex enough to emulate the behaviour of a protein lattice, if you heat it slowly then it breaks apart and you just end up with a load of glucose. What you get from eggs is a much more robust structure of almost pure protein and it holds together much better at a molecular level.
 
Is this still the php room? :P
 
It's always PHP in Iceland
 
I am sorry for them
 
@PeeHaa LOL
@PeeHaa =D
 
6:22 PM
taco Friday
 
@StatikStasis what sort of stuff do you play? I don't ever watch stuff like that but my son batters stuff like that all the time, usually on devices signed in as me, so I will as long as you are playing stuff that is (broadly) suitable for an 8 year old
 
@DaveRandom Right now, Fortnite. But I will be doing Days Gone on PS4 probably soon which is definitely not suitable for an 8 year old.
 
so like fortnite fine, CoD less so
 
8 year old which @DaveRandom manufactured
So xrated is fine
 
ah kk
 
6:23 PM
I'm just trying to get 100 subs so I can secure a custom URL.
 
Hello
 
eh, whatever, subbed anyway :-P
 
You're a good dad @DaveRandom I do same with mine. My son is 17 now though so he watches whatever I watch. My 6 year old daughter, not so much. =P
ty
 
EHLO user13109153
 
MAIL FROM <pr0n@peehaasmom.com>
 
6:25 PM
mmmm, tacos... I made tacos for lunch
 
552 5.3.4 message size limit exceeded
 
QUIT
 
@Tiffany That sounds good.
 
I'd tell you an SMTP joke but you won't get it. Not because that makes any kind of sense as a joke, just because SMTP is useless.
 
@StatikStasis :D
@StatikStasis SPAM! ... but I subscribed, only cause I like you and respect you and you've helped me in the past :P
 
6:29 PM
=) TY!
Hey.. hey... I'm not just some fly by night coming in here asking for a sub. =D
 
uh huuuuh
 
I get at least like 1 spammy thing a year.
=P
 
lol
 
@StatikStasis is there any facility for content rating with streams on youtube?
I don't really understand YouTube, I still use bittorrent for basically everything because I am super cool
 
I'm not sure. They monitor stuff that is designated as "for kids" heavily. Then they handle stuff reported by the community as well for hate speech, etc.
 
6:33 PM
cutting the onion did not make me tear up, however eating the onion is
 
I'm not overly precious about it, my main thing is I try and steer away from "realistic" blood effects
 
@StatikStasis lol, channels used to get with some pretty terrible stuff on the "for kids" thing
 
it would be quite hypocritical of me to do too much since I was playing GTA when I was ~10
 
like a character from Frozen choking Spiderman or something
or Ariel committing suicide ...
 
yeh that's definitely too much :-P
 
6:35 PM
Youtube was heavily criticized at that time... google elsagate
 
lol, elsagate.
I have a lot to work on. Audio, video optimization. My loud clicky keyboard. Still learning the OBS software at the moment.
 
OBS is nice for being free
I streamed briefly a few years back
I asked a streamer some questions back then on how he did stuff, he provided a lot of good info
 
It's a moving target, and not unreasonably so. We are still in the very early stages of learning how to regulate the internet in general, I don't expect anything to be perfect and nor do I think it's particularly useful for anyone to try to create a perfect walled garden of "appropriate content"
 
you can set up transitions and stuff in OBS, also look into...
 
I've done that- just not used it.
I streamed WoW on Twitch for a brief period 10 years ago... or whenever Cataclysm came out.
 
6:40 PM
what I was told, pretty much anything you want to know how to do, someone probably has a youtube video on how to do it
 
That's for sure.
I told my son... in order to start streaming I need to be able to play really well, or be really funny, so I better be funny. Right now I'm neither but just trying to learn the software at the same time so...
 
@StatikStasis been looking at "clicky keyboard" a lot the last couple of weeks for a few customers who are complaining about it in conf calls on teams/zoom etc, one of my colleagues is working on PoC for an input filter for the windows audio stack to try and do noise cancellation correlated with keystrokes, I'll let you know how that works out but if it's decent you can be a "beta tester" or whatever and have a free copy :-P
 
wow that sounds awesome!
 
I'm highly dubious about it but he reckons it'll work
 
@StatikStasis I did it "for fun" until I was bored, and it was fun for the time I did it. But, I had no viewers, lol
 
6:42 PM
I suspect it will need "training" to the noise of a particular environment though
dunno, we'll see what happens :-P
 
@DaveRandom :O can I too?
 
sure, if it turns out to be a thing
 
\o/
and now I'm stuffed from tacos, and a lot of plates to wash, but worth it
 
@DaveRandom It seems like at some point the algorithm for picking up sound variations from keyboard clicks and the change in those sounds depending on distance from mic would end up cutting out audio- not sure how that would work... but I have been surprised by other innovations that did something similar.
 
will deffo need comprehensive testing, my boss wants to make a saleable product but I can't see that happening in any sort of sane timeframe, at least
 
6:43 PM
^ meaning cutting out audio from vocal and other non keyboard sounds.
 
@StatikStasis do you or your wife bake at all?
 
My wife does.
 
does she have a standing mixer?
 
debating on forking out the money for a kitchenaid mixer...
 
6:44 PM
And the $200 attachment that allows you to make pasta... which she used once.
 
lol
 
That's what she has. It's awesome!
I have baked a few cakes and it is wonderful not having to use a hand mixer.
 
@StatikStasis the one thing that stops me from calling it non-viable without trying is that the "click" component of that sound is typically in a way high freq band than speech, you might end up with a bit of distortion in the mid range but it should be possible to trim the really distracting bits out, at least to some extent.
it's not really my area tbh, he's done a shitload more media munging stuff than I have ever even thought about so I have deferred to him :-P
 
Peeps, I'm not being insane, 0 is a valid Unicode codepoint right?
 
6:47 PM
yes
it's NUL
ascii
 
Okay found yet another bug in MBString
Just wanted a human confirmation
 
the bottom 128 code points of unicode are identical to ascii
 
I thought so
 
(in UTF-8 the encoding is also identical)
 
@Girgias the impression I've gotten from r11 is that mbstring entirely is a bug
 
6:49 PM
^
 
@Tiffany Ours looks like the second one but white.
 
use ICU (ext/intl)
 
@StatikStasis without knowing anything about the first one, do you consider the extra 80 dollars worth it?
 
The only reason I discover these bugs
Is that I'm working on the Warning to Error promotion thing on MBString
 
@Tiffany tbh, I really don't know... mine spins so it works. lol. I don't really know the differences in them.
My wife and her mother discussed them at length.
 
6:51 PM
Huh
mb_chr(0) doesn't have the same string length on PHP 7.4 and 7.3 compared to before
 
I feel more comfortable getting a model that people know about than a cheaper, smaller model, because I can at least feel confident in knowing it has features that other people talk about, I guess I need to do more research
 
imho the root cause of the majority of problems in mbstring is the same as the problem with simplexml - it's a massive over-simplification of the problem, and the result is a lot of cases where the "correct" behaviour is ambiguous and/or unintuitive in the context of the API it exposes
 
If I could remove half of it I would do it :)))))
 
I keep coming back to "Why don't we expose the libicu library to userland, and then solve as many problems as possible in userland."
 
cough PHP 6 cough
but yeh you're not wrong
 
6:55 PM
@DaveRandom was exposing libicu an initiative for php 6?
 
hence the exposing the libicu api, as that avoids needing to design an abstraction layer.
 
@Girgias ftr, I do grudgingly accept the need to "fix" mbstring where sanely possible because it isn't going away any time soon, but I also regard any "bug" with an mb_* function where the test case doesn't explicitly specify the encoding as "undefined behaviour"
 
@Tiffany no, just supporting unicode "properly".
but the lack of definition of what 'properly' even is kind of doomed the whole thing from the start.
 
@DaveRandom in all honesty, what test cases are you talking about :D I change warnings to Errors, All test pass, welp time to write some tests
Is bugs.php.net down?
 
PHP strings are byte arrays. That (property which no-one seems to want to get rid of) is fundamentally incompatible with "proper" unicode support, at least any sane definition of "proper" that I can see.
 
You either work with bytes, or you work with characters, there is no magical abstraction that can do both of those things cleanly
 
Welp great
 
submit a bug that bugs.php.net is down
 
big brain
 
personally I favour the least BC-friendly approach and turn strings into character arrays, and introduce a new set of primitive for manipulating byte arrays, but I am decidedly in the minority there
 
7:02 PM
@salathe not sure if you know, but bugs.php.net is down
 
Well it works really slowly currently
 
PHP is a language which is primarily designed and used for text processing tasks, treating strings as text first makes sense. Coupled with the fact that the existing string tooling is not particularly good at efficiently manipulating binary data, that seems the way forward to me... but whatevs, I may as well be telling this to the wall :-P
 
@Girgias I get a timeout and it won't load
 
@Girgias it's had a few issues recently, iirc one/both of @Derick @cmb know/can do stuff about it
 
lol, wasn't sure who to ping regarding it
 
7:04 PM
0 is a valid Unicode codepoint, but mb_substitute_character(0) fails ・ mbstring related ・ #79448
 
well it works a bit at least :-P
 
I got it rolling it's fine :)
 
@salathe ignore :D
 
Just need to make the patch, and this time I won't try to update NEWS as I just fuck up the merging up
 
heap.space/xref/PHP-7.4/ext/mbstring/mbstring.c?r=18dc9044#2045 is it just a simple case of changing that <= to < ?
 
7:08 PM
Yes
 
that will prob affect a bunch of other stuff, make sure you add tests for every userland entry point that touches that routine
 
I'm doing it
 
I suspect that's going to be a crapload of things
 
Nah, the only function which uses that routine is ... mb_substitute_character()
And it's not exported so
 
wtf
 
7:12 PM
Indeed
wtf
But that's just MBString for you
 
I'd be tempted to refactor that whole thing and get rid of the switch
 
I did that for master
Well localy
 
the else block for IS_STRING is identical to the default case afaict
 
Yes it is
 
trash the else block, get rid of the switch and move that random func inline then
(imho)
 
7:14 PM
Give me an hour and I'll show the commit which refactors it
I think I could reuse that inline function in some other check actually
I think mb_ord does something custom again
 
A general "is this a valid unicode code point" function is a valid thing to exist
 
@StatikStasis I think I'm going for the cheaper model, the one thing the more-expensive model has that I kinda want is a handle on the mixing bowl, but that's not a deal-breaker, and definitely not worth 80 USD. If anything, I can find a 4.5 quart mixing bowl with a handle (assuming it doesn't cost 80 USD...)
good lord, it's close... about 40 USD
 
oh - I only just saw from that RFC "COPA is not an atomic operation in the same way that method chaining isn’t."
 
@Tiffany I'll have to see what we have for sure when I get home.
 
That's adorable.
 
8:41 PM
Why do I have problem with line 18 here?
 
@Tpojka you really need to work on your google-fu. one of the top pages googling php that error you're seeing says that GMP doesn't like accepting floats - the fix is $sqrt = (int)$sqrt;
 
Last thing I would check. But thanks a lot. Worked today with floats but bug flew away here. Thanks a lot.
Actually I should learn to test better.
 
 
1 hour later…
10:18 PM
@PeeHaa It seems you were right.
 
10:40 PM
He usually is
usually ... mint chocolate ... cc @Ekin :P
 
00:00 - 23:0023:00 - 00:00

« first day (3457 days earlier)      last day (1491 days later) »