« first day (1466 days earlier)      last day (3489 days later) » 
05:00 - 20:0020:00 - 23:00

5:26 AM
@GamesBrainiac what fuzy glass are we talking about? cbg
 
@tilaprimera Right click, and you'll see that the menu is slightly see through.
 
..
ohhh
 
5:47 AM
cbg
 
6:24 AM
Today I had a dream that my message in this chat got 42 stars. Seriously.
Cbg
 
Nice dream , even kevin never managed to get 42 stars on a chat. Though poke managed to nail 12 on teaching us the code formatting techniques..
 
Fizzy got 13 stars on his "sexually excited" message IIRC
Pfft. It was "exciting" not "excited" :D
 
6:46 AM
Damn straight it is sexually exciting
@Peter your lack of love for the lotr movies is making me reconsider our friendship D:
 
Through corporate voodoo, I now have office 2013
Also, cbg
 
goddamnit os x 10.10
 
@lime not a fan?
 
7:08 AM
@Ffisegydd i am, but nothing frickin works :)
 
Yeah I thought it looked quite nice, I'm going to wait for a few releases though to ensure all my apps work :p
 
green been here. what is the best way to deploy a simple django app which receives only few hundred hits a day?
 
Huh, "green been" was a nice choice for salad
 
we should add some more veg/fruits to salad to make it more tasty
 
I'm thinking green bean should replace nabbage
 
7:16 AM
why is the following returning an error?
 for sent in item.split() if sent not in ['#','*']:
SyntaxError: invalid syntax
 
A colon Is missing?
After split
 
damn i'm mixing up list comprehensions with nested for loops :(
 
are you trying this [sent for sent in item.split() if sent not in ['#','*']]?
 
yes but i had a for loop above it.. and there are different things do do hence using nested for.
 
Seen the latest awesome cod trailer?
 
7:24 AM
@PeterVaro that was referring to the line before it in chat :)
 
advanced warfare
?
 
Yep
 
seen it a month back
 
The one I linked was published 2 days ago
Lemme check..
 
the official was out quite some time back
 
7:29 AM
I am not sure I get you :( There are more than one official trailers
 
7:46 AM
Cbg :)
 
 
1 hour later…
8:59 AM
@MartijnPieters zca in ... java :D
		registry.registerAdapter(
			x -> "Converted to String via I2 interface from class " + x.getClass().getSimpleName(),
			I2.class,
                        String.class
                   );
I feel so perverted, neither Python nor Java folks will appreciate me :D - Python bc it is in Java, and Java folks bc I do not use XML or beans :D
 
cbg
@AnttiHaapala Oh dear...
 
but this is cool :D
it does search for the nearest possible interface to adapt from (but not to adapt to)
(yet)
 
9:39 AM
@AnttiHaapala is there any reputed source that you might know of that says word count displayed by microsoft office word isn't reliable?
and one more thing @AnttiHaapala , if u were in India , you would realize that bc does not mean "because" but it means something else
 
9:56 AM
Cbg!
 
@Swordy: You might want to look through here:
http://www.microsoft.com/en-us/search/SupportResults.aspx?q=%22word%20count%22
Add the keywords "footer", "header" and the like, as those are what usually confuse people in word counts.
 
stackoverflow.com/questions/26484631/… Too Broad. Kinda opinion based. Asking 3 questions in one question. Etc.
 
@Ffisegydd are you sure its 3??? i see if else statements under his apparent question .. If not this then what..
 
10:47 AM
So to recapitulate:

1) How to read all csv files into RAM, into one big dataframe?
2) How to concatenate all csv files to one dataframe and how to iterate over the stocks?
3) How to intervalize the data and discard all rows which are not close to seconds?
 
all of the answers are available on SO . he just needs to break them down and deal with the individual parts
he wants the entire thing to be done for him , ready made types
 
Whether they are or not I don't know, but he should be asking them in separate questions nonetheless.
 
copy-paste .. thats all he wants to do
 
@Swordy most of the people asking questions jsut want copy-paste, you shouldn't have a go at him for that.
"Let he without sin cast the first stone" and all that.
 
I think I'm going to have an ASAP fee
 
10:52 AM
Hah
 
Any time someone says that something needs to be done ASAP, I will charge them £100 on the spot
I will work for a week longer, then retire - richer than David Beckham
Belated cabbage by the way
Everyone looking forward to lunch?
 
