« first day (1477 days earlier)      last day (3454 days later) » 

12:00 AM
RabbiTrabbiNospimmers
 
> Have you tried refactoring it? The code looks like your face.
6
 
that's. offensive.
 
user2620028
Ok i am officially switching from ubuntu
 
they stopped in 2013
apparently there's no worst websites in 2014
 
All websites in 2014 are good
More JavaScript
 
12:14 AM
and HTML5 :D
no more fancy Flash
 
Websites are isopolymorphic these days, it's an advanced web.
 
!!define isopolymorphism
 
@RobertMallow It means I aint got time to learn your $5 words.
 
your vocabulary is as scarce as mine caprica :D
 
@RobertMallow No definition found.
 
12:18 AM
caprica listen to me.. it means "the property of a substance with more than one crystalline structure that is isomorphous with the crystalline structures of another"
at least thats what I found
 
 
2 hours later…
2:29 AM
she listens but she doesn't get shit
dumb gal, the perfect gal
 
2:51 AM
 
 
2 hours later…
6:17 AM
@RobertMallow lol that is in chemistry
 
@obiNullPoiиteяkenobi yeah I was trying and got bored and left there itself :P
 
morning ppl
heyo @Mr_Green
 
@AwalGarg hey morning
o/
 
what's up?
 
morning to all ppl!
 
6:24 AM
Trick or treat!
 
@Unihedron ack, you're stalking me!
 
@SomeKittens xP
I've been here before, actually. The people here helped with a string to number problem.
 
@Unihedron +'string'?
 
... Yeah.
 
No
 
6:26 AM
Because the documentation totally didn't say that.
 
Still, NO
Use Number(string)
 
Oh, what's the catch?
 
Readability
 
:likes improving readability:
 
...welcome to the realms of JavaScript
 
6:29 AM
yaaaaay
 
JavaScript is weird
 
yay for javascript
 
Lol I thought you were @SomeGuy
with a changed avatar :D
 
just because my name starts with Some? Racist.
 
6:35 AM
 
Yeah... my dev tools are stacked to right so half of your name was hidden.
 
Eek, I'm a unihed!
 
And I am "Awal"! So nice :D
 
I think I indirectly participated in halloween.. :P
 
