Sketchup - Intro to sections

This tutorial show how to use the basic functionality of the section tool in Google Sketchup including positioning, limitations, and the context menu - reverse view, align to section, group section lines.

Sketchup Jackpot

I found a great tutorial series for learning how to draw a house using Google Sketchup. I’ve only watched this one. If the others are as good, I’ll watch them all.

PHP cURL

One of the most important options for using PHP’s cURL library is CURLOPT_RETURNTRANSFER. When set to true, curl_exec() will return the transfer as a string instead of outputting it out directly. This let’s you store it in a variable.

Symfony (CLI) command line interface tasks

A quick tip for deploying a Symfony 1.1 application. If you need a find a Symfony 1.1 CLI task, simply type

php symfony list

If you are like me and have a Symfony 1.1 installed and sym linked in a different location for testing purposes, you would type

symfony11 list

Paper Critters

One of this year’s South By Southwest winners is Paper Critters. It’s a lot of fun to create your own critter. There are a lot of critters created. Here are a few of the critters that I have made.

Setting up Symfony 1.1 on Ubuntu

Following the lead of Niko at Prendre un Cafe, I decided that I wanted to experience the new features of Symfony 1.1. First, let me say that I can’t read French, but I got the gist of what to do from the well documented Symfony 1.1 setup steps that Niko provided. Niko’s installation technique allows Symfony 1.0 and Symfony 1.1 to be run in parallel.

Some of the new features of Symfony 1.1:

  • Configuration is moving away from the config.php file to a configuration class
  • Form and validation classes have been reworked
  • Better UJS support
  • CLI tasks as classes

I will investigating these changes over the next week or so as I build a test application to explore these changes. For now, though, here is how I installed Symfony 1.1 on Ubuntu. Once again this install process was greatly aided by a post at Prendre un Cafe. Thanks.

First, install Symfony 1.1.
cd /usr/share/php5 , this is where my Symfony 1.0x install resides.
svn co http://svn.symfony-project.com/branches/1.1/ symfony11

Second, hook up the CLI command symfony11 to the right place in the newly installed Symfony 1.1 and verify the command and install.
ln -s /usr/share/php5/symfony11/data/bin/symfony /usr/bin/symfony11
symfony11 -V

The symfony11 -V command should output something similar to “symfony version 1.1.0-DEV (/usr/share/php5/symfony11/lib).”

Next, create a test directory in your Symfony projects directory, generate a test project and an app.
cd /path/to/sf/projects/
mkdir sf11test
cd sf11test
symfony11 generate:project sf11test
symfony11 generate:app frontend

Edit your Apache2 virtual host file.

<VirtualHost *:80>
  ServerName local.sf11.com
  DocumentRoot "/path/to/symfony/projects/sf11test/web"
  DirectoryIndex index.php
  Alias /sf /usr/share/php5/symfony11/data/web/sf
  <Directory "/usr/share/php5/symfony11/data/web/sf">
    AllowOverride All
    Allow from All
  </Directory>
  <Directory "/path/to/symfony/projects/sf11test/web">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>


Remember to change /path/to/symfony/projects and /usr/share/php5/symfony11/ to reflect your paths.

Finally, edit your /etc/hosts file to include local.sf11.com or whatever your fake domain happens to be.

You can now surf to local.sf11.com to see your newly installed Symfony 1.1 project.

Acid 3

The Web Standards Project has released the third version of their Acid test. The goal of this test is to create a common testing framework to verify a browser implementation of web standards. The Acid3 test are organized in buckets and stress the following:

  • Bucket 1: DOM Traversal, DOM Range, HTTP
  • Bucket 2: DOM2 Core and DOM2 Events
  • Bucket 3: DOM2 Views, DOM2 Style, CSS 3 selectors and Media Queries
  • Bucket 4: Behavior of HTML tables and forms when manipulated by script and DOM2 HTML
  • Bucket 5: Tests from the Acid3 Competition (SVG,[5] HTML, SMIL, Unicode…)
  • Bucket 6: ECMAScript

From Wikipedia’s entry on Acid3

As of now, no browser passes Acid3. Anomalous Anomaly has tested numerous browser against Acid3 and found some pretty interesting results, namely that the old IE5.5 out performs both IE6 and IE7, but luckily not IE8, which comes in with a paltry 17% of the test passed.

Web round up #3

This is a bit of a longer web round up as I am compiling news from a couple of weeks.

Web round up #2

Web round up #1

I am trying something new. A periodic web round up of stories about the web. Here’s the first installment.


  • Users, Web developers vent over IE7
    - IE7 is definitely better than IE6. I hope MS keeps developing it and releasing patches and new version often. More browsers from MS might be a problem though. Because browser adoption rate is slow, this would lead to many more versions of MS. The development environment could become increasing complex.
  • Google apps get faster on iPhone - I am continually impressed with Google. They scare me, but I am impressed.
  • Facebook’s Zuckerberg: ‘We simply did a bad job’ handling Beacon - Is Facebook the new Corvair? Instead of safety devices, we need privacy devices.
  • ISPs intercept and modify web pages - Won’t copyright holders be upset that their content is being modified. This is a bad idea by the ISPs. I smell a lawsuit coming.
  • Preview of HTML5 on A List Apart - I am not sure what I think of HTML5. It seems okay, but it also seems like tag soup. I also assume its adoption rate will be slow because, from what I can tell, it will break backwards compatibility with existing browsers

That’s it for now. I’ll keep writing roundups as time and stories become available.