« first day (2830 days earlier)      last day (2101 days later) » 
00:00 - 16:0016:00 - 00:00

12:00 AM
if OS === Summary blackhole that shit
 
ah
Fucking spammer not even filling the fields properly
What is wrong with people
 
I know. 5.6 isn't even supported.
 
:P
 
@PeeHaa yes, in 6 hrs, and I totally fucked up my sleep pattern and slept all afternoon, so now I basically have no choice except an all nighter
 
@DaveRandom Had the same thing 2 days ago
How long is the trip?
 
12:14 AM
3 nights
so til thurs evening
 
12:41 AM
cool
And good luck
 
12:57 AM
how is 1<<20 a million?
nvm, found the answer.
 
unless the answer is "it isn't" the answer is wrong
 
1<<20 is 1,048,576. So, you're right but it is kind of close to a mill.
 
1:27 AM
"There is a reason for having best practices and standards." - said without irony on wordpress.SE
 
posted on July 15, 2018

New Cyanide and Happiness Comic

 
1:58 AM
@DaveRandom something about smuggling drugs up someone's butt
 
 
1 hour later…
2:59 AM
@DaveRandom what tea do you recommend for bedtime?
 
is bourbon a type of tea?
 
3:24 AM
that's asking for a migraine
 
 
3 hours later…
6:07 AM
morns
 
7:02 AM
@DaveRandom we have monitors at the office you can use...
 
 
1 hour later…
Wes
8:19 AM
morn
 
o/
 
@FlorianMargaine I just finished my interview with VP People Ops of platform.sh, it seemed to have went somewhat good. Thank you very much for this, it was really nice of you :)
7
 
8:34 AM
@users test
who like the panda animale ? i like when it was lazy
 
>Jul 16 10:37:28 gooh-ThinkPad-X250 systemd[1]: Failed to start The PHP 7.2 FastCGI Process Manager.
>-- Subject: Unit php7.2-fpm.service has failed
>-- Defined-By: systemd
>-- Support: http://www.ubuntu.com/support
>--
>-- Unit php7.2-fpm.service has failed.
>--
>-- The result is RESULT.
The result is RESULT!!!
just so you know it
 
Result.
 
RESULT
not just Result
 
pandas is lovely.
 
don't change topic.
 
8:41 AM
grammar are dying.
The doors on the trains in Paris aren't messing about, there's a pretty basic sounding tone and then they immediately close with a force and speed that seems like they want the blood of anyone unfortunate enough to be trying to use them at the time
 
being english in france just right after "it" didn't come home but there… must be harsh
 
Result are RESULT.
 
exactly!!
 
@Simon.Lay yeh i wich if they living on my country
 
@NigHamza the witch which had a sandwich?
 
8:55 AM
@Gordon yep my bad , Wish , Sandwich Yeh how about a couscous
 
@NigHamza bulgur or bust
 
an couscous
 
i like bulgur i see That you know about couscous
 
what the heck is going on here? what are you all smoking?..
 
Monday
 
8:59 AM
Jaques Couscousteau
 
@Gordon ftr I much prefer it this way, England had won people wouldn't stfu about it for ages
When they lose everything basically just goes back to being normally terrible straight away
 
@Gordon morocco people like couscous To much , do you have in your country ?
 
No, it's illegal there. The German motto is "sausages or gtfo".
 
for ages i think yeh , sausages are great Too every country have their Food i like this Diversity in food
 
Food is off topic, refer to it as phpood, maybe no-one will notice.
 
9:15 AM
how much it takes to travel in all country word checking their foods ?
 
8
 
Nah bruv, 11 minimum
 
Come to Germany, we have Haxn!
and lots of them… it's already in the GerMANY
we have MANY of everything… except humor
@NigHamza we also have red lentils
 
yeh 8-11 it could , @Gordon yeh We all like red lentils the red lentils its called in our country adas food
@DaveRandom @jjok but it hard in our age we take just 15 days as maximum to travel , cuz we have a problem called Work yeh It Work
 
