« first day (1129 days earlier)      last day (3812 days later) » 

10:04 PM
@Loktar gratz for the job offer! What is it about?
 
Stupid broken things. I quit.
I mean... for the day... and maybe I'll get a beer.
 
@Loktar so how much do you charge her for this work. I assume it is freelance.. so like $75/hr?
because no where in that marriage proposal was there ever mention of "You will do free web work"
:P
unless ofc there was... in which case Bravo Cat! you covered every angle and are officially my new hero.
 
"In sickness and health, in 403's and segfaults..."
 
and now home time.
 
@FlorianMargaine front end dev on a banking app
looks pretty sweet, pretty excited
heavy backbone.js work
@rlemon over 9000!
 
10:10 PM
@Loktar that'a boy!
 
@Loktar so it all worked out? :)
 
yep all worked out :)
getting the fuuu out of the gov
 
I'm really glad man, congratulations! You fully deserve it!
Side note: I once told somebody congratulations you mostly deserve it, and they weren't too happy with me.
 
@Loktar Backbone :( welcome to the pain.
 
@phenomnomnominal punny.png
 
10:13 PM
Ohmai, the AC just picked up.
 
lawl
@Loktar but congrats!
 
bahaha
 
Once found SQL injection in an app my college used. Didn't report it since the IT staff had a history of blaming students for problems.
 
10:20 PM
does anyone here have a good understanding of CoffeeScript's 'class' keyword
I am trying to figure out why it wraps the function inside of a (function{...})();
 
@Loktar congratulations!
 
Have you ever been at your office desk.. and this girl walks past.. and she's so stunning you literally double take? Wow.
*girl = woman
And migrating website contracts are quite boring..
 
@ioSamurai The function wrapper creates a scope local to the class.
 
@RUJordan you at a show/club or at work?
@SomeKittens because if we don't do that, we could have collision?
 
@ioSamurai Or other confusion.
 
10:24 PM
@Shea Wow.... That is terrible...
 
@ioSamurai by my office desk I literally meant my office desk lol
 
metaphorical 'office desk'
 
Step into my office.
 
@RUJordan yeah I was being facetious, that's probably your co-worker not a hired dancer :P
 
10:27 PM
My dad used to tell my mom this, everytime he wanted to get it on. The office was their bedroom.
 
lol
my parents had an intercom system in the house
 
I am literally scared
 
and when I was in high school i was down in the basement with my friend playing some game or something and i was in trouble... and my step dad came over the intercom "Please report to my upstairs bathroom."
I never lived that down
 
If we're getting into catching parents in the act imma get back to this contract..
 
Is there a way to check a string for a string in an array and get the index of that string in the array via Javascirpt? EG: array("A", "B"); My String is var v = "A";. I need to get the Index from the array is it was found. Like: in this case index would be: 0
 
10:28 PM
var getEVDO = (checkDateTimeStamp()) ? $.getJSON('ControlDataServlet?action=getSwitches').done(function(data){activeState.populateEVDO = data;}) : activeState.populateEVDO = JSON.parse(localStorage.vendorDataEVDO);
 
If it was B, the index would be 1
 
IE 9 says invalid char 2 - anyone?
 
ok thanks @SomeKittens
 
@jbolanos Some function do not work in earlier versions of IE
 
IE9 isn't all that earlier
 
10:30 PM
yea, that is what makes me :l
 
I can understand IE8 - but everything else seems to work in IE9
 
yea
 
@EliteGamer indexOf?
 
@SomeKittens That only get the index in the String
i need to get the Array Index
 
Thanks guys :)
@phenomnomnominal haha yeah I mean I've used BB in the past, Im jsut happy its a job dealing with JS
I was worried I would have to take a .net job somewhere
 
10:31 PM
@EliteGamer It does that too
 
ah, nice. Thanks!
 
@EliteGamer wow don't even have your steam profile linked in your SO profile
you need to have that in order to be a true elite gamer just saying :P
 
@Loktar you can do that ;)
lol
 
/nick 31337g4/\/\3r
 
195
A: What is the _snowman param in Ruby on Rails 3 forms for?

