Kamis, 30 Desember 2010

Hitwise: Facebook Overtakes Google To Become Most Visited Website In 2010

According to Hitwise data released today, Facebook.com was the top visited website in the US in 2010, taking up 8.93% of site visits between January and November 2010. Google.com came in second at 7.19%, Yahoo Mail is third with 3.52% and Yahoo.com is fourth at 3.30%. YouTube came in fifth at 2.65 %. While Hitwise came to the same conclusion back in March, this is the first time Facebook has

The 20 Best How-To Geek Linux Articles of 2010

We might be known for our Windows articles, but in 2010 we sure posted a lot of really in-depth articles covering Linux. Here’s the 20 best articles that we covered this year, covering everything from how to tweak your setup to how to use Linux to fix Windows. Recover Data Like a Forensics Expert Using an Ubuntu Live CDMove Window Buttons Back to the Right in Ubuntu 10.04 / 10.10How to Create

22 Awesome Windows 7 Themes

Windows themes are always downloaded as hot cakes. And with the launch of Windows 7, Windows 7 themes are in big demand. Windows 7 Themes have been released both by Microsoft and other parties as well. Windows 7 is developed keeping in mind users views and reviews so it is quite user friendly and light to load.    Read more: slodive Posted via email from .NET Info

Hackers claim discovery of PS3 'private key,' enabling unauthorized code [Update]

During the ongoing Chaos Communication Conference 27C3, the hackers responsible for the Wii's Homebrew Channel, calling themselves fail0verflow, gave a presentation in which they claimed to have figured out the "private key" used by Sony to authorize code to run on retail PS3 systems. This means, as a PSX-Scene forum post puts it, giving a hacker "full control of the PS3 system," without the use

IE9'S INDEXEDDB PROTOTYPE IMPLEMENTATION

WIth HTML5 Labs we HTML5 prototype implementations. I have me the implementation IndexedDB viewed. First you have to ask yourself how you can expand the JavaScript functionality of Internet Explorer? The answer is: Component Object Model or COM shortly. InstallationThe implementation comes with two COM objects, therefore, the use under the hood of the SQL Server Compact 4th Once with a

4 Reasons Why Virtual Router is Superior to Connectify

