« first day (3950 days earlier)      last day (1220 days later) » 

03:32
can someone please explain how google.com (on a web browser) in private mode using a VPN knowns my exact GPS location?
Not logged in (obv as i am in private browsing mode)
 
1 hour later…
04:55
In table tag if I mention some Id, example, <table id='tb'>, I don't need to use getElementById('tb') to get the element. If I do console.log(ta), it shows result. How it happens? Where can I find the description?
Sorry, console.log(tb)
 
2 hours later…
07:10
G'morning
@JBis Which browser are you using
Because if it's chrome, there's your problem right there
Anyone using Cypress for testing and got expected [] to equal []? Howtf is [] not equal to []?
07:39
@JBis Desktop or mobile?
@Squirrelkiller Because two different objects are not equal to each other, even if the content is the same
||> [] === []
@VLAZ false Logged: [ ] Took: 0ms
07:51
Oh, strange
Hoped there was a distinction between equal and same^^
08:44
For objects equality is identity. For primitives, the comparison is by value. In fact, it's the same for objects. The value of an object is its reference. Not the content that sits behind that reference. Hence why comparing objects is only true if they are one and the same.
1545
Q: Is JavaScript a pass-by-reference or pass-by-value language?

Danail NachevThe primitive types (number, string, etc.) are passed by value, but objects are unknown, because they can be both passed-by-value (in case we consider that a variable holding an object is in fact a reference to the object) and passed-by-reference (when we consider that the variable to the object ...

Damn, hoped arrays would have some kind of special treatment there.
Nope, arrays are objects.
 
4 hours later…
12:59
@VLAZ @Squirrelkiller mobile safari
 
2 hours later…
15:18
 
2 hours later…
17:28
folks, can we please protect Check if a string is a date value? They keep beating the dead horse over and over by rehashing same answers when everything that there is to be said is exhausted twice over. See most recent answer. Not sure if it worth raising a meta
Done
@Cerbrus thank you :) Those old prominent Q&As are like honeypots...
That new answer is also incorrect
@Cerbrus yup :) I wonder if they even know about isNaN or Number.isNaN
They probably don't
17:39
oh, they do! Now, I guess
18:00
14 hours ago, by JBis
can someone please explain how google.com (on a web browser) in private mode using a VPN knowns my exact GPS location?
Still very confused about this
seems to only work on mobile interestingly
What device?
iPhone Safari Private Browsing
Hm
Yea that seems impossible
Maybe some kind of permissions still work then?
Oh I'm an idiot. Apparently I allowed it to request location without asking.
Ah :D
18:05
No idea why I didn't check that before
 
3 hours later…
20:38
Any DynamoDB expert here?
I have a table in which there is already "userId" column (set as partition key) and createdAt column (set as the sort key), I also need the "id" to be able to find the exact row in case, I don't have a user ID available. So I made the "id" column as global secondary index. Is that ok, or should I change the partition key to "id" in my case?
Any chance someone could give me an idea of how to do this?
("Extend the add() method by a fileobject parameter")

https://aimeos.org/help/post15348.html?sid=70de4967bea8e4f38af9a11997915b3a#p15348
@BradAndrews 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.
 
3 hours later…
user16466354
23:19
@Microloft When you can, can you show me how to do what you suggested. I don't know how to implement that in the code.

« first day (3950 days earlier)      last day (1220 days later) »