Google Is Making It Easier To Translate India's Most Widely Used Languages

Google

Google is making translations between English and major Indian languages much better. On Tuesday, the company announced that it has begun applying its Neural Machine Translation technology to translations between English and nine of the most widely used Indian languages — Hindi, Bengali, Marathi, Tamil, Telugu, Gujrati, Punjabi, Malayalam and Kannada.

Google first talked about Neural Machine Translation in November. The technology translates entire sentences at once, rather than translating single words and stringing them together, which, the company says, leads to smoother and more accurate translations.

Supporting Indian languages is crucial for Google. According to the company’s estimates, roughly one-third of India&;s 1.3 billion people use the internet — more than the population of the United States. However, of these 400 million or so internet users, just 20% are fluent in English. How Google helps these people navigate the English-language internet could well decide the company&039;s future in the country.

As a part of this push, Google is adding support for Indian languages in a few key products. Google’s Chrome browser will now let anyone quickly translate entire web pages in English to any of the nine languages mentioned above. And Google Maps in India will automatically translate restaurant reviews posted in English to any of these languages as long as users&039; phones are set to those.

Google is also updating the Android version of Gboard, its official keyboard, with translation support for all of India’s 22 official languages — including the ability to search for GIFs and emoji in local languages.

Quelle: <a href="Google Is Making It Easier To Translate India&039;s Most Widely Used Languages“>BuzzFeed

DockerCon 2017: The Top Rated Sessions

After the general session videos from Day 1 and Day 2 yesterday, we’re happy to share with you the video recordings of the top rated sessions by DockerCon attendees. All the slides will soon be published on our slideshare account and all the breakout session video recordings available on our DockerCon 2017 youtube playlist.

Cilium: Network and Application Security with BPF and XDP by Thomas Graf

Docker?!? But I am a Sysadmin by Mike Coleman

Creating Effective Images by Abby Fuller

Taking Docker from Local to Production at Intuit by JanJaap Lahpor and Harish Jayakumar

Container Performance Analysis by Brendan Gregg

Secure Substrate: Least Privilege Container Deployment by Diogo Mónica and Riyaz Faizullabhoy

Escape from VMs with Image2Docker by Elton Stoneman and Jeff Nickoloff

What Have Namespaces Done for You Lately? by Liz Rice

Watch the top rated sessions from dockercon cc @brendangregg @abbyfuller @lizrice @diogomonica  Click To Tweet

The post DockerCon 2017: The Top Rated Sessions appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/

Now Available: Hardware MFA for GovCloud

We are excited to announce the availability of Hardware Multi-Factor Authentication (HW MFA) in AWS GovCloud (US). The GovCloud-specific tokens are distributed by SurePassID, a third-party digital security company, and implement the OATH TOTP standard. Hardware MFA provides an extra level of security for GovCloud accounts, by prompting users for a token-based authentication code in addition to their username and password, before they can sign in. The MFA token keys are stored in GovCloud with the separate Identity and Access Management (IAM) stack to ensure logical isolation from other regions during authentication.  Tokens are available for purchase on Amazon.com.
Quelle: aws.amazon.com

Manage your gRPC APIs with Google Cloud Endpoints

By Dan Ciruli, Product Manager

For the last two years, we at Google have put heavy investment in gRPC — in both the open source framework itself and in our own gRPC-based APIs. We see it as an essential component for microservices, but also for many public-facing APIs (especially those with low latency tolerance, the need for bi-directional streaming or heavy mobile use). And now, you can define and run a gRPC API and serve both gRPC and JSON-HTTP/1.1 to your clients using Google Cloud Endpoints!

Most of the APIs that we’ve released recently serve both a gRPC and an HTTP/1.1-JSON interface. Starting with Cloud Pub/Sub release in March 2016, we’ve announced a steady stream of APIs that use gRPC: Cloud Bigtable, Cloud Pub/Sub, Cloud Vision API, Cloud Datastore, Cloud Speech API and of course the recently announced Cloud Spanner API among others.