Yes.
 
@IntrepidBrit yes after hearing from the to-be-richer-than-david-beckham man , I'd prefer having lunch that you provide..
 
Well, if I can pull it off - we're all off to Blackpool for some Fish 'n' chips on me :P
 
Only fish -n- chips from a billionaire??
 
11:00 AM
I'll be lobbying the government with the rest of my money. That's what the rich are supposed to do, right?
 
@Ffisegydd is our friendship that fragile? :(:(:(
@RobertGrant which was.. about js or something if I recall..? ;)
cbg(folks)
 
@Peter no our friendship is strong and true! But your crime is inconceivable...
 
ahh.. okay.. that makes sense :P
 
@PeterVaro why not join clash of clans and loot some villages?? after the end of ur friendship with ffisegydd , that will be a nice way to beat down the loneliness blues.. you me and @Jerry will loot villages together..
 
is that a game or something?
 
11:09 AM
Nope. He's just a genocidal maniac
 
hmm.. I don't like games :(
I mean.. except Super Mario, Worms 2, Red Alert 95, The Neverhood, Quake 3..
 
.. means the list continues
and it wouldn't be nice to generalize the fact that u hate games based on the information that u like so many games (the list continues)
 
nah.. that's all actually
I put the ".." there because I was thinking about more
but nope, I think that's all I like
 
11:26 AM
I love games. Don't have the time to play though
 
11:45 AM
6
Q: Is it okay to write a post on a main site as a result of chatroom jokes, or is that considered abusive?

Infinite RecursionThe situation: A post appeared on one of the SE sites in all-caps shouting HOW DO I TURN OFF CAPS LOCK?. Chat users generally try to help salvage such shouting posts on the SE network, whenever they are reported. I too, went to take a look and attempt to salvage it. It was a self-answered post...

 
stackoverflow.com/questions/26485044/… OP was confused by the L in integers.
 
Cabbage.
 
12:01 PM
cabbage @poke
 
best close vote description ever.
 
Is Pythonista the name of some IDE I've never heard of, or is he just confusing the name of the language with the name of the language enthusiasts?
 
The latter I think
 
@Kevin I think they confuse it with 'pythonic'.
 
Hmm, that's possible.
 
stackoverflow.com/q/26486348/3005188 I feel like I should edit out "Please tell me the solution ,thanks in advance" as well but then I will literally have removed all of their text that isn't code...
Incidentally, on the above.
 
12:25 PM
@Kevin It is what I should use threading library! But the way I did can be considered parallel? — user3448245 2 mins ago
Not sure what he means by that first sentence. This is in reply to me saying "don't use threading, use multiprocessing"
Is he trying to say, "I have to use threading because my boss/instructor told me so"?
 
I don't have any experience with parallel programming but from what I've heard numpy will beat it even if he gets a decent implementation.
 
numpy is really great and does all things, so this does not surprise me.
Mystery solved.
@Kevin So thank you! If my teacher said to use this library is because he does not want a lot of improvement in time! — user3448245 51 secs ago
On the other hand, while this comment implies that his teacher is making him use the library, since the whole thing is in an "if", it could be purely hypothetical.
"If my Plutonian overlord whips me, it's because they want me to work harder" does not necessarily imply the existence of real Plutonians.
 
stackoverflow.com/questions/26485464/… – I need a py3 gold badge…
 
Voted a while ago.
 
12:48 PM
@poke how does closing get you one?
 
It doesn’t.
But I wouldn’t have to ask if I had one
 
It is suddenly weird to me that a device for viewing images broadcast from far away would be called a "television". Considering "vision" means "the ability of sight" or "an object perceived visually", "television" should either be the ability granted to people by the device, or the image displayed by the device; but not the device itself.
I propose we change the name to "televisor". Anybody opposed?
No? Ok good, that's settled.
 
1:08 PM
slams fist on table Nay, verily! English is not meant to be standardised! That route is madness!
 
Pip, pip!
 
There is a similar problem with "radio". I see a lot of confusion here between a device and the medium it transmits on.
Interestingly, I have discovered that "televisor" is already taken. It's a device used to transmit low resolution images of scary dolls.
Just as well, "visor" implies that it blocks transmission more than it facilitates.
Fine, "television" may stay. However, in the name of consistency, I propose that "X-ray machine" be changed to "X-ray vision"
 
You are lazy anyway.
Can’t type umlauts, so let’s call “Röntgen” just “X” instead.
 
I tried seeking a support group for my laziness, but it seems no one has bothered to form one.
(this is only half a joke, I literally did try googling it last weekend)
 
@Kevin (on a serious note, I favour Aliavision instead of Television)
(Since apparently having words with hybrid roots is bad)
 
1:19 PM
Or tele-[whatever is the greek root for sight goes here]
 
όραση - according to Google Translate
 
Can I get that in ASCII?
 
opaRHOnthing
I think it is
 
/hórasis/, apparently
 
God damnit @Kevin. Way to make me feel even lazier than you
 
1:23 PM
I think I still win at laziness. You used your brain to translate symbols into meaning, I just pasted into wikipedia's search bar.
 
Since when did "opaRHOnthing" constitute anything approximating the word: meaning?
 
In the sense that the pronunciation of a letter constitutes its meaning. A bit of a stretch on my part, I admit.
hmm, I'm not too crazy about "telehorasis". It really needs a harder consonant after "tele" to have good cadence.
 
Zs. Everyone likes Zs
 
heh, anttipatterns.
 
I trusted Obama, there you go Kevin.
 
:-)
 
how do I make my site gud?
 
user559633
what do you guys use for service discovery in your environments?
 
2:06 PM
I am not familiar with the term.
 
user559633
like apache zookeeper
 
@Kevin including the syntax error?
 
The syntax error was in the original source, so leaving it in seems reasonable
 
nah, it looks like it was indented in the original, and someone didn't indent everything in the edit
I accepted+improved
 
2:15 PM
Oh yeah. Good eye.
I meant, leave in the list words ="'He came," syntax error, not the bad indentation syntax error
 
^ Glad you saw it yourself :P
 
:-]
 
