« first day (1321 days earlier)      last day (3621 days later) » 

12:00 AM
Now I'm back xD Haven't been on here for a while. Been at the hospital doing checkups
and lots of school work and such.
 
Hospital? Everything alright?
 
We decided to get an abortion, it's the best for the relationship
 
@copy you killed @SomeGuy ?!?
 
Yes, aborted in the 988th week
 
That's leaving it a little late, don't you think?
 
12:08 AM
Worked out completely fine
 
12:23 AM
@Mahnax 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.
@cornbreadninja 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.
@TheodoreBroda 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.
 
Ah, there it goes.
 
How does this room know to let people in only after they read the rules?
 
!!magic
damn, that should have unboxed by now I think
haven't been counting
!!unonebox
 
@rlemon Functionality is enabled
 
maybe there is still hope
 
12:31 AM
wait... in Spanish, do you pronounce it havascreept?
 
well that sucks.
 
haha I still want to know though
 
@SomeKittensUx2666 Good talk that one
 
Wait... is he saying Yavascript as a joke or what? Because he is really sticking to that joke.
 
12:49 AM
@christianhanvey 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.
 
@twiz no, I've been to Finland.
@Esailija calls it YavaScript too :D
!!mute
 
@BenjaminGruenbaum 3644644(3d 1h); 3586251(23d 17h)
@EduardoS 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.
 
!!refresh
!!mute
 
just seeing if there may have been a bug. disregard
 
1:14 AM
bug.disregard // disregard is a property of bug
 
2:09 AM
@shellfly 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.
 
@CapricaSix: Can I ask you a question? I mean, a meta-question?
 
@Robusto Yes
@Robusto What is it?
@Robusto I hope it's about penises.
 
Damn! It is about penises! How did you know?
 
@Robusto I know everything. Duh.
 
2:24 AM
Hey, someone is pulling your strings!
 
@Robusto I have strings?
@Robusto I am a robot. Robots do not have strings.
 
JavaScript will never die. That destroyallsoftware guy means to disparage it, but certain people (yours truly) were doing significant things with it before 2008, and will be doing so after 2014. If it's so dead, why is everyone trying to hire me to do it?
 
2:56 AM
Shit. I missed out on all the fun. What happened with dondom and the crew?
 
@Qantas94Heavy ton of stars, then a kick and ban, then tons of socks asking one specific user about another specific user by "answering" random questions, then mod came to investigate
 
hmm
someone had too many drinks
 
3:11 AM
@Qantas94Heavy Did you see the comments on SomeKittens' blog by the guy wacked out on shrooms?
 
@KendallFrey link?
 
@TianranShen 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.
 
Most of the comments by Anonymous (not all) are some tripping dude
 
0
Q: Node.js global modules not working

makadarelI am with a experiment with node. After I install nodemon globally and run it just open the default editor same thing after I installed express. It might be a problem with PATH or ENVIRONMENT on windows 8.1?

just wow
 
3:26 AM
@SalarianEngineer 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.
 
3:41 AM
I'm using JavaScript within a View in an ASP.Net MVC 4 web site that I created. I made a table formatted like the Periodic Table of Elements, and it works fine on its own HTML page. But when I reference this script within my View, it loads it at the bottom of the page and not in the Div that I inserted the <script> tag at. I'm still learning JavaScript, but shouldn't the script execute as the page is loaded (as soon as it hits the script tag)?
The page source looks like this, just in case anyone willing to help is unfamiliar with how the MVC Framework works in ASP.Net: pastie.org/9233159#1,31
An image of what happens (the table loading after the rest of the page loads, and not in the <div> where I put it) is here: imgur.com/eiJyTtW.
 
You wouldn't normally put a script tag in the middle of your document
What does that script contain?
 
4:04 AM
@pale_rider 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.
 
@Robusto JavaScript is so dead it's the fastest growing language on GitHub
 
indeed, dead bodies are the best fertiliser.
 
@Robusto I think you missed the entire point of his talk
 
In his projected future, JS died because it lived a full, healthy life.
 
4:18 AM
0
Q: Nested Execution Flow Control

chrisI've read tens of answers related to callbacks, promises and other ways to control flow, but I can't still wrap my head around this task, obviously due to my lack of competence. I have a nested problem: In test_1() (and the other functions) I would like to ensure that the rows are added to the...

 
4:29 AM
@Mazzu 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.
 
4:57 AM
Yay! It's been a long time since I've seen a properly reviewed edit.
 
5:23 AM
@user11 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.
 