@Mr_Green I went this room for trick-or-treating, but people decided to chat instead. No treats =(
13 mins ago, by Unihedron
Trick or treat!
 
6:38 AM
ohh
 
@Unihedron both pls
 
the wgdfc.org is just confusing.. :/
 
eet izsh aa jhoke!
 
pink floyd - wish you were here listening
 
> Hey I recieved your gif. But there is one problem, I canot hear the sound in it... reply soon pleas.
wut?
 
6:44 AM
sauce?
 
!! youtube wish you were here pink floyd
 
no sauce, senseless fiverr client
 
7:02 AM
docprint.document.open();
   docprint.document.write('<html>');
   docprint.document.write('<body style="margin:0.01in 0.01in 0.01in 0.01in; width:3in;height:2in;position:absolute;" onLoad="self.print()">');
   docprint.document.write('<table height="25%">');
docprint.document.write('<tr>');
   docprint.document.write('<td style=" font-weight: bold;" align="left">Regd : '+vpid+'&nbsp;&nbsp;&nbsp;Date :'+vdat+'</td>');
   docprint.document.write('</tr>');
   docprint.document.write('<tr>');
   docprint.document.write('<td style=" font-weight: bold;" align="left">Name : '+initCap(vname)+'</td
da hell?
 
7:31 AM
hey guys i had a question okay i have multiple divs with a class of "box1" . i also have a click even where if box1 is clicked i change the background $(this).css("background-color", "#d4d4d4"); now how can i do this so if i click on a different box1 the other box will go back to default and the new box will have a different background
 
function() {
    // css change number 1
    // css change number 2
}
 
nvm
 
;-)
 
$('.convos').not(this).each(function(){
$(this).css("background-color", "#ECECEC");
});
i used that lol
thanks tho
 
 
1 hour later…
8:47 AM
hi
 
I am getting good at regex :O not sure if this is a good thing or not...
@towc hey o/
 
9:10 AM
\o
 
> angular.min.js 105kb
dat fat framework
 
hi all
I am trying to add click event on an element with data-toggle="tooltip" using data-trigger="toggleFrame"
 
I just noticed that this page makes me request 7.0 MB from the server... of which only 3kb are css and html, the rest is images. The images load dinamically, but still: it can be quite annoying. Should I make the images smaller or what?
 
but somehow bootstrap tooltip is not showing
 
@NeerajKumar use js
 
9:22 AM
can someone help me out on this pleas?
I am
wait i'll post a pastebin
 
DROP `bootstrap` FROM `project`
 
ever heard of el.addEventListener('click', ...)?
 
@towc ... is not a valid function name
 
this is the paste @towc
 
class="fa fa-lg fa-check visible text-success disabled">
wurt!
 
9:24 AM
@AwalGarg this is for some checks
using php it gets rendered dynamically
 
@NeerajKumar use the attr title=whatever in the html instead of most of those things
 
this is without the disabled class: <i data-toggle="tooltip" title="Tooltip on left" data-trigger="addToVault" class="fa fa-lg fa-check"></i>
 
@NeerajKumar never ever use php when you don't have to
 
I don't really understand this way of coding.
> I have to hide an element... aha! Let's use jquery!
 
@AwalGarg I have a div with multiple frames inside it. which will get toggled using action icons
 
9:26 AM
@NeerajKumar I'm afraid I can't help you. Read more about how to HTML, CSS and JS. I think you're missing the basics
 
@AwalGarg oh ho. i get what you are saying. but query is already a dependency in my project :) so why not use it
 
@NeerajKumar make a fiddle at jsfiddle.net and we can help you solve the problem :)
 
@towc wow. that was harsh :) anyways, let me create a jsfiddle.
btw, whats wrong with his style?
 
whose style?
 
for the one you said you do not understand this coding style earlier
 
9:37 AM
Do you know pure (vanilla, no library) javascript?
 
not really. never got into it.
 
Don't listen to Awal. He hates jQuery for no logical reason
 
yea yea. i know what that is.
 
@Cerbrus eh no. not that.
look at the context
 
i use it because it get things done. quickly. with worrying much about cross-broswer compatibility.
 
9:40 AM
we can clearly see that....
 
@Cerbrus i know.
see. I get that code should be beautiful and must be super quick and should be robust. but at the same time. If I can produce perfectly working code in less time using some framework, i would rather choose a framework over core language.
 
> "perfectly working code in less time"
I am yet to see such a case
 
you are too pessimistic bro.
 
The real need is that everyone uses it... and so do I myself have to learn it.
Just that I am procrastinating it.
 
aah. hence the loathing
 
9:46 AM
kinda, yes
 
lol. I used to hate JS altogether. but I had to learn it the hard way.
 
I thought you were making a fiddle?
 
Honestly, I have never made one. Check and see if you can fix it. jsfiddle.net/du6voc0u/2
 
What is the problem with it?
The add button is not working, hm?
 
no no.
wait
check this: jsfiddle.net/neerajsohal/du6voc0u/4 tooltip is not coming for plus sign
 
10:00 AM
@NeerajKumar you have a data-trigger in there
 
yea. i do.
 
remove it and it will work
 
i know. But I cant get rid of it you see. Cause I need a click event. Click event is important.
that how I am planning to switch frames using these actions.
 
add a click event with addEventListener
 
hmm.
will is work on everybrowser?
 
10:02 AM
no, but you can shim it with 2 lines of code
 
ok. now that went over my head.
 
then it will.
 
it seems that bootstrap tooltip doesnt work with multiple event handlers.
anyways, thanks for pointing me to the right direction.
:)
 
np
 
You charge $10 for 15 mins?
 
10:04 AM
haha yes
 
does it make you good money?
dude you are from delhi? where?
 
I have just started. First 15 minutes free lol
I am a student
yes delhi
 
nice. i am from delhi too.
 
full time developer job?
 
yea. I am technology lead with a company in Delhi. I make products. Web Applications mostly
For now I have dropped the plan to display tooltips. will get back to it later.
 
10:11 AM
bad idea
do it now
 
naah. there's a lot that need to be finished first. which is more important.
this bit is shelved for now
 
;-)
 
what college are you studying in?
 
open
 
ohh. nice.
 
10:33 AM
Sharing my codes
http://jsfiddle.net/Krishjs/6ztvj/embedded/result/
 
@Krishjs 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.
 
http:// jsfiddle.net/Krishjs/6ztvj/embedded/result/
got it @CapricaSix
Sharing my codes will be happy if u look it and comment
 
base64 image data inside javascript code?
 
tried out some widgets so had to use it
is it a bad habit do so ??
but wouldn't do it in a production code
@AwalGarg
 
avoid styling elements directly from javascript, add a css class instead
 
11:12 AM
gotta have class, man
3
 
11:41 AM
@Neil haha yes
 
candy crush?
 
I joined irc today :D
 
wah
which rooms did you check in?
 
##javascript
damn 1k people inside the room at once!
 
:D , one fine morning i checked into rails room and said "ryan bigg's multitenenacy book should be available in torrentz" in front of ryan bigg.
 
11:50 AM
lol
 
12:08 PM
but now that i have bought the book, i'll upload it.
 
12:33 PM
Mornin
@Awal congrats on the avatar
##javascript is horrible
@Neil what's up?
 
@BenjaminGruenbaum not a whole lot, you?
 
At a family event, not much. Taking a class in the Uni with Lego so that's fun
 
lego robotics stuff? nice
 
my university had a robotics lab with cameras mounted on four corners
I regret not having taken that course, but I think I was too focused on making a good grade
 
12:46 PM
we regret a lot of things in life. but if you do really god at what you do, you don't need to become a multi-talented user, handling a lot of concurrency i GUESS
 
I don't really god at what I do.
 
there's a difference between being not good and not liking what you do. if you are not doing good then sir Benjamin can help you. ;P
 
Well, that went over your head. Twice.
 
my head? i don't have a head.
my head has been taken for experimental purposes
 
@BenjaminGruenbaum :D
 
12:54 PM
haha
in Indian Enthusiastic Programmers, yesterday, by Awal Garg
hey I am back... it's raining outside so I didn't go.
 
@erikroyall you stalker :P
 
Uh... come again..
 
lol but why are you reading that crap again?
 
It's damn funny lol
Not for you though.
 
dat gurl
 
1:02 PM
u like her
your life has cone to an end
 
lol nope
 
oh saved by the nope
0
Q: jQuery .toggleClass works on second click, NOT on first click

thatdankentI have a button that toggles background images between a bird in a cage and a birdless cage representing a boolean option with the following images: Boolean: Text is published = Image: cage with no bird. Boolean: Text is unpublished = Image: cage with no bird. If the page loads and the bird c...

 
> 777
 
too much 7
but i don't think thats necessary
 
1:30 PM
so does nobody have an inbox invite yet?
 
@AwalGarg I have had inbox for quite a while, spent 9 invites though.
 
@BenjaminGruenbaum do you have one now?
 
no, I do not.
 
