« first day (2048 days earlier)      last day (2903 days later) » 

6:00 PM
//tried this, same result as previous version
responderForm
	.run('myCtrl', ['awesomeFactory', (awesomeFactory) => {
		console.log('hi');
    	console.log(awesomeFactory);
	}
]);
responderForm is the globally exported angular module
i couldn't directly attach the .run to the original module, I can only call that module after the fact, if that's what you were asking
 
@NathanJones run doesn't take two params
just the array, no string
 
@SomeKittens same thing without the string
 
@ton.yeung happy towel day!
@NathanJones yeah, that won't work if the app is already bootstrapped
 
@ton.yeung [Towel Day](http://towel-day.urbanup.com/2214740) On the 25th of May, fans of the late [\[Douglas Adams\]](http://urbandictionary.com/define.php?term=Douglas%20Adams) carry a towel with them throughout the day to pay homage to author's genius.

The towel is a homage to the world's longest trilogy, [\[The Hitchhiker's Guide to the Galaxy\]](http://urbandictionary.com/define.php?term=The%20Hitchhiker's%20Guide%20to%20the%20Galaxy), which was one (snip)
 
@Josiah I wish we had outings like that
 
6:06 PM
@SomeKittens so...should i give this up?
 
I would smoke the fuck out of some people
 
@NathanJones depends on what this is
 
all of our outings are "this is the bar we will be meeting at"
or "This is the venue we will be meeting at which serves drinks woot!"
 
user1596138
@Loktar lol they wouldn't let me come
 
6:07 PM
if you're trying to modify things on an Angular app post-bootstrap without access to the app itself, goooood luck
 
user1596138
What 40 year old wants to race a 21 year old lol
 
@Loktar please tell me you ask for a kids menu for @Josiah whenever you're out
 
well I can't think of many around here
@SomeKittens LOL actually people just assumed he was > 21
used to crack me up
people would freak out when they found out otherwise
I purposely withheld his age from everyone until they sent him the offer
 
@Josiah in the Dominican (brother and I were like 13-15 respectably) they did competitions to win prizes (all rum) -- ended up being my brother and I against like 11 50y/o+ fat Europeans
we won every event, for ever day we were there
the competitions were like foot races, swimming races, most push ups, etc.
 
@SomeKittens the attempt to use a service that is defined in a factory within an already-bootstrap angular 1.3 app
 
6:10 PM
@NathanJones Yep, no good way
 
@rlemon we used to do that stuf fin the AF
was really fun
 
(I was doing this yesterday, actually)
trying to override $exceptionHandler
 
@Loktar ohh yea, and we had the total unfair advantage.
I can imagine the AF was a bit more balanced
i.e. more fun
 
yeah
 
with redux, is there a way to listen for dispatched events globally?
 
6:12 PM
man I am so behind on wtf modern browsers supprt for es2015
 
Just had fish tacos for lunch that put me at my calorie goal for the day... dinner will have to be just a handfull of veggies
 
Chrome supports spread yay Obligatory like my mom.
 
carrots and broccoli, no dip
 
@Loktar everyone's still arguing about TCO
 
@Loktar not like your mom, she has no optional rest.
 
6:14 PM
She is a heart attack waiting to happen, for the user.
 
@rlemon Daaaaaaaaaaamn Lemon
 
user1596138
@SomeKittens lol people freak out when they learn my actual age. I haz decent beard
 
@Josiah shave, go out for dinner with loke, call him dad
see if anyone gives you looks
 
user1596138
Lmfao
 
user1596138
> How did your son end up so tall @Loktar? :P
 
6:15 PM
> His mom is a giraffe
 
@Josiah which one?
Ones you met are short just like me
MI kid is a damn giant though
 
user1596138
@Loktar Lemon was joking about me pretending to be your son
 
oh haha I missed that
 
@SomeKittens alright, one more possible tactic to run by you, then i'll lay this idea to rest. I have access to the DOM, what if I made my own directive that defined the factory I want as a dependencies in its controller?
 
6:16 PM
LOL that sounds horrible I guess
 
@NathanJones nope
 
user1596138
lol I was too slow
 
but he is a beast of a kid, idk how
 
@Loktar maybe he needs to Hordor less food at dinner
ohh I slay me <slaps knee>
 
@SomeKittens why wouldn't that work? would i run into the same bootstrapping problem as the other method?
 
6:18 PM
@Loktar dna testing may provide a clue
 
@NathanJones yep
 
@ThiefMaster if you do show up, do you have any tools to benchmark shoutcast?
 
@SomeKittens ok, i'll go another route with this project then. thanks for yours and @ton.yeung's help.
 
@NathanJones no problem. Sorry to be the bearer of bad news
 
@SomeKittens haha no problem. at least it's an answer.
 
@KendallFrey I thought about it
but idk at certain times I see the resemblance
 
@Loktar lol seriously
 
This is my son in MI from an ex gf mind you
 
now I feel like a dick
 
not my kids with my wife
I didnt even know I had a kid until she was 8 months along
 
6:22 PM
oh, that's a bit better
 
xmlhttp.onreadystatechange = function() {
        if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
            data = JSON.parse(xmlhttp.responseText);
            data['delivery_addresses'].push(formValues);
            console.log(data['delivery_addresses']);
        }
    };
    xmlhttp.open("POST", url);
    console.log(formValues);
    xmlhttp.setRequestHeader('X-AUTH-TOKEN','token-string')
    xmlhttp.send(JSON.stringify(formValues));
 
