Development by Davis

Headlines

lunes, 18 de febrero de 2013

Development by Davis: “Using open data for regional collaboration” plus 1 more

Development by Davis: “Using open data for regional collaboration” plus 1 more


Using open data for regional collaboration

Posted: 18 Feb 2013 02:00 AM PST

puzzle

I have a regional, collaborative philosophy of open data initiatives and municipalities. In North Carolina, the cities of Cary, Raleigh, Durham, and Chapel Hill all share the economic engine that is the Research Triangle Park. They also share the innovation engine of five, top universities.

The Triangle just got its next open data participant: the Town of Cary.

read more

Can Inkscape save people from a life of crime?

Posted: 18 Feb 2013 12:00 AM PST

illegal foss

When the free vector drawing program Inkscape was first released in late 2003, I realized this software could do some part in helping to reduce the number of people incarcerated in the United States. This worthy goal is still within reach. Let me explain.

From 1990 to 2000, I spent quite a bit of time supporting the Adult Literacy Services Division of the D.C. Public Libraries. Then, this division was exploring how technology could help adults learn how to read (among other things). I saw up close how computers could engage these adults, many of whom had learning disabilities.

read more

domingo, 17 de febrero de 2013

Development by Davis

Development by Davis


Hackathon-style sprint event to build Intro to Open Science course

Posted: 16 Feb 2013 04:00 AM PST

open source participation

The future of open is a dynamic landscape, ripe with opportunities to increase civic engagement, literacy, and innovation. Towards this goal, the Science Program at Creative Commons is teaming up with the Open Knowledge Foundation and members of the open science community to facilitate the building of an open online course, an Introduction to Open Science. The actual build will take place during a hackathon-style "sprint" event on Open Data Day on Saturday, February 23 and will serve as a launch course for the School of Open during Open Education Week (March 11-15).

read more

sábado, 16 de febrero de 2013

Development by Davis

Development by Davis


Steam client finally available to all Linux users (with a game sale!)

Posted: 15 Feb 2013 07:00 AM PST

Steam logo

No longer will anyone be able to say "there's just no market for gaming on Linux." After years of patient waiting and an endless stream of rumors, anyone can now have Steam on Linux. Following several months of beta testing, Valve gave the open source world a Valentine's gift yesterday by fully releasing the Steam for Linux client.

read more

viernes, 15 de febrero de 2013

Development by Davis: “US Department of State unveils Open Book Project” plus 2 more

Development by Davis: “US Department of State unveils Open Book Project” plus 2 more


US Department of State unveils Open Book Project

Posted: 15 Feb 2013 12:00 AM PST

open education resource

Earlier today, US Secretary of State Hillary Clinton unveiled the Open Book Project (remarks, project page, press notice), an initiative to expand access to free, high-quality educational materials in Arabic, with a particular focus on science and technolog

read more

Security Enhancements in Jelly Bean

Posted: 14 Feb 2013 08:59 PM PST

Posted by Fred Chung, Android Developer Relations team

Android 4.2, Jelly Bean, introduced quite a few new features, and under the covers it also added a number of security enhancements to ensure a more secure environment for users and developers.

This post highlights a few of the security enhancements in Android 4.2 that are especially important for developers to be aware of and understand. Regardless whether you are targeting your app to devices running Jelly Bean or to earlier versions of Android, it's a good idea to validate these areas in order to make your app more secure and robust.

Content Provider default access has changed

Content providers are a facility to enable data sharing amongst app and system components. Access to content providers should always be based on the principle of least privilege — that is, only grant the minimal possible access for another component to carry out the necessary tasks. You can control access to your content providers through a combination of the exported attribute in the provider declaration and app-specific permissions for reading/writing data in the provider.

In the example below, the provider ReadOnlyDataContentProvider sets the exported attribute to "true", explicitly declaring that it is readable by any external app that has acquired the READ_DATA permission, and that no other components can write to it.

<provider android:name="com.example.ReadOnlyDataContentProvider"      android:authorities="com.example"      android:exported="true"      android:readPermission="com.example.permission.READ_DATA" />

Since the exported attribute is an optional field, potential ambiguity arises when the field is not explicitly declared in the manifest, and that is where the behavior has changed in Android 4.2.

Prior to Jelly Bean, the default behavior of the exported field was that, if omitted, the content provider was assumed to be "exported" and accessible from other apps (subject to permissions). For example, the content provider below would be readable and writable by other apps (subject to permissions) when running on Android 4.1 or earlier. This default behavior is undesirable for sensitive data sources.

