Sunday, April 23, 2017

Vsync explanation

Posting this to read later, because inevitably we all need a vsync refresh from time to time :)

This was linked from Mike Abrash's blog here:

Sunday, February 12, 2017

favorite excel amortization table example

Saturday, February 04, 2017

how long to hold RSUs and SPP

Hold SPP shares for at least two years to avoid a disqualifying disposition.
Hold RSU shares for at least one year.

Sunday, January 29, 2017

BLAS clarifications

found the parameters lda, ldb and ldc very hard to interpret.
Fortunately, found this article:

that had a key sentence:
  • Matrices A and B, each followed by its leading dimension descriptor. This is the length of one row in row-major order, or the length of one column in column-major order,
  • a scalar factor β with which the elements of the matrix C are multiplied, before its contents are added to the result of 

thanks dude!

Monday, January 16, 2017

Visual Studio Code

in ubuntu linux : /usr/bin/code is the binary

Monday, January 09, 2017

General Unix Commands

wanna find a complete library path in linux?  try: ldconfig -p | grep libOpenCL
find -name foo.txt finds a file in a directory structure, seems default is recursive descent 

Friday, December 30, 2016

Quick Python notes

In python shell, use execfile('') to execute directly in the shell. Mostly trivia, not a good way to do things but don't want to look this up again if it comes up.

Thursday, December 29, 2016

Tensorflow installation on ubuntu linux hints

tensorflow 'Download and Setup' instructions seem to be great (verified for only installing the CPU version).

minor clarification: When reading the installation instructions you can disregard the part that says 'install tensorflow' if the command pip install tensorflow worked for you. no indentation on that page makes it a tiny bit ambiguous in the section 'Pip installation' on page:

Ubuntu hints

notes about ubuntu install for a NUC:

created a bootable USB with these instructions:

in particular the rufus tool was key to making this painless.

must also do:

sudo apt update
sudo apt upgrade

or the 'ubuntu software' tools won't work/broke when i tried to install emacs.

creating a shared drive with windows host:
with virtual mx shut down, go to 'edit virtual machine settings', select vmware options tab, select drive to share and name it
the drive will appear under /mnt/hgfx/ when you turn virtual machine back on

Saturday, December 24, 2016

Ubuntu in VMWare display issue?

only coming up in 800x600 or VGA? suspend the client, then resume it. seems to resolve issue for me. will update if i find this incorrect.

resizing the windows window also seemed to work.