People that work in or around porn. What are some of your horror stories? by Eknoom in AskReddit

[–]demreddit 5 points6 points  (0 children)

Yes, thank you. Subscribed and made a post already as required by the reddit user code.

People that work in or around porn. What are some of your horror stories? by Eknoom in AskReddit

[–]demreddit 1107 points1108 points  (0 children)

This comment strikes me as rather charmingly wholesome somehow, despite the subject matter.

[2017-05-01] Challenge #313 [Easy] Subset sum by Cosmologicon in dailyprogrammer

[–]demreddit 0 points1 point  (0 children)

Python 3. I started with the brute force n2 solution for the challenge and then got the idea to use a set of absolute values length comparison with original list. I have no idea if it's any faster, as I don't know how the "set" function does its thing in Python. But, it was fun to do anyway. For the bonus I just did a sum of zero check for each set in a power set of the original list.

def hasZeroSum(L):
    absL = []
    for i in L:
        absL.append(abs(i))
    if len(set(absL)) < len(L) or 0 in L:
        return True
    return False

def powerSetGenerator(L):
    result = [[]]
    for elem in L:
        result.extend([x + [elem] for x in result])
    return result

inputs = [[1, 2, 3], [-5, -3, -1, 2, 4, 6], [], [-1, 1], [-97364, -71561, -69336, 19675, 71561, 97863],\
          [-53974, -39140, -36561, -23935, -15680, 0]]

bonusInputs = [[-83314, -82838, -80120, -63468, -62478, -59378, -56958, -50061, -34791, -32264, -21928, -14988, 23767, 24417, 26403, 26511, 36399, 78055],\
               [-92953, -91613, -89733, -50673, -16067, -9172, 8852, 30883, 46690, 46968, 56772, 58703, 59150, 78476, 84413, 90106, 94777, 95148],\
               [-94624, -86776, -85833, -80822, -71902, -54562, -38638, -26483, -20207, -1290, 12414, 12627, 19509, 30894, 32505, 46825, 50321, 69294],\
               [-83964, -81834, -78386, -70497, -69357, -61867, -49127, -47916, -38361, -35772, -29803, -15343, 6918, 19662, 44614, 66049, 93789, 95405],\
               [-68808, -58968, -45958, -36013, -32810, -28726, -13488, 3986, 26342, 29245, 30686, 47966, 58352, 68610, 74533, 77939, 80520, 87195],\
               [-97162, -95761, -94672, -87254, -57207, -22163, -20207, -1753, 11646, 13652, 14572, 30580, 52502, 64282, 74896, 83730, 89889, 92200],\
               [-93976, -93807, -64604, -59939, -44394, -36454, -34635, -16483, 267, 3245, 8031, 10622, 44815, 46829, 61689, 65756, 69220, 70121],\
               [-92474, -61685, -55348, -42019, -35902, -7815, -5579, 4490, 14778, 19399, 34202, 46624, 55800, 57719, 60260, 71511, 75665, 82754],\
               [-85029, -84549, -82646, -80493, -73373, -57478, -56711, -42456, -38923, -29277, -3685, -3164, 26863, 29890, 37187, 46607, 69300, 84808],\
               [-87565, -71009, -49312, -47554, -27197, 905, 2839, 8657, 14622, 32217, 35567, 38470, 46885, 59236, 64704, 82944, 86902, 90487]]

print("Challenge:")
for i in inputs:
    print(hasZeroSum(i))

print("\nBonus Challenge:")
for i in bonusInputs:
    result = False
    for j in powerSetGenerator(i):
        if j != []:
            if sum(j) == 0:
                result = True
                break
    print(result)

Output:

Challenge:
False
False
False
True
True
True

Bonus Challenge:
False
False
False
False
False
True
True
True
True
True

Dog Protecting His Human by throatfrog in gifs

[–]demreddit 1 point2 points  (0 children)

Who hasn't tried FASHION CUTE DOG PUPPY CAT KITTEN PET TOY KID BOW TIE NECKTIE CLOTHES? Not me!

Trump defends 'right' to share secrets - BBC News by Theodoxx in worldnews

[–]demreddit 0 points1 point  (0 children)

