« first day (1284 days earlier)      last day (3666 days later) » 

8:00 PM
2 minute grace period before the afk is applied
or is it 5?
I can never remember check the source
 
!!doge drupal,pain in ass,CMS,hate
 
     wow
very drupal
            so pain in ass
                         such CMS
many hate
 
@OctavianDamiean For some definitions of "there"
 
@Zirak BROOooooOOOoOoOoOo!
 
m59
8:13 PM
....Sriracha chicken pizza......*drooooool*
 
-1
Q: How to get a value you got from onclick event function to javascript function

Livemy problem is i have an HTML object -> and inside this button is an onclick event that calls a function that that gets a variable from the location where the button is: <button onclick="myFunction(myVariable)"></button> However i want to use myVariable in myFunction(). I already tried some...

 
@annemartijn Welcome to the JavaScript chat! Please review the room pseudo-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.
 
@AbhishekHingnikar hi
 
@BadgerGirl AbhishekHingnikar is afk: is masterbaiting, would you like to watch ?
 
oh wtf
face desk @BadgerGirl were you tricked into it ?
!!back
lmao
 
8:19 PM
@AbhishekHingnikar That didn't make much sense. Maybe you meant: bak
 
!!afk off
 
She was totally tricked into it.
 
Yes
 
Because she's a moron and can't read a page up
You should know women by now, @AbhishekHingnikar. Unless you steer them into intelligence, they remain naive and helpless.
 
Also, you spelled "masturbating" wrong.
 
user3071008
8:21 PM
nono, he is baiting the masters
 
@RyanKinal - maybe he actually meant "masterbaiting" ?
 
@RyanKinal easy mistake to make when you type one handed :D
 
Well I'd love to watch you baiting the master.
4
 
lol, truth
So, I have the budget to do it, but it feels ridiculous to buy a gaming laptop for my new work computer.
 
So I was out drinking with some anonymous guy, and @bjb568 got banned, what's up with that?
 
8:23 PM
@BenjaminGruenbaum He pissed off the lemon, I guess?
 
Also, had an hour long chat with a startup solving a problem that takes 10 seconds to solve with NLP :D That was priceless.
 
Hah, nice
 
Oh, link?
!!mute
 
