Index ¦ Archives ¦ Atom > Category: techie ¦ Atom

Computer Science at Khan Academy

Introduction to programming and computer science from Khan Academy at http://www.khanacademy.org/science/computer-science.

The best thing about it is that on Khan you get the tools to coach, not only the chance to learn. Empowers communities.


My attempts at MapReduce using MongoDB

I was sorting a tree in my (python) webapp instead of having the database to do it for me. This is how I moved it back to the database by using a MapReduce job. I had a collection structured like the following:

{
  "_id" : ...,
  "feed_oid" : "4fd268d2ab87b2d8927d7eee",
  "title" : "blah blah",
  "updated" : 1339702524,
  "watchers" : [ "4fd276fc66224c1ee8000006" ]
}

Such a collection is called articles and in there I get a document for every article published by an rss feed. feed_oid is …


Aeolus

This isn't going to be a real presentation of the aeolus project but I'm currently QAing it and I'd like to to discuss some use cases as there seems to be a lot of confusion around the cloud term these days. Firstly, what is aeolus? It is a collection of tools, you have the full listing at http://www.aeolusproject.org/projects.html

Basically it allows you to automate the build of your 'template' images …


What every programmer should know about memory

This was a series of posts appeared on LWN, a while ago. A precious document from Ulrich Drepper which have been brought back recently to great attention to me from a post on HN. Thanks Ulrich, LWN and HN:

  • Part 1 (Introduction)
  • Part 2 (CPU caches)
  • Part 3 (Virtual memory)
  • Part 4 (NUMA systems)
  • Part 5 (What programmers can do - cache optimization)
  • Part 6 (What programmers can do - multi-threaded optimizations)
  • Part 7 (Memory performance tools …

YUM history (!)

While browsing the YUM man page for some details about the query command I happened to find one of my most wanted feature in a package manager! YUM has some history command which allows for investigation of past transactions and even undo or rollback actions. Epic. I frequently find myself going through install/uninstall steps which not only mess around but I tend to forget about the installed and now unneeded deps.

I'll go through …

© Giulio Fidente. Built using Pelican. Theme by Giulio Fidente on github. Member of the Internet Defense League.