« first day (3853 days earlier)      last day (1091 days later) » 

10:00 PM
To be precise
 
ah right did you somehow clobber the middleware stack or something?
 
It only mentions 3 middlewares needed
But in reality, you need 5 middlewares to make it work.
Correction: 6
 
direct vs indirect dependencies?
 
10:01 PM
It should be a direct dependency
Because the issue was in the auth module
It uses HTTP Only cookies.
 
is the "auth module" not an object with its own deps?
(I rarely use web frameworks and I think in composer)
 
Basically, the dependencies are installed.
It's built liek a separate package too.
You just install it on the framework to enable it.
Do a bit of boilerplate config as outliend in the doc
And it will start working
 
yeh I would deffo expect that to pull down all the deps, if it doesn't that is a bug
 
It did pull all deps.
But the dependencies werent activated.
If you feel me
 
kills self
:-P
 
10:03 PM
Literally, no where in the docs/issues
What I did is mentioned.
Everyone keeps screaming: "use the web guard, it fixes it!"
I'm like no, it's an api, it uses the API guard :D
So I dug deeper onto the Web Guard and found these middlewares somewhere deep in the framework, and figured out these are needed.
Tried it and worked.
So literally, no one in the maintainers team gave the solution to anyone, the community came up with the idea to use the web guard instead since it worked. Luckily for me, since I was tempted to do that as well, it didn't work for me either because it had certain middleware it shouldn't have for an API
 
yeh see that doesn't feel right :-P
 
Laravel used to be known to have the best documentation.. ever. Disappointed.
 
in general when I feel like I have found something obvious, it's because I missed something more obvious
 
True hahaha
Literally when I found it, I was like... bruh... arent the coookies already queued?
 
@DaveRandom kind of feel the same with George Carlin. I wanted to link one of his standup routines to someone a while back, but then re-watched it and was liek "eh...wait..."
 
10:07 PM
You'd assume after having configured a huge ass cookie file
For the framework to automatically handle everything else for you - generally thats how frameworks work
And if not, mention the thing in the docs somewhere.
0
A: Laravel Sanctum keeps returning unauthenticated

