« first day (3340 days earlier)      last day (1829 days later) » 

 
2 hours later…
02:57
@samayo Nope, doesn't seem to work. The problem is it's not even taking my custom directory into consideration.
Okay my bad, I had messed up the directory referencing.
 
5 hours later…
08:00
circumscribe to constrict the range or activity of definitely and clearly
08:16
@YoKoGFX Do $prevEvent = $event at the end of the loop body and use that?
 
3 hours later…
Wes
Wes
10:51
\o
11:02
o/
cmb
cmb
@Tiffany, lol
11:22
@cmb is there something on my face?
Segmentation fault on Symfony cache:clear – #78926
Wes
Wes
11:40
great movie tho
@Wes I won't watch anything with Tom Cruise. Because Scientology
Wes
Wes
eh, that's bad because tom cruise usually makes decent movies :B
He's a decent actor, but fuck Scientology. It's not just him though, if I find out an actor is a Scientologist, I stop watching their stuff too. It sucks when I'm in the middle of a TV series.
12:06
Morngins
12:19
posted on December 06, 2019

Apologies for the late comic. I had some trouble being funny. I know that’s never stopped me before, but I was shaken by this week’s events, some of which were traumatic. Seriously, I am warning you that this is not my typical news, and it is not really my story to tell. If you’re troubled by real-life violence, or if you’re looking for humor, maybe skip this one. For everyone else, he

cmb
cmb
12:44
@Tiffany, I was referring to the ppentestlabs thread you've linked.
@cmb ooooh
Yeah, a business trying to sell people security best practices, when they themselves aren't following security best practices ... it is discouraging
 
1 hour later…
13:48
@Tiffany at least they don't let you enter your own password and then store that in plain text, its not all bad :p
@beberlei yeah, and the worst that could happen if their database is leaked is acquiring someone's email, if they're using their real email. But still, it's how they try to reason their method that bothers me
Just because the potential damage is less severe, doesn't make it right
Crash in pcre2_code_free_8, zend_hash_destroy – #78927
 
2 hours later…
Wes
Wes
15:33
do you guys know of any oss code that uses a lot of method delegation?
wrappers, adapters etc
@Wes Any decently sized Java project
Wes
Wes
php
maybe @ThW's dom library does delegate a lot to plain dom?
It extends more
Wes
Wes
15:52
hum
 
