R from source

Posted by & filed under R.

The following are notes for myself. I like to use the bleeding edge version of R: svn checkout https://svn.r-project.org/R/trunk/ r-devel cd r-devel ./tools/rsync-recommended ## use the following to update sources: svn update ## pre-reqs sudo apt-get build-dep r-base #sudo apt-get install gcc g++ gfortran libreadline-dev libx11-dev xorg-dev #sudo apt-get install texlive texinfo ./configure make sudo… Read more »

Latest Asterisk on Ubuntu

Posted by & filed under Linux, VoIP.

I recently changed my web server, and had to re-install Asterisk. I wanted to compile from source but I had an “input/output” error, which means either my drive is bad or I’m having issues with the kernel. SMART tells me my drive is OK, so I assume it’s the kernel. I found this that has… Read more »

Automatically start Asterisk at boot time

Posted by & filed under Networking, VoIP.

Learned how to do so from this thread. cd ~/Downloads/asterisk/1.8/contrib/init.d ## contrib folder is in source directory sudo cp rc.debian.asterisk /etc/init.d/asterisk sudo chmod 755 /etc/init.d/asterisk # to set the script as boot update-rc.d asterisk defaults # to remove the script from boot update-rc.d -f asterisk remove Modify the /etc/init.d/asterisk: # Full path to asterisk binary… Read more »

Future of computing?

Posted by & filed under Internet, Linux.

This is what I envision the future of computing to be if things were up to me. I can turn on any computer and be able to access an environment that has all the applications I use via a web login. That is, I should be able to remotely log in to my computer/server from… Read more »

flags for compiling source code: pkg-config command

Posted by & filed under Coding, Linux, Mac OS X.

so i was trying to compile some C code on my server at school that involves the math and the GNU Scientific Library (gsl) libraries. that is, the source has the following lines: #include <stdio.h> #include <math.h> #include <gsl/gsl_integration.h> those link the header files. however, when compiling, gcc would complain that they can’t see functions… Read more »

stumpwm on mac os x

Posted by & filed under Coding, Emacs, Linux, Mac OS X.

stumpwm is to window managing (tiling?) system what emacs is to text editing and conkeror is to web browsing. very cool. if i was on a linux laptop/desktop like i used to be, i would definitely use this. i’m even debating on quitting my mac os x for this (with emacs and conkeror). however, i… Read more »