Perpendiculous Programming, Personal Finance, and Personal musings

2009.09.23

@synchronized, NSLock, pthread, OSSpinLock showdown, done right

Filed under: Uncategorized — cwright @ 1:19 am

Somewhere out there on the internet, there’s a “showdown” between @synchronized, NSLock, pthread mutexes, and OSSpinLock. It aims to measure their performance relative to each other, but uses sloppy code to perform the measuring. As a result, while the performance ordering is correct (@synchronized is the slowest, OSSpinLock is the fastest), the relative cost is severely misrepresented. Herein I attempt to rectify that benchmark.

(more…)

2009.09.12

CollegeAdvantage referral bonus again

Filed under: Uncategorized — cwright @ 1:33 pm

Last year, CollegeAdvantage’s 529 college savings plan offered a referral bonus where those opening new accounts, as well as those referring them, received $25 bonuses.  They’ve recently reinstated that bonus, so I figured I’d post some shameless self-promoting in the hopes of getting y’all some free college savings (for kids, etc), and get some for me as well (for our future children). (more…)

2009.09.05

alloc, allocWithZone showdown

Filed under: Uncategorized — cwright @ 8:14 am

This brief post will explore some more mundane (but still measurable!) aspects of optimizing Objective-C software.  This time around, we’ll talk about object allocation. (more…)

2009.07.02

Pricey ivars

Filed under: Programming — cwright @ 12:20 am

(apologies in advance — this will be a rather technical post.  It’s eventually intended for fdiv.net, but while it’s getting migrated I figured I’d plop it down here.)

Instance Variables (or, more briefly, ivars) are a pretty simple trend in Object Oriented Languages.  They’re data that get carried along inside an object, helping to define its state.  While it would be fun to elaborate more on this, this particular article isn’t intended to teach the basics of OOP.  So if you’re unsure of what an ivar is, this article probably isn’t for you. (more…)

2009.06.24

Algorithmic

Filed under: Meta,Personal — cwright @ 12:02 am

The vast majority of my employment time is spent solving problems.  The remainder is spent in a sort of meta-problem-solving state, where I try to organize the order in which I should solve the problems that are outstanding to maximise some set of criteria (where the criteria is usually a tug between profits, personal curiosity, and getting people to shut up.) (more…)

2009.05.15

curriculum vitae

Filed under: Programming — cwright @ 11:02 pm

A lot of lists have popped up where I frequent (digitally, at least) lately.  Intended schedules, self-diagnostics, recipes, time-lapse accomplishments, etc.  You know the drill.  At one point in the not-so-distant past, I was probably pretty good maintaining such things as well.  I suppose I need to refine my time management skills (or lack thereof) to keep things fresh. (more…)

2009.03.05

Shadows

Filed under: Uncategorized — cwright @ 9:36 pm

I guess it’s been a while.  As is oh-so-often the case, I overcommit myself to too many things, and then pay dearly.  Some may call it a trade, time for experience, money, or glory.  I simply see it as exploration.  With a lot still on my plate, I suppose it’s appropriate to take a brief break from Xcode, and jot down some thoughts to keep this blog from getting too stale.

(more…)

2009.01.05

Vanity and prescience

Filed under: Meta,Personal — cwright @ 10:55 am

I am a somewhat vain person, and once I got my car, I decided to brand it with a variation of my name for my license place.  My name, being Christopher, could be somewhat shortened/abbreviated as “xtopher”. (more…)

2008.12.08

“Security Questions”

Filed under: Personal — cwright @ 1:35 pm

Every time I have to register for some site that performs financial transactions on my behalf, I have to register, create an account, and then pick stupid security questions.  These used to be fairly static questions, but then a few years ago someone got the bright idea to make variations on them to make it “more secure”.  The end result, however, is less than desirable.

(more…)

2008.11.25

$25 for funding a 529 plan

Filed under: Personal,Personal Finance — cwright @ 9:37 pm

From now (actually a couple weeks ago) until December 15th, 2008, you can get a free $25 contribution if you open a new 529 account at CollegeAdvantage.com and deposit $25.  (meaning, you add $25, they add $25 a week or so later, doubling your investment.)   Pretty slick, so here’s how it works.

(more…)

« Newer PostsOlder Posts »

Powered by WordPress