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

02:10
@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.
02:30
@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?
02:49
@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.
03:47
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
Wes
05:29
@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…
07:07
@Sjon Would it be possible to get an updated version of 7.4 on 3v4l?
07:22
@NikiC yes - give me a few minutes
07:34
@NikiC should be online
08:00
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
08:51
Wrong return type in mysqli_warning::next() description – #78045
09:30
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
09:46
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.
09:55
@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
@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
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
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
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
So the entire wordpress codebase? :P
Hehe
@Wes you around?
Morning, room.
12:45
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
13:10
@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
13:15
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.
13:24
@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*
14:20
Done with my first closed documentation bug bugs.php.net/bug.php?id=78045 :) Yay!
Close all the documentation \o/
14:39
@NikiC Ha, I think your frustration is misplaced. The engine/language sucks, not variance ;)
15:01
@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
15:28
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
Wes
@mega6382 yes
@Wes so, did you choose a new vendor/publisher for your tees?
Wes
Wes
15:43
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
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...
16:19
can some one help
16:33
@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
16:42
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
16:57
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?
17:12
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
17:24
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
17:27
@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
17:46
[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
17:59
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
18:11
Weakref extension and PHP 7.4 weak references might cause confusion – #78048
18:34
This guy in the bunny suit has me in tears. youtube.com/watch?v=nZC9yccbpoc&t=6m53s
19:12
@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.
20:08
@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.
20:31
Oh- well that's all good then.
Congrats on the liberation!
 
2 hours later…
22:41
I have to read up on Wordpress.
At least to understand how to build plugins.
23:03
@Tiffany How did interview go?
@StatikStasis second interview tomorrow
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
23:06
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
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.
23:28
@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 (2034 days later) »