Maybe I'm wrong, but I bet this is an XY problem. Hopefully, my comments have clarified things for the OP; OTOH, I wouldn't be that surprised if he totally misunderstands what I've said. Once your brain locks onto X it can be hard to understand Y. :)
Basically I can script a solution, but can't install Python on the machine. I can't freeze the solution into binary because it's non-compliant to run uncertified binaries on a PCI machine
@PM2Ring: yeah, the bit about removing the quotes makes it seem like he's not too familiar with Python's data types and the difference between an object and its representation.
I had an op the other day complaining that typing x into repl gives single quotation marks but he needed to replace them because the library he was using only supported doubles
@Ffisegydd Did you tell him that the problem is that there's too many 0's in the computer? He needs more 1's.
@davidism The only way to certify the binary is to contract out a certified software dev to take my code, run it through their QA, and have them freeze it. I've been told that's a 4-5 digit sum. Ridiculous.
Later today I have to give a status update meeting to a client. One of their team members seems to have gotten the impression that somehow we were going to give her the project results two weeks early, because that would make her happy. I'm not sure how I'm going to finesse this.
@DSM, I remember now. The strategy that maximizes your score in weighted RPS is isomorphic to finding the maximum value of X in the system of equations: X = 2*P*R + 1*R*S + 1*S*P R + P + S = 1 I don't know how to solve that numerically, but I drew a heat map showing the comparative value of each strategy:
Here, the X axis corresponds with your frequency of throwing rock, and Y corresponds with paper. Scissors is equal to 1 - (R+P) so it doesn't need an axis
So it looks like 50% rock 50% paper 0% scissors is the highest scoring strategy, assuming every participant uses the same strategy
Aagh, so close. I was searching the dev mailing list for topics related to this, and found a post containing "Why not just support bitwise operations directly on the bytes object?", but which had no concrete resolution
I don't feel like my mother would disapprove of me listening to this, which really dampens the fun of it
At least with dubstep I can get a "... and this qualifies as music, you say?" reaction
"I doubt your commitment to this music appreciation exercise when you imply that it's only good for facilitating teenage rebellion". Ok ok, I'm taking this seriously now.
I have found that webbrowser.get can't find firefox, cygstart launches IE, I can do subprocess.call though with direct path to firefox.exe (including the unescaped space!).
@Kevin: I'll try to overcome my prejudices, but it's hard for me to take a band seriously which (presumably) non-ironically names songs "Bleak", "Dirge Of November", and "The Funeral Portrait."
You know, I've never seen the "I will pass out to spite you" maneuver performed in real life. I wonder if it might just be a fabrication by pop culture
If it does exist, I bet there's a whole subculture on the weird section of Youtube.
My mother ignored him as he tried to pound and kick carpet that thinly covered concrete. He got the idea from a neighbor boy for whom the strategy worked a bit better - weak willed mother and wooden floors.
So at what point do you give up on one part of the stdlib and go with another part?
But in all seriousness: I had to write a document (updating my resume, actually). I haven't "written a document" in so long.... I had to, like, format things! It all felt so dirty.
(psst-- Kevin-- if you meant the hockey player, it's Gretzky. I'll keep it quiet because (1) there might be someone else you're referring to, and I don't want to look silly, and (2) if I tell anyone they'll send your picture to the government and they'll start turning all green squares away at the border, just as a precaution.)
Perhaps I subconsciously choose the wrong spelling because I know it will be harder to disprove that "Wayne Gretsky" didn't say it, because he doesn't exist
Reports are mixed as to whether this is explicitly forbidden by the contestant wranglers. But writing "hi mom" during final jeopardy is definitely no good
KevinScript is certainly real. Kevin on the other hand, I'm not so sure about. It may be an AI construct that KevinScript came up with to represent itself.
Are we're watching over an internet community with a myriad of personalities, most moderation is organic and based on some intuition. We make mistakes, but generally I think we do a pretty good job (considering that part of it is being aware of puppet accounts, prior abusive behavior from users, and trying to prevent bad/annoying things from happening)
@rene As a non-RO but regular user, just wanted to say that I think the RO's here use a reasonable approach, keeping an eye on past behaviour and / or newness of participation to differentiate responses to comments that are outside the "norms" of the room as set down in the formalised rules page.
They also appear to have this thing called slack, which I've always assumed is an over-stretched piece of elastic that binds them wrist to wrist.