« first day (3139 days earlier)      last day (1794 days later) » 

2:10 AM
@NikiC is there potential for another gc type that has only the refcounted header and a function pointer for get_gc? The best I can do right now is 28 bytes per node just for rc header, but theoretically we only need 8 bytes for the refcounted header and another 8 for a get_gc analog.
 
2:30 AM
@LeviMorrison for the bst list, if we only append or prepend, we'd be averaging ~19 bytes per value, including refcounts, node pointers, balancing information, etc. However, a list of N values would require N/B allocations (but no reallocations) where B is currently 28 but could also be 12 or 4.

A low value for B means more allocations and higher bytes/value average, but smaller movements of memory on insert/remove, and fewer nodes copied for persistence.

ie. if we go with 4, we'll be allocating a lot but copying fewer values and moving less memory on insert/remove. It'll come down to whi
In contrast, arrays require at best 36 bytes per node (bucket + hash lookup table). Worst case when capacity increases it will be double that. That means that even though we have a binary tree with left, right and parent pointers, and individual node refcounts... we're using AT MOST half the memory of arrays with significantly better complexity bounds.
On paper we have a decent competitor against immer.
How ready is that for benchmarking?
 
2:49 AM
@rtheunissen I was about to say doesn't it suck when Europe goes to sleep but then I remembered that @LeviMorrison is in UT.
 
To me there is no sense of time of day in here. But then I get impatient when there is no one here.
 
3:47 AM
Well... from about 9 or 10pm ET until 3am it's a ghost town in here... unless @Wes cannot sleep... which is pretty common. He must have got to sleep. =D
 
 
2 hours later…
Wes
5:29 AM
@StatikStasis i do sleep very well, during the day, like a vampire :B
 
lol- and tonight I am not.
Having a rough time with this Calculus problem. I did really good last week and several people ended up copying me and then he gave us all individual problems to solve... and I swear he gave me the hardest one.
I should have just been a slacker.
Tired of doing differentials... heading to bed. nn
 
 
2 hours later…
7:07 AM
@Sjon Would it be possible to get an updated version of 7.4 on 3v4l?
 
7:22 AM
@NikiC yes - give me a few minutes
 
7:34 AM
@NikiC should be online
 
8:00 AM
pungle to make a payment or contribution of (money) — usually used with up
 
@LeviMorrison Code generator. If I'd tested the whole API every time I'd need tons of fixtures and would be comparing a lot of output on every single test assertion; I'd end up writing a lot of integration tests because the public API of that is essentially just one or two single functions for every one of the 4 generators ... wouldn't really be unit tests then
 
Wrong return type in ArrayIterator::getFlags() description – #78044
 
8:51 AM
Wrong return type in mysqli_warning::next() description – #78045
 
9:30 AM
mornin
Looking at that last issue @Jeeves got linked the bug #78045 I looked at the code and found that github.com/php/php-src/blob/… - my question is the empty return; statement in 186 can possibly happen at all? Is it possible that getThis() is not what expected here and the function can return null?
 
@brzuchal looking at the test-coverage it can't happen
 
@Sjon nice thx, I had no idea there is gcov
 
I was a bit sarcastic too btw - coverage of the tests isn't perfect
so it might as well mean there is no test yet to test that behaviour
 
ok, I'm gonna take it and assume it won't happen and put bool return type in the docs
cause that's the information found in source code
 
9:46 AM
pcntl_async_signals breaks down magic getter – #78046
 
If someone from blockchain background and web3, have a look on this issue. Thanks
0
Q: Generate wallet public and private key using web3 PHP

Kamran JabbarI am using this to get public key: https://github.com/sc0Vu/web3.php#assign-value-to-outside-scopefrom-callback-scope-to-outside-scope I am in need of to get the public and private key using PHP web3 like this: https://web3js.readthedocs.io/en/1.0/web3-eth-accounts.html#create How can I do th...

 
@KamranJabbar why are you spamming a lazy question everywhere instead of just fixing it yourself?
 
I am not spamming dear, I am asking about that and currently working on it.
 
you are posting the same question in 3 locations because nobody is giving you a copy-pasteble example it seems
 
