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

12:01 PM
well,
1) start connection asynchronous
2) in success state -> call function
3) do what you want in function
 
@OctavianDamiean trying to ignore the conversations going on around me
the investor lady in charge of the companies RSP contributions is in talking to people
she keeps lying :P
but my boss likes her so I don't wanna call her out on her bullshit
 
He must like her a lot
 
step into corruption by selling motel tickets
 
she wanted me to switch my RSPs to the bank she works for, I said no, she started on some long story about how much more complicated this would be and how much more time yadda yadda yadda - I know for a fact there is no difference. boss sends a cheque to whoever.
 
@rlemon So what's her game?
Why would she care?
 
12:06 PM
A commission, I imagine?
 
^^
my position is, if you are going to BS me on something like that, why the fuck would I ever trust you to manage my money?
nope
NOPE!
 
store the money in your socks bro
 
@rlemon The sad thing of that being that this sort of thing happens so much that we assume it doesn't happen
 
I have an RSP, and I am very happy with my account manager.
he's making me money (not much, but money)
@Neil now I'm watching her sell everyone else.
 
I found out that my grandfather was a mean bastard
 
12:10 PM
not like she is going to rip them off or anything. but she has ulterior motives.
 
My dad told me that when he was young, he stored his money under his mattress, and that everytime his father wanted him to do something, he'd give him a dollar to do it
Come to find out, that dollar came from his own stash
@rlemon Who doesn't have ulterior motives?
Trust people who's ulterior motives coincides best with yours
 
at least be honest about them
I help people on SO for two reasons. a) it helps reduce the number of retards I may have to work with in the future. b) it makes me look better to the community.
2
at no point it is because I feel you stinky turds deserve the help :P
</mild-sarcasm>
 
@Max 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 C1 Espresso in Christchurch, New Zealand - you must go
 
@Tobo 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.
 
12:16 PM
they serve your food via pneumatic tube!!!
 
@rlemon it helps reduce the number of retards I may have to work with in the future. And what if it's negligible ?
 
@rlemon Food served in pneumatic tubes just tastes better.
 
1 less increases my odds
@Neil inorite?
if they could add Bluetooth to the entire thing I think they have won /r/outside
 
That is a cool idea though
I can't imagine what kind of stuff must be in the filter for the pneumatic tube vacuum
Burnt fries and lots of happy bacteria
 
Coding in Java when you got used to JS is horrible. I'm used in JS in typing a few lines then testing. But everything is so slow in java based web frameworks that it's so boring...
 
what is that? I use Ubuntu 14.04 and I'm afraid to download stuff from the internet. That's why I'm not using windows OS. I downloaded alot of junk off the internet and I got over 200 something threats and trojan/dos/alueron.a and best buy let it run on it and said it was for the computer system. and there is no way anyone can get me to use windows OS ever again. — Morgan 50 mins ago
What is this guy, 12?
 
guys
anyone here who's worked with google publisher tags?
 
@MilanMilanov 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.
 
cos I'm clueless and I've got a problem where the ads don't show up if I've got more than one on the page when using googletag.display('div-gpt-ad-1373625495868-1'); . . . .howcome?
 
12:28 PM
@JanDvorak did you see what the unnamed horse found ?
 
@dystroy now I have
 
It means that makes 2 questions to downvote instead of one
 
Also, one more question to closevote
 
@Neil you won't have that problem with ubuntu. . .you can download anything off the internet, adware and malware (95-97% of it) is made for windows. . . .I've never had any adware/malware/whateverYouWannaCallItWare added to my computers since I started using ubuntu back in '09
 
@pythonian29033 appeal to "linux is safe because noone uses it"
 
12:31 PM
^--
from a hacker's perspective, your goal is to have a lot infected machines. That's a common sense
 
s/hacker/cracker/
 
since windows is still being used widely... why to fiddle with UNIX systems ?
 
@KarelG unix is prevalent on mobile
 
that ubuntu kid doesn't have common sense
 
0
Q: Return a Q Promise from an API Properly

binarygiantI am developing an API that I would to return a promise. The returned promise is composed of several other promises, so I'm using Q.all and/or Q.allSettled. The problem I'm running into is that the code never completes (see test). I'm expecting to be able to call then/fail/etc on what's being ...

 
12:33 PM
well, there is an increase of interests to infect mobile OS
since more and more people starts to have a smartphone and is using mobile networks
 
