I placed an iPhone screen down on my Nexus 4. The Nexus got confused, took a picture, then rebooted to contemplate what had just happened.
Download Postgres.app from postgresapp.com. Unzip into /Applications, then run it.
To get psycopg2 to then install do:
PATH=$PATH:/Applications/Postgres.app/Contents//Versions/9.3/bin/ pip install psycopg2
Tada! Your done and without having had to use fink or brew.
I realized that when searching for python and lzo, my github page is the first link. I’ve also noticed that people keep forking my github version and that there is no PyPI entry for python-lzo.
So, I decided it is fair to consider myself the maintainer for python-lzo and have registered it as a PyPI package. Find it here: https://pypi.python.org/pypi/python-lzo/1.08.
I guess the next steps will be to setup travisci, update the setup.py, add python3 compatibility and find out what changes the people forking it are making.
New experience: a hard pretzel so fresh that the insides are still soft. Yum.
This is a note for my future reference.
zone example.com/IN: journal rollforward failed: journal out of sync with zone
zone example.com/IN: not loaded due to errors.
While named isn’t running, remove the
.jnl file for the example.com zone. It will be in the same directory as the zone files. Restart named and the error should be gone.
This error occurs if you have dynamic entries (say pushed by in by a DHCP server or other automatic mechanism) in a zone and then also change the zone files on disk (say deploying updates from a manual edit).
To prevent this in the future, freeze a zone before changing the zone file, then thaw after.
rndc freeze example.com
rndc reload example.com
rndc thaw sxample.com
Where I learned about this: thedumbterminal.co.uk
How to convert audio format in a video file:
ffmpeg -i input.mkv -vcodec copy -acodec ac3 -ab 448k output.mkv
I liked last.fm’s irccat as an easy way to post events (task completion and errors) to an IRC channel. I was less crazy about the recommendation to use ant to execute it. When I moved it to a OpenVZ VPS that used venet, it stopped working reliably. I’ve actually had trouble with quite of few Java services on that sort of VPS. So, I wrote my own in python, and it can be found on github and PyPI.
An added benefit is that much less memory is now used as well.
I can’t believe that Game Developer Magazine is ending in July! I hope they don’t switch my remaining issues to some Windows publication like the last two computer magazines I subscribed to did when they ended.