QR:
Monday, October 31, 2011
Four CAs Have Been Compromised Since June
QR:
Introducing Android WebDriver
WebDriver BasicsWebDriver tests are end-to-end tests that exercise the web application just like a real user would. WebDriver models user interactions with a web page such as finger flicks, finger scrolls and long presses. It can rotate the display and interact with HTML5 features such as local storage, session storage and the application cache. Those tests run as part of an Android tests project and are based on Junit. They can be launched from Eclipse or the command line. WebDriver tests can be wired with a continuous integration system and can run on phone and tablet emulators or real devices. Once the test starts, WebDriver opens a WebView configured like the Android browser and runs the tests against it. WebDriver is an Android SDK extra and can be installed following these instructions. Once you’ve done that you’ll be ready to write tests! There is a comprehensive WebDriver user guide on the Selenium site, but let’s start with a basic example using www.google.com to give you a taste of what’s possible. Getting StartedFirst, create an Android project containing an empty activity with no layout.public class SimpleAppActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
}Then create the Android test project that will contain the tests. WebDriver will create the WebView and set the layout automatically in the main Activity. Let’s write a test that opens the Google home page on Android and issues a query for “weather in San Francisco”. The test will verify that Google returns search results, and that the first result returned is giving the weather in San Francisco. public class SimpleGoogleTest extends ActivityInstrumentationTestCase2<SimpleAppActivity> { public void testGoogleShouldWork() {
// Create a WebDriver instance with the activity in which we want the test to run
WebDriver driver = new AndroidDriver(getActivity());
// Let’s open a web page
driver.get("http://www.google.com"); // Lookup for the search box by its name
WebElement searchBox = driver.findElement(By.name("q"));Read more: Android developers
QR:
Sunday, October 30, 2011
Starlight Live Wallpaper For Android Adds A “Dreamy” Landscape To Your Home Screen (Video)

As one who is always on the lookout for the next awesome Live Wallpaper, it was clear that Starlight Live Wallpaper for Android was the next wallpaper to hit my device. Offering wispy clouds that drift across a soft purple’ish start lit landscape, you’re bound to be thrusted into a serene mood regardless of what kind of day you’re having. Hand-painted starlight vista by Anne Paetzke. Wispy clouds drift dreamily across a distant landscape while the silver moon glows in the twilight.
Read more: Talk Android
QR:
Ice Cream Sandwich Ported to the Samsung Galaxy S

Ice Cream Sandwich is taking the limelight in development. Recently ported to the Nexus S, many are curious and excited to know which device is next. ASUS said their “aim is to bring the latest Android update to the Eee Pad Series.” Motorola’s Droid RAZR, Droid Bionic, and XOOM are definitely getting the update, and they will announce more “devices for ICS 6 weeks after Google releases the final version of it.” If you’re looking to get a new device soon, it’ll likely come stocked with Ice Cream Sandwich. For those who haven’t upgraded in a while, the Samsung Galaxy S is now on the list of devices with successful Ice Cream Sandwich ports. When I say it’s successful, I mean it’s not released, in alpha, and facing a lot of work before decently working. But it’s there and still worth mentioning.
Read more: XDA developers
QR:
Microspeak: Bug jail
QR:
WineHQ database compromise
http://asiknews.wordpress.com/2011/03/02/best-practice-password-management-for-internet-web-sites/
Read more: WineHQ list
QR:
Authorization in Silverlight, part 1: Authorized navigation
Introducing: the Custom Content Loader.In Silverlight 4, a new interface was introduced: the INavigationContentLoader interface. Together with that, a Navigation Frame was given a ContentLoader property, which can be set to any class implementing said INavigationContentLoader. As the name implies, the content loader is responsible for (asynchronously) loading the content that’s associated with the target Uri. This opens up a whole load of possibilities (I’ve seen the content loader being used for, for example, loading content from a different XAP), one of which is authorized navigation. This is how this interface looks:public interface INavigationContentLoader
{
IAsyncResult BeginLoad(Uri targetUri, Uri currentUri, AsyncCallback userCallback, object asyncState); void CancelLoad(IAsyncResult asyncResult); bool CanLoad(Uri targetUri, Uri currentUri); LoadResult EndLoad(IAsyncResult asyncResult);
}As you can see, one of the methods is named CanLoad: this is the perfect method for what we’re trying to do: we can test if a user has the rights to navigate to a specific view, returning true or false to the CanLoad method of a custom content loader.
Read more: SilverlightShow
QR:
MonoGame Goes Multi-platform: MonoGame 2.0 Announced
QR:
The Dart Hello World
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Simple test program invoked with an option to eagerly
// compile all code that is loaded in the isolate.
// VMOptions=--compile_allclass HelloDartTest {
static testMain() {
print("Hello, Darter!");
}
}main() {
HelloDartTest.testMain();
}Compiles to 17259 lines of JavaScript code. Now, most of it is just the library core, but it shows what you have to do to bolt static typing on top of a prototype-based, dynamic, truly object-oriented language. I don’t really understand the point of Dart personally, it seems like all that’s left is some 100K line XML file to drive behavior, and now we’ve built Java executing in the browser.Read more: LosTechies
QR:
Top 100 Utilities & Addins for Visual Studio 2010 & TFS 2010
QR:
The Security of SSL
QR:
Mysql – Resetting root password
QR:
Subversion Best Practices: Repository Structure
ability to reuse common libraries.
lack of duplicated maintenance (e.g only one repository needs to be backed up.)
the ability to move data between projects more easily, and without losing any versioning information.
all projects share the same repository history.
typically less administration – new projects can be created without creating a new repository, and without the help of sysadmin.
you can delete entire projects without losing the record from Subversion.
Read more: Blogging from Disco
QR:
Adding full Coded UI support to third party WinForm components that don't already have it...
Read more: Coded UI Test Extension for 3rd party Windows Forms controls–How to?
QR:
Introducing Managed Bootstrapper Applications
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Bundle
Name="Test"
Version="1.0.0.0"
IconSourceFile="Setup.ico">
<BootstrapperApplicationRef
Id="ManagedBootstrapperApplicationHost">
<Payload
Name="BootstrapperCore.config"
SourceFile="$(var.TestUX.TargetDir)\TestUX.BootstrapperCore.config"/>
<Payload
SourceFile="$(var.TestUX.TargetPath)"/>
<Payload
SourceFile="NetfxLicense.rtf"/>
Read more: Heath Stewart's Blog
QR:
VS11DP Microsoft Parallel Visualization Pack
Scatterplot graphs 1 or 2 dimensions of values, and is another great way to spot outliers.
Heatmap is an attractive visualizer that’s useful for spotting strange distributions of data.
Object Expander helps drill into all of the members and classes of specific objects, find errors, and minimum and maximum values. Read more: Greg's Cool [Insert Clever Name] of the Day
Read more: Microsoft Parallel Visualization Pack
QR:
Thursday, October 27, 2011
Powerful, simple new mass SQL injection attack opens 180K sites
QR:
? למה אנחנו צריכים אותו– Observer design pattern
register: function (fn) {
console.log("registered");
observableCollection.push(fn);
},
Read more: genadysh
QR:
מה חדש ב Windows 8 למפתחי Device Drivers ולכל מי שמה שקורה מתחת למכסה המנוע של Windows 8 מענין אותו
Wednesday, October 26, 2011
mobile.slashdot.org/story/11/10/19/1222218/android-ice-cream-sandwich-sdk-released
QR:
Nautilus Terminal: Embed Linux Terminal To Nautilus File Browser

The Terminal is perhaps one of the most integral parts of any Linux OS, even if a non-GUI-based, Slackware-style operating system seems a thing of the past. This is because, despite the introduction of Ubuntu-based operating system with Software Centers, one often requires using the Terminal for executing system-related commands, adding/removing repositories and downloading application packages. While opening the Terminal can be a bit irritating, particularly if you’re using the classic start menu, it might be quite handy to embed Terminal to the Nautilus file browser. Nautilus Terminal is an extension that adds Terminal to the file browser, following navigation with automatic execution of the “cd” command when you move between folders. Nautilus terminal fully supports all common functions such as copy/paste (using Ctrl+Shift+C and Ctrl+Shift+V) and drag & drop functionality.Read more: Addictive tips
QR:
Impersonation and Delegation in WCF
Declarative Impersonation – Applied with a static attribute which associated with an operation. Use Impersonation when You want to access windows resources that are protected with access control lists(ACL’s).
You need to use specific identity or several windows identities to access resources. Use Delegation when You need to access network resources.Declarative Impersonation[OperationBehavior(Impersonation = ImpersonationOption.Required)]
public string GetData(int value)
{
return “test”;
}
Read more: Techbubles
QR:
New Attack Tool Exploits SSL Renegotiation Bug
QR:
QuickSharp

QR:
לאונרדו דיקפריו משקיע ב-Mobli הישראלית [גיוס]
"גאה להיות חלק ממובלי"בדברים שמסר דיקפריו מוקדם יותר באשר להשקעה הטרייה טען השחקן: "אני מתרגש מאוד להוות חלק ממובלי, חברה פורצת דרך שנוטלת תפקיד פעיל במהפכה הקשורה לדרך שבה אנשים יוצרים אינטרקציה עם מידע ויזואלי, יוצרים אותו או צורכים אותו. מובלי מאפשרת למשתמשים מכל רחבי העולם לחלוק רגעים". מובלי היא פלטפורמה חברתית ויזאולית שמבוססת בעיקר על שיתוף באמצעות מכשירי סמארטפון ומאפשרת, כך על פי הסלוגן שלה: "להביט בעולם דרך עיניים של אנשים אחרים". הרעיון של מובלי, אותה ייסד משה חוגג, היא למקסם את חווית השיתוף באמצעות המכשירים הניידים שהפכו זמינים כל כך בשנים האחרונות והופיעו למעשה מעט אחרי שרשתות חברתיות פופולאריות כמו פייסבוק נולדו והחלו לעבור התאמה איטית ומסורבלת לעולם החדש שנוצר. פלטפורמת השיתוף של מובלי מבוססת על חוויה ויזואלית הרבה יותר ומתמקדת בתמונות וקטעי וידאו יחד עם שימוש נרחב בשירותים מבוססי מיקום. כך למשל במידה ואתם בהופעה, במשחק טניס או בכל מקום אחר, תוכלו לאתר ולצפות באינספור זוויות שונות של משתמשים שנמצאים באותו מקום ועושים שימוש באפליקציה, או לחילופין לשבת בבית ולצפות בחוויה של אנשים אחרים שנמצאים במקומות שמסקרנים אתכם. Read more: newsGeek
QR:
Office 2007 Family Service Pack 3 Released
The 2007 Microsoft Office Servers Service Pack 3 (SP3), 32-bit Edition
Service Pack 3 provides the latest updates to the 32-bit editions of all of the 2007 Microsoft Office System servers.
The 2007 Microsoft Office Servers Service Pack 3 (SP3), 64-Bit Edition
Service Pack 3 provides the latest updates to the 64-bit editions of
Service Pack 3 for Windows SharePoint Services 2007 (KB2526305), 86-Bit Edition
Service Pack 3 provides the latest updates to Windows SharePoint Services 2007, 86-Bit Edition.
Service Pack 3 for Windows SharePoint Services Language Pack 2007 (KB2526305), 86-Bit Edition
Service Pack 3 provides the latest updates to Windows SharePoint Services Language Pack 2007, 86-Bit Edition.
Service Pack for SharePoint Designer Language Pack 2007 (KB2526089)
Service Pack 3 provides the latest updates to SharePoint Designer Language Pack 2007.
Service Pack for Windows SharePoint Services Language Pack 2007 (KB2526305), 64-Bit Edition
Service Pack 3 provides the latest updates to Windows SharePoint Services Language Pack 2007, 64-Bit Edition.
Service Pack 3 for SharePoint Designer 2007 (KB2526089)
Service Pack 3 provides the latest updates to Microsoft SharePoint Designer 2007.
QR:
Tuesday, October 25, 2011
.Net Framework 4.0.2 Release Information Rollup
This design time package installs the following individual packages: Update 4.0.2 for Microsoft .NET Framework 4 – Runtime Update (KB2544514)
Multi-Targeting Pack for the Microsoft .NET Framework 4.0.2 (KB2544526)
Visual Studio 2010 SP1 Update for enabling workflow state machine designer (KB2495593)Update 4.0.2 for Microsoft .NET Framework 4 – Runtime Update (KB2544514) Update 4.0.2 for Microsoft .NET Framework 4 package contains updated runtime files. For further details about the contents of this Runtime Update please refer to the Knowledge Base Article KB2544514. Multi-Targeting Pack for Microsoft .NET Framework 4.0.1 (KB2495638) This update adds support for designing and developing applications for the Update 4.0.2 for Microsoft .NET Framework 4 by using Microsoft Visual Studio 2010 SP1 or higher. The MT Pack adds new reference assemblies, IntelliSense files, and other supporting files. For further details about the contents of this Targeting Pack refer to the Knowledge Base Article KB2495638.
Read more: Greg's Cool [Insert Clever Name] of the Day
QR:
Functions in Python
QR:
Debugging NHibernate: Session Management
Prepare NHibernate SymbolsTo be able to debug the NHibernate source code, the debugger must know how to find it. If you are using the 3.0.0 version of NHibernate, you may use http://www.symbolsource.org configuring Visual Studio to use their symbol store. If your NHibernate version is different, you need to either compile NHibernate on your own and reference the produced binaries in your project or make use of the sourcepack script. Here I will describe the second approach (especially because I'm the author of the sourcepack and I need to advertise it somehow ;)). To use sourcepack, you will need to install Debugging Tools for Windows (you may install them from the WDK image) and powershell v2. The next step is to download NHibernate binaries (you should have them already in your application bin folder) and NHibernate sources from their sourceforge page.
Read more: Codeproject
QR:
Internals of Interface and its Implementation
{
void GetX();
}
Let us suppose we have an interface IA which has a method GetX(). Now you should remember, it is not allowed to use access specifier for members of an interface as that mean the implementers of this interface needs to specify access specifiers for its members and it would appear to all implemtors that these members are public. Now lets see one implementation of it. public class A : IA
{
public void GetX()
{
Console.WriteLine("Here is X: Normal");
}
void IA.GetX()
{
Console.WriteLine("Here is X: Explicitely");
}
}
Read more: Beyond relational
QR:
The Noob's Guide to Open XML Dev (If you know how to spell OpenXML but that's about it, this is your Getting Started guide...)
Read more: Getting Started with Open XML Development
QR:
Open Kernel Crash Dumps in Visual Studio 11
QR:
Hello World in IronPython
QR:
הכירות עם LocalDB: גירסת SQL Express משופרת למפתחים
הקדמהכיום, משתמשים ב- SQL Server Express בשתי דרכים נפוצות: כמסד נתונים חינמי עבור אפליקציות קטנות עד בינוניות. אפליקציות רבות מסתפקות ב- SQL Express בתחילת דרכן ומתבססות על כך שהוא זהה מבחינת הקונפיגורציה והניהול לשאר הגירסאות בתשלום של SQL Server. תהליך המעבר מהגרסה החינמית לגירסאות בתשלום הוא עניין של הזנת Product Key בלבד, כשמגיע השלב לעשות זאת.
כמסד נתונים לצורכי פיתוח. SQL Express הוא קטן יותר להורדה וקל יותר להתקנה מאשר שאר הגירסאות ומפתחים משתמשים בו כדי לצאת לדרך בפיתוח אפליקציות מבוססות נתונים.עם השנים, בשל הרצון לשמור על אחידות ביכולות של SQL Server Express לעומת הגירסאות המורחבות יותר בתשלום, הוא נהפך לגדול יותר להורדה, מורכב יותר לקונפיגורציה וניהול ההרשאות – מורכב מדי לצרכי פיתוח בלבד.
הכירו את LocalDBהחל מ- SQL Server 2012 (עד לאחרונה הייתה ידועה בשם “Denali”) מצטרף מסד נתונים חדש למפתחים בשם LocalDB המשלב את הפשטות בהתקנה וקונפיגורציה שמפתחים צריכים לצורך פיתוח מצד אחד, ובו זמנית את התאימות לשאר הגירסאות של SQL Server.
Monday, October 24, 2011
What DX level does my graphics card support? Does it go to 11?
Run DxDiagWindowsKey + R, type DxDiag and hit Enter. That is the DirectX diagnostic tool, which unfortunately, only tells you on the "System" tab what is the highest version of DirectX installed on your machine. So if it reports DirectX 11, that doesn't mean you have a DX11 driver! The "Display" tab has a promising "DDI version" label, but unfortunately that doesn't seem to be accurate on the machines I've tested it with (or I may be misinterpreting its use). Either way, this tool is not the one you want for this purpose, although it is good for telling you the WDDM version among other things.
Use the Microsoft hardware pageThere is a Microsoft Windows 7 compatibility center, that lists all hardware (tip: use the advanced search) and you could try and locate your device there… good luck.
Use Wikipedia or the hardware vendor's websiteUse the Wikipedia page for the vendor cards, for both nvidia and amd. Often this information will also be in the specifications for the cards on the IHV site, but is is nice that wikipedia has a single page per vendor that you can search etc. There is a column in the tables for API support where you can see the DirectX version.
Read more: The Moth
QR:
Creating a basic code analysis with Roslyn