@NikiC so well... Not sure what to do with this :-D Dmitry reporting 10% improvement instead - don't feel like we can really include significant benchmarks here - maybe wordpress?
 
9:36 AM
@bwoebi As dmitry does not seem to have concerns about perf, I guess we just shouldn't include numbers
 
@mega6382 yay
 
@NikiC other people might bring it up though
Mornings 11
 
9:53 AM
Yo
 
@NikiC so, just go ahead with a vote later today?
 
@bwoebi At this point, I'd say no
 
Am I the only one who can't restart execution in phpdbg (Windows)? It doesn't accept input
 
@NikiC well I don't care whether it goes into master or 7.3, but I'd like to see it voted on
 
10:12 AM
I have successfully got to the correct office in Paris, having got neither lost nor killed en route.
 
@bwoebi okay. in that case I'd change the rfc to target 7.4, write to the list that we're starting tomorrow, and then then do dat vote
 
@NikiC fine with me
 
Wes
typed props?
 
Targeting 7.4 also gives us much more time to flesh out opcache support and think about performance
@Wes yes
 
Wes
7.4 is ok... it's not that php doesn't work without it... also there is more time to get phpstorm support
@bwoebi what should json_encode do with a uninitialized typed field?
 
10:31 AM
@Gordon because it's a constant :D
 
@Wes throw.
 
@tereško YOU are a constant
 
... I'm actually sick and it's something like 30 degrees outside
 
@LeviMorrison ahh, that's the place I'm thinking of the pointers from, thanks. I know arginfo probably can't use it because that would require classes to be statically allocated…
 
11:04 AM
@Gordon do you still have problem on Failed to start The PHP 7.2
 
@NigHamza I never had a problem with it
 
@Gordon Now, that's the result.
 
@jjok RESULT
 
Yeh The result is RESULT!!!, Great to hear That i was think that you have a problem with it
 
morning
 
11:10 AM
@bwoebi Probably doesn't do that right now though
As uninitialized = undef it will simply be skipped
 
@NikiC the undef check happens before the de-indirection of the property I guessed?
 
Good morning @Tiffany
 
@bwoebi not typically
 
@NikiC yeah, you're right
 
@bwoebi I'm not sure how we can resolve this
without breaking bc for other unset properties (though maybe we should?)
 
11:37 AM
@NikiC what is the problem , you have ?
 
@NikiC I'm not sure - this does neither generate notices for unset properties - so I see no reason to change anything about that
 
!!uptime
 
garbology the study of the material discarded by a society to learn what it reveals about social or cultural patterns.
 
12:05 PM
@NigHamza if I'm guessing right, they're probably working on this RFC: wiki.php.net/rfc/typed_properties_v2
since they're the authors of it
can't wait for typed properties
@StatikStasis videos are pasteable in chat now? I suppose SO Dark Chat needs an update to allow minimizing them
 
12:28 PM
in JavaScript, 31 secs ago, by Alexander Solonik
i have a PHP server and i would like to run node on it
Is this a PHP 8 feature?
 
@Danack Yaswho? Which RFC?
 
Nested serialize() with shared references yields wrong result – #76631
 
Hello all
 
hey everyone
 
12:42 PM
I am trying to upload and send image to php webpage page but a get a blank page of this url localhost/www/mywebsite/Image_insert_action.php?upload=
 
Nested serialize() with shared references yields wrong unserialization – #76632
 
@Webdev do you have errors and notices turned on?
 
No
 
you should do that
 
@Tiffany Thanks for the info
 
12:48 PM
I have this at the inspect elements/network Form contains enctype=multipart/form-data, but does not contain method=post. Submitting normally with method=GET and no enctype instead.
 
oci_connect have different behaviour between php-fpm and php-cli – #76633
 
@Webdev and without having errors enabled, you won't know why that's happening
 
