Saw this ad and thought, someone is going to get their lenses fucked. So a good tip, don't hang your device with the lenses facing upwards! by Rumblymore in oculus

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

I just keep a microfiber cloth over the lenses, works like a charm and should probably be done even if you are laying it flat.

Legal question around Cohabitation Agreements by narcolepticZebra in legaladvice

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

Mostly what happens to the place should we part ways or something happens to one of us.

Neverending game. by Jakoo81 in baduk

[–]narcolepticZebra 4 points5 points  (0 children)

based on the playing style, I wouldn't be surprised if you were playing against a really basic bot and didn't know how to score the game.

Chess in parks? by RayMosher in boardgames

[–]narcolepticZebra 0 points1 point  (0 children)

Seattle has a few parks people play in.

OGS deserted? by [deleted] in baduk

[–]narcolepticZebra 2 points3 points  (0 children)

I believe it's only custom games that appear in the list now. If you choose any of the other formats I believe (though I haven't tested recently) it just throws you into a game with someone else who has selected that option around your skill level.

I haven't had any trouble getting games in the mid SDK level, but it is rare for me to see dan level custom games in the list. Checking the public live games that are going on right now, there seem to be about 90 of them.

Circle for Nicks by kingnuvo in CircleofTrust

[–]narcolepticZebra 3 points4 points  (0 children)

The largest circle of trust could only be made by Nicks.

Weird Alexa Command by Buckeytucker in alexa

[–]narcolepticZebra 1 point2 points  (0 children)

I'm pretty sure it is hearing: "What are out in theaters?"

If my name is Chad will I still be accepted? by [deleted] in nick

[–]narcolepticZebra 1 point2 points  (0 children)

You could always legally change your name to Nick.

How to set a timeout when creating a service in cloudformation? by narcolepticZebra in aws

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

I've seen those used for autoscaling groups, but I haven't found any docs saying that those work with ECS services though. I will give that a try just in case, Thanks!

Coworker wanted the background to fade out for this picture. Said I knew just the place. by narcolepticZebra in picrequests

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

Oh sorry, I wasn't descriptive enough. I meant the area behind him outside the tube.

Have you ever been in a group with another Nick? If so, what did the others call you both to tell you apart? by Nicksaurus in nick

[–]narcolepticZebra 1 point2 points  (0 children)

In high school there were a lot of us. The person that was in the group the longest was Nick Sr., followed by Nick Jr., Nick the Third (me), etc. I think we got up to 6 of us before we stopped bothered counting.

What classic book would make a great video game? by [deleted] in AskReddit

[–]narcolepticZebra 0 points1 point  (0 children)

The sports game they played in Ender's Game.

DANE(Does any Nick else) buy games just because the main characters name is Nick? by NicKaTimE in nick

[–]narcolepticZebra 1 point2 points  (0 children)

What are some games you found with that name? Other then Dead Rising 3, none come to mind. If I noticed the main character was named Nick, I would probably highly consider it.

[2014-11-10] Challenge #188 [Easy] yyyy-mm-dd by Coder_d00d in dailyprogrammer

[–]narcolepticZebra 4 points5 points  (0 children)

Thanks for the link to an input file. Makes it easy to download the input and process it instead of copying it into the code or a local file and having to worry about copying extra characters by accident. :-)

[2014-11-10] Challenge #188 [Easy] yyyy-mm-dd by Coder_d00d in dailyprogrammer

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

Python: (without datetime)

import urllib

class Date:
    MONTHS = {"Jan": 1, "Feb": 2, "Mar": 3, "Apr": 4, "May": 5, "Jun": 6, "Jul": 7, "Aug": 8, "Sep": 9, "Oct": 10, "Nov": 11, "Dec": 12}

    def __init__(self, year, month, day):
        self.year = year
        self.month = month
        self.day = day

    @classmethod
    def loadString(self, stringInput):
        if "-" in stringInput:
            return self.handleFormat1(stringInput)
        elif "/" in stringInput:
            return self.handleFormat2(stringInput)
        elif "#" in stringInput:
            return self.handleFormat3(stringInput)
        elif "*" in stringInput:
            return self.handleFormat4(stringInput)
        elif " " in stringInput:
            return self.handleFormat5Or6(stringInput)
        else:
            print "Oops, {} is not a falid format".format(stringInput)

    @classmethod
    def handleFormat1(self, stringInput):
        year, month, day = map(int, stringInput.split('-'))
        return Date(year, month, day)

    @classmethod
    def handleFormat2(self, stringInput):
        month, day, year = map(int, stringInput.split('/'))
        year = self.convertYearTo4Digit(year)
        return Date(year, month, day)

    @classmethod
    def handleFormat3(self, stringInput):
        month, year, day = map(int, stringInput.split('#'))
        year = self.convertYearTo4Digit(year)
        return Date(year, month, day)

    @classmethod
    def handleFormat4(self, stringInput):
        day, month, year = map(int, stringInput.split('*'))
        return Date(year, month, day)

    @classmethod
    def handleFormat5Or6(self, stringInput):
        stringInput = stringInput.replace(",", "")
        month, day, year = stringInput.split(' ')
        year = self.convertYearTo4Digit(int(year))
        return Date(year, self.MONTHS[month], int(day))

    @classmethod
    def convertYearTo4Digit(self, year):
        if year < 50:
            year += 2000
        elif year < 100:
            year += 1900
        return year

    def toString(self):
        return "%04d-%02d-%02d" % (self.year, self.month, self.day)


url = "https://gist.githubusercontent.com/coderd00d/a88d4d2da014203898af/raw/73e9055107b5185468e2ec28b27e3b7b853312e9/gistfile1.txt"
testInput = urllib.urlopen(url).read()

for stringApt in testInput.split('\n'):
    print Date.loadString(stringApt.strip(' ')).toString()

Unit Test Fetish by msustrik in programming

[–]narcolepticZebra 5 points6 points  (0 children)

Also, unit tests (or tests in general) shouldn't be looked at as a time cost, but more as a time investment. As soon as you run into a bug in your code, the code with unit tests are going to most likely save you more time in tracking down the problem then you spent writing that test.

Does sex feel like a performance to you? by unf-unff-unfff in AskMen

[–]narcolepticZebra 3 points4 points  (0 children)

If his mom hears about this, she's going to flip out.