QR:
SQL Server Stored Procedure best practices
This SQL Server stored procedure best practice guide contains documentations of best practices and helper tools to enhance further match with the best practices.
This project is for SQL Server 2005 (and above) stored procedures, although I have included some notes to indicate supports for large databases. It also means to sync with the EF supports from many database providers. Other databases beside SQL Server as interoperability: Oracle version 9i
IBM DB2 (8.2.x or higher)
MySql 5.1 or higher
Read more: Codeplex
QR:
Simple Style Definition in Silverlight
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400">
<UserControl.Resources>
<Style x:Key="CuteButton" TargetType="Button">
<Setter Property="FontFamily" Value="Arial" />
<Setter Property="FontSize" Value="18" />
<Setter Property="Foreground" Value="Blue" />
<Setter Property="Padding" Value="10" />
</Style>
</UserControl.Resources>
<Canvas x:Name="LayoutRoot" Background="White">
<Button Name="MyBt" Content="Click Here" Style="{StaticResource CuteButton}" />
</Canvas>
</UserControl>
Read more: Life Michael
QR:
Obtaining Results from Parallel Tasks
using System.Threading.Tasks;
SynchronisationAs with other parallel and multi-threaded scenarios, synchronisation is required. In this case, it is necessary to ensure that the result of a parallel task is not read before it has been set. Luckily, the Task Parallel Library takes care of this for you. If you attempt to read the result too early, the current thread is blocked until the task has completed executing. This is the same as calling the Wait method manually before reading the result. The following sample shows the use of a parallel task with a return value. Here a long calculation is performed and the returned result is extracted from the Result property. You can see that the main thread is blocked until the parallel calculation completes to ensure that the correct value is obtained. Task<long> taskWithResult = new Task<long>(() =>
{
long total = 0;
for (int i = 1; i < 1000000000; i++); // Adjust this loop according
{ // to your computer's speed
total += i;
}
return total;
});
taskWithResult.Start();Console.WriteLine("Result = {0}", taskWithResult.Result);/* OUTPUTResult = 499999999500000000*/ Read more: BlackWasp
QR:
Upcoming Mono Releases: Change in Policies
On our 2.10 branch: bug fixes and backporting fixes from master to 2.10 Now that things have settled at Xamarin and that we are getting Mono back into continuous integration builds we are going to release our first public beta of the upcoming Mono, it will be called Mono 2.11.1. We will keep it under QA until we are happy with the results and we will then release Mono 2.12 based on this. Read more: Personal blog of Miguel de Icaza
QR:
Drawbridge: A new form of virtualization for application sandboxing
Read more: Channel9
QR:
Google Code-in: Are you in?

Listen up, future coders of the world: today we’re launching the second annual Google Code-in competition, an open source development contest for 13-17 year old students around the world. The purpose of the Google Code-in competition is to give students everywhere an opportunity to explore the world of open source development. We not only run open source software throughout our business, we also value the way the open source model encourages people to work together on shared goals over the Internet. Open source development involves much more than just computer programming, and the Google Code-in competition reflects that by having lots of different tasks to choose from. We organize the tasks into eight major categories: 1. Code: Writing or refactoring code
2. Documentation: Creating and editing documents
3. Outreach: Community management and outreach, as well as marketing
4. Quality Assurance: Testing and ensuring code is of high quality
5. Research: Studying a problem and recommending solutions
6. Training: Helping others learn more
7. Translation: Localization (adapting code to your region and language)
8. User interface: User experience research or user interface design and interaction Read more: Google code blog
QR:
