Skip to main content

Posts

Showing posts from May, 2009

Who runs more?

I've finally finished the visualization for my grad school visualization class. We had to use data sets from the UCI Machine Learning Repository . I have choose the auto-mpg data set, which has data concerns city-cycle fuel consumption. This particular data set has 398 tuples with 9 attributes. So I've decided to show which motor model (number of cylinders) runs more with one gallon. The visualization is just bellow. I had computed the data using simple PHP scripts with PostgreSQL sql queries. With gnuplot , I plotted the output of the script, saving the plots as SVG files, which, using inkscape , I've made the proper manipulations to get this work.

Where to find CC stickers

Wikimedia Commons is a fine place to find Createive Commons stamps to be placed on our work. http://commons.wikimedia.org/wiki/Creative_Commons But those which I was really looking for are at: http://www.creativecommons.pt/cms/view/id/39/ http://mirrors.creativecommons.org/presskit/cc-license-buttons.sv g

Mutexes and Conditions

I was googling around looking for some examples on mouse handling with the SDL library and I've found this interesting tutorials site: http://lazyfoo.net/SDL_tutorials/index.php I've found the mouse handling examples , but there were some other interesting examples. There are three good examples on concurrent programming: Multithreading Semaphores Mutex and Conditions Perhaps the one which had called my attention monst was the "Mutex and Conditions", because of the possibilities on "Discrete Event Simulation".

Some links on visualization

I've loose today's visualization class, but our professor sent us some links about today's topics... http://sixrevisions.com/graphics-design/40-useful-and-creative-infographics/ http://blogof.francescomugnai.com/2009/04/50-great-examples-of-infographics/ http://www.designlabelblog.com/2008/03/data-visualization-and-infographics_30.html

Here's a Nickel, Kid

Ryan Tomayko has a blog entry on an old comic strip used as the cover of the book " Advanced Programming in the UNIX® Environment ".

Speech recognition, first step to "Voice Picking"

When I was starting the Mindelo WMS project , I had read something about "voice picking". Since there, I was wondering how to build a linux distribution for warehouse management. At faqs.org , there is a " Speech Recognition Howto ", but perhaps I should found something more specific at the " Speech Recognition in Linux " at the wikipedia

Elegant XML parsing using the ElementTree Module

Mark Mruss, from the learningpython.com , wrote an interesting article on an " Elegant XML parsing using the ElementTree Module ". I had a little project on my job on which I had to read some XML data and make some reports with them. I am using PHP to that, but after reading this Mark Mruss's article, I am regretting not have started with Python since the begging. "XML is everywhere. It seems you can’t do much these days unless you utilize XML in one way or another. Fortunately, Python developers have a new tool in our standard arsenal: the ElementTree module. This article aims to introduce you to reading, writing, saving, and loading XML using the ElementTree module. Introduction Reading XML data Listing 1 Listing 2 Reading XML Attributes Writing XML Listing 3 Writing XML Attributes Reading XML Files Writing XML Data to a File Reading from the Web Conclusion" Read the entire article at learningpython.com

Soft body deformation

The wikipedia has a short entry on " Soft body dynamics " but it cites this interesting framework called SOFA. "SOFA [ 1 ] is an Open Source framework primarily targeted at real-time physical simulation , with an emphasis on medical simulation. It is mostly intended for the research community to help develop newer algorithms, but can also be used as an efficient prototyping tool or as a physics engine ." [1] It is also multi-platform. As soon as I have some test written, I will put some shots here. [1] SOFA (Simulation Open Framework Architecture). (2009, March 26). In Wikipedia, The Free Encyclopedia . Retrieved 14:01, May 7, 2009, from http://en.wikipedia.org/w/index.php?title=SOFA_(Simulation_Open_Framework_Architecture)&oldid=279736872