yeap the point is python caches small ints (till 256) and when you define an int it returns cached small int object so "is" comparasion passes but after 256 python creates new object and "is" failed, thanks to ahmet :)
- aydın
Extra credit, explain: p=1000; q=1000; p is q
- Rob Syme
Every code object has a tuple of constants. The LOAD_CONST opcode loads a constant from this tuple onto the VM stack. So every time 1000 occurs in the program text, it refers to the same object in the tuple of constants for that block. At an interactive interpreter, each line is its own block. You can put multiple simple statements in one statement with semi-colons, so here you've...
more...
- Jeremy Hylton
Its definitely missing the built-in aggregation stuff. I haven't heard them talk about adding those types of features but its only been public for a couple days so I reckon anything could happen.
- Paul J. Davis
Are Hilbert plots intuitive enough for a genomics paper? Blue are the genes on reference strain A, red is read coverage (of A) by strain B, green is read coverage by strain C. (http://en.wikipedia.org/wiki...)
I should have said "plots of Hilbert curves". The wp link has a good description. Used for visualising a long vector in 2d space. The take-home message of the figure is that genes are missing in 'chunks'. Do you think that this is apparent from the pic above?
- Rob Syme
I think the image indeed nicely slows blocks where something is 'wrong'... you mentioned the different colors for different strains... but looking at the random color distribution, I do not really understand how to read that bit... then again... those interesting 'blocks' do show a color tendency... is that what I should read from the plot?
- Egon Willighagen
Yep, you've got it. The different colours appear when more than one strain is present (blue + red => purple, green + blue => yellow, etc). Thanks for the feedback Egon. Much appreciated.
- Rob Syme
Pjotr Prins has suggested that people might like to give some talks via video. Make some noise on the mailing list if you want to join in - bioruby@lists.open-bio.org
- Rob Syme
Rob, cito:usesMethodIn or cito:disagreesWith ?
- Egon Willighagen
@Egon that's a good question. I was being a bit dramatic. The recent citations are pro, but they recognise the paper for what it is. Eg: "Glucose tolerance was estimated as the product of the areas under the curve (AUCs) for glucose and insulin calculated using the trapezoidal method (30), with higher AUCs indicative of reduced glucose tolerance"
- Rob Syme
Ack, taking that paper as a tutorial... that make sense.
- Egon Willighagen
The perfect gift for the genetics geek, genealogy buff, or science nerd that you know (or maybe just for yourself ;) - get 23andMe for $99 today and tomorrow using this discount code ($400 off regular price): UA3XJH (https://www.23andme.com/store...)
Dropping the base price to $99 requires us to collect additional revenue, unfortunately. Think of it as a $159 gift? with option to continue? We continuously update the content so there it's not a one-time value.
- Shirley Wu
@Shirley - sure, it is still a great gift.
- Pedro Beltrao
I think I may buy this as a christmas present for someone. I will be sure to point them towards the store page showing the full price.
- Michael Barton
@Rachel, there is a 1 year minimum at purchase but it can be canceled anytime thereafter
- Shirley Wu
Ordered mine, blogged and tweeted about it, and now pondering whether a Barcamp-style meeting makes sense once Genomes Unzipped allow data contribution. Sigh :-)
- Oliver Hofmann
also add ~$90 to the cost in case of international shipping
- Attila Csordas
Thanks Rob - it's been a seriously busy year for me helping advise these guys, but they worked really hard and deserved to be rewarded. Not a bad result for a n00b team.
- Andrew Perry
from Android
Do you know if any WA universities put a team together?
- Rob Syme
There haven't been any WA teams in the past, and I havent heard any plans, but the way iGEM teams pop up organically someone may be starting one for 2011 and we wouldn't know. I was surprised Oliver Rackham didn't initiate something when he returned to Australia - seems right in his area of interest.
- Andrew Perry
from Android
I've been pondering the same question, but I haven't thought of a good use for the second dimension. If latitude is ignored, would there be any advantage over indexing the position?
- Rob Syme
from Android
Actually: the MongoDB people would be really interested in working together with the bioinformatics community. Didn't have time to discuss this at length with them after my talk at MongoUK, but did promise to stay in touch about it. Putting this back on my todo-list.
- Jan Aerts
Very cool. I wonder what sort of performance gains might be made by storing genomic feature graphs (eg: http://gmod.org/wiki...) in a graph db like Neo4j. It might just be that the graphs aren't deep enough to warrant a shift from relational stores, but probably worth a look.
- Rob Syme
JVisualVM is a Java Virtual machine monitoring tool that allows you to see a live view of the Java memory, cpu and threads that are currently active. In this post, I'll look at how easy it is to profile Clojure code using JVisualVM.
- Rob Syme