« first day (2182 days earlier)      last day (2775 days later) » 

1:00 PM
What is min and max of an RGB? I guess it is a hex value but I never really think of it that way... is 0xFFFFFF the "biggest" color, so to speak?
 
Yeah although color is typically mapped in 3d space, so not all colors have strict greater-than-less-than relationships. 0xFF0000 is no bigger than 0x0000FF for example.
 
0 (0x00) to 255 (0xFF) per colour
 
@PM2Ring Python is amazing
 
For the same reason that (255,0,0) can't be said to be larger than (0,0,255)
 
Oh der, that makes sense
 
1:02 PM
@corvid My code assumes you're passing it a tuple / list of (r, g, b). So if the color is (10, 200, 50) in decimal then min is 10 and max is 200. My code works with any RGB system, it doesn't matter if the values run from 0 - 255, or are floats in the range 0-1, as long as they're consistent. :)
 
Morning cabbage.
 
yoyoyo @MorganThrapp
 
No
 
I love hotdogs. I love twix. If you trick me that way, I will not be happy. Because they should not be confused for one another
 
1:07 PM
Hotdogs are too pure and good for the world. That's why we put them in protective buns. To touch mundane matter like a twix wrapper is Wrong and Bad.
6
 
@JonClements I did one with itemgetter on a dict a couple of days ago: stackoverflow.com/a/39845950/4014959 Of course, I often use itemgetter with numerical indices (ever since I learned it's faster than the equivalent lambda), but it's nice to remember that it also works with dict keys.
 
Kevin gets it. Thank you, Kevin.
 
I burned my hand last night, and it kinda looks like a stingray. :/ I think I need to burn a shark into my hand to eat the first burn. That's how it works, right?
 
@MorganThrapp failing that - make sure to run it under some H2S04...
Or do I mean H20 - easy to get those two confused...
@idjaw this is what happens when you spent too much time here...
 
1:12 PM
Idjaw take a second and actually read what he said, then engage your brain.
 
I tried to make pork chops and I got the oil way too hot. :P
 
I have an excuse for this
hold on..hold on..
6 hours ago, by idjaw
is it even sleep if it's only for a few hours? Is it a nap at that point? :P
I barely slept.
 
I'll allow it.
Sleep deprivation chat. The only caffeinated choice in the local vending machine has gone from $2 to $3 since the last time I bought one. Guess I'll just be tired forever.
 
Not a coffee drinker?
 
Just grind up some pro plus and keep it in a bit of paper with you at work. Whenever you're tired just take a snort. Won't look suspicious at all.
 
1:15 PM
Brewing coffee requires give-a-damn points, which are in critically low supply until I get my caffeine. There's a hole in the bucket, dear Liza.
 
OK. The little humans here require transport.
See you all later
 
Later, idjaw.
 
@DSM you should probably undelete that answer :)
 
Anyone ever use a self-signed cert that actually worked well? I'm sick of using MAMP
 
need. coffee.
 
1:23 PM
Also, figured out PIP on youtube on mac. It seems like a hidden secret. You gotta right click TWICE on the video, which opens up a "hidden" menu
 
user559633
tired cabbage to all
 
user559633
@Kevin Demand a 33% raise, citing demonstrable cost of living increases in your hyperlocal region.
 
HI how to bind multiple score function in elasticsearch-dsl-py
Dynamically
 
Hmm, nope, I still don't know what elasticsearch is, so I can answer this question as effectively as the last two elasticsearch questions you asked. Which is to say, not at all effectively.
Just chiming in to confirm that I am still completely unhelpful.
 
Okay @kevin.
Is any one know or worked in that before
 
1:33 PM
Heh, hyperlocal. I guess hyperhyperlocal would be "I forgot my wallet at home"
 
user559633
@devanathan Ask a python-related question with enough detail that it's not annoying for someone to try to help you. This is relevant: stackoverflow.com/help/mcve
 
heh. the import problem just got reported to the team by someone else, after they told me it was an issue with what I was doing
 
@devanathan I believe it was suggested to you this morning that you should look for help in the AWS forums.
 
@Ffisegydd I am new to that
 
What does that have to do with it?
 
1:37 PM
@PM2Ring Hmm, Yeah. Makes a bit of sense. If the OP responds then we can get the question reopened.
 
@BhargavRao I left a comment. Maybe we'll see them again...
 
1:52 PM
Hope that the OP knows how to mention others.
 
probably not, SE is not really obvious at all as far as how it works
 
I (usually) check the next day for replies to my comments, just in case.
 