enabling errors from where?
 
I'm assuming you're in a development environment?
and not production?
@Webdev either in the php.ini file in your PHP installation folder, or in your config/bootstrap file: ini_set('display_errors', 1);
!!docs ini_set
 
[ ini_set() ] Sets the value of a configuration option
 
12:52 PM
@Tiffany yeah
 
alright, wanted to make sure, because you wouldn't want to display errors on your website in production, it's a security concern; you would want them logged to a file instead
 
let me enable errors
 
@Webdev ini_set('error_reporting', E_ALL); and ini_set('display_errors', 1);, first bit is important
 
can any of you recommend linux on a dell xps 15?
 
@Tiffany So It gives me error now
brb
 
12:59 PM
being a thinkpad fanboy I'd get a T480 as my next notebook, but the xps has an edgeless screen and a geforce 1050ti instead of the mx150
 
@Gordon do you want a gaming laptop?
 
@Tiffany not first and foremost
but I will play with it
 
I wonder what the linux driver support is like for xps
 
hence my question
 
1:04 PM
@Tiffany thanks. was mainly looking for first hand experience from someone in here :)
 
1:18 PM
hmm, unfortunately there is no developer edition of the xps 15 yet
 
1:32 PM
This is going to be a busy week...
 
@Tiffany its probably not even Ubuntu's fault
nvidia's linux drives have been fucky for ages
 
@tereško that was one of the reasons I had switched to AMD cards years ago. Only reason I'm using nvidia again is because the 1000 series were more bang for the buck (when I was building new computer), and crypto inflated AMD cards
 
at least the crypto-rush has somewhat ende
 
and it did eventually hit nvidia cards too
hm, maybe I'll switch back to AMD
 
hehe
AMD card just ended - too low supply
 
1:43 PM
I could probably get a pretty penny for my 1070, even if it's used
 
while NVidia cards jumped 2x-3x in price
 
@tereško do you still use newegg, or do you use a different online site now for purchasing PC parts online?
 
hell, at one point I was thinking of selling my 290x
 
since newegg sold to a Chinese company, and they've been making shady decisions regarding the site
 
@Tiffany I actually use local e-shops
the tax here is low and shipping anything from USA takes 6 months
 
1:45 PM
I guess I can just use whatever pcpartpicker decides
 
lol
 
@Tiffany I get this error although I think I have used mysqli_connect function in it's proper way Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in C:\xampp\htdocs\www\mywebapp\Image_insert_action.php:2 Stack trace: #0 {main} thrown in C:\xampp\htdocs\www\mywebapp\Image_insert_action.php on line 2
 
some of the sites it picks are shady too
 
btw, I would wait a month or so
unless you are not actually using Ryzen2 in your build
 
@Webdev are you injecting your connection variable into the other file?
mysqli is picky about that
it doesn't set a global state for the connection, so it must be passed
 
1:47 PM
$conn=mysqli_connect("localhost","root","","db");
 
is that in Image_insert_action.php?
 
yeah
 
@Webdev mysqli has object interface - use that
 
@tereško ?
 
$mysqli = new mysqli('localhost', 'my_user', 'my_password', 'my_db');
 
1:51 PM
Same prb
 
what problem?
 
paste the rest of your code in a gist or pastebin and share the URL
 
@tereško Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in C:\xampp\htdocs\www\Elracis\Image_insert_action.php:2 Stack trace: #0 {main} thrown in C:\xampp\htdocs\www\Elracis\Image_insert_action.php on line 2
 
you can't get that error, with the code, that I pasted, @Webdev
 
do you have the mysqli extension downloaded/enabled?
create a file in your webroot called phpinfo.php, and add <?php phpinfo(); in the file, then view the file in your web browser. the file will display all installed/configured extensions you currently have.
 
1:55 PM
how exactly did you get "mysqli_connect() undefined" errro with new MySQLi(...) ?
 