Yehuda KatzThis parameter was added to forms in order to force Internet Explorer (5, 6, 7 and 8) to encode its parameters as unicode. Specifically, this bug can be triggered if the user switches the browser's encoding to Latin-1. To understand why a user would decide to do something seemingly so crazy, che...

IE... always reminding us how stupid it can be.
 
10:35 PM
I asked my boss if IE11 was any better and he laughed at me lol
 
@SomeKittens How would I?
 
Internet Explorer is the bastard step-child of browsers. You don't want to support it, but you don't want to go to internet jail either.
 
@FlorianMargaine if Yehuda Katz says something..
 
I need to check if the string contains a string in the array first
then get the index of that string in the array
 
@EliteGamer var myArr = ['A', 'B'];myArr.indexOf('A') === 0; // true
 
10:37 PM
but how would i check if the string A is in my main string?
 
youtube.com down or is just my routing ?
I like the error code tho :P
A team of highly trained monkeys has been dispatched to deal with this situation.
 
@jAndy 500 Internal Server Error

Sorry, something went wrong.

A team of highly trained monkeys has been dispatched to deal with this situation.

If you see them, show them this information:
 
@BenjaminGruenbaum ;)
 
@jAndy Yep.
 
@jAndy it's down
 
10:38 PM
For obvious reasons I won't C&P that bundle of code
 
This is the Main String IF it contains one of these ("string", "bob", "joe") Then find the array of String in the array. @SomeKittens Would i just use indexOf twice or is there a more simple way?
 
@EliteGamer you want Array.prototype.findIndex
 
!!>var myArr = ['A']; myArr.indexOf('A') === myArr[0].indexOf('A'); //?
 
@Shea true
 
10:40 PM
Back up @jAndy
 
@rlemon youtube.com/watch?v=BuOzmyED5qA you supported this game right? I know I did, it looks awesome.
@jAndy its down
 
Not supported in old browsers ofc
 
nope back down again. Odd.
 
Mdn doesn't have find and findIndex :(
Someone fix this!
 
man indexOf is so cool.. I assumed it was faster than while, however I was wrong
I replaced all the whiles in my game engine with indexof.. then ran a perf test, and had to re-replace
 
10:44 PM
Not being a fan of the version control we have today, I've learned the hard way to manually make copies before any big change like that.
@Loktar I feel your pain
 
Apparently IE9 has to be in Comparability View to use JSON.parse - that should be fun to support
is jQuery.parseJSON( json ) a good alternative? or adds overhead?
 
It's a shim
 
Sleep well all.
 
@BenjaminGruenbaum That didn't make much sense. Maybe you meant: aliens
 
10:49 PM
!!aliens
 
@BenjaminGruenbaum i.imgur.com/PfAA1.jpg
 
Didn't mean that, just curious now
lol
 
:P
 
@Shea Command aliens, created by rlemon on Thu, 27 Dec 2012 19:14:32 GMT, invoked 1 times
 
!!info aliens
@rlemon You would
 
10:51 PM
argh - the same function returns true in IE9 but false in Firefox
 
@FlorianMargaine can u link me
i can not find the documentation
 
10 mins ago, by Florian Margaine
Mdn doesn't have find and findIndex :(
!!>['t', 'e', 's', 't'].findIndex('t')
 
@Shea "function findIndex() {\n [native code]\n}"
 
Not in Chrome
 
What'd be the cleverest way to detect mouseOver with a dragged element? That is, detect a mouse over to an element that is overlaid by another element?
 
10:55 PM
@BenjaminGruenbaum do you mean dragover?
 
@Shea "TypeError: \"t\" is not a function"
 
!!> 'broken'
 
Doesn't dragover only detect actual drag?
 
@SomeKittens "broken"
 
I want to drag an element as in - move it with absolute coordinates based on where the mouse is at
 
10:55 PM
@Shea you fixed it?
 
@BenjaminGruenbaum ahh, then yeah
 
@SomeKittens Yup :D
 
@phenomnomnominal ?
 
yeah it won't work
 
Maybe document.elementFromPoint or something, hmm
 
10:56 PM
wall of code, but how I did it..
 
Not sure that'd work, why would it?
 
!!tell Loktar format
 