@poke oh :)
This room is quiet today. Or have I been banished to somewhere that just looks like the sopython room?
 
you can bring in juicy stories ;)
 
I was going to give the OP the benefit of the doubt, and just assumed that he thought all whitespace anywhere was ignored, but then he did 1.extend so I think he's playing games with us
 
2:18 PM
WE COULD ALL SHOUT INSTEAD?
 
@tristan I read the front page of zookeeper and I still can't figure out what it's for
 
Me reading zookeeper's wikipedia article: "mm hmm, mm hmm. I know some of these words."
 
@poke COULD YOU SPEAK UP, PLEASE?
 
My head was actually pointing up when I was writing it.
 
My messages aren't in caps, but I assure you, I'm shouting each word as I type it.
 
2:29 PM
Guys
Cut it out. I've got a headache
Just talk quietly alright?
 
user559633
@davidism distributed locking/etc. say you have billing servers and you want to be sure that one (and at most one) runs the monthly billing
 
Asparagus please! What's going on here...

TRUE = lambda a: lambda b: (a)
(TRUE)(True)(False) == True
 
Shenenigans.
That's what's going on there.
 
shenenigans?
 
user559633
@MartijnPieters stop trolling the poor boy. @ChillarAnand that's how you get performance out of python
 
2:39 PM
Noun: shenanigans (plural only)
  1. Mischievous play, especially by children.
  2. Deceitful trick(s); trickery, games.
@tristan: thank you for your helpful demonstration.
 
Looks a little bit like church encoding. TRUE(a)(b) always evaluates to a.
 
hows that?
 
user559633
Python's dictionary function is really bad at hashing (which is why it always takes O(n) time) and Python's lists are mutable and slow (thanks to problems with C), so you should always use tuples. And if you can, only use lambdas and tuples so you don't create a wasteful variable.
 
Presumably there's an accompanying FALSE such that FALSE(a)(b) always evaluates to b.
This is useful for forming logical constructions resembling a ternary operator. SOMEVALUE(a)(b) evaluates to a if SOMEVALUE is TRUE, and evaluates to b if SOMEVALUE is FALSE.
 
@Kevin but how is that evaluating? is a, b are replaced in lambda definition?
 
2:42 PM
In the same way that expr ? a : b works in languages that support "?"
@ChillarAnand Yeah, sure.
 
then it becomes lambda True: lambda False: (True)?
 
@tristan although I agree with you, on using tuples whenever it is possible -- I don't think a list can be made any faster than it is implemented
 
er, well, you don't replace them in the letters just after the word lambda
During replacement, you just remove the lambda part entirely. (lambda a: lambda b: (a))(True)(False) becomes (lambda b: (True))(False), which then becomes (True)
 