1 hour later…
17:17
I hate that on phpstorm 2019.3 when I right click to create a new directory, the name input doesn't get focused any longer :( need to go all the way to the middle screen, click it to name the new dir
@Ekin right click? you mean context menu new -> directory?
yep
I don't see that behavior here
are you on a mac? it's been bothering me on linux
no, on windows
but don't have it on the mac either
17:20
:( it might be just a nix thing then
I keep typing the name into the currently open file because of this :-P
@Ekin I have that particular annoyance as well, but with other things
especially with phpstorm being slow and switching focus only after having loaded something or such
I've been only suffering from this input focus issue and the default IDE font size being utterly small
@Ekin uhm, I have the opposite issue, the defaults being too large for me :-D
I tried to do the 'use custom font' setting but whatever font I select, all the text gets effed up :-P
reduced font size to 9, then it was fine on Linux
17:32
really? lol :-D
not kidding
I'm annoyed when I have less than 60 lines of code on a screen
how are you even supposed to read an a bit bigger function with a loop if you can't see the whole loop?
Wes
Wes
superuser.com/questions/1507306 prepare yourself for some major annoyance @bwoebi
GD Installation documentation wrong since pkg-config – #78928
Wes
Wes
i need to update soon to 1909 and hope they fixed it
man i am super crippled
i.sstatic.net/pAL8b.png look at the diff in font size between two windows
especially the favorites, structures etc bit
it's all text for ants :-P
Wes
Wes
17:45
i don't get it @Ekin
you can customize that
i think, but the tabs always have been smaller i think
but i am probably not understanding
yeah the problem is when I tried to do so by selecting the same font, bigger font size, all the text gets effed up
Wes
Wes
how?
actually wait, if I select Noto Sans, which is the default selected for me when using Darcula theme, all is fine
any other font and I have borked texts
Wes
Wes
borked how? make a screenshot :B
it's basically not clear, kind of fuzzy
17:53
@bwoebi I have really bad eyesight. :S
I typically have to make font size bigger in IDEs and text editors. Or I zoom in.
Wes
Wes
18:10
@Ekin is it fuzzy in that png?
looks like bad cleartype setting in windows :B
no that one is Noto Sans, font size 12 which is default. fuzzy thing happens when I select eg. Ubuntu or something else
it's like it kills all the anti-aliasing :-P
18:27
PDO Sqlite not close connection after destruction (windows only) – #78930
Cookie value parsing. Valid character changed into invalid. RFC6265 RFC2616 – #78929
18:50
Was adding caching_sha2_password to mysqli done, or is this just a fluke?
1
Q: Does mysqli have support for caching_sha2_password in PHP 7.4?

MindingWhen I tried upgrading from PHP 7.3 to PHP 7.4, I received this error: Unexpected server response while doing caching_sha2 auth 109 As I see it, this indicates that PHP 7.4 MySQLi is trying to use the caching_sha2_password plugin. This article points out that PHP MySQLi does not support the...

Weird that it's not part of the release note then. That would be noteworthy
What book should I read next?
@Machavity Guess so
19:17
> Liskok substitution principle
19:32
@PeeHaa I think I see why. It was discussed on GitHub, but apparently only considered a MySQLND improvement
yo good ol php mantra
It doesn't work that well so just not document it
But enough about UTF-8
19:57
NTS and TS version of PHP produces different output – #78931
20:51
the documentation for phpdbg is at book.phpdbg nowadays, is that right? /cc @Joe
asking because, this link seems to be dead
21:32
mysqli_prepare oddity – #78932
What's the best way to create an uint8_t* buffer from a PHP string using FFI? Currently I have the following and then a cast:
    private static function createBufferFromString(string $value)
    {
        $buffer = \FFI::new(\FFI::arrayType(\FFI::type('char'), [\strlen($value) + 1]));
        foreach ($buffer as $buf => $_) {
            $buffer[$buf] = $value[$buf] ?? "\0";
        }

        return $buffer;
    }
It works, but there must be a better way than assigning each char separately...
Functions directly taking char* can just accept a PHP string.
cmb
cmb
21:52
@Ekin, yes, phpdbg documentation has been moved to PHP manual, but certainly needs improvement.
@kelunik, can't you use FFI::memcpy()?
@cmb Shouldn't we just remove the entire readme from there? cc @Ekin
fix it fix it fix it @Ekin
cmb
cmb
ack, README should better be removed
@Ekin @Ekin @Ekin @Ekin @Ekin @Ekin
:P
:-P
@cmb Yup, just realized this after reading the RFC another time. It's slightly faster now, but I expected the difference to be greater. ^^
21:56
Isn't there explicit mention that FFI is only slightly faster than native PHP?
I think it's point is more linking C libs without the need to code an extension
Depends on what you're doing.
Also am I the only one who thinks the SPL internal code is horrifying?
@Girgias If the c part does a lot of work itshould be faster
@Girgias Anything spl is terrible
@PeeHaa that does make sense
Presence of a destructor affects garbage collection – #78933
21:57
As with anything starting with s
@PeeHaa trying to make it a bit less horrible by converting warnings to Errors :p
s stands for stupid
smtp
soap
spl
:)
str_* :D
I think there are also a lot of internal InvalidArguments exceptions thrown in SPL which should just be converted to ZPP so that it throws TypeErrors ....
cmb
cmb
22:02
Don't forget to list snmp! Does anybody use that?
Last time I used it I was working for a hoster :-)
But yes :D
cmb
cmb
@kelunik, the perf diff might be minor, because PHP can actually be quite fast.
Also, consider reading the docs (https://www.php.net/manual/en/book.ffi.php) instead of the RFC.
Honourable mention to: shmop, sysvem, sysvsh, and sysvmsg
Oh ffs George
I've been working on master and not a feature branch
Well time for my usual git magic to unfuck my stupid mistakes sight
@cmb I've already cut the execution time by half now, will need to have a look at the memory usage.
@kelunik Is that amp related?
22:07
@PeeHaa Yup, hpack using nghttp2 instead of our own lib.
cmb
cmb
also sqlite3 – API is borked
@kelunik oooh that sounds like it might actually be pretty useful \o/
@PeeHaa The most annoying thing about our implementation is that it takes about 33 MB of RAM for the lookup table. ^^
@cmb you know there is one thing I'm scared of, is looking at DB driver code to see if I can promote some warnings to Errors :|
But a lot of other extensions to fit that bill to actually
Just download more ram
cmb
cmb
22:10
@Girgias, DB in general, or PDO or even DBA?
DB in general
I haven't looked at the code yet
But my only experience is looking a bit at DBA when I was doing my docref2 conversion thing
cmb
cmb
22:23
Maybe hardest thing with touching DB code is that you hardly can test sufficient combinations of DB versions. DBA is a particular disaster, and MySQL might even be worse nowadays (mysql, mariadb, percona with different versions, and libmysqlclient vs. mysqlnd; and if you touch mysqlnd, need to check mysqli and pdo_mysql). ODBC seems to be a lost case in this regard.
tl;dr we're allfucked
Just drop all the DB extensions /s
DROP FROM php-src WHERE 1=1;-- \o/

« first day (3340 days earlier)      last day (1829 days later) »