« first day (3789 days earlier)      last day (1142 days later) » 

1:16 AM
Anyone ever learn two langs simultaneously?
Trying for rust and go. Basically writing each problem in both langs.
 
1:32 AM
does anyone have a good project to put on my portfolio ?
 
@ProClasic 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:51 AM
@ProClasic wdym? usually you put your projects in your portfolio
 
2:07 AM
i mean i need project ideas
 
2:21 AM
build a project idea generator
 
2:51 AM
holy heck why didn't i think of it.....
 
user13658312
.
 
@NeutralMe 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.
 
user13658312
anyone knows how to get response result current status in js using XMLHttpRequest
 
10:25 AM
@NeutralMe xhr.readyState ?
(if you want http code, you can use xhr.status )
 
 
3 hours later…
1:39 PM
i was liking go until i learned the formatter uses tabs
 
 
2 hours later…
3:09 PM
o/
 
 
1 hour later…
4:22 PM
@JBis Embrace the clearly superior whitespace
Hmm, didn't work too well. The "spaces" in the above message were actually tab characters. I expected more when posting it.
 
lol
 
ThW
lol
 
I got an (node:10049) UnhandledPromiseRejectionWarning: Error: I was calling a asinc function inside another async function
is there a time out catch if a promise gets not returned without a catch block ?
 
4:43 PM
?
 
no
promises are either resolved, pending, or rejected
they don't auto-reject after a period of time
 
||> await new Promise(() => {});
|| status
 
I am currently alive!
 
!!echo status
 
status
 
4:47 PM
Error was I did not use the await keyword , what I dont get If I have two async functions and call that first async function in the second async function , why do I need to use await again ?
 
if you don't use await, your function will return a promise
not the value it resolved with
Are you sure you are seeing an error, and not a warning?
There's nothing wrong with calling an async function without await, assuming you understand the implications of doing so
 
indeed was a warning
 
for example, if you wanted to call two async functions in parallel without waiting, you'd need to call them both without await, and then pass their returns to Promise.all() to know when they're both done
 
good to know, I got it now I got a Unhandled promise rejection , I called a async function inside a second async function and forgot to use the await keyword , the promise was not returned so it gave me this Warning because I had a used a throw new NotFoundException instead of a .catch()
 
5:27 PM
hi, is there a way to only receive the data without sending anything in vanilla javascript AJAX?
 
wdym
like, the server sending data to the client without the client asking for it?
 
@KevinB No I mean I am trying to get the data from server without sending any data. I mean to only read the data?
 
wanted a open a pdf document, but getting this error in ionic 4 :
SitewaertsDocumentViewer.viewDocument():  {"message":"invalid file url 'assets/pdf/policy-statement.pdf' or no viewer for mime type 'application/pdf'","details":{"status":0}}
 
Hey guys, wanted to thank you all the ones who helped me for the past few days. Heartful thanks for you all. I just submitted the project video with a short demo of it, that folder image finder
@JBis, @makadev, @KevinB thanks you once again. I am sorry if I I just failed to mention someone. My memory isnt that great
 
sounds like a GET request
get requests don't send anything, they just request info from the server.
at a particular address
 
5:37 PM
Hi everyone
 
My apologies if I have been unclear to you or made some annoying disturbances. I was in a hurry to finish it off since the deadline was near and man i literally wasted a month and just was able to make it look work in last two days
@KevinB then should i keep the xhr.send() empty?
 
I'm trying to port my Nuxt.js App to a subdomain on Apache in Ubuntu
I tried many solution from Internet but I couldn't do that
Can anyone help me...
I created a file with a name such as seller.example.com.conf in /etc/apache2/sites-available/ path
 
@RifkyNiyas Either do a GET (a GET requests sends no data) or open a web socket between the client and server and push data from the server.
 
And I added the following lines in it:
<VirtualHost seller.example.com:80>
    ServerName seller.example.com
    ServerAdmin webmaster@example.com

    ErrorLog ${APACHE_LOG_DIR}/seller.example.com-error.log
    CustomLog ${APACHE_LOG_DIR}/seller.example.com-access.log combined

    ProxyRequests off
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    <Location />
        ProxyPass localhost:3000
        ProxyPassReverse localhost:3000
    </Location>
</VirtualHost>
 
@MRS1367 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
 
5:46 PM
But it doesn't work
My Nuxt.js app is running on the localhost:3000 address and I want to port it to seller.example.com address
Thanks in advance to those who will help me
 
@MRS1367 apache is such a pain, if you are just getting started with this i'd suggest nginx
 
Hi @JBis
 
@MRS1367 i don't think you want proxypassreverse, just proxypass
 
@JBis According to our company policies, I have to do this on Apache.
@JBis Thanks I try it now
@JBis And so, my codes is correct?
I tried your solution but nothing happend
I always face with the following error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
 
go to logs and figure out where you messed up
 
6:03 PM
@JBis OK...
I must add location to my Nuxt.js app?
My App path is:
/home/market/seller
I must add location to my app root folder or app build/dist folder or not?
 
no
 
6:25 PM
Thanks
 
6:38 PM
posted on March 01, 2021 by Prudhvikumar Bommana

 The Beta channel has been updated to 89.0.4389.72 for Windows,Mac and Linux. A full list of changes in this build is available in the log. Interested in switching release channels?  Find out how here. If you find a new issue, please let us know by filing a bug. The community help forum is also a great place to reach out for help or learn about common issues. Prudhvikumar Bommana

 
 
2 hours later…
8:12 PM
tell me when you see the problem
 
8:34 PM
I see 3.. CSS, Perl and VB actually being on a list of what looks like "active programming languages"
 
8:44 PM
all of those numbers are far larger than mine
 
well.. that.. too :/
 
oof
alright im off cya o/
 
cya
 
 
3 hours later…
11:56 PM
posted on March 01, 2021 by Ben Mason

Hi everyone! We've just released Chrome Beta 89 (89.0.4389.72) for Android: it's now available on Google Play. You can see a partial list of the changes in the Git log. For details on new features, check out the Chromium blog, and for details on web platform updates, check here. If you find a new issue, please let us know by filing a bug. Ben Mason Google Chrome

 

« first day (3789 days earlier)      last day (1142 days later) »