@Loktar Format your code - hit Ctrl+K before sending and see the faq
 
wow.. the formatting is effd..
 
10:57 PM
@SomeKittens It was missing something on the whitelist, apparently FF 25 renamed MessageEvent to WorkerMessageEvent
 
@phenomnomnominal I did > for some reason..
hmm that code is unhelpful
writing drag/drop that worked with IE7 was fun for some reason
 
elementFromPoint and triggering seems to be the right solution
 
!!>['t', 'e', 's', 't'].findIndex(function (a, b){console.log(a+': '+b);})
 
@Shea -1 Logged: "t: 0","e: 1","s: 2","t: 3"
 
What is the point of that?
 
10:59 PM
@Loktar I didn't actually back it (I didn't need to once I had the $$ to do so) but yes I've been watching it closely.
 
function checkDateTimeStamp(){
	if(localStorage.vendorDataTimeStamp) {
		var currentTimeStamp = jQuery.now();
		var timeDiff = Math.abs(localStorage.vendorDataTimeStamp - currentTimeStamp); // compare current timestamp with vendorDateTimeStamp
		var diffMin = Math.ceil(timeDiff / (1000 * 3600)); // break the difference down into hours
		alert(diffMin);
		return (diffMin >= 72) ? true : false;
	}else{
		return false;
	}
}
 
The gameplay / features look astounding
 
@rlemon ah damn. Yeah man it looks amazing
 
This function return a difference of about 100 minutes between FF and IE9
 
yeah Im glad you pointed me at it
I wish I backed it at the level to play the alpha
Ill get access to the beta
 
11:00 PM
I mean just the movement properties and fighting styles
has any other game attempted something like that?
 
Works like a charm
 
@rlemon 2d ones
not any 3d ones I can really think of
the fighting looks so cool
 
ohh and the collision detection. I am curious how they did that (performantly) without the traditional model.
 
like actually blocking
 
Nicer way to do this?:
var params = {};
_.each(stringParams, function(val) {
    var split = val.split('=');
    params[split[0]] = split[1];
});
 
11:02 PM
@rlemon idk it looks like an actual physics engine for everything
 
@Loktar I know. and that is why the muscle controlled movement is so kick ass!
 
unlike Diablo
 
unlike most games i've seen (albeit you've seen MANY more)
 
what game?
 
eh there is one other game I can think of, thats even 3d
 
11:02 PM
@SomeKittens Sui Generis
 
die by the sword. Old as hell
 
it is pre-alpha right now
it was on kickstarter last year (maybe just earlier this year actually)
god I love how when you swing and miss you are put off balance
that just looks so clean.
 
yea
and the spell effect where he disappears
looks really cool
 
and after seeing his tools he made for the level development... Man would I ever love to be a level / area designer for this game
 
var timeDiff = Math.abs(Number(localStorage.vendorDataTimeStamp) - currentTimeStamp);
Is what I had to do to make it work in IE9
 
11:07 PM
damn, and it looks like that lighting system is pretty top notch as well.
ahh what a shame. I just noticed a flaw in the lighting
player was walking on top of the castle. shadow didn't bend when it hit the wall
 
11:24 PM
is it possible to base off class array? i.e. ( $("." + w).mouseenter(function() { ?
 
m59
@rlemon I can never get an answer to this. I have a feeling you know... how long has inline js been wrong?
10 years?
lol still no answer
The great mystery
 
There has never been any actual need for inline JS
@m59 Would you say people were more likely to have JS turned off 10 years ago?
If so, then it would have been an even worse idea to use inline JS
 
@m59 forever
(in traditional webdesign)
those angular folk sometimes have a different opinion
just like using any style specific attribute is probably wrong
(like: height, width, those funky table ones, etc)
.. also just as I am thinking about it
unfortunately because of the lack of understanding surrounding innerHTML and event listeners in the early days of js. The quick fix was to just rely on inline listeners and call it a day (or at least this is the hypothesis I just came up with)
 
11:56 PM
haha
watch I bet its one of the ones that has the blue light of death :(
 
did he drive his car up there? He'll have to sell it to buy new tires.
 

« first day (1129 days earlier)      last day (3812 days later) »