looks like i got lambda pretty wrong
i thought, if a = lambda x: (x+1), then to evalute a(1), i will replace x with 1?
 
user559633
@PeterVaro I was totally kidding. Lists go to C and I've found very small performance improvements when going to tuples.
 
DSM
2:53 PM
Cabbage, all.
 
user559633
cbg @DSM
 
@ChillarAnand Yeah, (lambda x: x+1)(1) becomes 1+1
 
It doesn't become lambda 1: 1+1, that wouldn't really make sense
 
@Kevin lol, i was thinking like that only lambda 1: 1+1
 
user559633
2:57 PM
>>> (lambda x: x + " adding to the string")("i am")
'i am adding to the string'

might help
 
user559633
take care all
 
“I've developed a basic Web browser in python” – “ I am a newbie in python”
That seems conflicting.
I wouldn’t know how to build even a basic web browser in Python, and I don’t consider myself a newbie in Python…
 
Arguably, a basic webbrowser could be to visit a web-page, then pull the source and ignore all formatting and display the result to the end user...
 
He means he used the webkit widget from qt
 
3:04 PM
meh.
@vaultah “Unclear and too broad. Srry.” – Sorry, not sorry.
 
Eh?
 
"Sorry, not sorry" is an idiomatic term meaning "I'm apologizing, but I don't actually feel any shame or remorse"
 
Ah
 
i.e. why are you sorry for that person when they are the one asking a bad question?
 
I felt I needed to make fun of "Thnks". I'm not good at joking :(
 
3:07 PM
Oh
 
@Kevin @tristan melon... got it :)
 
wat
 
or not
 
Is there any function I can use to replace filter(lambda x: x, lst)?
 
filter(bool, lst)?
 
3:17 PM
Thanks!
 
Hey everybody
I was just wondering if Python's (2.7.x) standard JSON library supports parsing multidimensional array fields i.e. {"hello": [["hello", "world"],["!"]]}?
 
@Ivan0x32 have you tried it?
 
Yeah I've tried and it appears not to be working.
 
>>> json.loads('{"hello": [["hello", "world"],["!"]]}')
{'hello': [['hello', 'world'], ['!']]}
 
@poke In Python 2.7, you can even do filter(None, list)
 
3:22 PM
It works for me on 3.4.x, I don't seem to recall it being different for 2.7.x.
 
@thefourtheye I think the None works in 3 too
> If function is None, the identity function is assumed, that is, all elements of iterable that are false are removed. (docs)
 
I'll double check I guess then.
 
@poke Cool, never tried in 3.x :(
 
I totally forgot about filter(None
 
Since filter returns a generator, it’s a bit less used there anyway.
len('None') == len('bool') so I don’t care :P
 
3:25 PM
I completely stopped using map, filter and reduce
 
I still use them when it makes sense
and when they have a benefit over generator expressions.
 
But I use them extensively in JS tag
 
i.e. I’ll still use map(foobar, someIterable) over (foobar(x) for x in someIterable)
 
Why not a LC?
 
Unless I actually need a list, I’m not going to allocate the memory for it.
 
3:27 PM
http://pastebin.com/UZsi2qMv - error
http://pastebin.com/NcAzAz6H - code
http://pastebin.com/TA7FU1GS - data
 
Oh, 3.x... Okay
 
Makes no sense to me to be honest, I'm a python newbie tho
 
Typo errors.
Commas missing, and brackets instead of braces
 
@Ivan0x32 The data is ending in the middle of a value.
Look at the bottom of the data.
@Ivan0x32 Also json.load(…) return None is a bit useless. – “Load the data, and then throw it away.”
 
Oh yeah, I see now, its probably due to the fact that I was writing it there and loading from same handle or something like that, it was deleting some of it from file. Yeah I'm just testing right now. Anyways, thank you very much!
 
3:38 PM
Either too broad or a solicitation for a tool.
It was one of the astroturfer targets.
Very rich:
-56
A: Info: Contacted by a spammers (Ispirer Systems) referencing Stack Overflow

Ispirer SQLWaysWe would like to comment on behalf of the company. There are several questions on this website, the possible solution to which can be the use of our tool. Our answers were always deleted by the site administration, despite of the fact that they contained useful information for the SO users. Th...

 
If there wasn’t that “Give me some syntax?”, I would have said OT to ServerFault…
 
mgilson is in Google, it seems... :)
 
The Astroturfer tries to justify themselves. Witness the damning proof that Brad delivers on that answer though.
@thefourtheye mgilson works at Google, yes.
 
DSM
That was about when we lost him. :-) All we can do is envy his flying car and gold guardian lions, and wish him the best.
 