Once I have solution, definitely I will post the answer to help others.
@Sjon
So it means when someone is stuck he should place the question on one platform only? Of Course everyone do this when stuck somewhere, the ultimate goal is the solution not to say why are you posting everywhere.
 
9:55 AM
@KamranJabbar You literally post "I am in need of X" - If you want to improve have a look at slash7.com/2006/12/22/vampires
 
Okay, thanks.
 
asking other people is okay when you're stuck - but telling them you need something while you are perfectly able to read the PHP and javascript code you are using comes across like you are unwilling to do the work yourself
 
Anything else?
Say all things, have a nice day.
 
morns
 
 
1 hour later…
11:17 AM
@SebastianBergmann thanks: I'm proud of it
@LeviMorrison PHP's "functions" are a nightmare, but mocking them out adds lots and lots of fragility :S
 
11:35 AM
sup
@Ocramius u know how can i export sql data to expecific cells on exel?
doing that by php or stuff
 
@NoobDEV-GBL you need you sacrifice your firstborn to work with excel and PHP
 
holly shit
kiss on the top head for u mate
 
500EUR, kthxbai
 
12:18 PM
Is throwing a notice on no-op statements a good idea? E.g. this is silent: 3v4l.org/FtISG
I was surprised that a sole semicolon is accepted and not a parse error
E.g. echo "yay";;;;;; is fine
 
possibly a good idea
 
yeah - but what should the notice say?
 
@Sjon: it's important with clarity of course but basically saying that it's a useless statement?
While a ";" could trigger a simple parse error
I.e. unexpected semicolon
But maybe this is more complicated. E.g. "foo" && bar() should trigger a notice on "foo" but not bar()
 
@Bell huh?
Morgens
 
@PeeHaa: its just a thought but since its a useless statement it can always be removed and it might but a bug / a typo
However if ("always true") { .. } shouldn't be thrown on, of course
Hmm ;-)
 
12:27 PM
Why would "foo" && bar() be a bug?
 
@PeeHaa: "foo" could be a typo that was meant to be something that wasn't a no-op. A real world example might be hard to come up with though
 
Yes or it could not be a typo and now you are throwing notices for valid code
 
@PeeHaa: its still a notice and not a warning or error. Like using an undefined variable
@PeeHaa: but I agree it might be too far for the language to complain about stuff and more suitable for static analysis
 
I might not be awake yet and misunderstand what is going on above, but pre coffee me reads it as throwing notices for perfectly valid and fine code
Which is really weird
 
My point was throwing notice on code that is 100% useless
 
12:33 PM
So the entire wordpress codebase? :P
 
Hehe
 
@Wes you around?
 
Morning, room.
 
o/
 
\
 
12:45 PM
good mornings
 
hello
where can i get php_curl.dll - Win32 valid
 
It comes with your php download
 
humm
i'm trying to install composer
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/php/ext\php_curl.dll' - %1 não é uma aplicação de Win32 válida.
in Unknown on line 0
 
check php.ini
 
i have
and i heve the path right and enable
and the folder/file exists
 
1:10 PM
@NikiC you think zend_strppprintf is one p to phar ? there's no strpprintf for persistent strings ...
4
 
hello, i am looking for json or array schema validator library that checks for required structure. Any suggestions?
 
sure ... xml ...
 
@JoeWatkins ...
 
are you about to say that there is ?
 
don't think so
though we have some apis for printing into a smart string
that I think also support persistent
iirc strpprintf is a thin wrapper around that stuff
 
1:15 PM
yeah I was just looking at doing it that way
zend_printf_to_smart_str
is not exported ?
 
It isn't?
 
no I'm not seeing how to do it
 
Hrm, looks like it indeed is not ZEND_API
unlike all the other functions in that list
 
yeah, bit of a pita
 
@Bell no
It'd be a pita for some autogenerated code for no benefit.
 
1:24 PM
@Danack: good point
 
@LeviMorrison variance sucks
 
ha, I love that smart strings are really stupid
why are there two of them ?
 
lol
one is char* one is zend_string*
 
2:20 PM
Done with my first closed documentation bug bugs.php.net/bug.php?id=78045 :) Yay!
 
Close all the documentation \o/
 