Hassan AlthafSOLVED. Goto your Kernel.php, under API, set these middlewares: 'api' => [ \App\Http\Middleware\EncryptCookies::class, \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSession::class, \Laravel\Sanctum\Http\Mid...

Hopefully my answer to my own question will help others out.
 
@Tiffany yeh I find this difficult... there is much TV comedy particularly 1970-1990 which is absolutely excellent, but is unambiguously not OK. I don't really know what to do with this
 
Please view that question thread so that it goes up in the SEO
Make it a trending thread
 
Like, to pick a name out of the air, a significant portion of Monty Python is not OK, not even ironically
 
@DaveRandom Btw, you should remember me, although it was like around 2014-2015
 
it doesn't stop it being funny, but it also doesn't make it OK as a universal joke
 
10:10 PM
The annoying kid who kept asking people to suggest a project to improve his skills
 
@HassanAlthaf to be completely fair, there are a lot of people like this :P
you're not the first, and won't be the last (sorry)
 
Well yeah... I owe whatever skills I have acquired to Stackoverflow.
 
@HassanAlthaf tbfI did see you and think "I'm sure I know that name"
 
There we go!
 
:P
 
10:12 PM
I was pretty active when PatrickLouys was around
And AnthonyFerrera idk if I spelt his name right
 
@HassanAlthaf same for me, I would not have my current job if it weren't for r11
 
in fact didn't you used to speak to teresko a lot?
 
Yes, teresko! I remember that name
 
Patrick has vanished :(
 
teresko and patricklouys were literally the best people I have met.
 
10:12 PM
I tried DMing him on twitter like a month ago, but nothing
 
They helped my coding skills alot
Do you guys still hangout here? everytime I come here its dead.
 
I am hoping he's just vanished off the internet, and nothing worse has happened.
 
Or did y'all shift to shitcord
 
@Tiffany he's not been active on twatter for ages, I have wondered about him a few times :-/
 
Hope he's well, miss that dude.
 
10:13 PM
@DaveRandom he hasn't been active on anything for ages
 
He was supposed to release a book
 
he did :P
Professional PHP
 
iirc he had some github activity when I looked him up, though that may have been a couple of years ago now
 
That repository right there from him
Changed my life.
you know i used to be that 14 year old kid who used to re-invent the wheel everytime
Didnt know what a router was
 
10:14 PM
I reached out to him on some platform but he never responded
He disappeared slowly though, he didn't disappear from all platforms at once
 
Probably got burntout on stackoverflow
 
I have occasionally thought about the idea of setting up some sort of next-of-kin service for online communities, not sure how that could be orchestrated and I think too dark for me
 
and decided to ignore everyone from there
 
hopefully
 
He also abandoned his Reddit and Twitter I think it was
 
10:15 PM
I know I did get burntout from stackoverflow a few years ago
 
But, his Reddit he had some comments a year or so after he abandoned everything else
So I think he just stopped interacting
 
Trying to help people who dont even understand what an if-statement is
 
@scorgn that at least is good to know
 
There we go
 
10:16 PM
while the convo in melancholy af, open.spotify.com/track/…
E_REPEAT
 
He was around a year ago.
I hope he is alive @Tiffany @DaveRandom
 
or at least nothing bad has happened, that he's doing well somewhere else
 
But I feel like he's the kind who'd cut himself off from the society and take a break in somewhere remote just for the adventure
Patrick looks like a guy who loves adventure if I understood him well
Unlike us who sit on our fatasses all day typing code and screaming
 
@HassanAlthaf this
6 mins ago, by DaveRandom
I have occasionally thought about the idea of setting up some sort of next-of-kin service for online communities, not sure how that could be orchestrated and I think too dark for me
 
Wouldn't work.
Too much anonimity :D
 
10:21 PM
I also miss @Fabor, though I believe he is alive and well as I spoke to him ~6mths ago
 
he's @PeeHaa's boss
 
Is PeeHaa still around
 
@HassanAlthaf yeh but I would be prepared to leave emergency contact details with trusted folks
 
Probably hates me still
 
not sure how that would work tho
 
10:22 PM
:D
Hey, why'd you star that :(
 
@HassanAlthaf sure but not as much as himself so you are good
oh no wait that's me
 
Not sure if I should laugh or feel pity
 
or fill pita
 
Sounds like a plan
 
@DaveRandom Just casually mention to someone you know "If I ever die would you let SO and Twitter know?" :p
 
10:23 PM
go with that latter - just have a kebab
 
Yeah, craving that.
I'm missing malaysia, the kebab there was amazing.
fk lockdown, lost my job opportunity in there, had to come back after graduating.
 
I still have yet to try kebab
 
now im back to my parents home (i'm roughly an indian so staying with parents is normal even if you're 100 years old if they are alive)
 
@scorgn basically yeh :-P tho I was thinking more like a service that is authorised to post a message to your services that someone else has control of? basically a "big red button" with a lot of fail-safes and very cancellable
 
miss my freedom when i used to live by myself
I could play Rebecca Black - Friday all Friday while I code, and no one would say anything
Not saying I would, just saying I could.
 
10:25 PM
@DaveRandom you just need to explain musichall tradition, cockney-ism, and the vast wasteland that was the pop music scene of the late 70's, early 80s.
 
@HassanAlthaf and should.
 
I see what you did there.
 
but won't
 
Now we already composing poems
 
"If you are reading this, I am dead. Here are some words from the deepest part of my heart that I couldn't say when I was alive..."

"Whoops sorry guys I'm not dead I just woke up late"
 
10:26 PM
composer install room-11-php/rebecca-black-poem
someone make a package that just returns what we just said
and make it the most starred message in the group
:D
 
"Here are some words from the deepest part of my heart that I couldn't say when I was alive..."
*farts*
 
@Danack OK... plan B... a Bobby Darin showcase?
 
Btw, I need your guys opinion
So basically, im working on a dashboard
fetching data from a live event: basically, the api service calls our endpoint
and from there, i was planning to emit an event using a websocket
for the frontend to know there's a change
and fetch the data
is there any better way to go around this?
 
@HassanAlthaf You don't want to make a socket call in an endpoint
 
well technically
the updated data gets passed to our endpoint from a thirdparty
 
10:30 PM
technically that is blocking, so it's a no
 
so i'd process it, save it
when save is complete
 
@DaveRandom nah, Bobby was trying to be cool. Chas + Dave were trying for nostalgia.
 
write to a fast messaging queue or whatever
 
i can call an event onUpdate
you think i should store the data on redis?
but dont think its a good idea for the frontend (SPA) to know how to access my redis :D
 
dont call to anything that may be blocking from a controller
 
10:31 PM
its not blocking, no.
 
I'm talking about PHP here
 
@Danack "trying to"?????
 
it just emits an event in a queue
 
:-P
 
just fire up a service worker using just one command
and it will take care of the queue, and call the events
 
10:32 PM
@DaveRandom explain it as a version of Mungo Jerry that has moved 150 miles east.
 
and the websocket listener on the frontend could pick it up
 
I wish to strike you of course, but you speak the truth
 
and reqest the new data.
 
/because that won't raise many further questions.
Most of which can actually be answered by a Todd in the shadows video.
 
@DaveRandom he's doing okay I believe :-) we work together in the same team (him, peehaa and me) and afaik he's planning to move to a new apartment, still living in Japan
 
10:36 PM
I mean "still alive" in and of itself is nice to know :-P
tell him to show up here less-occasionally :-)
 
yeah, will definitely do that 'morrow when I'm back to work
 
@Danack I think this "An intersection I_1&...&I_n is a subtype of J_1&...&J_m if for all J_k, I_l is not a supertype of J_k" should be equivalent
 
@DaveRandom so strange that a young man in a far away country would have better things to do in an evening than talk about PHP....
 
"young"
that's right @Fabor I know you are reading this and I am trolling you async.
 
10:56 PM
so, since I rarely learn, I decided to kick the can of worms and update them node packages
 
sudo npm cthulu
 
11:17 PM
it haven't crashed yet, I guess all is going well
 
this english doesn't working though
 
before anyone gets pissy with me for taking the piss out of a french person's English, he can't french either
/runs away
 
hahaha
but which sentence, the it haven't crashed one? it looks good, no?
 
to be clear as well, haven't vs hasn't, singular vs plural of the possessor
they have not, he/she/it has not
 
11:26 PM
wow that's glaring
and y'all were about to let me speak like that forever?
 
yeh I mean I only feel comfortable pointing that out because I know your English is essentially native :-P
 
english really needs a gender-neutral singular article :-/
I don't like "they" it's very impersonal
 
well, at least you have one, in French there are no singular they equivalent
we basically say both his and hers + whatever resulting gendenrification needs to be added to the following words
 
yeh though you have "true neutral" in a sense, in that inanimate stuff is gendered
 
11:33 PM
What up homies.
 
the whole thing is basically a pile of shit
@SalOrozco lol hi
 
lol
 
@DaveRandom yeah, even inanimate stuff have a gender, but I don't particularly associate that with any definition of "true neutral" I can think of
 
this chat is dedicated to explaining shit to computers, explaining shit to humans is beyond our remit
 
11:35 PM
good point, let me go fetch beer
 
sold
 
/goes
(as in beer run, not like fridge run)
 
open.spotify.com/track/… right as this kicks in
 
yeh, I'm not touching that with an entire reel of ethernet cable
 
11:49 PM
on a somewhat related topic, I will have to implement a way for some users of our website to signify their belonging in diverse groups. does anyone know of blogposts or anything with advices on how to be sensible to people while programming that?
 
@DaveRandom "one's computer has not crashed yet."
 
one will enjoy that mental image of the future for some time to come
@FélixGagnon-Grenier I feel like maybe a community audited tag system a la stack overflow question tags in the old days when it worked?
but that is a middle class white English dude pissing in the wind
would deffo need some seriously watchful non-community mods
and please avoid all of the vaguely clbuttic traps
 
possibly. I was thinking like text fields all around, and see how it goes
 
other than that.. <duncan_bannatyne_im_out.png>
 
@Girgias "not a supertype" when we move to a better platform for RFCs, one thing that would be nice to be able to add is some links to what that means...really not sure how many people a i) going to understand that ii) bother to google it.
@FélixGagnon-Grenier the answer will depend on "why do you need that info"?
 

« first day (3853 days earlier)      last day (1091 days later) »