« first day (3828 days earlier)      last day (1120 days later) » 
00:00 - 16:0016:00 - 00:00

cmb
4:02 PM
@Girgias nope; it's just to be able to execute all tests (actually, a few exts are excluded: github.com/php/php-src/blob/master/appveyor/build_task.bat#L54)
 
@JoeWatkins Tests in Zend/ext/standard/tests, or in just in Zend/ext/tandard/tests?
 
Huh
Welp I don't know anything about building on Windows so :(
 
Doc build instructions incomplete ・ Doc Build problem ・ #80946
 
cmb
@Girgias it's basically the same on Linux (only most/all exts are build static); to be able to run all desired tests, you need all relevant exts
 
Right, one day I'll learn build systems but this is day is not today :D
 
cmb
4:13 PM
this isn't really related to build systems, though :)
 
@JoeWatkins intuitively sprintf("%s://%s%s", ?, ?, ?) should be equivalent to sprintf("%s://%s%s", ?), right? (as in additional arguments are automatically passed to a fcall in PHP)
 
@bwoebi Maybe sprintf("%s://%s%s", ...?), I'm assuming each ? can only take a single argument.
 
@cmb See I don't get what part it is of, probably learning C through php-src isn't the best way to learn such a language
 
@Trowski yeah, a ? signifies a single argument obviously, the trailing args being also passed to a fcall is orthogonal to this; I'm just expecting any trailing arguments to be properly forwarded
so that it is defacto equivalent in this case
just like a function a($var) { var_dump(func_get_args()); } will show 1 and 2 when called with a(1, 2)
 
How would cases such as $add = add(?, 10) work with additional arguments?
 
4:23 PM
@Trowski $add(1, 2) would then mean add(1, 10, 2)
 
That's not necessarily obvious, but probably fine.
It does make partials with variadics make more sense :)
 
that's true
 
That's what makes most sense to me. PHP already lets you pass more args than requested and just drops the extra on the floor.
 
cmb
floor === func_get_args() :)
 
:-P
 
4:42 PM
@Crell Zend/tests/partial
 
Passing extra args without specifying a variadic, blurgh
 
What's a good multi-parameter built in function that has optimizations on it, so that it's not a "normal" built in function?
 
cmb
array_key_exists(), I think
 
@MarkR I wouldn't consider it a good idea, but since PHP allows there needs to be some defined behavior with partials.
 
4:46 PM
Looks like array_key_exists() is the only multi-parameter option. :-)
 
cmb
array_slice() is there as well
maybe a few others
 
Wow, there's more of those than I thought.
 
Ha, glad I thought to add that test. It's segfaulting.
 
have to skip those optimizations for partials
 
Change/rename how?
 
4:53 PM
zend_args_contain_unpack_or_named_or_partial
ha, that's a crappy function name
 
(Remember, I've yet to successfully modify anything outside of the linter myself. :-) )
 
(ast->kind == ZEND_AST_PARTIAL_ARG)
that's cool, it's friendly encouragement, I'll do it whatever ...
 
I'm fine with friendly encouragement, but at the moment I'm still fumbling mostly blind. (I know, I know, I should be better at learning this stuff...)
 
we all start out that way :)
 
Where is this branch residing please?
 
4:56 PM
everybody but nikita and bob anyway, you'll never shake the feeling that they understand everything at least one level deeper than you do ... even when you've spent 10 years trying ...
 
I'd put Dimitry in that list, too.
 
@JoeWatkins Sheesh, even you feel that way?
 
@MarkR github.com/php/php-src/compare/master...krakjoe:partials is Joe's branch, to which I am adding tests.
 
oh yeah, and dmitry, but he's not here, shoving it in my face ...
 
@JoeWatkins Hm, nope. arg->kind still segfaults, and ast isn't defined in that scope.
 
4:58 PM
@LeviMorrison it doesn't go away ...
@Crell oh, fun ...
 
Looks like Partial needs to extend Closure to make reflection work.
 
don't worry about that for now
 
I'm not, just letting you know. :-)
I ported over the tests from Ilija's branch, and I'm adding stuff to them.
 
cool, just commit when ready, don't bother with a pr ...
 
Right now there's tests for regular functions, built ins, methods, multi-parameter functions, named args, and ensuring that the type matches.
Anything else that needs a test right now?
 
5:05 PM
seems like a good starting place, more may come when I start to read again
 
Cool. I'll push this up then. Let me know if/when my paltry skills can again be of use. :-)
 
some days, reading conversations in here makes me feel like a n00b who doesn't understand anything; other days, it makes me think I've just got impostor syndrome and nobody else understands it either; it's possible that both are in fact true
 
@IMSoP php-src is an excellent destroyer of ego.
 
R11 makes me think of The heavy and the pyro from team fortress.... "I fear no code... but PHP-SRC... it scares me"
 
Damnit, Git!
 
cmb
5:20 PM
first draft of proper HTTP eof detection: github.com/cmb69/php-src/commit/…
 
@MarkR it isn't scary … but it's easy to not think of everything :-/
 
5:36 PM
Terribly sorry, that's why sloppy focus is not good xD
 
6:07 PM
@ln-s What is "gilf"?
nvm... I think I know.
 
Wont clarify, you can google it
lol
 
Yeah... I get it...
 
No more mouse over focus xD
 
@PeeHaa @Ekin What are you guys up to this weekend? Any gaming?
 
