Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
BioGeek on Is this ordered dictionary viable or am I making a mistake trying to index it? - http://www.reddit.com/r...
"Entirely correct, edited." - Jeroen Van Goey
BioGeek on Is this ordered dictionary viable or am I making a mistake trying to index it? - http://www.reddit.com/r...
"If you want an ordered dictionary, use [OrderedDict](https://docs.python.org/3...). You could start with a regular dict, and make an `OrderedDict` based on for example the name of the djinn: from collections import OrderedDict all_djinn = { 'Flint' : ['Venus', 100, 100, 100, 100], 'Granite' : ['Venus', 100, 100, 100, 100], 'Quartz' : ['Venus', 100, 100, 100, 100], 'Vine' : ['Venus', 100, 100, 100, 100], 'Sap' : ['Venus', 100, 100, 100, 100], 'Ground' : ['Venus', 100, 100, 100, 100], 'Bane' : ['Venus', 100, 100, 100, 100], } # sorted on the name of the djinn ordered_djinn = OrderedDict(sorted(all_djinn.items(), key=lambda t: t[0])) for djinn in ordered_djinn: print(djinn, ordered_djinn[djinn]) If you want them in the order as listed above you could also create them from a list of tuples. Then they stay in the order as they are inserted: from collections import OrderedDict ordered_djinn = OrderedDict([ ('Flint' , ['Venus', 100, 100, 100,..." - Jeroen Van Goey
BioGeek on "You’re not allowed bioinformatics anymore" -- Mick Watson - http://www.reddit.com/r...
"The main problem with Excel is that it: > auto-reformats the contents of cells it recognises as being of being a particular format. The most common examples are things that look like dates, i.e. ’09-10′ will be formatted as ’09-Oct’. What’s wrong with that you ask? It is a problem because it modifies the data: this example would become ’09/10/2012′. If you don’t notice it, there is no going back to the data you entered. [...] The problem is that many of these gene abbreviations look like dates to excel e.g. [MARCH1](http://www.genenames.org/cgi-bin...), [SEPT10](http://www.genenames.org/data...). These examples are changed to ’01-Mar’ and ’10-Sep’, respectively. ([source](http://dontuseexcel.wordpress.com/2013...)) As to why this doesn't scale: > A non-expert user might well fail to notice that approximately 3% of the identifiers on a microarray with tens of thousands of..." - Jeroen Van Goey
Getting Over Procrastination - http://www.newyorker.com/science...
Dit zijn onze vijf favoriete zomerlocaties in Gent - De Standaard - http://www.standaard.be/cnt...
Documentary Photography and Photojournalism: Still Images of a World in Motion | Writing and Humanistic Studies | MIT OpenCourseWare - http://ocw.mit.edu/courses...
Is Tourism Ruining Barcelona? - CityLab - http://www.citylab.com/work...
Just completed a 2.24 km run with @RunKeeper. Check it out! http://runkeeper.com/user... #RunKeeper
Just completed a 2.25 km run - Geslaagd loopje met Saar http://runkeeper.com/user... #RunKeeper
Just completed a 4.83 km run with @RunKeeper. Check it out! http://runkeeper.com/user... #RunKeeper
BioGeek on [Belgium] Four different moths, which species are they? - http://www.reddit.com/r...
"Thanks! Could the white one in the middle be a [Common White Wave (Cabera pusaria)](http://en.wikipedia.org/wiki...)?" - Jeroen Van Goey
BioGeek on Google Needs to Make Maps for Motorcyclists - http://www.reddit.com/r...
"The Garmin Zumo 390 Motorcycle GPS has a Curvy Roads feature which allows riders to select and navigate routes on winding roads to their destination. Something like that in an app would be perfect." - Jeroen Van Goey
BioGeek on is this Photoshopped? - http://www.reddit.com/r...
"No, it's [Venus the Chimera Cat.](https://www.facebook.com/VenusTh...) > The “Chimera” in Venus’s title refers to [chimerism](https://en.wikipedia.org/wiki...), which is a naturally-occurring genetic condition in which one organism is born from four parent cells (e.g. two fertilized eggs that have fused together). But Venus may not be a true chimera, her appearance is just as likely due to normal genetic variation." - Jeroen Van Goey
Powerful Portraits Of Facial Reconstruction Patients - Feature Shoot - http://www.featureshoot.com/2014...
BioGeek on What are these plants and are they poisonous for horses? - http://www.reddit.com/r...
"Sorry for the potato picture quality. Location of the plants is Belgium." - Jeroen Van Goey
Antwerpen is stad van de zomerbars - De Standaard - http://www.standaard.be/cnt...
How I Shot This Portraits In Pouring Rain - DIY Photography - http://www.diyphotography.net/shot-po...
Before Learning to Crawl, You Must Learn to Swim - NYTimes.com - http://www.nytimes.com/2014...
How to Fold a Julia Fractal — Acko.net - http://acko.net/blog...
Write Clean, Professional, Maintainable, Quality Code in Python | JetBrains PyCharm Blog - http://blog.jetbrains.com/pycharm...
BioGeek on Skûtsje Long Distance Sailing Championship - http://www.reddit.com/r...
"From Wikipedia: > A [skûtsje](https://en.wikipedia.org/wiki...) (pronounced 'skootshuh') is a Frisian sailing boat of the type tjalk, originally an ordinary cargo boat, but today a prized ship and one of the icons of Frisia. Skûtsjes were built from the 18th century until about 1930 and are 12 to 20 m long and on average 3.5 m wide, with a maximum of 4 m (based on the standard dimensions of Frisian bridges and sluices). > In the 1920s and 1930s many skûtsjes were fitted with engines and after World War II the sails were even often removed. Nevertheless other, much larger, powered boats took over water transportation in the area and many skûtsjes were rebuilt into houseboats or luxurious sailing yachts. Over time, more and more were restored to their original state. > There is a yearly racing event in Friesland called Skûtsjesilen. Such races were already held in the early 19th century, but since 1945 they are regulated through a committee, SKS. In these races, each Skûtsje..." - Jeroen Van Goey
BioGeek on I'm drying cherries in Wenatchee, Washington, USA. Anyone else up here? Anyone have questions? - http://www.reddit.com/r...
"Then you need to sharpen you Google skills! I hadn't a clue what the OP was talking about either, but [this article](http://www.ediblegeography.com/wet-che...) nicely explains it." - Jeroen Van Goey
BioGeek on I'm drying cherries in Wenatchee, Washington, USA. Anyone else up here? Anyone have questions? - http://www.reddit.com/r...
BioGeek on Bioinformatics and computer operating systems - http://www.reddit.com/r...
"Also see this related question on Biostars: [Which Operating System Do You Prefer For Bioinformatics?](https://www.biostars.org/p/33/)" - Jeroen Van Goey
BioGeek on How many eulers have you solved? - http://www.reddit.com/r...
"I just checked: 68. I also noticed that I solved the last problem exactly a year ago, I really should pick this up again." - Jeroen Van Goey
BioGeek on Learning Python, need help with this. - http://www.reddit.com/r...
"First you store the username in a variable and the password in a variable. If the next thing the user types is `lock`, then you should consider your program in a locked state. To unlock it, the user needs to type in again his username (compare it to the username you have stored earlier) and password (idem)." - Jeroen Van Goey
Other ways to read this feed:Feed readerFacebook