« first day (1039 days earlier)      last day (3911 days later) » 

5:01 AM
@Rakesh 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.
 
@phenomnomnominal ...I'm Annie
@rlemon I hummed that in TeamSpeak and @OctavianDamiean didn't recognize it!
 
5:14 AM
good morning everyone
 
Good morning
 
@Zirak no you're leonard
 
That "which Community character are you" quiz says I'm Annie.
Did I accidentally inject myself with female growth hormone? ...again?
 
@Zirak Did you grow boobs yet?
 
m59
@Zirak did you see that starred bot post?
 
5:21 AM
@Zirak you obviously clicked that you were female and less than 24
which is cheating
 
m59
@Zirak tag fest ^
aww noms ruined it
 
because You're a GREAT BIG PHONEY
 
user652649
PHAT BOUNTY ALERT
 
user652649
2
Q: needed a way to force redraw of <select>s in MSIE8

Weswith (simulated) media queries I'm changing font-size of <select>s in my page I have problems with other browsers too, but I resolved temporarily detaching the elements from DOM and re-attaching them after a small amount of time but with MSIE8 I still have problems with height of <option>s whi...

 
m59
By the way dudes, I worked out that promise thing. The code looks awesome now.
 
5:24 AM
mac essentials ?
 
Can any one tell me which scripts libraries i need to import to jquery tooltip
 
5:39 AM
@Somnath run the tooltip method on document, jQuery takes care of the rest. jsfiddle.net/jpzmp/1
 
@DaveChen msdn.microsoft.com/en-us/magazine/dn127078.aspx here they have taken id af the control to add tooltip to only that control
 
@Somnath official source, api.jqueryui.com/tooltip it's possible to select a single element, but if you're using the title attribute, you can run the method on the document instead.
 
@DMDGeeker 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.
 
why i can't send ajax request after i use application cache?
 
@DMDGeeker depends, are you offline?
 
5:51 AM
no
@phenomnomnominal I cached my js file, which will send a ajax request
 
sure, but does it actually get triggered?
 
The browser cached my js file, but can't send request
 
//TODO delete next line.
The next line is commented.
 
@phenomnomnominal it enter into my ajax function, and may not send request, just make ajax.status = 0
 
@DMDGeeker what does the server say?
 
5:59 AM
@PrabuParthipan 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.
 
@phenomnomnominal no, browser didn't send that request, nothing happened at server.
 
what browser?
 
chrome at mac
 
what does the network tab say?
 
@DaveChen i have done see jsfiddle.net/EZpsy/21
 
6:01 AM
at my onreadystatechange function, when at readyState == 4, the xhr.status is 0
 
@Somnath if you change it to document it works fine, jsfiddle.net/EZpsy/22
 
@phenomnomnominal 1. get xhr.status: 0 (when xhr.readyState = 4) 2. send() didn't be triggered.
 
@DMDGeeker sorry, can't be fucked thinking right now
 
@phenomnomnominal that's ok, i thought that cached js file may prevent that ajax request. I try to figure it out
 
it really shouldn't
have you got an error callback?
 
6:22 AM
@phenomnomnominal i add an error callback just now, it did trigger an error.
 
Fuck eDMs
 
@DMDGeeker what was the error?
 
that's not the error
 
m59
6:54 AM
gimme rep dernit!
 
!!stat m59
 
@JanDvorak m59 has 61 reputation, earned 0 rep today, asked 3 questions, gave 9 answers. avg. rep/post: 5.08. Badges: 0g 1s 9b
 
m59
I finally managed to answer before someone else did.
Maybe people will actually vote :)
lol, and me and this guy totally disagree with our answers. uh oh.
I hope you dudes taught me well!
Could someone verify my thinking?
The question is whether to make one fairly large call to the server, then filter the data client side for view
 
I can't
 
All this time talking about an a question, and still no link
 
m59
6:59 AM
or keep loading more data on scroll/pagination
 
but give me the link?
 
m59
0
A: AngularJS proper/best practice in handling large amount of data

m59If I understand you correctly, I think you are on the right track. I'd rather make one call and request a large amount of data (within reason) than have to continually make a request to the server. I think it is best to test it and see if it performs well enough for you. Generally, increasing the...

 
!!get answer 1435655
 
0
A: Angular Directive to Directive call

m59It sounds like you are looking for a directive controller. You can use the require: parameter of a directive to pull in another directive's controller. It looks like this: app.directive('foo', function() { return { restrict: 'A', controller: function() { this.qux = function() {...

 
m59
lol you're going to steal my rep =D
 
6:59 AM
I agree with the other guy
 
m59
How slow are your servers? lol
errr, then again, how slow is mine?
 
if the response is 10 MB, it's better to make it 100 x 1kb instead.
 
m59
10mb LOLZZZZ
 
Other guy is right.
 
m59
sigh.
 
7:01 AM
Larger amounts of data are better loaded incrementally, as they're needed.
 
what if we voted the question as POB?
 
m59
how large though?
 
wishes my name was other guy
 
7 largeness units
It's highly subjective, but it's usually easily spotted because what your loading are different sections of the data.
 
m59
Consider this: my local xampp is slow as ballz. It takes at least two second no matter what request you do. A single word = 2 seconds. 1000 lines of json = 2 seconds.
10,000 lines of json = 2 seconds
10,000 lines loaded in 5 pieces = 10 seconds = whaaaaattt.
 
7:03 AM
In extreme situations, we can't know, and they have to be treated separately. But we're not talking about extreme situations.
But the point is that if a user requested your mother's blueberry pie recipes, also loading the muffin recipes is a waste.
 
m59
It seems like for me 42k vs 1k would load almost at the same speed, but making even one additional call completely kills the overall time.
 
Consider this: Your local xampp server is not the real world.
 
But all that data isn't necessary right away for the initial display
 
