Development by Davis

Headlines

lunes, 1 de julio de 2013

Development by Davis: “Open source private cloud storage with OpenStack Swift” plus 1 more

Development by Davis: “Open source private cloud storage with OpenStack Swift” plus 1 more


Open source private cloud storage with OpenStack Swift

Posted: 01 Jul 2013 02:00 AM PDT

open source cloud solution

Everyone has data. It's always growing, and you should have ownership of everything that touches your data. You need to have the ability to see and make changes to the code managing your storage system. Having ownership of your data gives you control of your own destiny.

All this started with web apps: companies were embracing the web as a new way to easily deliver software to a massive audience and looking for scalable infrastructure on which to build their applications. So, in 2009, Rackspace Hosting launched a product to give application developers access to flexible, scalable storage built to serve content at a massive scale.

read more

Driving better governance with open source

Posted: 01 Jul 2013 12:00 AM PDT

open source governance and collaborative risk

"Ten years ago, open source—notably Linux—was often labelled a 'fad' or destined for the 'hobbyist' market," said Mark Bohannon, Vice President for Corporate Affairs & Global Public Policy at Red Hat.

"Fast forward to today. Owing not only to the benefits of the technology, but also to the benefits of the collaborative innovation model, open source software has by any measure become mainstream and vital to enterprise and government IT architecture."

read more

viernes, 28 de junio de 2013

Development by Davis: “This week in open source news: GitHub for book publishing and the code in your car's dashboard” plus 2 more

Development by Davis: “This week in open source news: GitHub for book publishing and the code in your car's dashboard” plus 2 more


This week in open source news: GitHub for book publishing and the code in your car's dashboard

Posted: 28 Jun 2013 02:00 AM PDT

open source round-up

Open source news this week: June 24 - 28, 2013

 


What other open source-related news stories did you read about this week? Share them with us in the comments section. Follow us on Twitter where we share these stories in real time.


read more

On a mission to change the citizen experience

Posted: 28 Jun 2013 12:00 AM PDT

The Dave and Gunnar Show

In this episode of the Dave and Gunnar Show, I interviewed opensource.com's lead project manager, Jason Hibbets. He recently self-published a book advocating for citizen involvement in local government and shared with us how it's changing everything.

Listeners get insight into how the open source way is shaping how citizens influence change and progress in cities across the US. Jason also shares tips for self-publishing with Lulu.com, how to run a successful crowdfunding campaign, steps for planning your own unconference, like CityCamp, and how he got started with Code for America.

read more

Maker Machine sends open source robots to school

Posted: 27 Jun 2013 09:00 AM PDT

Robots deliver apples to teachers at school

Maker Machine is a mobile makerspace that brings 3D printers, DIY robotics, and interactive art to primary schools, libraries, museums and youth clubs. The project is currently fundraising for a tour of Australia to bring our workshop to schools around the country.

Started by myself and Sam Nikolsky, two Melbourne Industrial Designers, Maker Machine transforms the traditional classroom into a high tech workshop.

read more

jueves, 27 de junio de 2013

Development by Davis: “Get funded with OpenGov Grants” plus 2 more

Development by Davis: “Get funded with OpenGov Grants” plus 2 more


Get funded with OpenGov Grants

Posted: 27 Jun 2013 02:00 AM PDT

open government grants

We know how challenging fundraising can be. You start an innovative project using technology to make government more open and accessible and halfway through—you run out of money. Or maybe you know someone who is collecting municipal data and wants to make a cool app to help residents understand how local government works, but they don't have funding.

read more

How to get a class involved with an open source project

Posted: 27 Jun 2013 12:00 AM PDT

open source projects in the classrom

We talk about "community" a lot when it comes to open source, but it's important to remember that just like local communities within a city, town, state, and country, each community has its own culture. One community is not just like another. Each has its own ways of communication and tracking and decision-making. Processes for code submission differ—perhaps two communities both use Bugzilla, but with different flags. Others require you to also alert a mailing list. A large software project may even have smaller sub-communities within it with their own customs and quirks.

read more

Adding a Backend to Your App In Android Studio

Posted: 26 Jun 2013 09:40 AM PDT

Posted by Sachin Kotwani, Google Cloud Platform team

Android Studio lets you easily add a cloud backend to your application, right from your IDE. A backend allows you to implement functionality such as backing up user data to the cloud, serving content to client apps, real-time interactions, sending push notifications through Google Cloud Messaging for Android (GCM), and more. Additionally, having your application's backend hosted on Google App Engine means that you can focus on what the cloud application does, without having to worry about administration, reliability or scalability.

When you create a backend using Android Studio, it generates a new App Engine application under the same project, and gives your Android application the necessary libraries and a sample activity to interact with that backend. Support for GCM is built-in, making it easy to sync data across multiple devices. Once you've generated the project, you can build and run your client and server code together, in a single environment, and even deploy your backend code right from Android Studio.

In this post we'll focus on how to get started with the basic setup. From there it's easy to extend the basic setup to meet your needs.

Preliminary setup

