Kenton Jacobsen is a 23 year old Photographer and web designer working in Southern California. A trained photographer with an artist's eye.

Geeks & God via Delicious

Wednesday, September 21, 2011  |  02:27:57 AM

Collide Magazine via Delicious

Wednesday, September 21, 2011  |  02:27:56 AM

Welcome to Grace Church of Alexandria - Grace Of Alexandria via Delicious

Wednesday, September 21, 2011  |  02:27:56 AM

College Park Church via Delicious

Wednesday, September 21, 2011  |  02:27:56 AM

PHP: A question of how to quote

Sunday, September 11, 2011  |  01:41:24 PM

This is my first really technical post on my blog here, so bear with me if you're not from the techie crowd (in fact, you may just want to skip this one, your brain cells don't need the stress). Single and double-quoted strings are an oft-argued entry PHP topic; however they are used so often that getting to the bottom of this issue could have significant performance improvements. Our goal in designing high performance websites is to optimize the common conditions and avoid the edge case gotchas. With that in mind, let's take a look at this issue.

When I started PHP 4, (which meant moving from the illustrious PERL) my good friend and ZCE Justin Beasley (@justbeez) was all about the single-quoted strings. I pretty much took his word and the documentation seemed to support them as a better go-to, but is it still that way in modern PHP? TL;DR is yes, but not by much. PHP has gotten a lot smarter in recent versions, but there still is overhead to variable embedding.

All of my loads of PHP Bench actually showed double-quoted strings performing slightly better than single (surprising!). Unfortunately he also does not note which version of PHP he is using. But, on the other side of the aisle, Micro Optimization notes that double quoted-strings are slower. Classy Llama (who also does not show which PHP version he's working on) shows a significant performance detriment to actually using an embedded variable over concatenation, and really if you aren't going to embed variables (other than avoiding escaping strings with lots of apostrophes) why would you want to use a double quoted string? As Classy Llama points out, there is a readability benefit as well to using concatenation and Zend.

Now, I'm thinking this is a version issue (yet another one who doesn't list his version), but this guy noticed that if you ever use a dollar sign that is unattached to a variable in a double-quoted string, there is a huge performance penalty. Even though this is an edge case, it's a great reason to use concatenated single-quoted strings. However Jeff Moore is suggesting that all the tests thus far are missing the boat because the actual embedding process will be done on interpretation which is not being considered in these processes. So, perhaps this is all meaningless. When it comes down to it, I think concatenated values are easier to read, and it's quite possible single-quoted strings perform better.

Hurricane Irene Part 2

Saturday, August 27, 2011  |  09:44:09 PM

I went into Manhattan to see how things were going over there. My driver (since there is no subway service) said that he's worked every NYC disaster for the last 10 years and was excited to get some extra cash today from the storm rates.

Staples had a sign with all of the things that were out of stock.

Read More. . .

Hurricane Irene Preparation

Saturday, August 27, 2011  |  12:44:09 PM

Read More. . .

Derek on the roof

Sunday, July 24, 2011  |  10:05:48 PM

Got to take these photos a few weeks back of a new friend Derek Stusynski for his new book. This was the roof at the building of a friend of a friend of his, and I'll take a NYC roof whenever I can.

Read More. . .

Nathan's Hot Dog Eating Contest

Monday, July 4, 2011  |  06:44:41 PM

There are few classic New York events that everyone knows about, the Macy's Thanksgiving Day Parade, the New York Marathon, Times Square New Years, and Nathan's Hot Dog Eating Contest. New Years is fun, but I really remember when Kobayashi was dethroned by Joey Chestnut (and last year arrested!) I've always wanted to see it, and this year, I got to see it with some special access. Anyway, without further ado, here are my best images from today.

As Joey enters with the mustard yellow belt, he passes a wall of his past accomplishments.

An 18-year-old member of the trampoline team "The Skywriters" entertains the crowd while they await the hot dog frenzy.

Read More. . .

Worst Website and Customer Service

Monday, February 21, 2011  |  04:58:32 PM

I have recently gotten into the habit of sending feedback to companies when I have thoughts or find issues with a website. As a developer, I know it is easy to overlook an issue in interaction, or something renders differently in a browser, or a code update affects something you didn't expect, and being tipped off to a problem can be very helpful.

Read More. . .