الثلاثاء، 19 مارس 2013

note-taking app spotted


Google logo
Google could be working on a note-taking application.
Google+ user 1E100 yesterday revealed that a new note-taking application, known as Google Keep, had been discovered in the many places the search company hides products it's working on. 1E100 described a series of places Keep was discovered, including on Google's Products page, in Google Drive, and as part of the search giant's sandbox, where it tries out new products.
According to 1E100, Google might also be working on an Android app, as evidenced by a special URL that points to the application.
During the search, 1E100 was able to find a couple of images of what might be the Google Keep icon. The folks over at Android Police, which earlier discovered 1E100's posting, also noted a link in a Google image that allowed users to "Add to Google Keep." That image came from a July 20 posting on Google's official Google+ page.
Google has remained tight-lipped on any plans for a note-taking app, and the company oftentimes tests out products long before (or even if) they launch. Still, CNET has contacted Google for comment and we will update this story when we have more information.

How to monitor XProtect updates in OS X


How to monitor XProtect updates in OS X

OS X does not provide a way to monitor XProtect updates, but you can set up a custom script to do so.
Apple's XProtect system (aka File Quarantine) in OS X is a rudimentary anti-malware scanner that will perform a quick check on downloaded files to make sure they do not contain known malware, and will block any versions of Web plug-ins like Java and Flash that have known vulnerabilities.
XProtect runs in the background with no interaction with the user, which is convenient, but it does mean that when it gets updated, users may find themselves unexpectedly unable to access some Web content. Even though quickly updating plug-ins should get you around this inconvenience, it may be useful to know if the block happened because of XProtect or for some other reason that may need to be investigated.
XProtect updater notification
With a small custom script, you can cause the system to notify you when its XProtect definitions are updated.
(Credit: Screenshot by Topher Kessler/CNET)
Unfortunately, Apple does not provide notifications when XProtect is updated; however, you can implement a routine of your own that will check for and notify you of any updates.
Deep in the system folder, XProtect stores two files called "XProtect.plist" and "XProtect.meta.plist" that contain information on the plug-in versions being blocked, when XProtect was updated, and definitions for new malware threats. Using these files, you can set up a small background script that will regularly check for any changes and then send you a notification if one occurs.
As with other system-monitoring approaches, this setup involves creating a simple script that issues a notification, and then setting up a launch agent to periodically run that script.
terminal-notifier in Utilities folder
Place terminal-notifier in your Utilities folder to install it.
(Credit: Screenshot by Topher Kessler/CNET)
Install terminal-notifier
In order to receive notifications from shell scripts, you first need to download the tool terminal-notifierand place it in the /Applications/Utilities folder on your system. This tool cannot be run directly, but contains all the features needed to use Apple's Notification Center feature in Mountain Lion.
Create the notification script
The next step is to create the script that will issue the notification, so to do this first open the OS X Terminal utility and enter the following command to create the script file called "xprotectnotify.sh" in the global Library folder (supply your password when prompted):
sudo pico /Library/xprotectnotify.sh
Then select the following script and copy it into the Terminal's text editor:
#!/bin/bash

if [ `md5 -q /System/Library/CoreServices/CoreTypes.bundle/Contents/Reso\
urces/XProtect.meta.plist` == `md5 -q ~/.XProtect.meta.plist` ] ; then
 echo "No change"
else
 UPDATED=`defaults read /System/Library/CoreServices/CoreTypes.b\
undle/Contents/Resources/XProtect.meta.plist LastModification`
 /Applications/Utilities/terminal-notifier.app/Contents/MacOS/ter\
minal-notifier -title "XProtect Updated" -message "$UPDATED"
 cp /System/Library/CoreServices/CoreTypes.bundle/Contents/Resour\
ces/XProtect.meta.plist ~/.XProtect.meta.plist
fi
Finally press Control-O to save followed by Control-X to quit, and then run the following command to make the script executable:
sudo chmod +x /Library/xprotectnotify.sh
At this point the script can be run directly in the Terminal by entering the full path to it (/Library/xprotectnotify.sh), which should make it try to compare the system's XProtect "meta" file with a hidden copy in your home directory. If the copy does not exist or is different from the official one, then it will notify you that a change has occurred and then update the copy to reflect the one the system is using.
Create launch agent
The final step is to create the launch agent that will load and run the notification script on a regular basis. To do this, in Terminal run the following command to create and edit the agent file:
pico ~/Library/LaunchAgents/local.XProtectNotify.plist
Now copy the following lines to the Terminal's text editor that should be open, followed again by pressing Control-O and then Control-X to save and quit:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
 <key>Label</key>
 <string>local.XProtectNotify</string>
 <key>ProgramArguments</key>
 <array>
  <string>/Library/xprotectnotify.sh</string>
 </array>
 <key>QueueDirectories</key>
 <array/>
 <key>StartInterval</key>
 <integer>3600</integer>
