« first day (1798 days earlier)      last day (3375 days later) » 

16:09
So I have a...unique problem to solve at work.
I'm modifying (my own) existing code to fill a similar but not identical hole elsewhere in our network
however the "elsewhere" falls under the jurisdiction of PCI compliance regulations
Which ties my hands somewhat since my employer is not a PCI-certified software developer
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
DSM
DSM
@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.
That was my first thought.
@AdamSmith obviously the solution is "do it anyway and don't get caught". The second part is the difficult part. ;-)
16:13
@AdamSmith So write it in JavaScript. Sorry. :)
But it sounds like the problem is not Python, but the fact that you can't certify any binaries.
@davidism yes that's definitely the problem haha
This sounds like an issue above your hypothetical pay grade
Or at least a sideways issue (Dev ops maybe)
MFW an OP asks how to remove the quote marks from a string:
@Kevin have you remembered that other skit yet?
16:16
I was thinking about migrating it to a web app and standing up a server for it, but by definition it needs access to the local file system
That reminds me. I saw an amusing video of someone that actually does manage to make seven lines all perpendicular, one in the shape of a kitten.
I only have it saved on my home machine, unfortunately
Yeah, filesystem access tends to bring JavaScript-based approaches to a grinding halt.
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
-_-
(order of marks may be wrong in story, point stands)
16:17
@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.
I told him to pip install stuxnet and have a nice day
DSM
DSM
@AdamSmith: sounds like you're off the hook then, if you don't have a single winning move.
I just wanted to be Kirk
In my long and varied career as a BigCorp employee I advise to just bite the bullet and get it certified.
DSM
DSM
Strange game. The only winning move is not to play. #80snostalgia
16:23
Funnily enough, did you know BigCorp can certify whatever you need? </consultant>
(That may or may not be true, I said it for comedic effect)
DSM
DSM
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.
Try drawing some of the lines with transparent ink.
If she challenges your rhymes, escalate to a full rap battle.
Just remember your mom's spaghetti
DSM
DSM
your requests are too ludicrous / we'll fight just the two of us / your self-absorption is a sin / my data science for the win
16:29
@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:
Awwwwww yiiiiisssssss!
Where black is the lowest scoring strategy, white is highest, and green is impossible because it violates the second equation
Is green good?
DSM
DSM
Impossible is nothing green.
I feel that green should be good because it means go.
16:30
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
DSM
DSM
Just looking at the equations, I think you have P=R by symmetry at an optimum.
Hmm, yeah
I wonder if twiddling the coefficients would ever cause scissors to rise above 0%.
avi
avi
Hi guys. I am not able to figure out whats wrong with my logger. Here's the code: http://dpaste.com/2HS40DC

I am getting duplicate messages:

```
09/18/2015 09:59:54 PM my_super_logger trying info
INFO:my_super_logger:trying info
09/18/2015 09:59:54 PM my_super_logger trying debug
DEBUG:my_super_logger:trying debug
```

