August 27, 2009

Panda cub diary 2009: Yun Zi

Bai Yun's fifth cub was born on August 5, 2009 in the San Diego Zoo. Of course, I've been diligently shooting over-the-top-cute screen captures from the webcam ever since. Here are some of the best, in order.


Aug. 6: Not much to see - he's hidden!


Bai Yun and her new cub


Aug. 6: Peeking out


Bai Yun and her new cub

Aug. 10: Just the tail

The new cub

Aug. 13: So small

New cub

Aug. 14: Left alone for a rare moment

Cub, all alone

Aug. 17

Today's Panda

Aug. 17

Today's Panda

Aug. 17

Today's Panda

Aug. 17

and one more...

Aug. 18: Finally, a good clear shot!

New cub

Aug. 25

Picture 10


Aug. 25


Bai Yun and her cub

Aug. 26

Picture 15

Aug. 26

Picture 19

Aug. 26

Picture 20

Aug. 26: Little claws

Picture 21

Aug. 26: It's a boy!

Boy?

Aug. 26

Picture 28

Aug. 26

New cub
Aug. 26: trying to roll over trying to roll over

Aug. 26: Wailing

Wailing cub

Aug. 26: Panda belly button!

Panda belly button

Aug. 26: Yowling

Yowling panda cub

Aug. 26: left alone

All alone

Aug. 26: Wiggle!

The little guy

Aug. 27

Picture 12

Aug. 27: Oops! Fell over

Picture 14

Aug. 27

Picture 16

Aug. 27

Picture 2

Aug. 27

Yawn

Aug. 28: Hey!

Picture 9

Aug. 31

Picture 5

Aug. 31

Picture 17

Aug. 31: LICK!

Picture 11

Sept. 8: Video!

Sept. 10

Color pics of the new cub!

Sept. 10

Picture 29

Sept. 14

Biggest wiggle yet!

Sept. 14

Picture 45

Sept. 17

Picture 8 Picture 15 Picture 13

Sept. 25

Picture 32

Sept. 25

Picture 29

October 1

Close-up October 14 Looking up at the camera

October 15

Panda cub

October 20

Screen shot 2009-10-20 at 4.40.28 PM

October 22

Screen shot 2009-10-22 at 2.18.25 PM

October 22

Peek-a-boo

From his ninth exam: Eyes wide open

Screen shot 2009-10-29 at 1.30.35 PM

November 4

Learning to crawl

November 5

Screen shot 2009-11-05 at 3.01.49 PM

November 11: Video!

November 19: Video!


November 19


Playing with his feet

December 14: a video drama

He got mom to put him up on a little platform, then she walked outside and left him up there. I was sure something funny would happen so I started a screen capture. Sure enough - he dove off and did a somersault. Here it all is:
Posted by ellen at 5:35 PM

August 17, 2009

fatal error: class 'OAuthCommonHooks' not found

On installing the OAuth module in a Drupal site, this error appeared:
fatal error: class 'OAuthCommonHooks' not found in [path]

Fatal error: Class 'OAuthCommonHooks' not found in /drupal-6.13/sites/all/modules/oauth_common/oauth_common.module on line 58

Apparently you can fix it one of two ways: if the site is still working enough to get to the performance page (?q=admin/settings/performance), just hit the Clear cached data button at the bottom of the page.

If the site is down, open phpMyAdmin and find the cache table. Click Browse and delete the row with "autoload" in the cid column.

Picture 35.jpeg

Thanks to xolotl for this tip.

Posted by ellen at 4:00 PM

Drupal: increase upload file size limit

By default, Drupal enforces file-size limits on uploads. Although there is a place in Drupal's File Upload settings to alter the maximum file sizes (/admin/settings/uploads), chances are your PHP settings limit file size to 2MB or so.

Fortunately, it's easy to change. Simply upload a file called php.ini containing these entries to the directory containing drupal :

memory_limit = 50M
upload_max_filesize = 10M
post_max_size = 20M

This will raise the available limit, and you can then change the settings for each Drupal role on the settings page within Drupal:

http://yourdrupalserver.com/admin/settings/uploads

Posted by ellen at 1:56 PM

August 13, 2009

Final Cut Pro quits on startup

If the scratch disk used by Final Cut Pro cuts out in the middle of an export, Final Cut Pro becomes unstable: the next time you try to launch it, it will crash on startup.


Fortunately, it's pretty easy to fix. Delete the following preference files:

~/Library/Preferences/com.apple.FinalCutPro.plist ~/Library/Preferences/Final Cut Pro User Data/Final Cut Pro 6 Preferences ~/Library/Preferences/Final Cut Pro User Data/Final Cut Pro Obj Cache ~/Library/Preferences/Final Cut Pro User Data/Final Cut Pro POA Cache


Thanks to Andy Mees for this tip.

Resources: Apple Discussions thread on this issue

Andy also notes that you can use the Preference Manager app from Digital Rebellion to manage these preference files.
Preference Manager

Posted by ellen at 11:41 AM

August 10, 2009

IE8: Font size problems

Now that Internet Explorer 8 is out, I'm getting some reports of font-size issues: text that looks fine in all other browsers becomes very tiny. When I check the same pages in my own IE8 with settings right out of the box, the fonts look fine, so I doubt it is a CSS problem. Here are my suggestions for troubleshooting these problems. You'll need to check all the new settings that can cause font-size issues.


  • Go to View : Zoom and check that the zoom is set to 100%.
  • Then go to View : Text Size and check that it is set to Medium. Actually if you are on a very high resolution monitor you may need to increase this a notch.
  • If that did not help, go to Tools : Internet Options, click Accessibility and try clicking Ignore font sizes specified on web pages.

Posted by ellen at 10:45 AM

August 8, 2009

Drupal: set up a draggable card sort view - Part 1


Drag and drop your items into order


Drupal's Draggable Views module makes it possible to create tables with Ajax-style drag and drop rows. Each row has a "handle" that makes it possible to drag it up or down to change the order of the items in the table. Draggable views are perfect for making "To-do" lists, outlines, and any kind of list where you need to constantly reorder individual items. I recently used it to build a draggable "card sort" view for research cards. This enables a researcher to enter cards in no particular order, then organize them when it comes time to write up the research. It would work just as well for organizing a novel or script.

The problem with the Views module is that there is sort of an irreducible complexity to designing a view, and it can be quite difficult at first to figure out all the steps involved in getting the outcome you want. There are so many options and settings and a few minor usability issues which make it all quite confusing at first. This tutorial will give you an introduction to the concepts and walk you through building an idea organizer using draggable tables.

Here's a closeup of a Draggable table. Each row has a cross-shaped "handle" that enables you to drag the entire row up and down the table at will.







Install the modules required by Draggable Views


  1. First, spend a little time planning your view. What type of node do you want to sort? Are there any other content items in your Drupal setup that use that type of node also? If so, can you somehow distinguish between them using taxonomy terms so that you can filter the undesired nodes out of the table? In my case, when building my research card sorter, I needed to create a custom "Research Card" type node with additional fields anyway so I didn't have to sort the nodes out by Taxonomy. However because I used the Content Construction Kit module (CCK), I had to make sure to enable the DraggableViews CCK handler. Make sure you have the right Views modules installed for what you will be using.

    • "Views,"
    • "Views UI,"
    • "Draggable Views"
    • and, if you are going to be using the view to display a CCK-dependent content type, you will need the "DraggableViews CCK Handler".





    • Go to Home > Administer > Site Building > Views
    • Click the Add tab to create a new view. 
    • Enter a one-word name and a description - I've called my example view "sortable2."
    • Set view type to "node."
      Click Next.


    addview2.png

  2. Click the Edit tab.
    • Click Defaults. You can format the same view in multiple ways: page format, block format, feed format, etc. All of these versions take their start from the Default settings, and then override them with the requirements that differ for that particular format.
    • When you click the name of the format - in this case "Defaults" - at the upper left, you will see a list of its settings and below them, a "Live Preview" area which will show you how it will look with the current settings.

    Safari001.jpg


Continue to next section "Part 2 of 8" =>

Posted by ellen at 5:00 PM

August 6, 2009

Adobe Captivate for Mac is in beta

Good news for those who are interested in creating interactive learning content on the Mac: Adobe Captivate for Mac is in beta testing.

You can volunteer to test the pre-release versions here:

Prerelease Interest Form
In the question 'why do you want to participate in the pre-release program?' mention your interest in the Mac version.


Posted by ellen at 10:49 AM

August 5, 2009

Eclipse CVS for beginners: How to switch workspaces

You can set up multiple workspaces in CVS. This is useful for maintaining DEV, TEST and PROD environments, syncing them all to the project in the CVS repository, or it can be used to maintain differerent projects. You can also have more than one project folder in a single workspace.


Continue reading below break...








  1. Select Switch Workspace : Other from the File menu.

    Choose other


  2. Select the folder you want to use as your workspace for this project.

    Choose Workspace folder

    Eclipse will close and reopen, showing the new Workspace's project folder(s) in the Project Explorer view.

    the chosen workspace





Posted by ellen at 2:38 PM

Beginning Eclipse CVS - Basics 4: Check out an existing project from the CVS repository

<= Back to previous section "Import an existing set of files"

  1. Select Import from the File menu.

    selectImport


  2. Continue reading below break:





  3. In the Select dialog, choose CVS : Projects from CVS as shown.It will prompt you to choose a CVS repository. Choose the one you want to use, then click Next >.

    projects from cvs



  4. Choose Use an existing module. Select the project in the list that you want to check out.


    Eclipse004.jpg

  5. This will add the folder to your workspace, or, if you already have a folder in your workspace with the same name, it will overwrite that folder.

    select Common folder

    For example, in the local workspace shown below, the folder "common" will be overwritten with the folder "common" from CVS.

    local folder structure



  6. To download only one subfolder into the root folder of the project on your workspace, select Checkout into existing. You'll probably want to leave Checkout subfolders checked.

    checkout into existing


Continue to next section "How to switch workspaces" =>













Posted by ellen at 1:30 PM

Beginning Eclipse CVS - Basics 3: Import an existing set of project files into CVS

<= Back to previous section "Create a Project from Scratch"


  1. Once you have created a workspace, you need to add files to it somehow. If you already have existing files that you want to use in your project, you'll need to import them. You can also check out an existing project from CVS or import files from a zip archive, among other possibilities.

    Continue reading below break...






    Create a new, empty project in your workspace to import the files into: in the Resources Perspective, select New Project from the File menu.

    Eclipse002.jpg


  2. Enter a project name and leave Use default location checked. It is usually set to the root of your workspace. It is possible to have projects outside the workspace, but it is simpler to have all your projects and files inside a workspace. You can have multiple workspaces, however.

    Picture 27.jpg



  3. Select Import from the File menu. The Import dialog will appear.

    selectImport


  4. Select General : File System.

    Picture 19.jpg


  5. Browse to the directory containing the files you want to import. Click Choose.

    Picture 20.jpg
  6. Once you select the directory, you'll notice this warning: 

    Picture 21.jpg


  7. The warning will disappear when you check the box next to the directory listed. Leave Create selected folders only selected. At this point it is set to import every file and folder within "portal." If you were to select Create complete folder structure, it would also create the parent folders of "portal."

    Picture 22.jpg
  8. It is possible to restrict the files that will be imported by type. You can choose from the types listed, or enter your own choices in the Other Extensions box. Use this format:
     jpg,gif,png


    Picture 23.jpg

  9. If you filter the file types, the check next to the folder name turns to a minus-sign indicating a partial selection has been made.




  10. The project will appear in your workspace, in Project Explorer.


    Picture 28.jpg


  11. To add the new project to the CVS repository, right click (Control-click on Mac) the project folder, and select Team : Share Project


    Eclipse003.jpg




  12. Select the repository you want to use and click Next >


    <Picture 46.jpg


  13. It will display a list of all resources that have not yet been committed to the repository. Click Finish. It will ask you to enter a comment each time you commit files, so enter "Sharing Project to CVS" or something similar. Click Finish to complete the process.


    Picture 47.jpg

Continue to next section "Check out a project from CVS" =>






Posted by ellen at 1:16 PM