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 MoreThe 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 MoreOccasionally, 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 MoreHow 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 MoreWhy Do I Need Keystore?
Read this info taken from the Android Developer docs about Securing Your Private Key: Read MoreImporting the Official Android Code Style to Android Studio/IntelliJ
- 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.- 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/
- Restart Android Studio
- Navigate to Android Studio > Preferences
- Navigate to Code Style > Java
- From the Scheme drop-down, select the name of the imported code style
- 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 Morejava.lang.OutOfMemoryError: GC overhead limit exceeded when dexing
This is relevant if your builds are crashing due to something like: Read MoreWhat is an App Identifier? An App Identifier is a unique, reverse...
Read MoreiOS 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 MoreMany 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