epalla.com

reddit reddit

Lil Dicky - Lil Dicky - "Lemme Freak" [5:04]
Every friend I have that works at Apple or Google...
it hurt to read this
This is a little different: Dude narrates what happens when he houses a Weaver Ant Farm.This is a little different: Dude narrates what happens when he houses a Weaver Ant Farm.
I built a pair of 43" curved speakers. What do you guys think?
The bears this season
Campers in Death Valley get an unexpected air showCampers in Death Valley get an unexpected air show
omgomgomg, trolls! I think my life has just changed, makeup-wiseomgomgomg, trolls! I think my life has just changed, makeup-wise
Bulaga Questionable; Brad Jones OUT for Sunday. Lattimore and Barrington in his place.Bulaga Questionable; Brad Jones OUT for Sunday. Lattimore and Barrington in his place.
My favorite thing about sharing Star Wars with my toddler, are the names he gives different characters. (x-post r/StarWars)My favorite thing about sharing Star Wars with my toddler, are the names he gives different characters. (x-post r/StarWars)

Updated: 09/18/14 03:00 am

Latest Comments

JamesI know, Fuck Javascript. I spent at least an hour implementing a
SatanThis is exactly what I was looking for, didn't notice the differe
Mattk.
92.625sean, all i think your's is good for is hanging clothes on. ma
MattNope. That all came to a screeching halt when I messed up my ank
seanpr123... Still hitting the stationary?
MattFor some reason the idea of Drew rocking out to this song puts a
DrewLOL! I have been guilty of listening to this song as well. Very
JoshAbout every 5 years or so I need a reminder of how amazing the Mi
JoshSo I saw this one opening night, also in 3D, and have been waitin

F
e
b
15
J
u
l
15
J
u
l
13

Check out Ninite. It lets you install multiple applications with a single installer. I haven’t tried it yet, but assuming their App lists are up-to-date and they’re not installing any junk with the software, this could be a huge time saver. Looks like they know just what I like too.

J
u
l
10
J
u
l
10
M
a
r
15

Wow it’s been a long time.

J
a
n
22
J
a
n
13
J
a
n
10

… and then I stopped it and turned on Mighty Ducks. I don’t know why I thought it might be a good idea to try that again. I think every other year or so I need a quick reminder of how shitty that movie really is.

D
e
c
29
D
e
c
25

:D

D
e
c
22

I came across an issue today with jQuery with multiple forms. I’ve got a page that’s dynamically generating possibly several dozen mostly identical forms on a single page. “Why would you do that?” you might ask. Well, imagine a data set where I want to be able to edit each row independently and you’ve got an idea of what I’m doing. I know it’s not pretty, but it’s definitely an easy and straight forward way to do this. Here’s an example of a typical form that I might have 15 of in this script:

1
2
3
4
5
6
7
8
9
<form action="/form/process" method="post" class="question_form">
	<label for="questiont">Question:</label>
	<input class="required" type="text" name="question" />
	<br />
	<label for="answer">Answer:</label>
	<input class="required" type="text" name="answer" />
	<br />
	<input type="submit" value="Submit!" />
</form>

So, you’d think the logical thing to do for quickly running validation on all these forms would be:

1
2
3
$(document).ready(function() {
	$(".question_form").validate();
});

Unfortunately, because the form fields shared the same name, the validation plugin hiccuped with this solution. Now I’m using custom error classes and rules in my actual implementation, so maybe this problem is more specific and isn’t reproduced quite this easily – but basically what happens is that if you have 10 “Question” forms, the validation plugin will see the “Question” field on the first form and call it good. Obviously, we can’t have that, we want each form validating separately.

The solution? Use the each selector to iterate through the forms, of course:

1
2
3
4
5
$(document).ready(function() {
	$(".question_form").each(function() {
		$(this).validate();
	});
});

voila! Easy, but I want to remember it for later :)

D
e
c
19
D
e
c
16
D
e
c
11
D
e
c
11

Is it sexist that any time someone is piddling along at 5 mph under the speed limit I immediately assume it’s a woman? I think it’s mostly because more often than not that’s exactly the case. Yet every once in a while I’m shocked to discover it’s a man behind the wheel. I justify it to myself when they’re old, asian, or especially if they’re old and asian. But what I really don’t get is when I see a young man between 20 and 40 driving at less than the speed limit for no apparent reason. It’s absolutely mind boggling to me.

As those who’ve ridden with me can attest – I’m a very road ragey driver. I’ll swear and curse any idiot who’s going less than the speed limit anywhere. It’s a fault, I acknowledge it. I should be more patient, and speeding rarely gets you anywhere any faster. Still – if I eventually discover that the person whose existence I’ve been lamenting for several miles is in the aforementioned age bracket, everything I’ve thought about this person is immediately shattered. Replaced not with anger, but utter bafflement and confusion. It’s as if I’ve just discovered a small jungle cat is driving the car.

I don’t see these people often. Most of the time the culprit is exactly the fat old woman who I had channeled all my hatred towards. But once in a while… like this morning… It sets me back.

How am I going to work today?

D
e
c
09

I swear, it’s not that I haven’t been biking. I’ve been watching older movies and I have no interest in posting them. As soon as I catch a few newer movies I’ll be posting them again.

I’ve got Band Slam (wooohoo!!) and Taking Woodstock coming up soon.

Weight: 212lbs – for the record.

D
e
c
06
D
e
c
04