« first day (1334 days earlier)      last day (3597 days later) » 

2:00 PM
ajaxWithCache(url).then(function(data){
    console.log("Got data!",data);
});
Although, I did something silly with jQuery ajax yesterday haha
 
.catch(function(err) {
    console.log('The ajax call went wrong :(');
});
 
var tickers = [....]; // 6K tickers arr
var makeUrl = function(ticker){ return "http://service.com?ticker=" + ticker; }
var getData = function(el){ return el.find("#someid").text(); }
Promise.map(urls,makeUrl).map($.get).map($).map(getData).then(function(res){
    console.log("Scraped 6k tickers, :lol:",res);
});
 
user1596138
...
 
@RobinRijkeboer 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.
 
awwyeah, guess who is officially an old man today? :3
 
2:06 PM
your dad?
@BenjaminGruenbaum rofl
 
@FlorianMargaine worked surprisingly well.
 
posted on June 11, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} Rosemary, from Bird and Moon, is patreonizing her comics! You have p

 
@RalphWiggum happy birthday :)
 
@BenjaminGruenbaum thanks, T. Hanks
 
2:08 PM
@Feeds lol + lmao red button
 
Happy BD! =) may your next year will be good and challenging!
 
20 is old? geez dude
also, your SO profile is out of date
 
No kidding stop.. I'll be 23 next month :(
But happy birthday dude
 
how's it out of date? :o
oh
 
2:12 PM
Mornin btw, how y'all doing?
 
Good morning everyone
 
doing well, just hungry for human flesh
 
I'm hungry for bagels
 
I got some bagels
on my kegels
 
!!s/bagels/jQuery/
 
2:16 PM
@Cereal I got some jQuery (source)
 
wait, damnit
 
0
Q: JavaScript How to get value of variable assigned inside Promise onSuccess outside promise