@tereško No I get it
$mysqli = new mysqli('localhost', 'root', '', 'db');
 
5 mins ago, by Tiffany
paste the rest of your code in a gist or pastebin and share the URL
 
What are SAPI's?
 
6 mins ago, by Webdev
@tereško Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in C:\xampp\htdocs\www\Elracis\Image_insert_action.php:2 Stack trace: #0 {main} thrown in C:\xampp\htdocs\www\Elracis\Image_insert_action.php on line 2
you CANT get that error with that code
 
1:59 PM
@rtheunissen Server APIs. So, mod_php, php-fpm, cli, cgi, ...
 
@tereško I did it
 
Thanks @pmmaga
 
you did what?
please, write in english
 
@Webdev do you know if you have the mysqli extension installed/configured?
 
5 mins ago, by Tiffany
create a file in your webroot called phpinfo.php, and add <?php phpinfo(); in the file, then view the file in your web browser. the file will display all installed/configured extensions you currently have.
 
2:01 PM
@tereško Oh my bad
Now I get Fatal error: Uncaught Error: Class 'mysqli' not found in C:\xampp\htdocs\www\Elracis\Image_insert_action.php
 
it means that mysqli extension is not enabled
 
So
 
3
Q: mysqli not working in xampp windows

funtimeBy seeing suggestions throught the internet I tried to convert all my queries to mysqli. But mysqli is not working in my xampp.I checked my php folder and there is an php_mysqli.dll file ... still it doesnt work Thanks in advance

 
In windows could I put the extension like this
[PHP]
extension= php_mysqli.dll
 
and does the .dll exist in the folder?
 
2:11 PM
@Webdev was that a question?
 
yes
@Tiffany under what path?
 
I would like to to test what value is being assigned to a variable, but I'm currently debugging the code base (refactoring it to work with PHP 7, from 5.3). When I create a test file and include the config/bootstrap file, Whoops throws an error because debugging, so I'm unable to view anything from the test file. Is there something else I can do, possibly temporarily disable Whoops?
@Webdev it should be the same path that your php.ini file is in
 
On a similar note:
> It's not about run-time versus compile-time, it's about when the error is raised.
 
@mega6382 \o/ I hope you get it.
 
@Tiffany No php_mysqli.dll doesn't exist
 
2:20 PM
there's your problem
you'll need to download it and move it into the same directory your php.ini file is in
 
emm ... which version of PHP are you running?
I think mysqli is bundled since 5.3
 
7
version
$conn=mysqli_connect("localhost","root","","db"); that is worked in another website
I meant I tested it
successfully
 
Do we have an inverse function for http://php.net/manual/en/function.array-combine.php? We could extract keys and values separately, but was curious if we had one that was a direct inverse in a single call.
 
@LeviMorrison no we don't - but [array_keys($a), array_values($a)] is trivial
 
@tereško yes it is bundleed
 
2:27 PM
then why is is not enabled?
31 mins ago, by Tiffany
create a file in your webroot called phpinfo.php, and add <?php phpinfo(); in the file, then view the file in your web browser. the file will display all installed/configured extensions you currently have.
 
@bwoebi Sure, but a tad inefficient. Not saying we need one because of the inefficiency, but sometimes we have one already.
 
well
 
I need a second set of eyes, does this look right? require_once(__DIR__ . '/../lib/functions/global.php');
 
@LeviMorrison not sure what we'd need that for, but okay :-D
 
@Tiffany you shouldn't need _once ... and require is not actually a function (kind like echo)
 
2:29 PM
oh, so no parentheses
grumble, still throwing an error that the file doesn't exist
 
also, I suggest dirname(__DIR__) to go up a folder instead of the relative path
2
 
@pmmaga dirname(__DIR__) as opposed to __DIR__ from __DIR__.'/../path/to/file.php'?
 
@Tiffany Not using composer?
 
@Trowski am using composer
 
