« first day (1545 days earlier)      last day (3401 days later) » 

6:00 PM
(I couldn't help myself)
 
lol
only 90's kids will remember
 
@rlemon That's Muhammed
 
fair enough
 
@rlemon - in the episode "Marge Gets a Job", which has that dream sequence where Smithers is sleeping and Burns flies through a window, had to be trimmed down due to scenes that showed "Mr. Burns landing in a particular position on Smithers' anatomy". There were also issues with "the lump in his bed", which the animators said had drawn as his knee, but the censors had misinterpreted.
 
@adeneo lol
TIL
 
6:02 PM
 
I met him on a plane when he was world champ and I was under 10
 
@rlemon What're the details? Anything discernible? Memory overflow?
 
Ali that is
met Ali
 
I want to experiment with running it with slimer
 
auh Interesting q.
 
6:03 PM
@Zirak I have none, by the time it crashes the process is already dead and teh 'details' in the crash report just show my system specs, but i'll pull them out next time it happens and toss em in a gist
 
i made selector $('.menu li')
 
@animaacija congrats
 
memory shouldn't have been an issue, she was only open for a day the last time it happened.
 
what if i wanted to push another tag in the row. like this
$('.menu li a')
 
@animaacija push it. push it real good.
 
6:04 PM
@SecondRikudo Oh yeah??? Can my replacement...uh...bark better than me?
 
only 90's kids will remember 'push it', even though it was an 80's song
 
@copy Very nice!
 
var y = $('.menu li').push('a') ?
pff ... sorry ... lost sence..
 
^ ten points for originality ?
 
not joking btw
 
6:05 PM
You want both the LI's and the anchors ?
 
yeah ... deeper
 
$('.menu li a ') ?
or $('.menu li').add('.menu li a') ?
 
if i had element that holds already this $('.menu li ')
element.lalala('a') ?
 
or $('menu li').find('a').addBack()
 
^ is cleaner IMO
 
6:06 PM
mhh =/
is the selector a variable name in jQ? so like var $yy = $('.menu li') not possible ?
the $('.menu li') is the variable .. ?
 
$('a').selector; // 'a'
 
@SomeGuy I think you added "The Art of War" more than once into your to-read list
@rlemon It's coming back
 
\o/
 
Implementation's horrible but that's the gist of it
@SomeGuy Fancy!
@SecondRikudo Also, for what's it worth, after auth I've been having problems where the chat's socket just hangs up on me after a second.
 
WOOOOO
 
6:30 PM
 
This annoyed me
>
I have been looking into a bug where the progress hovers are broken on the home page. I eventually went back to TFS to see what might have changed. Here is one example of where you changed a classname. There are couple more locations.

Changing this class name broke the logic in the supporting jquery working with the DOM.

I’ll get them replaced.

Just an FYI to maybe do a search to see if a classname is used in the JS before updating for removing it.
here is the logic for the popups :/
 teamListProgressPopupMouseoverTimer = setTimeout(function () {
            var target = $(evt.target).closest('.teamListProgressPopupOffset');
            var offset = target.offset();
            var popup = target.closest('.teamListDetailRowDetail').children('.teamListProgressPopup');
So when I change classes used for styling, better make sure we aren't really reliant on the class for the app to work
so annoying.
this application is so fucking brittle, and that code is rather new even O.o
 
...wow
 
stupid passive agressive email really annoyed me too
 
teamListProgressPopupMouseoverTimer <- are you sure you're not writing Java?
 
haha i know right?!
I want to respond with something witty
but Im just too annoyed to even think of anything
 
6:36 PM
eh, don't respond when you're annoyed.
 
Managing what CSS classes are used for what is one of the bigger annoyances of doing JS at work...
 
keep those feelings buried deep inside!
 
Any given CSS class might be used for styling, JS logic, or automation test code, and there's no easy way to tell what combination is true for a given class.
 
yeah I think its just really shitty markup too
 
To be fair, how can I get away from using styling in our e2e tests?
 
6:39 PM
grrrrrr
 
this is what I'm working with
so fucking annoyed
I have been doing so many fixes over the last few weeks
and he gets on me for one fuckign class mistake
douche bag.
My changes are on the right.\
he made sure to send that screenshot to me
I ended up replying with "Haha I’ll make sure to check the js next time I’m fixing up all the CSS. Probably just lost track due to all the inline styles and multiple class assignments each element had when going through fixing the page."
 
dem inline styles
 
@rlemon yeah thats what fucking pisses me off the most, and all of that was done 2 months ago by another dev
why the fuck are people still putting inline styles on elements?
it makes my job so much harder.
 
6:43 PM
does anyone know of a 'pretty print CSV input for a pre tag' node package ;)
 
"Sorry a presentation fix broke the functionality. Wait, no I'm not. Here you go"
 
I want to turn this:
Time,In,SP,Out,Rate,Dry,Mode
14:31, 23.7, 15.3, 15.6, 15W, 173, Manual
14:41, 23.7, 15.3, 15.6, 15W, 173, Manual
14:51, 23.7, 15.3, 15.6, 15W, 173, Manual
into this:
Time,  In,   SP,   Out,  Rate, Dry, Mode
14:31, 23.7, 15.3, 15.6, 15W,  173, Manual
14:41, 23.7, 15.3, 15.6, 15W,  173, Manual
14:51, 23.7, 15.3, 15.6, 15W,  173, Manual
I suppose I could just loop the rows/cols and put it into a table
that might be best yea?
 
Split by (.+) and then add space to each till they are all the same length.
 
Is this raw text or a formatted display?
 
I know how, I just don't wanna write the prettifier myself.
@Shmiddty it's a formatted display I'm reformatting
 
6:45 PM
var colSizes = [0, 0, 0, 0, ...]; foreach (line) { line.split(",").map(function (it) { return it.length; }) ...`
 
I think I'll just put em in a table
fuck it
 
it is tabular data
 
ofc
it's going to exported to excel
Coffee Time! Woot!
!!afk
 
I can't believe I did CR for a guy on a promise question, he wrote his own (much worse) solution and downvoted mine
What a douche
 
@ssube Haven't actually read the content, but the thing that is turning text into a diagram image is really cool
 
6:52 PM
link us, let's go insult his mother.
 
I am getting not a function errors with your retry(), also this function doesn't have a timer. — z.a. 4 hours ago
Pfft
No shit it doesn't have a timer.
Roamer is really nice, helped with an edit.
 
Pretty sure that's a "I pasted your code in and it failed" error
 
What is CR?
 
It doesn't even fail if he pastes it in :/
@Catgocat code review, he was asking how to decompose something and I explained it - then he proceeded to (probably, not sure but the timing aligns) downvote my answer and post his own extremely bad one that doesn't work well.
The sad part is that I even have several answers on why his answer his bad but he didn't even research the problem -_- like stackoverflow.com/questions/23803743/what-is-the-deferred-antipattern-and-how-do‌​-i-avoid-it
 
@BenjaminGruenbaum I am sorry for your (rep) lost.
 
6:56 PM
I don't give a shit about the rep, haven't for the last 45K of my rep
It's the fact I genuinely tried to help someone out and instead of saying thanks he was a douche about it.
 
@SomeKittens Did the bounty help, vote wise?
 
@Zirak I got one vote
 
@Zirak what'd you bounty?
 
Shucks, thought it'd bring more
42
A: Why does `isFinite(null) === true`?

SomeKittensThe ECMAScript spec (5.1) defines isFinite to act as such: isFinite (number) Returns false if the argument coerces to NaN, +∞, or −∞, and otherwise returns true. If ToNumber(number) is NaN, +∞, or −∞, return false. Otherwise, return true. In other words, isFinite is calling T...

 
Though I've already got TONS of rep from saying "Because the spec says so"
 
7:04 PM
@BenjaminGruenbaum want to talk about C++ again?
 
what's up?
@Zirak already voted on that a while ago
 
I'm still really curious about that question I asked yesterday
22 hours ago, by Kendall Frey
In C#:

void Test()
{
	Thing one = new Thing();
	Thing two = new Thing();
	Foo(one, two);
	Assert(one.Name == "foo");
}

void Foo(Thing one, Thing two)
{
	one.Name = "foo";
	one = two;
}

---------------------------------
In C++:

void Test()
{
	Thing *one = new Thing();
	Thing *two = new Thing();
	Foo(one, two);
	Assert(one->Name == "foo");
	delete one;
	delete two;
}

void Foo(Thing *one, Thing *two)
{
	one->Name = "foo";
	one = two;
}
 
@SomeKittens "The mathematical representation of this is 0." lol :D
@KendallFrey what about it?
 
It seems like C++ should be able to handle that without raw pointers
 
In the pointer case the assertion will pass.
 
7:06 PM
yes
 
@KendallFrey your assumption about 'handle' that is problematic, you assume that what C# does is the correct behavior.
You expect one = two to fail silently but expect one.otherObj = two.otherObj to succeed.
I argue that that's mostly because you're used to it - that was the case for me at least.
 
I'm not assuming correct behaviour, I'm assuming desired behaviour
C++ is supposed to be "more powerful" or something
 
Why would assigning two to one being suppressed be desired?
 
Because I don't want the method to be able to overwrite my variable
 
Also, you really don't need to use Delete here, you can pass pointers to stuff on the stuck just fine.
 
@KendallFrey but it's able to do so in C#, if you pass a list I can empty it just fine for instance. In C++ you'd just add const before one and get a compile error instead of a silent failure.
@PeeHaa done, nice catch
 
@BenjaminGruenbaum Apparently there was a tag
 
@BenjaminGruenbaum That's not the point
I want the object to be modifiable, but not replaceable
 
Killed like a pro
:-)
 
7:10 PM
@BenjaminGruenbaum there isn't enough support for GO yet for me to learn it from nothing (I'm a programming newbie) so I've decided to skip it and learn C++, since the support resources are, well, more existent
 
@KendallFrey why? You can declare an object in C++ as not assignable at all (overriding operator=) but mutating the object isn't better than swapping the reference.
If you really want - you can pass pointers (no need for new or assert):
 
I've been reading the learn x in y, and so far so good... Just can;t put it into practice yet until I get home
 
@BenjaminGruenbaum So, the answer is, if I want to do that, use pointers?
 
void Test()
{
	Thing one, two;
	Foo(&one, &two);
	Assert(one->Name == "foo");
}

void Foo(Thing *one, Thing *two)
{
	one->Name = "foo";
	one = two;
}
This behaves like you'd expect (still no need to delete or new) they're on the stack - I'm just saying your desired behavior isn't actually desired at all.
It took me a while to get used to references too
They're just different.
 
string foo = "hello";
string& bar = foo; // reference of foo
I feel so special
references can't be reassigned. i lern guud
 
7:14 PM
@KendallFrey @BenjaminGruenbaum finally figured out how to do that without explicit pointers the other day: ideone.com/294F0H (for Kendall's original behavior, change ln30 to swapThings(shared_ptr<Thing> a,)
 
@ssube of course you can pass smart pointers but why?
Wait, why are you doing that? Are you sure you're not releasing the object twice?
 
@BenjaminGruenbaum because they're better than raw pointers, in general? More idiomatic.
they're shared, so it should be counting correctly
easy enough to test
 
Yes but they're also on the stack so they shouldn't be counted at all
Oh I see what's happening, you're actually creating 4 objects and invoking the copy constructor
Doing make_shared<Thing>(Thing()); is like doing:
 
yeah
what's the proper syntax for creating a thing and making a shared_ptr out of it right away?
 
Thing tmp;
auto a = std::shared_ptr(new Thing(tmp));
Don't perform heap allocation for no reason, smart pointers track ownership in this case you're not giving them ownership they're just on the stack
 
7:19 PM
it's definitely copying.
 
Yeah, I just said that like 8 messages ago...
 
the only reason to use pointers of any kind is because that's what the original question had
 
@FlorianMargaine multi-term, have you tried it?
 
it wasn't an entirely valid example (didn't do anything the sensible way), but the question was to do it without pointers
 
@ssube right, the actual issue here is that @KendallFrey is very used to the C# semantics which are also similar in most languages (Java, Python, Scala, JS).
@ssube you did it with pointers though, just managed pointers.
 
7:22 PM
yes, to try and come up with an equivalent. For a case that simple, you should just use the stack, but I was trying to keep it as similar to the C# version as possible.
but without actually using raw/unsafe pointers.
 
There are few things that produce worse code than trying to write code in one language in another language :D Kendall isn't being slow here either - it took me a few weeks to get used to it myself and it still feels strange every time after I don't use it for a while.
 
That's mostly why I actually got something that was working. Having done Java and JS for a while, pointers are super weird.
So long as you actually understood * vs & in the first place, though, they come back quickly enough.
 
@NickDugger Were you the one who asked about Tessels? youtube.com/watch?v=tia6iP85Zuk
 
@rlemon I probably have more games on my machine than you now lol
I need to get a screenshot
 
7:30 PM
> fuck that, rob can't one up me! I'll go home and install ALL OF THE GAMES!!!!!! ~ @Loktar
;)
@ssube lol thanks
I'm putting it into a table tho :P
 
@rlemon I'm curious if you can make that entirely functional.
It seems like it should be possible.
 
@rlemon lol I downloaded all my games from one of my old sites (gamesalways.com)
I plan on redesigning it and moving hosting
 
that basically what my laptop has in total
 
but yeah so many games lol
 
ahh
I'll check when I get home. But my 2tb drive (just movies and games) is full
 
7:32 PM
^ thats 90k games
 
ahh, so all of your tiny ass games
 
yeah flash games
 
I only understand HD sizes in height of stacked floppy disks.
 
and are you sure?
folders in folders count no?
er, they are not all single files
 
90760 files, 1701 folders
 
7:33 PM
or are they?
 
yeah
all swf's
granted many of them are crappy dress up "games"
before Mochigames closed down they had an api to grab all the games and import them
so every night I ran a script that downloaded them, and imported them into the db automatically
 
h4x0r
 
started in 2009 I think it said
 
a) cool
b) what the fuck dude? if you only played each game for ten minutes that is two years of solid play.
 
haha yeah, thats why Im redoing the crappy sit
its so bad.. impossible to find anything
it was just a quick throw up to generate money based off of zombiegames.net, it made like $20-$50 a month
 
7:35 PM
I'm having fun with node-webkit now that it has 'clicked' with me
 
That's a hammer that I'd love to find a nail for.
I want to use node-webkit (or atom-shell) but just can't think of any use right now.
 
Speaking of, Card Minion is once again under active development
 
@rlemon nice, its pretty nice imo
cool to have that option available anyway
and way easier to work with than friggin QT
 
yea, Qt is nice, but this is much easier
all of the bindings are done for me
I don't have to have a 'backend' like in Qt
 
@Zirak I use it
 
7:51 PM
Amazing!
 
Anyone know of some good sites which have a prominent marketing front page with a link to a log in view for people who are already signed up? Need some examples
 
@corvid there's launchrock for generating one
 
@Catgocat lol that song wth
thats hilarious
 
@Loktar Pretty amazing right
 
7:56 PM
lol yea
 
is it possible to animate a queue of objects serially on an ng-repeat directive? That is, "animate the first, then when its animation completes, animate the next"
 

« first day (1545 days earlier)      last day (3401 days later) »