<provider android:name="com.example.ReadOnlyDataContentProvider"      android:authorities="com.example" />

Starting in Android 4.2, the default behavior for the same provider is now "not exported", which prevents the possibility of inadvertent data sharing when the attribute is not declared. If either the minSdkVersion or targetSdkVersion of your app is set to 17 or higher, the content provider will no longer be accessible by other apps by default.

While this change helps to avoid inadvertent data sharing, it remains the best practice to always explicitly declare the exported attribute, as well as declaring proper permissions, to avoid confusion. In addition, we strongly encourage you to make use of Android Lint, which among other things will flag any exported content providers (implicit or explicit) that aren't protected by any permissions.

New implementation of SecureRandom

Android 4.2 includes a new default implementation of SecureRandom based on OpenSSL. In the older Bouncy Castle-based implementation, given a known seed, SecureRandom could technically (albeit incorrectly) be treated as a source of deterministic data. With the new OpenSSL-based implementation, this is no longer possible.

In general, the switch to the new SecureRandom implementation should be transparent to apps. However, if your app is relying on SecureRandom to generate deterministic data, such as keys for encrypting data, you may need to modify this area of your app. For example, if you have been using SecureRandom to retrieve keys for encrypting/decrypting content, you will need to find another means of doing that.

A recommended approach is to generate a truly random AES key upon first launch and store that key in internal storage. Watch for details in a forthcoming post on Android cryptography.

JavascriptInterface methods in WebViews must now be annotated

Javascript hosted in a WebView can directly invoke methods in an app through a JavaScript interface. In Android 4.1 and earlier, you could enable this by passing an object to the addJavascriptInterface() method and ensuring that the object methods intended to be accessible from JavaScript were public.

On the one hand, this was a flexible mechanism; on the other hand, any untrusted content hosted in a WebView could potentially use reflection to figure out the public methods within the JavascriptInterface object and could then make use of them.

Beginning in Android 4.2, you will now have to explicitly annotate public methods with @JavascriptInterface in order to make them accessible from hosted JavaScript. Note that this also only takes effect only if you have set your app's minSdkVersion or targetSdkVersion to 17 or higher.

// Annotation is needed for SDK version 17 or above.  @JavascriptInterface  public void doSomething(String input) {     . . .  }

Secure USB debugging

Android 4.2.2 introduces a new way of protecting your apps and data on compatible devices — secure USB debugging. When enabled on a device, secure debugging ensures that only host computers authorized by the user can access the internals of a USB-connected device using the ADB tool included in the Android SDK.

Secure debugging is an extension of the ADB protocol that requires hosts to authenticate before accessing any ADB services or commands. At first launch, ADB generates an RSA key pair to uniquely identifies the host. Then, when you connect a device that requires secure debugging, the system displays an authorization dialog such as the one shown below.

The user can allow USB debugging for the host for a single session or can give automatic access for all future sessions. Once a host is authorized, you can execute ADB commands for the device in the normal way. Until the device is authorized, it remains in "offline" state, as listed in the adb devices command.

For developers, the change to USB debugging should be largely transparent. If you've updated your SDK environment to include ADB version 1.0.31 (available with SDK Platform-tools r16.0.1 and higher), all you need to do is connect and authorize your device(s). If your development device appears in "offline" state, you may need to update ADB. To so so, download the latest Platform Tools release through the SDK Manager.

Secure USB debugging is enabled in the Android 4.2.2 update that is now rolling out to Nexus devices across the world. We expect many more devices to enable secure debugging in the months ahead.

More information about security best practices

For a full list of security best practices for Android apps, make sure to take a look at the Security Tips document.

AMD Wins Big at PR Daily's 2012 Digital PR and Social Media Awards

Posted: 14 Feb 2013 12:00 AM PST

Last month, AMD (NYSE: AMD) was awarded eight top honors at PR Daily's annual Digital PR and Social Media Awards, recognizing the company's marketing and communications teams for executing innovative programs to increase awareness for AMD solutions.

The awards included 'Social M...

jueves, 14 de febrero de 2013

Development by Davis: “Kramden Institute and Ubermix helps students cross digital divide” plus 1 more

Development by Davis: “Kramden Institute and Ubermix helps students cross digital divide” plus 1 more


Kramden Institute and Ubermix helps students cross digital divide

Posted: 14 Feb 2013 02:00 AM PST