Lord_JABAI'm whiting firefox extension. I got function that's reading contents of file: var HelloWorld = {... getData: function () { var env = Components.classes["@mozilla.org/processenvironment;1"].getService(Components.interfaces.nsIEnvironment); var path = env.get("TEMP"); path...

 
@rlemon Lemon, do you know any library for maps for graphs which supports IE-8
 
am i here now?
 
2:20 PM
@ChristopherS 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.
 
@CustomizedName no
but I do know how you can save upto 35% on your car insurance
 
how can I save on my car insurance?
 
@RalphWiggum hit a wall twice a year
 
oh, okay
 
2:22 PM
@rlemon I am already saving 90% tho :/
 
O.o
 
fa fa-meh-o
 
ok whats wrong with this controller?
 
Bah. Was just clocked at 68 words per second typing :(
My boss can do 110
 
nvm, it appears "login" is a protected function name in angular or something stupid!
 
2:28 PM
@DrogoNevets is the controller :puts on shades: pluggedin?
double pun what's good!
 
@RUJordan same
110 is quite above average
 
It's incredible to watch him type
 
@RUJordan fucking hell, that's a world record for sure
 
I thought I was impressive being able to hold a conversation and type things at the same time
 
@RUJordan yup if i change the function name to go it works fine first time
 
2:29 PM
@RUJordan poor soul
 
@Putnik 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.
 
@KendallFrey oops lol minute, not second
 
@FlorianMargaine you can type 110 also?
 
@RUJordan yeah
 
2:30 PM
how? D:
 
max I did was 112
 
thats so skilled
 
that was once, though
 
@RUJordan im 76 usually when i do those things or there abouts
 
I'm usually around 100-105
 
2:30 PM
does anybody here use dvorak?
 
I did for a year
Turns out typing speed was really not what's slowing me down when I code.
 
how'd it go?
 
I never learned touch typing, but I can go around 50 wpm
 
@RUJordan 110. Not so hard, geez guys.
 
what's touch typing?
 
2:31 PM
touchscreen maybe?
 
@BenjaminGruenbaum Yeah, coding is 99% thinking and 1% typing
 
I can txt pretty fast, but not special fast
 
I used to play Mario Teaches Typing as a child, so now I can type over 100+ wpm
 
@FlorianMargaine real typing. I use 3 fingers to type
 
@BenjaminGruenbaum definitely, too many special characters to worry about speed
 
2:32 PM
@BenjaminGruenbaum no, but at least it's not getting in the way anymore
 
@KendallFrey There are people who "speed code"
 
hello all!!
 
yeah... i can text at 1000 wpms </kip>
 
@KendallFrey 3 fingers per hand?
 
They do sessions online, and it's fun to watch.. I imagine it would be rather stressful to try it though
 
2:32 PM
3 fingers total
 
well, that's bad
 
not including pinky for shift or whatever
 
does anybody know how to $watch a value="" attribute that get's updated outside of angularJS inside of a angularJS controller
 
@KendallFrey twss
 
yeah, like I said, I never learned to type
@rlemon mmf
 
2:33 PM
@KendallFrey bro five.
Neither did I, self taught typer
 
quick ask zoey
 
@vimes1984 It may work just the same.. have you tried it?
 
yes it doesn't
 
Somekittens is 5 points away from a gold on codegolf
 
I've tried $scope.watch('value',
 
2:34 PM
95
Q: Make it look like I'm working

SomeKittensOften, I find myself running a script or query that will take a significant amount of time to run. I can leave that script open and enjoy some guilt-free procrastination. Now, what if I could write a script that seems to be one of the above scripts to any onlookers, but in looks only? I could ...

 
but no luck
 
he needs dat love
 
@hariseldon78 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.
 
@vimes1984 $scope.$watch('expression',function(newVal){ lalala...; });
 
wowzers
super unhappy with mongodb
 
2:35 PM
the scope use the watch service as a depencacy. so hop on it..
 
APPARENTLY it's impossible to update every array with a value.
0/10
 
@Loktar 2
 
so cloose
 
@Dropped.on.Caprica something in structure is wrong ?
 
heh too bad 3 people dv'd him at some point
 
2:37 PM
@Dropped.on.Caprica That's not even possible in SQL, what are you complaining about?
 
You are the bastard who fell on my woman!
LYNCH HIM!
 
attrs.$observe
@rlemon who we lynching???
 
let me finish the work.... 3..2...1
100 !!
 
@dropped.on.caprica .... How dare he
 
Grats @SomeKittens
 
2:40 PM
@przno 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.
 
what a fucker!
LYNCH HIM!!!!!!!!!
 
@jAndy 01111001011011110111010100100000011011000110111101110011011101000010000001110100‌​01101000011001010010000001100111011000010110110101100101
 
I just assume I lost the game before I decode that
 
@Neil Well, you have transactions in SQL
 
@jAndy Either way I win. :)
 
2:41 PM
@Neil you 10'd where you should have 01'd
 
@Dropped.on.Caprica ಠ_ಠ
3
 
*scratches head*
 
@JohnnyJS Nothing's wrong in the structure, just wanted to set a flag to false on every element that exists on the record
@CapricaSix X'D
 
!!nudge 30 escape from cheese-racists
 
@towc Nudge #1 registered.
 
2:42 PM
yay he hit 100 @somekittens has dat gold.
 
!!unnudge
 
@towc That didn't make much sense. Maybe you meant: nudge
 
user1596138
My server is essentially dying for 30-40 minutes every day at ~10:35 for the last 3 days.
 
meant to write 90 instead of 30, how do I modify it?
 
sorry I needed a proxy for all that pr0n downloadz
 
user1596138
2:43 PM
Shared hosting. My assumption is some jackass running a shload of cron jobs.
 
Maintenance?
Though it's bad form to drop the server without another to take its place
That has been bad form since what.. 1997
 
!!nudge 85 coming back to earth
 
@towc Nudge #2 registered.
 
What does nudge do?
 
!!nudge 1800 I want to play a game ...
 
2:48 PM
@jAndy Nudge #3 registered.
 
I lost
 
user image
2
 
user1596138
@Neil lmao
 
@Jhawins hah yeah thats probably it, but they should detect it
and disable the dudes site
 
user1596138
@Loktar HostGator
 
user1596138
2:52 PM
It's probably that fucking @RUJordan guy
 
I think the threshold is 20% for 2 mins or so and your account gets auto locked
I dealt with that shit a ton before moving zombiegames.net
 
@steviekins 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.
 
user1596138
Damn
 
@Jhawins I ditched HostGator lol I use DigitalOcean
 
user1596138
Well guess what, CPU and memory usage always say "0.1%" on HostGator lmfao
 
user1596138
2:53 PM
Dammit. There's no way I'm moving everything again lol
 
user1596138
Too much archival data
 
oh thats for you specifically
thats why it says 0.1
doesnt show you the entire server usage
but yeah man shared hosting sucks :(
 
 
user1596138
 
user1596138
lol blue is me.
 
user1596138
2:55 PM
Funny how we cause essentially no drain whatsoever
 
@Andrius 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.
 
user1596138
@Loktar I look forward to my next job where I get to use hardware that isn't worthless. But until then, eh.
 
hah yea
my shared hosting is basically my colocated server now
I think I have one shared hosting account left
at one time I had like 8 or so
 
user1596138
I google searched "NaN" and the little "Try searching images" thing had boobies in it
 
what? pix or it didnt happen
 
2:58 PM
@Jhawins So... it has come to this.
@KendallFrey I can repro
 
not here
 
@SecondRikudo :D
 
oh I didn't scroll down that far
 
user2985029
var x = NaN; alert(typeof x); alert(x);
 
3:01 PM
why would someone scroll down on google anyway?
 
@Alex Alerts (.)(.)
 
@SamP 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.
 
user1596138
@SecondRikudo lmfao yeah
 
user1596138
What the hell is to the right
 
@Jhawins I don't even want to think about it
@Jhawins Something by one "Nan Goldin" apparently.
 
3:07 PM
Cheese NaN and boobies
 
@TMan 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.
 
did someone say cheese?
 
!!rolldice
 
@Cereal rolls a 3
 
!!rolldice
 
3:10 PM
@jAndy rolls a 5
 
ship it
 
request to overwrite !!roll with !!rolldice because !!rickroll already exists
>.>
 
!!urban NaN
 
@towc nudge escape from cheese-racists
@rlemon Nan Nan - a strong, beautiful woman. A survivor. The best big sister, mother, wife, aunt and friend.
@GonzaloBahamondez 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.
 
!!define NaN
 
3:13 PM
@Cereal NaN (computing) not a number
 
!!mustache GonzaloBahamondez
 
:(
 
:(((((((
 
turn dat frown upside down yo
!!weather harare, zimbabwe
 
3:17 PM
@RalphWiggum Harare: 18C (291.15K), Sky is Clear
 
!!weather moncton, canada
 
@Cereal Moncton: 19C (292.15K), few clouds
 
!!weather potato
 
@RalphWiggum Potato Point: 10.758C (283.908K), broken clouds
@BenN 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.
 
!!weather tomato
 
3:22 PM
@Cereal Luxora: 69.8F (21C, 294.15K), overcast clouds
 
wut
 
@EamonnM.R. 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.
 
!!wiki luxora
 
!!weather fucking
 
3:23 PM
@rlemon Tarsdorf: 30C (303.15K), broken clouds
 
!!weather sun
 
anyone knows dojo charts
 
@jAndy Asuncion: 25C (298.15K), Sky is Clear
 
!!weather rlemon
 
@Cereal Sorry, I couldn't get the data: Error: Not found city
 
3:23 PM
!!weather dildo
 
@rlemon Newfoundland and Labrador: 11.708C (284.858K), light rain
 
some places are very unfortunately named.
 
!!weather jquery
 
@Cereal Sorry, I couldn't get the data: Error: Not found city
 
3:27 PM
!!weather seattle
 
@RalphWiggum Seattle: 56.5699F (13.65C, 286.8K), Sky is Clear
 
it'd be nice if !!weather gave a forecast for the day
 
0
Q: How to add tooltips in haxis in dojo charts

sunmanI am trying to create a chart with custom tool tip in dojo bar with line chart. Here the line is simple create . I have drawn two h-axis line to show my max and min value on the bar char . But here i want to create a tooltips on haxis to show my max and min value . So please request to you tell...

 
@sunman You can edit your posts here
 
!!weather Boring
 
3:28 PM
@adeneo Tabaco: 28.508C (301.658K), scattered clouds
 
instead of posting the same thing twice
 
!!weather Blowhard
 
@adeneo Blowhard: 9.758C (282.908K), overcast clouds
 
!!weather Fart
 
@adeneo That didn't make much sense. Maybe you meant: weather
@adeneo Narendranagar: 29.308C (302.458K), Sky is Clear
 
3:29 PM
You know
it'd make a lot of sense if @CapricaSix edited her posts when she replies to an edit
Instead of making a new one
 
!!weather Truth Or Consequences
 
@adeneo Truth or Consequences: 82.3999F (28C, 301.15K), sky is clear
 
ya
@cere
 
!!weather north pole
 
@adeneo North Pole: 45.5539F (7.53C, 280.68K), scattered clouds
 
3:31 PM
@Cereal....ya .but anyone can suggest me
how it will be solved
 
@flaviut 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 know.. for a web developer I really dislike building forms.
 
@RUJordan I actually love building forms.
 
Every sane person hates building forms. That's why you use django
 
in dislike forms in all forms and in each and every occasion
 
3:35 PM
I think you can make beautiful and clean form in any possible situation.
 
@SecondRikudo I typed that before I saw what you wrote
 
@copy I never claimed to be sane.
 
@copy I don't think Jamie Foxx will let me hire him for that :(
 
Nor that I am a "person". I am a "god"
 
user1596138
!!weather fucking wolfing
 
3:36 PM
This manga thing is a serious brainwash
 
@Jhawins Pocking: 30C (303.15K), few clouds
@Jhawins Sorry, I couldn't get the data: Error: Not found city
 
never been an anime/manga guy
 
@joshden 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.
 
!!weather moncton riverview dieppe
 
@Cereal Sorry, I couldn't get the data: Error: Not found city
 
3:40 PM
!!weather Hooker
 
@adeneo Looneyville: 81.6943F (27.608C, 300.758K), few clouds
 
-7
Q: Free apple app upload

user3730740Hi I was wondering if anyone would like me to upload the apple apps to the App Store for free. I will need your app files or Xcode 5 file, You will need to enable adds in your app(that's my part of the deal) Email me for anymore details: <hidden>

 
@adeneo Bird in Hand: 65.606F (18.67C, 291.82K), light rain, mist
@adeneo Hooker: 75.0559F (23.92C, 297.07K), sky is clear
 
we do have a nice email address to spam now :)
 
We == you lol
 
3:43 PM
!!weather intercourse
 
I can't see the question anymore
 
@RyanKinal Intercourse: 65.7499F (18.75C, 291.9K), light rain, mist
 
Intercourse seems a little chilly today
 
and moist
 
3:44 PM
lol
 
He would be 12...
I just realized I've been so busy I haven't been able to get a SourceUndead update out in a few weeks :(
 
i'm just looking for joshwayne with some sort of UK connection
 
lmao
 
s/johnwayne/12 year old children/
 
Pedolemon
 
3:48 PM
xD
 
Oh no LOLOL
 
off with his head
 
Stevie Lemon?
 
3:49 PM
!!hang
 
  +---+
  |   |
  |
  |
  |
__+__

----------------------
 
serverA: serves all of the static content and the views, then proxies all content to :port.
serverB: creates an ssh tunnel to serverA on :port and serves the websockets.

My issue: serverB has the 'brains', serverA is just a reporter. serverB needs to 'tell' serverA that an action needs to happen
aside from serverB just posting to an address on serverA is there any "magic" I can invoke
 
So I saw Neighbors last night
 
3:51 PM
@andrewf 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.
 
Havent laughed so hard at a movie since Old School and The Hangover
 
!!hang e
 
  +---+
  |   |
  |
  |
  |
__+__
e
-----e--e-----------e-
 
user1596138
So. I'm not a regex guy at all...
 
!!s/regex//
 
3:53 PM
@RUJordan So. I'm not a guy at all... (source)
 
!!hang r
 
  +---+
  |   |
  |
  |
  |
__+__
a, e, r
-----erre--------ar-e-
 
user1596138
@RUJordan That... Is funny for multiple reasons lmao nice
 
:D
 
user1596138
!!tell Quad sandbox
 
3:54 PM
@Quad You know, there was this funny idea once upon a time that people were supposed to test out commands and "play" in the sandbox
 
I kendalled the shit outa you
 
!!hang counterrevolutionaries
 
@copy That didn't make much sense. Use the !!/help command to learn more.
 
@FlorianMargaine For me it really depends on the language. In Java I would usually do it like you, with synchronization. A general question language independant doesn't make a lot of sense to me
 
@copy Correct! The word is counterrevolutionaries.
 
3:54 PM
Ez
 
@copy impressive man
 
@dystroy I mean, you would have each object synchronized, or you have to use only static methods, right?
 
user1596138
Can I split a string into two pieces but still retain the whole using regex?
 
@FlorianMargaine Yes
 
var pieces = str.split(/a/);
console.log(str); // "whole a"
console.log(pieces); // ["whole", ""]
 
3:56 PM
@MKYung 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.
 
1 min ago, by Florian Margaine
@dystroy I mean, you would have each object synchronized, or you have to use only static methods, right?
@copy otherwise, why?
 
You can't split a string, it's immutable, you can only create two new strings.
 
@FlorianMargaine depends on whether there's a state.
 
@Jhawins Yes, nested parentheses
 
@Jhawins yeah, /(a)(b)/ and you have ab, a, and b in capture groups 0, 1, and 2 respectively
 
3:57 PM
@dystroy why would you have a stateless object with instance methods?
 
user1596138
Ah cool!
 
@FlorianMargaine is it written in the question that there is an instance ? (edit : )
 
If there is a method

bool DoStuff() {
    try {
        // doing stuff...
        return true;
    }
    catch (Exception ex) {
        return false;
    }
}
I think I'd see static somewhere if it weren't
hm, not in C++
but it looks like it's C#
 
@FlorianMargaine I'm actually not quite sure about the multi-threading, but what the first guy wrote definitely nails it
 
well... it's supposed to be language independent... which to me means "fuzzy, rhetorical & open-ended".
 

« first day (1334 days earlier)      last day (3597 days later) »