@Ajit Welcome to the JavaScript chat! Please review the room 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.
 
@Loktar Surprise!
 
6:23 PM
Guys could you please tell what't the problem with my code
I am getting a 422
 
@Ajit so the server has a problem
 
and... what does 422 mean? that should give you a clue as to what is wrong.
 
@rlemon 4** error codes aren't a server problem
 
@KendallFrey the server didn't like what it got
the server is expecting something. look there
 
Unprocessable entry
 
6:25 PM
> For example, this error condition may occur if an XML request body contains well-formed (i.e., syntactically correct), but semantically erroneous, XML instructions.
 
my guess is your header, but I don't know given what you have
 
I've never seem a 422 error before
 
which usually means... the data you are sending doesn't match what the server is expecting, or you're trying to do something that doesn't make sense like inserting an email address that is already there.
 
click.apache.org da hell is this
 
what is the best way to handle preventing a user's browser from using an outdated angular template from its cache?
 
6:27 PM
@Abhishrek ^ you have used this in college, right? say yes
 
@AwalGarg WAT?
 
@im1dermike look up cache breaking + angular
 
51 secs ago, by Awal Garg
https://click.apache.org/ da hell is this
 
NO, I DON'T LIKE TALKING ABOUT MY COLLEGE
 
6:27 PM
@Abhishrek >:'(
 
LIFE IN PUBLIC
 
@SterlingArcher that isn't a deadlift
:/
 
@Abhishrek got it. get to skype
 
