I really like Mezzanine and use it all the time in projects. It powers this site you're on now. There are a couple of things that often "bug" me about it though. One is that I don't understand why Stephen chose to bake his own thumbnail plugin and didn't just use sorl.thumbnail. Sorl is much more flexible and powerful. For instance I can add margin and center an image when resizing it to give uniform whitespace around images while preserving the aspect ratio, something the built in thumbnail tag can't do. Sorl also allows me to specify a file type. For instance on a big site I just launched all the header images were added as png images and were huge, over 1MB in size. I needed to convert those to optimized jpeg images and sorl.thumbnail allowed me to do that, reducing the size 10 times to less than 100k with no discernible drop in quality. Again, you can't do that with the built in thumbnail tag that I know of.
Been way too long since I've posted something here. Life has been busy. Isn't that the excuse everyone uses? I'll change the theme up soon. Don't want anyone's eyes to bleed! Regardless this weekend I really wanted to get Owncloud set up on one of my Webfaction servers. I've used Dropbox, Sparkleshare, Bittorrent Sync for years and even tried a few other file sharing apps along the way. I set up Owncloud way back when on Amazon hosting for a client and it worked well but this latest release seems way better. At least from my limited use.
We recently switched our live website at work to the new Django backend I had created. With that our old Magento instance can go away! Well, sort of. I still may need to reference it in the future so I needed to replicate the Magento install locally. Our Magento version was old (184.108.40.206) and I work on a Mac so I needed a way to duplicate the server environment. Enter Vagrant. I already had a working VirtualBox installation so install was pretty simple. Then I found this awesome recipe for Magento that happened to be just what I needed.
This is what happens when you get sucked into the massive incarceration complex in the United States. I read the excellent book - The Innocent Man - by John Grisham a few years back and the previous linked story brought back so many feelings from reading The Innocent Man. I remember hating the feeling of helplessness brought on by the complete irrationality, stupidity and downright corruption of some in law enforcement and our criminal justice "system" after reading that book. It was a feeling I couldn't shake for weeks.
At work today I needed to force a new line break in a PDF that I was generating using Reportlab at work today. I tried just adding a newIine using the standard \n, like you would in python, but it seems that the Paragraph class in reportlab swallows the newline character.