« first day (2799 days earlier)      last day (2163 days later) » 

12:55 AM
I think I'll go over to the dark side
checking out spacemacs
 
don't you dare
 
@towc Hi towc. Can you pls msg me your codepen?. I lost the link
 
do I know you?
codepen.io/towc
 
No you dont
 
1:02 AM
@CaptainHere codepen.io/towc
 
You created this all by yourself!?
 
nah, the tooth fairy and santa clause helped me at every step
they're always there for me
nice people
 
copy paste
 
@CaptainHere He stole that from me
 
.... santa?
 
1:05 AM
Son?
 
wat
 
ok
 
@towc How long it took for you to finish that?
 
maybe 3 hours?
 
1:07 AM
wot!
 
it was 3 years ago and I was just starting to learn some canvas stuff
step 1: make sure you don't have friends and push everyone away
 
Which is your latest creation?
 
sounds about right
 
step 2: in your boredom and loneliness, look for something productive to do
 
step 3: do rainbows, and only rainbows
 
1:09 AM
step 3: in between your crying alone sessions, read canvas tutorials and have a look at the code of other projects that you like
 
reading tutorials? pffft.
 
if you enjoy it enough, you'll end up putting effort into it and getting nice things
 
which is your latest masterpiece?
 
@CaptainHere I don't have masterpieces
I have a bunch of random stuff that happened when I felt particularly emotional
whenever I write something on request by a company, it's ok, but not really comparable to the rest of my stuff
I can't work on them for more than 4hrs
it's kind of scary to see how useless I am to businesses, considering a fairly decent level of skill, not only in basic graphics
so I end up getting jobs which don't come with a salary, because that's not why I write code
am I an idealistic artist who's going to starve to death?
 
@HatterisMad grats, thats badass man
 
 
4 hours later…
5:42 AM
@KevinB that would be useful :P but then you are at C-DATA someday
 
 
1 hour later…
7:11 AM
@towc only if you prefer to starve than conform to society norms and expectations
someone once said (it doesn't come to mind at the moment) that you can be an effective anarchist, but only if you're also a rich and successful anarchist
in other words, you can't fight the system without somewhat conforming a little
 
Something odd going on with variables called name and scoping. Interesting question I really wanted to see the answer to, but is it a dupe?
 
PoF
 
searching is hard because the key word in the question is "name"
 
is that a deleted question?
 
@CertainPerformance Hmm, that question doesn't seem to exist for me
 
7:16 AM
yes, OP deleted it
 
give me the gist of it.. what strange behavior was happening with variables named name and scoping?
 
it looks like an implicit assignment to global name in both the top snippet and the bottom, but the behavior is different
 
@CertainPerformance the bottom snippet is the assignment to a global variable name
 
the behavior is exactly what it should do
 
yep
the name of the variable is insignificant
 
7:20 AM
the bottom snippet makes sense, but the top one doesn't
name = "Pete"; sounds like it should be implicitly assigning to the global name
because there's no var / let / const in front of it
but it looks to behave as if it's local
 
if you do only
function makeWorker() {
    name = "Pete";

    return function() {
      console.log(name);
    };
  };
then name would display ""
that is because of the function re-scoping
 
oh crap, the function is running after the global assignment of John
 
!!> function test() { name = "John Smith"; } console.log(name);
 
@Neil "ReferenceError: name is not defined"
 
nm, I'm an idiot
 
7:24 AM
I think it is local
even if there is no var or let before it
it has to be in global scope to create a global variable
unless you're using window or something
 
no, any time you don't use var / let / const / variable as function argument, if you use =, you implicitly assign to global
that's why you commonly see comments like "always declare your variables"
 
hmm, so why isn't name defined in my example?
oh duh, it isn't run
 
because you didn't run test()
 
brainfart
I finally caught up to your problem :P
 
7:39 AM
Morning all
 
@mlqmarkos12 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 hour later…
8:44 AM
@mlqmarkos12 hey
You can tell we're really talkative in here
sorry if the text is flying by and this is hard to read
 
woah! thanks!
 
 
2 hours later…
11:11 AM
 
@SabunkarTejasSahailesh 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.
 
I am trying to integrate google api signin for my web application but got stuck with initializing the auth2. Can any one please help
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="google-signin-client_id" content="306552833988-0pnfe2jga10fb1orkpa8gu08pm3bl14p.apps.googleusercontent.com">
    <title>Home Page</title>
    <script src="https://apis.google.com/js/platform.js" async defer></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
Can one solve this issue of initializing the auth2
 
USM
12:10 PM
y starring !working here.
 
it is, I'm just cancelling out completely random and useless stars
 
also, that shorthand is just annoying. Please refrain from using it
 
yeah, I needed a second to understand what he was trying to say
 
12:27 PM
@USM sense makes what no english
 
y sentence !english.
 
which doesn't mean that vue is better than react, but people tended to use it as an argument in favour of react against vue :P
 
oh I get it now :)
!working = not working
I'm smart
 
ja
 
you're very smart
 
12:35 PM
I am so smart! I am so smart! S-M-R-T! I mean S-M-A-R-T
 
are you a car?
waaaw
 
it took you only 24 minutes
 
it was in a low priority thread for these past 24 minutes
didn't really realize I was thinking about it until now
 
So another college asks me "Did you work on this project?" - I say no I did not. College then asks me, okay so what was the project about? I stare at them blankly for a few seconds... I can't help you I did not work on the project I say... Some people...
 
you mean colleague?
and that's perfectly normal
you might still know what the project is about
or maybe he was starting up a conversation, where you both try to figure out what this mysterious project is about
 
12:42 PM
weirdos
you do not have to investigate it. The conclusion is always the same; @towc did it.
 
