05
Sep 10

WordPress, Cheap hosting, and Memory Limits

I’ve run into a bit of a wall doing three things with this blog, namely upgrading to WordPress 3.0, configuring and updating sitemap.xml, and exporting my posts (a necessary part of upgrading and migrating one’s blog).

All three of these memory intensive activities ran about against the PHP settings of my host – 1and1. I’ve by and large been happy with 1and1 – mainly due to cost – but it appears that their limitations are approaching a level where they may no longer be a viable hosting choice for hobbyist website builders.

The specific issue is that 1and1 limits their basic accounts to just 30MB of PHP memory usage.   Exporting several thousand blog posts and updating a large sitemap simply consumers too much mempory, consequently, the jobs never run.

After attempting various fixes – changing wp-config and wp-settings as well as adding memory limits to .htaccess and creating php.ini in several directories – proved to be fruitless.

My solution – short of migrating my blog and changing hosts – was to disable every single plugin except the barest of necessities and THEN run either export (or import) or Google Sitemap. Once those tasks are done, you can re-enable plugins.

Along those lines, I went through my plugins and themes and examined what plugins or widgets were necessitating a database call. At some point in the near future, I will hard code those features (comment policy, Creative Commons license, Statcounter code, etc.) directly into the theme as opposed to using a plugin or widget. I was also running some plugins that are effectively obsolete thanks to new features in subsequent versions of WordPress. As such, I have decreased the plugin footprint of this humble blog from near-50 plugins down to a more manageable 32, with at least a few more destined for deactivation.


05
Sep 10

Daily Links for September 3rd through September 5th

All excerpts are quoted from the respective link(s). For authors: This is not a linkblog, and these are personally curated links.


03
Sep 10

Daily Links for September 2nd through September 3rd

All excerpts are quoted from the respective link(s). For authors: This is not a linkblog, and these are personally curated links.


02
Sep 10

Daily Links for August 31st through September 2nd

All excerpts are quoted from the respective link(s). For authors: This is not a linkblog, and these are personally curated links.


31
Aug 10

Daily Links for August 31st

All excerpts are quoted from the respective link(s). For authors: This is not a linkblog, and these are personally curated links.


31
Aug 10

Daily Links for August 30th through August 31st

All excerpts are quoted from the respective link(s). For authors: This is not a linkblog, and these are personally curated links.


30
Aug 10

Daily Links for August 28th through August 30th

All excerpts are quoted from the respective link(s). For authors: This is not a linkblog, and these are personally curated links.


28
Aug 10

Daily Links for August 27th through August 28th

All excerpts are quoted from the respective link(s). For authors: This is not a linkblog, and these are personally curated links.


27
Aug 10

Daily Links for August 20th through August 27th

All excerpts are quoted from the respective link(s). For authors: This is not a linkblog, and these are personally curated links.


25
Aug 10

Blame the Villains or Victims?

The NYTimes blames the victims:

It’s happening all over, in all sorts of families, not just young people moving back home but also young people taking longer to reach adulthood overall. It’s a development that predates the current economic doldrums, and no one knows yet what the impact will be — on the prospects of the young men and women; on the parents on whom so many of them depend; on society, built on the expectation of an orderly progression in which kids finish school, grow up, start careers, make a family and eventually retire to live on pensions supported by the next crop of kids who finish school, grow up, start careers, make a family and on and on. The traditional cycle seems to have gone off course, as young people remain un tethered to romantic partners or to permanent homes, going back to school for lack of better options, traveling, avoiding commitments, competing ferociously for unpaid internships or temporary (and often grueling) Teach for America jobs, forestalling the beginning of adult life.

The article goes on and on comparing now to then, and seems to not talk sufficiently about causes.  Who in their right mind would move home unless they had to?  If you are a recent college graduate, you are competing with 5 or 6 people for every job opening.  You’re going to grad school, hoping to ride out the storm.  You aren’t getting married because you can’t start a household and family from your mother’s basement.  Why are things not like they were for my/your/their parents?  What happened to those good jobs, lifetime employment, and other things the previous generations took for granted?  The impression that I took from the article was some sort of implied defect in today’s youth.

Meanwhile, in the People’s Republic of California, Berkley Campus, a different conversation takes place:

The bad news is that you have been the victims of a terrible swindle, denied an inheritance you deserve by contract and by your merits. And you aren’t the only ones; victims of this ripoff include the students who were on your left and on your right in high school but didn’t get into Cal, a whole generation stiffed by mine. This letter is an apology, and more usefully, perhaps a signal to start demanding what’s been taken from you so you can pass it on with interest.

Swindle – what happened? Well, before you were born, Californians now dead or in nursing homes made a remarkable deal with the future. (Not from California? Keep reading, lots of this applies to you, with variations.) They agreed to invest money they could have spent on bigger houses, vacations, clothes, and cars into the world’s greatest educational system, and into building and operating water systems, roads, parks, and other public facilities, an infrastructure that was the envy of the world. They didn’t get everything right: too much highway and not enough public transportation. But they did a pretty good job.

Young people who enjoyed these ‘loans’ grew up smarter, healthier, and richer than they otherwise would have, and understood that they were supposed to “pay it forward” to future generations, for example by keeping the educational system staffed with lots of dedicated, well-trained teachers, in good buildings and in small classes, with college counselors and up-to-date books. California schools had physical education, art for everyone, music and theater, buildings that looked as though people cared about them, modern languages and ancient languages, advanced science courses with labs where the equipment worked, and more. They were the envy of the world, and they paid off better than Microsoft stock. Same with our parks, coastal zone protection, and social services.

This deal held until about thirty years ago, when for a variety of reasons, California voters realized that while they had done very well from the existing contract, they could do even better by walking away from their obligations and spending what they had inherited on themselves. “My kids are finished with school; why should I pay taxes for someone else’s? Posterity never did anything for me!” An army of fake ‘leaders’ sprang up to pull the moral and fiscal wool over their eyes, and again and again, your parents and their parents lashed out at government (as though there were something else that could replace it) with tax limits, term limits, safe districts, throw-away-the-key imprisonment no matter the cost, smoke-and-mirrors budgeting, and a rule never to use the words taxes and services in the same paragraph.

Now, your infrastructure is falling to pieces under your feet, and as citizens you are responsible for crudities like closing parks, and inhumanities like closing battered women’s shelters. It’s outrageous, inexcusable, that you can’t get into the courses you need, but much worse that Oakland police have stopped taking 911 calls for burglaries and runaway children. If you read what your elected officials say about the state today, you’ll see things like “California can’t afford” this or that basic government function, and that “we need to make hard choices” to shut down one or another public service, or starve it even more (like your university). Can’t afford? The budget deficit that’s paralyzing Sacramento is about $500 per person; add another $500 to get back to a public sector we don’t have to be ashamed of, and our average income is almost forty times that. Of course we can afford a government that actually works: the fact is that your parents have simply chosen not to have it.

We should be attributing culpability, not just assigning blame.

  • Meta

  • Pages

  • Statcounter


    View My Stats