« first day (2601 days earlier)      last day (2572 days later) » 

16:00
that is sad
> Is it correct to say that there is a LexicalEnvironment made specifically for this expression based on its lexical position?
const { foo = (function bar() { return 'bam'; }())} = {};
@towc I heard SLOC don't matter no more
@SterlingArcher I think he's asking if bar is in its own scope
Which, it's not, it's in foo's scope chain, no?
foo doesn't have a scope, it's a property. right?
actually a variable
16:01
they're in the same scope
destructuring
there are 2 scopes in that snippet
inside bar and the rest
Well in the first example foo is a function
the second it's a destructed prop
@Mosho the simplest will be an HS 256 JWT that you issue
For a named function expression, the name only exists inside that function, not outside. — Niet the Dark Absol 13 mins ago
16:03
and validate using a secret :P
or you can use Auth0 :D, I'll even walk you through on a call :D
@towc well found out it was a race-condition. Still don't know the problem, but at least I know it wasn't me being completely stupid :')
I think he's right, it's because the function is an expression, not a top-level construct
I'm using that express package
@KendallFrey and that makes sense. Does the same apply for a literal expression ()?
which I guess does just that
16:03
@SterlingArcher Any expression
@Mosho was that to me, if yes no it doesnt.
@KendallFrey oh, well that makes sense
Well done chap, I get it now
everything's about you, shrek
@ShrekOverflow well, not a JWT
but the rest :P
who cares
You should post an answer, I'd upvote it
16:05
I don't need upvotes, I don't care, and anyway it wasn't me that figured it out
can we remove xkcd from feeds
@Mosho no
how dare you
16:06
it's shit
I said it
D:
that's fine, you're allowed to have the wrong opinion
2
@Mosho well if you want to try jwt try out express-jwt :)
This is why we can't have nice wow
it's ok, we'll support you
it's just a phase
@towc there's a cura setting for that
@towc i see what you did there
@KendallFrey omg I do too now, great joke
@Mosho +1
D:
16:09
thank you
this is the real drama of r17
we need a referendum
or just a ref to end 'im
you suck octoprint
huh, this is an interesting twitter thing:
@intenttoship, World Wide (Web)
I tweet when browser makers announce their intent to ship, change or remove features in their web engines! I was made by @dietrich.
565 tweets, 1.6k followers, following 0 users
You can now pipe output of a command into Code from the terminal. Enjoy it via today's @code insider release (https://code.visualstudio.com/insiders). #HappyCoding https://t.co/B7ptU0GkPX
16:11
@rlemon did you decide what to print for your nephew?
Oh I like that
@towc there's a bunch of stuff
@KendallFrey pfffft, !r command doesn't get beaten
or wait, was it that?
but you do
@KendallFrey If this works on Windows, I'll like it
16:13
either way, there's a super easy way to do it in vim
It has been a very long period the last time I have used !important in CSS. * resets timer *
by trying to create simple authentication I inadvertently created the strongest security method
I memorized the token
@KendallFrey can you really blame me for taking up the toughest challenges?
If I try hard enough
> 0 days since last use
16:13
@Mosho The strongest security is sudo halt
@OliverSalzburg ok, second strongest security method
@Mosho hah! Now we just need your brain to hack into the system, fool
I'll get the saw
I'll bring popcorn
you can't seduce me with just popcorn
16:15
wew
@Mosho I'll throw in some maple syrup
not literally
or maybe
@BenFortune all for you? :D
@BenFortune wut
@SterlingArcher wurk
0
Q: When is the LexicalEnvironment associated with a catch clause instantiated?

Bencatch clauses in JavaScript define scope. They have their own LexicalEnvironment. Is this LexicalEnvironment created after an exception occurs and before the catch block is evaluated?

@KendallFrey he's back again
16:17
stalker
I'm on the New Questions tab, jeeeeeez
there's a new questions tab?
I gave up on main so long ago
now he's here tending to the wounded
I troll the new questions to try and find gems, but I just end up closing like 20 questions a day instead
16:20
sterling for mod 2018
@SterlingArcher he has an odd way to farm rep points (if he intends to do that)
> I want to fuck around with people, but I accidentally end up doing good for society - Sterling (not really)
@KarelG not everything's about rep
I don't fuck around with Main actually (unless it's a spam question really). Srs bsns there
ohhi
16:28
ohhiho
is she an anime character?
@KendallFrey errrrr..... that's how canadians say ohio?
that's a high hoe
> Find me in the JavaScript chat room.