</dict>
</plist>
In this launch agent the number "3600" indicates it will run the script every hour, but you can change this to any number of seconds you would like, so you can set the script to run every few hours, only once or twice per day, or at any other interval.
After saving, log out and log back in to your user account, and you're done. This script is a very lightweight routine that would have a negligible impact on the system even if run every few seconds. However, if at any point you would like to undo these changes, then run the following three commands separately in the Terminal:
sudo rm /Library/xprotectnotify.sh
rm ~/Library/LaunchAgents/local.XProtectNotify.plist
rm ~/.XProtect.meta.plist
This script will simply notify you when XProtect is updated; however, you can also use a tool likeXProtect Plugin Checker either instead of or in addition to this script to give you information on the versions of plug-ins that XProtect is blocking.

Kid Craft: Eraser Stamp Easter Egg Art


Children love making seasonal art, and when it comes to Easter the opportunities for creativity are endless. Why?  Because so much can be done with the simplest of shapes – the egg.
In fact, we’ve put together a two part mini-series to demonstrate just how accessible egg-based art truly is. Both of these projects are fun, simple, and enticing to kids of all ages as they use common materials in new ways.
Today we’re starting with a makeshift stamp project.  All you need for this activity is:
  • a few stamp pads in the colors of your choice
  • a few fresh pencils
  • scissors
  • paper/stretched canvas
  • cardstock
  • white vinyl letter sticker (optional)
We made our masterpiece on a piece of stretched canvas (the local craft store was having a sale) but plain white paper will work too.  To begin, you’ll need to draw an egg onto a piece of cardstock.  If you’re comfortable free-handing it then by all means, knock yourself out.  Otherwise, enter the term “egg shape” into Google images and find a picture of an egg.
Print the egg onto cardstock and cut it out. (Don’t worry about cutting from the bottom to get to the egg shape.)  Finally, tape the slit at the bottom of the cardstock closed.
All that’s left now is to start stamping. Take your fresh pencil eraser, dip it heavily into an ink pad, and stamp onto your egg. The only secret here is to make sure you stamp over the edge, where the cardstock and paper meet, often. This will ensure a hard edge on your finished egg.
I’m a sucker for rainbows so I decided to layer on several rows of color with my pencil stamp.
Once the entire egg is full, remove the cardstock and reveal your results.
To personalize your egg, you can also add a white vinyl letter sticker.  We made an S egg for my daughter.  The C egg for my son was project #2 and to be revealed next time…
Photo Credits: Stephanie Morgan
Read Previous: Make It: DIY Rainb


Read more: Kid Craft: Eraser Stamp Easter Egg Art | eHow Mom | eHow.com http://www.ehow.com/ehow-mom/education-and-activities/blog/kid-craft-eraser-stamp-easter-egg-art/#ixzz2NymUls9a

Windows with html5


Windows with html5
HTML5/JS Clients
You can now connect both HTML5 web client apps as well as Apache Cordova/PhoneGap apps to your Mobile Services, and use Windows Azure for both data storage and authentication.  We are delivering this via:
  • New Mobile Services web client library that supports IE8+ browsers, current versions of Chrome, Firefox, and Safari, plus PhoneGap 2.3.0+. It offers the same data querying and storage APIs support we have in other native SDKs, and allows easy user authentication via any of the four identity providers supported by Mobile Services (Microsoft Account, Google, Facebook, and Twitter). Please use the GitHub issue tracker to report any issues, and our forum to get help.
  • Cross Origin Resource Sharing (CORS) support to enable your Mobile Service to accept cross-domain Ajax requests. You can now configure a whitelist of allowed domains for your Mobile Service using the Windows Azure management portal.
To get started, create a mobile service in the Windows Azure Management Portal and open the Quickstart tab. You can now select “HTML” and find the steps to create a new HTML5/JS client or add a backend to an existing one:
image
You can then continue with this tutorial for the remaining steps and build a simple HTML5 todo list app (that runs entirely in a browser) in under 5 minutes.
image
When deploying the HTML5 front-end app to a production environment, make sure to add the host name of the website you use to host it to your Windows Azure Mobile Services’ Cross-Origin Resource Sharing (CORS) whitelist using the Configure tab as shown below:
image
Visit the Windows Azure Mobile dev center and read this tutorial to learn more about working with server-side data, or this one if you want to learn more about authenticating users.
Windows Phone 7.5 Support and a new C# Client Library on NuGet
A few days ago we published a preview of our next version of the Mobile Services C# client library on NuGet.  The goal of this pre-release is to give Mobile Services developers an early look at the new features we are planning for our next C# SDK update and an opportunity to try them out ahead of time. Some of the great new features we have added include:
  • Portable Library Support: We have consolidated our Windows 8 and Windows Phone 8 clients on top of a single codebase using Portable Libraries. This enables us to reach a variety of new client platforms, as well as enable you to call Mobile Services from your ASP.NET and .NET server backend.
  • Windows Phone 7.5 support: With the move to Portable Libraries, we are also enabling support for Windows Phone 7.5
  • Json.NET and HttpClient: We migrated our implementation to use the latest and most flexible HTTP components to enable maximum robustness and extensibility.