Serving a gRPC interface gives us the latency and bandwidth characteristics we need at scale and ensures all clients are using a compatible client library.

However, we still serve a JSON-HTTP/1.1 interface for these APIs. Why? Well, millions of developers are comfortable with JSON. It offers a really easy getting started experience (call it with curl, or just paste a request into any browser). There are great JSON libraries in every language available on essentially every platform. So even though the world is moving to gRPC for APIs that require streaming and high performance, supporting JSON-HTTP/1.1 remains a high priority.

Now you too can offer both gRPC and JSON-HTTP/1.1 for your APIs. Cloud Endpoints fully supports gRPC-based APIs (including all the same great Endpoints features it offers for HTTP/1.1 APIs: authentication, monitoring, logging, tracing, API keys, etc). And the Extensible Service Proxy will also translate JSON-HTTP/1.1 calls, so you can write your API once and serve both interfaces.

Getting started is simple. Define a gRPC service using a .proto file, then add a YAML config file to map that gRPC interface to REST JSON.

For example, you may have a simple service that defines a Bookshelf:
import “google/protobuf/empty.proto”;

// A simple Bookstore API.
//
// The API manages shelves and books resources. Shelves contain books.
service Bookstore {
// Returns a list of all shelves in the bookstore.
rpc CreateShelf(CreateShelfRequest) returns (Shelf) {}
// Returns a specific bookstore shelf.
rpc GetShelf(GetShelfRequest) returns (Shelf) {}
}

// A shelf resource.
message Shelf {
// A unique shelf id.
int64 id = 1;
// A theme of the shelf (fiction, poetry, etc).
string theme = 2;
}

// Request message for CreateShelf method.
message CreateShelfRequest {
// The shelf resource to create.
Shelf shelf = 1;
}

// Request message for GetShelf method.
message GetShelfRequest {
// The ID of the shelf resource to retrieve.
int64 shelf = 1;
}

Your service configuration YAML tells Endpoints how to map that RPC interface to RESTful paths:

code>type: google.api.Service
config_version: 3

name: bookstore.endpoints..cloud.goog

title: Bookstore gRPC API
apis:
– name: endpoints.examples.bookstore.Bookstore

Http:
rules:
# ‘CreateShelf’ can be called using the POST HTTP verb and the ‘/shelves’ URL
# path. The posted HTTP body is the JSON respresentation of the ‘shelf’ field
# of ‘CreateShelfRequest’ protobuf message.
#
# Client example:
# curl -d ‘{“theme”:”Music”}’ http://DOMAIN_NAME/v1/shelves
#
– selector: endpoints.examples.bookstore.Bookstore.CreateShelf
post: /v1/shelves
body: shelf
#
# ‘GetShelf’ is available via the GET HTTP verb and ‘/shelves/{shelf}’ URL
# path, where {shelf} is the value of the ‘shelf’ field of ‘GetShelfRequest’
# protobuf message.
#
# Client example – returns the first shelf:
# curl http://DOMAIN_NAME/v1/shelves/1
#
– selector: endpoints.examples.bookstore.Bookstore.GetShelf
get: /v1/shelves/{shelf}

Your service configuration YAML can also specify authentication (for example, only permit a specified service account to call the API):

#
# Request authentication.
#
authentication:
providers:
– id: google_service_account
# Replace SERVICE-ACCOUNT-ID with your service account’s email address.
issuer: SERVICE-ACCOUNT-ID
jwks_uri: https://www.googleapis.com/robot/v1/metadata/x509/SERVICE-ACCOUNT-ID
rules:
# This auth rule will apply to all methods.
– selector: “*”
requirements:
– provider_id: google_service_account

For full docs on how to create the transcoding mapping, see the docs at https://cloud.google.com/endpoints/docs/transcoding.

We have gRPC/Endpoints samples in four different languages: Python, Go, Java and Node.js. Better yet, we’ve got lots of customers using gRPC and Endpoints together already. So try the sample, head over to our Google Group to ask a question, and go make APIs!

Quelle: Google Cloud Platform