@PM2Ring very conscientious of you :)
 
Sometimes I get replies where the OP has tried to ping me, but they misspelled my name. :)
 
PM Turing.
 
1:57 PM
@BhargavRao :-)
 
How many failed pings to @Kelvin have I missed over the years, I wonder...
 
The result of a Low Quality Review for "Should Be a comment" should move the answer as a comment rather than deleting it.
 
just delete all the things
 
@BhargavRao But you need mod powers to do that...
 
@Kevin a few, at least. I imagine hitting 0 @Kelvin is nigh-on impossible
Needs lasers
 
2:02 PM
@PM2Ring Yeah, true. I want that to be implemented. So many link only helpful answers are deleted (I've flagged them, But I want them to remain as a comment).
 
I remember reading "how to build a time machine", which was the book result of asking the person at barnes and noble for "string theory for dummies." It said that if you needed anti-matter, all you needed to do was cool a box to absolute zero, shoot a lazer in between two vibrating mirrors, and boom, you've got a stew going.
 
I wept for I had no lasers, until I met the man with no notifications.
 
@BhargavRao comments are meant to be temporary though; can't rely on them sticking around
 
Ah, Yes. The third class citizen rule. But those comments are "Constructive comments" and can only be flagged as obsolete when the link dies. We can just hope that they stick longer as comments, as they'd be deleted, if they were answers.
 
2:17 PM
@RobertGrant entirely impossible
unless you have an environment that is at 0 kelvins, which is cheating:P
 
We have 0 kelvins here, and yet we also have kelvins. Explain THAT, physics!
 
What if you owe a guy 3 Kelvins but you only have 2 so he takes them all? That's how you get 0 Kelvins.
 
hmm?
 
@RobertGrant I'm too cool to explain that... in fact... I'm so cool - I'm 0K with it :)
 
All window managers should have always on top options
 
2:26 PM
:D
 
I suppose I better not mention negative temperature... ;)
 
hey hey hey take your non-equilibrium elsewhere
 
> A system with a truly negative temperature on the Kelvin scale is hotter than any system with a positive temperature. If a negative-temperature system and a positive-temperature system come in contact, heat will flow from the negative- to the positive-temperature system
wat
 
user559633
Someone reboot the universe. We're starting to get data integrity errors.
 
2:28 PM
@BhargavRao I'd decline an NAA flag - although it's odd
 
Don't overthink it, negative temperature is a non-equilibrium state of quantum systems, such as in a laser being in operation.
you can't just put it on your bread
 
I feel that it suits as a comment, Won't flag. Thanks :)
 
@BhargavRao It looks like a comment on another answer, but it's the only answer
 
user559633
@AndrasDeak But...why flow from negative to positive? I'd think excited matter would flow to a state of non-entropy
 
maybe a comment on another comment...
@tristan well, the trick is that the heat capacity is probably negative
or something:P
I'll try to find a figure
 
user559633
2:30 PM
Please explain this theoretical physics phenomenon in two or fewer sentences, using only small words.
 
Negative temperatures don't make sense on the Kelvin scale. Therefore, the universe must store it as an unsigned data type. When you underflow an unsigned number, it loops back around to the maximum possible value of that data type. Ergo, hotter than any existing system.
 
OK, the figures are there on the wiki page
bah
 
user559633
Ah yes, temperature is a flat circle.
 
The question is, how many bytes does the universe use? Are we talking 65,536 degrees or 4294967296 or what?
 
the system has maximum entropy at Emax/2, where it would end up at inf temperature
 
2:32 PM
@BhargavRao Maybe Dave is the OP of the question. It's not a great answer, but it is an answer. It'd be nice if he gave a bit more context, but anybody with this Tkinter problem should be able to figure out what he means.
 
in equiibrium
 
user559633
No Man's Sky was a realistic portrayal of the universe. We think there's other players in it, but actually, Creator Studio hadn't bothered to actually build that part in.
 
if you start heating the system conventionally, it creeps up to the top of that entropy curve
 
user559633
Likewise, the platypus may only be explained through procedural generation of creatures.
 
and this is the derivative of S vs E, which is 1/T:
if you heat it, its temperature goes to infinity as E->Emax/2, all's fine
but you can excite the system above Emax/2 in non-equilibrium, using pumping:P that's what happens in a laser
there S starts to decrease with energy, that makes it all odd and the temperature negative
 
2:33 PM
"If you had a negative temperature, [absurd conclusion]" seems like a slightly more advanced version of "If you could go faster than the speed of light..."
 
