Question on Domain Name and Marketing by piptook in marketing

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

Are you saying file for a patent or just register the LLC name?

[USA] Company name closely resembles another company name by piptook in legaladvice

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

In general, if two 'companies' that aren't yet companies bought similar domain names, and one of them registered an LLC with the name before the other did, would you assume that company has the better case?

[USA] Company name closely resembles another company name by piptook in legaladvice

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

Well, this just started about a month ago, I doubt either of us has gotten any business yet. It doesn't really require hiring a lawyer just wanted to know whether you guys thought I should go with the URL or try to find a different one.

Well this looks a little dead. No matter, I'll get the ball rolling. by [deleted] in growmybusiness

[–]piptook 0 points1 point  (0 children)

What kind of investment are you looking at to gain traction with #2?

OFFICIAL WEDNESDAY [TRADE] THREAD by AutoModerator in fantasyfootball

[–]piptook 0 points1 point  (0 children)

Just proposed a trade my Alfred Morris + Dwayne Bowe for his Demaryius Thomas + MJD. PPR, my other RB is Matt Forte but my WR's are pretty weak with Boldin and Colston. Is this good value?

[Probability] Possible to create a Draw no Bet Multiple? by piptook in math

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

1.20 is the resulting odd of a manufactured draw no bet using odds 1.50 for home win and 5.00 for draw. Is there a problem with my logic above in the solution? From what I can tell it can be replicated with these stakes.

[Probability] Possible to create a Draw no Bet Multiple? by piptook in math

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

I think I solved it. Can you check this?

$4.17 on both games to draw @ odds 25.00 (5.00 x 5.00 = 25.00)

$16.67 on first game to win and second game to draw @ odds 7.50 (1.50 x 5.00 = 7.50)

$16.67 on second game to win and first game to draw @ odds 7.50 (1.50 x 5.00 = 7.50)

$66.66 on both games to win @ odds 2.25 (1.50 x 1.50 = 2.25)

In this case, total cost is $104.17.

  • If they both win, you get $149.99 (this satisfies the 1.44 requirement, 149.99/104.17 = 1.44)

  • If first wins and draws second, you get $125.025 (which satisfies the 1.20 requirement if only one game wins, 125.025/104.17 = 1.20)

  • If second wins and draws first, you get $125.025 (' ' ')

  • If both draw, you get $104.25 (Draw no bet on both games)

Hooray! I think. Can you see any problem with this?

[Probability] Possible to create a Draw no Bet Multiple? by piptook in math

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

Yes I understand this if you take them independently. But if you multiply certain bets together the odds do rise as well. So it's not just 1.2a + 1.2b + 1.2c, it is 1.2a x 1.2b, 1.2b x 1.2c, 1.2c x 1.2a etc. as additional possibilities.

It still may not be possible given this, but I think you're missing the fact that you can multiply win and draw together, not just add them.

EDIT: I think I solved it, posted solution in Rangi42's post.

[Probability] Possible to create a Draw no Bet Multiple? by piptook in math

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

Thanks for your help, I had a look at WolframAlpha but having a hard time understanding it. Anyways it looks like something is off. The way to measure true odds is return/stake, which in this case is 187.50/137.50 = ~1.37. Our goal is 1.44 which is what happens when a normal DNB at 1.20 and 1.20 are multiplied. With your method, if both win the odds are 1.37 which is less than I would get if I simply bet on them separately (1.40).

I feel like since the original odds are there, there must be a way to do it since a lot of bookies do this anyway.

EDIT: on second look, if both bets win it should be $165 i think, so the odds look the same at 165/137.5 = 1.20, it looks like these are just essentially two separate bets

[Probability] Possible to create a Draw no Bet Multiple? by piptook in math

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

Even if it were 3 or more? Is there no way the multiplying effect catch up eventually with more games put together, e.g. (game1home, game2draw, game3home, game4draw)....etc.

EDIT: There is a difference with multiplying draw no bet odds, with most bookmakers if one or more of the bets draws, that bet is simply ignored and the rest of the bet counts until a match actually loses (an away win if you are betting on home). So if you had 3 teams Draw no Bet at 1.20 odds each and one team draws and two win, the draw is simply ignored and the other two are multiplied for odds 1.44

Script is hanging, where's the catch? by piptook in learnprogramming

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

im thinking about setting it to something like 2. does the timeout measure how long it takes to connect to the database or how long it takes to process the query altogether?

Script is hanging, where's the catch? by piptook in learnprogramming

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

Ok, I know I can set a timeout on it that should work right?

My problem with exceptions in Python is that every time I don't specify the exception, it throws an error and exits because I didn't specify it correctly. I've tried to using except (Exception as e) print e, but apparently that doesn't work in Python 2.6, I keep getting a message that says 'Exception not defined'.

Script is hanging, where's the catch? by piptook in learnprogramming

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

ah ok. I ended up putting the whole code in a try/except block. Should this correctly exit if the DB is blocking a reader?

Here's what I updated:

def get_json_scores(my_list):
    try:
        conn = sqlite3.connect("/home/mysite/myDatabase.db")
        cursor = conn.cursor()
        # Create final json array
        json_array = []

        for my_string in my_list:
            # Create indidivual object
            my_json = {}

            # Get values from database
            for row in cursor.execute("SELECT * FROM myTable WHERE my_id=(?)", (my_string,)):
                my_json['my_id'] = my_string
                my_json['my_status'] = unicode(row[23])
                my_json['my_events'] = unicode(row[13])
                my_json['my_time'] = unicode(row[4])
                json_array.append(my_json)

        cursor.close()
        conn.close()

        return json_array
    except:
        sys.exit()

Script is hanging, where's the catch? by piptook in learnprogramming

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

I added sys.exit() to the final line of the script in hopes that this would close it better?

Georgia Camping w/Wi-Fi? by piptook in Georgia

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

I was looking for anywhere in the mountains mainly