« first day (3557 days earlier)      last day (1376 days later) » 

1:02 AM
@JBis couple minutes
For right now i found solution - to use res.write()
and finally use res.close()

is this is the right solution?
e.g res.write('finished task 2')
 
1:21 AM
@EfiGordon there's nothing wrong with it per se but there are some other methods that could work using ajax
 
1:40 AM
@JBis can you tell me more about this or give me a reference to a tutorial/example
 
1:58 AM
@EfiGordon basically you would do this:
- fetch request with the data the server needs, server responds with an id
- fetch request every second with that id to get progress and update front end progress
backend would need to keep track of progress somehow. Idk how without more info.
|| mdn fetch
 
 
9 hours later…
10:33 AM
Can XMLHttpRequest with {async: true} be used as a fallback for the fetch() interface?
 
 
2 hours later…
12:06 PM
https://stackoverflow.com/questions/62840491/angular-check-if-all-options-are-selected-to-enable-button
Can anyone look at this?
 
 
6 hours later…
6:27 PM
I'll look at it but I'm pretty new and inexperienced :)
 
@Lapys id just use a polypill
 
@Kenny.k, I'm not very familiar with Angular, so I might not be much help. :(
 
@JBis Yea but is the polyfill using XMLHttpRequest as its fallback?
 
6:45 PM
Probably but XMLHtttpRequest is a bit low level for many use cases
 
Ah, but without the fetch() function what else is there?
 
8:04 PM
Yup, pretty much only XMLHttpRequest's
 
9:01 PM
grr, Express code is so shit
its so unnecessarily complicated
 
9:54 PM
I can't help but always try to come up with my own ways to solve a problem...
but when I do I end up crying for days about how my solution ain't working
 

« first day (3557 days earlier)      last day (1376 days later) »