@KarelG in-app purchases still stay the easiest way to rob people
 
Living in a small town sucks, specially when the only pizza store is open at random times, and even more specially when one of these random times is NOT now ;_;
 
@LorryMcPorry metaphor for farming?
 
@LorryMcPorry Make your own
 
12:36 PM
@JanDvorak yes, especially if you have young childrens
 
@pythonian29033 In fact. He's lying through his teeth or he's a complete moron
 
i have heard/seen > $1000 claims for app purchases
 
In fact, of that, I'm not convinced that those aren't mutually exclusive
 
@Rajeev 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.
 
@Kippie No materials, yesterday was a long night and today an unexistant morning haha
 
12:38 PM
@JoelKuiper 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.
@user2658013 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.
 
!!afk
 
since when is "#01DF01" blue ... ?
 
!!afk Lorry
 
seems to be green to me
 
It's blue if you're colorblind
 
12:40 PM
@KarelG who claims that?
 
Or no, it's blue if you're a dog
 
it should be yes.
/on investigation
 
!!color #01DF01
 
@KarelG green
 
12:41 PM
shows "image not found" for me
 
good job using a dead api, @rlemon
 
@Kippie thanks. It is a new thing
 
Need to fix color command
I dont' think that site works anymore
 
tomorrow i'm writing a webcrawler replacement for !!google command
@Jhawins re-host the color script plox
 
@rlemon that's just silly. Where would you store all that data?
 
12:44 PM
omg webcrawler.com still exists
 
typo D:
 
lycos.com works as well
did nothing get taken down?
 
used { ..., color; '#01DF01', ... }
 
altavista?
oh, it became yahoo as well
 
@KarelG reminds me of a famous space shuttle accident
 
12:46 PM
@rlemon lycos doesn't look like the lycos I saw last time I used it. Which was much more than 10 years ago.
 
@KarelG Still not blue, though
I somehow have gotten myself to set my default search engine to duckduckgo
only to use "!g" prefix for every search I do
 
@JanDvorak I prefer "linux is safe, because that's what the virus makers use" :D
 
@Kippie : the blue is a default color. the config was described incorrectly. Now it works fine :)
 
@pythonian29033 Well, "safe" is relative. It's just a way less tempting target.
 
Guys my counter skips the number 2 as in 1,3,4,5,6,7..
http://jsfiddle.net/4pcmS/10/
 
12:51 PM
@gandhi 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.
 
@Kippie linux users are also more computer savy and less tempted to execute a downloaded file named "execute_this_as_root_it_will_display_cats.sh"
 
@DavidH well, 2 is neither equal to 1, nor greater than 2
 
@dystroy Wouldn't that fall under "less tempting target" instead of "safe", though?
 
less tempted target
 
@JanDvorak Which operator should I use than to not make it skip the number 2 though say that if it's higher than 2 to do the else?
 
12:52 PM
Also, tbh, I'd totally run that shell script
 
incorrect, I coded something for linux, and it's actually more tempting than windows; windows users are easy to fool and the OS has holes that a lot of people know about.
whereas linux have constant updates and linux users are generally less gullable and sometimes have their own/custom-built OS checkers
so no1 here uses google tags?
 
I am a new bee to javascript so can anybody help to start it
 
@DavidH I don't think I know what is the desired behavior
 
@Kippie In fact, I start to think this is a good idea. BRB, spamming
 
@gandhi lot of training.
 
12:54 PM
@DavidH : so many errors in your jsfiddle ....
 
@DavidH >= ?
 
do .sh scripts work on mac too, btw?
 
@KarelG for example? it works for me
@dystroy Going to try that
 
@Kippie Last time I used a mac it was with MacOS6... At that time it didn't matter
 
@gandhi Codecademy has a tutorial on Javascript
 
12:54 PM
@JanDvorak can i have links
 
@dystroy Thank you that was it.
 
