Kenjun

April 29, 2008

iTunes could not connect to the iTunes Music Store

Filed under: Apple, MacBook, MacOSX, iTunes — kenjun @ 5:24 pm

Some help here on why iTunes sometimes cannot connect to the iTunes Music Store. In this case with a MacBook…

http://www.kenjun.com/blog/?p=115

November 1, 2007

MacOSX Compact Sparse Image…

Filed under: Apache, MacBook, MacOSX — kenjun @ 10:03 pm

One useful OS X feature is the ability to create disk images. A disk image is a single file that, when double-clicked, appears like a typical hard drive to the operating system. (Most software you download comes on a disk image.) Disk images a great way to store related files that you don’t need to use often, as they can be “out of sight” until you need them. They’re also useful if you want to store something securely, as you can create encrypted disk images that require a password to mount.

There are essentially two types of disk images—a normal disk image and a sparse disk image. With a normal disk image, the disk image will consume as much drive space as its size, even when empty—i.e. a 40MB normal disk image requires 40MB of drive space, even if you’ve never used it. Sparse disk images, on the other hand, are disk image files that require just as much space as their contents require. So a 40MB sparse disk image will only need 40MB of drive space if you’ve saved 40MB of data onto it. The disk image will grow automatically as space is required.

What isn’t so obvious is that a sparse image won’t shrink automatically. Check out the link for a handy article on how to compact a sparse image.

http://www.macworld.com/weblogs/macosxhints/2007/06/compactsparse/index.php

August 24, 2007

Erase and reburn a CD-RW on a Mac

Filed under: MacBook, MacOSX — kenjun @ 12:50 pm

I have been using CD-RW disks on my Apple MacBook Pro, and while I have figured out how to use a Burn Folder to create the disk in the first place, how do I rewrite the disk with newer content without having to buy something expensive like Roxio Toast??

http://www.askdavetaylor.com/erase_reburn_cdrw_on_mac_os_x.html 

August 7, 2007

Upgrading to PHP5 on the MacBook

Filed under: MacBook, php — kenjun @ 10:20 am

An upgrade to PHP5 using the Entropy package on my MacBook just tanked.

Turns out the fault is pretty basic.

If you’ve been running PHP already (i.e. you have already uncommented the lines in your httpd.conf file that allows PHP to run) then Apache can’t figure out which version of PHP to use and the install fails.

Simple solution - recomment those PHP lines.
E.g. #LoadModule php4_module        libexec/httpd/libphp4.so
#AddModule mod_php4.c

http://www.entropy.ch/phpbb2/viewtopic.php?t=2390

August 6, 2007

ffmpegX failing to convert .MOV to .avi mpeg4…?

Filed under: Apple, MacBook, MacOSX, ffmpegx — kenjun @ 7:54 am

On my MacBook I dropped in a .MOV file into ffmpegX, selected DivX AVI and clicked Encode… with no luck.

The error message I kept getting finished with:

Movie-Aspect is undefined - no prescaling applied.”

The solution was to go into Options and change Scaling method from Fast Bilinear to Bilinear.

Plenty more discussion on this here:

http://www.videohelp.com/forum/archive/encoding-finishes-immediately-when-using-flv-source-t316847.html 

July 12, 2007

MacBook drops wireless when on battery and connecting to certain routers

Filed under: Apple, MacBook — kenjun @ 8:03 pm

Quite annoying but:

I’ve just noticed that my MacBook drops its wireless connection when on battery power and connected to a Netgear DG834 router.

It only happens when on battery power and the internet connection is idle for a few seconds.

SOLUTION: Either do not run on battery power OR if you must do so do not let the internet connection run idle.

IN PRACTICAL TERMS:
1. Keep your Macbook plugged in.

OR
2. On battery open a TERMINAL session and run the following command at the prompt.
$ nohup ping -i 10 somehost.com > /dev/null &
where somehost.com can be any server that responds to ping.

http://www.appledefects.com/wiki/index.php?title=MacBook
and
http://kristopherjohnson.blogspot.com/2006/08/macbook-wireless-connection-drops.html

Leopard Update:

Now, using Leopard, I notice that it disconnects periodically and then reconnects which is better than before but, not great. Not sure if this is an Apple or Netgear problem.

Blog at WordPress.com.