« first day (1437 days earlier)      last day (3515 days later) » 

3:00 PM
Hi guys, someone can tell me why this don't work? setInterval(function(){ return true},2000);
 
@ipel 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.
 
@ipel Define don't work
 
@ipel what's it returning to?
 
i have a form with onSubmit="return myfunction(this.form)"
 
@Cerbrus the export seems to be exporting a file with 0 bytes in it =x
 
3:02 PM
@SterlingArcher Cerbrus is afk: on the road
 
at the end of myfunction() there is setInterval(function(){ return true},2000);
 
I am not sure if s in onsubmit has to be capitalized
 
@ipel Maybe a better question is what exactly are you trying to do?
 
the form should be submitted after 2 second, but don't work
 
@AwalGarg Nope.
 
3:03 PM
@ipel Ah... I understand your confusion.
 
@ipel It doesn't work that way.
setInterval and setTimeout are async functions. You can't use them to return from functions.
 
well, not that the capitalization matters but no point in doing that.
and that
 
You're trying to get myFunction to return true after 2 seconds, but that's not what's happening, instead the function that is returning true is function() { return true; }.
 
What are you trying to do?
Why do you want to wait 2 seconds before submitting the form?
 
there is another way to send the form after 2 sec? (it's an aweber form, with a submit button name="submit" that wont allow me to use document.myform.submit()
 
3:06 PM
4Chan is threatening to leak Emma Watson photos in 4 and a half days, but honestly, I just think that it's the perfect amount of time to photoshop her into some photos, lol
 
@ipel Are you sure about that?
 
hu?
 
Because I've made a program to submit Aweber forms, and I'm pretty sure I got it to work with formNode.submit()
 
As a user, if the page waits two seconds before submitting a form when I click on "submit" I will click 10 times on your submit.
 
@NickDugger Given that today even pizzas can be photoshopped into Emma Watson, I actually believe that
 
3:07 PM
@SecondRikudo what on earth are aweber forms?
 
!!tell Awal google aweber
 
oh well, another library/plugin eh
 
if i dont change the name of the submit button i get a "Uncaught TypeError: object is not a function "
 
@SecondRikudo oh c'mon, you can't relate Emma Watson and pizzas at all.
 
3:09 PM
@AwalGarg Aweber is an email marketing platform.
 
i never used aweber , it's for a customer, can i change the name of the submit button?
 
@ipel What the hell are you trying to do?
Coreg?
 
@ipel It won't fix your problem, but if a delay had been the right approach, you would have wanted setTimeout not setInterval.
 
@SecondRikudo this is crap... complete crap.
 
Just extract the important fields to your own form and submit it. That's what I did back then.
But beware, submitting a form for a user can have serious consequences with aweber.
You can, and should, use the AWeber API.
 
3:13 PM
yes setTimeout sorry
someone know if the aweber form works it i change the name of the submit button?
 
@AwalGarg What are you talking about, that's gold.
 
@KendallFrey no, that's crap. It will stay crap. There is a list of girls who can't be compared/related to such crap under which Emma Watson comes.
 
@ipel Have you listened to anything I just said?
 
...Emma Watson?
 
Or are you insistent on not accepting help if it's not what you planned?
 
3:18 PM
Who's Emma Watson?
 
She's hot
 
@KendallFrey she is the harry potter girl.
 
and she's Hermione Granger
 
I know very well who Emma Watson is
I question the relevance
 
42 secs ago, by dievardump
Who's Emma Watson?
 
3:18 PM
I don't believe that nudes of her actually exist; she seems generally smarter than most other celebs
 
I want to believe
 
12 mins ago, by Second Rikudo
@NickDugger Given that today even pizzas can be photoshopped into Emma Watson, I actually believe that
 
user2620028
I mean she is head of her class at hogwarts.
 
That was for me. But seriously, I did know. I was just trying to help Kendall in his "what's the relevance?"
This video is pure gold.
 
3:20 PM
@dievardump =)
 
@dievardump NO!! IT IS NOT!!!!
 