@DavidH : .on( 'click', 'a', function() {...} while there is no a-elements in your HTML
 
!!tell gandhi google codecademy javascript tutorial
 
@KarelG Like I mentioned earlier, I just put the relevant stuff there, it works in actuality but I kept it as short as a snippet(Maybe a bit more but you get it).
 
12:55 PM
oh wow, that's not a typo? The actual name is codecademy?
 
back!!
 
@Kippie OSX is a *nix system, so, duuh
Some internal utils have different syntax but in general you're free to use bash language
 
@CapricaSix thanks
 
@gandhi w3schools.com
 
@pythonian29033 NOOO
 
12:57 PM
fuck w3schools
!!riot
 
(╯°□°)╯︵ ┻━┻
 
Use MDN for documentation
 
why? that's where I learnt
 
Yeah, and it shows!
 
is the content outdated?
 
12:58 PM
Content is wrong
 
it's not outdated. It's outright wrong
parts missing, incorrect information, terrible coding style
document.write. 'Nuff said.
 
@CapricaSix ┬─┬ ノ( ゜-゜ノ)
 
ok, I use jquery
 
i don't have this ノ char :p
 
guys I'm having a major prob with googletag.display :'(
 
12:59 PM
@pythonian29033 What kind of troll are you?
 
@pythonian29033 Everytime someone says this, a puppy dies
 
@user3143460 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.
 
you guys must be from the eighties
 
HHHIIII
 
(╯°□°)╯︵ ┻━┻
 
1:01 PM
ew - 90's born people are the worst.
 
hehehe
 
Did you guys happen to catch the video circulating around about how kids react to a cassette player?
There was this one kid who said he was such a 90s kid, but he wasn't actually born in the 90s.. I suddenly felt really really old
 
i'm from '90
*'91
 
'92
 
You guys at least know what a cassette player is?
 
1:04 PM
"90's kid" could be somebody born in the 80's, who identifies with 90's culture/fads.
 
@RyanKinal Pretty sure he wasn't born in the 80s, sir.
 
from 90
nelson mandela was freed the year I was born :D
 
:shrug:
 
Here's the offending video: youtube.com/watch?v=Uk_vV-JRZ6E
 
Fair enough
 
1:05 PM
I'm South African btw
 
Oh, sunuvabitch
I forgot my headset
 
It will make you feel old. YOU HAVE BEEN WARNED!
 
:saves for later:
 
;_; again treehouse ad
 
weren't any cds around when I was at home most of the time
 
1:06 PM
What's a cassete? What's a cd?
 
i know what cassette players and walkmans are
 
walkman is an mp3 player, right?
 
These kids don't
 
!!afk walking uphill both ways through the rain and snow... to get my headset
 
@Neil give them time. They will learn.
 
1:06 PM
i even remember "repairing" cassettes with my pen because the strip was out the box
(or band)
 
@Miszy mp0
 
@Miszy huh?
 
@JanDvorak Not sure if they ever would have been familiar with a cassette player
 
walkman is a pocket cassette player
 
It is kind of like what a record player was to me
 
1:08 PM
@pythonian29033 What is a cassette?
 
well. . .it had that clip on the back so you could clip onto your pocket. . .
 
@Neil we have no reason why :P
 
@Neil define "familiar". Obviously, they won't have many opportunities to use them.
 
it's like a mini vhs tape that was used to store music on magnetic tape
 
@JanDvorak museum pieces, history
 
1:09 PM
@pythonian29033 vhs?
 
the predecessor of the dvd
 
@t1wc I assume they will learn about these
 
@pythonian29033 dvd?
 
@JanDvorak Will ever be in a situation in which they'll have one to use I suppose
 
@pythonian29033 I only know flash disks and high speed broadband internet
 
1:10 PM
@JanDvorak the first time I've seen one was in an image on a music history book, for school
 
@Neil Optical media have fallen out of use as well
 
3rd midschool year
 
@atdrago 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.
 
@Miszy when were you born yesterday?
 
@Miszy flash disks? What are these?
 
1:11 PM
@JanDvorak : flashing, shiney disks
 
@pythonian29033 That question has no right answer because you basically assume I was born yesterday and you're asking about the hour of my birth, right? Commas make a difference, dude. :P
 
You kids were never around when American Online practically gave out CDs to every household
 
Ugh guys, i'm not sure how to make a toggleClass stop after 1 try
 
back
 
@JanDvorak I'm not supposed to tell, I'm from the future.
 
1:12 PM
I wish I had kept them. You could have decorated your wall with them easily
 
a cassette is a tool that translates human bodies to music, there is a bug that lets the blood go out tho
 
backbone user any one here
 
@SuperMrBlob 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.
 
@Neil I think I still have a bunch of free CD somewhere. I did use them for decoration and to scare birds
 
i want to get my id '
<div id="likeunlike" data-id="<%=listItem.p_id %>" class="likeCmt" >
<% if(listItem.loggeduser_liked == "no") { %>
<a href="" id="like<%=listItem.p_id %>"><img src="images/like-icon.png" width="16" height="12"/>Like(<%=listItem.liked_names.length%>) </a>
<% } else { %>
<a href="" id="unlike<%=listItem.p_id %>"><img src="images/like-icon.png" width="16" height="12"/>Unlike</a>
<% } %>
</div>
 
1:13 PM
 
<div id="likeunlike" data-id="<%=listItem.p_id %>"  class="likeCmt" >
                        <% if(listItem.loggeduser_liked == "no") { %>
                        <a href="" id="like<%=listItem.p_id %>"><img src="images/like-icon.png" width="16" height="12"/>Like(<%=listItem.liked_names.length%>) </a>
                        <% } else { %>
                        <a href="" id="unlike<%=listItem.p_id %>"><img src="images/like-icon.png" width="16" height="12"/>Unlike</a>
                        <% } %>
 
@dystroy That's all they were good for, really
It's only $799, guys. Go get yours today
 
@DavidH Use addClass or removeClass instead?
 
I also have a few of those very large hard disk rotating things (what's the name ?). They're about 40 cm wide
(except it doesn't look like this at all...)
 
Oh, good. That'll make it easier to identify
 
1:15 PM
@JanDvorak Uh well my issue is that I have a var that is appointed to an element of course. Though that element is a list item(The clicked one due to $(this) ). Than i'd need to make it spam click proof by doing a toggle and a count(what I came up with).
 
@dystroy those that actually jump around when moving their heads?
 
yes, the disks I have have scratches, that's why they were dismounted
 
@dystroy : LP ?
 
Hello
 
!!/urban LP
 
1:16 PM
@dystroy [LP](http://lp.urbanup.com/481347) 1) (n) Long Play, a nine or ten song regular tape.

2) (n) A vinyl record.
 
Than i'd do click once, add the class, click more than once remove the class. But for some reason it doesn't add the class again to the other clickable list items.
 
^-- vinyl record.
 
@KarelG not at all, they were used in computers before their size god reduced to what you know today. One of those rotating things could probably store a few hundreds of thousands of kilobytes
 
i also forgot the actual name of these hard disks, that large plate
i thought that it was lp but seems not :)
 
1:18 PM
floppy disks is also something which i know
i have still some at home :p
 
I have some too...
It's hard to imagine it's so hard to find pictures of those hard disk things today... Maybe I should make a donation to a museum...
 
:p
what's the name btw
@dystroy : found a nice source : royal.pingdom.com/2008/04/08/…
 
The old ones weighted a good 50 pounds and cost you by the gram
 
i know the punch cards from my grandparents, but it's first time which i heard of selectron tubes
 
!!wiki selectron tube
 
1:25 PM
@JanDvorak No result found
The Selectron was an early form of digital computer memory developed by Jan A. Rajchman and his group at the Radio Corporation of America under the direction of Vladimir Zworykin, of television technology fame. The team was never able to produce a commercially viable form of Selectron before core memory became almost universal, and it remains practically unknown today. Development Development of Selectron started in 1946 at the behest of John von Neumann of the Institute for Advanced Study, who was in the midst of designing the IAS machine and was looking for a new form of high-speed ...
 
*smashes Caprica with a giant S*
 
@frosty 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.
 
well, i was reading that wiki page too
 
For a second I thought I lost everything inside my computer... makes one think twice about backing up. What do you use to back your private stuff up?
 
define "private stuff"
 
1:31 PM
@LorryMcPorry using your own brain is recommended
 
Everything professional and personal but you want to keep it private
Wow I envy your brainpower, haha.
 
Hello guys. I'm having a small issue. I'm loading a page using $.ajax, the loaded page has an html form on it and I would like that form to work without any kind of JS, sadly it doesn't, is there any work around to avoid sending the form's content via ajax?
 
Guys how can I approach this best? I have a list with items as well as an counter and toggleclass. Now the issue is it should not be adding the class more than once but whenever I do removeClass on more than 2 clicks it doesn't toggle anymore even on other list items(It's the same with addClass).
 
@KarelG you use different places for backing up?
 
@DavidH classes don't stack. Adding one that already exists doesn't do anything.
 
1:33 PM
@Miszy hahaha, well done, well done. I didn't even notice that
 
No but if I toggle it without the counter, it adds it on ONE list item correctly.
So I can click different list items and add the class only on the clicked ones
 
what is the counter for, then?
 
Though in the counter if I do removeClass it doesn't add anymore for any list item for some reason as if it doesn't include $(this)
Because it adds a parameter in the URL and if you spam it each 2 clicks it'll add the parameter there
So you get for example #click1#click1#click1 instead of restricting it to once and making it do #click1#click2 etc. if you click other items
It's just to restrict spamming thought it'd be best to do this with a counter
 
why does my googletag div disappear when the page loads?
 
1:38 PM
TY
 
@IanClark YW
 
@LorryMcPorry : i backup my data (private / work) separately yes. I have two different HD's for this
that would save me from issues :p
 
old but gold
user image
4
its so epic :P
 
Truth
 
I would proudly wear that shirt
 
1:41 PM
I was thinking more of a cloud service for my programming stuff, but I don't really trust my files not being next to me
 
pleeeeeeeeeeeease somebody why does this not show when my page loads?
<div id='div-gpt-ad-1373625495868-1'>
<script type='text/javascript'>
googletag.display('div-gpt-ad-1373625495868-1');
</script>
</div>

PS: it's printed with php
 
Also that shirt is sexy as hell
 
never heard of repo's ? i have repo's besides my backups
 
yup, everyone uses git
well. . .almost everyone
 
wow there are no starred messages!
 
1:43 PM
No one is saying anything meaningful ^^ :D
 
first time I've seen that
 
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1373625495868-1'); });
 
@jAndy A big lot of young developers today
 
coming to get us
 
tl;dr - NOOBS! NOOBS THE LOT OF THEM!
 
1:45 PM
Yep, I'm a noob, but at least I don't write stuff like:
 
does anybody know when the crock was born ?
 
what is that? I use Ubuntu 14.04 and I'm afraid to download stuff from the internet. That's why I'm not using windows OS. I downloaded alot of junk off the internet and I got over 200 something threats and trojan/dos/alueron.a and best buy let it run on it and said it was for the computer system. and there is no way anyone can get me to use windows OS ever again. — Morgan 50 mins ago
 
not even wiki is mentioning the birth day
kinda creepy
 
judging by his picture. some time in the 50's
 
Also admire my quoting skills.
 
1:46 PM
@LorryMcPorry stop visiting so many porn sites
 
I-I was quoting someone
 
!!s/LorryMcPorry/all/
 
STOP LOOKING AT PORN!
 
@jAndy @all stop visiting so many porn sites (source)
@pizzasynthesis 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.
 
Hahah
 
1:49 PM
@jAndy okay, well he got his first degree in 1975. if we guesstimate his age to be around 22-23 he would be early 60's
 
Are there any dark web (TOR) users here ? Please give me wink (jAndy)
2
 
a "tor" is an insect for me
WHERE IS MY SLIPPER ?
 
@rlemon yeah I'd guess so, the guy gives me lots of confidence and hope that my brain is able to keep functioning on a high level :P
 
@devtreat 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.
 
@jAndy and jSilkRoad is born...
 
1:51 PM
O_o
 
sneakernet road
 
I used to, but I stopped having reasons to use it @jAndy
 
@devtreat why is there a PSU box in your snake cage??
 
I'm just curious about the possibilites and hidden domains out there
but I don't trust any "google search result" on that
so I need info first hand :p
 
1:52 PM
ask on SO
NSA totally isn't monitoring it
 
Their heads would explote if they did
 
I'm pretty skeptical on that one
 
they sound the Silk Road guy from SO
what is to say they are not monitoring it
 
Isn't there sort of a google service inside TOR?
 
it is a US company
 
1:53 PM
I can't imagine that .. you get somewhat information on "google" and "yahoo" and all "mainstream" media about TOR.. but that it isn't controlled one way or the other
 
I don't really trust even TOR not being monitored in some way
 
afaik TOR was funded and developed from some us guys at first
 
Hello guys. I'm having a small issue. I'm loading a page using $.ajax, the loaded page has an html form on it and I would like that form to work without any kind of JS, sadly it doesn't, is there any work around to avoid sending the form's content via ajax?
 
Why do some starred messages have white stars and others black?
 
good stars, bad stars
 
1:57 PM
I hate banks!
 
Weird, nobody has made a joke about confusing banks with sitting banks
 

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