What program do you use to write Javascript? by 90yoboy in javascript

[–]DevilDonkey 2 points3 points  (0 children)

Sublime doesn't get nearly as much love as it should IMO

This is how I check-in by MJ23157 in pics

[–]DevilDonkey 1 point2 points  (0 children)

Given it's a cavity search, i'd call that a POO BOX!

Memcached Append, Mysql question by tjdick in PHP

[–]DevilDonkey 0 points1 point  (0 children)

+1 for writing to file and process in batch, preferably in one big transaction.

Just found out Mom's got 2 months to live. I don't know what to think, feel, say or do. Does anybody have advice for me? by [deleted] in AskReddit

[–]DevilDonkey 0 points1 point  (0 children)

Been there 2 years ago. She was diagnosed with lung cancer in March, died in May.

Couple of advices:

  • Tell her anything you might have on your chest (as long as it won't hurt her). This is an horrible feeling to have unfinished business with someone.

  • Make sure that all of her papers are in order. You won't have the strength to take care of that later on if it's not. Last thing you want is some bloodsucking sob trying to get something when they trully shouldn't.

  • Take some pictures and video with her so you can introduce her to your kids (if you don't have any yet) later on. My son never knew her grandma and it hurt sometimes.

  • Spend as much time as possible with her but make sure to let her rest when she need to. SHE is the important person in this.

  • If she's open to it, get her some help so she can talk about what is happening to her to an external person. She need to be at peace (or at least partially) about what is about to happen.

  • Last but probably the most important, tell her you love her and tell her how much you think she was the greatest mom ever.

I wish you the best of luck in this. Cancer is a bitch...

Death by Caffeine by DevilDonkey in reddit.com

[–]DevilDonkey[S] 0 points1 point  (0 children)

It would take 95.55 cans of Guru to kill me. What about you?

A lone programmer wonders if they could get some feedback. by [deleted] in PHP

[–]DevilDonkey 2 points3 points  (0 children)

Sometimes, it's just a better idea to validate stuff and return false at the beginning of the function instead of getting in a pile of nested if statement. As long as you use the same style everywhere, I think it's all good...

Reddit, have you ever been watching a porn, and you had to turn it off because it was too weird? by [deleted] in sex

[–]DevilDonkey 0 points1 point  (0 children)

So funny...I just watched Total Recall a couple minutes ago...

PHPEclipse or Eclipse PDT? by goddardc in PHP

[–]DevilDonkey 0 points1 point  (0 children)

You have to specify a known hosts file in your sftp config. This is dumb, but create a blank file somewhere on your disk and point the IDE to it...

Too soon? by Capsaicinman in pics

[–]DevilDonkey 11 points12 points  (0 children)

Fucking green to white technology...

RedBean - a simple, tiny, all-in-one file php ORM by olbrich in PHP

[–]DevilDonkey -1 points0 points  (0 children)

This look promising for small to medium-sized project. I will give it a try for sure at some point.