Skip to main content

Posts

Showing posts from December, 2015

Theory studying progress

So. I've been trying to study up on basic alg/ds theory. Here are a few things I discovered: I have grown a deeper appreciation for all the universities that put their class materials online, like UCB EECS, MIT OCW, etc. And Khan Academy and YouTube have also been helpful. CLRS is a dense read, but surprisingly enjoyable. I think I'm enjoying it as much as I did K&R and SICP. I'm not good at alg/ds code implementation, but it feels really great when I finally get something working. :) Studying this stuff is like a full time thing...

Compiling pgmodeler on Yosemite (with Homebrew)

Refer to  pgmodeler installation . Steps: Clone the pgmodeler git repo. Use Homebrew to install qt5 (5.4.2, see here ), libxml2, and postgresql. Edit the pgmodeler.pri (not .pro) file and change these variables: PGSQL_LIB = /usr/local/opt/postgresql/lib/libpq.dylib PGSQL_INC = /usr/local/opt/postgresql/include XML_INC = /usr/local/opt/libxml2/include/libxml2 XML_LIB = /usr/local/opt/libxml2/lib/libxml2.dylib Follow instructions to compile pgmodeler (you might need to put Qt's binaries in your PATH. I was lazy and didn't). $ /usr/local/opt/qt5/bin/qmake pgmodeler.pro $ make $ make install $ cd /Applications $ /usr/local/opt/qt5/bin/macdeployqt pgmodeler.app -executable=pgmodeler.app/Contents/MacOS/pgmodeler-ch -executable=pgmodeler.app/Contents/MacOS/pgmodeler-cli Then I was able to do $ open pgmodeler.app