« first day (4187 days earlier)      last day (987 days later) » 

00:22
not sure if this a combination of my nearsightedness and/or I'm missing something, I have a file open in phpstorm, the font size of the text in the file is noticeably smaller than font size of menus and toolbars, but if I increase the font size any more in appearance, it will make the font size of menus obnoxiously large...
and I'm not thinking of the right google keywords to find out how to google increasing the font size of files but not affect menus/toolbars
Might it be that you're zoomed in too much? I know in some apps you can hold ctrl + mouse wheel to zoom
using a laptop, but I did try ctrl and + symbol, no dice
I have very bad vision, and stuff is tiny on the screen... I may need to give in and go 125% scale, but Pop!_OS can be a bit finicky with it
hrmm... if I go to Settings > Editor > Font I'm about to adjust the Size there and it seems to only impact the text in the editor
let me check
hrm... and maybe embedded terminal
00:28
aha!
I was changing the wrong value :P thanks
Awesome! Glad it worked
 
7 hours later…
07:03
I'll be appreciated if someone could help me; I haven't been able to solve this problem for a few days ):

https://stackoverflow.com/questions/71723675/laravel-unlike-the-public-channels-private-channels-dont-work
And by the way, if the question was good enough, vote it up; I've asked some unpopular questions, and this might be my last one
 
2 hours later…
cmb
cmb
09:08
@Girgias works now; the first script might have the same issue, but in any case, its return value might be ignored; you may need to chain the calls (… && …).
Oh, and could actually report the number of $fileCount if at most 128. Not sure if helpful, though.
10:02
Why do I feel this is a bug in how exit() coerces types ._. but thanks for the fix :D
 
1 hour later…
11:24
Which PHP version improved things so that gc_disable(); is no longer needed for improved performance?
cmb
cmb
11:50
@OndřejMirtes this might have been 7.3 (see github.com/php/php-src/blob/…)
Oh thanks!
12:17
Yay, my turn for COVID 😒
cmb
cmb
oh no!
Had a good run though
At least it's almost certainly the rather neutered version
Yeah, it's not too bad so far.
13:17
o/
cmb
cmb
github.com/php/php-src/commits?author=faizshukri – what's going on there? I checked several of the commits, but they are originally from Andrey Hristov. Did we get hacked again?
How to get headers which sent by guzzle it self ? the answer on the SF is the Response Headers not the Request Headers
 
1 hour later…
14:44
@cmb The commits are part of tags that go way back. Maybe it's more of a case of user/e-mail confusion for GitHub?
cmb
cmb
@IluTov ah, that sounds plausible!
\o
16:05
@Mwthreex it's been a week or two I've interacted with guzzle code and I find guzzle a bit weird to work with. With that said, make sure you're interacting with the Request object. If you're accessing the guzzle Client object, you can access the Request object from there. Xdebug or var_dump can help you rule it out
@cmb How did you discover that?
cmb
cmb
I've noticed that guy in the contributor list, and was confused.
@cmb github doesn't verify email association
So if andrey's email for those commits wasn't associated with any account yet, anyone could specify it
cmb
cmb
yeah, that's likely what happened
goes and makes sure all the emails I use for commits are registered with GH
16:17
I don't want to bother with two gpg signing keys for emails, so I just use my PHP for gpg... which all of my GH commits end up under...
GH also allows a Co-authored-by: header in commit messages, but the behavior is flaky if the commit messages contains more than just that header
I ensure to use a work-provided email for contributions to those repos
Good point, I need to add my work email to my GH
16:42
@Tiffany I haven't seen any flaky behavior there. They're trailers, maybe you've put them somewhere else into the body?
16:57
Sorry for interupt. I have a question. I'm a beginner to PHP and I wanna know that, what is the best way to give the authentication for a user to login.
At this moment I'm comparing the user inputs with his email and passwords. If that matches, I set a cookie for email and password. And afterward, user can access his dashboard.
That's not the way to go about it... it's a long story so look into password_hash / password_verify (which you should use for storing / testing passwords) and $_SESSION (which you should use for storing if a user is logged in)
tl;dr: A user submits their login id and password to a form, when you verify it's what you expect you set a value in $_SESSION to indicate it, usually their login id of some sort e.g. $_SESSION['login_id'] = 1234; and then when you need to check if they're logged in you check the value of $_SESSION['logged_in'] first
what about password? I'm directly taking the password and email. So should I store it in the session storage?
No you don't need to, all you need to know if that they've logged in.
You only need their name and password for the process of checking they are who they say they are, once you've done that, all you need to store is who they are.
cmb
cmb
17:18
^ that. And never ever store clear-text passwords anywhere (neither on the Server in a DB, nor on the client in a cookie, nor elsewhere).
17:32
@kelunik hm, I could be thinking of something else that had the flaky behavior, cause I think you're correct
@ПаванВикаситха have a look at paragonie.com/blog/2017/12/… and paragonie.com/blog/2017/12/…
The in-depth links are also helpful

« first day (4187 days earlier)      last day (987 days later) »