« first day (1524 days earlier)      last day (3430 days later) » 

4:00 PM
@user3470815 because the parenthesis means calling the function, and assigning the return value of that function to the onload method. But we wan't to assign the function itself to the onload event, not its return value.
 
kanye.onload = interuptSpeech;
function interuptSpeech() {
    console.log("Imma let you finish, but jQuery is the best JS ever written.");
}
 
@AwalGarg @SterlingArcher Thanks
 
@user3470815 I was making a joke lol look up "function reference vs function call"
That will explain it better
 
@ssube I guess you don't know who Sasha Grey is
If you're at work, be careful Googling it lol
 
@Sippy shit
 
4:05 PM
oops
I was in another chat
my bad.
 
@Sippy I do. Maybe missing why them doing a movie is a big deal.
Having seen interviews with both, they seem like people with a sense of a humor.
 
Mmmmmmmhm.
 
it is getting too cold here
 
!!weather washington dc
 
@SterlingArcher Washington: 36.122F (2.29C, 275.44K), overcast clouds
 
4:17 PM
Little chilly here
 
!!weather swindon
 
@Sippy Swindon: 12.4C (285.55K), light intensity drizzle
 
!!weather new delhi
 
fuck drizzle.
 
@AwalGarg New Delhi: 12C (285.15K), fog
 
4:18 PM
EY weren't you complaining it's cold?
 
morning you sick dogs
 
12 isn't cold l0l
 
It is. Here.
 
12C?
Anything > 0C isn't "Cold"
 
Yeah, 12C in here is cold.
 
4:20 PM
That's why I said it was chilly :D
Cold here is prolly 10-20F
 
The next 15-20 days would probably get down to ~2C.
In summers, we have an average of about 45+C xD
 
Have you ever seen snow?
 