user559633
@AndrasDeak This sounds a lot like breaking reality, if I'm being honest.
 
@PM2Ring Hmm, Yeah. It looks like that. Dave is unregistered.
 
user559633
Ooooh, I intrinsically[1] understand this now.

[1] the undergrad version of "i have no yamming idea how this actually works"
 
There may be a maximum temperature, the Planck temperature ~ 1.417×10³² kelvins. And even if it's not an actual limit, very weird stuff should happen in that regime.
 
the main trick is that these systems that can have negative temperature are not "normal systems", which behave nicely
 
2:36 PM
@JonClements amazing
 
user559633
Over $duration, as the negative temperature system decreases back to its normal limit, the delta entropy between pumped->initial exceeds that of the high temperature positive system. The dubstep-drop theory of physics.
 
DSM
Annoying subway problems cabbage.
 
user559633
@DSM Quiznos is better
 
sorry, gotta leave work, have to conclude much physics, very statistical wow corner;)
see you guys later
 
user559633
Travel safe :)
 
2:38 PM
thanks:)
 
@DSM annoying 3 different detours to get to highway cbg
 
FWIW I gladly discuss these things, I'm just worried that I'm the only one who's actually interested:D
 
DSM
@JonClements: eh. My answer didn't offer anything beyond the one-line version already embedded by Divakar, and it was much slower on my system than on his, so I couldn't even argue it was of comparable speed.
 
Cbg all, anybody remember the canonical for when a user names a script after a module and errors arise?
 
@DSM fair 'nuff
 
user559633
2:39 PM
@AndrasDeak I'm interested, but lack the formal education to not be wasting your time
 
@Kevin that sounds more like "if you could go slower than being stationary." The speed of light is definitely a handwave. I just don't have the skills, intellect or tools to prove it.
 
5 hours ago, by Andras Deak
I'm grading a maths pop quiz... A=4-(-2)=0 AAAAAAAAAAAA
these are my formally educated students ^
 
user559633
@AndrasDeak is that like how as you become more advanced in maths, you become worse at basic math?
 
no.
that's plain god-how-did-you-ever-get-accepted-to-university
 
@AndrasDeak s/formally/formerly/
 
2:40 PM
Once I learned all those knots in boy scouting I couldn't tie my shoes anymore. Same thing.
plain*
 
user559633
I mean, I at least know that A=4-(-2)=8A
 
and also why-doesn't-the-university-mandate-advanced-a-levels-for-entry
 
no pretty sure that anyone who can't do that should be kicked out of college. :P
 
@JimFasarakis-Hilliard I'm on mobile but I have a canon dupe for that. It's the only question I have in my profile. Should be easy to find
 
@enderland not if they're doing Advanced How This Poem Makes Me Feel, surely?
 
2:41 PM
@idjaw got it, cheers!
 
@tristan Normal systems with positive temperature are fairly random, and the hotter they are the more random they get, so we're used to systems where there's a positive correlation between energy & randomness. But in certain organized systems you can reduce the randomness of the system by pumping in energy, and by the formal definition of temperature it makes sense to assign a negative temperature to such systems.
 
I'm going to be honest: I am making Jenkins builds all green-light like a boss
 
make it green. Like a boss
push to prod. Like a boss
 
"you can reduce the randomness of the system by pumping in energy". Like giving coffee to your clean-freak roommate. nods
 
user559633
@PM2Ring Weird. The entropy decreases because "physics stuff" starts behaving predictably when excited enough?
 
user559633
2:46 PM
"physics stuff" great stuff, tristan. show off that $200k education
 
@tristan Not just ordinary physics stuff. It takes quantums to get weird shit like that happening. :)
 
"Don't ya wanna, wanna quanta, don't you wanna, wanna quanta"
"Yes and no."
 
@tristan that's what you get for attending a university sponsered by Pantene
 
user559633
@RobertGrant ~~dat fabulous hair doe~~
 
Kevin and Tristan killing it on the starboard today
Don't stop. Never stop.
 
2:57 PM
Kevin and Tristan: Killing it on the Starboard. Sounds like a sitcom.
 
Who's killing it on the port side?
 
Kevin and Tristan in the morning
 
user559633
TCP/IP from the state of the 'net.
 
