Archive

Archive for the ‘FOSS’ Category

MySQL, NoSQL or NewSQL?

MySQL has been pushed to its limits in large scale web scenarios, where the load of millions of users concurrently accessing SQL relational databases start to show the huge overheads and subsequent limitation of this type of database. A recent “move” on NoSQL databases appeared, not without their own idiosyncrasies and issues, and more recently a new… er… NewSQL paradigm has been proposed as a scalable, efficient and reliable solution to the problem. Have a look at why Facebook is trapped in MySQL ‘fate worse than death’.

The Boost.Threads Library (C++ –> C++0x?)

Threads in C++ has been a long topic of pain and moaning, mainly because the C++ standard does not provide (until recently, at least) a platform independent and efficient support for threads built-in the language (POSIX pthreads lib is not C++; being a C library, it requires some careful use when dealing with multithreaded C++ objects which usually include constructors and destructors).

Options to circumvent this lack of multiplatform thread support ins C++ include using other C++ libraries such as Nokia Qt, Poco, or Boost.

Boost is a set of free peer-reviewed portable C++ libraries (more info here and here) that implements for some time now the Boost.Threads library, which is a highly optimized (and growingly flexible) platform independent thread library (i.e. should work in Linux, OSX, Windows, etc), and that seems to be the candidate best positioned to be included into the next C++ standard revision (i.e. C++0x). When that happens, the need for 3rd party libs in C++ for platform independent thread support will be finally over.

You can learn a bit more about how Boost.Threads will handle threads in the following articles:

The Boost.Threads Library | Dr Dobb’s Journal.

What’s New in Boost Threads? | Dr Dobb’s Journal

Categories: Development, FOSS, Programming Tags: , , , , ,

python_select is deprecated (in MacPorts)

July 7, 2011 1 comment

After some head banging with MacPorts in order to try to install python_select, I’ve found an explanation why python_select, although being displayed as being installed and active by MacPorts, still does not get installed in /opt/local/bin (and therefore, it borks when trying to run it from the command line): #29531 (_select ports no longer provide _select binary) – MacPorts.

So now it seems that python_select was deprecated and we should use instead (e.g. to select python2.6):

% sudo port select python python26

Stand-alone code for numerical computing

How Open Source Projects Can Prepare Students for Better Careers

Why the Arduino Won and Why It’s Here to Stay

Make: Online | Why the Arduino Won and Why It’s Here to Stay.

Really nice article explaining some of the reasons for the Arduino Success. One of the most important reasons is, IMHO, its open source hardware/software approach.

Android Adds USB Host + Audio, Open Hardware ADK with Arduino; Good News for Mobile Music