@AwalGarg You're the kind of guy who faps on Selena Gomez, don't you?
:(
 
user2620028
Isn't she under age or somethin?
 
art...
 
@dievardump I honestly haven't ever seen that lady in any pic/whatever.
 
3:21 PM
@dievardump On? Like, on top?
 
Don't think so. Is she?
 
user2620028
@towc sure bud. How would you like to be killed.
 
@AaronSiciliano 1992, age 22. It's ok.
 
user2620028
lol good to know
 
I had to recreate a drawing changing some proportions. I took the drawing, measured it out, did some calculations to get the right frame on my piece of paper
 
3:22 PM
Going back to my JavaScript.
 
the final drawing should have been 0.8 times the original one
 
I have an element: <input type="button" tabindex="-1" value="Remove" class="ruButton ruRemove" name="RowRemove">

But jQuery not working onClick.. anything wrong?
$(".ruRemove").click(function () {
$("#ctl00_MainPage_lblSelectedFile").css("color", "black");
$("#ctl00_MainPage_lblSelectedFile").html("Selected File: None")
})
2 classes?
 
and since my mind loves me, I managed to add 10cm to my calculations of original drawing
 
@towc why do you make animations in JS? There are better tools to make gifs.
 
and ended up with something huge..
 
3:23 PM
anyone here knows
 
@JoJo Looks good to me. Try adding a console.log and see if it fires.
 
realized that it was bigger than the original drawing only after I finished
 
a website that tells if a color is attractive or not
 
@dievardump tweet more on twitter, or I'll unfollow you <3
 
@AwalGarg wut?
 
3:24 PM
Who the hell are you? I did not tweet since ages. Too much crap on twitter now. I do not even open the website.
 
follow me on twitter. I tweet like once every 10 days
 
i remember caming across one 1 website which tells if color is good and attractive
@dievardump Peekachoo
 
WHO THE HELL AM I?!
@RUSwavey
:3
 
ok @SecondRikudo should I do a google search on console.log?
 
@CustomizedName colour is entirely subjective. If you trust a computer to make decisions for you, you're doing it wrong
 
3:25 PM
@towc I see you often post codepens of animations in JavaScript.
 
I believe my twitter same is currently "Mayor Adam West"
 
@JoJo If you don't know what console.log is, you should definitely learn, yes.
 
@SterlingArcher What's up with SourceUndead? Haven't seen updates on that from you recently!
 
@AwalGarg they're not to make gifs
 
@JoJo please tell me you are not learning from w3schools...?
@towc they are to make animations, why not make animations in an animation program and export as gif?
 
3:26 PM
@SomeGuy dude I've had no time to work :( I'm going to re-build it from the ground up though, because I'm going to focus on making it a mobile game
 
Actually w3schools is not always that bad. Even if I do not click on their links, there is actually good informations. Relevants for the search.
 
But it all depends on when I can get time and motivation to work on it
 
Someone ban him
 
Ah
 
@dievardump A noob can't determine which information is good and which is not.
MDN is a much better resource in that regard.
 
3:27 PM
@AwalGarg the fun part about the animations is changing the settings around. And they really are just for fun and learning js, no intent of someone actually using them other than demos
 
It's, at the very least, community editable.
And doesn't offer you jQuery certificates for $95.
 
@dievardump that is one of those sites which don't teach the use of console.log
 
I agree, but w3schools, to learn and not to verify informations or to go deep in the subject, is good enough.
 
In W3Schools defense, they have updated and addressed many of the issues people hated on them for
 
3:28 PM
yeah, FML, I have to do this all again since I did it to well
 
If you're becoming a developer, you'll definitely see what's wrong with this website. Or you're not even a web developer at all.
 
at the end of the day jQuery just needs to listen to the .class click.. thats all.. I wasnt sure if 2 classes in the element would affect that
 
@towc ok
 
@JoJo No, it shouldn't affect the click handler
 
Ever since I learned about querySelector jQuery has been basically useless to me
 
3:30 PM
@m59 Nothing specific
But I kind of know what you mean
 
@NickDugger There was a survey actually that tells which color people like and which color do they hate
Color scheme matters...
 
@SterlingArcher Haha, if that's all you wanted jQuery for, you've got some problems :p
 
lol that was sort of a hyperbolic statement <.< some JQ plugins are pretty tight. Like datatables, select2, some rich text editors
 
well... except query selectors, css manipulation (but you can find super lightweigth things) and event delegation, jQuery's not really relevant
(for my uses I'd say)
 
Don't forget legacy support
 
3:34 PM
!!> console.log(Infinity*0, Infinity*2)
wth?
 
@towc "undefined" Logged: "NaN","Infinity"
 
Don't care about legacy, I develop for ie9+
 
@SterlingArcher +1
 
why NaN?
 
only reason I use JQ, stupid IE8
 
3:34 PM
^ ditto, except s/8/7
 
but even then its a lot less than when having to support IE6
 
@SterlingArcher But I read they dropped support for IE6,7 etc.. ?
 
@CustomizedName It depends on your demographic, which would depend on your personal preferences, your culture, your etc... There is no perfect solution to subjective anything
 
@AwalGarg v2 did
 
Clients ask for ie9+, if they ask for 8, I ask for more money.
 
3:35 PM
1 is still being updated and still supports 6-8
 
@AwalGarg v2.0 did, 1.X still supports it
@Loktar +1
 
yeah
 
Or should I say... 2.0 :O
 
@NickDugger depends on the purpose of website :)
 
@CustomizedName to clarify, You have a hello kitty website. Should it be black or pink? You have a gaming website. Should it be black or pink?
@CustomizedName Purpose and demographic.
 
3:38 PM
@NickDugger Black for hello kitty. Why? What other color were you thinking of?
 
I was making a point
 
hmmm
let me think ;)
 
