« first day (3947 days earlier)      last day (1226 days later) » 

00:15
!!stat
Username: Kevin B
ID: 172549
Reputation: 92979
Reputation Change Month: 39
Last Accessed: Thu Aug 05 2021 19:53:27 GMT-0400 (Eastern Daylight Time)
hey it still works
 
1 hour later…
01:17
good
 
6 hours later…
07:20
Good morning
It seems I solved my binding problem after all:
inner component declares both @Input() model and @Output() modelChange, template goes [(ngModel)]="model" and (modelChange)="modelChange.emit($event)".
Now, outer component can bind to [(model)].
07:40
!!stat
Username: PHPFan
ID: 2008634
Reputation: 696
Reputation Change Month: 0
Last Accessed: Fri Aug 06 2021 03:38:44 GMT-0400 (Eastern Daylight Time)
 
2 hours later…
09:58
Sometimes if feels the thought process behind some questions is:
Very often the "destructuring" is a regular object literal...
Calling fn({ foo: bar }) for example
10:21
different evaluation context?
10:33
You recently showed me I was the opposite - thinking it was an object (cuz js, right?) yet I needed more parentheses.
 
2 hours later…
12:22
Good morning
Woke up to 500 rep
 
2 hours later…
14:11
@BeerusDev I usually set my alarm to at least 630. I prefer to sleep in.
14:28
facepalm
!!stat
Username: BeerusDev
ID: 19143995
Reputation: 503
Reputation Change Month: 76
Last Accessed: Fri Aug 06 2021 10:18:43 GMT-0400 (Eastern Daylight Time)
I land my first system developer this week ,,,using js
just straight from university
Congrats
14:36
any advise ???
Damn I can not get this damn div to hide or display none.
@DanfordKija w3schools is a terrible resource. We suggest using MDN.
it is still taking up the space where I need to .show() a hidden div, can't do that
!!mdn shadow DOM
15:23
@DanfordKija oh boy
:shrug:
Fixed my new count not appending :D
15:40
Love seeing when someone thats a new user literally copies my answer almost verbatum and posts it like an hour after me...
report for plagiarism
I can't even spell... *verbatim
16:02
Why does the review queues randomly pop up red>
threshold limit
16:21
guys ...
its friday!
happy friday!
const sessionMiddleware = session({ secret: 'keyboard cat', cookie: { maxAge: 60000 }});
// register middleware in Express
app.use(sessionMiddleware);
// register middleware in Socket.IO
io.use((socket, next) => {
  sessionMiddleware(socket.request, {}, next);
  // sessionMiddleware(socket.request, socket.request.res, next); will not work with websocket-only
  // connections, as 'socket.request.res' will be undefined in that case
});
It always say session is 1 .. it doesn't save the session...
    io.on("connection", (socket: Socket) => {
                let session = (socket.request as any).session;
                if(isNaN(session.connections))
                    session.connections = 0;
                session.connections++;
                session.save();
                console.log("SSSESSSION WS",session);
    });
@Suisse Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
I can't access sessions from express? I wan't to know if the websocket request was from a loggedin user or not.. how do you do that?
idk 🙂
Happy Friday
Finished up my project. Taking vacation after today. Timing is perfect

« first day (3947 days earlier)      last day (1226 days later) »