2:39 PM
@NikiC Ha, I think your frustration is misplaced. The engine/language sucks, not variance ;)
 
3:01 PM
@JoeWatkins "smart" string
 
@StatikStasis when you click on "show" it opens 1 eye :D
 
Yeah- that was my favorite part.
 
@rtheunissen How ready is... what?
 
@LeviMorrison possibly
 
3:28 PM
people i need help to instal the composer
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/php/ext/php_curl.dll' - %1 não é uma aplicação de Win32 válida
 
Wes
@mega6382 yes
 
@Wes so, did you choose a new vendor/publisher for your tees?
 
Wes
3:43 PM
nope
sorry :(
 
We call forth @Wes ! Son of Italy! Night watch of Room11! Hater of PayPal! Drinker of English Breakfast! Eater of cibo!
7
Took me too long to write that... mega had already answered. =/
 
Wes
lol
 
> MagickMeanShiftImage() elineate arbitrarily shaped clusters in the image. For each pixel, it visits all the pixels in the neighborhood specified by the window centered at the pixel and excludes those that are outside the radius=(window-1)/2 surrounding the pixel. From those pixels, it finds those that are within the specified color distance from the current mean, and computes a new x,y centroid from those coordinates and a new mean.
> This new x,y centroid is used as the center for a new window. This process iterates until it converges and the final mean is replaces the (original window center) pixel value. It repeats this process for the next pixel, etc., until it processes all pixels in the image. Results are typically better with colorspaces other than sRGB. We recommend YIQ, YUV or YCbCr.
some of those words.mp4
 
Two stars in less than an hour- I'm on a roll!
alright something else funny... think think think...
 
4:19 PM
can some one help
 
4:33 PM
@StatikStasis may I recommend self deprecation and sarcasm?
for acquisition of stars but also just in general
@NoobDEV-GBL 1) please can you translate the portuguese (spanish?) bit into english because I am lazy and 2) does that file actually exist?
 
yes exist
translate: Unable to load dynamic library 'c: /php/ext/php_curl.dll' -% 1 is not a valid Win32 application
I tried the 64 bit and 86 version of this dll and nothing has changed
 
the file is corrupted in some way
type php -v and make sure you have the exact right version match
 
i have downloaded the files from: www.dll-files.com
 
there's your first problem
the package from windows.php.net contains all the files you need
PHP ships with the curl extension, it's not a 3rd party download
 
humm
 
4:42 PM
don't ever use any PHP binaries from anywhere other than official channels
on windows anyway
 
i just downloaded after first test
is a problem having PHP Version 7.1.13
?
 
should be ok
 
on php info shows : cURL module, so is working right?
i copy and past the file php_curl.dll and saved as curl.dll, and now this piece of crap says" PHP Warning: Module 'curl' already loaded in Unknown on line 0 "
 
>piece of crap
Your installation of php is the piece of crap not the software
 
yaaa
i know xD
untill now was working fine as a charme
 
4:57 PM
let's be reasonable, they are all pieces of crap which contribute to the overarching pile of crap
 
is i disable this ext says is lost os security an stuff to enable this ext
ok
i fanaly installed
 
just install xampp then you got a working php version with all the things out of the box
 
:O I got contacted for a second interview
 
hi tiff, good luck on that
hope goes well
ok the composer is installed...but now:
Composer autoloader could not be found. Install dependencies with `composer install` and try again.
 
@NoobDEV-GBL do you have a composer.json file in the folder?
 
5:12 PM
i dont even know where is that installed ...
now i have 3 files
composer.phar / composer.bat /composer
 
i dont have that file created /vendor/autoload.php
 
@NoobDEV-GBL composer will generate it after you've set up your composer.json file
 
i only have this files on my ph
composer.phar / composer.bat /composer
 
5:24 PM
Which one is correct?
- As for that topic we already talked about, I have to say ..
- - As in that topic we already talked about, I have to say ..
 
@Shafizadeh it...depends... the first one is better, but it can possibly be worded better depending on context
 
ah I see, I was doubt between "as for" and "as in"
 
tiff for exemple where i run this "curl -sS getcomposer.org/installer | php"
?
 
