All Things Techie With Huge, Unstructured, Intuitive Leaps

Amazon Mobile Ads API


Dear Developer,
We are very excited to announce that the Amazon Mobile Ads API is now
available for iOS apps. Now you can monetize apps across platforms,
including Android, iOS and Kindle Fire tablets and Fire phones.

With the Amazon Mobile Ads API, you have the opportunity to earn
more and you are paid on ad impressions served instead of clicks on
 ads. The Amazon Mobile Ads API is easy to integrate and delivers
highly-relevant banners, rich media and higher paying interstitials
from Amazon and brand advertisers ensuring great experience for
 your users.

With this release, we are also expanding ad serving to users in Italy
and Spain across both Android and iOS. Starting today, the Amazon
Mobile Ad Network is serving ads to Android and iOS users in the US,
 the UK, Germany, France, Spain and Italy.

Developers currently using the Amazon Mobile Ads API in their iOS
 apps share their experience*:

“Amazon Mobile Ads API is consistently delivering 20% higher eCPM
 on both Android and iOS platforms compared to other ad networks.
In addition to increased earnings, the high-quality tailored ads provides
 an engaging experience for our users achieving 25% higher CTR”
                               - Tim Oswald, Co-Founder & CEO of Harpan LLC.

“Amazon Mobile Ad Network is a top ad network for our iOS and Android
apps. Our eCPM with Amazon Mobile Ad Network are higher across the board.”
                              - Todd Moore, Founder & CEO of TMSOFT LLC.
* Your results may vary.

For a limited time, when you send the first ad request from a qualified app,
 you will receive a guaranteed $6 CPM on interstitial ads (up to a maximum
of 1 million impressions per app per month). Qualifying apps now include
 iOS apps. Please find more details here.
    To get started with the Amazon Mobile Ads API check out our Developer
    Portal here as well as our blog with tips on ad mediation and tracking ad 
    events inside your apps.

    Best Regards,
    Your Amazon Mobile Ad Network team

    Diffusion Without Photoshop Filters

    (click on picture for panorama view)

    I photographed this bucolic scene in the country, and I knew that because of the dramatic clouds and fields that I was going to make it look like a painting.  My normal way of doing this, as an uber geek, is to feed it into Photoshop, and use an array of software filters.

    However, it was raining that day, and I had my camera in a ziplock bag.  I decided to shoot through the ziplock bag for a diffusion screen.  It turned out fantastic.  The result is above.  It is a great way to get diffusion without Photoshop software image manipulation filters.

    A Java class to escape illegal characters

    Here is a Java Class to escape illegal characters with a static method:

    package com.mypackage;

    import java.util.HashMap;
    import java.util.regex.Pattern;

     * The Class StringHelper.
    public class StringHelper {

    * Escapes characters that have special meaning to regular expressions.

    * @param s
    *            String to be escaped
    * @return escaped String
      public static String fixString(String s){

        int length = s.length();
        int newLength = length;
        // first check for characters that might
        // be dangerous and calculate a length
        // of the string that has escapes.
        for (int i=0; i<length; i++){
          char c = s.charAt(i);
          if (!((c>='0' && c<='9') || (c>='A' && c<='Z') || (c>='a' && c<='z'))){
            newLength += 1;
        if (length == newLength){
          // nothing to escape in the string
          return s;
        StringBuffer sb = new StringBuffer(newLength);
        for (int i=0; i<length; i++){
          char c = s.charAt(i);
          if (!((c>='0' && c<='9') || (c>='A' && c<='Z') || (c>='a' && c<='z'))){
        return sb.toString();

    Hope this helps someone.

    Upcoming CloudKit Data Wipe

    This email came from Apple:

    Dear Developer,

    We will be performing a server-side data wipe on all CloudKit public and private databases for iOS 8 beta and OS X Yosemite Developer Preview users on July 7, 2014.  The following iCloud features will be affected: iCloud Drive, iCloud Photo Library, and Mail Drop. 

    Photos and videos stored in iCloud Photo Library will remain on their original iOS 8 devices and will upload to iCloud Photo Library again automatically. iCloud Drive can be re-enabled from Set up Assistant after upgrade. If you choose to store your documents in iCloud Drive, your Documents & Data will automatically be copied to iCloud Drive. iCloud Drive will not update across earlier seeds or operating systems. Attachments sent through Mail Drop will expire and need to be resent after you upgrade.

    If you have any questions, visit the Apple Developer Forums.

    Best regards, 
    Apple Developer Technical Support