Ben McCann

Co-founder of Connectifier.
Investor at C3 Ventures.
Google and CMU alum.

Ben McCann on LinkedIn Ben McCann on AngelList Ben McCann on Twitter

Ben

Commons Math vs. ojAlgo

01/23/2011

There are numerous math libraries for Java.   This is frustrating as a user because it’s hard to decide which to use.   Sometimes an algorithm is implemented in one library, but not another, which means you must marshal your data between proprietary formats.  I was working on solving systems of linear equations and there Read More

MySQL Commands Cheatsheet

01/22/2011

Install SQL Buddy sudo apt-get install apache2 libapache2-mod-php5 php5-mysql sudo /etc/init.d/apache2 restart Download SQL Buddy, unzip, and move to /var/www Allow connections from a remote server: Set the bind address in /etc/mysql/my.cnf to your ip address Open the port in the firewall by running “/sbin/iptables -A INPUT -i eth0 -p tcp –destination-port 3306 -j ACCEPT” Read More

Embedded Jetty

01/19/2011

One of the coolest things about Jetty is the ability to run it in embedded mode.  This means that you can write a Java app with a main method that will launch a Jetty server.  This has some really nice benefits.  For example, it makes it really easy to deploy a server to EC2 because Read More

Creating .asc signature files with GPG

08/01/2010

First make sure you don’t have a key already: gpg –list-keys If you didn’t and need to create a key then run: gpg –gen-key It might hang for awhile while generating enough random entropy. Run “ls -R /” to speed things up. And upload it to a public key server: gpg –keyserver hkp://pgp.mit.edu –send-keys <keyid> Read More

Getting started with R

07/25/2010

Getting Help R is incredibly frustrating to learn because it is impossible to do a Google search and have anything meaningful come back for the query “R”.   RSeek may provide some help in this regard. Installing Libraries To use R in Linux, I recommend installing the latest version of the RKWard GUI program. As Read More

Installing Evan’s Debugger in Ubuntu

06/27/2010

Evan’s Debugger is a Linux replacement for OllyDbg. You can install it by downloading the .tar.gz and doing the following: $ sudo apt-get install libqt4-dev $ sudo apt-get install libboost1.40-all-dev $ tar zxvf debugger-0.9.15.tgz $ mv debugger /usr/local/src/ $ cd /usr/local/src/debugger $ qmake -makefile DEFAULT_PLUGIN_PATH=”/usr/lib/edb/” $ make $ sudo make INSTALL_ROOT=/usr install

My first experience with Ubuntu

06/26/2010

I just got a laptop loaded with Lucid Lynx and have had a bit of a mixed experience adjusting.  I’ve actually used Ubuntu a bit in the past, but only minimally and never as my primary computer until now. First reactions I like the default background. Have the fonts improved?  Fonts have always looked bad Read More

Trouble Resuming NX Session

03/17/2010

Resume button disabled I was unable to resume my NX session.  While trying to connect, the resume button was greyed out (or grayed out)  This apparently can happen if the two machines are running at a different color depth. The machine I was trying to connect to was running Ubuntu, so I checked the color Read More

Using Struts 2 on Google App Engine

12/20/2009

Google App Engine (GAE) has some great benefits such as scalability and the fact that it’s free to start.  When using Struts 2 with Google App Engine there a few things to keep in mind. The first is that it runs inside a security sandbox that is more restrictive than your typical Java environment.  This Read More

Newer Posts
Older Posts