@NoobDEV-GBL please stop copying files around at random.
44 mins ago, by DaveRandom
the package from https://windows.php.net contains all the files you need
 
@Shafizadeh I almost feel like "As for the topic we've already discussed, I have to say ... " is better
 
5:27 PM
@DaveRandom Excellent idea! I've got tons of that I can do... problem is- I wouldn't be joking. (I couldn't help but to read that in Rodney Dangerfield's voice when I wrote it.)
 
@Danack i have the files, that is ok nice, relly apreciate your help as far as you can help
 
run php composer.phar to run composer.
 
@Tiffany I see, thx :-)
 
you were reading the linux installation part.
 
if you're installing composer on a Windows machine, just use the exe
it does everything for you, as far as installing composer goes... but it won't configure composer at the project level
 
5:46 PM
[DoS] Segmentation fault through HTTP Requests – #78047
 
oO.
must be juicy.
 
"marked as private"
 
What does that mean? Vulnerability?
 
@StatikStasis security bug
 
can someone please tell the Chinese the HTML5/CSS3 is a thing?
HTML4/CSS2 would be an improvement
 
5:59 PM
Issue on a site?
 
routers/phones/basically every device with an embedded web config
 
tables and mad CSS/JS hacks everywhere
and frames
omg the frames
 
I used to love frames at one time... but then I didn't.
 
trying to write some user scripts for some common config changes to various devices where it doesn't really make sense to deploy a whole config file because I'd have to download the current config and modify it
 
6:11 PM
Weakref extension and PHP 7.4 weak references might cause confusion – #78048
 
6:34 PM
This guy in the bunny suit has me in tears. youtube.com/watch?v=nZC9yccbpoc&t=6m53s
 
7:12 PM
@LeviMorrison your immer / zend integration.
 
@rtheunissen Hardly ready for benchmarking through the language.
Could be benchmarked at the C API level.
I've been sidetracked on projects like this as I'm going through a job change.
 
Same here, interviewing / on a call most of the day..
I'll keep working on the tree list in the meantime until that's ready for benchmarking through the language, then see what's needed to get an immer interface working also.
 
8:08 PM
@LeviMorrison Oh no- voluntary job change or involuntary? Voluntary usually feels better initially but both always workout. Hope it goes smooth for you and where you ends up being even better than where you left.
 
@StatikStasis Totally voluntary :) Just keeping me busy.
 
8:31 PM
Oh- well that's all good then.
Congrats on the liberation!
 
 
2 hours later…
10:41 PM
I have to read up on Wordpress.
At least to understand how to build plugins.
 
11:03 PM
@Tiffany How did interview go?
 
@StatikStasis second interview tomorrow
 
Nice!
 
technical interview
I feel pretty confident on the PHP part, but I'll need to refresh some on JS. Job also asks for Wordpress development, so I'll need to ...familiarize myself with it... ...
 
The good thing is there are a TON of resources on it since so many people use it.
 
yeah. I'm looking at the guides on the wordpress site. Luckily someone made a vagrant box, so I can just use that to mess around
I also need to clean my living room
 
11:06 PM
lol
I'm procrastinating right now about doing my schoolwork.
 
kinda funny, while I was on the phone with the interviewer yesterday, one of my cats kept bugging me, so I'd apologize and say "sorry, my cat's doing something..."
...I'm anticipating at least one cat interrupting me while on webcam
 
lol- how many do you have?
 
just two
 
oh ok
 
but they like to bother me if they're bored or want attention
 
while cats are good destressers, that would just be stressful
 
I was just imagining your head in view of the camera while on webcam call with several tails moving around you like a shark's fin in the water.
 
lol
they will jump up the desk and like walk in front of me
but hey, maybe they'll help keep me less stressed too
 
Just don't hold them up in front of the camera like a ventriloquist and move their paw while saying something like "You should hire my mommy because she is the best!" =p
That is true. They can definitely keep you relaxed.
 
11:28 PM
@Tiffany I have not watched this but it just popped up on my feed: youtube.com/watch?v=10WnvBk9sZc
 
@StatikStasis I'll have a look, thanks
 
@Tiffany You don't happen to be a mathematician are you? Specifically in Calculus?
 

« first day (3139 days earlier)      last day (1794 days later) »