@StatikStasis Sunday, 6PM, Among Us
 
6:11 PM
O_o
 
6 PM Central time
 
Really?
 
@Sara ^
 
Crap... I will not be home.
 
aw :(
 
6:24 PM
@StatikStasis I am down for doing some gaming when we both are available
 
All the same
 
BTW I still want to try out ultimate chicken horse
 
@StatikStasis you gotta let us know a time when you're available so @PeeHaa can be awake by then :-P
 
JUst let Ekin wake me up
 
Sadida is more my cup of tea if you catch my drift
 
6:41 PM
@PeeHaa What is that?
@PeeHaa Have you got Valheim yet so we can play multiplayer?
@Ekin lol- I know.
You guys are probably in the bed when I finally play... unless I cannot sleep and I get up reeeeeeaaally early.
 
Which GMT
 
morns
 
@StatikStasis I might get it yeah \o/
 
@mega6382 o/
@PeeHaa Let me know when so we can play! I'm looking up horse chicken now
 
@mega6382 Saturday already there ?
 
6:56 PM
I think he is about 3 minutes away at the moment.
 
sounds exotic
 
7:11 PM
@PeeHaa So... you make platforms to cross to a finish line? Is it someone's job to try and block people?
Get new platforms each round to place.
 
@StatikStasis Everybody tries to block everybody
At least that was what I think it was
 
Still watching... =)
@PeeHaa LOL! Actually, this one is better explanation. I get it now. Looks fun! When can we all play? youtube.com/watch?v=kfVsfOSbJY0
 
I've been in the trenches long enough my friend :P
 
is this expected? 3v4l.org/3RUWo
 
7:24 PM
Would say so
 
@PeeHaa Do you already own? I can buy this weekend if we can set up a time.
 
@beberlei You can $p->isOptional instead of parsing that question mark
 
Yeah I am pretty sure I own it already
 
or allowsNull
var_dump(get_class_methods($p));
 
@PeeHaa LET'S PLAY TONIGHT!
@Ekin ^
@PeeHaa If we do play it would be good to know who is going to play so I can make name graphics for stream such as this: imgur.com/a/Biagf9o
Unless that is part of the game overlay.
 
7:41 PM
I might be down depending on when
 
Umm... it's 3:44pm here. I leave at 5. I can probably play about 7pm... which I think is 2am for you @PeeHaa
Not sure if too late for you and eKin
 
It's mostly on @Ekin I think. She woke up crazy early today
 
No worries- just let me know.
 
8:06 PM
Coolio!
 
 
1 hour later…
cmb
9:09 PM
@Trowski ah, just read the commit message again; it wasn't about DEFINEs, but rather about globals in config.w32; these are just inserted into configure.js, so everything is global. I prefer to use IIFEs when possible.
I also submitted github.com/amphp/ext-fiber/pull/21 (that was hard work ;)
 
@cmb Ah, ok, doesn't matter in ext-fiber, but I'll keep it in mind when adding to php-src.
@cmb Thanks! Wow, that was simple, lol
Happy to see it worked right out of the box too.
Now I just need to figure out how to do something similar on Github CI.
 
cmb
Well, not really a problem if you use "namespace" prefixes, but I've seen people use short variable names, and these might clash with something else at some point.
yeah, I didn't have time to look into GH actions; hoping to do that soonish, but AppVeyor isn't that bad
 
I would like to test on ARM and i386 on Github CI, but what I found talked about needing a self-hosted runner.
Travis made testing on different architectures simple.
 
@Danack github.com/php/php-src/compare/master...iluuu1994:typealias I'm working on an implementation here. Coming up with good lsp tests is hard, as there are so many variations. I'm planning to translate typealias Foo = Bar; to class_alias(Foo::class, Bar::class), that should take care of most of the single class cases. Other types (scalar types, union types, types with null, etc) can only be used in 4 cases, return, param, property and scalar backing types.
 
@DaveRandom <3
 
@DaveRandom awwwww
 
10:12 PM
@DaveRandom aaawww look at that snout <3
@StatikStasis can do! might be a bit of a zombie but it's fine
/me wonders when is ksp 2 coming out
 
10:57 PM
@PeeHaa @Ekin I'm here! You guys still up?
 
Yeap
 
Buying game now- one moment
 
@Trowski I believe they do technically give free credits for open source projects. I don't think it's enough for general purposes, but it might be enough for testing special bits....
 
if you guys are staying up to witness @StatikStasis buying a game, your minds are gonna be blow when you try playing one
 
@IluTov Awesome.
 
11:01 PM
lol
 
"Coming up with good lsp tests is hard, as there are so many variations." - yeah......it might be better to generate them, as this is something that probably could benefit from 100% code coverage......but that would be a lot of tests.
 
@PeeHaa @Ekin Going to Discord
 
To the discord mobile!
I cannot stop staring at that ^
 
"what? where are you going?"
 
Your mom's place to do adult things
 
11:09 PM
lol
@DaveRandom You game? Can you play?
 
sometimes, not currently
 
I am struggling with focusing on letters, gaming is out of the question
 
@PeeHaa is about to get another dog.
 
that black mirror episode has made me forever distrustful of spot
actually nn I have to stop looking at screens
 
00:00 - 16:0016:00 - 00:00

« first day (3828 days earlier)      last day (1120 days later) »