m59
I get that. Whoever taught me this trolled me :(
 
The point is loading only as much as the user requested, which is what multi-page websites are (remember those? the regular guys?)
 
7:06 AM
link to whomever taught you this, please
 
m59
I'd rather take an extra 50ms and have all the data available than save that and have more loading all the time.
 
@Zirak You're showing your age
 
m59
I thought it was you, @JanDvorak =D
Someone in here.
 
o'rly???
 
It's very easy in your fancy single page to load everything, kill your bandwith and quadruple your loading time. But it's unnecessary.
It doesn't scale.
 
7:07 AM
what would be the point in being slow, just to get data you can't see that fast anyway?
 
it pretty much depends on how much is everyhing
 
@Zirak "We do these things, not because they are easy. But because they are hard." - John F Kennedy
 
Of course it's highly subjective when you should break.
 
I wouldn't be afraid to load the entire category tree. I wouldn't load the product list.
 
m59
42k is less than 1/4 of the normal total for a page.
 
7:08 AM
@Sumeet 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.
 
g2g, bye
 
m59
@JanDvorak see ya
I did say "within reason" and that's it best to test it and base it on the situation.
42k sounds within reason to me, but I wouldn't know without trying it.
 
The "Foo Fighters" drummer is really good.
Oliver Taylor Hawkins (born February 17, 1972) is an American musician, best known as the drummer of the rock band Foo Fighters. Prior to joining the band in 1997, he was the touring drummer for Alanis Morissette on her Jagged Little Pill and Can't Not tours, as well as the drummer in the progressive experimental band called Sylvia, which, after changing its name to Anyone, went on to sign with Roadrunner Records. His cousin, Kevin Harrell, introduced him to Dave Grohl after camping with him for several weeks in the Ozarks. Hawkins would eventually become the drummer for Grohl's band, F...
He has some good stuff.
 
@phenomnomnominal I fixed that issue, cache manifest file should add a * at Network's bottom. then ajax works
 
m59
There, now my answer is better (and biased) =D
 
7:21 AM
@m59 but now it's no longer your answer
 
m59
by that reasoning, it never was.
 
@m59 Semantics...
 
m59
heh
 
@Zirak :/
 
m59
nighty night
 
7:56 AM
o/ everyone
 
Hello every one
 
8:11 AM
\\o
 
what the hell
 
I was wondering if pushing elements in a JS array within the loop while it is iterating over that array will add on the iterations as well?
 
why the new css posts are not being reloaded automatically
 
Any comments?
 
on Chrome?
is this happening to you guys too?
 
8:20 AM
@techie_28 You mean, if you're looping and you add elements in the loop, will they be looped over as well?
That's trivial to test out
 
@Zirak I tried it in jQuery.each..it doesnt iterates over the newly pushed elements
 
@Zirak new posts on stackoverflow (related to a tag) are not being loaded on my PC.. any help?
seems to me like virus
 
@techie_28 You can look at the source to see why
@Mr_Green Oh yes, a deadly virus! Might even be 4088.js
 
any link to solve this issue?
this is my office laptop
I am worried
 
You have to burn everything.
 
8:22 AM
hehe
please
 
With fire.
 
There's no escaping 4088.js. Do it quickly, before it become 8176.js, and then we're all screwed
 
Why do you need to escape 4088.js? Are there special characters inside?
 
(in the likely case nobody knows what I'm talking about: chat.stackoverflow.com/transcript/message/9802914#9802914)
 
k
It is happening to me in all browsers
not just chrome
I scanned my computer
no virus
 
8:28 AM
Why the hell would it be a virus!?
It's probably just a network error or a bug on their side
 
happening to me from yesterday
 
See if it happens on other tags as well, and report on meta
 
ok
even comments and new posts are not being reloaded
new posts means new answers on a post
 
Then debug.
Look at your console for errors, see if maybe your socket's failing, ...
 
host is launching game ...
 
8:31 AM
ma1nerror is now playing Battlefield 3â„¢ Limited Edition
 
'cept he's not but don't tell anyone, they don't know.
 
1404 messages
 
ma1nerror is now offline
In CO-OP with Zira
 
I fucked up my K/D pretty well yesterday when I was trying to find you. :D
 
8:34 AM
@FlorianMargaine hey Florian, you getting married?
 
damn yeah
 
Congrats!
Teach us if there's life after marriage.
 
We need to throw you a bachelor's party.
 
@OctavianDamiean
18
A: Check checkbox checked property using jQuery

Octavian DamieanI decided to post an answer on how to do that exact same thing without jQuery. Just because I'm a rebel. var ageCheckbox = document.getElementById('isAgeSelected'); var ageInput = document.getElementById('txtAge'); // Just because of IE <333 ageCheckbox.onchange = function() { // Check if t...

ageInput.hidden = !this.checked;
noob
@Oleg I don't think I'll be able to.
 
Go away.
 
8:35 AM
Damn, the ever elusive mystery of life, the universe and everything.
 
@Mr_green A while ago, the complete site didn't work for me correct. ReferenceError: StackExchange is not defined I couldn't do anything normal, after a few hours everything went back ok again
 
Omg the 1022->8176 conversation. So good. Make a bookmark of that.
 
but to me it is happening from yesterday
 
@dievardump So, you like Sublime, don't you?
 
@C5H8NNaO4
happening in chrome and also in firefox
Hey I got error
console error
WebSocket connection to 'ws://sockets.ny.stackexchange.com/' failed: Unexpected response code: 502
 
8:37 AM
@Mr_Green was for me in chrome firefox and safari, probably just a bug on SEs' side.
 
@Mr_Green Complain on meta
 
Yeah that pretty much explains why the realtime functionalities are gone
 
I do. Why are you asking ?
 
ok
 
@dievardump Ever checked out Brackets?
If not, you should.
 
8:38 AM
Nope.
OK I will. But not tonight. Tonight is reserved to my dear Sublime.
8 days without it. 8
 
Uhm, okay.
I won't judge you, I got turned on by a girl that kissed a goat ...
 
Was the goat lovely?
 
Seems to be a known bug
5
Q: WebSocket connection failing on every StackExchange page

James DonnellyI'm using Chrome 25.0.1364.172 m and on every StackOverflow page I'm logging the following JavaScript console error: WebSocket connection to 'ws://sockets.ny.stackexchange.com/' failed: Unexpected response code: 502

I was worrying too much
I thought it might be a virus
silly me
 
@OctavianDamiean what makes Brackets do good?
 
@dievardump Features and it's new.
It must be cool.
Nah, I tried it on Windows.
It's not bad as it's focused just on HTML/CSS/JS development.
@dievardump I should probably also tell that it wasn't the goat that turned me on ...
 
8:47 AM
Help me choose: i.imgur.com/rFyExky.png or i.imgur.com/4srF5Rl.png (and no, I didn't write a single line of it)
 
The lighter one.
 
Okay the reverse scroll on Mac is bugging the hell out of me after a few month of windows & Linux
 
@Zirak first one, the second is harsh.
 
and i also HATE how i can't do ctrl + <- or ctrl + -> to move cursor a word at a time
 
8:48 AM
I can't see the difference on my phone.
 
@Mr_Green you're a bit of a fucking moron
 
Whaaaat ?
Calm down man....
 
That's almost as hilarious as a girl that once told her parents that she's a bit pregnant. :D
 
At least this room is always honest.
 
8:49 AM
Someone just starred that, then unstarred it. Bet it was @Mr_Green.
 
No, it wasn't me.
 
noo
 
a man shall always rise up
 
which one?
 
so calm up
 
8:50 AM
No it was me. :(
 
@Zirak on my laptop the darker one looks better. On my monitor the lighter one
 
dievardump is nice guy :)
 
@mikedidthis We're brogrammers, that's how we roll.
 
!!google brog
 
8:50 AM
@OctavianDamiean fo lyfe. Or something like that.
 
I am on my phone I sometimes click where I shouldn't
 
!!urban brog
 
@Darkyen brog a blog used solely as a platform for bragging
 
@Base33 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:51 AM
@Mr_Green indeed we are brogrammers
 
@mikedidthis So g-style homie.
 
I often downvote people by accident in my phone =/ sometimes i don't even realize i clicked it
 
hehe
 
I am not nice guy @Mr_Green I just don't know you. But according on how fast the sentence was starred... I guess you are probably a bit Of one... At least a bit.
 
@C5H8NNaO4 Next time I get a random down-vote I know who I'll shout at.
 
8:52 AM
@OctavianDamiean Mental image of a tattoo: 'If found return to chat.stackoverflow.com/rooms/17/javascript`
 
I didn't even know which one you starred @dievardump
 
@mikedidthis :D
room 17 fo lyfe yo!
7
 
It was not an accident this time.
 
!!s/yo/hoe/
 
@Darkyen That didn't make much sense. Use the help command to learn more.
@Darkyen room 17 fo lyfe hoe! (source)
 
8:54 AM
@OctavianDamiean amazing! I am sure I can get that as a temp tattoo.
 
@Darkyen The bot is right, it didn't quite make sense.
 
@OctavianDamiean :P your chances of shouting at the right one are not bad^^

The problem is i can't see the votecount on the mobile page and in the desktop version everything is so tiny, its hard to press the right button ^^
 
@mikedidthis Make sure to take pictures. :D
 
@OctavianDamiean comon we are all hoe's
code hoe
 
@OctavianDamiean word.
 
8:55 AM
@Darkyen I always like to think of myself as a pimp.
 
There is no such things as temp tattoo in a real world. Only permanent tattoos have the right to be.
 
@OctavianDamiean nah PIMP would be product managers unless you are one
I am an architect. so .... meh a Hoe for python and js
 
@Darkyen Depends, if you're a freelance you're the hoe and the pimp.
Weird, I know.
 
xD
@OctavianDamiean Rather a street hoe ?
 
freelancing for the win!
 
How can i include jquery 2.0.2 and jquery UI 1.10.3 libraries
 
(Except for the obvious typo in the description)
 
@abinop 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.
 
Including jQuery is bad.
 
just need to finish the generator which spits out a nice object for use in HTML templates
 
8:58 AM
@IvoWetzel does mia stand for anything special or is it just the good 'ol Missing in Action?
 
@OctavianDamiean Uhh... I came up with the name late at night, it just sounds nice and I guess I took it from some google translation of the word "description"
 
Missing in Action ???
 
@dievardump MIA, Missing in Action, used when you can't be found again while and/or after being in action.
 

« first day (1039 days earlier)      last day (3911 days later) »