Generally speaking, quantum rules limit the number of possible states a quantum system can be in. So you can describe the system with a bunch of finite integers, where classical physics would use infinite-precision floats, and thus have an infinite number of possible states.
These sorts of restrictions allow quantum systems to have stability that wouldn't be possible under classical rules, eg electrons can "orbit" around atoms without instantly radiating all their energy away, atoms can lock together in various ways that allow solid matter to exist. Etc. In classical physics, matter at the atomic level would be like infinitely malleable Play-Doh, but in the quantum reality it's more like Rubik's Cubes with only a fixed number of allowed states.
 
@KevinMGranger They don't do the port side... they just starboard 3 times...
 
user559633
2:58 PM
@idjaw I like to think that I'm the Troy in that relationship, but I'm more likely the Abed.
 
HARD TO STARBOARD
FULL RUDDER
 
@tristan man...I have no idea who I would categorize as The Abed/Troy between the two of you
@JonClements do you see any shenanigans between these two questions form the OP? I'm tired, so I'm not thinking straight: this and this
 
hmmm I wonder if editing the page element to turn "disabled=true" off in order to submit a comment is our intended blog design
 
Anyway, it's getting late here, due to the curséd DST, so I better go. Rhubarb.
 
3:01 PM
rbrb
 
rbrb @PM2Ring
 
Rbrb, pm.
 
user559633
wow, tired. Take care PM2Ring
 
DSM
I feel uncared-for now.
 
DSM, PM2Ring. I totally see the fingers slipping on the keyboard for that one
no worries, Tristan.
 
3:03 PM
@DSM Just "now"? :p
 
user559633
Don't take care.
 
user559633
Looked at the active user list and brain misfired.
 
@tristan at least it's firing I guess
 
user559633
those sweet 4 hours of sleep
 
high five tristan. 4 hours of sleep are for real winners
 
3:05 PM
Only 55 minutes until I can go buy an energy drink from the cafeteria at non-ripoff prices
 
user559633
If you break into the cafeteria before they open, you can get one at ripoff prices
 
user559633
@PM2Ring Isn't that just giving an infinite number of descriptions and not actually supporting the theory of infinite states?
 
I am not yet strong enough to ripoff a locked door from its hinges. I'm going to do a plank tonight, see if that helps.
 
you're on the right track.
Just keep on liftin', bro.
 
Cheeseburger and fries has protein, right? I'm prepared to get jacked.
 
3:10 PM
Does door-ripping use your core?
It's probably a crossfit exercise, right?
 
I'd say it engages pretty much your entire upper part.
Just that whole general area.
 
I'm starting to feel the four hours of sleep. Not good.
 
more coffee
 
user559633
What time do you need to make it to?
 
(Doing the math on extra hours yesterday....) -> I think I can actually leave at 2 today
Look at all the pew pew going on: map.norsecorp.com/#/…
 
user559633
3:22 PM
@idjaw If that's true, we're saints here in America for not returning fire.
 
I didn't read the link, but pats on the back all around for Americans anyway
 
hmmm
I question it too. Just found this -> csoonline.com/article/3028104/techology-business/…
and there is a little thing on Quora about questioning its validity and not sure if it legit anymore.
 
user559633
tl;dr exploit-attempt traffic inbound at economic centers in the US. egress from the US seems mostly to saudi arabia, and our government loves investing there for "some reason"
 
user559633
@idjaw eh, if it's multi-protocol and not on a filtered network, that's still valid data. "pretty much the same thing as if you looked at Web server logs that had automated crawlers and scanning tools hitting it constantly." no not really. not at all, really.
 
3:29 PM
rbrb
 
user559633
rb, Andy
 
Heyho,

looking for a pythonic way to do something like this:

if ['i', 'b', 'c'] in 'blabla':
do_something_very_awesome()
 
DSM
You want to know if any of a collection of strings are substrings of another string?
 
@tristan it's because we wish we were a monarchy now
 
3:31 PM
if any of the char / string in the collection is in the 'blabla' string
 
any(substr in 'blabla' for substr in ['i', 'b', 'c'])
 
@KevinMGranger great thanks! was not aware of the built-in function any()
 
user559633
@WayneWerner in our defense, as a newer country, we never got a chance to go through that stage
 
ugh.....behave regex was case sensitive this whole time....I once again proved sleep is important.
# feature line
When I request new access to Bob's account

# step definition that it should match
regex: (?P<user>.*) requests? (new|existing) access To (?P<client>.*)'s? account
 
3:36 PM
Naturally. Of course the irony is that our forefathers disliked the monarchy so much they decided to make a new country instead.
 
DSM
Are there cases where str(some_func) and repr(some_func) differ?
 
To -> to ....
 
DSM
You could argue that the U.S. is actually older in some respects than Britain or France (as a state, not as a nation.)
 
