Commits

Alex Clark committed ff7bb39

Clean up

  • Participants
  • Parent commits c30f84c

Comments (0)

Files changed (29)

content/bro-do-you-even-pillow.rst

 :tags: Django, Plone, Python
 
 .. image:: /images/bro-do-you-even-pillow.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 `Pillow <https://github.com/python-imaging/Pillow>`_ is a fork of the Python Imaging Library. Here is an update on the status of the project.
 

content/cioppino-sprint-report.rst

 The `Cioppino Sprint`_ was recently held in Bodega Bay, CA. It was a `beautiful location`_ for a gathering of awesome Plone folks; and much was accomplished. Unfortunately on the second morning of the sprint, we were all deeply saddened to hear about the passing of Dorneles Treméa.
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/bodega.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 The passing of Dorneles Treméa
 ------------------------------

content/gittip-is-the-future.rst

 Why? If for no other reason, because it comes from a member of the Python community: Chad Whitacre of http://aspen.io fame. And the Python community has become near and dear to me, second only to my-one-true-open-source-love: Plone. So I want to see open source developers, particularly Python developers, succeed.
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/gittip.png
-   :alt: alternate text
+    :alt: alternate text
 
 And succeed they will, with gittip. Some particularly impressive results so far: 
 

content/gittip-misunderstood.rst

 People do not understand gittip. Or, they do not understand how I use it. Worse, they **think** they understand it [1]_. So much so, some choose to comment about it publicly.
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/condescend.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 Remember `gittip is the future`_? Someone commented: 
 

content/hello-plone-updated.rst

 :tags: Plone, Python
 
 .. image:: images/hello-plone-updated.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 Over two years ago I wrote a blog entry called `"Hello, Plone!" <http://blog.aclark.net/2011/08/20/hello-plone/>`_. I've just updated it in order to:
 

content/help-me-upgrade-plone-org.rst

 Now without further ado, please donate-away! :-)
 
 .. figure:: https://www.paypal.com/en_US/i/scr/pixel.gif
-   :alt: alternate text
-   :align: center
+    :alt: alternate text
+    :align: center
 
 .. _working on: http://dev.plone.org/plone/log/PloneOrg/buildouts/branches/3.0

content/i-love-checkoutmanager-and-dotfiles.rst

 One of the first things I do on a new system is change my shell to **Zsh** in ``System Preferences -> Users & Groups -> Current User -> Right Click -> Advanced Options...``. Don't forget to ``Click the lock to make changes`` first.
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/zsh.png
-   :alt: alternate text
+    :alt: alternate text
 
 Zsh
 ~~~
 After I take possession of my new laptop (running **Mountain Lion**, the newest OS X at the time of this writing), I head to the App Store to download XCode. [2]_ Among many other things, XCode gives me the GNU C Compiler and allows me to type "gcc" in my ``Applications -> Utilities -> Terminal``.
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/gcc.png
-   :alt: alternate text
+    :alt: alternate text
 
 Python
 ------
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/homebrew.png
-   :alt: alternate text
+    :alt: alternate text
 
 Now I need a Python interpreter [3]_. For development I use the `Collective Python Buildout <https://github.com/collective/buildout.python>`_ but I also enjoy using `Homebrew's <http://mxcl.github.com/homebrew/>`_ Python 2.7. I use Homebrew for a variety of other things too (e.g. mobile-shell AKA mosh) so here we go::
 
 Which reminds me, don't forget that installing the command line utilities in Mountain Lion's XCode requires an additional step in ``Preferences -> Downloads -> Command Line Tools -> Install``:
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/command-line-utils.png
-   :alt: alternate text
+    :alt: alternate text
 
 Dotfiles
 --------

content/introducing-plock-pins.rst

 :tags: Plone, Python
 
 .. image:: /images/buildout-all-the-plones.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 ::
 

content/introducing-the-plone-kitty.rst

 *Actually: re-introducing the Plone Kitty from Plone 1!*
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/plone-kitty.png
-   :alt: alternate text
+    :alt: alternate text
 
 *Plone Kitty* is the name of a theme (then called "skin") that shipped with the earliest versions of `Plone <http://plone.org>`_ (1.1 in the image above). This was a simpler time when the web was new, and everything was possible!
 

content/looking-for-projects.rst

 :tags: Plone, Python, Mozilla
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/use_python.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 With `pythonpackages.com winding down`_, I am now actively seeking projects for Q4 2012 and beyond. I am good at:
 

content/mailing-list-etiquette.rst

 I read a lot of mailing lists:
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/unison.png
-   :alt: alternate text
+    :alt: alternate text
 
 Also, I've been subscribing to, reading, and participating in discussions on mailing lists since about the time Mailman 1.0 was released circa 1999 [1]_. And I have fond memories of interacting administratively with MajorDomo and ListServ software. And by administratively, I mean sending the software commands and getting back a response. In fact, you might say I get along better with the software and machines than I do with the humans that use them. Which is not to say that I'm not a people person: I love people. But I do struggle with striking the right balance between hacking machines and communicating with humans.
 