Yeah, I probably downvoted your post. 😎
16:30
we say it "Oh-eh-oh"
@KendallFrey damn dude I troll a lot but I have feelings
LMAO KEVIN
-16
Q: Mysql replication with UPDATE JOIN on an ignored table

Kevin BI'm doing mysql replication and as a dumbed down example, I have two tables, tableA and tableB. on the slave for replication, tableA is allowed and tableB is ignored. replicate-do-table='dbname.tableA' On the master, this query is being made (i can't make any changes to the master): UPDATE t...

How does this get -16?!?
@rlemon keep the sex noises to a minimum in here
revenge downvotes!
16:31
now you're definitely stalking
plz don't look at my jQ questions
@KevinB that's so funny haha
a lot of the downvotes on my questions happen on the same day as downvotes on at least one of my other questions
Wow some people hate your questions so much they go to your profile and dv others?
@OliverSalzburg lol bitcoin futures. hahaha
... Impressive
16:32
sell now
this is good for bitcoin
futures will hurt bitcoin imo
user8911705
ummm... hello. I am kind of stuck on my app and there's mostly likely something wrong with the javascript and im hoping someone would help me solve the problem. thanks? hahaha um heres the link: stackoverflow.com/questions/47556180/…
but time will tell. we'll discuss this in a year and see
@yxlxn Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
16:33
@rlemon it's a running joke that every bit of news is good for bitcoin
@rlemon don't worry though all my money is in litecoin and ethereum because I'm no sucker!
^ words of a sure-to-be sucker
@SterlingArcher Here's one from my favourites list stackoverflow.com/posts/12680597/revisions
@yxlxn your question doesn't need all that code/html, we just need to see the if condition that isn't working, and what the value of the things in the condition are.
@KendallFrey that's magical, thank you
the rest is irrelevant
> This cod looks fishy, to say the least. – John Oct 1 '12 at 20:38
Fish I not understand – user1712854 Oct 1 '12 at 20:39
I'm crying
16:36
:)
I can't view that link, is it because I'm a n00b?
Yes, 10k only
shit's deleted yo
user8911705
@KevinB When I click on the button, it would show the values for 1 sec and disappear, back to original state when one would refresh the page. the results displayed is always the first if statement no matter what is my input.
@rlemon You said Bitcoin?
I'm the only onw that feels stupid when talking about bitcoin?
@OliverSalzburg yea wsj.com/articles/…
I mean, I could've bought some bitcoins
but I didn't
like, 6 months ago
@SterlingArcher only a Brad would post something like that
@rlemon The price dipped a bit there earlier. I was ready to panic
Apple fixed the issue root
please update your Macs that are high
16:40
My Mac is always high
@yxlxn are you sure the if condition is related to your problem? sounds like a different problem to me.
@hilli_micha this is nsfw
@littlepootis You're right, smiling shouldn't ever happen in the workplace.
16:43
> Can someone take a peek at my html/java to see if something jumps out at you?
you guys smell that?
user8911705
@KevinB i believe it is so. I have 4 values with comments: 500 (Expensive), 499-200(OK), 199(Cheap) and when I put like lets say a value, 300. The result generated would be 'Expensive' although it should be 'OK'.
Right, but you said it changes, then immediately changes back to default right?
@rlemon wasn't me
16:46
Are you converting the strings that getItem is giving you back into ints?
this could be a silly question
user8911705
it would always show that it is expensive for like a second and after that it would be like as though you refreshed the page.
return users.filter(p => p.color.toLowerCase().indexOf(term.toLowerCase())>-1);
@yxlxn probably because the page IS refreshing.
now if i want to filter another property
how should i add condition
say firstname ==='kevin'
16:47
&& or another .filter
Where do all the Indians get headshots from?
serious question
I see a ton of accounts with high school looking headshots
@KendallFrey return users.filter(p => p.color.toLowerCase().indexOf(term.toLowerCase())>-1 && p.firstname ==='kevin');
is it a job req?
16:48
@Loktar 360 noscopes
right?
@Sajeetharan sure
@Loktar sorry
I'm so sorry
lol
I mean I'm sure most in the chat have noticed that too, just seems really common
cc @ShrekOverflow ^
I'm guessing it's largely culture as well
16:50
its cultural to head down to the local photo place and get a headshot with a blue background?
@Loktar what?
Do you never have your picture taken?
user8911705
@KevinB right. it is refreshing. my bad. wdym by yr qn?
never
@KendallFrey not professionally at a photoplace to put up on SO
16:50
@KendallFrey yea but his sheets are cream colour
> wdym by yr qn?
@ShrekOverflow whats up with the Indian head shot photos?
I don't know
@Loktar Well they probably don't either just for SO
is it something that's common over there for jobs or something?
16:51
@SomeGuy might know better
I understand Indian culture less than you guys most of the time
We all have our pictures on the wall at the head office
just a curiosity thing really, lots of people seem sort of sad too in the pics
they got a photographer in
user8911705
@KevinB what do you mean by the qn about converting the string?
16:52
jesus
that was memeified, but the images like that I mean
was a legit user in chat
@Loktar says the guy swimming in stars and stripes
i remember that lol
@KendallFrey yeah but that's not some random professional picture with a blue background
@yxlxn run "500" > "4000" in your console.
16:52
idk they just remind me of the school photos we had each year
@KendallFrey you can't be sad when you're wrapped in the bosom of freedom
but for adults lol
@Loktar I imagine it's like how most people treat linkedin. all of the photos are usually in business attire standing in front of a solid coloured wall.
16:53
@Loktar I'll tell you one thing though, some Indians might consider you uber racist for saying that or pasting that picture.
I love how "fu" autocompletes that it knew I wanted that
will probably get flagged
meh that doesn't bother me one bit @ShrekOverflow
@Loktar I just don't want you on Indian National TV :P
i don't like it when uber drivers talk to me
@ShrekOverflow I'd be ok with it
16:54
@SterlingArcher Like as they're driving past or what
waving to crowds and shit
put me in bollywood
@Loktar You won't be but a villianized version of you will be
but yeah no idea how that would be construed as racist
but everything is nowadays that's why Idgaf
Breaking News: White American man considered racist
16:55
guys I am stuck at weird problem. lets supppose I am at localhost:8100/my/path/main.html, there I am having an anchor element with href = "abc.html/c/d" but on clicking it, it takes me to localhost:8100/some/path/different/than/my/path/abc.html/c/d. Why is it not going relative to /my/path? btw I am using angular 2 in case its useful to know
@Loktar I'm pretty sure literally everyone is racist deep down inside
@RahulJain because... that's how relative paths work.
@KendallFrey Definitely, everyone has biases.
@KevinB er, no?
@KendallFrey yeah unfortunately that word is so negative in meaning
but I do agree, @ShrekOverflow yeah that's worded in a better way
16:57
@Loktar You're not trying to imply it's ok, are you?
I believe everyone has biases, but not everyone has hateful racist tendancies
@KendallFrey oh shut up
^
@Loktar you should be a friggen politician
@KevinB but it should take me to localhost:8100/my/path/abc.html/c/d. I know how relative path works
What I mean is that xenophobia is programmed deep into our biology
@ShrekOverflow lol nah I'd be too polarizing
16:58
That might be debatable or worth research.
The fear is xenomorphs very much should be deeply programmed they are apex fucking predators man
You don't have to act on it, but it's still there
@Loktar I'd vote for you.
@SterlingArcher yeah for sure
Predators are sometimes good
console.log(element.href, element.getAttribute('href'));
16:58
but not the sexual ones plus their mouths are gross.
@Loktar said no chris hansen ever
ugh, please check the URLs carefully, its not working according to relative path rule
@Loktar lol why do you know about sex predator mouths?
@KendallFrey woooosh
16:59
uh ok
user8911705
@KevinB um... it would first say "My advice is as follows: undefined", then it would refresh. I then keyed in again and it would say "My advice is as follows: Expensive" and then refresh again. .____.

« first day (2601 days earlier)      last day (2572 days later) »