Format Your Elixir Code Now


This post is by from Hashrocket Articles


Click here to view on the original site: Original Post




Elixir 1.6 will be shipping with an important new feature: autoformatting. Let's explore it today.

Autoformatting is a common practice in languages communities like Go.
Now, this practice is coming to Elixir as part of the language. Borrowing the
arguments
in favor of autoformatting
from the Go community, autoformatted code ought to be:

  • Easier to write: never worry about minor formatting concerns while hacking away.
  • Easier to read: when all code looks the same you need not mentally convert others' formatting style into something you can understand.
  • Easier to maintain: mechanical changes to the source don't cause unrelated changes to the file's formatting; diffs show only the real changes.
  • Uncontroversial: never have a debate about spacing or brace position ever again!

Whether you agree with all these points or not, the Elixir language (which is
largely written in Elixir) just underwent a massive community-powered
refactor
to conform with its

Continue reading “Format Your Elixir Code Now”

Create Quick JSON Data Dumps From PostgreSQL


This post is by from Hashrocket Articles


Click here to view on the original site: Original Post




There are lots of ways that we consume the data stored in our PostgreSQL
databases. We build apps that query against our database. We explore the data
manually from a PSQL session. Perhaps we even occasionally create a dump of the
databases' schema and data using pg_dump.

What if we want to export some subset of our data in a general purpose format
that we can easily pass along to others? A JSON dump would fit that bill. In
this post we'll explore how to quickly create a JSON dump of some of our data.

Why a JSON dump?

A customized JSON dump of our data is appealing for two reasons.

First, we can craft the shape of the data being dumped. We can be sure to
include specific, relevant fields. This includes computed values. Likewise, we
can exclude sensitive and irrelevant data. For instance, we may not want to

Continue reading “Create Quick JSON Data Dumps From PostgreSQL”

Heroku Connect: Now with Free Salesforce API Calls


This post is by from Heroku


Click here to view on the original site: Original Post




Heroku Connect provides seamless data synchronization between Heroku Postgres databases and Salesforce organizations. Without writing a single line of integration code, you can sync hundreds of millions of Salesforce records in near real time using a simple point-and-click UI.  Resiliency and data consistency are assured with robust automatic error recovery and easy to use Salesforce centric logging capabilities. We’re pleased to announce that beginning July 2, 2015, Heroku Connect’s data synchronization with your Salesforce organization — which relies on the SOAP API — will no longer be constrained by your Salesforce API usage limits.  Customers can now focus on using Heroku Connect to build apps spanning Salesforce/Heroku without worrying about the volume of API calls.

Heroku Connect also uses the Salesforce Bulk API for initial loads, reloading and polling for operations involving more than 20,000 records. For example an initial load of an object with 1M records would use:

Managing apps and users with fine-grained access controls


This post is by from Heroku


Click here to view on the original site: Original Post




In February, we announced Heroku Enterprise, with collaboration and management capabilities for building and running your app portfolio in a governable and secure way on Heroku. We also introduced fine-grained access controls with app privileges as a beta feature. Today, we are pleased to announce general availability of this feature: Heroku Enterprise accounts are now automatically enabled for fine-grained access controls. We're very happy to deliver this feature that many of our largest customers have requested.

"Enterprises need greater visibility around applications and scalability, and Heroku Enterprise adds those features to the core Heroku value proposition," said Matthew Francis, Director Platform & Mobility, PwC. "Over the years, I've worked on many highly complex enterprise Salesforce projects. I'm excited to have Heroku Enterprise available to me for my next one."

Managing access to apps

When you have several developers working on different apps in your company, you often need

addMember
Visibility into access

Continue reading “Managing apps and users with fine-grained access controls”