« first day (1098 days earlier)      last day (4071 days later) » 

18:00
$scope.$on ? :(
(My highlight on penis)
that made me laugh way too hard
"Penis" is not flag worthy
PENIS IS NOT AN OFFENSIVE WORD FFS
@Zirak GET OUT OF MY BRAIN!
18:02
Yo brain be wrinkled?
only when you wrinkle it
@SomeKittens seriously... wth man?
I'm laughing so hard but I don't understand why
"BANANA FIGHT" <bang!>
asdfmovie is great
user1125394
!!urban trader
@cc Trader Tra´deer also pronunced Treydor, is a form of profession on a distant planet far far away in a not very close future, that are eating children and are considerd evil down to the bone.
I'M GOING TO PUNCH YOUR FACE.

IN THE FACE.
18:05
Did someone flagged me ?
yup
because penis and vagina are flag worthy words but fuck, ass, bitch, etc are fine.
@Zirak "Is anyone here a doctor?" "I am" "Well you're a nerd"
0
Q: How can I remove DRY violations from this event handling code?

tieTYTI've got a bunch of event handlers that follow this pattern: $('.class1').on "click tap", (event) -> a(event) stopPropagation(event) $('.class2').on "click tap", (event) -> b(event) stopPropagation(event) $('.class3').on "click tap", (event) -> c(event) stopPropagation(event) I'm...

18:08
Hey @copy emulator is in the JavaScript Weekly
5
@rlemon You've never seen asdfmovie?
it's absolutely wonderful
watch all of them
All 7
Yeah watched that
23 mins ago, by Benjamin Gruenbaum
@copy your linux emulator just made JS weekly, expect traffic
wow @copy, impressive.
18:09
@RyanKinal Hi Ryan, yes, I have multple xml documents. One for each time the function is called in the recursion
(just checking out the emulator)
@BenjaminGruenbaum Sorry dud :(
@Batman Ah. That's... special.
That moment you've already seen every link in JS weekly before JS weekly.
I should sign up for node weekly, it's a different one now I hear
So last night, my brother and I decided to try and host a Realm of the Mad God private server.
user1125394
18:10
19 hours ago, by c c
if there was a browser on other OSes, that would kill
Turns out it's C#, so it was a bit more difficult for Linux. My brother tried to install MySQL, but needed my help. He decided to screenshare over Twitch.tv
user1125394
(on emulated os)
  <!--
        .-'\
     .-'  `/\
  .-'      `/\
  \         `/\
   \         `/\                  There once was a man from Peru
    \    _-   `/\       _.--.     Who dreamt he was eating his shoe
     \    _-   `/`-..--\     )    He woke with a fright
      \    _-   `,','  /    ,')   In the middle of the night
       `-_   -   ` -- ~   ,','    To find that his dream had come true
        `-              ,','
         \,--.    ____==-~
          \   \_-~\
           `_-~_.-'
            \-~
  -->
@RyanKinal What do you mean : (
At one point we had 30 people watching (and commenting) on the two of us trying to install/configure MySQL on Windows.
I don't understand people.
18:11
@Batman So, each time the function recurses, you're loading another XML file... via AJAX?
That's horribly inefficient
@RyanKinal Yea, it kind of slows down the initial load. I just don't know another way to do it.
anyone know how to get underscore.js _.sortBy to ignore case?
I need to check each site for a subsite and every check returns an xml file with a list of all subsites (or none)
the large the site collection, the longer it takes
@Batman maybe the server should collect the neccessary data and dump it in one package?
@copy <3 3d snake
18:14
@jbolanos .toLowerCase in your sort function (second param)?
@JanDvorak I have no server access so I need to use client side code
whom are you ajaxing to, then?
@Zirak And now I'm grinning like a maniac at work, trying to not giggle
@JanDvorak I'm assuming that was "no access to server-side code"
As in, he can send requests to the server and receive a response, but can't affect what that response is.
18:16
Yea that's what I meant, thanks Ryan
Pizza <3
@RUJordan You saw that whore again, didn't you!?
then you likely cannot cut down the number of requests.
Can you do some of them in parallel?
These afk messages kill me.
as in, data-driven code?
18:17
as in Async?
@rlemon does caprica have a command for lorem pizza?
she can
1 sec
as in, logic of the style "when this file loads, find out what files are needed. For each file, request it. When this file loads...
@RyanKinal Hmm I think I may have found something. Before I was using msdn.microsoft.com/en-us/library/… which returned only the sites directly below the current site level
@RyanKinal But I just found this msdn.microsoft.com/en-us/library/… which returns all the sites?
I used to have standards, but then I got assigned to IE9 support. Now I've learned that standards are quite flexible things
2
18:19
maybe I can use that and parse the information in a useful way
@Batman Seems reasonable
You don't want me to get any work done today, do you?
@SomeKittens Work is overrated
Because I think you're pretty
18:20
blush awwww....
@RyanKinal K let me give that a shot and see what the xml looks like
@Batman Yeah, that would be the only sticking point
Last thing
"I chloroformed myself, didn't I"
@SomeKittens thanks
18:25
JUXTAPOSITION!
var allCharts = _(profileCharts).sortBy(function (p) {
    return p.profilename.toLowerCase();
});
@Zirak pop into sandbox plz
man I need some chineese food
SO HUNGWY
@Loktar I was just thinking the same thing :)
cant believe in just a few days it has SO MANY views
18:27
Silly question, but is this how I am supposed to create an instance using multiple classes? gist.github.com/mikedidthis/7045922
!!pizza 640 480
In computer science, object composition (not to be confused with function composition) is a way to combine simple objects or data types into more complex ones. Compositions are a critical building block of many basic data structures, including the tagged union, the linked list, and the binary tree, as well as the object used in object-oriented programming. A real-world example of composition may be seen in the relation of an automobile to its parts, specifically: the automobile 'has or is composed from' objects including steering wheel, seat, gearbox and engine. When, in a language, obje...
yay :)
18:33
!!pizza 3.14 2.45
!!pizza 512 32
it's funny cause the link will never be the thumbnail
!!pizza is cool
@Zirak ahh ok, I think I get it
@SomeKittens I promised, but this was too good youtube.com/watch?v=K-nDfVIVhsM
NOOOOOO
Also, I've been sketching up some designs for the node switch on the bot
@Loktar the likes on this song are hillarious, obviously people taking music too serious, this song is funny
18:37
@bushdiver I agree
Are recursive based jokes funny? Answer here
lol..
@timcour 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.
@Zirak That was awesome
Wow @Raynos deleted himself off the internet
18:39
@Neal he must have pushed the red button.
@eazimmerman it seems
@Neal Uh, no? Everything of his is still here.
@SomeKittens raynos.org no worky anymore
so he took down his website
big whoop
That's not "deleting oneself off the internet"
There's a JS error in the console
baaah
any idea why this is not passing "this"   		$('.gallery-like').live(clickType, function(e){
			e.preventDefault();
			likeIt(this);
			console.log(e)
		});
His website has been down for months...
18:42
@FlorianMargaine boooo
His website isn't "Down", he's just loaded the HTML for the Chrome error page nevermind, I can't read things.
it doesn't have the associated data tags..
what's surprising is his lack of github contributions over the last week
He must be taking some vacation
He was looking for a new job last I heard
@SomeKittens In what location?
is $('.classname') not an actual selection of an element? maybe that's why the data is not attatched..
PLEASE try and hire him. I can't wait to see how you two get along.
@bushdiver It selects an array of elements
@SomeKittens ah that makes sense, thanks
@Raynos and I started SO at about the same time. Fun times, fun times...
18:45
Honestly I'm not sure I'd hire him. His code is way too "clever"
is there a way to get the actual element that was clicked with $('.classname').live('click"); i can't reference id in this case
Yes, use on.
@bushdiver Use .on(....)
I think on is the proper solution with 98% certainty
or at least delegate if you're on an old version of jquery
Like, very old.
18:48
Live is deprecated, no?
wait wtf am i saying
not only deprecated, .live() was stupid
@RyanKinal hey Ryan, I got it working with that one Ajax call so it just returns one XML report which loads the site a lot faster so that's good. I'm just not sure how to take that information and make the HMTL look like I need it to. This is the fiddle of the XML output: jsfiddle.net/ZeeHv
@rlemon you have a better element
sure do
18:49
parent.on("event","childSelector",function_to_execute);
@rlemon may I ask why? I wasn't around for the jQuery live days.
palladium is the best element I can think of
@RUJordan the great oracle 'google' has the answers to this
@RUJordan it was poison for perf and that ^
@Batman You'll likely have to traverse the XML tree, and parse the URLs to create a hierarchical object that represents your site map.
didn't chain. prevent default didn't work iirc
lots of reasons
18:50
And WOW that sounds like I was trying to confuse you with terminology... but I'm really not.
Fine fine I'll google it lol
@RyanKinal haha yea don't worry I understand what you mean. I'm just not sure what the best way to do it is. I assume I need some sort of loop and something to check if there's a "/" which would indicate a subsite and from there append something :P
sorry, this is all pretty new to me
@Batman No worries
18:52
its still not passing the actual element clicked with on..
But yeah, that's pretty close... I think you want to create an intermediary data structure though. Appending stuff from that flat data structure would probably be tough.
@Zirak STAHP
@Zirak hahahaha
HAMMAHTIME!
18:54
The meows, just hilarious.
wow stop!
HAMMERTIME!
schtap!
@SomeKittens But I baked you a pie!
all is forgiven
18:56
Mmmm... pie
What flavor is it?
@RyanKinal ha you lost me at that one. From what I think you're saying, seems like my old recursive method would have been preferable.
so did @rlemon really lose all of his terraria stuff?
PIE FLAVOUR
FREEEEOOWWWWW
18:56
@RyanKinal or I don't understand what you mean
@Loktar not I
NO LLAMA NNNOOOOO
oh ok good
twas Zirak
oooh... damn
18:57
but he recovered some of it
my worlds are all backed up anyways
@Loktar That was me you inconsiderate jerk!
so at most I'd lose a week
whats the user limit on servers?
@Batman I'm basically saying parse the build a javascript object that represents your navigation, and then recursively build the actual nav elements from that.
1000
18:57
@Zirak yeah I was hoping it was you! :P
I think now
unless it is still capped at 8
@rlemon oh wow they really increased it damn
wait, I think it is still 8
!!will @Zirak and I ever be able to play Terraria together?
@Loktar YOU SUCK
18:58
@SomeKittens Yes!
did you see they are going to have a halloween event?
1000 users / worlds you can create
yea I can't wait
they asked @notch if they could use creepers
gonna get me some pumpkins!
o_O
he said sure, which was cool
18:59
are they going to blow up my house!
How would you feel about a Creeper costume in Terraria for the Halloween event? @notch
Wow. That made no sense.
eh maybe just the skin i guess
@Demilogic I'd be hugely honored!
Let me try that sentence again.
ohhhhh clothes! that is even better
I can be a creeper!
18:59
i got on working, hanks

« first day (1098 days earlier)      last day (4071 days later) »