Stop nitpicking and feel the feels bro :(
 
I haven't used click
anyway
 
6:29 PM
OMG, 1-(1-1/x)^x
 
I have used TOMCAT
 
so ~60% of the time it DOES work every time...
holy shit
 
and that was terrifying enough'
 
@Abhishrek dude we have to use that in college I am so screwed I don't wanna live :(
 
Shoot yourself, or just read your classmates C++ code
 
not dying before you in any case
 
That will be hard, considering you live in Delhi
</dark-joke>
 
touche
 
Guys this phone case is insane
 
6:31 PM
!!google delhi pollution
@ton.yeung more pollution less crime
 
The case is at 32% battery, and my phone is full, 7 hours later
 
an enormous amount of crime but pollution still beats that
 
Is that delhi or bejing?
 
@Abhishrek MAH BACKYARD
 
@rlemon will that gist work?
 
6:33 PM
Um @AwalGarg so many dicks and soo much smoke, dude what have you been doing?
 
will it ?
 
is there such a thing as an AJAX javascript proxy?
 
that is the question
 
something intercepts ajax requests before they are sent by the browser?
 
That is definitely delhi
 
6:35 PM
working with node, what would be the easiest way to parse a js file and bootstrap in values?
 
don't do ^ that
 
@Abhishrek jai gai mata ~uncle ji on road
 
ABE OYE ITS GAU NOT GAI
 
yeah whatever
 
6:36 PM
i'm trying to build a component builder for our ng2 project
 
@JoshuaLonganecker see with javascript you can literally attach a json object that does the magic for you
 
@NathanJones depends on what the purpose is probably, intercept and block, intercept and change, intercept and inspect, what
 
@KevinB intercept and change
@KevinB based on if certain criteria are met
would something like this work? stackoverflow.com/questions/25335648/…
I need to add a certain id to a request URL, if it matches a certain pattern
 
so if i want a new component, i answer prompts in the terminal, which is evaluated as JSON, and then a folder of all the necessary files gets created with the appropriate variable names/etc bootstrapped in
 
probably, i'd prefer something else though, like a method that performs the ajax for me rather than modifying XHR
 
6:38 PM
angular's $http would be captured through that method, right?
 
@rlemon have you used gulp-angular-templatecache before?
 
everything but IE9 cors requests would
 
@im1dermike no
 
but if you're using angular, an interceptor is probably the better option..
 
@ton.yeung that's correct. i don't have the ability to modify this angular app.
 
6:43 PM
@Abhishrek nope
 
@ThiefMaster O Hai!
 
Hey, can i also ask pure JAVA questions here ?
 
@genaray Welcome to the JavaScript chat! Please review the room 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.
 
@genaray no
 
@genaray Only if they pertain to JAVAscript.
 
6:45 PM
damn, thanks :/
 
we're the JavaScript room. that is different than Java
ask them not us
 
I used to have this one guy on the ops floor who the one day made the joke about 'Installing Java' after he drank a cup of coffee. The security manager for the field site overheard it and lost his collective shit. Took us almost two hours to get him to realize the joke and to undo all of the damage.
 
@Trasiva I don't get it
 
css people help jsbin.com/coxerobava/edit?html,css,output (question explained in there) cc @MadaraUchiha
 
@MadaraUchiha Another name for coffee in the states is java.
 
6:47 PM
@Trasiva Yeah, I get that
Why did he lose his shit?
Oh install the Java runtime
 
@MadaraUchiha Because we worked in a government building where lusers weren't supposed to be able to install anything.
So he thought he installed Java on the computer.
I think the most creative thing I saw was someone was distributing excel spreadsheets that had flash games embedded in them.
We totally nuked them from the system...except for the IT office. We totally kept that shit for ourselves, lol.
@ton.yeung eh?
@ton.yeung Everyone who joins the military does, yea.
@ton.yeung Which instance of getting in trouble are you talking about?
@ton.yeung The odds of all 10 of your digits not having prints is slim to none. Partial damage would be recognized as a characteristic of your prints.
 
@ton.yeung ...you're talking like ink prints?
 
my brother didn't chew his nails. he chewed on his finger pads. 35 years on and he has pure scar tissue for finger prints
 
Right, mine were
Because your fingerprints grow back unless you've gotten scar tissue there.
 
6:54 PM
@ton.yeung you wouldn't notice unless he pointed it out. it isn't gross (albeit sounds disgusting)
 
@ton.yeung Interesting. I'm not sure what the skinny on that is then. Seems like a silly decision on their part.
> and a remote control that uses your Mi smartphone as its viewfinder.
 
@AwalGarg don't think you can.
 
@ton.yeung Worst case, they'll make you go old school ink and pad and then digitally upload them.
I know they did that for one guy who was enlisting.
 
Not without changing the DOM structure
 
@Trasiva 10 days before it has an android app
tops
 
6:57 PM
Well, it is based on Android, so I'd hope so.
 
I hate CSS :(
 
Xiaomi looks like they have some nice shit
 
@AwalGarg I hate random limitations on what you can or cannot do.
 
@rlemon They sure do, and it all reports to the Chinese government!
 

« first day (2048 days earlier)      last day (2903 days later) »