@pmmaga what the fuck - how is that any better?
 
2:33 PM
@Tiffany require_once(dirname(__DIR__) . '/lib/functions/global.php');
 
@pmmaga I was taught here to use __DIR__ . '/../path/to/file.php'
 
@tereško for me it's clearer than ../../../../
 
@Tiffany Could add the file to the list of required files in composer then.
 
@pmmaga which makes it pointless
 
@pmmaga specifically the __DIR__ . '/../' part
 
2:34 PM
@Tiffany just do an echo __DIR__ . '/../lib/functions/global.php' and make sure that the file is actually there
 
I guess it's a matter of preference..
 
well... I now have a permissions issue to the server, so I need to fix that first before I can do anything else... :|
 
Wes
@pmmaga you are a horrible person
 
hahaha
 
Wes
also omg i and teresko are agreeing on something
 
2:40 PM
this sounds like a divisive topic, seeing I got a star :P
 
it's almost like tabs vs spaces
@tereško C:\path\to\webroot/../lib/functions/global.php
 
:)
so ... is there are "lib" folder in C:\path\to\
 
with dirname this would be clearer... :x
 
Wes
lol
 
:D
 
2:42 PM
@pmmaga not because I would agree - but a star for the stupidity
 
@tereško that's people not knowing the true power of dirname.. dirname(__DIR__, 4) does it :P
 
Wes
now i am gonna say something it's going to fuck with you forever in case it doesn't already @pmmaga
 
@Wes If you agree with him, it usually means that you are also able to be right - as he happens to be mostly right
 
using echo dirname('/lib/functions/global.php'); returns /lib/functions
 
Wes
is dirname(..., N) 0 or 1 based?
sorry
 
2:46 PM
@Wes str_repeat('../', N)
 
4 mins ago, by tereško
so ... is there are "lib" folder in C:\path\to\
 
Dear diary, today I learned people REALLY hate dirname. I won't ever mention it again.
8
 
@Tiffany what extension I should be search for it in php info
page
 
@Webdev mysqli
 
Wes
@pmmaga ahah i am joking :B
 
2:46 PM
@Webdev that should be obvious...
 
@Tiffany MySQLi Zak Greant, Georg Richter, Andrey Hristov, Ulf Wendel
that you mean?
 
.. oh gods
 
Wes
@bwoebi yes... except that "repeat n times" is not as confusing as "levels"
 
@pmmaga just apply a realpath() at the end if you like clean paths
 
Wes
realpath is no1 way to make an application slow
 
2:48 PM
has it been actually fixed?
I recall realpath() being broken-ish
 
mysqli
MysqlI Support enabled
Client API library version [redacted]
Active Persistent Links 0
Inactive Persistent Links 0
Active Links 0
 
that doesn't exist @Tiffany
 
29 mins ago, by Tiffany
you'll need to download it and move it into the same directory your php.ini file is in
 
in phpinfo()
 
... and this is what you get for installing that bundled xampp/wamp crap
 
2:51 PM
@Wes well.... Not for internal processing purposes
@tereško not sure what you're referring to?
 
@Trowski in the /vendor/autoload.php file?
 
If this $conn=mysqli_connect("localhost","root","","db");
worked in another website do really I need to download that extension?
worked
 
@bwoebi the "Webdev" guy - he's missing mysqli and he has no idea what to do
 
@Webdev your development environment should be the same as your production environment. the server that it works on, is it your production environment? if it is, then yes, you should install mysqli extension on your development environment
 
@Tiffany In the autoload list in composer.json: "autoload": { "files": ["lib/functions/global.php"] }
 
2:53 PM
@Trowski alright, I'll try that, thanks
 
@Tiffany So I ask why this function doesn't work in the another php app
 
@Webdev ... wearing my patience ... you don't have the extension installed in the environment you're testing in ...
 
@Webdev because you LOCAL version of php has not enabled mysqli: do .. you ... understand
 
