« first day (956 days earlier)      last day (4222 days later) » 

00:00
LOL
Well Moffat did some pretty good episodes thou, with Amy Pond and co.
like ANgels in Los ANgeles
I did enjoy the daleks take manhatten
and asylum of the daleks was pretty cool
I hate the whole concept of the Angels.
Yeah, but this new season was boring. There was no real relation between Clara and the Doctor
The first episode they were in was arguably fine, though not really a Doctor Who story.
00:04
although I have to admit, Clara is the prittiest companion of all time
:P
Every subsequent episode has made them less and less coherent.
So it is a shame
Leela was prettier.
I've still got a soft spot for Rose ;)
Clara is just another female character whose entire existence revolves around the dashing Doctor. Moffat can't write women.
00:04
@Cairnarvon the first angels episode was fantastic
with the back in time with a video
tape it was amazing
one of my all tome favourite episode
Romana I was probably my favourite companion.
She had a lot of damsel-in-distress stories, but at least she mostly had her act together.
Oh - @PeterVaro "Blink"? That was one of my favourite episodes. Sally Sparrow was a bit of alright too though ;)
yeeeeeeaaaaaahhhhhh!
:):):):)
Sweet Sally Sparrow
It was a perfect episode.
The very last scene, with all the shots of statues around London, was painfully corny, though.
@Cairnarvon completely unnecessary as well
00:10
And the idea that it's fine and romantic for a policeman to hit on random women who come to report things at the station is pretty problematic.
If not for Moffat's misogyny and homophobia and the fact that they shine through in every single one of his stories, I wouldn't mind him nearly as much.
Weird how that's problematic but the whole concept of the TARDIS etc... is fine ;)
It's problematic in that it's shitty, not in that it affects the suspension of disbelief.
Images of Angels becoming Angels is what affects the suspension of disbelief.
And somehow infecting Amy was a bit weird
And the mechanics of things disappearing when they fall through the cracks.
Moffat thinks "rule of cool" trumps any resemblance of narrative coherence.
I wonder if time travel just makes one a lazy writer. It doesn't quite work, but that's okay, we can fix this episode in a later one... kind of thing
00:15
Doctor Who has always had issues with how time travel works in its universe. The Time War is a giant mess.
The whole Time War is time-locked, and therefore there are no Time Lords anywhere anymore, even though they've been a race of time-travelling aliens for millions of years and have gone everywhen.
I have a lot of opinions on Doctor Who. Maybe I should get a Tumblr account.
And the daleks escaped to the void, and came back, and the master disguised himself and came back.... and the timelords came back.... then went...
and where the hell do the cybermen keep coming from ffs!
And Susan possibly still exists but "he hasn't checked".
and rose was irretrievable, except, actually, she wasn't
(Susan as in his granddaughter, in case you haven't watched any Hartnell episodes.)
yes, I saw one the other day ;)
Watched the film one, where he's not actually an alien, but rather a crazy professor
00:18
With Peter Cushing.
That's the one - thanks
The voices of the daleks really annoyed me in that one...
Those are both remakes of canon serials.
@Cairnarvon do a tumblr for this:):):)
And watched a few episodes of one where they go to a circus like thing to amuse some aliens, and they meet a woman that happens to be a werewolf of some sorts...
The first one is The Daleks and the second on is The Dalek Invasion of Earth.
Peter Cushing was asked to become the canon Doctor twice. I'm kind of sad he didn't.
Though the second time when turned it down Tom Baker got the job instead, and he was probably the best Doctor after Hartnell.
00:20
imdb.com/title/tt0562914 is the one I'm thinking of
dailymotion.com/playlists/user/matrixarchive/1 This guy has a lot of the older episodes.
I don't think I've ever seen a Sylvester McCoy episode.
I liked Baker - I also quite enjoyed him in the Randall and Hopkirk deceased remake
Other than the movie, where he gets killed almost immediately.
Tom Baker ended up marrying Romana II, though they got divorced and then she married Richard Dawkins.
Thanks for the DM link btw
The ones with the Daleks are mostly missing. I guess they patrol that brand with greater vigour.
00:23
I think I can get all of them on netflix anyway... And have a load in the loft somewhere
No Netflix here. I've been buying DVD box sets online, but most serials are only available as individual DVDs, and I don't have room for fifty years of individuals on my DVD rack.
Think there's some on hulu as well, but I have to proxy through a server in the US to get stuff from there...
Umm, I appear to be gaining rep. by chatting about dr who...
Guys, if this is working: ('this is a ''string') >>> 'this is a string' then why this isnt: s='this is a really long string'; (s[:10]s[-6:]) ?
@Cairnarvon you a red dwarf fan at all?
Never really watched it.
00:30
Trek/Babylon5/X-files etc...?
@PeterVaro don't quite get what you're doing?
@PeterVaro that kind of string concatenation happens at the parsing stage, not the execution stage.
I used to watch a lot of Star Trek, I guess. Mostly TNG and Voyager.
@Cairnarvon Oh.. but I'm thinking of these "expressions" as strings..
thanks, anyway
I really only watched it because I was told I was the nerdy type and my stereotype therefore demanded it.
like you can do this: {'a': some_func}['a']() and it will call the function
Yup - dictionary dispatch is a fairly nifty Python idiom
00:33
@PeterVaro Your first example doesn't work because only string literals have the implicit concatenation.
Normal strings need + to concatenate.
The implicit concatenation is done as a compile-time trick.
so it doesn't work for arbitrary strings.
wb @enginefree
user1786283
Thanks! Good to be back.
@Lattyware I know it doesnt work, that's why I asked:) OK, so this is a deeper problem:)
thanks
user1786283
@Lattyware I found a high-school software engineering internship at IBM!
Cool - I can't speak for such a thing, but Extreme Blue was incredible, and I know people who did normal placements during Uni and also enjoyed those, even if they are not quite as... free-form as EB was.
01:11
It's time to go to bed.. 3:11 in the morning:)
rhubarb for all
2:11 here, so good point - rhubarb!
02:11
Anyone here familiar with django? I'm trying to figure out if apps have specific admin pages (not just for accessing table values)
 