Read the title for this one: stackoverflow.com/questions/26326958/…
I thought the obvious answer would be "a very large hammer"
 
4:02 PM
We need a “too easy; doesn’t deserve an answer” close vote…
 
@Martijn Are you sure it’s spam? I can’t read a word!
 
@poke 100% Google translate it.
Watch Manchester City and CSKA Moscow Live 21/10/2014 in arabic.
over and over and over again, nothing else in that post but that plus the link.
 
hm
 
gone anyway now.
 
DSM
4:06 PM
That's exactly what I did too. :-) There are some languages I can't speak but can still read the script for, but Arabic isn't one of 'em..
 
Wow, I wonder what made him think that removing colons was a good idea there… stackoverflow.com/posts/26491156/revisions
 
4:32 PM
Maybe he wanted to delete the space between the colon and the expression preceding it, but deleted one too many characters.
And then he did it again.
 
DSM
"M" starts both "male" and "mother"; "F" starts both "female" and "father". This is unfortunate. #deepthoughts
 
These trick shots are crazy
 
Cbg(**users).
 
@Iplodman *users?!?
 
@thefourtheye Wouldn't both work?
 
4:35 PM
What would be the values of users then?
 
I haven't done kwargs in a while.
Let me do some experimenting.
 
@thefourtheye *args is right, my mistake ;)
 
removed
 
4:56 PM
I wonder what the htttp protocol is?
 
It's one better than http.
 
DSM
The extra "T" stands for "Trill".
 
>>> 'http' < 'htttp'
True
 
Remember, the Internet is a series of tubes. To be more accurate, the protocol is now HyperText Tubular Transport Protocol.
 
Ye gawds! How can you all be right?!
 
DSM
4:59 PM
We're holding in a superposition of mutual correctness. As long as nobody opens the box, we're all good.
 
quantum thingummies. Allows for multiple right answers in superposition.
Ahaha. And there's the quantum explanation.
 
cv-pls even more now based on comment
 
HAHAHA
His conf file has 127.0.1.1
 
DSM
?
 
yeah, for some reason ubuntu does that now
I pointed it out to him
 
DSM
5:02 PM
Well, I guess it's all loopback'd.
 
I see this account around a lot on Flask and SQLAlchemy, he is not a very good poster.
well, I answered it, it was that typo, so you can still close it
 
If only I could close. So why is Ubuntu doing that these days?
There's got to be some reason for it (and why have none of my Ubuntu servers got 127.0.1.1 lines?)
 
No idea, I just noticed it was the same on a machine at work.
 
DSM
Some googling suggests it's a workaround for some GNOME bug (see here).
 
5:13 PM
I used to think that >1k was a good indicator of quality, but I realize that's less true every day.
 
DSM
I was thinking the same thing myself, and browsing through previous questions and answers to see if there was something I was missing.
 
I still don't get how someone could spend enough time to get that and not realize that's a bad question.
@DSM good link, I don't know much about the networking side of things
 
If you're primarily interested in getting an answer and not in the health of the community, then there's no problem asking bad questions as long as a fast gunner gives you teh codes before the post is closed.
 
Probably a significant majority of the population?
 
A rational and selfish user would ask questions juuuust barely acceptable enough to avoid a question ban
 
5:17 PM
@DSM Cheers for finding that
 
@MartijnPieters I heard that somewhere in the interwebs exists 1 document that explains multiadapters in detail, with some graphs, do you by any happenstance know it
 
5:46 PM
@davidism Sometimes, all it takes is a new technology and a simple question nobody asked before.
 
this is just brilliant: imgur.com/gallery/ZpgQz
4
@Ffisegydd I recommend this especially for you, to make our friendship stronger and let's move on with that LOTR incident.. ;)
 
How do I store the output of message.get_payload as a string? I keep creating Message instances when I try to assign it to a variable
I want to do some work with the text that the message contains
 
str(message.get_payload)?
 
I thought I tried that yesterday - that works
str() and repr() or something
 
