Links for 2011-5-10 through 2011-5-14

Links for 2011-5-10 through 2011-5-14:

Posted by Postilicious

A big piracy problem

Our early sales for Sugar Rush were very low, despite a big PR push.  We had a problem on the first day when the screen shots disappeared for a few hours after I tried to update the description & screen shots. Second day sales were even worse.

However, I noticed something very interesting: the number of users in Game Center and the number of users reported by Flurry Analytics were at least 3 times the total number of sales reported in iTunes Connect. At first I thought the iTunes reports were delayed, but a google search revealed that there are lots of pirated copies available. If the numbers are accurate, this means there are at least 3 or 4 times as many pirated downloads as we had legal sales.

I’m amazed and disappointed that an app can be that widely pirated after only two days of sales, especially when the legal sales were lackluster.

As a result I’m very unlikely to develop any future iOS apps, since it looks like I can’t make a living on app sales.

UPDATE: according to a source, the illegal copy got 2000 downloads, which is a lot more than 4x the number of legal downloads.

Links for May 6th through May 9th

Links for May 6th through May 9th:

Posted by Postilicious

Sugar Rush

For the last 2 months I’ve been working full-time on Sugar Rush, my new iPhone game. It’s finally going to be released on Tuesday, May 10. We now have a new company, Notion, founded by myself & Patrick Mandia to market Removr & Sugar Rush, as well as other apps we develop in the future.

Thanks to Jonas for designing the original Flash game and providing the graphics for the app.

We’re now designing the iPad version, which will be a separate app since we want to take advantage of the larger display and provide an alternative to accelerometer control, which can get tiring with an iPad.

Links for 2011-04-29 through 2011-05-02

Links for 2011-04-29 through 2011-05-02:

  • How awesome is your iPhone app, really? [Greg Dunn, Unseen Things] – A lot of things seem like a good idea at the time, and the program *always* works right especially if the person using it is the one who programmed it, right? Of course not…getting fresh eyes on a project is more than a good idea; it’s essential.
  • OpenGL Render to Texture – Render to texture is a very handy functionality. Imagine your game allows for some character customization. You have the body, some different hats, different clothes and other small stuff. Now the easiest way to render this is to just draw it piece by piece every frame. With the proper Z coordinates everything falls in place. But you now have like 4-5 draw calls for one single object. Worse, you might have different textures and swamping textures is expensive..
  • Could a Smartphone App Have Been Used to Locate Bin Laden? Unconfirmed sources report that an iPhone app called Tactical NAV may have been used during the mission to locate Bin Laden. An elite crew of American forces killed bin Laden during a daring raid on Monday, capping the world’s most intense manhunt.
  • Someone Live-Tweeted the Osama Bin Laden Raid Without Knowing It How does someone unknowingly live-tweet the biggest news story of the decade? @ReallyVirtual knows. The IT consultant was just "taking a break from the rat-race by hiding in the mountains with his laptops," when he heard a helicopter, then a "huge window shaking bang," and then the helicopter going down. Reading his tweets, it's obvious he had no idea what was going on—nor how life-defining that moment would be for so many people.
  • Subtle Patterns | High quality patterns for your next web project Nice collection of background patterns perfect for tiling.

Posted by Postilicious

Moving a WordPress blog

Since I’m preparing to release a new app next week, I wanted to make my MC Development site focus on software and services, so I moved my personal blog off that site. One major goal was to maintain all of my existing posts and preserve all of the old permalinks, which I accomplished.

Here’s how I did it.

The first step was to do a clean install of WordPress on this site. Meanwhile, I went to my old site and exported all content at /wp-admin/export.php. When it finished exporting, I returned to this site and imported the XML file from the last step at /wp-admin/import.php. Since the file was huge, the import took several minutes. When it finished, all of the posts, pages, and comments were intact. Finally, I had to make sure I installed & enabled all of the appropriate plugins at this site.

To preserve the old permalinks, I had to add a few rewrite rules to the old site. Since I’m using nginx, I added the following lines to my nginx.conf file:

# redirect permalinks to blog.mcohen.me

rewrite ^/blog/ https://blog.mcohen.me/ last;

# all other requests go to WordPress
    if (!-e $request_filename) {
	  rewrite ^(/20../../../.*)$ https://blog.mcohen.me/$1 last;
      rewrite ^.*$ /index.php last;
}

location ~ /\.ht {
    deny  all;
}

The first rewrite rule does a simple redirect of http://example.com/blog to this site.

The second rule is a bit tricky. I’m using permalinks of the form /%year%/%monthnum%/%day%/%postname%/ and I wanted to redirect only those permalinks and nothing else to this site. The first part of the rule, ^(/20../../../.*)$ matches 4 characters starting with 20 (since my earliest posts are in 2002), followed by a slash, followed by two more characters, another slash, two more characters, another slash, and any number of characters. The second part of the rule creates a URL at this site using the matched characters.

The final rewrite rule simply passes anything else to WordPress.

If you’re running Apache, you would have to use similar rules in your .htaccess.

Links for 2011-04-28

Links for 2011-04-28:

Posted by Postilicious

Canon G12

After my last trip to San Francisco, when I was sore from carrying around the D90, I started looking around for a compact alternative. I did a lot of research and decided on the Canon G12. It’s bigger than the average point & shoot camera, but still a lot smaller & lighter than the D90. Although the picture quality isn’t quite as good as the D90, it’s still excellent. This one is definitely coming on my next trip (WWDC) instead of the D90.

The G12 is in a class of high-end point & shoot cameras that include manual controls, has good high ISO quality, and can shoot raw. It features a movable screen and a hot shoe for external flashes.

Here are the two cameras next to each other:

D90 vs. G12

I took this shot of a gardenia flower with the G12:

Gardenia Flower

Here’s the same shot, taken with the D90:

Gardenia Flower (D90)

Although the D90 is definitely crisper, the G12 still looks excellent for a point & shoot camera.

Here are details of the G12 version:

G12 Detail

And the D90 version:

D90 Detail

You can help support this blog by clicking here to buy your G12 from Amazon.

Links for 2011-04-15 through 2011-04-21

Links for 2011-04-15 through 2011-04-21:

Posted by Postilicious