« first day (3838 days earlier)      last day (1093 days later) » 

5:11 AM
Hi All,
is there a way in Facebook API to get a new Long Access Token if the previous long accessToken has expired
i dont want the user to do the authentication process all over again.
 
 
2 hours later…
6:57 AM
@TheJOKER use the refresh token
 
7:17 AM
Hey.
 
@UmairRiaz 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.
 
Anyone knows how to convert an array to hashmap using immutables js and how to update it later so the reactjs can detect the change in hashmap.
 
7:34 AM
@UmairRiaz there are lots of questions in one message :D
 
:-D I am very stuck please help.
 
> Anyone knows how to convert an array to hashmap
this is covered in the documentation of immutable.js Reading documentation is an important skill for developers. Please try to use it.
> how to update it later
 
I want to convert array of objects to map
 
the purpose of something being immutable means that it can not be altered later
if you want something to be adjustable, don't use immutability or copy over the contents
what Immutable.js does is to copy over everything and adds a new element if you use .set() function
again, check the docs
 
Let me explain then.

I have an array of a large size..
I have to change it again and again. I don't want to be it in the array as it will regenerate the whole array.
 
7:37 AM
what do you mean with "regenerate"?
 
Means changing the array and then reReference the whole array so the reactjs can get the change trigger in array.
 
ah
js has many ways to detect changes in an existing array.
by using proxies or a separate function (use a class) to manage your observable collections
 
7:53 AM
But changing in an array may consume more memory and may be its complexity is upto n because i have to search for and id for the object of array and then update it.
 
you can update by index?
array[index_of_obj] = updatedObj
has barely perf impact
use findIndex
|| mdn array.prototype.findIndex
 
that does not work if the array is immutable ofc
 
8:16 AM
I can update by index by finding the index will consume the memory again.
Can you suggest to me the best solution then?
Not using immutables.
 
8:44 AM
@KarelG Facebook dont return the refresh token
im using the refresh token logic for googleapis but its not the same for facebook.
 
Sam
Morning all. One for React native devs: is it possible to persist the keyboard open view with the KeyboardAvoidingView component. reactnative.dev/docs/keyboardavoidingview
 
 
1 hour later…
10:05 AM
.
 
@A-Tech 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:21 AM
@JBis ^ The rules are offline
 
@Cerbrus Made an issue
 
Where?
 
@Cerbrus Nvm I opened an issue on the bots page
I'm gonna get some coffee
 
10:47 AM
@Cerbrus yep, will do thanks
 
italiano sigareto
 
@FatihAkgun 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.
 
11:34 AM
Trying to add different set of classes to an element depending on variables, so for example the simplest way would be: <div className={`input ${visible}`} />, but it turns out that I'm anal, and don't like the space that is there if visible is empty...
 
@TheJOKER they changed that. It has been a while when I used fb
 
|| sudo restart
 
My life has come to end. I hope to be revived soon.
 
|| welcome Cerbrus
 
@Cerbrus 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.
 
11:46 AM
That's better
And thanks for the welcome, I'll try to behave :V
 
:D
 
I was testing it and I just realized that we did not took time to work on the FAQ and resources
aint we lazy :D
 
 
3 hours later…
2:44 PM
Good morning
 
That depends on your perspective
 
also... today I figured out a system-level exploit to run any command with elevated privaledges
on a windows system with tons of group policy restrictions
and a firewall
/shrug
weird asf thing aswell
 
"Good morning" --> "Today I figured out"... Mate, did you sleep at all tonight? xD
 
@Cerbrus I sleep, but my brain still works full time
I often stay awake till like 1am
just thinking about my next project
how I could improve my code
etc
 
1 AM? Those are rookie numbers :D
 
2:46 PM
Oh Ive pulled all nighters
I just tend not to anymore because I have to wake up at 5am to get to school
also... here
see? I ran a command through a CMD shortcut with elevated privaledges in System32....
Right before its disabled
Weird little exploit, but that essentially will let me do anything
/shrug
totally unrelated to JS, just had to share
straight up... it lets me run any command
weird
 
 
1 hour later…
4:11 PM
everyone dead today or something?
or super sleepy?
its a monday aswell, so its even stranger
 
|| shrug
 
¯\_(ツ)_/¯
 
noone interesting is chatting
 
Am I not interesting :(
RIP
 
 
2 hours later…
6:11 PM
I got a pretty sweet "laptop" today, youtube.com/watch?v=qJq-CGjEVQU
(not me in the video). Can play modern AAA games and do some dev on the go ;)
Was looking at the Aya Neo and GPD win 3, but this guy has a keyboard and a decent size screen + decent specs. Pretty cool we're living in an age where these form factors are possible
 
 
3 hours later…
8:50 PM
That's quite a lot of money for something off of AliExpress o.O
 
9:16 PM
!!assassin or occultist
 
occultist
 
Hey I got it from Amazon! :p
Aliexpress is too hit or miss for me to spend that kind of money.
 
9:58 PM
posted on April 19, 2021 by Krishna Govind

Hi everyone! We've just released Chrome Beta 90 (90.0.4430.82) 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. Krishna Govind Google Chrome

 

« first day (3838 days earlier)      last day (1093 days later) »