Kramden Institute recipient

Chances are you know about the digital divide, but not about the Kramden Institute's work to help hardworking students in grades 3 - 12 who don't have a computer in their home cross it. You also might be shocked to learn that while information technology seems to be ubiquitous, a full 23% of U.S. households still don't have a computer.

read more

Creative Commons license liberates knowledge of ESIP community

Posted: 14 Feb 2013 12:00 AM PST

lightning talk

Erin Robinson, the Information and Virtual Community Director for the Foundation for Earth Science, the management arm of the Federation of Earth Science Information Partners (@ESIPFed), says that earth science matters to all of us. For example, when Hurrican Sandy devastated areas of the country, responders needed information on flood zones and what hospitals were available.

ESIP is a cross-cutting community of application developers,
researchers, and big data centers comprised of about 1000 technology practitioners working together on common issues around earth science data and information. In order to support member contributions and collaborative work, ESIP built a non-traditional publishing platform, the ESIP Commons, which organizes member-produced content. Beyond structured input, the ESIP Commons also provides the option to license under Creative Commons and a suggested citation allowing community recognition and easy material reuse. Recently, the Data Citation Guidelines for Data Providers and Archives were picked up and resued by the National Oceanic and Atmospheric Administration (NOAA) and the National Science Foundation (NSF)—a huge success.

The Drupal installation profile for the ESIP Commons will be available on Github in the coming weeks. And if you are interested in repurposing the Commons for your own group, please contact Erin at erinrobinson@esipfed.org.

read more

This posting includes an audio/video/photo media file: Download Now

miércoles, 13 de febrero de 2013

Development by Davis: “Will 2013 finally be the year of Linux gaming?” plus 5 more

Development by Davis: “Will 2013 finally be the year of Linux gaming?” plus 5 more


Will 2013 finally be the year of Linux gaming?

Posted: 13 Feb 2013 02:00 AM PST

year of Linux gaming

There has been some debate and consideration in recent years about when the Linux gaming platform will officially gain ground. Critics and market skeptics have wondered when it will really take off and when it will be Linux's turn to procure large portions of the market share. New games and gaming consoles geared toward this system have left many asserting that 2013 will finally be the "year of Linux." But why?

Controversy

read more

Open source economic model: Sell the license or charge a consulting fee?

Posted: 13 Feb 2013 12:00 AM PST

open for business

On two recent occasions I've been asked to share why the open source economic model is sound. The first was on the elevator with an academic researcher while attending a recent meeting. We talked about open source, and he asked me:

"If the software is open source,
how are developers suppossed to make a living?".

read more

How do you personalize your gadgets?

Posted: 12 Feb 2013 11:00 PM PST

gadgets
What's your favorite way to personalize your gadgets?
Stickers
Skins
Sleeves
Cases
Wallpapers
Other (tell us in the comments)

That sticker from the conference you went to last week. A skin in the color of your alma mater. Two sleeves: a black one for meeting days with your coworkers and a goofy one for casual days with your peers. That strong, durable case that has saved your phone from many near-death experiences (with a sticker on it). Or a new wallpaper every month or so that reflects your mood or latest interest.

read more

Livestream Doubles Computing Density with AMD’s SeaMicro SM15000 Server

Posted: 12 Feb 2013 12:00 AM PST

AMD (NYSE: AMD) today announced that Livestream, the company that connects millions of people over the Internet to live events, has deployed AMD's SeaMicro SM15000™ server with S...

The assembly 'C:\Windows\Cluster\FailoverClusters.ObjectModel.dll' was not loaded because no assembly was found.

Posted: 12 Feb 2013 10:14 AM PST

Hi,

when I try to execute the following script(extract):

-
$s = new-pssession -computername Computername
enter-pssession $s
Import-Module FailoverClusters

-
I get the Error:

Import-Module : The assembly 'C:\Windows\Cluster\FailoverCl usters.ObjectModel.dll' was not loaded because no assembly was found. Please check the assembly name and try again.

Problem: Could not assign result, returned from foreach, to a variable

Posted: 12 Feb 2013 09:50 AM PST

Hi experts,

I have a following head-breaking problem. When I'm trying to execute script below, I get an error:

Error "=" operator: System error. (Fehler beim "="-Operator: Systemfehler.)
+ $data = <<<< Get-Content $log | % {

Here is this script:

$log = "C:\log file.txt"
$linePrefix = "PROCESS THIS LINE"