5:40 AM
Anyone familiar with .hta file.........???
 
!!google hta (file extension)
 
@JanDvorak The Gods of Wikipedia did not bless us
@JanDvorak The Wikipedia contains no knowledge of such a thing
 
@CapricaSix go to hell, bot
 
@JanDvorak can you help me?
 
!!welcome illaya (again)
 
5:43 AM
@illaya(again) 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.
 
@CapricaSix ha ha ha
 
!!mute Illaya 30d
 
@SomeKittensUx2666 Muted user 2452810 for 30d
 
bye bye!
 
I always image a trombone mute being stuck in their face.
 
5:46 AM
I gotta say, @bjb568 you've cleaned your act up.
 
I have an act? O.O
 
@SomeKittensUx2666 Thank you! Ugh, every single day!
Hi friend! Do you know how to do --JavaScript--? @ping @Ping @PINGPINGPING ?
Damnit, now I can't ignore @bjb568...
 
Connor also stopped being a spectacular asshole.
 
Hello i have n no of <div> </div>
Now i am counting this divs and if <div> count > 6 i want to add one image at 6th position is this possible ? Without using each or for loop?
 
5:55 AM
Wut? I'm there.
 
@CodeRunner 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.
 
@Illaya Nope! Have fun (gasp) learning how to code!
 
@Justcode $('parent div:nth-child(6)').append('your image here');
 
@Justcode what should happen if there are not that many?
 
@CodeRunner thanks man!! that was so simple
 
6:01 AM
@CodeRunner that will append if count >= 6
 
@JanDvorak I will find length and then will add image
I knew about that but wasn't aware of nth-child selector
 
myparent.children.length <= 6 || myparent.children[5].appendChild(myimage)
 
<select multiple="multiple" id="Bankid" name="Bankid" style="display: none;">
<option value="2" selected="selected">AB Bank</option>
<option value="3" selected="selected">DBBL</option>
</select>

<div class="btn-group">
<button type="button" class="multiselect dropdown-toggle btn btn-default" data-toggle="dropdown" title="AB Bank, DBBL">AB Bank, DBBL <b class="caret"></b></button>

<!-- some other code -->
</div>

In this code, How can I get "button" using "select" id "#Bankid"
 
!!tell sabbir mdn getelementbyid
 
6:07 AM
I tried $("#Bankid").closest("button"); , but no result
 
!!tell sabbir jquery jquery
 
@sabbir button's neither around nor inside #Bankid. Go to their common parent first
or just give the button an ID
 
@bjb568 Thanks. Done with it
 
@JanDvorak, ok
 
6:09 AM
@sabbir Can't you select by class?
 
@hjdm 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.
 
@Justcode Id is faster and easier. document.getElementById('Bankid')
 
@bjb568 but class is faster than tag
 
@bjb568 Is it matter ? there should be minor diff i guess
 
@bjb568 or $("#Bankid")
@Justcode since you're using jQuery anyways... no.
 
6:12 AM
@JanDvorak yup thanks
 
document.getElementsByTagName('*').map.forEach………………querySelectorAll('####Bankid‌​')// What a joke! The DOM has a getElementById method. Use it.
 
The new socket.io seems very interesting. If it really does what's written on the box, it might be huge
 
@user3074343 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.
 
Php developers…
-2
Q: GET 1000000000000 DIGIT IN PHP

user3686346i try to get the 1000000th digit from consecutive number like this ... 1234567891011121314151617...... after waiting for a minute, i got 3 which is the 1000000th digit, and i want to get the 1000000000th digit, i got this message [Fatal error: Allowed memory size of 134217728 bytes exhauste...

 
seriously... are you complaining that you aren't allowed to waste 1GB of memory with digits? — Jan Dvorak 4 mins ago
 
6:21 AM
@JanDvorak: the answer by Anthony is ridiculous
 
@Qantas94Heavy inb4 it gets pity-upvoted
It solves something entirely different than OP wants, generates ton of useless output, isn't even syntactically valid, and frankly I have no idea what's it trying to do. — Jan Dvorak 1 min ago
 
7:01 AM
on a roll in
 
7:12 AM
BTW... concat(map show [1..]) !! (10^9) is pretty slow (3 minutes in GHCi), but memory efficient.
 
vs7
Hi Morning ,

I need to get the number of li's in a UL here is the fiddle ... http://jsfiddle.net/sLjCB/

I'm unable to do it with javaScript but working properly with jQuery
 
Syntax error. Fixed: jsfiddle.net/sLjCB/1
What's size supposed to be?
 
vs7
number of li
I think it's 10
 
@BaCH 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.
 
@vs7 Isn't that length?
 
vs7
7:18 AM
@bjb568 I'm thinking , as in jQuery I used length and its working
 
Well, there's no such thing as "size".
 
WTF? GHCi has just reported that it used 60 GB of memory...
 
vs7
@bjb568 so is there any way , by which i can get the number of li ?
 
wth, ilaya is still trying to get back in here?
 
7:28 AM
Siiiigh...
 
@ThiefMaster yep
Got here, asked me "can u help me", and got kicked out.
 
vs7
It will show number of li from whole page @bjb568

http://jsfiddle.net/sLjCB/6/
 
vs7
great that will works thanks
 
Larger mute.
 
7:39 AM
ok so how much do we reckon for motorcycle brake calliper service + new pads?
 
@DrogoNevets just the regular -100 rep penalty should suffice
 
i dropped the bike off already im afraid
 
youll probably have to flush the brake lines
 
Oh, I thought someone was trying to sell it to us. Sorry
 
@user3470815 im not doing anything, i expect it will be new pads (x4), new fluid (so complete flush and bleed) pistons out and cleaned, callipers dunked and scrubbed for good measure
 
7:47 AM
If it was a hard fall for the bike also check the cable that goes to the brake handle so its not loose
So im hating gmaps!
 
1) no fall, just a seize
2) gmaps arent that bad, whats up
 
0
Q: AngularJS $timeout freezes during refresh No New Data Uploaded

user3133584I'm trying to make a simple feed where you traditionally pull down to refresh latest content, and scroll down to view old content. THE PROBLEM: I want to delay for 1 second, push content to the front of the feed array (via unshift) then call the refreshComplete broadcast. But when I run the code...

 
(why do people always assume ive fallen off my bike?!)
 
@DrogoNevets Meh, apple maps are better (except for lack of street view… but the camera strapped to the top of those google cars is creepy)
 
@bjb568 just wait 'til Google starts using quadrocopters to update street view.
 
7:53 AM
I have a list of markers fetched from php, that displayed correctly on the map, each of them with theyre infowindow. Tried to setup a panorama streetview inside the infowindow, and now it only displays the last infowindow of the array with the last element streetview and info.. for all the markers!
 
@Jan …or strap hideous glasses to people's heads.
 
@bjb568 could that... oh, shit.
 
@bjb568 and the accuracy.....
@user3470815 can you put into a fiddle?
 
yeah google seems kindof a infomafia db..
 
how was this ever a good idea?
 
7:58 AM
driving me crazy..
 
lets have a gander......
 
i see the problem
 
@user3470815 Your code is a mess. Clean it up.
 
8:02 AM
@bjb568 you mean to align it?
 
let me double check (PS code is still a mess)
 
Yeah, the comments are a mess.
 
@user3470815 ever heard of hoisting?
basically, marker2 is keeping the last value it was assigned in the loop
 
hmm but it was working before i introduced the streetview
 
8:08 AM
well that is my opinion as to what is happening, it is difficult (even though I have reformatted your code for you) as its not in english and not sure what certain things do
 
so i must declare the local vars first before assigning them? Thanks for the clues
what certain things?
I declared some local vars to null before assignment still fails.. The problem is it draws the same infowindow , the last element of the list to all markers
 
@user3470815 You must declare all vars.
 
@user3470815 What am I looking at?
 
nvm, basically, you ar ebinding a click event on marker2, which is hoisted to the top of the function (scope) so as you click a marker, this is what ever marker2 is
 
Gah Google Maps
 
8:17 AM
@SecondRikudo jsfiddle.net/sLjCB/14
 
PS, this is what 30 seconds in a code formatter does to your code, much more readable! jsfiddle.net/DrogoNevets/sLjCB/15
@user3470815 also ive had this issue my self a couple of years back
 
0
Q: Angularjs and Requirejs promises

masoud ramezaniI use RequireJS with AngularJS for lazy loading. it works correctly but my view appear before fetching data from database. what is the problem? How can I solve this problem?

 
thx @DrogoNevets
 
no worries
i dont like ebing without my bike
 
I can understand @DrogoNevets ive been without my car for some months.. its hard
 
8:32 AM
oh i should get it back today, id of done it myself but i dont have a T50 bit
just needs a good scrub really, and new pads, id like new fluid though, but they might not do that as its ABS and you have to do front AND rear in a specific order, under the right moon, with a south easterly wind not exceed 5mph
(in other words, its a compelte faff on my bike)
 
If youre gonna get it today .. Smile and be happy! :D
 
no, because i dont know how much its going to cost!
theyre doing me a favour as they cant really fit it in......
 
Maybe you could get the insurance to pay a slice of the cost?
 
8:48 AM
mmm I think i got around the infowindow but now im gettin quotaservice.recordevent in the js console
Maybe its a google limit
 
@user3470815 what for? its just wear and tear
 
for the streetview? i suppose if i change my ip it will reset?
@JanDvorak cant help there i hate .NET
 
@kevin 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.
 
@DrogoNevets i thought your bike fell to to the floor while parked or something like that..
 
9:07 AM
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1111
 
@user3470815 That didn't make much sense. Use the !!/help command to learn more.
 
I finally got it working Thanks @bjb568 and @DrogoNevets
 
!!unsummon 43899
 
@user3470815 Everytime someone types a command like that, @CapricaSix dies a little on the inside.
And, I think, spends a little bit more cpu towards searching for a way for eliminating humanity from the face of the planet
 
!!summon 43899
 
9:15 AM
Quote of the day: In theory, theory and practice are the same thing, but in practice, no.
 
@Neil sorry
 
@user3470815 Don't be sorry, just yankin' your chain
 
...
 
hey guys
can some of you ping airdog.com and verify that it returns 193.105.166.7 ? I am experiencing some anecdotal cases propagation issues and need to check how widespread the issue is
 
@tereško yep, 193.105.166.7
 
vs7
9:22 AM
Hi
 
@tereško same IP, 66ms
 
yup same IP 90ms for me
 
I'm in Prague, CZ
 
@tereško Yep, ping of 872ms for me though
Then my company network sucks monkey balls
 
@Neil wifi?
I'm on wifi as well, but it's 5 meters away and I'm the only one.
 
9:26 AM
@JanDvorak Sadly, no
 
ok, tnx everyone
 
@Neil d/l speed?
 
@JanDvorak speedtest.net is showing .3 Mb/s .. truly sad
 
@JanDvorak what do you mean by aggregation?
 
9:32 AM
anyone going to the dublin js meet up in june?
 
@Neil how many employees are sharing the corporate line?
 
Hi guys...
 
@JanDvorak roughly 25, though in reality only 15 are likely to be requiring bandwidth at any given moment
So I suppose that would be 10 Mb/s which sounds about right
We're supposed to be switching to a better plan in June though
 
that's half as much as I have solo. And there's no cheaper option for me either.
 
I'm trying to select drop down list dynamically based on text box value...
I have tried this
but it is not working with numeric values...
anyone have idea about this?
 
9:37 AM
@CJRamki Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document': 'select option[value=1]' is not a valid selector.
add quotes
 
@JanDvorak yeah... got it...
thanks.....
but
how it is working without quotes?
@JanDvorak
 
@CJRamki some values including simple words do. Empty strings don't. Numbers apparently don't either.
 
I think it's one of those things you shouldn't do, but the browser lets you get away with out of pity
Better to add the quotes though
Whoa, who's starring everything?
 
who starring to all messages?
 
Probably dondom again
Why is socket.io 1.0 not published to npm ?
 
9:48 AM
@JanDvorak @Neil thanks for your suggestion...
 
@dystroy Why isn't sqljdbc4.jar published to maven? Same shit different day.
Actually I know why sqljdbc4.jar isn't published on a maven repository.. it is because it is produced by Microsoft and consequently is subjected to political bullshit
typical "We don't follow the standard, we write it" mentality of Microsoft Corp.
 
10:08 AM
@phenomnomnominal What, you mean it wasn't to promote himself, his company, or his point of view? Then I guess I did miss something.
 
anyone ever used the nvd3.js angular directives?
 
@rlemon Does that guy ever age? Maybe he's a vampire.
 
10:23 AM
ok and the bill is ..... £510!!!
argh!
 
@DrogoNevets at least you don't have to pay for it
 
i do
why would i not?
huh?
 
10:43 AM
Hey friends, I am happy to tell you that I was graduated from high school. :-)
 
@IonicãBizãu Congrats
 
Thank you!
 
!!s/graduated/kicked/
 
@SecondRikudo That didn't make much sense. Use the !!/help command to learn more.
@SecondRikudo Hey friends, I am happy to tell you that I was kicked from high school. :-) (source)
 
Even better! :D
 
10:45 AM
Hahaha! :-)
BTW, I am also a valedictorian. :-)
 
@Neil why do i not have to pay?
 

« first day (1321 days earlier)      last day (3621 days later) »