Back

Coding & Development

  • Logan Serman
  • Posted by Logan Serman
October 31, 2014

Why?

Rails servers have a limited amount of connections that they can maintain at one time because the web server (in most cases) is a single-thread and multi-processed. There is a set amount of "workers" that can handle connections, when those connections are tied up, any new connections will have to wait. If you are processing potentially long tasks within the request/response cycle, you might have users waiting for those tasks to finish before they are able to load your website. HTTP is designed to be very fast and a request/response cycle should happen as fast as possible.

Read More
  • Logan Serman
  • Posted by Logan Serman
October 17, 2014

The Chained Payments API allows you to split a payment amongst several parties. This is nice when customers want a percentage cut out of their Paypal sales.

Read More
  • Metova
  • Posted by Metova
August 28, 2014

Occasionally, you may need to mock AFNetworking responses to test your response handling code. You can mock these in XCTestCases by setting up a category to return a response file when a network request is made.

Read More
  • Metova
  • Posted by Metova
August 28, 2014

How to Link to Apps on the App Store

There are a few reasons to link to your app or another app in the app store. You may want to do this if your customer has a paid version of their app that their free version can link to or if they want to be able to show their whole line of products (other apps) from a simple button click. Below are the prerequisites and steps for the United States.

Read More
  • Metova
  • Posted by Metova
August 27, 2014

Why Do I Need Keystore?

Read this info taken from the Android Developer docs about Securing Your Private Key:

Read More
  • Jason Robinson
  • Posted by Jason Robinson
August 27, 2014

Importing the Official Android Code Style to Android Studio/IntelliJ

  1. Download AndroidStyle.xml from the Android platform_development repository. a. You might think you can just click the link above and Save As..., but you're wrong. Click the link, then choose the "Raw" display option.
  2. Save it to ~/Library/Preferences/AndroidStudioBeta/codestyles. Hidden files and folders will need to be visible to do this. To make hidden files and folders visible, follow the steps here: http://www.mikesel.info/show-hidden-files-mac-os-x-10-7-lion/
  3. Restart Android Studio
  4. Navigate to Android Studio > Preferences
  5. Navigate to Code Style > Java
  6. From the Scheme drop-down, select the name of the imported code style
  7. Click OK

! A note on column width:

The Android code style sets the column width to 100, which is very limiting. Change this by going to Code Style > General, and changing the "Right margin (columns)" field to 200.

Read More
  • Riley Mills
  • Posted by Riley Mills
August 27, 2014

java.lang.OutOfMemoryError: GC overhead limit exceeded when dexing

This is relevant if your builds are crashing due to something like:

Read More
  • Logan Gauthier
  • Posted by Logan Gauthier
August 27, 2014

What is an App Identifier? An App Identifier is a unique, reverse...

Read More
  • Metova
  • Posted by Metova
August 27, 2014

iOS Tips and Tricks

Having a knowledge of keyboard shortcuts and plugins for your coding environment can make you a more efficient and effective developer. Here are some tips and tricks our iOS developers have picked up.

Read More
  • Seth Beech
  • Posted by Seth Beech
August 27, 2014

Many customers do not have Xcode installed, much less know how to pull logs from it. When the customer needs to be able to view logs or to send logs to you to debug a defect, they can use this.

Read More