2011-03-29

Pyamf Not Installing for Tipfy

I have spent the last three days trying to get Pyamf to work in tipfy to no avail, every time I try I got an error saying it could not compile.
AMF-0.6.1/distribute-0.6.14-py2.5.egg
WARNING: Could not build extension for 'temp.tmpla7hzZ.distribute-0.6.14.tests.shlib_test.hello', no source found
no previously-included directories found matching 'doc/build'
no previously-included directories found matching 'doc/_build'
warning: no previously-included files matching '*.swf' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
cpyamf/amf0.c:9329: fatal error: error writing to -: Broken pipe
compilation terminated.
lipo: can't open input file: /var/folders/lP/lPvYUKh7FLinUlJcZuddfE+++TI/-Tmp-//ccxqbDjN.out (No such file or directory)
error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1
An error occurred when trying to install PyAMF 0.6.1. Look above this message for any errors that were output by easy_install.
While:
  Updating app_lib.
  Getting distribution for 'pyamf'.
Error: Couldn't install: PyAMF 0.6.1
It was driving me insane that was until this morning when I actually read the error and changed was I was searching for, after a while I found a simular error and with a little guess work I came up with the following:
sudo env ARCHFLAGS="-arch i386 -arch x86_64" easy_install multiprocessing
And thats it.

2011-03-09

How to turn off the Shutdown Event Tracker for Windows Server

Configure the Shutdown Event Tracker
  1. Click Start, Run, and then enter gpedit.msc. Click OK.
  2. The Group Policy Object Editor console opens.
  3. In the left pane, expand Computer Configuration, and then Administrative Templates.
  4. Click System
  5. In the right pane, find and double-click the Display Shutdown Event Tracker.
  6. When the Display Shutdown Event Tracker Properties dialog box opens, select one of the following options:
    • Not Configured
    • Enabled
    • Disabled
  1. If you select the Enabled option, you can choose between the following options to specify when the Shutdown Event Tracker should be displayed:
    • Always: This option is self explanatory. 
    • Server Only: When selected, the Shutdown Event Tracker is displayed for only Windows Server 2003/2008 servers.
    • Workstation Only: When selected, the Shutdown Event Tracker is displayed for only Windows XP Professional workstations.
  2. If you want to view help information on the Shutdown Event Tracker application, click the Explain tab.
  3. Click OK, and then close the Group Policy Object Editor console.

2011-03-04

Use your own tools

I got an email today from Microsoft and it had a calendar appointment in it for outlook when I looked at the map link and is was using google maps not bing.
Maybe if you want other people to use your maps you should use them yourself.

2011-02-08

Don't By Mass Effect 2 from PSN

I have had real problems with getting Mass Effect 2 to download from PSN (I downloaded it 4 times and it failed every time, which cost me $50 for bandwidth). Over the last 2 weeks I have made many phone calls trying unsuccessfully to get a refund for the purchase to my credit card so I can go and buy Mass Effect 2 from the store. Today I got this email.
Hi 
We only provide refunds to the wallet.
As per our Terms of Service "If we are liable to you for failure to deliver content or services, our liability is limited either to re-providing the relevant content or service or (at our option) refunding the amount you paid for the content or service to your PSN wallet." 
Regards
Maddalena
It looks like I am not getting Mass Effect 2 after all, and I have $100 of PSN credit I don't want to use.

Thanks for nothing Sony!

2010-08-20

Simplicity vs. Choice

I found this video today it is really worth watching if you do anything with software.

2010-07-14

Why CamelCase is good

Just though I would share today I was woking on someone sp and found the name was:
SPF_GETHARMONISEDSERIESDETAILTARIFFBYHARMONISEDSERIESDETAILID
Readable? I think not.

But with a small change, you can actuall read it:
spf_GetHarmonisedSeriesDetailTariffByHarmonisedSeriesDetailID.

2010-07-13

NotImplementedError: Unable to find the Python PIL library

I have been playing with Google App engine on both mac and windows and in both cases when using images.resize I get the following error:
NotImplementedError: Unable to find the Python PIL library.  Please view the SDK documentation for details about installing PIL on your system.
After using my friend Google I found the solution.

For Mac OSX:
  1. Open to Terminal by navigating to your Applications folder, open Utilities, and double click on Terminal. You will be greeted with a message similar to this:
    Last login: Tue Mar 6 17:21:36 on console
    Welcome to Darwin!
    imac:~ Matt$
  2. Type in "sudo easy_install --find-links http://www.pythonware.com/products/pil/ Imaging" into the Terminal and press enter.
  3. Enter in your password when prompted and then you are done.
For Windows:
  1. Download "Python Imaging Library 1.1.7 for Python 2.6" from their website and install.
  2. Reboot and then you are done.
Simple huh?