« first day (3742 days earlier)      last day (1428 days later) » 

01:08
posted on January 13, 2021 by Prudhvikumar Bommana

 The Dev channel has been updated to 89.0.4384.0 for Mac, 89.0.4385.0 for Windows and Linux. A partial list of changes is available in the log. Interested in switching release channels? Find out how. 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. Google Chrome  Prudhviku

 
4 hours later…
04:59
hello peiple
can someone help me
0
Q: Error handling token from payload persist rehydrate action React js redux-saga persist token jwt authorization headers

Dario CoronelWhen i try to set a token inside a Authorization in to headers from request it like doesnt work im using react-redux, redux-saga, to manage the store and i use persit for persist the store in the browser so when i try to make a function using a action that is generated by persist whos call "persi...

05:20
Hi All,
I'm trying to construct a regex
below are my valid formats

google.com/q=search
google.com/q=search
www.google.com
www.google.com/?search=qppoao
google.com
google.com
google.com
www.google.com
my regex handles all these scenarios, but the problem im getting is, it is also returning matched if i give
www.goo gle.com
for this it is matching
www.goo
ABC
ABC
05:41
How to fix the error cannot find axios?
 
1 hour later…
06:41
or can anyone suggest some library / npm module for the same.
 
5 hours later…
12:02
@DenysSéguret Hello there!
Long time!
also @ThiefMaster o/
Just happy to see y ou two in chat after long lol
Hi @ShrekOverflow. How do you do ?
(and how did I end up there ?)
@DenysSéguret end up where?
I do well, I moved to London 2 years ago
not a developer anymore though
I gave up to the dark side of sales, still an arch though (barely...)
@ShrekOverflow I won't lie: I tried to go to another chat room :)
@DenysSéguret which one?
The Rust one. Most of the open-source I do those days is in Rust
12:14
Ah fancy!
The most work I do these days is to tell people how to not shoot themselves or their laptop through the foot lol
but coding more again \o/
how did miaou go?
So you tell them to use Rust. I get it
@DenysSéguret Hahaha
I have adviced 1 person so far that used Rust
(much higher level of the stack)
Miaou is still running well
Same old crowd, mostly
12:16
Wow
Did you re-write it to rust or did florian re-write it in Lisp / Ada ?
I might need to pick up some Go for a startup I am formally advising
It's still the same old code, and it's very reliable as is. Apart the "Roulette" part which is totally mad,
Go is outdated. Use Rust
(hiring Rust coders isn't easy, though, it took me a year to get one)
This room looks empty. I assume everybody else moved to the discord room, right ?
@DenysSéguret no idea
I don't think I ever got the invite
my Linux box dies trying to open Discord
I use discord as little as possible because of that too. This chat is technically horrible
SO chat's biggest advantage is that its consumption is proportional to its features number
Hahaha
@DenysSéguret fair enough, I just end up here because its still book-marked as home-page. In the browser profile on chrome (pinned actually).
I see @phenomnomnominal too
ABC
ABC
12:31
Hii
I would like to ask if its required to import the image
in react
Hi @ABC - This room has been taken over by the Rust squad. You may ask your Rust question
@ABC Depends on your stack
@phenomnomnominal what is this a re-union?
How is home? (I think I follow you on the tweetosphere)
12:46
Morn y'all o/
13:14
o.o Shrek
And Denys?
Did I somehow found a Tardis? :O
13:53
Hey guys, hopefully you can help me here stackoverflow.com/questions/65703119/…
@Yotam 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.
 
2 hours later…
16:13
@KarelG I am working on a startup some hours, I'll be re-vived
\o\ /o/ \o\ /o/
is there a new place where ya'll hangout? (Until I get my Arm Mac, I only have a Linux box that kills discord)
16:51
o/
@ShrekOverflow not that i know of
we could create a discord but theres not people left in chat to join
hello'
I have a program that is supposed to automatically join me into the zoom for my online classes on time, but it just doesnt work, it appears that somewhere along the line, the a day or b day function just isn't calling, any idea why? my code is here
@LlamaButt maybe don't post all your zoom links with passwords?
good idea
could u delete that real quick i cant i dont think
@LlamaButt 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
17:04
mod ought be by soon, we can't do much more htan move it
<!DOCTYPE html>
<script>
var time = '';
function timeNow() {
  var d = new Date(),
    h = (d.getHours()<10?'0':'') + d.getHours(),
    m = (d.getMinutes()<10?'0':'') + d.getMinutes();

 time = h + ':' + m;
}
var OnlyOnce = true;

function Aday(){
setTimeout(Aday, 100);
timeNow();
alert()
if(time === '9:00'){
   if(OnlyOnce === true){
     window.open(Aclasses[1]);
OnlyOnce = false;
}
}
else if(time === '10:20'){
   if(OnlyOnce === true){
     window.open(Aclasses[2]);
OnlyOnce = false;
}
}
else if(time === '11:40'){
1 message moved to Trash can
||w3schools JamesBot
@JamesBot Don't use w3schools.
17:06
LOL
|| did you fart
Invalid command! Did you mean: die, dad, sad? Try help for a list of available commands..‍.‍.‍.‍
aww poo
||help
Command documentation and syntax can be found here.
|| sandbox LlamaButt
Please go and play in the Sandbox
17:08
|| echo Go play in the sandbox, mommy will be there in a minute
damn
ok il stop
HAMMERTIME!
wut
Okay, anyways any idea whats wrong with this code?
<!DOCTYPE html>
<script>
var time = '';
function timeNow() {
  var d = new Date(),
    h = (d.getHours()<10?'0':'') + d.getHours(),
    m = (d.getMinutes()<10?'0':'') + d.getMinutes();

 time = h + ':' + m;
}
var OnlyOnce = true;

function Aday(){
setTimeout(Aday, 100);
timeNow();
alert()
if(time === '9:00'){
   if(OnlyOnce === true){
     window.open(Aclasses[1]);
OnlyOnce = false;
}
}
else if(time === '10:20'){
   if(OnlyOnce === true){
     window.open(Aclasses[2]);
OnlyOnce = false;
}
}
else if(time === '11:40'){
the indention is inconsistent
in more ways than one
as is spacing
and function names
17:15
okay
it seems to me like all of the function names are OK
@LlamaButt do you know about return values? as in how a function can return something
so why this:
var time = '';
function timeNow() {
  var d = new Date(),
    h = (d.getHours()<10?'0':'') + d.getHours(),
    m = (d.getMinutes()<10?'0':'') + d.getMinutes();

 time = h + ':' + m;
}
good answer, i don't know either
17:27
if i knew why would i be here
Why don't you try to learn the basics of js first?
ouch \
lol
(Through a resource other than w3schools)
i know what a return value but whats ur point
My point is you should learn basic js first from a good source
17:28
Okay,
what does a return value have to do with my timeNow() function
why don't you transform that function to return a value instead of using a global var for no reason
true, true
im not joking
try it
I did, and it works like a charm. thanks! not sure why I didn't try making the timeNow ffunction return the time in the first place!
17:50
YES! I GOT IT TO WORK AFTER 5 WEEKS I GOT IT TO WOORK
YESS
congrats
getting a tricky program to finally work has got to be the best damn feeling in the world
 
2 hours later…
19:47
Hey anyone in typescript, how would I narrow "undefined" (or null) away?
what do you mean by narrow away
function foo(value: string) {}

function other() {
    let someVal: null|string = null;

    //might set someVal to a string somewhere else...

    const someValConst = someVal; // to make sure it won't change after narrowing
    if (someValConst) {
        // in flow this would narrow someValConst to not be null
        foo(someValConst) //now engine won't complain that I might provide `null` to the function
    }
}
What I do with someValConst would be considered type narrowing.
I think that you need to call in JBis, this is totally unfamiliar to me. Sorry I can't help you.
you think you can help out @paul23
what he needs help with looks to be beyond my skill level
19:56
By narrow away do you mean narrow the string down to only non-null values?
20:07
yes
user14244613
Is it possible to check if a URL parameter = a json key and then if it does, show the value of that key in the html?
@lewism6678 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.
sure
user14244613
Here is the full question in case anyone has some spare time to help me out: stackoverflow.com/questions/65709144/…
20:56
posted on January 13, 2021 by Srinivas Sista

 The Beta channel has been updated to 88.0.4324.87 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. Srinivas SistaGoo

Hey does anyone have any idea what is wrong in the code here? I'm receiving this error: `Invalid hook call. Hooks can only be called inside of the body of a function component.`
https://codepen.io/yotking789/pen/VwKVvXp
But all hooks are inside the function
 
2 hours later…
23:02
posted on January 13, 2021 by Bindu Suvarna

 Hi, everyone! We've released Chrome Beta 88 (88.0.4324.88) for iOS: it'll become available on App Store in next few days. You can see a partial list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Bindu Suvarna Google Chrome


« first day (3742 days earlier)      last day (1428 days later) »