Wednesday, March 27, 2013

Nice compact article on Ubuntu networking

Friday, March 22, 2013

Info on Flex and Bison

A Yacc Grammar for C

This has some nice internal links.


Tuesday, March 19, 2013

Interesting collection

Joe Chang has some interesting articles. In one, he gives some query "plans".  


Saturday, March 09, 2013

Parallel Data Laboratory Newsletters

PDL newsletters give a good sense of the work at PDL - CMU.


Monday, March 04, 2013

Taring and moving LXC containers from one physical enviornment to the next

Often in research environment, it is necessary to move clusters of Linux containers (LXCs) from one machine to one or move machines.

Here's a thread on the LXC users list that has some basic information which may help avoid surprising permission changes in the local file system of an LXC as it is moved.

http://sourceforge.net/mailarchive/message.php?msg_id=30535949



Thursday, February 28, 2013

How long does it take to set up a local Hadoop Cluster

Given an LXC container with a recent Hadoop installation on it, it will probably take about 20 minutes to set up a 10 node (LXC Container) cluster on a single host machine. Moving them around doesn't take that long either. So, it is really fast, which begs many questions about many business models founded on the idea that easy installation forms a barrier worth scaling. 

My favorite bash command prompt setting


In my .bash_profile


stty columns 1000
PS1="\e[0;32m\u@\w->\e[m"



Monday, February 25, 2013

Building MonetDB on Mac with Macports Libraries

There have been some issues raised when building MonetDB with Macports libraries on Mac. I addressed it on the mailing list, and here, I just write the summary, for my own future reference:


To build MonetDB with the Macports distribution of readline, one needs to run configure with the following command line options:

      --with-readline=/opt/local CFLAGS=-DLIBICONV_PLUG

/opt/local is where I have my macports libraries, including readline.

In macports' distribution of iconv, if LIBICONV_PLUG, is not defined, causing some function names to be redefined. 

I guess macports authors did this in order to avoid some potential
collisions with the "readline" library that comes with Mac OS-X (as part of Xcode command line tools?).

The "-DLIBICONV_PLUG" compiler option disables the redefinition of function
names in macports' iconv.