;(
 
when i get one, i'll split it with you. 4.5 for me and 4.5 for you.
 
1:34 PM
They come 3 at a time
Every few days
 
oh.. 3 for awal, 3 for me, and 1 for Rukido and 2 for you
 
@argentum47 so sweet of you :D
@BenjaminGruenbaum where do they come?
 
this kind of marketing is called retro marketing , where you create demand ... (but that doesn't work on me, i am too lazy)
 
@AwalGarg to my inbox.
@argentum47 worked for them with gmail
failed with plus
 
@BenjaminGruenbaum kk
you mean this invite only thing?
Didn't Stackoverflow also start as an invite only service?
 
1:39 PM
facebook and pinterest too
 
Your mom too
 
not facebook, I believe
copy also starts like that, then we paste it everywhere
 
the harward.edu stuff
 
That joke
 
1:42 PM
@copy so... whose copy are you?
 
its a recursive question, like who came first the egg or the chicken
 
Isn't there an Indian room for you guys?
 
@AwalGarg the guy.
@copy play nice.
 
you get a "too much deep stack" error in rails for circular dependencies ..
 
Ok, back to work
 
1:45 PM
@copy but there is no copy there :(
 
i wondered how deep they r talking ? like knee deep or like shit deep
or maybe Jhonny Deep
 
@copy what're you working on?
 
copy-paste
 
@argentum47 please don't use broken English here, or make unfunny jokes. Thanks :D
 
yeah... benji noep liek badd englsh
 
1:49 PM
@BenjaminGruenbaum A multiplayer game, virtio for the emulator and some CUDA
 
i have to do something about my englishh
 
stop using it
 
i should try Russian now
English should do something about me
 
@argentum47 We don't have a problem if people aren't very well versed with English. We have a problem when they use text speak and "shorten" words. Do nt tok lyk dis
It's are, not r. You, not u. And so on
 
2:09 PM
i like your avatar.
there is something wrong with my ubuntu display.
look at the left side,
for this if I have to click a button, I have to click little to the left of where the the button actually is
please, how can I fxit
 
chat was down :/
@copy sounds cool, what are you coding the multiplayer game in?
@argentum47 also, I is capitalized as a word.
 
@BenjaminGruenbaum JavaScript. The server code is relatively small though, so I might still rewrite it in another language if Node annoys me more
 
@copy remember - use libraries - for example in your collections issue I would have probably used Facebook's collections library (Immutable.JS)
Node ships with nothing
 
2:25 PM
writing I in capital makes me feel like I am being very self-centric
also why do people sometimes use !!. like
function user_signed_in() {
	return !!current_user();
}
instead of just return current_user() . where current_user is another function that returns a boolean value
 
@BenjaminGruenbaum Right
 
@argentum47 because they think they're clever, doing !! is stupid. Also, your casing is wrong and if I saw a function called current_user that returns a boolean in JS I'd punch whoever wrote that code.
I assume current_user returns a User object or null, in which case doing return Boolean(user) would cast it to a boolean, doing return currentUser != null would still make more sense
 
Was that o short for "oh" @argentum47?
 
oh, my mistake current_user does return an object.
no , o, is just O.
 
2:32 PM
Why did you write it as a message then?
 
and this GUI problem i am facing.
bad mistake. i blame my touchpad
 
Sim
hey is anyone familiar with videojs?im trying to add watermark but for some reason its not showing up
 
watermarkjs ?
i miss Loktar
watermarkjs ?
 
Sim
i tried using it codepen.io/anon/pen/Ekagv but it's not showing up
 
2:49 PM
@argentum47 use I not i
 
why are you doing this to me. i have to press a Shift and then the 'i' . its so much work for a single alphabet.
please
 
It is extremely annoying to read broken language and to try to make sense of it. You're a programmer - holding shift should not be a challenge anyway.
 
ok fine
 
Your pinky should be on the shift key and either your index or your middle finger on i, it requires no additional effort and it's correct.
 
:))
 
2:52 PM
room topic changed to JavaScript - Give Us Candy: Read this: rules.javascriptroom.com. Before asking inform yourself on the XY problem goo.gl/taIqf | Horse grooming is on topic here. stop asking. Reg room here: chat.stackoverflow.com/rooms/59354 [ecmascript] [javascript] [life-gives-you-rlemons] [no-raisins]
 
you see, I always tell, only you can make me better.
 

« first day (1477 days earlier)      last day (3454 days later) »