content/matplotlib-plotting-cookbook-review.rst

 Chapter 5 is all about "working with file output". For reference, here are some of the images produced by the examples in this chapter (I wrote ``jpg`` files instead of ``png`` files due to a problem with my libpng: `RuntimeError: Could not create write struct <https://www.google.com/#q=RuntimeError%3A+Could+not+create+write+struct&safe=off>`_.)
 
 .. image:: http://blog.aclark.net/images/sinc1.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 .. image:: http://blog.aclark.net/images/sinc3.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 Also covered in this chapter is `pdf output <http://blog.aclark.net/images/sinc.pdf>`_.
 

content/new-years-python-meme-2012.rst

 :tags: Django, Mozilla, Plone, Python
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/tarek-meme-reminder.png
-   :alt: alternate text
+    :alt: alternate text
 
 *This is my entry for Tarek Ziadé's New Year's Python Meme, a tradition I have come to enjoy. Both to reflect on the current year and look back on previous years. So here it is.*
 

content/pillow-2-3-0-is-out.rst

 Since Pillow 2.0, the Pillow Team has adopted a quarterly release cycle; as such, Pillow 2.3.0 has just been released. Here's what's new in this release:
 
 .. image:: /images/one-does-not-simply-make-a-release.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 2.3.0 (2014-01-01)
 ------------------

content/please-help-me-do-open-source-work.rst

 *From my 'mid-life-crisis' series of blog entries :-)*
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/open-source-work.png
-   :alt: alternate text
+    :alt: alternate text
 
 Open Source Work
 ----------------

content/plone-4-3-alpha-1-in-production.rst

 As you may have noticed above I use ``z3c.jbot`` to customize various Plone templates.
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/custom-templates.png
-   :alt: alternate text
+    :alt: alternate text
 
 Add content
 -----------
 
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/edit-ui.png
-   :alt: alternate text
+    :alt: alternate text
 
 Use Diazo theme for public facing view
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Of course, visitors to http://aclark.net see the Diazo theme.
 
 .. image:: images/diazo-theme.png
-   :alt: alternate text
+    :alt: alternate text
 
 I'm hoping that the Plone team can unify the content editing experience again in Plone 5, possibly via simplifying the "old style" templates such that it's easier to map them to custom Diazo themes.
 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 .. image:: images/all-content.png
-   :alt: alternate text
+    :alt: alternate text
 
 Contributed by Laurence Rowe for Plone 4, I use the ``All content`` view in two places:
 

content/plone-guide.rst

 Recently with a tweet, I announced the start of a new personal project:
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/tweet.png
-   :alt: alternate text
+    :alt: alternate text
 
 When
 ----
 I think a lot about what other people think about Plone, so I decided this book will feature comments from the general public in it. E.g.:
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/comments.png
-   :alt: alternate text
+    :alt: alternate text
 
 How much?
 ---------

content/plone-org-upgraded.rst

 #. Run the upgrade locally. With plone.org data this takes about 45 minutes to an hour [1]_.
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/upgrade.png
-   :alt: alternate text
+    :alt: alternate text
 
 #. If the upgrade succeeds, you are ready to launch. If it fails, fix the errors before proceeding.
 
 #. Add a status message to plone.org to indicate a maintenance window is in progress. I chose to customize the ``main_template`` to accomplish this, but ideally we'd have some functionality in Plone that allowed site administrators to easily configure status messages.
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/upgrade-message.png
-   :alt: alternate text
+    :alt: alternate text
 
 #. Disable logins. Since the upgrade takes a long time, we don't want content being edited during this process. I chose to use David Glick's technique of disabling PAS. I moved the ldap authentication plugin to the Active Plugin list, thus disabling PAS such that only ZODB users could login. But ideally we'd have some feature in Plone to allow site administrators to disable logins.
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/pas.png
-   :alt: alternate text
+    :alt: alternate text
 
 #. Run the upgrade. I forgot to mention earlier something very important: **On plone.org, you can't access Zope from the internet.** And you can't run the upgrade without accessing Zope. Hence run the following command to access the server, then access Plone via ``http://localhost:8080``::
 
 #. After the upgrade finishes, click around to make sure you didn't break anything. In my case, I broke something — I normally move ``portal_skins/custom`` out of the way before upgrading, but this time I forgot. And when I experienced minor JavaScript issues, I forgot to examine custom; which currently looks like this:
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/custom.png
-   :alt: alternate text
+    :alt: alternate text
 
 Even if I had remembered, I didn't want to spend the next few hours examining database customizations. Fortunately, before I realized I had forgotten to check custom, I emailed the plone-developers list — and Nathan Van Gheem to the rescue! He fixed some JavaScript in custom, then I cleared the cache(s). Ideally Plone would report on database customizations during the upgrade process: to indicate the potential for breakage and encourage the site administrator to round-trip those customizations back to the file system.
 

content/plonetheme-report.rst

 Not bad! That's a lot of working themes for Plone 4, many of which use Diazo.
 
 .. image:: /images/plonetheme-report-1.png