Thing I don't really a handler. But I learnt that if you need custom formatting, then you have to add a handler (and formatter to it)
Maybe for something more subtle like "paper gets 1.1 points for defeating rock"
rhubarb
16:41
Tra PM
Yep, scissors becomes viable when the coefficients are closer together
I preferred the green.
I lost green capability during refactoring
Should I make a patch for CPython anyway if my proposal on PI ML haven't been commented on in over a week? Or should I wait/ask for comments again?
@avi can you make it a gist? I'm interested, but blocked at work for dpaste
avi
avi
16:50
sure
@AaronHall and you still can't proxy? wow...
I like my job.
avi
avi
btw you guys read about JSBin founder's story?
17:07
back from lunch cabbage
Someone do me a favour and edit the tag description for ?
I added the tag today with a non-question that's been deleted. It's for programming discussions, particularly for school computing teachers.
17:20
cbg
Back home after 2 weeks \o/
cbg @BhargavRao
cbg @vaul, How are things going on?
well I'm busy and unhappy most of the time :)
Well, I won a shirt in the #SOreadytohelp contest. So now quite happy :D
wow, jealous
17:27
oh right I saw your name there
avi
avi
wow nice
lucky you
Melons :)
avi
avi
oh, fellow kannadiga!
'Free' shirts are awesome
@Programmer Nope! Not free, I was #SOreadytohelp :P
@avi Yep. :)
17:30
I'm not exactly sure what that means
@Programmer Read the last few lines of stackoverflow.com/10m, you'll understand :)
Aug 20 at 18:14, by vaultah
Uhh posted a tweet about SO, wrote "teached" instead of "taught"
#SObad
@holdenweb Sounds like a non-tag as well! :)
@vaultah Unable to find that tweet to favorite :/
It was favorited 3 times before I noticed the mistake and deleted it :(
17:41
Damn, I missed it.
@BhargavRao If you badly want to fav any tweets right now, you can try mine :D #shameless
Yep @thefourtheye I'd start off :P
17:59
bed time for me, take care all
Rhubarb @vaultah
rbrb @vaul
Can this be closed? More details needed and no response from OP yet.
18:19
"I don't know why I bothered" count for today: [1]
Verb: teached
  1. (nonstandard, colloquial, dialectal) simple past tense and past participle of teach
There, there Kevin.
blocked. :( anyone got a youtube mirror url? youtube-nocookie.com doesn't work anymore for some stupid Googley reason.
kickstarter.com/projects/2098439381/… my hipster sense is tingling...
Why do young attractive people in commercials always seem to be having more fun than me :-(
Maybe I don't have enough stuff. I'm going to go buy more stuff.
ok, bizarro world, works in firefox, not explorer.
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
Despite a downthread comment from GvR
I hate dealing with funky paths on Windows/cygwin
19:04
How can you tell?
Mostly with my ears
I'm listening but I don't know if I'm doing it right
Got weirdly folksy at 5:00
10:00 since when is metal allowed to have a piano
Pretty good screaming throughout. Something about boiling.
"Nightmare of our own design". Sounds like my codebase, heyooo
That's probably what he wrote the song about
19:20
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.
Is there a way to use .join and have it use the delimiter at the start and end of the string too?
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!).
DSM
DSM
I survived my meeting without needing to break out the rap. I have mixed feelings about this.
Eg, '|'.join('abc', with_ends=True) |a|b|c|
Not that I've ever been able to find. I just make a function like envelop = lambda items, sep: sep + items.join(sep) + sep
DSM
DSM
19:34
It's a little awkward that there's no clean way to write'\n'.join(iterable) + '\n'.
Oops I meant sep.join(items) there
I'm too busy listening to lullabies for boiled witches to get the syntax right on the first try
DSM
DSM
.. listening to what?
@MorganThrapp nevermind I misunderstood :^)
Maybe this is a problem using cygwin: if sys.platform[:3] == "win":
in cygwin, sys.platform is 'cygwin'
DSM
DSM
19:41
@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."
@DSM No metal band is very serious about it. I saw them live and they're actually pretty funny too
So far only the Toki Wartooth intermissions have really grabbed me
My usual fare usually includes more twee banjos and artisinal mustaches.
DSM
DSM
ARTISANAL!!! BESPOKE!!! THESE WORDS!!!!
19:48
Bespoke tantrums about the word "bespoke", by DSM
Only $30, available on etsy
Hand-crafted, artisinal tantrums? Sign me up!
But first I need to see a Vimeo with folksy guitar music and a sepia filter.
That isn't a tantrum!
Oh I'm sorry, this is abuse! You want the office down the hall on the left
A tantrum is a connected series of statements intended to establish derision.
19:51
No it isn't!!!
Yes it is!
No it isn't!!!!!
holds breath, turning alarmingly purple
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.
I'm not sure most humans are capable of that level of control
I'd expect an involuntary breath before you actually reach the threshold
19:54
Yeah that really seems like something that would get selected out of the gene pool pretty quick
DSM
DSM
If memory serves some kids can pull it off, but almost no adults can.
is that because the adult helps them, with say, a pillow?
Kids that throw a tantrum get their way. Adults that throw a tantrum get unfriended on Facebook. The incentive just isn't there.
RIP friend count
My brother tried throwing a tantrum once. He only tried it once.
DSM
DSM
20:00
Was he replaced with another sibling, or just written off as an unsuccessful effort?
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?
DSM
DSM
?
webbrowser versus subprocess
DSM
DSM
Think I've only used webbrowser once or twice ever, so I can't be much use. :-/
webbrowser doesn't seem to work with cygwin
except for "cygstart"
I should just stop worrying about it, subprocess is working just fine
20:16
"If it's stupid and it works, it isn't stupid" -- Wayne Gretsky
Yesterday I worked in a non-monospace typeface for the first time in what feels like years.
It was unsettling. Something akin to the uncanny valley. "This looks almost like the text I'm used to..."
@AdamSmith I am so sorry. I hope this makes up for it:
Find the person responsible and make them sorry.
DSM
DSM
@Kevin: I believe you and I have had exactly this conversation before. Do you remember the error in what you just wrote?
20:18
d'aww look at that puppy! I bet he wouldn't like me using those skinny little lowercase-Ls.
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.
Apr 29 at 17:53, by DSM
(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.)
Holy crud Kevin's search-fu is stronger than mine.
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
20:23
I feel like it's sufficiently difficult to prove that Wayne Gretzky didn't say any particular combination of words.
DSM
DSM
Especially because it's possible he saw the original episode and tried out the sentence to see if it fit..
Unless you track him down and he says "no I didn't say that". Can't do that with Gretsky!
Ah, well, that's embarrassing. I thought Gretzky was dead.
carry on
On the subject of celebrities being gently parodied, A Jeopardy! contestant made Alex Trebek say the words “Turd Ferguson”
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
20:46
Apart from your chatroom rules, do you have anything special laid out/written down for Room Owners?
Why do you ask? I wouldn't know but I'm curious why you're curious :o
I'm trying to work-out if we might benefit from such rules/guidance/charter over in the SOCVR room. Having an example can help ...
Well, there's not a dark shadowy cabal. So don't even bother asking about that.
We wear fezzes here
Room owners must make a sacrifice to the Python God on every minor release
20:51
wondering if a happy or sad response is appropriate here...
I see the room makes up the rules as they go ;)
I think all room owners are afk right now
Yeah, after about 4PM EST, this room dies.
slackers... ;)
@rene It's definitely the only thing we make up. Kevin is real. There is no question about that. None at all.
20:53
specially on fridays
You'll get the occasional "lubricated" contribution from us UK residents on a Friday night...
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.
Speaking of, the girlfriend just picked up some cactus fruit beer for tonight. Can't wait to try it.
that sounds interesting.
sounds more as a cocktail than beer
20:59
report back, Morgan!!
@MorganThrapp is it this beer?
Ah, man, I want a beer so much now.
Me too. :/ I still have to go out to dinner with my mom before I get to go home and drink.
21:14
Then get beer, this is murickah
21:34
This is England, old boy.
22:00
@Kevin's list.append(X + Y) // a bit too much cliches, but still get the 7.0/10.0 from me
user559633
We don't really use a lot of structure here for RO. We publicly put our rules here: http://sopython.com/chatroom

For things that most people don't need to worry about, we also discuss moderation actions and give each other feedback outside of this room.
@tristan Ok, but you don't have that formalized in one way or another, except for having a feedback loop?
user559633
@rene The rules are formalized. We have other lightweight processes that we use as well.
OK, tnx.
user559633
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)
user559633
22:08
No worries.
OK, tnx I'll give that some brain-time.
22:29
@JRichardSnape that's unfortunate... what cruel fate that must be
@corvid cruel and unusual punishment indeed.
@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.
22:52
hmmm you guys think this is too snarky? stackoverflow.com/a/32662145/541038
@JoranBeasley nah - just about OK, I think. Maybe add a link to list slicing docs.
23:17
:)

« first day (1798 days earlier)      last day (3375 days later) »