Note: Today’s drop is a pre-release. For production apps we recommend continuing to use the “stable” Mobile Service client libraries for .NET available for download here
Keep Giving Us Feedback
Please continue to visit our uservoice page to let us know what you’d like to see added next (today’s release added 3 of the top 5 asks in uservoice!). Email us to show off your app, and ask questions in our forum whenever you run into a problem. 

Web Sites: Mercurial and Dropbox Deployment Support

Today’s release also includes a number of deployment/publishing enhancements to Windows Azure Web Sites:
Mercurial Source Control Support
You can now use Mercurial (Hg) repositories when setting up continuous deployment of your Websites from your CodePlex or Bitbucket repositories.  This is in addition to the TFS, CodePlex, Git and GitHub source control provider support that we previously supported. 
Today’s release also includes improved UI that makes it even easier to setup deployment from source-control.  Simply click the “Setup deployment from source control” link on your web-site dashboard, and a new wizard will appear that makes it trivial to walkthrough setting up publishing endpoints using a variety of source control providers and sites.  For example, below is how you could choose to enable source code deployment from a public or private Mercurial (Hg) repository you might have on Bitbucket:
image
Dropbox Deployment Support
Windows Azure also now supports site/app deployment from Dropbox to Web sites, making website deployment as easy as copying files to a folder on your local computer.  To enable this from the Windows Azure management portal, click the “Set up deployment from source control” link on your Web site dashboard, choose Dropbox and authorize the connection, and then choose a Dropbox sub-folder to synchronize:
image 
You can then simply copy your source files to the Dropbox sub-folder on your local computer and press the “Sync” button in the Windows Azure Portal to deploy the files.  Windows Azure will automatically build sources as needed, similar to Git or TFS based deployments.  Also, the deployment history tab in the portal will keep track of your deployments and enables you to re-deploy any previous deployment with the click of a button.
Watch this 2 minute screencast to see how easy it now is to deploy web sites to Windows Azure using Dropbox.
Improved UI for Managing Source Control Deployments
In addition to the new setup wizard for source control deployment, today’s Windows Azure release also includes some other nice enhancements to the source control UI.  Deployment history in the management portal now accurately reflects which source control provider is connected for continuous deployment, such as TFS, CodePlex, GitHub, or Bitbucket.  It is also now possible to disconnect from an already connected source provider on a web-site in order to set up a different one (previously you had to delete the site to do this).
TFS Certificate Renewal
It’s also now possible to renew the certificate used by Team Foundation Service for continuous deployment directly from the Windows Azure management portal. To do this, click the “Renew TFS certificate” link on either the Dashboard or Quick Start page.
Support for Regenerating the Publish Profile
Today you can download a publish profile from the Web Sites dashboard. Once that profile is downloaded, the credentials are basically good forever. We understand that this is not optimal. To address this, with today’s release we are introducing a new quick glance command in the dashboard called Reset publish profile credentials. When clicked, you will get a confirmation for resetting the credentials and the credentials are regenerated.

New HDInsight Server: Deploy and Manage Hadoop Clusters on Azure

Today we also released a public preview of the new HDInsight Service for Windows Azure. HDInsight provides everything you need to quickly deploy, manage and use Hadoop clusters running on Windows Azure.
If you have a Windows Azure account you can request access to the HDInsight Preview and then easily create an HDInsight cluster within the Windows Azure Management Portal. Within the Windows Azure Management Portal click the New button and select the new HDInsight service to create a Hadoop cluster.  Specify a name for the cluster, a password for logging into the cluster and the size of cluster you need:
image
Note: a storage account is required to create a cluster and in the current public preview the storage account must reside in the East US region. The Azure Storage account you associate with your cluster is where you will store the data that you will analyze in HDInsight.
HDInsight Clusters
A cluster will take a few minutes to create (as part of creating it will configure the necessary Virtual Machines that together make up your Hadoop cluster). The Hadoop components installed as part of an HDInsight cluster are outlined here. Once the cluster is created, you can drill into the dashboard view to see the cluster quick glance screen. This quick glance allows you to see the basic information about your cluster and gives you a simple method to connect to the cluster (just click the Manage button at the bottom of the dashboard).
When you connect to the cluster you’ll see a page that contains a number of tiles that provide information about the cluster and can be used to perform additional tasks:
image
The Create Job tile opens a MapReduce job submission form that you can use to submit MapReduce jobs as JAR files. The Interactive Console tile opens a console that lets you execute Javascript and Hive queries directly against your cluster.  The Samples title includes samples that you can use to get started.

Summary

The above features are now available to start using immediately (note: some of the services are still in preview).  If you don’t already have a Windows Azure account, you can sign-up for a free trial and start using them today.  Visit the Windows Azure Developer Center to learn more about how to build apps with it!
Hope this helps,
Scott