-   :alt: alternate text
+    :alt: alternate text
+
 .. image:: /images/plonetheme-report-2.png
-   :alt: alternate text
+    :alt: alternate text
+
 .. image:: /images/plonetheme-report-3.png
-   :alt: alternate text
+    :alt: alternate text
 
 .. [1] In the ``plonetheme`` namespace.
 .. [2] Plock is a Plone installer for the pip-loving crowd: https://plock.github.com.

content/python-3-porting.rst

 *The 3 in 2013 is for Python 3*
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/python-3-port.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 I tend to like projects that everyone else **hates**, e.g.:
 

content/pythonpackages-com-one-year-later.rst

 - The ability to "manage packages" (see image below)
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/manage-packages.png
-   :alt: alternate text
+    :alt: alternate text
 
 - The ability to "manage organizations" (see image below)
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/manage-organizations.png
-   :alt: alternate text
+    :alt: alternate text
 
 - The `ability to create packages through the web`_ (i.e. from the web browser to GitHub, whereas normally you'd run PasteScript in your Terminal).
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/create-new-package.png
-   :alt: alternate text
+    :alt: alternate text
 
 And a few more logistical features that are cool:
 
 - The ability to pay with a credit card (via Stripe)
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/pay-with-stripe.png
-   :alt: alternate text
+    :alt: alternate text
 
 - The ability to oauth against PyPI:
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/pypi-oauth.png
-   :alt: alternate text
+    :alt: alternate text
 
 Still, we have only scratched the surface of what could potentially be provided to the Python community. Future plans include:
 

content/review-of-aspeli-plone-4-development.rst

 ~~~~~~~~~~~~~
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/buildout.png
-   :alt: alternate text
+    :alt: alternate text
 
 Aspeli correctly addresses one of my biggest pet peeves (concerns) about what I believe to be an **ANTI-PATTERN** in almost every Plone buildout: buildout:eggs (referring to the eggs parameter of the buildout section; it does not exist, other than as a convenient variable setting).
 
 ~~~~~~~
 
 .. image:: image://raw.github.com/ACLARKNET/blog/gh-pages/images/addons.png
-   :alt: alternate text
+    :alt: alternate text
 
 Did you see? You might have missed it. No mention of **Products** WHAT-SO-EVER. "Product" was a term that Zope2 used for Python libraries that enhanced the functionality of Zope2, and it stuck. Now, it should die in favor of a term everyone else in the world is familiar with (in this context): add-on. Well played, Aspeli. Well played.
 

content/the-story-of-pillow.rst

 -----------
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/story-of-pillow.png
-   :alt: alternate text
+    :alt: alternate text
 
 This release marks the first "serious effort" I have put into Pillow. While I've always enjoyed working on it in my spare time, I knew that there was no way I could finish it in time for PyCon 2013 (as I promised) without getting some financial assistance.
 

content/top-3-favorite-logical-fallacies.rst

 :tags: Mozilla, Python, Plone
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/y-u-no-agree.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 I love to debate issues. The more complex, the better. I have no formal training in `debate`_, but I wish I did. It may have better prepared me to face different personality types with varying degree of communication skill. You don't have to watch the 2012 U.S. Presidential Debates to know that people will say things that are **BATSHIT CRAZY** to make their point. I've done it myself. That's why we need rules to formalize our discussions, because it's hard to stay on point.
 

content/virtualenv-support-update.rst

 :tags: Django, Plone, Python
 
 .. image:: /images/virtualenv-support-update.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 This is you: I **use virtualenv all the time and I love it!** But I hate having to manually upgrade setuptools within my virtualenvs because the `PyPA has been so prolific with setuptools releases lately <https://pypi.python.org/pypi/setuptools#changes>`_.
 

content/we-pioneer.rst

 :tags: Django, Plone, Python
 
 .. image:: /images/we-pioneer.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 One of the subjects I find myself thinking about a lot is: Plone (surprise!) In Plone-land, we deliver the **best Python-based CMS money can't buy on top of an aging Zope 2 "application server"** mixed with newer Zope, Python, and other technologies. In short, this is a challenge.
 

content/whats-new-as-of-plock-0-1-2.rst

     :width: 95%
     :align: center
 
-
 Install add-ons
 ---------------
 

content/why-i-criticize-the-plone-foundation-board.rst

 :tags: Mozilla, Python, Plone
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/aclark-conf.jpg
-   :alt: alternate text
+    :alt: alternate text
 
 TL;DR: Because I care.
 

content/yes-this-blog-is-powered-by-pelican.rst

 This was a giant let down, because I was hoping to avoid putting any time in to my blogging infrastructure. For weeks I did nothing. I poked at various options: Pelican, Plone, Tumblr, others. Eventually, I found my way back to Pelican and now I'm happy again.
 
 .. image:: https://raw.github.com/ACLARKNET/blog/gh-pages/images/pelican.png
-   :alt: alternate text
+    :alt: alternate text
 
 Pelican is a static blog generator, as you may have heard. So **one big advantage** is: