Monthly Archives: July 2014

Stop 3-D plot crashing on Matlab over VNC

Restart Matlab, and before doing anything type: opengl(‘neverselect’) Then at plotting time: figure set(gcf,’renderermode’,'manual’,'renderer’,'painters’) slice(..) and so on

Cygwin Python 3 pip install: Segmentation fault

Note: I get segmentation fault upon pip3.2 command, has anyone solved this? This was tested on Cygwin 1.7.31 with Python 3.2 and may be out of date when you read this Prereqs: python3-setuptools In cygwin type easy_install-3.2 pip to use pip3 type in Cygwin pip3.2

H5Labview and 1-D arrays

The current version of h5labview 2.7.3.112 can completely crash Labview 2013 SP1 when using 1-D arrays. What I do to fix this is insert the “Build Array” into my 1-D array just before it hits HDF5 Write Data. On the Read Data, to get a 1-D array again, you can use Index Array with the […]

Find Gmail email with any attachment e.g. PDF

You can see https://support.google.com/mail/answer/7190?hl=en for the types of advanced searches you can do with Gmail. For example, if I want to find all PDFs I sent to joe@yahoo.com, I type in Gmail search to:joe@yahoo.com filename:pdf or to find any email I sent to joe@yahoo.com with any attachment: to:joe@yahoo.com has:attachment

Ralink RT2800 Warning TX status “fix”

I have some of the ubiquitous USB Wifi sticks with a chipset using the Ralink rt2800 driver. I noticed that while it works fine, I got a lot of dmesg errors like: rt2800usb_txdone: Warning – Got TX status for an empty queue 2, dropping rt2800usb_entry_txstatus_timeout: Warning – TX status timeout for entry 14 in queue […]

installing LLVM-Py and Numba on Ubuntu 14.04

First, you need a custom compilation of LLVM 3.2 (as of July 2014). As of July 2014, LLVM-Py will NOT work with the default LLVM 3.4 in Ubuntu 14.04. Note, these commands are NOT sudo/root. I choose to install LLVM 3.2 to ~/LLVM32. the -j2 option is to use 2 CPU cores, you can increase […]

Fixing SSH Access Denied for Github

Github suggests that you use the SSH Agent, but even that may not work when you have a lot of SSH keys. You need to setup your ~/.ssh/config file so that SSH to github.com uses the correct SSH Public Key the first time. Here’s how. nano ~/.ssh/config and add the lines Host github.com Hostname github.com […]

Very pleased with Lenovo warranty service

My corporate X220 had the space bar get slightly intermittent after 4 years of hard use and abuse. Naturally the corporation had the maximum warranty coverage, but I didn’t want to have someone manhandling my computer. Instead, a few minutes on the phone with their Atlanta, Georgia tech support center saw me getting a Next-Day […]

upgrading to Scipy 0.14 via pip

you may first need to do sudo apt-get install liblapack-dev libatlas-dev libsparskit-dev libarpack2-dev gfortran libfftw3-dev libblas-dev before sudo pip install –upgrade scipy reference: http://stackoverflow.com/questions/11114225/installing-scipy-and-numpy-using-pip

Spyder 2.3 missing rope for Python3

The just-released Spyder 2.3 (on Ubuntu, get by typing) sudo pip3 install spyder but it’s missing rope. To get rope, type sudo pip3 install rope_py3k for great online help