those damn colleges always think they're so smart with their "higher learning"
 
@towc Yeah colleagues
@towc That is all good and well. I can understand that. Even after telling *colleague that I do not know anything about the project. More questions... Must be a friday thing.
 
you not knowing anything is different from you not having worked on the project
and if you mean you told the colleague that afterwards, then there's always the option of them strying to strike up a conversation
lol, since the news of the stars broke out, it looks like react peeps rushed to give react even more stars
they're 6 stars apart now
when I posted the link here, I think about 20
 
1:09 PM
Hey Guys I'm trying to solve word problems like "Which is the max number:
52, 5, 31"
Any idea where to get started?
 
just check Math.max mdn docs
(google "mdn math.max")
 
you want a function that takes in the whole question and gives an answer?
 
@towc Yeah
 
if you want to make something like wolfram alpha, depnding on the complexity you want it to adhere to, good bloody luck
 
Wow. Towc always has the perfect answer!! Thanks
 
1:13 PM
no, you just need to put more effort into things
 
@towc start with using an NLU framework
 
marvel at its beauty for a few hours, before the whole idea starts to look more and more horrible
 
1:31 PM
@rlemon free me
 
@towc wtf just happened
 
your confusion confuses me
 
I thought you were trolling
but he actually wanted that
it was impossible to guess
ah wait
he said "word" problems
now it makes sense
 
if only you knew english
 
1:40 PM
if I only read things carefully...
 
if only I* read things carefully...
 
both are correct
 
they have different meanings
look it up
and don't post it here to say "you were right"
 
I did it
 
I know I'm right, and so do most people here
 
1:42 PM
but didn't read it very carefully
 
I don't have problems with those
I remember we used to have a grammar nazi in the chat
 
USM
in Java, 45 mins ago, by USM
how to get pathVariables from HttpServletRequest in a Spring filter?
 
> if only carefully, things, I read
that is the only correct way
@USM JavaScript != Java
 
@Wietlol liar
 
1:46 PM
JavaScript != Java Script
 
liar
 
liar, you are
correct, I am
 
'JavaScript'=='Java' + ' '+ 'Script'
 
!!> JavaScript.equals(Java)
 
!!>'JavaScript'=='Java' + ' '+ 'Script
 
1:48 PM
@CaptainHere "SyntaxError: '' literal not terminated before end of script"
 
pfft
 
'JavaScript'=='Java' + ' '+ 'Script'
 
USM
Tomoto > Java
 
me > you
 
Kotlin > Everything
 
1:48 PM
!!>'JavaScript'=='Java' + ' '+ 'Script'
 
@CaptainHere "SyntaxError: '' literal not terminated before end of script"
@CaptainHere false
 
@CaptainHere you dont learn do you?
 
I fall and get back up stronger
 
USM
/shrug
 
im wondering what will happen if you do !!> 'JavaScript' == 'Java' + 'Script'
 
1:50 PM
false + script :P
 
i hope so
falseScript
 
USM
what is they have same reference
 
New name for programming language right there
 
i need a new name for a programming language
but something not like hipsterscript
 
USM
WetScript
 
1:51 PM
WietlolScript
 
!!>'JavaScript'==('Java' + ' '+ 'Script').replace(' ','')
 
@CaptainHere true
 
ScriptScript
 
USM
ppl have difficulty in pronununicng
 
iScript (Please no.)
 
1:53 PM
posted on June 15, 2018 by CommitStrip

Today our strip is sponsored by the Oracle Code Paris conference ! It’s a (free!) tech conference open to all, covering todays tech hot topics including bots, blockchain, serverless, machine learning, orchestration and APIs. Yep, you read that right, the conference isn’t focused on Oracle tech, just the opposite! We’ll be there for a live-drawing session and at our book-signing stand, so what a

 
USM
BearScript !
 
ohhi
 
heh
i just got a reversal badge on metase
 
2:03 PM
i just got gold jquery badge
 
now you can hammer?
 
yup
 
k, hammer me
 
🔨
 
2:20 PM
🙏
 
I'm working on this ridiculous project for work where I'm making a web application without any backend. It's really fun.. I have some graphic files within the project directory and I want to rename them dynamically. Is this a possibility?
or should I just go about renaming them in windows
 
uhm
is the SO cert failing for anyone else? it says *.github.com
ah
derp
:p
that's getting flagged to hell
@littlepootis might want fix the security error so that chrome doesn't block it
 
@KevinB it's not his site :P
 
didn't you hear? It was pretty big. About a month ago SO handed devops over to a few dedicated users, including pootis
 
hey guys. I'm just gonna use powershell
 
2:36 PM
congrats
 
I can't believe it was flagged
bunch o babies.
 
the what?
 
little pootis link in c#
 
where
oh, in the c# chat
 
-2
Q: What's coming soon? ( ゚o゚)

Alex LSo, in this question Adam gave away his stackoverflowoverflow domain. Currently this domain displays a message: coming soon at the middle of the screen. Then, if you will look at the accepted answer to the Adam's question you will read this: I think it would be fun for that domain to ...

 
2:39 PM
HAHAHA it was in https
fucking noob! xDDDD
 
2:56 PM
Lol
 
what have they done to you!! :c
 
@Neoares xD you gotta explain your jQuery quote xD
 
what jQuery quote? D:
 
the stupid one about porn
 
yeah
Its on the side panel
with 5 stars lol
 
2:59 PM
@towc They revoked access now :/
 
@jemiloii JQ is garbage
so it's better to look at porn than JQ at work
 
@Loktar xD
xDDDDDDD
 
you will get fired for JQ, not for porn
 

« first day (2799 days earlier)      last day (2163 days later) »