« first day (3678 days earlier)      last day (1495 days later) » 

00:47
 
2 hours later…
03:12
how do u guys embed question like that ?
 
6 hours later…
user13780186
09:42
hello
wow, what is this chat feature? is this downvoting realtime simulator?
@rickvian Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
10:05
what type has the data transmitted to the server using Jquery ajax function, for example this one
function upload_postdata() {
    let input_text = $("#input_element").val();
    return $.post('/upload_columns',{
        data: input_text

    });
 
4 hours later…
14:22
@BTVS Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
@BTVS 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.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
1 message moved to Trash can
Hi,I am new to work with promises,can some one help me to understand How to save the value from response and use it in call back function
    function newcustomerList(name) {
              console.log('Hello ' + name);
            }
            function processUserInput(callback) {
              return new Promise(function (resolve, reject) {
                let temp = chai.request(v_host)
                  .get('customers')
                  .auth(v_username, v_password)
                  .then(function (res) {
                    name = res.body
                    //console.log(newcustomerArrayList)

                    expect(res).to.have.status(200);
I am expecting a output 'Hello +response from request'
@SkyRar Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
1 hour later…
15:58
Hello
@cyrillegate Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
@BTVS I think you are mixing some things up, f.e. see jsfiddle.net/8n0cxybp processUserInput() returns a Promise and the first callback passed to .then gets the result you are "sending" with resolve, the next .then gets the result of the one before (f.e. see jsfiddle.net/8n0cxybp/1) and so on
Hello everybody, I have error 404 bad request error when I do POST with Axios in Django and React app, I tried some solution, but anyone didn't solve my issues, please help , this is my question link in stackeoverflow : stackoverflow.com/questions/64769284/…
@BTVS you can put resolve(name) in .then from authentication, no need to explicitly pass a callback along except for if you need it for something else then promise solution
16:16
Hello
16:40
@cyrillegate there seem to be multiple problems, the unhandled promise rejection probably comes from the Typo Catch(...) which should be catch(...) and that was the easy one.. 400 Bad Request probably comes from Django, meaning: check your server logs.. and last but not least the access control check for that js chunk from localhost:3000 fails because your js/app is loaded from 127.0.0.1:8000 which does not seem to be in the allowed origin list and obviously is not same-origin either
Basically.. too much for a single question, try to break it down and fix each error separately.
 
2 hours later…
19:04
For anyone relatively new at web design- javascript, html, css, I recently made a new room under the name ameteur web design, and i could really use some acivity.
@LlamaButt Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
19:48
Is anyone good at recursion?
20:46
Is anyone good at recursion?
 
2 hours later…
22:56
Perhaps a silly question, but I happened to notice that Slack is throwing a load of info into the dev console via gantry-shared on pretty much every action you take (or you don't - if it is just scheduling a new check for new notifications, for example). I can't find a whole lot of info on this - is this normal or a potential security issue? Has it always done this?
I'm intruding from Python, but it seems a bit like leaving a server in dev mode, which is a potential security risk. I've tried multiple other sites and haven't yet seen something similar
23:18
posted on November 10, 2020 by Danielle Adams

Notable changes events: getEventListeners static (Benjamin Gruenbaum) #35991 fs: support abortsignal in writeFile (Benjamin Gruenbaum) #35993 add support for AbortSignal in readFile (Benjamin Gruenbaum) #35911 stream: fix thrown object reference (Gil Pedersen) #36065 Commits [9d9a044c1b] - benchmark: ignore build artifacts for napi addons (Richard Lau) #35970 [4c6de854be] - benchmark:


« first day (3678 days earlier)      last day (1495 days later) »