@monners try both
 
@SomeKittens get her one of those sexy-fun card games, but replace the cards with "Get Your Hubby A Beer" and the likes
Jk, Magic is always fun
But you won't get laid
(In response to your pinned msg btw)
 
I'm married, "hey, want to have sex?" is enough
 
3:44 PM
Pft, monotony much?
But, seriously, would she like MTG?
 
I'm trying to avoid getting into another TCG
 
You could get her Ghetto Monopoly, I heard it's banned in the US though
 
there are a ton of fun coop games out there
 
@SomeKittens Munchkin is a fun game.
 
that one is pretty fun, but for 2 players idk
its better with 3-4
Munchkin causes many fights lol
 
3:49 PM
@Loktar Though you tend to hoard all your good cards to stop others later :P
 
heh I just stick with coop games now because my sons get so pissed at eachother when playing competitive games
 
user1596138
@SomeKittens Settlers of Catan? I'm sure you have it already
 
user1596138
Everyone has that. No one has time to play it.
 
^ going to a presentation on that tomorrow by the creator
 
3:50 PM
didn't even notice! reached 100 rep!
 
Coop games are no fun though :P
 
Munchkin is not a game for a couple that wants to stay together
 
looks really nice actually.. really simple to use
@Neil yeah it depends really, I liked the D&D ones
I have that one, and the Drizzt one
pretty cool
 
Catan requires 3 playera
 
@SomeKittens not sure how nerdy you guys are.. but the one I just posted is coop as well
1-4 players
 
3:51 PM
@Loktar Maybe I haven't played any decent ones
 
but its D&D
 
we were poor, we made our own D&D
we would take turns hosting games of our own design
even crude hand drawn maps
 
heh this is all recent
not when I was a kid
 
@SomeKittens Settlers of Catan is a decent game
 
ohh what was the one I actually owned
Hero Quest?
 
3:52 PM
its not full D&D by any means just in the universe
 
yeah Hero Quest is/was a crazy popular one
 
this game kicked so much ass
 
user1596138
Idk I've never really wanted to play board/card games with my significant other. Maybe it's a marriage thing. If we stay home we pretty much already know what we're going to be together hahaha
 
it fetches liek $120 or so on Ebay
 
user1596138
3:53 PM
Movies and sexes and N64
 
I wish I still had mine
painted all the characters as well
 
user1596138
!!afk smoke
 
hah nice, I never had hero quest
 
sold at a garage sale so I could buy ps games
 
I have a knock off vs now
 
3:53 PM
Nerdy is fine
 
I used to have so much fun with Hero Quest
 
hero quest is coop as well right?
or single player even
 
2 player is minimum
3+ is best
you need a dungeon master
 
I actually didn't know that young couples (about 24?) played games like those
 
thats the knock off one I have
oh and this game kicks ass
 
3:56 PM
was super impressed with it until I noticed they did import three in the HTML
 
Still deciding if this is an epic phone app or a demonstration of how out-of-touch we are with reality
Possibly both
 
@rlemon eh not too impressed, its three.js
at first I thought it was vanilla
 
was super impressed
same
 
I mean its still cool definitely
 
checked the imports -> nothing -> WOW DUDE! -> ohh, nope, I see dat in the HTML
 
3:57 PM
but doing cool shit with three.js seems easier
@rlemon haha exactly what I did
his pens that involve breaking/slicing images are cool though
that one is pretty damn neat imo
 
probably my second favorite board game as a kid
 
I have that as well
 
also am sad I no longer own it
 
that is pretty fun
I got it from Goodwill like 6 years ago for $1.99 lol has all the pieces
 
How did you play it?
 
3:59 PM
the kids and I used to play it all the time
 
probably the only board games I've ever played are chess, power 4 and monopoly ;(
 
@Neil what do you mean? Rule wise, or did i have people to play with?
 

« first day (1437 days earlier)      last day (3515 days later) »