nevar!!
And I am so so jealous of every one who has :( :(
 
You're missing out lol
I love the snow I've been snowboarding for 14 years now
 
@AwalGarg 45+? That sounds incredibly miserable. I don't know if the sauna at the gym is even that hot.
 
4:24 PM
I would drown in sweat over there
I'm built for winter
 
@ssube haha, that is indeed the climate here.
 
!!weather minneapolis
 
@ssube Minneapolis: 19.6879F (-6.84C, 266.31K), light snow, mist
 
:O -7
 
^ that's my kind of weather baby
 
4:24 PM
it's super nice today
 
!!weather san francisco
 
@SomeKittens San Francisco: 52.43F (11.35C, 284.5K), light rain
 
was 40F (~5C?) over the weekend, which was weird.
@AwalGarg Last winter it was -20F (-30C) most of the time, which was unnecessary and unpleasant.
 
haha
 
-7 with little wind is just fine for winter
 
4:26 PM
I want to tamper with noSQL databases, will MongoDB be a good one to pick to learn about Nosql dbs is it widely used?
 
@user3470815 MongoDB is the most popular of the NoSQL
It's a good place to start if you want to get familiar with the basic concepts of NoSQL (like denormalization and data corruption)
 
sublime giveaway :O
 
@SomeKittens thx ..
 
For the longest time I thought NoSQL was literal
 
!!weather kitchener
 
4:32 PM
@rlemon Kitchener: -2.71C (270.44K), overcast clouds
 
!!weather Bellevue NE
 
@Loktar Bellevue: 27.536F (-2.48C, 270.67K), mist, light snow
 
it actually snowed here finally
 
NE is that nevada??
No wait
Nebraska?
 
KNNNNEEEE Braska
yeeee haw
 
4:36 PM
 
haha
Going to Kansas City MO today
never been there
 
Do you have a whip?
Multi-pronged preferably
 
no but his wife does
 
lol
@rlemon your game is retarded
in a funny way
 
4:37 PM
@Loktar did you beat level 1?
 
!!afk working and meeting
 
there are levels?!
/me plays again
 
yea man, just keep clicking kanye
:D
 
hahaha
yeah just beat level 1
 
disclaimer: there is no level 2
 
4:38 PM
^ Lets you do nice stuff with requests
 
hello
all
 
@user2465036 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.
 
i have a question with knockout
 
and I have a date with a sandwich
!!afk lunch
 
user2620028
its snowin here :(
 
user2620028
4:45 PM
whats your question with knockout. Slim chance i can answer it but at least the quesition will be asked :P
 
Today I get to convert a bunch of directives from elements to attributes.
 
user2620028
Sounds tedious
 
it is
 
user2620028
For one in your second <td> tag you have an extra space in there that might be causing a slight amount of issue
 
user2620028
Other then that what is your question?
 
4:53 PM
gabdarnit... how do I check for HTMLElement vs object?
 
@NickDugger instanceof?
@user2465036 Make a JSFiddle
 
2 messages moved to Trash
 
dur, thanks
 
Is there some dev tool magic which opens sublime
by clicking the link in the console ?
 
@copy thank you.
That was hard to look at honestly lol
 
4:57 PM
@darkyen00 Yes
iTerm 2 does it - cmd+click
 
@SomeKittens link ?
windows doesn't has command plus @SomeKittens from chrome dev tools ? If not lets make one :D ?? Save the world @SomeKittens ?
 
!!tell darkyen00 google iterm 2
 
iterm2 allows columns right? Like split windows
pretty sure thats what I used with my short stint on Mac
 
@NickDugger if(typeof obj.innerHTML!=='string') not a domElment
 
4:59 PM
??
 
@darkyen00 stahp
 
HAMMAHTIME!
 
the problem is that the argument can be an object, and if someone sets innerHTML as a property of said object, it will fail
 
@Loktar Yep - it's pretty neat
 
@SomeKittens :-( okay.
 
4:59 PM
instanceof HTMLElement works
 
yeah it was really nice
 
I know that chrome apps can talk to sublime.
 
> If Java had true garbage collection, most programs would delete themselves upon execution.
 
user2620028
It is funny that my college teaches no programming except for java... And they don't cover what a class is.
 
user2620028
And by funny i mean sad
 
5:07 PM
no classes in your classes? Xzibit would be sad
 
@HatterisMad Which is why people get computing degrees and can't code :D
 
@HatterisMad I doubt that - there's stupid omissions, and there's "Not possible to write a Java program without"
 
user2620028
There is also, develop in an environment that handles that for you. Thus not having to teach what it is.
 
user2620028
Also i wouldn't call what they teach programming really.
 
user2620028
Maybe they cover that information in a masters program :P
 
5:12 PM
Promise folks
if i pass on a .thenable to resolve
will it auto resolve ?
 
user2620028
I took a 500 level Web Development course last semester. The final project included Making a 3 page web site that had <a> links, css, including a background image, and you could not have any javascript in the document because "Javascript was too hard to grade" for the head of the computer science department who was teaching the class.
 
This is a big part of why I can't stand the education system, and so I chose to go around it instead.
 
@HatterisMad i.e. "I don't want students complaining that their wiz-bang website got a D because all they did was include plugins"
 
@HatterisMad I wouldnt call that 'teach'..
 
My Web Development course was pretty good; but it had a hilarious difficulty curve.
 
5:16 PM
@NickDugger You can't really condemn it for a single cases of bad schools
 
There are so many bad schools. The whole system is fucked up
 
First assignment: write a page that uses 10 different html tags.
Second assignment: make a page that demonstrates these basic Javascript DOM manipulations
Third assignment: write a program in perl that takes the entire IMDB lists of movies and actors as inputs, calculates for each actor the average rating of the movies they were in, excluding direct to tv movies, then sort all actors by their average score. Then do this again considering only the top 250 and bottom 100 movies.
 
user2620028
@Somekittens actually he warned me that he would give me a bad grade because i included javascript i wrote for a different project to make it all fancy and he couldnt follow simple vanilla js.
 
user2620028
@Retsam jesus christ i bet the students in that class that were not programmers were fuuuucked
 
@HatterisMad Well, everyone in the class was programmers; it was a Comp Sci Web Dev course, not the sort of course non-comp sci majors would take.
 
user2620028
5:22 PM
It always seems like there is one kid in every programming course i have ever taken that stays quiet until the first project comes up and then panics and starts flailing about never having programmed before lol
 
Though one of my roommates who was a Pre-Med major did take the class for fun, but he was a programmer in his free time, so he did fine
 
user2620028
Oh.... i forgot to mention. Our school waives pre reqs for programming courses if a student signs up for it lol
 
By the way is the usage of Perl still growing nowadays?
 
I significantly doubt it; I think Python/Ruby have pretty much eclipsed perl.
They can be used for pretty much the same purposes as perl, but are just much less annoying to use.
 
user2620028
5:29 PM
We always had a group of kids who would enter java programming competitions in college under the team name of "Why isn't this Python?" They would then proceed to program all of their solutions to the problems in python and submit them to the Java judges, who would then be very confused. I don't think they ever scored a point.
 
^ be prepared. Its coming, Today.
 
@Retsam i didnt touch those languages, but for emloyment i guess nowadays it would be better to learn ruby or not?
 
How can stackedit.io be available offline as well? :O
 
@HatterisMad I'd be shocked if they did. What with it being the wrong language, and everything.
 
@Loktar He comes ? The unholy child ?
Tony the Pony ?
 
user2620028
5:31 PM
@Retsam maybe they had a sympathetic judge who knew python :)
 
@HatterisMad Ehh; I'd consider a judge giving points to a submission not programmed in the right language cheating. Though, besides; every programming competition I've been in is automated.
 
ahh, nvm, appcache. great. superb. awesome.
 
user2620028
It would be cheating, but giving them any points would have been funny and worth it
 
@HatterisMad Now that's dedication
 
user2620028
My favorite coding competition i participated in college with, I had the head of the president of the comp science club on my team and he broke his thumb right before the competition. We also had sympathy grouped with the worst person at programming in our selection pool.
 
user2620028
5:36 PM
He was still high from morphine straight from the hospital to the coding competition and he would interrupt me mid problem to point out that i was missing a comma or paren or semicolon in some spot (He was hallucinating) and by the time we figured out that he was just tripping balls then we were laughing so hard we couldn't program.
 
oh jesus
user image
4
oh my xD
 
shut up cartman
 
My favorite programming competition moment was when we had just a few minutes to solve one last problem; three people on the team; one guy had worked the algorithm on paper, and the other guy was the one typing it in... but we were solving it in Java and I was the only one on the team who knew Java.
 
5:43 PM
...
 
@SterlingArcher Hahahaha
My sister was just talking about Kim Jong Un when I opened this tab
Perfect timing
 
I don't get the joke :/
 
user2620028
@Retsam hahahahaha i know right! We had our other person typing at one point, i was solving on paper, and our third (still high on morphine) was making paper airplanes and throwing them at the team from another school who was doing really well in the competition.
 
@AwalGarg He's dressed as Cartman from South Park
 
@AwalGarg whats the matter with the post ?
 
5:48 PM
@SterlingArcher "It's pronounced Gew."
i died
 
@SomeGuy ah
@user3470815 read the code
 
Javascript for load faster?
 
that, and the entire code
 
user2620028
include libraries to load faster? lol alrighty
 
@AwalGarg there are other answers which use Angular to solve this as well
 
5:51 PM
@AwalGarg I dont know jquery but looks legit?
 
along side other answers that use other libraries to solve this
 
to get some json data, he used angular :/
 
if he was already using angular, that might have been a good approach
 
@rlemon didn't read all, that one just caught my eye
 
there are a wide variety of answers there
 
5:52 PM
because of this:
<!-- Javascript for load faster
 
some use jsonp services, some use third party libs, some just copy other answers
 
@SterlingArcher Hahahaha
 
hey guys
 
@AwalGarg afaik that is how Angular recommends you include them for better perceived performance.
 
you guys know of any good treeview solutions for Angular?
 
5:54 PM
Also, loading jQuery but not using it for load faster
 
xD
 
Thinking I might use a CSS treeview or one for jQuery
 
> File > Save as Jew
lol
 
user2620028
whats up taco
 
@AwalGarg make it an app==> $$$$ xD
 
5:57 PM
sup man
you across the pond yet
 
user2620028
I get on the plane on the 29th
 
user2620028
I still have an entire house to paint before i leave
 
user2620028
and sell my motorcycle and car lol
 
user2620028
So it still feels like an eternity away
 
@rlemon How else do we include it?
 
5:58 PM
Let me have your motorcycle. Problem solved
 
@AwalGarg in the head
 
user2620028
I will let you have my motorcycle for a small fee
 
a bj?
 
k..
 
user2620028
Only if you are giving and paying :P
 
5:59 PM
@taco cat is taco cat backwards
 
I'll go far as an hj, but that's it....
 
@AwalGarg you understand the difference between including external resource in the head and in the body right?
 
@rlemon whoa
 
@rlemon yes
 
@AwalGarg to the google! /o/
 

« first day (1524 days earlier)      last day (3430 days later) »