@Zirak make that show names :(
 
8:25 PM
!!ban
 
@Mosho 895174 (?), 1355043 (?), 1858108 (?), 10 (?), 1005250 (?), 1941949 (?), 990192 (?), 2428683 (?), 1947276 (?), 1455016 (?), 2645256 (?), 2664200 (?), 3350338 (?), 3106345 (?), 1800668 (?), 1593459 (?), 3030547 (SteamFire), 2888561 (bjb568)
 
Yum yum ravioli
 
@NickDugger Welcome to the JavaScript chat! Please review the room pseudo-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.
 
8:40 PM
@rlemon Wow! definitely going next time I'm there!
 
\o/
food in a tube!
 
I wonder if it existed pre-earthquake
 
who wants to help me with some callback soup?
 
I'm already full of soup :(
 
@BadgerGirl :-(
 
8:49 PM
Soup sounds delicious
 
gist.github.com/rlemon/15477c1e3de7c15992eb well if anyone cares. it is overly specific to my issue and i'm trying to be vague on purpose.
 
1000 images left to download
yayyy
 
"But in Node.js, server side code is also in JavaScript and hence is open to curious eyes"
WUT?
 
the only solution I can think of is keeping a global flag on server.js so I know when the port value is set then ignore the queued requests?
but seriously. that leaves a bad taste in my mouth
I would like to understand why they are queued
 
@ŠimeVidas but.. nodejs code isn't public eye =x lol
@rlemon wish I could help :(
 
8:59 PM
@RUJordan Can you explain the quote?
 
@ŠimeVidas he's full of shit
 
@ŠimeVidas without reading the article it sounds like the author thinks server sided JS code can be view-sourced like client side JS
Which is false
 
what in the retard
 
if he is talking about protecting the server code from vendors you've distributed too maybe
but most if not all other server side languages have the same issue
 
Ah could be
 
9:01 PM
same could be said about PHP then
 
zend encoder for JS?
 
But the way it's written, the implication is that it's caused by JavaScript, so could be just blatantly wrong.
 
I don't understand.. only static served files are in the public eye for NodeJS
server.js, my exports, anything not in my public folder is hidden
 
> JXP is a JavaScript packaging feature comes with JXcore. It combines all the source and asset files into a single 'encrypted' file that brings a very high level of protection for your intellectual property. Combining all the project files into a single package makes the deployment process even easier. Click here for more .. - source
 
hey i am making an app which recommends games to gamers. But the problem is if i have to get quite a huge list of games with their links, then i have to go to the apple and google app store use some simple javascript to get the list of games. but the problem with this approach is i cannot know if there is a new game that has arrived.. so i thought of using ajax.. but then i had the Access-Control-Allow-origin issue.. so what can be a possible solution?
 
9:03 PM
@RUJordan Really, anything that doesn't come across the wire
 
@ŠimeVidas see my last quote
so he is talking about protecting distributed server code
but does a piss poor job at it
 
I want to write a decoder for it now :D
 
@KendallFrey exactly
 
@shortCircuit use a server language and scrape pages
 
Does anyone ever actually intend to do a "right-click"-->"back"?
 
9:05 PM
@rlemon i am trying php codepad.org/SbNhwG3Y <- but it says no page found
 
https ;)
 
use curl in that case
 
How common is curl? I've only used it once and that was in college
 
9:06 PM
@rlemon "JX binary file keeps the JavaScript sources from undesired access and may limit the usage based on scenarios." Perfect. I understand everything now. #not
 
i use it to test shit a lot
@ŠimeVidas hahaha from my scan of the page it seems they've modified node.js and wrote their own little wrapper that encrypts the files, and when run from the wrapper decrypts them
but yea
 
It's a de-facto simple http client, when wget doesn't do the job obviously enough
 
I wonder if it just encrypts the source or if it actually compiles it into some sort of js bytecode.
 
idk.
 
Do you guys like to read?
 
9:08 PM
yesh
 
Fiction, sorry. I know we're all non-fiction lovers as well
 
i haven't read anything..but i watch a lot of fiction movies nd seasons
 
/ do you guys write your own stories when you have time?
 
yeah
 
What genre/general plot?
 
9:11 PM
Hm.. my grunt is doing its grunt work.. don't I load files that are in a folder "above" like this: "./*.js" ?
 
I just got my writing muse back and I was wondering if anybody would be interested in reading chapters as I write them
 
@RUJordan Whatever the story is
 
no 32 bit release for windows? welp, there goes my idea of reverse engineering their encryption :P
 
Semi-adult but more towards the violent side. I don't particularly enjoy writing sex scenes lol I'd rather write about two dragons fighting
@Zirak touche
 
@rlemon codepad.org/hKANAYYg does this mean curl is not enabled?
 
9:15 PM
I wonder if there's a github style VCS that is for writers
git commit datStory
 
uhm, you can use git to keep track of anything.
Academic use it for papers, I used it a few times for stories as well.
 
0
Q: Q promises chaining get multiple result values

Alex TurpinI have two asynchronous functions that need to be executed sequentially (the second one depends on the first one's result), and once they've executed, I need to use the results of both functions. In a "classical" callback based pattern, that's pretty easy: http://jsfiddle.net/D6m8V/ function ge...

 
It's just files in a tree, that's part of the beauty.
 
Interesting
I was just using google drive
But I might hub it
Wow, just read my brainstorm and I turned 2 idea sentences into 9 pages of awesome. I forgot my imagination was actually spot on
I want to find my old USB drive. When I lost it that's when I stopped writing :(
 
Send me a link when you've got something, I'll try and read it sometime
If you want a shortie of mine: medium.com/p/903aa8dfdc44
2
(I can't for the life of me write longer-than-extremely-short stories)
 
9:27 PM
@Zirak give me your gmail so I can share it with you
 
Or you can ping me with a link
 
yeah, the point is that I don't want to share my email if possible
 
No worries
The general plot line is about a guy in high school whose mom is a stripper, and he's the state champion for mixed martial arts. I wont reveal any details but when it gets to the "drug" part, it's not drugs :3
dun dun DUNNNNNN
 
@skatenerd Welcome to the JavaScript chat! Please review the room pseudo-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.
 
9:51 PM
-2
Q: JavaScript Minefield Explanation

user3456813My friend is making a website that is basically a minefield game and I was wondering if someone could explain to me how the JavaScript code for his game works? He said that a random string is generated that stores the mine locations and it's displayed for users to see. After they've won or failed...

 
@Zirak that code was sketchy -- I saw a lot of transactional crap in there
 
"I found a site that makes money, tell me how to do it"
I've been trying to load a video for ~20 minutes now. Not doing work until I get music
42% packet loss! Srs Professionals!
 
@SomeKittensUx2666 technically, TCP should not have a problem with that.
 
@shortCircuit I doubt any online php viewer / editor will allow this
do it from your localhost
 
i did.. there was some security certificate error but i fixed it.. but that brings me to the problem that if any free webservers donot have curl enabled then it wont work
 
10:02 PM
@JanDvorak I have a problem with the network being this bad. When it does come through, it's at dialup speeds
usually lasts for a few minutes, but it's been getting longer
 
le sigh
but I want this to work regardless if browsers have js enabled or not -- how on earth would JS render if JS is disabled? — RUJordan 18 secs ago
 
Shit infrastructure
 
@rlemon Yep.
I'm pretty much done for the day
there have been 2+hrs with useless internet
0
A: Writing a CSS file in Javascript?

Van den Brande BartI suggest writing the classes and propertys to a mysql database using PHP and generating the pages from that database. You could also generate a file using PHP and link that file to that page, This way you safe DB query's.

 
el.addEventListener("mouseenter mouseleave", modify(e1), false);
that will make the modify(e1) trigger immediately, correct?
 
Will the addEventListener trigger immediately?
 
10:14 PM
no, it's bound to a mouseevent
But I thought the second param had to be a function reference
otherwise the function would just be called (unless wrapped in an anonymous function)
 
Again, when that line executes, is addEventListener called?
 
Yes
 
Then yes.
 
Ok, just making sure
 
A function call is just a piece of code. The js engine does not say "wait a minute...this here piece of code should only run later! I'm just going to warp time and space, surround that with a function, and there we go"
 
10:17 PM
lol he deleted his answer and reposted it with an edit to get rid of the downvotes
 
I'm also not sure whether you can put a space separated argument like that.
 
Ooooh, adding two events in addEventListener, cool trick (that's not valid) ?
 
Me either, im about to look that up
 
@RUJordan where?
 
@SomeKittensUx2666 he deleted his second answer :(
0
A: Is there a way in html or JS so that when I hover over something it changes?

RUJordanYes, you would use the JavaScript events mouseenter and mouseleave. to change the image source. Or you could use CSS :hover psuedo-class like this: <div class="derp"></div> .derp { background-image:url(someURL); } .derp:hover { background-image:url(someOtherURL); }

I got a nice sarcastic response to downvoting the jquery answer
 
10:20 PM
Doesn't seem like it.
 
Oh it's back!
 
@adeneo It's just someone who confused the DOM with jquery, addEventListener doesn't accept a space-separated argument.
And with that, bye.
 
!!afk gnight
 
@rlemon Were you the one who linked to flippinawesome.org/2014/04/21/… ? It looks like a joke
 
mouseout is different than mouseleave. mouseout also fires if you mouse off a child of the listener. There is nothing wrong with calling those events @PointedEars. — rlemon 8 secs ago
 
10:26 PM
It's the same with all encryption methods - if it runs, you can run it, so you can access the code during runtime.
And just changing a function's toString doesn't make it "safe"
 
@Zirak we were discussing what it was. someone else posted a blog article about it
my exact words
> he's full of shit
 
You got it covered then
And with that, bye
 
also, can someone back me up on @RUJordan's answer here
that pointedEars guy is just wrong.
 
While we're on the topic
0
Q: Deleted Answer Repost

RUJordanSo, I'm curious, on this question here, (I'm not sure sure if you can see it), but an answer had 2 downvotes and was deleted. But then the answer-er posted the same answer with a slight edit and it removed his/her downvotes. Is this allowed/fair? In this particular case the answer is still wrong...

@rlemon read the brand new answer to that question xD
It suggests node.js
My twitter app is fucking up :(
 
haha this guy is great
"THAT WASNT MY EXACT WORDING! NO NO NO!"
lol.
 
10:35 PM
YAY PITY VOTES!
 
@RUJordan I actually upvoted it beforehand
It's a good answer, providing the best answer to OP's problem, not just his exact question
 
Yeah, I would have been more specific but the OP's question was close-worthy so I just wanted to give him the right direction
 
I don't see the Node answer
 
Did you just use yourself as a citation reference? — RUJordan 7 secs ago
Gotchu brah
his website is slow as shit
 
10:41 PM
@EleanorZimmermann Welcome to the JavaScript chat! Please review the room pseudo-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.
 
is this guy just having a bad day?
 
Prolly, he's tweaking out over somebody saying JavaScript event instead of DOM event
 
the guy sounds douchy as fuck
 
Should we ping him? :O
 
that said
he's right
you should edit your answer to say "DOM events"
 
10:45 PM
Oh yeah, that's what I forgot to do
 
I'd probably just edit the answer if it were me
 
I knew he was right, but if that's downvote worthy to him that's pretty tough standards
 
I can understand him
 
so he likes doing that... whatever
 
10:47 PM
testing
 
wow that forum was full of hate
 
skaters gonna skate
 
yeah, being right isn't everything
 
Whatevs, I edited, it's all good.
 
Go to the chat rooms if you want to ask questions you think might get hated here. javascriptroom.comConnor 22 mins ago
you evil, evil person
 
10:55 PM
lul
 
wow, this guy has been getting a lot of hate in the past years all over the internet
 
somebody melted my damn headphones :(
 
@RobertMunn it might also be worth noting that event as an argument name is misleading in this case, inline event listeners in HTML are hard(er) to maintain in the long run (same with inline styles) and innerHTML to replace text is not the right choice. fyirlemon 24 secs ago
this is why I don't go on main site
I just end up sounding like a dick.
 
there's correcting somebody, and then there's condescendingly correcting somebody lol
 
@Brain Welcome to the JavaScript chat! Please review the room pseudo-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.
 
11:07 PM
I just got an email
 
I wish I could turn my emoji keyboard into a meme keyboard
 
> I have inheritance for you Kindly contact me
well... okay then!
 
sounds legit
 
@GNi33 relevant
 
:D
 
11:12 PM
If there is anyone here that can help me with this:http://stackoverflow.com/questions/23230864/jquery-mouseenter-effect-not-working
I sure would appreciate it.
 
jesus christ, i stop reading this guys comments now
 
Didn't SOAD mention him?
 
SOAD?
 
> Barbarisms by Barbaras with pointed heels
Victorious, victories, kneel
oh, pointed heels
@RUJordan System of a Down
 
Ohhhh
 
11:20 PM
Hi
 
^ AMAZING VIDEO
 
@noob1211 Welcome to the JavaScript chat! Please review the room pseudo-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.
 
Ahoy hoy
@SomeKittensUx2666 wtf's up with the star list?
 
@monners DEVELOPERS
 
DEVELOPERS
 
11:24 PM
lol this music video is funny
 
!!youtube DEVELOPERS DEVELOPERS DEVELOPERS DEVELOPERS
 
@SomeKittensUx2666 That's awesome.
 
LOL HES SO SWEATY
 
@phenomnomnominal I love it
 
11:26 PM
I used to hope he'd have a heart attack on stage. Does that make me a bad person?
 
@SomeKittensUx2666 great band, great song, great video.
 
@monners most likely?
 
that's fair
 
!!afk caught the feelings. got him fucked up.
 
11:44 PM
@BuddhistBeast Welcome to the JavaScript chat! Please review the room pseudo-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.
 
Does Ember.js produce handlebars.js code?
or is it just the templating engine?
 
@BuddhistBeast It uses handlebars as the templating engine
 

« first day (1284 days earlier)      last day (3666 days later) »