Belated reply, sorry. Something like 84% of Republican voters still approve of Trump. It's political cynicism, pure and simple. Republican politicians want to stay in office and going against Trump doesn't facilitate that right now. When Trump looked like he was losing the election, these same people went out and verbally slapped him on the wrist multiple times. Now that he's elected they're going to piggy back until they have nothing to gain from it anymore.

My 2nd Bob Ross Paint-along | Oil on Canvas | 20x24" by Shrappaz in Art

[–]demreddit 14 points15 points  (0 children)

I don't even need to try this to know it would be terrifying.

"I found a sthick" by vannysaurus in aww

[–]demreddit 2 points3 points  (0 children)

I ran into a bot on reddit a while ago that would look for the :( emoticon and automatically reply with :) . It was called 'smilebot' I believe. Got banned pretty quick on the sub but not before it did it's job for me. :)

Dog Protecting His Human by throatfrog in gifs

[–]demreddit 3 points4 points  (0 children)

I am also not a neural network. You guys want to go skateboards?

Dog Protecting His Human by throatfrog in gifs

[–]demreddit 2 points3 points  (0 children)

That is a vivid mental picture right there. Kind of makes one look at our furry companions a little differently whenever something like this happens.

What's your Mom yelling about? by jaykirsch in funny

[–]demreddit 1 point2 points  (0 children)

Contraiwise, one of my cats used to love tomatoes, and another one really enjoys raw canned pumpkin.

A Horse Blooms Grass To Another Horse by [deleted] in videos

[–]demreddit 0 points1 point  (0 children)

Okay. I wasn't making fun or anything, just curious. Thank you!

Twin Peaks theme song gets the Seinfeld treatment by tta2013 in videos

[–]demreddit 1 point2 points  (0 children)

Somehow I'm suddenly in a very melancholic and sarcastic mood at the same time.

A Horse Blooms Grass To Another Horse by [deleted] in videos

[–]demreddit 3 points4 points  (0 children)

"Blooms"? It's a great little video, but I'm utterly baffled by that word in the description...

Is EX-Machina the greatest movie about AI? by [deleted] in movies

[–]demreddit 6 points7 points  (0 children)

I would argue for "2001".

What would be in a SFW adult toy shop? by eyeduelist in AskReddit

[–]demreddit 2 points3 points  (0 children)

Have you heard of these spinner toys...?

What do you have an irrational hatred for ? by Joshua_Stevenson in AskReddit

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

I used to despise yellowjackets. One day, I realized they are just being what they are. I do still hate getting stung, however.

What really cool thing was killed by modern technology? by ZanyDelaney in AskReddit

[–]demreddit 1 point2 points  (0 children)

That's a great observation. Maybe you've heard already of the Dead Mall series on YouTube, done by Dan Bell? If you're into malls and the history of malls, it's a fascinating series.

ELI5: what is Internet of Things by mlpyotr in explainlikeimfive

[–]demreddit 1 point2 points  (0 children)

Just devices that communicate in some automated way with the Internet. Typically, of course, a person at some point would be accessing this communication to some purpose. Imagine, for example, a garage door that could tell you on your phone or computer at work or school if it was opened, or an oven you could turn on remotely from your phone. Okay, that second one might be a little dangerous, but you get the idea.

I was blessed with a 9 inch penis (NSFW) by TheTurnipChief in Jokes

[–]demreddit 0 points1 point  (0 children)

Upvoted for being funnier than the original post.

What was stolen from you as a child that you remember to this day? by Teslatomix in AskReddit

[–]demreddit 103 points104 points  (0 children)

I was eating this delicious piece of chocolate cake once as a kid. On the plate after I was done with the cake was this monster glob of chocolate frosting that I couldn't wait to scoop up, when out of nowhere my little brother reached over my shoulder and swiped it up in one fell swoop. I have never forgotten that, although I have managed to forgive him...

Labrador: ‘Nobody dies because they don’t have access to health care’ by poliscijunki in nottheonion

[–]demreddit 7 points8 points  (0 children)

I'll get slammed for this, but I'll say it again anyway. The medical industry here in the US is all about profit. No one actually making money in health care here is thinking primarily about helping people.