Before you get started, make sure you take care of these tasks first:

  • Download Android Studio if you haven't done so already and set it up.
  • Make sure you have an application project set up in Android Studio. You can use any working app that you want to integrate with your backend, even a sample app.
  • If you'll be running the app on an emulator, download the Google APIs Addon from the SDK Manager and run your app on that image.
  • Create a Google Cloud Platform project: In the Cloud Console, create a new project (or reuse an old one) and make note of the Project ID. Click on the words "Project ID" on the top left to toggle to the Project Number. Copy this as well.
  • Enable GCM and obtain API Key: In the Cloud Console, click on APIs and turn on the Google Cloud Messaging for Android API. Then, click on the "Register App" button on the top left, enter a name for the app, then select "Android" and "Accessing APIs via a web server". In the resulting screen, expand the "Server Key" box and copy the API key.

1. Generate an App Engine project

In Android Studio, open an existing Android application that you want to modify, or create a new one. Select the Android app module under the Project node. Then click Tools > Google Cloud Endpoints > Create App Engine Backend.

In the wizard, enter the Project ID, Project Number, and API Key of your Cloud project.

This will create:

  • An App Engine project which contains the backend application source
  • An endpoints module with a RegisterActivity class, related resources, and client libraries for the Android app to communicate with the backend

The generated App Engine application (<app_name>-AppEngine) is an Apache Maven-based project. The Maven pom.xml file takes care of downloading all the dependencies, including the App Engine SDK. This module also contains the following:

  • A Google Cloud Endpoint (DeviceInfoEndpoint.java, auto-generated from DeviceInfo.java) that your Android app will "register" itself through. Your backend will use that registration info to send a push notification to the device.
  • A sample endpoint, MessageEndpoint.java, to list previously sent GCM messages and send new ones.
  • A starter web frontend application (index.html in webapp directory) that will show all the devices that have registered with your service, and a form to send them a GCM notification.

The endpoints module (<app_name>-endpoints) generated for you contains the classes and libraries needed by the Android application to interact with the backend:

  • A RegisterActivity.java class that, when invoked, will go through the GCM registration flow and also register itself with the recently created backend through DeviceInfoEndpoint.
  • Client libraries, so that the application can talk to the backend using an object rather than directly using raw REST calls.
  • XML files related to the newly created activity.

2. Add GCM registration to your app

In your Android application, you can call RegisterActivity whenever you want the registration to take place (for example, from within the onCreate() method of your main activity.

...  import android.content.Intent;  ...    @Override      protected void onCreate(Bundle savedInstanceState) {          ...          Intent intent = new Intent(this, RegisterActivity.class);          startActivity(intent);      }  

3. Deploy the sample backend server

When you're ready to deploy an update to your ( the sample ) production backend in the cloud, you can do that easily from the IDE. Click on the "Maven Projects" button on the right edge of the IDE, under Plugins > App Engine, right-click and run the appengine:update goal.

As soon as the update is deployed, you can also access your endpoints through the APIs Explorer at http://<project-id>.appspot.com/_ah/api/explorer.

For testing and debugging, you can also run your backend server locally without having to deploy your changes to the production backend. To run the backend locally, just set the value of LOCAL_ANDROID_RUN to true in CloudEndpointUtils.java in the App Engine module.

4. Build and run the Android app

Now build and run your Android app. If you called RegisterActivity from within your main activity, the device will register itself with the GCM service and the App Engine app you just deployed. If you are running the app on an emulator, note that GCM functionality requires the Google APIs Addon image, which you can download from the SDK Manager.

You can access your sample web console on any browser at http://<project-id>.appspot.com. There, you will see that the app you just started has registered with the backend. Fill out the form and send a message to see GCM in action!

Extending the basic setup

It's easy to expand your cloud services right in Android Studio. You can add new server-side code and through Android Studio instantly generate your own custom endpoints to access those services from your Android app.

miércoles, 26 de junio de 2013

Development by Davis: “50 community building tips from Feverbee” plus 2 more

Development by Davis: “50 community building tips from Feverbee” plus 2 more


50 community building tips from Feverbee

Posted: 26 Jun 2013 02:00 AM PDT

Community building the open source way

If you're looking for a few immediately useful actions for community building, here are 50 that might help.

read more

Find an open source RSS reader today

Posted: 25 Jun 2013 12:00 AM PDT

Tap the crowd

We'll be quick about this.

Google Reader is shutting down on Monday. This is disappointing to more than a few RSS junkies—and we get it. We're right there with you.

In our recent poll, many folks from our community told us they're seeking alternatives to Google's beloved tool. So that you don't miss a single unread item, and for those of you who have been searching for an open source RSS reader, we've put together a short list of Google Reader replacements.

read more

Are freeloaders helpful or hurtful to open source communities?

Posted: 25 Jun 2013 02:00 AM PDT

FOSS contributors

Concerns are raised every once in a while in the broader free and open source software community about freeloaders. The attitude expressed is that if you're getting the benefit of FOSS, you should contribute. Building a business on a FOSS project you don't own, whether you're providing a service or product around a FOSS project should in return garner some sort of quid pro quo. In reality, freeloaders are desirable.

read more