user559633
I could, but won't, as it harms my throw-away argument.
 
DSM
The Fifth Republic thanks you.
@idjaw: thanks for that behave link, by the way. Don't know what I think about it, but it's interesting.
 
3:38 PM
@davidism lol, I just actually read this question. It seems like the OP has no clue what technology does
 
Gah, it's like pulling teeth with these users to get them to post their actual issue, then it turns out it's a dupe once they finally ask their actual question.
Meanwhile I've already voted to close as something besides a dupe, so there goes the hammer.
 
@DSM I understand France, but how is Britan younger than the US?
 
Well, if you've got python dupes (that I haven't yet voted on)....
 
user559633
@QuestionC You measure by intensity of living, not duration.
 
3:40 PM
ah, bah. I VTC on that, too :P
 
@tristan lol
 
@davidism I think instead of just keeping downvoting my answers/efforts to help other developers, it would be better to suggest best alternatives. my solution may or may not help, but from what I understood I think he or she saw some example somewhere which contains "from flask_wtf import FlaskForm" and maybe he or she thinks that it could not be done by just using WTForms instead of Flask-WTF. — ettanany 3 mins ago
Uh, that's not how it works.
 
BTW that was a "lol, poor sweet innocent idiot" not an actual "lol that's funny" lol
 
@DSM you're welcome! Yeah it really depends on whether you can justify its usage in your process. Our motivation was to include more higher level business input that we can easily translate in to automated tests
 
@davidism Looks like you made a new friend :3
 
user559633
3:43 PM
@Ffisegydd Shouldn't you be busy idly looking at lakes?
 
I've started to notice I have a habit of starting sentences with "Yeah, ". I'm worried that I may be starting to become the boss from Office Space.
 
Hi, i have list of tuples like this one [(('X', 'X', 'X'), ('200860', '207362', '215944'), (0.55, 0.277777778, 0.424242424), (0.504761905, 0.544303797, 0.593406593))] but this is only 4 tuples but I have thousands of this, can I use multiple threads to speed up the iterations instead of loop which is very slow. I used pool.map(func,my list), myfucn is a function which will take this list and return a dictionary. How can this be done using pool from multiprocessing.dummy
 
@ettanany what would lead you to believe that? from flask_wtf import FlaskForm (indeed, any line of Python code) is conspicuously absent from the OPs question. Are you sure you didn't mean to answer a different question? — Wayne Werner 16 secs ago
 
@tristan don't forget the mountains brah.
 
@MorganThrapp Yeah, I'm gonna need you to get right on that...
 
user559633
3:46 PM
@Ffisegydd That is legitimately gorgeous.
 
@aBiologist what process?
 
user559633
Now send me a photo of a gorge so I can say that's "literally gorgeous"
 
That's Scafell Pike in the very background, tallest mountain in England I think. Doesn't look too big, but that sucker is 20km away from that point.
 
How about Verdon Gorge?
Or Vintar Gorge:
 
3:48 PM
@WayneWerner The iterations of the list of tuples
 
Well, I'm gorged on gorges now.
 
@aBiologist That's still a bit unclear. You mean you have N lists that contain M tuples, and for each of the N lists you want to do something?
geeze. That thing got downvoted into the ground
 
DSM
@QuestionC: to pick something almost at random, as late as the twentieth century they were still tweaking the relationship between the Commons and the Lords, and the importance of the sovereign has changed a lot over the last few centuries.
 
@WayneWerner Yes
 
@aBiologist Ah. Well, yeah - though you probably want multiprocessing if your issue is CPU bound
 
3:54 PM
@WayneWerner Sorry one list that contains M tuples like this one for instance [(('X', 'X', 'X'), ('200860', '207362', '215944'), (0.55, 0.277777778, 0.424242424), (0.504761905, 0.544303797, 0.593406593),.......(,...))]
 
I have no clue what your actual process looks like, but you can use multiprocessing to do the actual intensive part. It's possible that it will speed up your performance, but there's actual overhead to spawning the processes. Just make sure you actually know where your bottlenecks are (see pypi.python.org/pypi/line_profiler)
cabbage, @AnttiHaapala
 
trying to drink in an airport lounge.
it is so loud here that even this is difficult
 
user559633
No headphones?
 
no headphones.
 
user559633
3:59 PM
No airport store where they can be acquired?
 
I guess no :D
 
@WayneWerner What about multiprocessing.dummy?
 
I want to get back to the finnair lounge damnit
 

« first day (2182 days earlier)      last day (2775 days later) »