Side Channel

  • home
  • resources
Home

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Navigation

  • Books
  • Feed aggregator

Recent blog posts

  • Ubuntu mirrors up and improved!
  • Google-jstemplate: Iterate object with unknown properties
  • nginx https proxypass for php apps
  • sugarcrm & memcache: Doing it Wrong
  • subversion and https in Ubuntu Karmic
  • Drupal: Views block delta converted to md5 hash
  • Ubuntu Server install requires PAE
  • Installing Drupal from command line
  • Drupal: Handling form field weight through CCK
  • minify javascript using Google Closure Compiler
more

angch's location

angch twitter

  • angch: Heading to Brunei. Business class for a change.
more

postgresql

kamal's picture

PHP CLI Segmentation Fault With pgsql

kamal — Mon, 13/07/2009 - 14:09

"Segmentation fault"

Got this every time running PHP from the command line, especially when working with Drupal. It doesn't caused any harm (script working just fine) and that's why I never look into it. But accidentally found this post and the suggested fix did remove the "Segmentation fault" message from appearing.

  • Commented pgsql in pgsql.ini
  • Load pgsql extension in curl.ini, before the curl extension.
  • php
  • postgresql
  • segfault
  • kamal's blog
  • Add new comment
angch's picture

#geekcamp Malaysia presentation: A Coder's Intro to PostgreSQL+PostGIS

angch — Wed, 10/06/2009 - 19:53

Gave a quick and dirty talk at #geekcamp Malaysia: A Coder's Intro to PostgreSQL + PostGIS.

This looks like a topic I'd be revisiting and revising as I'm heavily into PostGIS these days, and definitely felt that the I missed several important topics. I'll just put this up here for now, and we'll see how well it improves.

  • geekcamp
  • opensource
  • postgis
  • postgresql
  • talk
  • angch's blog
  • Add new comment
  • Read more
  • 1 attachment
angch's picture

Drupal: PostgreSQL vs MySQL

angch — Thu, 26/03/2009 - 19:11

Let's get this out of the way first: MySQL beats PostgreSQL for Drupal sites in terms of raw performance. See this benchmark

But the real question is the how and why, and also how to make sites even faster and more scalable?

  • drupal
  • mysql
  • performance
  • postgresql
  • angch's blog
  • Add new comment
  • Read more
angch's picture

Dogfood, cobbler's kids, changes to blog.bytecraft.com.my

angch — Fri, 20/03/2009 - 13:16

Haven't been working on this site (blog.bytecraft.com.my) for a while. There are plenty of things that needs to be done, and while it's not perfect:

  • This site is based on our pulut's Drupal 6 branch. Easier to maintain several sites with well known and tested modules.

  • Changed the theme to Acquia's Marina. Still needs some tweaks to css for our content.

  • Experimenting with Drupal's cacherouter with memcache to speed things up.

  • Tweaked the PostgreSQL config a little (fsync is slow, asynchronous commit is a Good Thing). Yes, using MySQL for drupal would be faster, but it's dogfood, and we're more comfortable with PostgreSQL.

  • Added the lego logo.

  • acquia
  • cacherouter
  • cobbers.kids
  • css
  • dogfood
  • drupal
  • performance
  • postgresql
  • pulut
  • angch's blog
  • Add new comment
  • Read more
Syndicate content


Creative Commons License

  • home
  • resources

Standard Disclaimer.