Welcome to Elliot's home on the web

I'm Elliot, a computer engineering and computer science undergraduate at the University of Southern California in Los Angeles. Read my blog, subscribe to my feeds, visit my websites, and finally, if you know in person, add me on Facebook.

 

Blog

Elliot’s Short Updates for 2008-11-21 via Twitter

Posted in Life on November 21st, 2008 Be the first to comment

Elliot’s Short Updates for 2008-11-19 via Twitter

  • “Women make up 52% of the population, don’t you think we should protect this minority?” http://tinyurl.com/womenincs #
  • Watching old Nintendo commercials http://tinyurl.com/5gr2px #
  • Netbooks were first introduced a little over a year ago with the release of the first Asus Eee PC. Many will be wanting one this Christmas. #
  • “I don’t think much of a man who is not wiser today than he was yesterday.”
    – Abraham Lincoln #
  • retweet @sacredlotus wow, you won’t hear this on the US mainstream media - http://tinyurl.com/6b3w3k #

Posted in Life on November 19th, 2008 Be the first to comment

Give a Gift that Saves Money

Erica Douglass suggests that, this Christmas, we should “give gifts that will save the recipient money.” That’s an excellent idea.

The first thing that came to mind was Kill A Watt. This is a fascinating product which has recently dipped in price, and can now be had for about $20. That’s the sweet spot for most gifts, in my opinion. Not too expensive, and not too cheap. If you get 2 from Amazon, you can get free shipping. And 2 is the perfect quantity to get, because you can keep 1 for yourself and give the other away.


 
Some examples she mentions are CFLs, a programmable thermostat, or a “smart” power strip.

Read more: Good Gifts To Give: Five Guidelines To Giving Gifts Your Family and Friends Will Love

Posted in Travel on November 19th, 2008 Be the first to comment

Elliot’s Short Updates for 2008-11-17 via Twitter

Posted in Life on November 17th, 2008 Be the first to comment

How to Combine Multiple PDFs to Create a Multi-Page PDF

I’ll clarify this later, but for now I’ll quickly show you the following example commands. These should point a geek in the right direction.

Example 1

C:\Users\Elliot\Pictures>gswin32c -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=CS377

HW5ElliotLee.pdf -dBATCH first.pdf second.pdf third.pdf

Example 2

C:\Users\Elliot\Pictures>gswin32c -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=Stude

ntOrganizationFundingGuide.pdf -dBATCH StudentOrganizationFundingGuide1.pdf Stud

entOrganizationFundingGuide2.pdf

 

GhostScript GPL (gswin32c) is downloaded automatically as part of the installation process for CutePDF.

Ah, it’s described here:

http://www.codejacked.com/combine-multiple-pdfs-into-one-merged-document/

One note: you don’t have to restart, at least in Windows Vista. Just open a new command prompt after setting the PATH environment variable.

and for Linux:

http://www.codejacked.com/combine-multiple-pdfs-into-one-file-in-linux/

Posted in Travel on November 17th, 2008 Be the first to comment

Elliot’s Short Updates for 2008-11-15 via Twitter

  • Todd Pulliam on the Westmont College fire: “I told God I wanted to simplify my life—and he’s done it.” http://tinyurl.com/5p7lhw #
  • The idea that the landlord is supposed to repair an apartment is foreign to me. Most of the time, apartment damage is the tenant’s fault. #

Posted in Life on November 15th, 2008 Be the first to comment

Elliot’s Short Updates for 2008-11-14 via Twitter

Posted in Life on November 14th, 2008 Be the first to comment

Elliot’s Short Updates for 2008-11-13 via Twitter

Posted in Life on November 13th, 2008 Be the first to comment

iPhone Ad Hoc Distribution

Very tricky, but I got it to work. Here’s the fix:

dstewartms

Posts: 10
From: Seattle
Registered: Jul 12, 2008

Re: [iphone] ad hoc distrib
Posted: Jul 19, 2008 4:58 PM   in response to: dstewartms
SOLVED.

First, look at your ad-hoc provisioning file in text edit (just view it, don’t overwrite it!)

If it does NOT contain a line that says “<key>get-task-allow</key>” then you need to go to the program portal and get a NEW ad-hoc provisioning profile. There is a workaround where you can use the provisioning profile without this key, but Apple apparently has added this key to the ad-hoc provisions, and you might as well have the latest.

However, that is not the final fix.

The next thing you have to do is add a new file to the root of your project … file, new file, iphone, code signing, entitlements. Call it “dist.plist” …

Open that file, and it will say “get-task-allow” with a checkmark for “true” — this needs to be FALSE. Uncheck the checkbox, or if in text mode, type in “false”

OK, almost there!!!

Open the target build info window and where it says “Code Signing Entitlements” add “dist.plist”

CLEAN THE BUILD

BUILD AND GO

ENJOY.

MacBook Pro   Mac OS X (10.5.4)   iPhone 2.0

Also, if you’re seeing this error: “Your mobile device has encountered an unexpected error (0xE800003A) during the install phase: Verifying application” the solution might be:

just change your bundle identifier in the info.plist file as bellow

com.mycompany.appliction.*

mycompany==> your company name as in proviosing profile.
application ==> Application name as is in target application name

Posted in Travel on November 12th, 2008 Be the first to comment

Elliot’s Short Updates for 2008-11-11 via Twitter

  • Localizing Brain Tuner into Spanish #
  • Flickr and Del.icio.us were created during a down market. Looking forward to some good things coming out of this one. #
  • 31.47 words per minute on an iPhone - according to the free app “Idle Hands” #

Posted in Life on November 11th, 2008 Be the first to comment