seriously, use some critical thinking and/or google
 
2:56 PM
@tereško I understand that in my local app also this mentioned function worked into another app why doesn't work in the second app?
 
@tereško i mean how you think realpath would be broken
 
@Webdev were both apps located in the same environment?
 
yeah
 
@bwoebi I am not sure. I was broken (at least in 5.3)
 
that what confuses me
 
2:57 PM
somehow, I think you have a misunderstanding, as in you have the other app loaded in another xampp installation or something
 
hmmm
 
@tereško in what way?
 
something with symlinks
 
I don't have my code namespaced yet, on the to-do list after I get this shitpile working on PHP 7.2 at the bare minimum. I have an sp_autoload_register function in a "global" functions file, but should that be in my bootstrap file instead?
 
I didn't dare questioning your omniscience, hence I just continued asking
 
3:02 PM
@LeviMorrison so doesn't seem I need to do anything
 
@Tiffany or just use the autoload directive in composer like previously?
 
@ircmaxell If you don't care to, yes. I think someone flipped their vote, herd mentality style ^_^
 
@tereško undestood
 
plot twist: the other app uses mysql_connect instead of mysqli.. :P
 
1 message moved to Trash can
 
3:04 PM
and if there are more than one xampp folders, then each xampp folder will use whatever is in their local directory. However, it is unnecessary to have more than one xampp folder. /cc @Webdev
 
I have one xampp folder
 
posted on July 16, 2018

New Cyanide and Happiness Comic

 
from where |I can download this extension
@Tiffany
 
sorry, busy with something else right now, won't have time to look at it until later
 
thank you
 
3:10 PM
@LeviMorrison looks that way. If you really need help, ping me. Otherwise I'm happy to sit back
@NikiC interesting response to an old question: stackoverflow.com/a/51313323/338665 may be of interest to you or @bwoebi
 
@ircmaxell Do you keep in contact with Daniel at all anymore?
 
@ircmaxell interesting, though while it isn't defined as per the C standard, the assembly this compiles down to is exposing the expected semantics - at least as long as the compiler doesn't become smarter than he ought to :-D
 
When is Bucket.key equal to null? When you have integer keys?
 
3:26 PM
why is teresko suspended?
 
I just installing another xampp software into d drive so could I replace php.ini file
 
@DaAmidza Used a particular derogatory term.
 
@LeviMorrison yes. (Or unused)
 
@bwoebi If HT_IS_PACKED(input) then will Bucket.key always be null?
 
@tereško you will survive it sensei I'm with you!!!
 
3:29 PM
@LeviMorrison should be always null then, yes
 
@DaAmidza 2 sustained flags probably drew the ire of a mod. 30 day ban on SO is pretty serious
 
I was also banned for a month or so I called Madara to use his powers and he did
 
Probably depends on the reason. Reversing a chat ban is one thing, but reversing another mod's account ban is another
 
Wes
missed some drama?
 
Someone please explain me what Rowan doesn't understand about the strong superiority of uninitialized typed properties...
@Wes It's not important.
 
Wes
3:53 PM
@bwoebi can i post something in the thread that might imply additional work for you :B
initially i had the same concerns if you remember
(i am joking btw, want to talk to you before i say anything :B)
 
Hella
 
Wes
Hulle
 
how to set value of current array element?
something like current($array)="value"?
 
Wes
don't use current(), key(), reset() etc, use ArrayIterator
 
thanks, ll give it a shot
 
3:59 PM
My optimized array_slice is failing this test:
function ref(&$ref) {
	var_dump($ref);
}

new class {
        function __construct() {
                $args = [&$this];
                for ($i = 0; $i < 2; $i++) {
                        $a = array_slice($args, 0, 1);
                        call_user_func_array('ref', $a);
                }
        }
};
 
00:00 - 16:0016:00 - 00:00

« first day (2830 days earlier)      last day (2101 days later) »