Debits and Credits

Accounting can be a little counterintuitive. It’s important that the accounts sum to zero, but the question of how credits and debits are assigned to a transaction can be a little obscure. For instance, if you’re purchasing a long-term asset, you:

  • debit your asset account
  • credit your bank account

and if you’re depreciating an asset, you:

  • debit your depreciation expense account
  • credit your accumulated depreciation/contra asset account

in other words, as you accumulate cash, or assets, or expenses, you debit the accounts tracking those things. As you accumulate liabilities or income, you credit the accounts tracking those things.

The key is that, contrary to what you might expect, “credit” means “to take away from”, and “debit” means “to add to” (well, sort of, to a first approximation, for asset and expense accounts, at any rate). Wikipedia has a passable explanation.

Posted in Jack Handy | Comments Off

Six Word Stories: Squirrels

**Boom!**

“Success! Twenty mines, twenty squirrels!”

Posted in Six Word Stories | Comments Off

Hooking UIWebView

UIWebViews are an easy way to embed a web browser into your application. You can also use them to perform (what I think is) a neat trick by assigning a UIWebView instance a delegate which implements webView:shouldStartLoadWithRequest:navigationType:.

Continue reading

Posted in iPhone | Comments Off

Tweeter

Some random thoughts on Twitter.

Continue reading

Posted in Jack Handy | Comments Off

Encryption Export

When you submit an app to AAPL’s iTunes App Store, you’re asked:

Export laws require that products containing encryption be properly authorized for export.

Failure to comply could result in severe penalties.

Does your product contain encryption?

Ever wonder what happens if you answer “yes”? Well, about 45 days of paperwork happens, according to the nice folks at Zetetic who’ve laid out a roadmap to the process of getting your app approved for export.

Since it can take 1-2 weeks to even open the account required to submit a request for export authorization, it’s probably a good idea to get started as soon as you begin to think that you might one day include encryption in your product. And, according to this guy, even using SSL might count (he was waiting to hear back from an export compliance specialist @AAPL when the blog post ended) as “including encryption”.

Posted in iPhone | Comments Off

Magic

There are a lot of blogs out there, and most of them die young. That doesn’t mean they’re not entertaining. For instance, here’s a blog that seems to have only gotten a single post, but it’s an interesting one: an analysis of David Copperfield’s “Portal” illusion.

Here’s some video of the trick (valid until Copperfield’s lawyers find it, I suppose):

Posted in Jack Handy | Comments Off

I Habd A Code

I’m a bit under the weather, so all I’ve got today is a quick set of useful co-ordinates. They are: (47, 159).

Continue reading

Posted in iPhone, Python | Comments Off

Way Out of Hand

Full Bar!There’s a great little speech in the (flawed, but not without its charms) movie “Last Man Standing“; the part I’m interested in today goes like this:

Two gangs is just one too many. I’m not an idealist. I know a lot of things that people do are awful low, but that’s between them and God. … But what I’m concerned with is keeping a lid on things, and what we got here in Jericho is just way out of hand…

People don’t think about it much, but that can happen. Consider the banknote to the right.

Posted in Jack Handy | Comments Off

Full Bar

Full Bar!According to a flyer stuck in my door, my neighborhood Togo’s sandwich place has a “full bar”. Not a salad bar, a booze bar. Despite what the rather idiosyncratic spelling of the flyer might lead you to believe, this is not a practical joke. It really is a Togo’s with a bar. Or, rather, a bar with a Togo’s along one wall. It’s the weirdest thing I’ve seen this week.

Posted in Jack Handy | Comments Off

New App: iKnowPeople

Friends, Romans, Countrymen: I have an announcement! I have a new app available in the iTunes app store: iKnowPeople.

The first version of this app is narrowly tailored to keeping you on your toes with regard to people you’ve met and the things you’ve discussed with them (so that you can remember them later); it’s all very Dale Carnegie. I’m busily working on enhancements that should make it an even more useful, general-purpose tool for building your real-world social network, but, for now, an invitation:

I have a limited number of promotional codes to give away, and if you send an e-mail to iknowpeople@fairoakslabs.com, I’d be happy to send you one (while supplies last).

Posted in Projects | Comments Off