@ChillarAnand If you don't actually call the method, that just turns the method object itself into a string, which will look like '<bound method Message.get_payload of <__main__.Message instance at 0x000002342>>'
@Bert I'm confused. If the thing you tried yesterday works, then why are you asking about it today?
 
6:18 PM
> Results.insert(lambda [x][3],result[x][1] + result[x][2])
Wat?
 
Invalid syntax.
 
Yeah, I thought so ^
 
My psychic debugging powers say, "he wants the last element of each inner list to be dynamically updated whenever one of the other two elements updates. So Results[0][2] = 100 should make Results[0][3] become 120 without having to manually update it"
 
Impressive :D
 
If he did for x in range(len(Results)): Results[x].append(lambda x=x: Results[x][1]+Results[x][2]), then it almost gets what he wants... But he'd have to call the third element to view it: print Results[0][3]()
To get the desired behavior without the paren at the end, he'd have to make a subclass of list, overriding getitem to invoke his special behavior whenever the user uses 3 as an index.
 
6:24 PM
@Kevin or a custom list with an over-ridden __getitem__ :)
 
Precisely.
Probably the right way to do this is use a class with attributes for the first three items, and a @property method for the last thing that combines the two numeric values.
Maybe I should write an actual post...
Oh, his teacher is forcing him to use a technique that is unnecessary for the task at hand. Suddenly I don't feel like bothering.
 
Another "do this in a completely non-Pythonic way lesson" - I feel strangely unsurprised
 
I think there's two possibilities.
1) some aspect of the problem really does require lambdas, but the teacher can't clearly express the project requirements.
2) The problem can easily be solved without lambdas, but the week 3 lesson plan has lambdas, so if you don't use any today, you're getting an F and that's final.
In either case, I have little sympathy for the teacher.
Feeling quite grumpy today... After working on a mysterious bug for a week and a half, it suddenly stopped being broken today, despite us not checking in any new code.
The boss said that the remote database administration team is responsible. Unfortunately, their only explanation was "we fixed it"
Not a useful diagnosis, especially since this problem seems to reoccur every four months or so. I'm going to go through another week and a half of misery in February, I just know it
And "call the DBAs and ask them to do what they did last time" is not a replicatable solution. That's what we did four months ago, and it didn't work this time.
 
6:51 PM
sounds like fun
I'll swap that for the project I'm migrating though
 
That's a drawback of working for BigCorp. If you get mad at the DBAs, you can't walk down the hallway and kick them in the rear. You have to drive a hundred miles to do it.
 
I could tolerate going to London, but wouldn't be happy doing NY/Singapore for a "quick trip"
as in... that's 35 mins on the high speed train and a 5 minute walk for central London, as opposed to 6-10 hours flight
 
mm hmm
 
7:13 PM
You joining the Civ:BE crew this Sunday?
 
Nah, strategy games give me anxiety. I think I get too attached to the little soldier mans. Can't let any of them die.
 
7:37 PM
Cabbage again.
 
cbg again
 
@Kevin Reluctantly stars up
 
Do as thou wilt
 
@JonClements How was yer' dinner last night?
 
@Iplodman great - thanks for asking
 
7:39 PM
No problem, I know you're an avid cook :P
 
avid is probably taking it a little far :)
 
Well, you cook almost every night, so I'd class that as avid at least.
 
I tend more to think of it as a requirement for survival, but okay :)
 
You can live on prepackaged food alone. (If you call that living!)
 
Hm, using a lambda function to check kwargs. All I need now is to make it into the python-features-trifecta with a generator!
@JonClements But you're good at it (I think)!
 
7:44 PM
He's employing survival requirement #2 right now: modesty.
 
@Kevin I'm employing the third and sixty fourth: complimenting and ASCII form of that unicode smile you love.
 
If he said "LOOK UPON MY TIRAMISU, YE MIGHTY, AND DESPAIR", then we'd grumble about it
 
True.
Damn. I lost my homework sheet. I guess that's a detention for me.
Perhaps lambdas don't work as I think they do. tree1 = lambda: True if (kwargs["hair_colour"] == "brown" or "blonde") and (kwargs["eye_colour"] == "blue") else False has a True value even if kwargs["eye_colour"] equals to purple or something.
 
7:59 PM
kwargs["hair_colour"] == "brown" or "blonde". This is the problem.
 
05:00 - 20:0020:00 - 23:00

« first day (1466 days earlier)      last day (3489 days later) »