« first day (1152 days earlier)      last day (4021 days later) » 

"Today is a special day! It won't happen again!" - Every single day will never happen again, so what? XD
There's no U in my Yewnited States of America!
@aIKid you haven't seen Groundhog Day then...
@Kevin shouldn't that be ztatez ? :)
@JonClements Googling..
Un film?
Once-in-a-lifetime date coincidences happen quite frequently. I think just recently we had a date that was a prime number when written in either format.
We won't have that for quite a while, as the next two years are divisible by 2 and 5 respectively
16:02
@Kevin When was that?
Coding challenge: find all dates that occurred this year, that are prime when written as DDMMYYYY
@AshishNitinPatil you going to create a wiki for it at least? stackoverflow.com/edit-tag-wiki/98841
Need help creating wiki info for the new tag
@JonClements yes
Still not 100% sure what the rules are on that...
16:04
This is how I put up the excerpt
It is a syntactic-sugar in Python wherein one can do multiple assignments (or declarations) in a single statement.
It's not Python specific though...
@AshishNitinPatil Hum...
Exactly...
@JonClements oh
Perhaps we should generalize it.
What all languages support such statements?
We could give a few big names in the wiki.
16:06
Javascript does.
What should be the excerpt then? Instead of "Python" should I just say "few programming languages"? Or be more specific?
It should be general... there appears to be quite a few questions that could do with that tag
Umm.... the tag edit privilege is gone now isn't it ?
Didn't we use to be able to re-tag questions without suggesting an edit?
Yup. 20K == trusted user
It is a "syntactic-sugar" in Python & JavaScript wherein one can do multiple assignments (or declarations) in a single statement.
I suppose good-for-now?!
Except you can do it in C++/similar where the types are already defined: int a, b; a = b = 0 etc...
Zzz
I forgot that.
16:11
Although I think in the C++ world you'd generally be shot for that
So it's possible, just not good practice... RAII and all that
But, isn't there a difference between multiple-assignment & multiple-declaration?
@JonClements Same in JS
@AshishNitinPatil Hahaha
probably yeah
So, I think, I created a wrong tag by mistake :P
It's okay - just remove it from the question
All right!
I finally got my blog working guys!
16:13
@Games woo hooo
But, then I would have to create another tag -
Please check it out :D
I made a post on fabric
@Ashish LOL - you got yourself into this :)
and code highlighting works too
all hosted on github
I am putting this up on meta. I hope for some professional shooting over there I guess.
@GamesBrainiac nice work!
Just one error, "indentation is wrong" on the first post.
Fabric entry creation.
16:16
@GamesBrainiac Wow! I finally got to see your true identity!
Hahahah XD
@AshishNitinPatil I fixed that actually. But it will take time for github to update the page
@aIKid lol, hopefully I don't look too bad :P
@GamesBrainiac Hahaha
One more suggestion though, IMO you shouldn't put up the StackOverflow reference, just the flair is enough :)
Btw, I would like to know how you accomplished it actually. Looking forward to your blog-posts. :)
Ok, I really don't want to sound all gung-ho on you, but there is more minor error.
reading fantasy books.Often the space after the full-stop.
@AshishNitinPatil Hmm, you're probably right, but I like to see a clear distinction, I guess.
@AshishNitinPatil Ahh, thanks for that. this is what happens when you don't use multiline strings :P
@GamesBrainiac :)
16:21
@AshishNitinPatil You're such a caring person.. even the slightest detail! Lol
but yea, i fixed that too
:P
But, its gna take some time to update
@aIKid No, not caring as much as someone with a CDO :|
hey guys
@hanleyhansen Yo!
And I made the site using Pelican
16:22
Looking it up. Thanks.
pelican looks interesting
Where we can find you "lurking" :)
@AshishNitinPatil Take a look now, things should be fixed
16:23
You're absolutely right! :D
And I don't see any pictures of rabbits and cats - I'm disappointed
@JonClements Hey, that's still his! You should create your own :))
Oh wait... this is meant to be a useful blog... darn it... I'll need to go elsewhere for rabbit and cat pictures
What should my meta post be? Title? (for the new tags?)
@AshishNitinPatil Uhm..
16:25
@AshishNitinPatil meta post?
@JonClements Asking about the new tags
For the tag creation
And further help on it
Better be safe than sure. :P
Just say what you're proposing... and you'll probably get a lot of people saying it isn't necessary
Guys do the feeds work?
The room feeds?
16:28
nope, the ones on my blog
@GamesBrainiac feeding me? I'm hungry
Oh.
Btw @Games, the look & feel of the blog is pretty awesome.
@AshishNitinPatil Thanks, glad you like it! :D
@AshishNitinPatil Yep.
yeah cool design
16:29
Where are the feeds?
I think i want to update my blog too
It's feeling too childish now.
@aikid I prefered the first version - it mentioned puppies: blog.sopython.com
Same here. I just did. But, it's not that pretty or advanced. Just some random good template.
@JonClements You're never gonna let that one die, are ya?
16:30
@Games puppies are forever :)
not just for christmas
I wrote a super_memoized decorator function that remembers the results of previous calls to a function, even between different executions of the script. I wanted to avoid computing all the prime numbers up to 3.1 million each time. But it turns out, unpickling 21 megs of numbers takes about as much time as calculating them in the first place.
I've completely butchered a phrase there, but anyways...
lol @Kevin
hard luck
@Kevin did you use a binary pickle?
I dunno, so probably not
16:32
The text based one is remarkably inefficient
@AshishNitinPatil Nice, I used to have a blogspot too, back when it was simple :P
Ah, I see, I need to supply a protocol argument. I'll try that.
Hello
@MrE greetings and salutations
@JonClements They don't seem to be linked on the index, working on that right now :)
16:34
That halved the file size, but didn't noticeably change the execution time. Still good to know, though
Greetings! The numpy and scipy docs pages...does anyone else find these take forever to load? They need to sort out some caching on the site...
@Kevin Kevin my man! :D
Cabbage! :D
Hi @GamesBrainiac
@MrE yes... very annoying... sometimes they even just timeout :(
@kevin did you use cpickle?
Or just pickle?
16:36
pickle
cpickle is way faster than pickle
You should try that.
@JonClements I wonder if they'd be open to someone offering to help with some caching solution
Let's see
That makes load slower but dump faster. Tradeoffs, tradeoffs everywhere
@Kevin I sometimes cheat and just use redis as a semi-permenant store
Maybe I could stuff the is_prime list into a bitfield and just write it to the file manually... Not that it matters, as my program is finished. This year, there were 17 dates that are prime when viewed as DDMMYYYY or MMDDYYYY. The most recent being Dec 07.
16:42
@Kevin Good find.
@Kevin oh... if it was for that... I'd just use sagenb.org
That sign-in page needs more screenshots and colorful buttons. I'm not feeling too encouraged to register
Yeah... but it's cloud based and has a is_prime function
Maybe add some superfluous CSS that tweens and twiddles and wibbles elements as I scroll down
It's all about the sparkly stuff hey
16:45
You got it :-)
I hate the sparkly stuff creation. Annoying. Plus, not required at all.
Ok, nix the sparkles, but seriously add some screenshots
Today I am trying to embed an interactive prompt into my program. code seems to be the appropriate module for this.
Oh, sorry if that came off as rude, but that's just my personal opinion.
Haha, well, you're not wrong :-)
Since I like the back-end more than the front. :)
16:51
Same. My front end designs tend to be black text on white background
Lol. Even I used to do that. But then, I grew a liking for Orange/Green on Black :D
Is it okay to go on editing posts to add a new tag? Or that isn't required?
That's fine, if it's useful to tag the question with that tag
cbg ya'll!
cabbage Dawg
There's something skeptical about this stackoverflow.com/questions/20525330/…
17:04
cbg @KDawG
Is he trying something bad?
or malicious?
Most likely. But we can't be sure.
There are black-hat crackers, but there are also white-hat hackers :)
As it so happens, my new tag was deleted by a Mod :|
what was the tag?
So, no luck with the wiki & the excerpt.
BTW can you make tags?
17:09
Basically for this question - stackoverflow.com/questions/20523387/…
@KDawG Yes, if your repo is above 1500, you can create a tag while editing tags for a question.
I would have preferred 'multiple-target assignment', but on another hand, it might be too focused. I personally see it as a subset of variable declaration, and maybe a little too small on its own tag, but that's just me!
I see, I agree with the Mod also, it's not just python that uses multiple-assignment.
Hang on guys.. Wanna ask something
You know how to use the timeit module right?
I know somewhat.
Wait a second..
17:20
From the cmd-line or by import?
by import
or the same thing
What i want to ask is the return value of timeit.timeit
How big is the code you want to time?
@AshishNitinPatil Small, but that's not the point.
@aIKid I suggest your trying to beef up stackoverflow.com/a/20525681/2425215
:)
BTW I don't no the usage of timeit so I went the manual way... :D
I get it, so your question @aIKid?
17:23
If i execute it a million times (number=1000) then, it should return the average of time needed, or all of the execution time?
Or the best result?
look who's trying to shine stackoverflow.com/a/20525722/2425215 +1 @JonClements
> This executes the setup statement once, and then returns the time it takes to execute the main statement a number of times, measured in seconds as a float.
@Kevin Read that already, but didn't really understand.
So the total?
Yes.
If you want average, you should divide the result by the number of times executed
ah
okay
17:26
@KDawG I started out with an ast.NodeTransformer and then realised it was probably massively overkill
@JonClements I'm like brainyammed right now :p
Yup, overkill @Jon
BTW I don't see any connection with a NodeTransformer and stackoverflow.com/questions/20524146/…
Well.... parse the code into an AST, then transform the strings, and spit out amended code... but then since we're not doing something massively complicated - just needed to identify strings... i thought tokenize was easier
@JonClements real brainy ;)
TBH I have no idea what NodeTransformer or tokenize is... :p
so let's ask cleverbot....
17:36
Just nod sagely and no-one needs to know :)
Ahh yes.... cleverbot... the knower of all...
Had a rough time interrogating it alright ;)
Me: Whats NodeTransformer.
Cleverbot: A band, of metal.
Me: Whats NodeTransformer?
Cleverbot: A family.
Me: Whats NodeTransformer?
Cleverbot: An alien.
Not so clever
I think it's trying to act dumb so it doesn't give away secrets.... start extracting toe nails or something
exactly..
lol can't believe that question didn't get flagged :P
The question is nothing as compared to this answer - meta.stackoverflow.com/a/210452/238020
@AshishNitinPatil It was generated thanks to : stackapps.com/questions/306/…
I know :) Looking at that only.
@AshishNitinPatil Unfortunately the app doesn't work :(
17:56
@KDawG It worked for me!
I've always wondered about this room's description
Productive cabbage?
@AshishNitinPatil yeah Looks like I was following the instructions wrong
@KDawG If you want just words, use your meta profile rather than SO.
@AshishNitinPatil I don't have a meta profile
BTW it already produces hilarious results :D
Hmm, is sopython.org down or is it just me?
Ahhh, ok
Avocado!
user559633
ugh
had me worried there!
18:01
Sorry... I was in a hurry.
wow... I actually thought that on the meta posts was a mockup... not an actual proposal
can't believe the Director of IT at Stack Exchange. has 1000 rep meta.stackoverflow.com/users/170555/peter-grace
guess I'm more suitable for the job after all.... :p
Meh
or maybe not....
Imo meta rep measures nothing important
Even real SO rep isn't very indicative of whether someone is suited for a job :P
18:09
It's just a number
SO rep just specifies the amount of time you went out to solve other's questions or equivalently asked good questions giving the number of times you got stuck. In any case, you are NOT well-suited for a corp job. :P
We don't want that guy... he's awesome... but he spends all day answering questions... he won't get any real work done!
heya @code
howdy
18:13
@AshishNitinPatil agree :)
Happy Wednesday
@JonClements ;)
18:41
why is underscores sorting mechanism so weird?
javascript shenanigans
Aww, you really write elegant answers @JonClements
Oh thanks...
The izip part was particularly good. (stackoverflow.com/a/20527409/2689986)
There are occasional users, then there are regulars & then, we have Jon Skeet
18:55
Yeah... the SO legend :)
But, we have our favourite legend - Martijn - who I think is going to win this year :) stackoverflow.com/users?tab=Reputation&filter=year
The "robot" Martijn!! :P
(joke) I respect all users
Yup - a robot ninja :)
Think Robocop 3 :)
heya!!!! MArtijn is a legend also in a week stackoverflow.com/users?tab=Reputation&filter=week
user559633
Martijn blows my mind.
19:10
Well, as long as you have a lot of time in your hands, that's not really difficult
of course, you need to get decent answers on the boards as well xD
user559633
19:21
He's very fast. He knows that information
19:47
rhubarb all
rbrb @Ashish see you later
That recently deleted Python question demonstrates why you should read your error messages, and why you should provide actual code that reproduces the problem.
Bonus points for calling a dict "an array"
user559633
Hah. A dict is an associative array
we're all associative arrays at heart
Yes, but calling it anything but a dict is needlessly complicating things
urp. this question defines a function, GetChosenMonthLength, which always returns None
and all but three variables are PascalCased
user559633
19:58
meh. when i use ruby, i still use python terms
user559633
it's not needlessly complicating things if he just doesn't know better.
I am edgy and hopped up on caffeine, and all are naughty in my sight. Cower, mortals!

« first day (1152 days earlier)      last day (4021 days later) »