Over a year ago I launch the Virtual Router project, and over that time it has become fairly popular! Virtual Router is downloaded nearly 7,000 time per week!Download Virtual Router Here!Virtual Router is a free, open source software based router for PCs running Windows 7 or Windows Server 2008 R2. Using Virtual Router, users can wirelessly share any internet connection (Wifi, LAN, Cable Modem,

USING COM OBJECTS FROM ASP.NET

I got the following question yesterday:Hi, I created a web application in which I am generating a ms-word document using Microsoft.Office.Interop.Word dll. The application is running fine in the visual studio but when I tried to run on IIS 5.0 through virtual directory then its giving the following error – Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-

Silverlight: Reading from a File Contained in your XAP

The approach you take to reading from a file that is contained in your XAP is different from one you might take reading a file that is on a server or one that you have copied over to your ClientBin (which could be done using WebClient). To do this first add the file to your Silverlight project and set the Build Action for this file to be of type Resource.Next, create a URI that points to the file

גרסאות קודמות – לרשותכם בעת צרה

שלום לכולם, כאן דן מצוות התמיכה של Microsoft ישראל.כולנו נתקלנו בסיטואציה בה נמחק לצמיתות קובץ בעל ערך רב ממערכת ההפעלה שלנו. ערכו של הקובץ יכול להיות פיננסי - כגון מסמך חשוב או הודעות דואר אלקטרוני מתיבת ה-Outlook שלכם, והוא יכול להיות חשוב לא פחות, כמו התמונות של הנכדים. מערכות ההפעלה של Microsoft, Windows Vista ו- Windows 7, צוידו במנגנון מתוחכם שנקרא "גרסאות קודמות" (Previous Versions). 

AJAX and the ASP.NET 2.0 Callback Framework

Interaction with a Web application can be initiated via a synchronous page postback or an out-of-band postback, known as a client callback, from the client to the server.  The default ASP.NET Web page model uses synchronous page postbacks, which are usually triggered on the client by submitting an html form.  During a page postback, the Web page and controls are recreated and a new version of the

How It Works: Error 18056 - The client was unable to reuse a session

This message has come across my desk a couple of times in the last week and when that happens I like to produce blog content.  The error is when you are trying to use a pooled connection and the reset of the connection state encounters an error.   Additional details are often logged in the SQL Server error log but the 'failure ID' is the key to understanding where to go next. Event ID:          

GWF beta released! (w/full source) - a unique approach to web application development

GWF was created for the following reasonsTo simplify web application development with built-in support for many of the tasks we do over and over againTo serve as a more complete example of what can be accomplished with Gaia Ajax - the best ajax library for ASP.NET! To illustrate the powerful DRIMR technology with a concrete example of it's benefitsGWF had the following design goals in

ADOBE “MOLEHILL” 3D API VIDEOS

In the wake of the Adobe Flash “Molehill” 3D API being unveiled at AdobeMax this year, interest in 3D Flash has exploded. Rather than bore you with why I think this is so interesting (though I must mention that it uses the GPU), here’s some videos to give you an idea of how incredible this API is going to be Read more: Savagelook.com Posted via email from .NET Info

Cosmos C# Open source operation system

   Cosmos (C# Open Source Managed Operating System) is a complete operating system built from the ground up in C#. Cosmos currently only runs on x86 and x64 processors, but we are investigating many other platforms, including ARM processors, Apple's iPhone, and the Nintendo Wii. Read more: Codeplex Posted via email from .NET Info

Possible issue where .NET Framework 4 setup reports success but fails to update mscoree.dll behind the scenes

I have heard from a few customers since the release of the .NET Framework 4 who have installed the .NET Framework 4 on Windows Vista or higher and setup reported success, but they see an error when running the .NET Framework setup verification tool.  I wanted to describe this scenario in a bit more detail, including how to diagnose whether or not your computer is running into this issue based on

The drop

An anonymous coder confesses a grievous sin. All companies and products referenced in this work are fictitious. Any resemblance to real companies and products, living or dead, is purely coincidental. Credits: The Apostle John, Tom Waits, James E Wright Video: Xtranormal Posted via email from .NET Info

Understanding Direct3D 10 Application Code

Understanding Direct3D 10 Application CodePrefaceNearly everything you do in Direct3D is done to manipulate the graphics hardware itself. This is why DirectX is not so much a game platform as it is a hardware interface. The most important piece of hardware that we are concerned with is called the GPU, or graphics processing unit. The GPU is a separate integrated circuit chip that executes "shader

Can your mockup tool do this?

   Can your mockup tool do this? Most mockup tools give you a static image with no preview option. Click on the image below (or this link). A new window will open and you will see an interactive mobile prototype that looks very much like the real application. This interactive prototype was created with Tiggr. Tiggr’s Web Preview feature allows you to generate HTML/JS/CSS and preview the prototype

WPF Twitter client with Model-View-ViewModel Design Pattern step by step

IntroductionThis article details real world example of how to use a Model-View-ViewModel Design Pattern. I split the process of development into steps. Each step is based on the previous one and adds some specific functionality. At the end of each step we will have a working application. As the example I chose Twitter Client. I suppose it is comprehensible and useful. I’ll use TweetSharp library

Taking a screenshot from within a Silverlight #WP7 application

Often times, you want to take a screenshot of an application’s page. There can be multiple reasons. For instance, you can use this to provide an easy feedback method to beta testers. I find this super invaluable when working on integration of design in an app, and the user can take quick screenshots, attach them to an email and send them to me directly from the Windows Phone device. However, the

Top Ten Indications You Are A Computer Industry Newbie

Just for fun and because I am old[ish]. But more seriously, because people should know the history of computer science and the computer industry so as not to repeat mistakes.You think garbage collection came in with Java. Garbage collection has been around a long long time. BASIC  PLUS in the RSTS/E operating system had it over 40 years ago. You think cloud computing is new. It’s different more

Rabu, 29 Desember 2010

WPF Tutorial - Styles, Triggers & Animation

IntroductionPerhaps the most interesting and most important feature for any WPF application is Styling. Styling means defining styles for controls, and store in reusable ResourceDictionaries and hence forth, it could be used later on by calling its name. Styles in WPF could be well compared with CSS styles. They are both similar in most of the cases, while the former extends the feature allowing

The Differences Between Network Calls in Windows and Linux

Berkeley and Microsoft socket models that are mostly compatible on the source code level are not so cross-platform in practice.Let’s examine some subtle differences in their implementation. These differences were found when writing a cross-platform RPC for redirection of network calls of some process from one OS to another. Socket TypesBSD:    intWin:    void * // macros SOCKETWhile the processor

SIKULI

What's SIKULI?Sikuli is a visual technology to automate and test graphical user interfaces (GUI) using images (screenshots). Sikuli includes Sikuli Script, a visual scripting API for Jython, and Sikuli IDE, an integrated development environment for writing visual scripts with screenshots easily. Sikuli Script automates anything you see on the screen without internal API's support. You can

“Team For Word” A TFS Word Client and a User Guide For It

A few days ago I have encountered a very nice tool that is called “Team For Word”Until now I have worked with the “Team Spec” that cost a license compares to this tool that is totally free and with an open source. In the past few days I have worked a lot with the “Team For Word” on clients sites, we have tried to see if this tool can replace the “Team Spec” and the answer is not simple.This tool

WPF Tutoriall - Concept Binding

Table of ContentsIntroductionBinding in WPFDataBinding / Object BindingWhy ObservableCollectionXML Binding Importance of DataContextBinding MembersBinding in Code-behind Command BindingMultiBindingConclusionIntroductionBefore this article, I have discussed about the architecture of WPF, Markup extensions, dependency properties, logical trees and Visual trees, layout, transformation etc. Today I

Awesome Quora Chrome Extension Is Awesome

Addicted to Quora? Wish there were a way to search the Q&A site directly from your browser as well as receive notifications about your notifications while surfing the web? Well, this awesome Google Chrome extension created by Andrew Brown is just what your browser ordered. Read more: TechcrunchRead more: Quora Posted via email from .NET Info

Chinese Written Language To Dominate Internet

"In the beginning, the language of the World Wide Web was English. Times change though, and the United States' military's gift to civilization knows no national boundaries, and growing worldwide adoption of the internet has changed the audience make-up to such an extent that the dominant language of the internet is about to become Chinese. That's not to say the Chinese are all that comfortable

Researchers create ultra-fast '1,000 core' processor, Intel also toys with the idea

We've already seen field programmable gate arrays (or FPGAs) used to create energy efficient supercomputers, but a team of researchers at the University of Glasgow led by Dr. Wim Vanderbauwhede now say that they have "effectively" created a 1,000 core processor based on the technology. To do that, the researchers divvied up the millions of transistors in the FPGA into 1,000 mini-circuits that are

Thin Client, Or Fat Client? That Is the Question

If virtual desktops are so great, asks Jonathan Eunice, then why isn't everyone using them? However encouraged folks are by the progress virtual desktop infrastructure (VDI) has made, and however enthused they may be about extending the wins of server virtualization over into the desktop realm, you don't see analysts and developers eating the virtual desktop dog food. And even the folks you meet

Selasa, 28 Desember 2010

Combining Abstract Classes and Interfaces

I've been continuing to work with my GUI classes in XNA. I'm in the process of remodeling the base class to make things more extensible and customizable. I use an abstract base class Control that all controls inherit from so they can be iterated over easily. I also have a class that can manage all of the controls that are present on the screen. I started experimenting with combining the base

10 Webapps that Add Great New Features to Gmail

Gmail's packed with features out-of-the-box, and Gmail Labs offers even more great functionality for adventurous users. But if you're looking for more than what Google's offering, these 10 services bring even more excellent functionality to Gmail. You can add new features to your Gmail mailbox in multiple ways. There's the official Gmail Labs section where you'll find loads of "experimental"

IR Black Theme For Visual Studio

Read more: WekeRoad Posted via email from .NET Info

Create Web Application or Virtual Directory in IIS

Did you know you can create Web Applications and Virtual Directories in IIS from inside Visual Studio? Just go to File -> New Web Site and click on the Browse button:Choose "Local IIS" and pick a web site you want to create the new item in: In the upper-right corner of the dialog you will notice buttons: Read more: Visual Studio Tips and Tricks Posted via email from .NET Info

TinEye

TinEye is a reverse image search engine. You can submit an image to TinEye to find out where it came from, how it is being used, if modified versions of the image exist, or to find higher resolution versions. TinEye is the first image search engine on the web to use image identification technology rather than keywords, metadata or watermarks. It is free to use for non-commercial searching.TinEye

25 Beautiful High Quality CSS/XHTML Website Templates

  Read more: Best Free Webresources Posted via email from .NET Info

59 Best Web Design Of Year 2010

   Read more: Web designish Posted via email from .NET Info

25+ EXAMPLES OF NEW CREATIVE FACEBOOK PROFILE PAGES

With the new release of Facebook pages many people are getting very creative with their own profile pictures. French artist Alexandre Oudin (#8 below) is the one responsible for this awesome creativity. Today we will showcase some creative profile page designs for you to get inspired, and hopefully make your very own. If you dont wish to mess around and try to figure out this hack yourself, we

Shared Libraries For Windows Phone 7, MonoDroid and Beyond

  If you’ve been doing mobile development, you probably know all about the problem of having to target multiple platforms, along with the languages each one requires. Having to rewrite and support essentially the same code on different platforms flat out sucks, and isn’t really a great way to spend your time. Thanks to the fine folks working on Mono and its satellite projects, it’s possible to

MVVM Training

What is In the Box?In the Box is a high quality, multi-media training that is consumed within Visual Studio 2010.  Content is navigated and delivered using a next generation computer based training (CBT) experience, the Visual Studio 2010 Feature Extension. In the Box, is a brand name for a series of CBT Feature Extensions I’ll release that are listed in the Visual Studio 2010 Add New Project

ViewText

What is this?ViewText.org is a service provided to make reading content on the web easier, faster, and safer by extracting the main article content from news items, blog posts, RSS feeds, and PDF's. The text is big, beautiful, and void of distracting items, perfect for reading on mobile devices. Use ViewText on your site by linking articles through the ViewText engine. FeaturesExtracts article

Frangipani: A Scalable Distributed File System

The ideal distributed file system would provide all its users with coherent, shared access to the same set of files,yet would be arbitrarily scalable to provide more storage space and higher performance to a growing user community. It would be highly available in spite of component failures. It would require minimal human administration, and administration would not become more complex as more

25 Even More – Sick Linux Commands

Here, urfix we know how much you guys love top Linux commands,1) Monitor progress of a commandpv access.log | gzip > access.log.gzPipe viewer is a terminal-based tool for monitoring the progress of data through a pipeline. It can be inserted into any normal pipeline between two processes to give a visual indication of how quickly data is passing through, how long it has taken, how near to

7 Free Official Microsoft Press EBooks

Yeah you don’t have to buy they are offered freely by Microsoft as Ebooks:For coders:Programming Windows Phone 7, by Charles Petzold Moving to Microsoft Visual Studio 2010 Parallel Programming with Microsoft .NET Introducing Microsoft SQL Server 2008 R2 Microsoft Application Architecture Guide, 2nd Edition For administrators:Introducing Windows Server 2008 R2 Deploying Windows 7, Essential

15 Great HTML5 Website Templates For Your Next Projects

HTML5 is bringing modern web standards to everyone. Because HTML5 consists powerful functionality which supports true semantic capabilities to Web documents, augmenting their human-readable content with machine-readable data and metadata. Not long ago we have discussed about recommended resources To Learn All About HTML5HTML5 Canvas Games, HTML5 Media Player Implementations with you. And now here

Have a Bite of Bytecode!!

This topic is very different from other Java topics.  I am sure a lot of developer think that why should I learn about byte code at all. Well I can give only two reasons of that(1)    Either you are a Byte code engineer for example using a library like BCEL which is used to change/enhance byte code generated by Java compiler. (2)    You are passionate to learn thing under the hood (Under the hood

Create custom windows in WPF with ease

Introduction One of the features I wanted to add to Synergy toolkit was the ability to quickly create custom theme windows with all the features of a standard windows. In this article I am demonstrating how to create a custom window theme visually using declarative XAML and apply it to windows in your applications. You can download Synergy SDK with full source code here. You may also want to see

Senin, 27 Desember 2010

Instant oil spill

Effect: http://jasper-net.blogspot.com/Read more: Instant oil spill Posted via email from .NET Info

Architecture of WikiLeaks

Thanks to the New York Post article we noticed that this project Pionen White Mountain, which we featured November 24, 2008, is indeed the WikiLeaks Headquarters.   Pionen – White Mountain designed by Albert France-Lanord Architects is housed in a former 1,200 sqm  Cold War bunker (originally built as a World War II bunker); an amazing location 30 meters down under the granite rocks of the Vita

What are the differences between Mark Zuckerberg and Julian Assange

     "What are the differences between Mark Zuckerberg and me? I give private information on corporations to you for free, and I’m a villain. Zuckerberg gives your private information to corporations for money and he’s Man of the Year." -- Julian Assange on SNLRead more: VINYL IS micro Posted via email from .NET Info

Dilbert comics

Read more: Dilbert comics Posted via email from .NET Info

AMD Radeon HD 6950 can be turned into an HD 6970 using a BIOS hack

Ah, the joy of getting something for nothing -- that's what this time of year is all about, right? The techPowerUp! guys seem to think so, and they've got the perfect gift for all you thrifty PC gaming enthusiasts: a BIOS flash for the Radeon HD 6950 that unlocks the full potential of its hardware (in other words, it turns it into an HD 6970). We already knew the two retail SKUs were built on the

Pitfalls of Chinese Conversion

After basic introduction of software Globalization from my team mates, I would like to talk about something more specific in this entry.Kernel32 is one of the DLLs (Dynamic-Link Libraries) supported by Microsoft Windows. It is a collection of code which can be used by multiple processes while being loaded into memory. Kernel32.dll has provided APIs (Application Programming Interface) to convert

New IE Zero Day

Microsoft has released a notice about a new zero day attack against Internet Explorer. Guess it's going to be more a 'Script Kiddie Christmas,' less of a 'White Christmas.' 'Ok, fess up — who asked for an IE 0 day for Christmas? I'm guessing Santa got his lumps of coal mixed up with a bag of exploits. This exploit has been discussed over the last day or so on full disclosure and a number of other

Trend Micro Browser Guard protects against zero-day critical flaws in Internet Explorer

With so many types of Internet threats to watch out for nowadays, it's important to have a multi-layered defense in place. A good antimalware program is a start, but it won't protect you against everything -- like some zero-day exploits such as the new one reported by Microsoft which affects Internet Explorer. Trend Micro's Browser Guard offers additional protection for users of Microsoft's Web

How To Be Popular On Facebook, Quantified

Network World reports that Facebook has just released an analysis of the word usage for about one million status updates from its US English speakers with the words in updates organized into 68 different word categories based on the Linguistic Inquiry and Word Count (LIWC)--a text analysis software program that calculates the degree to which people use different categories of words across a wide

Israel destroyed Syria nuclear reactor: WikiLeaks

Israel destroyed a Syrian nuclear reactor in an air raid just weeks before it went online in 2007, said a US diplomatic cable released by WikiLeaks and published on Friday in an Israeli daily. "On September 6, 2007, Israel destroyed the nuclear reactor built by Syria secretly, apparently with North Korea's help," then US secretary of state Condoleezza Rice wrote in the cable published in Yediot

ObservableDictionary (C#)

Few weeks ago I posted an ObservableDictionary(Of TKey, TValue) in VB.NET, today I had some time to translate it to C# (not tested, just translated, kindly notice me for any error). using System;using System.Linq;using System.ComponentModel;using System.Collections.Generic;using System.Collections.Specialized; namespace System.Collections.ObjectModel{  class ObservableDictionary :

Top Ten Essential Tools for Linux Administrators

They say a good manager always brings Linux tools to facilitate their hard work. A set of applications that can access again and again. In this connection, Linux Magazine did a top 10 compiled applications that you can not miss any administrator of GNU/Linux. All System Administrator, or SysAdmin needs a set of tools with which to manage your systems and office environments. These ten essential

We are hiring!

In 2005, I got out of the army, and looked for a job. I felt that I had all the necessary qualifications (at the time, I had already written Rhino Mocks), but I run into an interesting problem. I didn’t have any commercial experience. I am sure that you are familiar with the tale. All the jobs require at least 2 – 3 years experience, and the list of qualification looked like someone just raided

LibreOffice 3.3 RC2 is available!

" The Document Foundation is happy to announce the second release candidate of LibreOffice 3.3. This release comes with lots of improvements and bugfixes,and a very substantial reduction in size for the Windows installer. As usual, be warned that this is beta quality software – nevertheless, we ask you to play with it – we very much welcome your feedback and testing!" What`s new?- The Windows

Silverlight Asynchronous WCF Calls Without Ruining Your Architecture

A while back I wrote a blog post about how Silverlight 4’s asynchronous network calls make a layered client-side architecture difficult.  In that post I talk about wanting to have a loosely coupled, testable, n-tier architecture on my Silverlight client application.  Basically, I wanted to have a client-side architecture that was nicely layered like Figure 1 rather than a flat, 1-tier

Internals of a Delegate

Strange Rules of DelegateWell, at recent times, at least after the introduction of .NET framework 3.5 the use of Delegates in a program has increased quite a bit. Now almost every people in .NET language must at least somehow used delegates on their daily programming activities. It might be because of the fact that the use of delegates has been simplified so much with the introduction of lambda

HtmlString IHtmlString and HttpUtlity.HtmlEncode in ASP.NET 4

I was doing a bit of training on ASP.NET MVC 3 with Razor when the discussion turned to encoding HTML output. This discussion can actually get fairly involved ( well, interesting at least ) when one continues the discussion with HTML Encoding Nuggets, Html.Raw in ASP.NET MVC 3, MvcHtmlString, and so forth, but let's just tackle the basics in a quick blog post on HtmlString, IHtmlString, and

Smart Card COM

Project DescriptionSmart Card COM Library, useful to access smart cards from a Web page in Internet Explorer**We're on holidays **We are working in the first release of the code and we expect to publish that early in 2011. Enjoy holidays and check back soon. Read more: Codeplex Posted via email from .NET Info

Minggu, 26 Desember 2010

ASP.Net application hangs due to string.IndexOf

I had an interesting case recently. We discovered a hang in ASP.Net application caused by string.IndexOf method.Problem description: Frequently, this ASP.Net application would hang and the IIS worker process needs to be restarted for the application to function correctly. This happens even when the load is low. Troubleshooting:Same as before, we captured hang dumps for investigation. From the

.NET Developer Tools - What you should (could) have in your toolbox

Scott Hansleman has a pretty decent list of software tools that might be useful for developer and regular users in their daily life. My intention with this list is not to copy the existing resource but rather list some .NET-specific tools that developers might find helpful. Some of them require additional downloads, some of them don't - at the end of the day, you are the one who decides whether

WCF call has 15 seconds delay after idle for couple of minutes

Customer has a WCF application which uses ASP.Net as a client. The service is hosted on another IIS as well. For secure purpose, customer enabled transport layer security for the WCF service. Customer found the ASP.Net web page took more than 15+ seconds sometimes while normally it takes less than 1 second. With some investigation, we found the slowness happens only when the web application idle

Setting Up A Wildcard Certificate in IIS 7, How to Avoid Those Certificate Mismatch Errors.

There are some articles that explain the need for a wildcard certificate, but not so many which discuss the steps to properly set this up in IIS 7 which was why I decided to write this article as it is a common situation we see here on the support team. Background:Imagine the following scenario. We have multiple sites (for example let us say site1.marei.com, site2.marei.com and site3.marei.com)

Windows Phone 7 Apps with Expression blend

Read more: Youtube Posted via email from .NET Info

HTTP 500 Errors With Invalid Request Format After Upgrading Site to .NET 4.0

Problem: After upgrading an ASP.NET site to 4.0 you get HTTP 500 errors with exceptions when Javascript is making web service calls: “System.InvalidOperationException: Request format is invalid: application/json; charset=utf-8.” You’ve used IIS Manager to change the application pool to specify .NET 4.0 but the problem persists. Solution: Change to the 4.0 framework folder (C:\Windows\

Some cool Android tips and tricks

Last week, I sent a note to my team with some of my favorite tips and apps for Nexus S, which features Android 2.3, Gingerbread. A lot of Googlers liked it, so we thought some of you might enjoy it as well. (Note: Many of the tips are specific to Android 2.3.) TipsVisual cue for scrolling: When you are in a scrollable list (like your Gmail inbox) and you reach the end of the list it shows an

Shared Application Settings in machine.config

BackgroundApplication behavior frequently depends on exogenous parameters, such as a service URI or file paths, that are supplied by a developer or administrator. These inputs must be amenable to quick change without the need to refactor or recompile. A common answer to this requirement is to place such inputs in a configuration file: app.config for Windows applications, or web.config for web

Comparison of Bug and Issue Tracking Systems

Issue-tracking systems are used by organizations to create, manage and resolve issues. A software development company uses issue-tracking system at the center of its development to track bugs and thereby improve the code quality and speed of development. Issues can also be reported by help desk resources in Corporations who provide help desk or service support to their customers.An issue-tracking

What is the correct way of temporarily changing a thread's preferred UI language?

A customer ran into a crashing bug in their shell extension. The shell extension wants to change the thread's preferred UI language temporarily, so that it can load its resources from a specific language. You'd think this would be easy: // error checking elided for simplicity// There is a bug in this code - read on// Get the current thread preferred UI languagesULONG cLanguages;PZZWSTR

Unique Authentication using Magic of HTML5 and WCF

Table of ContentsIntroductionSystem RequirementsWhat You Can LearnFancy Signup FormImage UploadAjax Calls to WCF ServiceLogin FormConclusionHistoryIntroduction This is my first hands on in HTML5. One day I thought about making an application which is simple and fancy looking as well. I had not worked earlier in HTML5, but once I saw the new features and tags in HTML5, I decided to make something

22 Amazing Illustrated Web Designs

Today we are showcasing some of the most amazing Illustrated Web designs which will make you say wow. Designers are born to innovate and they leave no stone unturned to show their creativity. We are showcasing 22 beautifully Illustrated Web designs.    Read more: SloDive Posted via email from .NET Info

ASP.NET MVC: Using ProfileRequiredAttribute to restrict access to pages

If you are using AppFabric Access Control Services to authenticate users when they log in to your community site using Live ID, Google or some other popular identity provider, you need more than AuthorizeAttribute to make sure that users can access the content that is there for authenticated users only. In this posting I will show you hot to extend the AuthorizeAttribute so users must also have

29 important ASP.NET interview questions - Part 1

This section will cover the most asked questions related to ASP.NET interview questions by the interviewer so have a look on the following and do revise it when ever you go for the ASP.NET interview. Normally the ASP.NET interviewer starts with..... What’ is the sequence in which ASP.NET events are processed?In which event are the controls fully loaded?How can we identify that the Page is Post

Line Counter - Writing a SharpDevelop Add-In

IntroductionWhen seeing the article Line Counter - Writing a Visual Studio 2005 Add-In [^] written by Jon Rista, I wanted to show you how to write that add-in for SharpDevelop. In this article, I will show you how to create an add-in, but I will not discuss the details of SharpDevelop's add-in architecture here - you can read more about that in my article Building Applications with the

Metro UI (Zune like) interface (form)

Introduction The future of Windows Interfaces is probably the Zune-like ones, with a borderless form and some controls inside of it. The problem is: if you're using WindowsForm, creating that borderless form with shadows and resizing stuff's aren't as easy as it seems. This arcticle will show you how to create those forms using a bit of DWM and some other Windows Api's. BackgroundTo create the

Order in Chaos: Dependency Property Value Resolution

One of the strength points for WPF is the ability to set a property value using a wide range of methods.Unfortunately, this variety makes it hard to understand how a WPF dependency property gets its final value. Hopefully this post will help organize this issue. This post is based on the comprehensive MSDN article “Dependency Property Value Precedence”.Can you show an example please?In order to

Web site as Linux shell

Web site mimic Linux shell. You can navigate by typing commands just like in bashRead more: http://smanne.com/ Posted via email from .NET Info

10 Fresh And Best Free PSD Website Templates

Designers always looks for freebies on internet such as WordPress Themes, Logos, Icons, PSD Templates. So today we are going to represent 10 beautiful and fresh PSD templates for free download. PSD templates are popular among web designers. In these PSD templates Every web templates have .PSD sources files, after download you can modify and manipulate the file according to your requirements. In

How to Configure Silverlight Business Application to use SQL Server

כאשר יוצרים פרויקט חדש מסוג Silverlight Business Application ב-Visual Studio 2010, האפליקציה מוגדרת לעבוד מול SQL Express מקומי בשרת הפיתוח.כדי שאפליקציית ה-Silverlight תעבוד מול SQL Server, יש להוסיף לקובץ web.config הגדרה של Connection String. לדוגמא:    

C9 Lectures: Stephan T. Lavavej - Standard Template Library (STL)

Welcome to another installment of C9 Lectures covering the powerful general C++ library, STL. Joining us once again is the great Stephan T. Lavavej, Microsoft's keeper of the STL cloth (this means he manages the partnership between the owners of STL (dinkumware) and Microsoft, including, of course, bug fixes and enhancements to the STL that ships as part of Visual C++). Simply, Stephan is a C++

How to Convert an Enum to its String Value

If you ever need to get the string value of an Enum member you can do so using the following technique rather than using a reverse lookup table:Electronic electronic = Electronic.Breakbeat; // value = "Breakbeat"; string value = Enum.GetName(typeof(Enums.Electronic), electronic);   Where Electronic is an Enum declared like this:public enum Electronic{    AcidHouse,    Ambient,    BigBeat,    

Sabtu, 25 Desember 2010

Alpha Five

"Design rich Web forms and apps that run as fast as desktop apps. Professional developers can extend Alpha Five using open JavaScript libraries, the Xbasic or SQL languages, Genies and Xdialogs, the Report Builder, the Security Framework, over 1000 built-in functions, and more. Programming skills are optional with Alpha Five v10." - Dr. Dobb's Journal, October 2009If you are building web or

Kamis, 23 Desember 2010

VirtualBox 4.0 is released ! New PPA for Ubuntu and Debian

Again another release from Oracle before the end of the year, this time is VirtualBox 4.0 who has been released . This new version features an improved user interface, as well as added virtual hardware support, including for chip-sets supporting PCI Express and others. Other changes include increased capacity and throughput using a new asynchronous I/O model for networked (iSCSI) and local

23 important .net interview questions on Localization/Globalization

This section will cover the most asked questions related to Localization/Globalization during .net interview by the interviewer so have a look on the following and do revise it when ever you go for the .net interview Normally the .net interviewer starts with.....What is Unicode & Why was it introduced?Does .NET support UNICODE and How do you know it supports?What is the difference between

Using Google App Engine as Proxy for Silverlight and Flash Cross-Domain Requests

When using Silverlight or Flash to fetch data from other domains one often runs into cross-domain access restrictions. For security reasons in order to access data from different domains, the remote server explicitly has to allow this by defining a crossdomain.xml (or, for Silverlight, clientaccesspolicy.xml is good as well). If this file cannot be found on the remote domain, the request is not

Android Phones Get Virtualization

VMware is teaming with LG to sell Android smartphones that are virtualized, allowing a single phone to run two operating systems, one for business use and one for personal use. A user's personal email and applications would run natively on the Android phone, while a guest operating system contains the employee's work environment. The devices would also have two phone numbers Read more: Slashdot

Man Sues Rockstar Saying GTA:SA Is Based On His Life

From the article: 'Rockstar Games are no strangers to legal action, but it doesn't come stranger than this. An American model, Michael Washington (known as "Shagg") is suing the publisher — as well as parent company Take Two Interactive — because they based Grand Theft Auto: San Andreas on his life.'" It's a good thing Washington never learned the infinite ammo cheat.Read more: Slashdot

HTG Explains: Which Linux File System Should You Choose?

File systems are one of the layers beneath your operating system that you don’t think about—unless you’re faced with the plethora of options in Linux. Here’s how to make an educated decision on which file system to use. The landscape of the Linux file system support is drastically different from Windows and OS X. In Windows and OS X you can find software that will add support for non-standard

The Complete List of iPad Tips, Tricks, and Tutorials

The Apple iPad is an amazing tablet, and to help you get the most out of it, we’ve put together a comprehensive list of every tip, trick, and tutorial for you. Read on for more.Note: This article was originally published earlier this year, but we’ve updated it with a real lot more content since then, so we’re republishing it for you. We’ll be keeping this page updated as we find more great

GoldenEye Source Conversion Mod Released

   GoldenEye: Source is a total conversion modification of Half-Life 2. It is a fan made artistic recreation, released for free, with only one goal in mind;  to bring the memories and experiences from the original GoldenEye64 back to life using Source Technology. We want you to look at this mod and remember the first best multiplayer first-person shooter ever made. We are doing our best to bring

Oracle Releases MySQL 5.5

Two years after Sun released MySQL 5.1, Oracle has picked up the ball with the official release of MySQL 5.5. New features include semi-synchronous replication, InnoDB by default and new SIGNAL/RESIGNAL support for exception handling. Above all, Oracle stressed that they are committed to further MySQL open source development and that they see it as a complementary technology to their proprietary

Debian 6.0 To Feature a Completely Free Kernel

The Debian Project has announced that the upcoming release — Debian 6.0 'Squeeze' — will have a completely free Linux kernel. This means that the Linux kernel which ships with Debian 6.0 will not have any non-free firmware. The Debian Project has been working on removing the non-free parts since the last two releases. With Squeeze, they are finally realizing that goal Read more: Slashdot

Nexus S has been rooted, let the madness commence!

Our good friends at xda-developers haven't kept us waiting long. Root access on the Nexus S has been achieved on the phone's day of release, and full instructions for replicating it are available at the link below. The Nexus S is the proud and so far only carrier of Google's latest and greatest Android software, so you're basically getting unrestricted access to the very best Mountain View can

Google Rolls Out Shared Spaces Using Wave Technology

Google Labs has quietly debuted Shared Spaces, using Google Wave technology to let users quickly create a space with collaborative gadgets and a chat box inside.As soon as it’s open to the general public, it will be simple and quick to create a space, grab a gadget from the gallery of 50 that already exist, and then paste the Space’s URL into a chat window, e-mail message, tweet or any other

Swiss Bank Has 43-Page Dress Code

The HR of Swiss bank UBS AG came up with an innovative 43-page document (French) to establish fashion 'dos' and 'don'ts' in their retail branches. Among the rules are such things as: 'neither sex should allow their underwear to appear,' perhaps Dilbert was a bit ahead of them on that. The document also mentions smells and 'avoid garlic and onion-based dishes Read more: Slashdot Posted via

Virtual Styling Community Polyvore Debuts Analytics Tool For Fashion Designers

Polyvore, the startup lets web shoppers pull their favorite items any online store and mix and match to create personalized outfits online, is debuting a new analytics tool. Style Analytics provides retailers with metrics about their brand’s perception on the site. The Style Analytics tool will rank brands on Polyvore based on engagement level with their clothing and accessories. The tool aims to

MonoDevelop plugin for F# now available

The recent open code drop of the F# compiler and library source has led to quite a lot of activity. One of the things has been the emergence of a MonoDevelop plugin for F#,MonoDevelop is a cross-platform and open-source Integrated Development Environment. ...This web page describes an open-source project that implements MonoDevelop support for the F# language. The project is built on top of the F

Replace sp_msforeachtable With the CLR C#

In a previous post I create a CLR stored procedure in VB.NET to replace the undocumented system stored procedure sp_msforeachtable.  As promised here is the C# code.  I am still working on reacquainting myself with C based syntax so please feel free to point out any errors or performance issues. using System; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using

Debug .NET and Flex in Visual Studio

One of the unique features of Amethyst is its multi-process ’Cylon’ Debugger. This not only lets you debug multiple SWFs simultaneously, it also lets you debug mixed platform (.NET/Flex) and mixed-language (e.g. C# or VB and ActionScript) applications in a single debugging session. This video shows how... Read more: Sapphire steel Posted via email from .NET Info

Beginner Bash: Must-Know Bash Commands

I switched full time to Ubuntu Linux last year and haven’t looked back. In this year I’ve learned to love the Bash shell (which includes the Terminal in Mac and Cygwin on Windows). At this point, I can finally say I’m faster in Bash then I was in Windows Explorer, Commander, Nautilus, or the Windows command prompt; and I prided myself on being a guy with a lot of .bat files. My goal now is to

MySQL Transaction Gotchas & Good Parts

In my previous post, “MySQL Transactions & Why You Can’t Emulate Them in PHP” we discussed why transactions are useful and how a few simple SQL commands can make your application more robust. But few things are that easy in the life of a web developer… Statements you can’t ROLLBACKUnfortunately, ROLLBACK isn’t a global undo for every database action. If you make a fundamental change to the schema

A Simplified Grid Markup for Silverlight and WPF

The WPF / Silverlight syntax is long and cumbersome. This blog post describe a simple attached property that allows you to specify row and column widths / heights as a simple comma separated list, e.g. RowDefinitions=”Auto,,3*,,,,2*” The Grid is probably one of the most useful and versatile layouts that Silverlight and WPF offers. However, if you hand craft your XAML, as I do, you will probably

The __fortran calling convention isn't the calling convention used by FORTRAN

Although the Microsoft C compiler supports a calling convention called __fortran, that's just what the calling convention is called; its relationship with the FORTRAN programming language is only coincidental. The __fortran keyword is now just an old-fashioned synonym for __stdcall. Various FORTRAN compilers use different calling conventions; the one I describe here applies to the now-defunct

Getting the File System Image and Deleted Data Recovery

ContentsDescription of the FAT File System Format Reserved Area FAT Area Data Area Example of Recovering of Real Data ExampleDescription of the FAT File System Format As the majority of modern flash drives are formatted in FAT file system, let’s examine the structure of this file system. This file system consists of 3 main areas: reserved area, table (FAT area), and data area. The reserved area

An introduction to the Vectir SDK

What is Vectir?Vectir is an application that allows you to remote control your PC from your phone. They support a large number of phones and the important part is that they support my new phone (BlackBerry Storm 2). What makes it even cooler is that you get the option of connecting via Bluetooth or WiFi. Both these worked perfectly. Unfortunately the WiFi option worked only when I was on the same

F# Silverlight Application

Sick of creating C# Silverlight projects simply to host your lovely F# code ? Well, be sick no more - this extension will allow you to create an F# Silverlight App in 1 easy step! Hope someone out there finds this useful! (Updated 22/12/2010)Update includes:Changed output folder so debugging should now work straight away.Gave App.fs a more neutral namespace as the fsproj file references it

60 Creative Illustrated Twitter Backgrounds

In today’s post, we have listed 60 most creatively designed Twitter backgrounds which use various and innovative illustrations to create a visually attractive and appealing look to their profiles.    Read more: noupe Posted via email from .NET Info

Rabu, 22 Desember 2010

Silverlight Sockets Sample

Project DescriptionTrivial but complete sample for doing SL sockets.There is an SL project and a console socket server handling 943rd (SL policy) port and 4505th (for arbitrary data communication). Read more: Codeplex Posted via email from .NET Info

Battle.Net Library

.NET Project to use with Battle.net. Could import stuff from Armory for nowRead more: Codeplex Posted via email from .NET Info

Troubleshooting and Performance Tuning with SQL Server Traces

A couple of weeks ago I wrote a post (How to Change Database Settings with the PDO_SQLSRV Driver) that highlighted a problem that came up at the November JumpIn! Camp in Redmond. To get to the root of the problem (and eventually a solution), I used SQL Profiler to monitor events on my database server. Of course, monitoring server events can be helpful in troubleshooting any issue, including

Why Android Is the New Windows

Windows' dominance of the PC market has been good in many ways: reduced hardware costs, increased IT literacy and a standard development platform to name a few. Perhaps Android will bring similar benefits. But unless Google are very careful, it is likely to bring some of the same problems, too Read more: Slashdot Posted via email from .NET Info

Adblock Plus for Chrome now available

We told you it was coming soon, but we didn't know precisely how soon: Wadlimir Palant has already pushed the first beta version of Adblock Plus for Google Chrome. It was just four days ago that TechCrunch reported that Palant had changed his mind about never releasing a Chrome port -- citing reasons like not wanting to maintain two unrelated projects and the availability of capable alternatives

Pitfalls and Lessons Learned when switching from SVN to GIT

This is not Git howto, it just describes where our team had trouble when starting our current project in Git.Git is not SVNJust forget everything you know about SVN. Start over with a fresh mind. Ok checking out and commiting are still similar, but when working with branches and tags, it's a whole new world. Take a look at the Git cheatsheet: https://Git.wiki.kernel.org/index.php/GitCheatSheet

Cloud computing fundamentals

Summary:  A revolution is defined as a change in the way people think and behave that is both dramatic in nature and broad in scope. By that definition, cloud computing is indeed a revolution. Cloud computing is creating a fundamental change in computer architecture, software and tools development, and of course, in the way we store, distribute and consume information. The intent of this article

What Are the Next Big Things In Open Source?

Last week, SDTimes compiled a list of the five next big things in open source. I'd like to hear what you think are the open source technologies to watch in 2011.The SDTimes list includes technologies such as HBase and CouchDB, building on the NoSQL momentum. An interesting observation is that the addition of Eclipse Virgo to the already rich  Eclipse eco-system really adds weight to the runtime

Simple SIP(VOIP) based phone in C#

IntroductionThis application was developed and is currently in use as "Help -> Call to support". The idea is to create zero configuration very simple call-out phone, thats how it is now.  (Though IP based incoming calls supported. Example To: sip:test@ip:7666, 7666 is the port SIP_Call out runs). Currently this application runs on windows only. For some reason .NET "still" has no managed support

Cumulative Update package 5 for SQL Server 2008 R2

Cumulative Update 5 contains hotfixes for the Microsoft SQL Server 2008 R2 issues that have been fixed since the release of SQL Server 2008 R2. Note This build of this cumulative update package is also known as build 10.50.1753.0. We recommend that you test hotfixes before you deploy them in a production environment. Because the builds are cumulative, each new fix release contains all the

Free calling in Gmail extended through 2011

When we launched calling in Gmail back in August, we wanted it to be easy and affordable, so we made calls to the U.S. and Canada free for the rest of 2010. In the spirit of holiday giving and to help people keep in touch in the new year, we’re extending free calling for all of 2011. In case you haven’t tried it yet, dialing a phone number works just like a regular phone. Look for “Call phone” at

Expert-Exchange remove

תופעה מטרידה שנתקלתי בה הרבה היא שבחיפוש בגוגל אני מקבל תוצאות מ expert-exchange שזה אתר דומה לStackOverflow  רק בתשלום. זה מטריד כי יש אפשרות לראות את השאלה אבל בשביל התשובה צריך לשלם…  לא מעוניין שהאתר הזה יופיע בכלל אצלי על המפה. אז מסתבר שיש תוספים שיפתרו את הבעיה עבורנו… תוסף לכרום – יותר אינטואיטיבי, קל להוסיף סינונים.תוסף לפיירפוקס – פחות נוח, מאפשר חריגים. שניהם אגב יעבדו רק בגוגל רגיל

Setting up a Linux virtual machine for easy web development on Windows

Being a Windows user can be a real drag when trying to use technologies originally designed for the Unix world.  This hardship is especially prominent in web development.  While I do admire ASP.NET MVC, and enjoy being able to develop in C# as much as possible, my real passion right now is using Python with the Django framework. For simple applications, I often start out using Cygwin, the Django

SearchForPython

A search engine for Python developersDon't forget you can add @ at the end of a search for method details! Read more: SearchForPython Posted via email from .NET Info

Writing clean, testable, high quality code in Python

IntroductionWriting software is among the most complicated endeavors a human can undertake. Brian Kernigan, co-author of the AWK programming language and "K and R C", sumed up the true nature of software development in the book, Software Tools, when he stated, "Controlling complexity is the essence of software development." The harsh reality of real world software development is that software is

Ultimate Guide to Microformats: Reference and Examples

If you’re not familiar with the concept of POSH (plain old semantic HTML), the first thing to know is that producing semantic code that reflects content contextually (rather than stylistically) is a critical component of the web design process. While HTML has a whole bunch of awesome elements by which to convey meaning, a slew of purpose-built microformats (conventions) have been created to

Trigger a Storyboard on ViewModel changes

Interactions based on ViewModel changes are easy as soon as you understand how it works. A lot of people have been hiding and showing elements in the UI based on a boolean in the ViewModel which is converted to fit the Visibility property. Of course they used an IValueConverter that translates a bool to a Visibility enum. But sometimes designers are tough, they don’t want to show and hide, they

Authentication in Silverlight using WCF and ASP.NET Membership Provider

WCF has provided many benefits for developing secure, scalable distributed applications. One of the nice features of WCF service security is its integration with ASP.NET Membership provider. Using this provider, a caller can be authenticated by the WCF service against the user credentials stored in the SQL Server ASPNETDB database. Recently while conducting a training for my clients for ASP.NET

How to Play By the Rules of Fast Ethernet

The truth is everyone who uses Ethernet has wished from time to time that their network was faster. When Ethernet was first designed in the late 1970s, 10Mbps was like a ride on the autobahn.With today's bandwidth-intensive multimedia applications that number is barely adequate. For example, full motion video for video conferencing can require up to 25 Mbps. That means that classic Ethernet, at

How do I simulate input without SendInput?

Michal Zygmunt wants to create a system where multiple applications can have focus, with different users generating input and directing them at their target applications. Attempting to simulate this by posting input messages didn't work. "Can you tell us maybe how SendInput is internally implemented so that we can use it to simulate only part of the actions (like without acquiring focus)?"

Assigning Unique AutomationId for Silverlight XAML Controls

If you want to run coded UI tests or create action recordings for your Silverlight 4 application, you must have a unique automation property that identifies each control. For more information about how to set up your Silverlight application so that the controls are recognized, see How to: Set Up Your Silverlight Application for Testing. Static XAML DefinitionTo specify a unique automation

Вышла новая версия набора компонентов для .NET — DXperience 10.2!

Компания DevExpress объявила о выходе новой версии своего продукта DXperience, который содержит компоненты для программистов, ведущих свою разработку на платформе .NET с помощью MS Visual Studio. Версия DXperience 10.2 содержит множество новых продуктов и улучшений для таких популярных направлений как Silverlight, WPF, ASP.NET MVC, а также традиционных ASP.NET и Windows Forms. Если вы пишете код,

Advanced Topics in PInvoke String Marshaling

IntroductionThe .NET Platform Invoke tools, used through the DllImportAttribute, are a powerful and simple mechanism to interface with unmanaged DLLs. However, there are many subtleties that are important when addressing string buffer ownership responsibility with unmanaged code. This article covers some of the additional options besides the default MarshalAs(UnmanagedType.LPStr). Background So

Microsoft Expression Studio 4 Ultimate Trial

OverviewExpression Studio opens up a new world of creative possibility. Its professional design tools give you the freedom to make your vision real—whether you’re designing for standards-based websites, rich desktop experiences, or Silverlight. Includes Expression Web + SuperPreview, Expression Blend, SketchFlow, Expression Encoder Pro and Expression Design. For more information about what else

Brace for Impact!

My HTML5 Game Engine Impact is now ready. It took some time, but I think it was worth it. I'm proud of what I have achieved and I hope you'll like it too. Part of why it took so long to put it all together is that it now runs on the iPhone, iPod Touch and iPad. Try it yourself at playbiolab.com and impactjs.com/drop or watch a short video: All those platforms still have their problems with sound

#if DEBUG in javascript

כיצד לדעת האם האפליקציה בשלבי פיתוח או שהיא בשרת - בצד הלקוח באתר "ערוץ השידורים של מכללת סלע" רציתי לדעת האם אני במוד DEBUG או לא. ראיתי פוסט של פיני בנושא, אבל להשתמש עם Sys.Debug עושה לי כמה בעיות.ראשית הוא עובד רק במידה ומגדירים את המאפיין ScripMode ל - Debug או ל - Release, במידה וזה מוגדר ב - Auto המאפיין isDebug בצד הלקוח תמיד מחזיר true, בנוסף אצלי זה מוגדר תמיד ב - Release בגלל הבעיה

ServiceStack

ServiceStack is a high-performance Open source .NET web services framework that simplifies the development of XML, JSON and SOAP Web Services.Developed in the modern era, it has first-class support for IOC, testing and convention-based development enabling you to to develop your webservices entirely using pure, clean POCO DataContract's that are decoupled from the endpoint that it is hosted on.

MonoWiimote

Project DescriptionManaged c# library for using Wii Remote device under Mono/Linux enviroment.It requires libcwiimote-0.4 (sudo apt-get install libcwiimote-0.4).Read more: Codeplex Posted via email from .NET Info

TouchStack - A MonoTouch ServiceStack.NET client

Project DescriptionTouchStack makes it easier for MonoTouch developers to consume Web services created and exposed by the brilliant ServiceStack.NET webservice frameworkWhyI first developed this library because i wanted a client that would allow me to make asynchronous webservice calls without having to manually manage threads. So i decided to build one from scratch around Foundation Framework's

Visual Studio 2010 Setup Projects and x64 Support

I was taking the Windows Azure CmdLets project and getting it into an MSI just to make it easier to deploy in a nice package.  I ran into problems with the Setup project not being able to properly establish the right registry settings for an x64 environment. Even though you set the target platform on the Setup project to x64 the InstallUtil.lib that get’s run is still x86.  In order to have it

10 Things to Learn Next Year

It's almost the end of the year, which means that the usual flood of "Top 10", "Year in review" and other backward-looking articles are here.  Retrospectives can be a lot of fun and even occaisionally insightful, but in my opinion they are looking in the wrong direction.  So, in the spirit of looking forward to a new year, here's my top 10 list.  Not things that happened in 2010, but things I

Watch out those prepared SQL statements

Although not documented very well, the system stored procedures listed below are known to many SQL Server developers and DBAs. For more details, please check out http://msdn.microsoft.com/en-us/library/ms176007.aspx. But rarely have any developers called these stored procedures directly from application code. They are usually executed on behalf of ODBC, OLE DB, or other APIs, which developers are

Selasa, 21 Desember 2010

Cached Commons

Cached Commons is a collection of user-contributed javascript libraries that have been cached, optimized, and hosted on Github’s fast CDN. If a library is missing from this collection, post a request on Github and we’ll add it immediately. The readme has all the details. VisualizationCSS LibrariesDojo and PluginsExt Library and PluginsHTMl5 JavascriptsInternet ExplorerjQuery and PluginsRead more:

Google Libraries API

What is the Google Libraries API?The Libraries API is a content distribution network and loading architecture for the most popular, open-source JavaScript libraries. Using the Google API Loader's google.load() method increases your application's speed while providing access to a growing list of the most popular, open-source JavaScript libraries, including: Chrome FrameDojoExt CorejQueryjQuery

Cloud9 IDE

Cloud9 IDE is aiming to be the IDE for Javascript developers. We have all experienced the Eclipse variants and other Java or C++ IDE's for which webdevelopment and javascript was an afterthought. Extending these applications or customizing them to our needs was done in either Java or C++ and generally very difficult. We are developing applications in javascript to run online for a purpose, why

Free Silverlight Book, Gauge and TileView Controls

The pack offers three free Silverlight controls for incredibly rich UI and data visualization – Book, Gauge and TileView. The controls feature the full functionality of their commercial versions, thus offering lean and intuitive API, Expression Blend support, Visual Studio 2010 and SharePoint 2010 support and built-in Office Black theme. Read more: Telerik Posted via email from .NET

CodeMirror

CodeMirror is a JavaScript library that can be used to create a relatively pleasant editor interface for code-like content ― computer programs, HTML markup, and similar. If a parser has been written for the language you are editing (see below for a list of supported languages), the code will be coloured, and the editor will help you with indentation. Read more: Codemirror Posted via email

MooPlay

MooPlay brings some controls over an html5 video element. You can build and customize your own player with :a play / pause controlbuttons to move inside the video (rewind and fast forward) an interactive play progress slidera load progress bara volume slider and a mute buttonsubtitles loaded through an ajax request and synchronized with the video. Supported formats are SubRip (.srt) and SubViewer

Wirify

Interaction designers spend a fair bit of time creating and revising wireframes in the early phases of our online projects. Whatever your take on wireframes is, they are a mainstay in the user experience professional’s toolkit. Although typical wireframes are essentially dead documents, they’re extremely helpful as thinking and communication tools during a project. We even have several great

Transparency: What's Next for WikiLeaks?

The news about WikiLeaks is developing every day. Our latest infographic should give you all you need to know about the major players in the quest to either keep the site running or shut it down.Read more: Googd politics Posted via email from .NET Info

SQL SERVER – Securing TRUNCATE Permissions in SQL Server

All data from everywhere here on Earth go through a series of  four distinct operations, identified by the words: CREATE, READ, UPDATE and DELETE, or simply, CRUD. Putting in Microsoft SQL Server terms, is the process goes like this: INSERT, SELECT, UPDATE and DELETE/TRUNCATE. Quite a few interesting responses were received and evaluated live during the session. To summarize them, the most

Hibernate Caches

BackgroundHibernate comes with three different caching mechanisms - first level, second level and query cache. Truly understanding how the Hibernate caches work and interact with each other is important when you need to increase performance - just enabling caching in your entity with an annotation (or in classic .hbm.xml mapping file) is easy. But understanding what and how things happens behind

Обзор веб-дизайн трендов 2010.

С каждый годом интернет становится всё ярче и креативней. Дизайнеры не стоят на месте и постоянно придумывают что-то новое. Этот год не стал исключением и подарил нам массу интересного. Ниже смотрим обзор новых трендов в дизайне, которые нам преподнёс уходящий 2010. Огромный шрифтПоявление огромных шрифтов связано с ростом популярности больших мониторов. С помощью таких инструментов, как

The INavigationContentLoader interface in Silverlight 4

Since Silverlight 3, we have had the Navigation Application template available. Using this template, we did not need any tricks anymore to do navigation between “pages” (which did not exist in Silverlight 2, we only had the UserControl). In SL3, a Navigation Application was however rather locked down: developers had little to none options available to hook into the navigation process itself. With

Why are anonymous types generic?

Suppose you use an anonymous type in C#:var x = new { A = "hello", B = 123.456 };Ever taken a look at what code is generated for that thing? If you crack open the assembly with ILDASM or some other tool, you'll see this mess in the top-level type definitions .class '<>f__AnonymousType0`2'<'j__TPar','j__TPar'>What the heck? Let's clean that up a bit. We've mangled the names so that you are

Azul's Pauseless Garbage Collector

SummaryAt the JavaOne 2010 conference in San Francisco, Gil Tene, CTO of Azul Systems, discusses their pauseless garbage collector. In this interview, he explains the pauseless collection algorithm. Bill Venners: One problem with deploying Java applications that require a lot of memory is that the more memory they use, the longer garbage collection pauses can become. Can you explain how Azul's

Apache mod_proxy abuse

This week I learned the hard way that you have to watch out with apache mod_proxy, especially when you are using the option ProxyRequests On and ProxyPass, my Apache server was being abused as a proxy! What happened?Last week I noticed that my Apache access.log was growing rapidly, 400MB each day?! Looking at the log file it had only entries with requests for unknow URLs and my server replied

Silverlight 4 Training

OverviewThe Silverlight 4 Training Course includes a whitepaper explaining all of the new Silverlight 4 features, several hands-on-labs that explain the features, and a 8 unit course for building business applications with Silverlight 4. The business applications course includes 8 modules with extensive hands on labs as well as 25 accompanying videos that walk you through key aspects of building

15 Excellent Step by Step HTML5 Website Coding Tutorials

Perhaps  you want to start using html5 markup now and you don’t know where to start with. Well, I’ve collected some of the best step by step html5 website coding tutorials just for you. I hope this will be useful to you and I love to hear your suggestion in the comment section. Enjoy! 1. Code a Vibrant Professional Web Design with HTML5/CSS32. Coding A HTML 5 Layout From Scratch 3. Create An

30 Supercharged Free Photoshop PSD Files for Web Designers and Developers

Free PSD files are the friend of all designers, as they can save time for seasoned designers who need a lightbox, pagination, social media icons or other elements to use in their designs, and they are useful learning resources for beginning designers who want to see how to design such elements for themselves.  Web developers can benefit as well, by using them to test individual effects such as

Programming Memory-Mapped Files with .Net Framework

IntroductionFirst of all, what is memory-mapped file or MMF? MMF is a kernel object that maps a disk file to a region of memory address space as the committed physical storage. In plain English, MMF allows you to reserve a range of addresses and use a disk file as the physical storage for the reserved addresses. When a MMF is created, you access the mapped disk file as if you were accessing

Hebrew domain names

החל מיום ראשון הקרוב (26/12/2010) יוכל כל מי שחפץ לרכוש כתובת אינטרנט (Domain) בעברית. למה זה טוב?… לא ברור לדעתי.בטוח שטוב לגופים שמוכרים שמות מתחם באינטרנט, אבל האם זה טוב לצרכן?  יש משהו נחמד בלרשום בעברית בשורת ה- URL אבל מצד שני אנחנו עדיין דורשים מהמשתמש להתחיל באנגלית, להקליד http://www לעבור לעברית (Alt+Ctrl) לכתוב את השם בעברית, לחזור לאנגלית ולסיים את הכתובת בסוג וכמובן בנקודה איי אל.

To const or to not to const (static readonly) that is the question

Lets discuss the following scenario: We have an assembly named [DomainModel] that has a class named [Person] that all of its properties are stored in a property-bag, in addition we have a const string that holds the key of the Name Property, this key is named [NameKey] and Its value is “Name”, so far so good.   don’t ask me why I use property bag this is just for demonstration purposes

Color of the Silverlight Scroll Bar - How to change it?

I have come across a situation where the color of the silverlight scroll bar was looking very ugly in one of my projects and it needs to be changed. As many of you might have observed the default pale color sucks most of the times.  When the situation demands color tweaking for the scroll bar : Few simple steps and a few minutes of time, its done. Tools Needed: Microsoft Expression Blend.When you

Basic Shapes - C# OpenGL

In this tutorial, we are going to learn how to create basic shapes in c# using OpenGL. First, we are going to create a new Project and a new Console Application. It's important that we should have the dynamic libraries in order to use OpenGL . We are going to add this in our project: We have two variables that specify an angle and a camera angle, we are going to use them for the different

VS2010 SP1 Beta: What’s in It for C++ Developers

As announced two  days ago by S. Somasegar and Jason Zander, the Visual Studio 2010 Service Pack 1 Beta is now ready for download! Service Pack 1 Beta comes with a “go live” license which means you can start using the product for production related work (see the license agreement with the product for more details). The link for this SP1 Beta download is here. With this service pack we’re not

Структурные шаблоны: Приспособленец (Flyweight)

Название шаблонаПриспособленец (Flyweight).ТипСтруктурный шаблон проектирования (Structural).ОписаниеПриспособленец это экземпляр объекта, который выдается себя за группу самостоятельных экземпляров. Шаблон применяется если:в приложении используется большое число очень схожих экземпляров заданного класса;(и) часть состояния объекта является контекстной и может быть легко вынесена во внешние

ASP.NET MVC 2 Basics - Working with List Boxes

IntroductionIn many ways ASP.NET MVC represents a big step forward from Web Forms. Instead of working with an abstraction that tries to impose a non-web model onto a web development framework, ASP.NET MVC embraces the http model and presents developers with a way of working that is much more in-tune with how the web actually works. This is liberating but for developers only familiar with the Web

25 Modern Navigation Solutions: Unique Designs & Awesome Effects

Navigation is an important element of web design, and of any website. It is the one thing that allows the user to get around the website, and is often the element in web design that gets the most attention when it comes to organizing an effective user interface. Read more: OneXtraPixel Posted via email from .NET Info

How to enumerate all certificates on a smart card (PowerShell)

Some time ago I assisted my colleague Jeff Bowles with the development of a PowerShell script which enumerates all certificates on a smart card. Basically the replacement to CAPICOM.Store.Open CAPICOM_SMART_CARD_USER_STORE. He developed a sample that returns a System.Security.Cryptography.X509Certificates.X509Store object with the certificates in the card. The sample tries to emulate what

Yes you can write Inline Code in XAML

A couple of days ago I was spreading the WPF goodness and was talking about how MVVM (Model-View-ViewModel) helps promote separation of concerns by removing the need for the code-behind file from the associated XAML file.  After my statement someone replied with the following question, “So why even have it there, can you just delete it?”.  Obviously I replied yes, you absolutely can delete the

PostgreSQL 9.0 Offers Many New Features

I’ve always loved PostgreSQL. It is my database of choice these days and I use it with both CakePHP and with the Django framework for Python. PostgreSQL has always had a very robust feature set and was one of the first truly ACID compliant open source databases. With the recent release of version 9, PostgreSQL has added a slew of requested features that truly put it above the rest. The biggest

Minority Report Meets Visual Studio

One of the cool things I get to do here at DevExpress is explore new technologies to interface humans with machines, and more specifically, developers with their code. In the past you’ve seen us write code with chopsticks, super models, guitars, and our minds. With the release of Microsoft’s Kinect, we knew it wouldn’t be long before we’d be working on an interface for Visual Studio to let you

A Programmer's Guide to Starting a Software Company and Building an Enterprise Application

IntroductionThis is the first in a series of columns in which I will tell you how I started SplendidCRM Software, Inc. I hope my entrepreneurial experience will inspire you as creating a company can be a wonderful adventure. Article 1I started SplendidCRM Software four years ago when I was between jobs (in other words, I was out of work). I was bored all day and was looking for something

Senin, 20 Desember 2010

Шесть шляп мышления Six Thinking Hats

ОСНОВНАЯ КОНЦЕПЦИЯ 'Мышление делится на шесть разных режимов'.Когда мы имеем дело с практическим мышлением, возникают три фундаментальные трудности:1.       Эмоции. Часто мы склонны не думать вообще, а опираться в наших действиях на чутье, эмоции и предрассудки. 2.       Беспомощность. Нашей реакцией может быть чувство неадекватности: "Я не знаю, как об этом думать. Я не знаю, что делать дальше"

10 самых популярных методик для поиска новых идей

1. Мозговой штурмАвтор — Алекс Осборн.Основной принцип состоит в том, чтобы развести во времени генерацию идеи и ее критику. Каждый участник выдвигает идеи, другие пытаются их развивать, а анализ полученных решений проводится позже. Иногда используют «немой» вариант мозгового штурма — брейнрайтинг, когда идеи записываются на листке бумаги, который участники передают друг другу, внося новые

Guitar 2

-------This email message and any attachments thereto are intended only for use by the addressee(s) named above, and may contain legally privileged and/or confidential information. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of

vi / vim graphical cheat sheet

Read more: Vi / Vim graphical cheat sheet Posted via email from .NET Info

SQLInject-Finder – Intelligent SQL Injection Detection Script

SQLInject-Finder is a simple python script that parses through a pcap and looks at the GET and POST request data for suspicious and possible SQL injects. Rules to check for SQL injection can be easily added. Output can be printed neatly on the command line or in tab delimited format. The output includes:The suspicious IP addressThe attacked webpageThe parameter and value usedThe frame number of

Breaking SSL on Embedded Devices

No, this is not some new SSL vulnerability. In fact, it’s a really old vulnerability, as old as cryptography itself: keep your secret keys secret.A lot of embedded devices provide HTTPS support so that administrators can administer the devices securely over untrusted networks. Some devices, such as SSL VPNs, center their entire functionality around SSL encryption. OK, well SSL isn’t perfect, but

17 GREAT ONLINE RESOURCES FOR LEARNING ABOUT JAVASCRIPT

There are many websites that cater to web designers who want to learn about JavaScript techniques and applications. Many of these resources cater to beginners who’d want to learn about JavaScript techniques.There are other online resources which cater to advanced JavaScript users who would like to learn how to apply JavaScript techniques to create useful applications. To see what we mean, here

How to re-target unit-tests to .Net Framework 3.5 in VS 2010 SP1

Visual Studio 2010 Service Pack 1 enables basic support for unit tests that target .Net framework 3.5.  With this support the users can:Create new unit-test projects and target them to the .NET Framework 3.5. Upgrade VS 2008 unit-test projects to VS 2010 SP1 and then re-target them to .NET Framework 3.5Run unit tests that target the .NET Framework 3.5 from Visual Studio 2010 SP1 on your local

Threads, processes and concurrency in Python: some thoughts

Threads, processes and concurrency in Python: some thoughtsI attended the EuroPython conference in Birmingham last week. Nice place and nice meeting overall. There were lots of interesting talks on many subjects. I want to focus on the talks about concurrency here. We had a keynote by Russel Winder about the "multicore revolution" and various talks about different approaches to concurrency (

Resolving an App-Relative URL without a Page Object Reference

If you've worked with ASP.NET before then you've almost certainly seen an application-relative URL like ~/SomeFolder/SomePage.aspx.  The tilde at the beginning is a stand in for the application path, and it can easily be resolved using the Page object's ResolveUrl method: string url = Page.ResolveUrl("~/SomeFolder/SomePage.aspx");There are times, however, when you don't have a page object

Private Cloud Architecture - Part 1: Introduction and Definitions

Cloud Computing promises to increase quality and agility of the IT Services while decreasing the associated costs. We will discuss how to achieve that in this series.The promise that cloud computing is based upon will change the way we plan, design and consume computing power for the next decade. Yet, it is unclear from where should we start or where we will go. In this series, I will discuss the

WCF by Example - Introduction

IntroductionThis article is the first of a series that discusses how to design and develop a WPF client using WCF for communication and NHibernate for persistence purposes.Designing enterprise applications requires a comprehensive set of skills. In small and medium projects allocation of time and resources could be not feasible to the extent that is in larger projects, it is at this time where a

Corporate Open Source Repositories You Never Knew Existed

Interesting, I just stumbled upon yet another corporate open source repository that I never knew existed. We all know about IBM and Sun's open source repositories, but what about the rest of them? Well here's a few I can remember: Sybase Open Source Novell ForgeIntel Open Source HP Open SourceNetwork AssociatesReal NetworksThoughtworks MitreRead more: Manageability Posted via email from

GoogleMusic Player

Project DescriptionChoose and play music from newly launched google Music Search: http://www.google.co.in/music in a windows based client. Enables you to create and save playlists. Gives a very easy interface to choose music, just click on the song from the google music site on the left panel, automatically adding the song to the right panel. create your playlist and let it play automatically all

Minggu, 19 Desember 2010

Android 2.3 source code now available, you can now bake your own Gingerbread

Not even 2 weeks after the official unveiling of the Nexus S, Gingerbread's source code is now available to the public. Jean-Baptiste Quero, an engineer at Google's Android Open-Source Project (AOSP), posted the announcement early this afternoon on a Google Groups message board, making Android devs the world over a very happy group of people. Quero had warned that it would take several hours for

Microsoft releases H.264 video plug-in for Windows 7 Firefox users

We're assuming it would still prefer you use Internet Explorer for all your web browsing needs, but Microsoft is now lending something of a helping hand to Windows 7 users that insist on using Firefox for one reason or another. It's just released a plug-in that gets around Firefox's current limitations in handling H.264-encoded videos on HTML5 pages by taking advantage of the H.264 support built

Property change notifications for multithreaded Silverlight applications

As I’ve been developing more complex Silverlight business applications, I’ve been increasingly relying on BackgroundWorker to offload complex calculations and operations to the background thread.Something I didn’t have to worry about in the typical user interface thread-only implementation of my app was which thread change notifications fire on. Here’s a typical scenario:You have a CLR property

Top 50 Linux Quotes of All Time

I have collected 50 of my favorite "Linux quotes" of all time. They are without doubt some of the most entertaining quotes that I've ever read. Although you may have already heard some of the Linux quotes that I'm about to share with you since they are a bit old, I do hope that you will still have fun. So without any more delay, here are my top 50 Linux quotes of all time:50. I develop for Linux

Build a “Management” Chat Bot in 5 steps with Google AppEngine

Google AppEngine provides very cool features. One of these features is the XMPP API, that allows you to write apps that can interact with users through XMPP clients, e.g. Jabber or GTalk.Here’s a quick description how to create a chat bot which will help you to work for efficient. I think it has the potential to replace at least some managers. 1. Create a new web application project “

Remove Newline Tab Character in Data using SQL Server

While working on an application, I came across a small column with some Newline and Tab characters in it. The requirement was to replace these characters. Here’s how to remove/replace the Newline characters in your data. I will demonstrate this example with a string, but you can easily replace it with a column name DECLARE @str as nvarchar(70)SET @str = 'APPT 5212NORTH BLOCK, 7th AvMUMBAI,

Force VS to garbage collect

Here’s another little gem I’ve got for you.As you probably know, Visual Studio is a big product, with contributions coming from many many different teams, and languages. A big part of Visual Studio is written in managed languages these days, and there are a ton of 3rd party components that you can download and install from the VS Gallery that are also written in managed languages. As such, there

Reporting in .NET

Most business applications require some type of reporting. Why bother with all of the CRUD (create, review, update, delete) if there is no reporting on all that data?With .NET, there are several reporting options and features. This set of posts focuses on two features: Report file: An installed template in Visual Studio for building the layout for a report.ReportViewer: A control in the toolbox

Windows Identity Foundation SDK

OverviewThe Windows Identity Foundation SDK provides templates for use with Visual Studio and code samples. This download requires the Windows Identity Foundation runtime be present.Read more: MS Download Posted via email from .NET Info

56 Open Source Replacements for Popular Web Development and Design Tools

Open source Web development tools have come a long way. The open source community offers a huge array of applications that are useful to Web developers and designers. In many cases, these open source tools are even more widely used than their closed source counterparts. And some open source Web tools don't even have any real closed source competitors. As these tools mature, it's becoming more and

VirtualBox 4.0.0 Beta 3 has been released!

VirtualBox v4.0.0 Beta 3 is released. This beta release fixed some important bugs like additions mounting, fixed also some issues with 3D support , Linux Additions: fixed xorg.conf patching for older Linux and more. Read more: UnixmenRead more: VirtualBox Posted via email from .NET Info

MySQL 5.5.8 GA יצא. מה מעניין את משתמשי .net?

השבוע יצאה סוף סוף הגרסה הסופית של MySQL 5.5. אני מנחש שמשתמשי הלינוקס למיניהם ידושו בו ויחקרו אותו היטב, אבל חוץ מהם, מסתבר שהחבר'ה שם עשו עבודה טובה למדיי בכל מה שקשור למשתמשי מיקרוסופט. 1. ואת זה אני אומר מנסיון אישי, השיפור בביצועים בשליפות מתוחכמות מדהים! ואני מדבר בעיקר על המחשב השולחני שלי ולא על שרתי מפלצת. 2. השיפורים בביצועים על Windows מורגש היטב, לעיתים עד פי עשר משליפות קודמות. מישהו

Christmas Comes Early for Java Developers

Today Google announced that they will be contributing two key pieces of Java tooling technology to proposed Eclipse Foundation projects. Two new projects are bringing to Eclipse product-quality code which have been highly regarded by Java developers for many years. They will fill major requirements that the Eclipse developer community have been hoping to see in open source for a long time. The

Microsoft keyboard F Lock

למי שמשתמש במקלדת מיקרוסופט, יש את הכפתור המעצבן (לטעמי) F Lock (אי שם מימין למעלה).הכפתור הזה נועד למעשה לשכפל את התפקוד של שורת הFים. הכפתור הזה מעצבן כי ברירת המחדל שלו היא כבויה כלומר אין Fים. יש פונקציות אחרות (Open,New  וכו’).מה שמציק הוא שכאשר מכבים את המחשב הוא שוב מתאפס ונשאר כבוי, ואז אני מוצא את עצמי לוחץ F5 לדיבאג וזה לא זז עד שלוחצים עליו. אז זהו שיש לזה פתרון. לא נכנסתי לעומק העניין

Chrome CR-48 Basic Guide

I got one.. That is the most amazing thing!! The new CR-48 from Google is a nice compromise between a netbook and a full size laptop. For instance I'm typing this laying down on the sofa something I would not comfortably do with one of my laptops. While I don't really mean it to be.. I can't help but make this a bit of I got one and you did not post,, sorry just can't help it..Damm this browser

Google Chrome OS mauled by Richard Stallman

Free Software Foundation founder Richard Stallman has attacked Google's still-gestating Chrome OS, arguing it's designed "to push people into careless computing."Stallman – who created the free Unix-style GNU operating system – has never been a fan of so-called cloud computing. At one point, he called it "worse than stupidity." And now, he's peeved that with Chrome OS, Google is so strongly

24 Interview questions for Hadoop developers

A good understanding of Hadoop Architecture is required to understand and leverage the power of Hadoop. Here are few important practical questions which can be asked in a Hadoop Developer interview. This list primarily includes questions related to Hadoop Architecture, MapReduce, Hadoop API and HDFS. What is a JobTracker in Hadoop? How many instances of JobTracker run on a Hadoop Cluster?

How to solve Visual Studio hang problem when working in win7 with Norton antivirus

A recent support email between customer and our developer shows that Norton/Symantec antivirus may affect Visual Studio’s performance in win7 due to the win7 jumplists.  Here’s a workaround for it:First, to determine if this is the problem, you may want to disable the antivirus temporarily and see if these hangs still repro. If it’s indeed the case, please create/set the following registry value

Windows x64

Over the past few years, I've done a lot of presentations on x64 technology as it pertains to game developers and DirectX technologies. Here is a collection of links for developers interested in learning more about the Windows x64 OS and x64 native programming generally. Technical Articles 64-bit programming for Game Developers (DirectX SDK)  RAM, VRAM, and More RAM: 64-Bit Gaming Is Here (

BCrypt.Net

Project DescriptionA .Net port of jBCrypt implemented in C#. It uses a variant of the Blowfish encryption algorithm’s keying schedule, and introduces a work factor, which allows you to determine how expensive the hash function will be, allowing the algorithm to be "future-proof". DetailsThis is a direct port of jBCrypt written by Damien Miller. The easiest way to verify BCrypt.Net's parity with

MSBuild Extension Pack

The MSBuild Extension Pack December 2010 release provides a collection of over 380 MSBuild tasks. A high level summary of what the tasks currently cover includes the following:System Items: Active Directory, Certificates, COM+, Console, Date and Time, Drives, Environment Variables, Event Logs, Files and Folders, FTP, GAC, Network, Performance Counters, Registry, Services, Sound Code: Assemblies,

Build your own browser with Chromeless

Chromeless is an experimental way of letting you build a browser UI using nothing but HTML but this could be the way of the future making web apps look exactly how you want them to look. This is another of those weird or wonderful, depending on your point of view,` projects from Mozilla Labs. Chromeless 0.1 is now available for download and what it does is allow you to build your own custom

SQL Server Denali - AlwaysON (HADR): Step-by-Setup setup guide

As you might be aware that SQL Server Code-Named “Denali” has introduced a new feature called Always ON for enhancing the availability of user database in a enterprise environment. In simple terms, AlwaysON is a high-availability and disaster recovery solution, which will enable you maximize availability of your critical user databases by use of “availability groups” WARNING: The blog-post is

vmail

vmail is a Vim interface to Gmail. Here are some (outdated) screenshots: Why vmail? Because some people are 1000 times more efficient and happy in Vim than in any web browser or GUI program.Prerequisitesa Gmail accounta relatively recent version of Vim (vmail is developed against Vim 7.3) Ruby with SSL support compiled in (vmail is developed using Ruby 1.9.2)RubyGems (if Ruby version is older

C++ Coding Challenge #1

Problem: Write a program that will find the largest element of an arbitrary array without using any conditional structures: banned { if/if-else/switch/for/while/do/?:-operator }bonus: Display the array sorted from smallest to largest with the same conditions. i.e. write the function max in this little program:int main() {    int array[] = { 3, 1, 4, 15, 9, 2, 6, 5, 35, 8, 97, 93, 23, 84, 62, 64,

8 Most Effective Methods to Optimize and Boost Website Performance

IntroductionI have been in web development industry for quite a long time now, start from personal interest, to freelancing and now working as a full time web developer in an vibrant and fast pace digital agency. I have learned heaps of techniques and skills in developing websites as well as make sure websites perform well in an optimised server environment. So, I created this post, as a

Skype's Biggest Secret Revealed

For eight years, Skype enjoyed selling the world security by obscurity. We must admit, really good obscurity. I mean, really really good obscurity. So good that almost no one has been able to reverse engineer it out of the numerous Skype binaries. Those who could, didn’t dare to publish their code, as it most certainly looked scarier than Frankenstein. The time has come to reveal this secret.

Create ASP.NET Server Controls from Scratch

In this tutorial, you will learn how to build an ASP.NET server control by creating a HTML5 video player control. Along the way, we’ll review the fundamental process of server control development from scratch. IntroductionASP.NET comes with its own set of server-side controls, so why create our own?By creating our own controls, we can then build powerful, reusable visual components for our Web

What do Babel, icons and Intellisense have in common?

When you are using Visual Studio Intellisense completion list, you must have observed a collection of icons as shown below There are 179 such icons and have you ever wondered what do all these icons mean? These are called Babel Icons and you can have different icons for a method depending on whether it is public, protected or private. Here’s a snapshot of these icons … The Babel Package comes

Storing TSQL Queries in a table without losing the formatting

One of the applications we worked on recently had to deal with storing TSQL queries in a table and executing them based on some business logic. It was not a very complicated project, but the development team had a tough time with the formatting of the queries stored in the table. This was a huge problem when the queries were to be modified. The ProblemThe developer writes a well formatted TSQL

How to move datafiles to a new drive in SQL Server

For one of the databases that I have to manage we were running out of space, so we got a shiny new 10.9 TB sized drive.I was asked to move some files used by one database to this new drive. I decided to write up a little blog post just in case you ever need to do this so that you don't backup and restore (with move) because there is another way. First create this test database with 3 data files

Impact of the number of idle connections in MySQL

Be careful with my findings, I appear to have compile in debug mode, I am redoing the benchmarksI recently had to work with many customers having large number of connections opened in MySQL and although I told them this was not optimal, I had no solid arguments to present. More than once, I heard: it is not a problem, those connections are Sleeping! In order to remedy to this situation, I decided

Some hidden features in the Windows Phone 7 emulator

The default set of settings available in the Windows Phone 7 emulator is pretty limited – and there is a reason for that. After all, the main purpose of the emulator is not to provide a full-fledged OS to developers using it but rather a basic testing environment. What some developers don’t know that the emulator in fact provides a full-fledged, but locked OS that has some features disabled (but

Silverlight with Facebook - a practical guide to integration

ForewordThis article discusses how basic Facebook features (such as logging in, posting to a user’s wall) can be accessed from within your Silverlight application. Since we will be discussing the topic of integrating Facebook with Silverlight, understanding the article requires that you have some basic knowledge of the two. Note: this is a guest article, written by a co-worker, Balázs Cseh. It

Verifying Generated HTML With HAML, Cucumber, Capybara and RSpec

Several of the reports that the app that Joey and I are working on will be generated via HAML to be displayed in the app, for the users. The generated content will end up being HTML, but starts it's life as HAML markup - our preferred markup for Rails apps. It's easy to generate HAML into HTML, in code: haml_file = "path/to/my/filename.haml"haml_data = File.read(haml_file)result = Haml::

Using Var + As, a Neat Little Trick

Perhaps this is something everyone already knew about, but I recently came across this little C# combo that solves one of my major outstanding issues with the var keyword.I consider var to actually be quite a useful language feature to reduce repetition and make your code slightly more flexible for refactoring, but I’ve always had one little problem with it. What if I want a base class type or

C#/.NET Little Wonders – Cross Calling Constructors

This is another little tidbit that I love using, and it should be fairly common knowledge, yet I’ve noticed many times that less experienced developers tend to have redundant constructor code when they overload their constructors. The Problem – repetitive code is less maintainableLet’s say you were designing a messaging system, and so you want to create a class to represent the properties for a

Data Access Engine (DAE)

Project DescriptionData Access Engine (DAE) is an open source and free .NET component to access all popular DBMSs such as Microsoft SQL Server, MySQL, Oracle, Microsoft Access, SQLite and databases that connected by ODBC. DAE helps to connect different DBMSs at the same time. It also reduces delivery line of code (DLOC) in ADO.net programming. DAE is created by Visual Studio 2010 and it is

Marking Tasks and Bugs as “Done” During a Check-in

In recent weeks, a few different people have asked me how to modify the Scrum template such that a Task or Bug is marked as Done during a check-in.   We left this out of the original state flow because we wanted the done state transition to be very intentional, but it’s a common practice and a very handy feature. To change this behavior on an in-flight project you want to add the

Can Android do Serious Linux Work, or is it Just a Toy?

Lugging a laptop around is preferable to commuting, but why not go even more portable with a smartphone or tablet? Can Android serve as a capable remote server administration platform? Android is based on Linux and is open source, so it seems it should be a natural for portable administration. Both Apple's iOS and Google's Android operating systems were designed from the ground up with the mobile

5 of the Best Free and Open Source Server/Network Monitoring Software

A website or network administrator relies on server/network monitoring software that can continuously keep an eye on the system and can detect slow or faulty components. These monitoring tools can automatically send updates or activate backups in case of outages caused by server crashes or overloads, network connections and other factors. For instance, to find out the status of a web server,

ASP.NET page automatically notifies when MSMQ message arrives

Recently I came across a forum query. The query was like: There is one source from which a message was sent to MSMQ and a web interface aka an asp.net page would display the newly added message automatically without any user intervention. In order to replicate the situation, I created two .NET projects; one is a simple console application and another is a web application. The console application

Coroner’s Report

Post-Mortem (noun): a discussion of an event after it has occurred.This is where hindsight becomes conventional wisdom. Before writing this I looked for a few examples of other Start-up Post-Mortems to see if there was a particular pattern or commonality in the termination of new ventures. Our friends over at ChubbyBrain did a great job of compiling a list of 25 startup failures in which the

Intel to introduce processor with remote kill switch

Intel is preparing to launch its Sandy Bridge processors at the Consumer Electronics Show (CES) in January. The most interesting thing about these new processors is the kill switches that are built into them. Sandy Bridge is the code name for Intel’s processor configuration and it is the successor to Nehalem.According to an ITBusiness.ca article, David Allen, director of distribution sales, North

Wrong answer #1: Your own ThreadLocal

Well, one way we can use to solve the problem is by introducing a finalizer, like so:public class CloseableThreadLocal{    [ThreadStatic] private static Dictionary slots;    public static Dictionary Slots    {        get { return slots ?? (slots = new Dictionary()); }    }    public /*protected internal*/ virtual Object InitialValue()    {        

Installing a Production Server for ASP.NET MVC 2

Two days ago I was asked to help with a production server installation. In the customer environment they built an ASP.NET MVC 2 application which they wanted to deploy. I found a very excellent post that Jon Galloway wrote about this subject and used it in at customer. In the post I’ll summarize some of the options that I used when we installed the production server for ASP.NET MVC 2. Web

A Guide to GIT using spatial analogies

Some developers find Git takes a little getting used to, claiming that it is conceptually convoluted compared to other distributed version control systems. I used to number myself amongst them.Happily, I’ve found that a couple of simple spatial analogies have made me proficient and fluent in using Git’s command-line interface. One of the things that tripped me up as a novice user was the way Git

Microsoft SQL Server 2005 Service Pack 4 Released

it includes SQL Server 2005 SP3 cumulative updates 1 to 11, customer requested fixes and the SQL Server 2005 SP4 database engine support for DAC operations.some download linksService Pack:  http://www.microsoft.com/downloads/en/details.aspx?FamilyID=b953e84f-9307-405e-bceb-47bd345baece&displaylang=en Feature packs: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7768393b-71fa-4281-

Google Translate .NET

Project DescriptionA .NET class library for the Google Translate API v2.Read more: Codeplex Posted via email from .NET Info

System.Json improvements

Yesterday the WCF team released a new version of the “WCF Support for jQuery” libraries on codeplex (http://wcf.codeplex.com). Besides some bug fixes, we added some new features to make the JSON API better. Here’s a short list of them: EventsSimilarly to the XElement API, JsonValue now supports events as well, so that a user can register to be notified when a JsonValue instance is modified.

Kamis, 16 Desember 2010

Openwall GNU/*/Linux

Hi,I am pleased to announce that we have made a new major release of Openwall GNU/*/Linux, version 3.0.  ISO images of the CDs for i686 and x86-64 are available for download via direct links from: http://www.openwall.com/Owl/The ISOs include a live system, installable packages, the installer program, as well as full source code and the build environment. The download size is under 450 MB (for one

Wikileaks

Posted via email from .NET Info

#Hindsight2010: The Year’s Most Retweeted Tweets

In this edition of #Hindsight2010, we reveal the 10 Most Retweeted Tweets of the year. American TV personality Stephen Colbert (@StephenAtHome) tops the list with a wry Tweet about the Gulf Oil Spill, the year’s biggest Trend on Twitter. To commemorate the honor, Twitter is awarding Colbert --the titan of ‘Truthiness’-- the first-ever Golden Tweet award for the year’s Most Retweeted Tweet.

Epic Google Docs Animation

Amazing use of Google Docs to create this animated presentation. [Ed. note: LOL at “Let's rock the Google docs!” Google is so awesome and so incredibly dorky all at the same time.]Read more: Youtube Posted via email from .NET Info

Google declares Chrome ready for enterprise duty

IT administrators tend to be a fickle bunch, and with good reason. When you're supporting a vital service that can determine whether or not your entire business can operate properly, you tend to be very cautious when it comes to changing out a key component. A key component like a Web browser, for example -- say, Internet Explorer 6, which is still a force to be reckoned with in the enterprise.

Gmail Creator Says Chrome OS Is As Good As Dead

Former Google employee, Gmail creator, and FriendFeed founder Paul Buchheit has come right out and said what many people are thinking (or hoping for). On his FriendFeed page, Buchheit made a post titled 'Prediction: ChromeOS will be killed next year (or "merged" with Android).' In it, he bluntly says that Google's netbook-centric Chrome OS is as good as dead. 'Yeah, I was thinking, "is this too

Official open source driver for Kinect

R&D company PrimeSense, the company responsible for the technology behind Microsoft's Kinect camera system, has, in conjunction with Willow Garage and Side-Kick, released official Windows and Linux (Ubuntu version 10.10 and later) open source drivers for Kinect. What was previously the work of several independent programmers has now been given the vendor's official seal of approval. Microsoft

Rabu, 15 Desember 2010

BitTorrent Client Offers P2P Without Central Tracking

While BitTorrent is the most popular P2P protocol, it still relies on several centralized points for users to find the files they are looking. There have been several attempts at making BitTorrent more decentralized, and the latest Tribler 5.3 client is the first to offer the BitTorrent experience without requiring central trackers or search engines. Tribler offers some very interesting

SHA-3 Finalist Candidates Known

NIST just announced the final selection of algorithms in the SHA-3 hash competition. The algorithms that are candidates to replace SHA-2 are BLAKE, Grøstl, JH, Keccak and Skein. The selection criteria included performance in software and hardware, hardware implementation size, best known attacks and being different enough from the other candidates. Curiously, some of the faster algorithms were

Chrome OS Doesn't Trust Apps Or Users

Google's Chrome OS chiefs explain in Technology Review how most of the web-only OS's features flow from changing one core assumption of previous operating system designs. 'Operating systems today are centered on the idea that applications can be trusted to modify the system, and that users can be trusted to install applications that are trustworthy,' says Google VP Sundar Pichai. Chrome doesn't

Project Aiko

Welcome to Project Aiko Video & Picture Gallery Want to have your company logo on Aiko! Have Aiko wears the clothes you designed or sale. Great Exposure!!!Restriction:Can NOT be blue jean. (Doesn't go well with silicone, it will leave blue mark) Aiko size: Height: 152cm Bust: 82cm Waist: 57cm Hip: 84cmRead more: Project Aiko Posted via email from .NET Info

Michael Moore Posts Julian Assange's Bail

Yesterday, in the Westminster Magistrates Court in London, the lawyers for WikiLeaks co-founder Julian Assange presented to the judge a document from me stating that I have put up $20,000 of my own money to help bail Mr. Assange out of jail. Furthermore, I (Michael Moore) am publicly offering the assistance of my website, my servers, my domain names and anything else I can do to keep WikiLeaks

How to boot Ubuntu on the Cr-48 Chrome OS netbook

It was only a matter of time: a page on the Chromium Projects website has emerged, detailing how to install Ubuntu on a Cr-48 netbook. The process is, understandably, a little risky -- but it's not like there are any tech bloggers out there that don't know how to use Linux, right? Snarkiness aside, the process is actually very easy. You have to hack at the SSD's filesystem a little and fiddle

FBI Alleged To Have Backdoored OpenBSD's IPSEC

Aggrajag and Mortimer.CA, among others, wrote to inform us that Theo de Raadt has made public an email sent to him by Gregory Perry, who worked on the OpenBSD crypto framework a decade ago. The claim is that the FBI paid contractors to insert backdoors into OpenBSD's IPSEC stack. Mr. Perry is coming forward now that his NDA with the FBI has expired. The code was originally added ten years ago,

You're deploying it wrong! TeamCity, Subversion & Web Deploy part 4: Continuous builds with TeamCity

Over the last three posts in this series, we got to the point where all the Microsoft bits are working really nicely together. Config transforms, packaging and Web Deploy are great stable mates in the world of web application deployment. The bit that’s missing though is automation. Actually there are several bits missing but automation is the common solution. Deployment by developers directly

Announcing Verve – A Type-Safe Operating System

Earlier this week Microsoft Research published a paper and announced the release of Verve, an operating system which grew out of the Singularity project, upon whose base premise is to use Typed Assembly Language, TAL, and Hoare logic to achieve the highest levels of security and safety.  The Verve operating system consists of a nucleus, a kernel and one or more applications. While Verve is

Get Password Expiration Date in SQL Server 2008

SQL Server 2008 introduces a new argument called DaysUntilExpiration in the LOGINPROPERTY function, which returns the number of days until the password expires. You can use this property using the following code: SELECT LOGINPROPERTY('sa', 'DaysUntilExpiration')Note: If you get a null while executing the query, then either the login is not a valid login or your Operating System does not support

Dynamically Generating Controls in WPF and Silverlight

Some of the Windows Forms developers I've spoken to have said that one thing they want to learn is how to dynamically create controls in WPF and Silverlight. In this post I'll show you several different ways to create controls at runtime using Silverlight 4 and WPF 4. First, we'll start with how to create controls in XAML. From there, we'll move to dynamically-loaded XAML before we take a look at

The @” syntax in Objective-C vs C#

A common mistake that I see in some of the code from our customers, or from contributed samples to the MonoMac repository is the use of the @”string” syntax in C# programs.Summary: do not use the @”…” when porting Objective-C samples to C#. String Syntax in Objective-C and C#Objective-C supports two kinds of string literals in your source code, strings that are surrounded by double-quotes and

Working with the Silverlight Rich Text Box control

In this article, we’ll take a look at the Silverlight Rich Text Box control. The Rich Text Box was one of the new, and highly requested controls introduced in Silverlight 4.This article is accompanied by a Visual Studio solution, which you can find here. What do we get?Out of the box, the Rich Text Box control looks like a simple TextBox: you get the typical TextBox look, nothing more. However,

Silverlight basics. Validation

Introduction Silverlight 4 has some new ways for validate input values (some new approaches to implement validation in your application). First approach is DataAnnotation. In this case you should describe validation rules with attributes. Two other ways (both of them is came with Silverlight 4) – you should implement one of interfaces for your ViewModel: IDataErrorInfo or INotifyDataErrorInfo. I

TechNet Magazine: October 2010 Issue–Lots of Cloud Security..

Yes I know I’m a bit late with this but hey I’m busy.  You guys all know that.  I thought it was worth sharing this anyway as there is quite a bit of Security related information and Cloud Security as well.  Anyway I’m sharing this with you because I think it’s relevant so have a look if you want or not.  It’s up to you. Check out the October edition of TechNet Magazine.  Later dudes.. Cloud

Xaml Code Behind Generator

Project DescriptionXaml Code Behind Generator makes it easier to generate Code Behind designer code from XAML, where code can be used at places where Xaml Services are not accessible.Features Using XAML 2009 in Silverlight and WPFReusing Xaml Business Pages in Silverlight and WPFSupport for User Controls derived from any ControlUsing Complied code instead of BAMLImproving speed of XAML runtime

Python’s Innards: Introduction

A friend once said to me: You know, to some people, C is just a bunch of macros that expand to assembly. It’s been years ago (smartasses: it was also before llvm, ok?), but the sentence stuck with me. Do Kernighan and Ritchie really look at a C program and see assembly code? Does Tim Berners-Lee surf the Web any differently than you and me? And what on earth did Keanu Reeves see when he looked at

IE December Cumulative Security Update Now Available

The IE Cumulative Security Update for December 2010 is now available via Windows Update. This security update resolves four privately reported vulnerabilities and three publicly disclosed vulnerabilities in Internet Explorer. The most severe vulnerabilities could allow remote code execution if a user views a specially crafted Web page using Internet Explorer. Users whose accounts are configured