1 hour later…
03:33
I did not expect this to be so controversial as to gather 5 downvotes and 5 upvotes:
0
Q: meaning of 'largest technical community'

TshepangIt is said on Stack Exchange Company Page that the company is behind the largest technical community on the Internet. How was that determined?

 
4 hours later…
07:12
cabbage ya'all
Morning Cabbage Folks
@InbarRose do you have any experiences with Cython?
Not really.
ok, thanks
07:28
Anyone know Powershell?
0
Q: Powershell to connect to an exchange server and remove messages from the Queue

Inbar RoseI have Python code that is supposed to use Powershell to connect to an exchange server and remove messages from the Queue. (I am new to Powershell) I have found this which also led to this. Which basically says I should do: Remove-Message -Server SERVERNAME -Filter {FromAddress -like '*MATCH*'}...

cabbage
saw question, don't know powershell
07:45
cabbage
It's pretty annoying when you forget your keys
08:02
0
A: What is the implementation detail for enumerate?

Inbar RoseIt helps you know where things are.... l = ['apple', 'banana', 'cabbage'] for idx, item in enumerate(l): print "the item: %s, is at position %s" % (item, idx) >>> the item: apple, is at position 0 the item: banana, is at position 1 the item: cabbage, is at position 2 This helps in the f...

CABBAGES!
08:21
:D
cabbage!
 
1 hour later…
09:51
Cabbage all
hidey ho.
Thought I'd log on before going out, and get a few questions in - but there's not much point at the moment...
slow today
Unless you know powershell
And want to answer my question?
Well, I've rep capped for the today and I don't know powershell - but heck, could give it a go
@JonClements Capped at 11am... are you on a mission?
09:59
No - it's all from last night and my 2nd attempt at getting if any(i) and not any(i) accepted as an answer ;)
burning the midnight oil?
No, just a question that took 2 minutes to answer, and sparked quite some debate it appears (again)
Where i is the same iterable?
You looking for memory errors?
12
Q: How can I check that a list has one and only one True value?

Matthew ScoutenIn python, I have a list that should have one and only one true value. Is there a clever way to check for this? Right now, I am just iterating across the list and manually checking: def only1(l) true_found = False for v in l: if v and not true_found: true_found=True ...

Ah, where i is an iterator. Looks like almost everyone has had a go.
10:11
Well, this one got +29/-2 while the last time got +25/-4 ;)
Elegant solution. If I remember, I'll vote tomorrow
I like wim's slightly more verbose version
it makes it much easier to see why it works
seen_one = any(i)
seen_another = any(i)
return seen_one and not seen_another
@Lattyware: not posted on that question?
@MattH It's a comment on Jon's answer.
Oh, I didn't expand those
10:14
It's the exact same solution, just expanded out.
Yeah, I'm wondering whether to edit that in
@Lattyware: Yes :)
It's what I'd use in my code.
But that's just using variables names to expand it out, the underlying understanding of i isn't the same ii remains...
@JonClements: What was 1st attempt?
10:15
It does, but it gives a much bigger clue to the reader.
@JonClements: But Jon, it is the same i.
sorry, it is the same i but at a different point
i has been partially consumed.
I feel sorry for i, it must feel pretty confused: index, iterable, iterator
I tend to use the full word in my code for clarity.
10:19
The weight of all those expectations
the single letter variables are rejected out in the cold in my editor.
@MattH wow - such compassion for the letter ;)
@JonClements: Maybe a little empathy for the i you've so casually re-used may have earned you the accepted answer! Perhaps iterator = iter(iterable) would have avoided the scaring the locals..
I like that...
"Scaring the locals()"?
10:26
I've edited that in to the answer along with @Lattyware and Wim's suggestion
Haha, love that flagged chat post "javascript is outdated, we use jQuery" :)
XD
I love the fact it's in the PHP channel more.
Delicious irony.
is there a quicker way to check if string is hexadecimal value (without try: int(<string>, 16) ; except ValueError) than True if len(re.findall(r'[0-9a-fA-F]', <string>) else False?
Offensive..ly stupid, but I don't think that's against the rules
Use the try/except method.
That's the best method by a mile.
Oh, I think in this case almost anything is a mile better than using re, but I was wondering if some kind of int method is out there (eg, int.is_hex())
:)
10:33
If it existed, it would be on the string module
Umm, isn't your re wrong anyway - shouldn't it be pairs of chars, or are you just checking it's purely hex chars
@MattH fair point
@JonClements pairs of chars
There's string.hexdigits to get your chars
there is no better way of checking if you can make it an int than trying to make it one.
and do you think it is better than try/except?
@Lattyware :)
OK, thanks
10:35
Are you wanting to use it as hex?
no, checking it ->it is read from a config.json file
if not your_string.translate(None, string.hexdigits)
Heya @Volatility top of the cabbage to ya
def is_hex(s):
  return len(s) % 2 == 0 and re.match(r'^[0-9a-fA-F]+$',s) is not None
new greeting? ;)
Felt like a change
10:40
this is my case now:
I'm trying to work out why people are trying to construct their own parsers for hex numbers here, when a perfectly good one already exists in the stdlib.
//I have a lot of checkings, not just hex values
@Lattyware: who's parsing?
Umm, I might be tempted to re-work your function
def colors_check(name, hex_list):
    def hex_checker(val):
        try:
            int(val, 16)
            return True
        except ValueError as e:
            return False

    return map(hex_checker, hex_list)
@JonClements Now that's easier to read
10:44
or define _hex_checker() outside the function to avoid redefining it repeatedly (not that it's likely to matter much).
That last line should be: return hex_list and all(hex_checker(val) for val in hex_list)
@MattH Parsing is the easiest way to validate something, and it's always accurate.
def colors_check(name, hex_list):
    def hex_checker(val):
        try:
            int(val, 16)
            return True
        except ValueError as e:
            return False

    return hex_list and all(hex_checker(val) for val in hex_list)
@JonClements I always wondered if nested def is a good solution or not..
@Lattyware I don't disagree, but @JonClements and my "Looks like hex" suggestions were not parsers
10:46
True, I worded it poorly - you get what I mean though.
@PeterVaro nothing wrong with a nested def if it's of only use in the context of the function it's nested in
It's not performance-optimal, but 99.9% of the time that really doesn't matter.
In that case, thanks for your solution, I will check it action
:)
@PeterVaro I've assumed that an empty hex_list should be a false result, hence the return as I've done it, otherwise, if hex_list is empty, all will give you true
there is no empty hex_list, that's why there is JSONValidationError — because that means we are not "in the good place" in the recursive search
But I didn't copied that :P
sorry.
10:51
Side question.. will int(s,16) work with arbitrarily large values?
one more suggestion: it could be try: return int(val, 16)
extra True doesn't necessary
Python ints dynamically grow into BigNumber style implementations.
So they have no limits on how big they can get.
@PeterVaro yup- I was just keeping relatively close to your example code but showing a nested function - there's all sorts of ways of doing what you're doing ;)
@JonClements OK, thanks, anyway, it was fun:)
I have to go, brb
rhubarb
~
10:55
@PeterVaro your original approach would be all(re.match(r'([\da-f]{2})*$', hv, flags=re.I) for hv in hex_list)
r'([\da-fA-F]{2})*$'
but yes, thanks:)
No, there's flags=re.I
OH
nice
Ignorecase
nice one, thanks — I never used that:)
I really have to go now:)
It is toooooo difficult to leave this chat room..
rhubarb
~
10:57
rhubarb
11:16
is rhubarb the new cabbage
It appears to have become "goodbye"
ahh
do you think thinkcpy3(how to think like a computer scientist with python 3) would be a decent book to help me to think for myself a little bette
Cabbage and Rhubabr.. finally Salad is becoming a language! :)
can tomatoes be (F***)
@InbarRose I think having a Google Translate option for it would be more of a milestone.
11:33
tomatoes :(
@Inhale.Py No it doesn't work well
tomatoes
It is too long... and.. its plural
tomato can be B**** and then tomatoes can be B****'S :
Where did all these tomatoes come from?
Someone help get all these tomatoes off me :P
Stop being such a tomato.
Yeah - that works.
good read ^
and yeah your right Inbar that sounds much better
Perhaps "turnip" for f***?
No
It needs to be shorter
like.. Yam
Yam it.
Yam you.
You Yammer
Hey tomato, let's Yam!
11:37
lol
I don't give a yam what you think, tomato.
"beet", maybe?
beet you.
Sounds... wrong
So - I think it is great we are making words for Salad. But why don't we start with nicer words.
Like- Melon for thanks.
Watermelon for "your welcome"
dialogue would look like this:
A: Melon!
B: Watermelon.
A: No Watermelon.
B: No, no, Watermelon.
11:43
Perhaps "potato?" for "how are you going?"
"sprouts" might be "good"
"beans" might be "bad"
I like beans and I dislike sprouts thoughb
I like beans for bad.
Yeah... I am with inhale
Sprouts doesn't seem natural for "good"
banana.
Banana for good.
Definitely :)
A: Potato?
B: Banana!
C: Beans
A: Sorry to hear that C.
C: Melon.
A: Watermelon.
D: Cabbage!
B: Rhubarb
It looks like a language.
:D
Now we need a word for "sorry"
11:48
sprouts :P
sprouts to hear that
so whos going to document the dictionary
I am already doing it.
you gonna upload it to a specific website, maybe even make a wiki page so people understand its origins
:(
Yam malaysia.
Yamming Tomatoes the lot of them.
we should call the salad brigade and yam those tomatoes up hard
what can cucumber stand for(keep it clean)
"big banana" could be "very good"
"big beans" for the opposite
green banana very good, green bean very bad
11:58
Or maybe "ripe banana" for "very good" and "off beans" for "very bad"
why not black beans for very bad
or green
canned beans
fresh beans
holy jalapeno
I dont give a jalapeno about you

« first day (956 days earlier)      last day (4222 days later) »