Prius gets optional underhood, zombie-deterring noisemaker, sounds appropriately futuristic (video)
VistaSwitcher is a beautiful Alt-Tab replacement

VistaSwitcher is a beautiful Alt-Tab replacement. It's aimed mainly at Windows Vista and 7, but it also works under Windows XP.
You get a huge thumbnail of the destination window; it's far larger than the one that comes with the "stock" Alt-Tab. Another neat feature lets you Alt-Tab between the windows of just one application. It's kind of like pressing Win+[number] in Windows 7, but you don't have to look at the taskbar and count the icons in order to see what the number is for the application that you want to switch to. That's done using Alt+` (backtick) by default, but it's configurable.
Read more: DownloadSquad
Read more: VistaSwitcher
Facebook Says It Owns "Book"
Read more: Slashdot
Download 53 languages for Windows XP
“You can download and install additional languages to view Windows XP menus, dialog boxes, and other user interface items in your preferred language. Additional languages will work only with a genuine copy of Windows.
Language Interface Packs (LIPs), which provide a translated version of the most widely used dialog boxes, menu items, and help content, can be installed over any edition of Windows XP. You can download Language Interface Packs from the Microsoft Download Center by using the links below. To install one, you will need to have the required parent language installed on your PC. “
Read more: I'm PC
Read more: Download 53 languages for Windows XP
Help! !clrstack is not showing any method names
0:019> !clrstack
OS Thread Id: 0x5d0 (19)
ESP EIP
0f31f340 7c80bef7 [HelperMethodFrame_1OBJ: 0f31f340]
0f31f398 1449167a
0f31f3c4 144915e6
0f31f3f4 10d81b48
0f31f4b4 793e25cf
0f31f4bc 79366b3d
0f31f4d4 793e2734
0f31f4e8 793e26ac
0f31f678 79e7c0e3 [GCFrame: 0f31f678]
Read more: If broken it is, fix it you should
Boyer–Moore string search algorithm
Read more: Wikipedia
35 Best Free Chrome Extensions for Web Developers
Chrome’s faster than Firefox, uses less CPU and comes with built-in Developer Tools (accessible by pressing Ctrl+Shift+I). Even if you’re not ready to abandon Firefox yet, make sure you give Chrome a chance with the outstanding extensions below. Chrome’s improving rapidly and early adopters will benefit most.
1. MeasureIt!
2. Pendule
3. BuiltWith Technology Profiler
4. Flashblock
5. Lorem Ipsum Generator
6. iMacros for Chrome
7. Xmarks Bookmarks and Password Sync
Read more: WebAppers
Inspecting Local Root Lifetime
When all optimizations are enabled, the JIT and GC cooperate so that local roots are relevant only as long as the local variable is still going to be used. This is a source of strange bugs—two of them are the Timer bug and the finalization race condition.
Why am I telling you all this? Well, it turns out there’s a cool SOS command called !GCInfo that can give you information on local root relevance within a method. In other words, it can tell you when (in terms of instructions) a local variable ceases to be an active local root.
For the sake of simplicity, let’s consider Debug builds only and the following method:
static void Main(string[] args)
{
string s = "Hello World";
Console.ReadLine();
}
Because of the Debug build, the local variable s is not going to be optimized away. Furthermore, its lifetime should extend until the end of the method, and not just the first line. Let’s verify this:
0:000> !CLRStack
OS Thread Id: 0x1f04 (0)
ESP EIP
[…edited for brevity…]
003ced00 704c9fbb System.IO.StreamReader.ReadBuffer()
003ced14 704c9e0c System.IO.StreamReader.ReadLine()
003ced34 70a5dd3d System.IO.TextReader+SyncTextReader.ReadLine()
003ced40 709a31c7 System.Console.ReadLine()
003ced48 005c009b FreakishTimerBug.Program.Main()
Read more: All Your Base Are Belong To Us
Awesomeness reminders
With AwesomenessReminders, a real person will call you every day to tell you how much you rock. If you're not around, we will leave you a voicemail.
- Makes for a great gift - Give AwesomenessReminders to yourself, a friend, or your child
- Super Fun - Our calls will leave you beaming and ready to take on your day.
- Only $10/month - Cheaper than the cost of a movie ticket and way cheaper than the cost of a life coach. (Calls to countries other than USA and Canada cost $20/month)
Read more: Awesomeness reminders
MVC Sample Project Demonstrating multiple techniques
This project represents my 4th ASP.NET/MVC project on which I was working. Clients requirements were two forms with a lot of business rules/calculations which would be available to the public; a secure logon and input table and backing database to put data which would be used for certain calculations; the user form needed to provide feedback on calculations as they typed (ajax/Json). I built this project out in approximately 70 hours all in (including data entry, meetings and other non-coding tasks)
Why I put this project out here was to demonstrate various tools, patterns and techniques that might help you get your arms around MVC.
Some of those things include:
- Passing complex object graphs and having the default ModelBinder properly map them
- Using nested UI hints to promote uniformity and code re-use
- Using Automapper to wire up dependancies on the ViewModel pattern
- Using StructureMap to enforce classes are only accessed via interfaces
- Writing small, terse functions in such a way that a subject matter expert could perform a code review
- Unit tests on all calculations
- Using Ajax/JSon
- JQuery & CSS manipulation
- ASP.NET Membership Provider
- Telerik Grid control
- Caching
Read more: Codeplex
SQL Replication Agent will RETRY for 4085 Years

Actually the Replication Agent are set by default to retry 2147483647 times, once every minute. That is over 4000 years!
2147483647 = 35791394 Hours = 1491308 Days = 4085 Years.
How does this impact Replication?
Should a Replication Agent fail and the agent be configured for “continuous”, then agent will not report back to SQL Agent Service, but will wait 1 minute, then try again for 4000 years. Any ALTERTS placed with SQL Agent for “job failure” will not get called.
Microsoft Dynamic IP Restrictions for IIS 7.0
- Seamless integration into IIS 7.0 Manager.
- Dynamically blocking of requests from IP address based on either of the following criteria:
- The number of concurrent requests.
- The number of requests over a period of time.
Read more: MS Download x86, x64
New Themes !

Read more: The PowerPoint Team Blog
Five Best Music Discovery Services
Pandora (Web-based; Basic: Free/Premium: $36 per year)
The Hype Machine (Web-based, Free)
Grooveshark (Web-based, Free)
(more..)
Read more: Lifehacker
Nature Sounds is an awesome ambient noise generator

Usually, when I need to focus in a distracting environment I just put on my earbuds and head over to SimplyNoise. But SimplyNoise is a bit too simple at times; it just generates a "wall" of white, brown, or pink noise. It can oscillate the volume a little bit, but that's just about it. That's not a flaw – it's how SimplyNoise was designed.
But what if I want some atmosphere to go with my custom noise? What if I want it to have a certain "vibe," or I want it to inspire me? Plus, some people simply dislike the monotony of a noise generator.
Introducing Nature Sounds. This beautifully simple Flash tool provides you with four audio channels. You populate each channel with a looping sample that you can choose from a vast palette. You've got sounds of whales, the beach, fire crackling, crickets, a heartbeat, drums thumping in the distance, etc. The palette is extensive.
Read more: DownloadSquad
Rustock Botnet Responsible For 40% of Spam
Read more: Slashdot
SQL Server - Understanding the behavior of @@TRANCOUNT when querying from a client application
Let us consider the procedure
create procedure get_count
as
select @@TRANCOUNT as trancount
Consider the VB code that calls the procedure
Private Sub Form_Load()
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
con.Open "connection string"
con.BeginTrans
Set rs = con.Execute("exec get_count")
MsgBox rs("trancount")
con.CommitTrans
End Sub
Read more: Beyond Relational
How you make a dll file which contains the icon set like "SHELL32.dll"

1. Open New project as Class Library
2. After Opening the file will show like:
3. Now open a file
4. Native ResourceTemplete File
5. Then Add resource
6. Import Icon
7. Now again add resource for set version Information
Read more: C# Corner
Disable a submit button during Post Back
#source
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Button ID="Button1" Text="Submit" runat="server" onclick="Button1_Click" />
</ContentTemplate>
</asp:UpdatePanel><br />
<asp:Button ID="Button2" Text="Save (without UpdatePanel)" runat="server" onclick="Button1_Click" />
<br /><br />
<asp:Button ID="Button3" Text="Save (with showing alert)" runat="server" onclick="Button1_Click" />
#code behind
protected void Page_Load(object sender, EventArgs e)
{
String sString = "this.style.backgroundColor='skyblue'; this.style.color='Red'; this.value='Saving Records... Please Wait...'; this.disabled = true; {0};";
String sHandler = String.Format(sString, this.ClientScript.GetPostBackEventReference(Button1, String.Empty));
Button1.Attributes.Add("onclick", sHandler);
sHandler = "";
sHandler = String.Format(sString, this.ClientScript.GetPostBackEventReference(Button2, String.Empty));
Button2.Attributes.Add("onclick", sHandler);
sHandler = "";
sHandler = String.Format(sString, this.ClientScript.GetPostBackEventReference(Button3, String.Empty));
Button3.Attributes.Add("onclick", "javascript:alert('hello');" + sHandler);
}
protected void Button1_Click(object sender, EventArgs e)
{
System.Threading.Thread.Sleep(5000);
}
Note:
Second button will do a full post back. Third button, we can even attach JavaScript validation check before sHandler.
Read more: C# Corner
Synchronizing group row headers with column headers in Silverlight DataGrid
theGrid.LoadingRowGroup += (s, e) =>
{
e.RowGroupHeader.PropertyName = "A custom caption";
}
The original value of the e.RowGroupHeader.PropertyName is the PropertyName of the PropertyGroupDescription. Using this value the column header can be determined:
private string GetColumnCaption(DataGrid grid, string columnName)
{
if (grid == null || String.IsNullOrEmpty(columnName))
{
return null;
}
foreach (DataGridBoundColumn column in grid.Columns)
{
if (column == null)
{
continue;
}
Binding binding = column.Binding;
if (binding == null)
{
continue;
}
if (binding.Path.Path == columnName)
{
return Convert.ToString(column.Header);
}
}
return null;
}
Read more: On developing Pochet.NET
Database assisted denormalization
select
dbo.Blogs.Id,
dbo.Blogs.Title,
dbo.Blogs.Subtitle,
(select COUNT(*) from Posts where Posts.BlogId = Blogs.Id) as PostCount
from dbo.Blogs
Given what I think thoughts of denormalization, and read vs. write costs, it seems a little wasteful to run the aggregate all the time.
I can always add a PostCount property to the Blogs table, but that would require me to manage that myself, and I thought that I might see whatever the database can do it for me.
This isn’t a conclusive post, it details what I tried, and what I think is happening, but it isn’t the end all be all. Moreover, I run my tests on SQL Server 2008 R2 only, not on anything else. I would like to hear what you think of this.
My first thought was to create this as a persisted computed column:
ALTER TABLE Blogs
ADD PostCount AS (select COUNT(*) from Posts where Posts.BlogId = Blogs.Id) PERSISTED
But you can’t create computed columns that uses subqueries. I would understand easier why not if it was only for persisted computed columns, because that would give the database a hell of time figuring out when that computed column needs to be updated, but I am actually surprised that normal computed columns aren’t supporting subqueries.
Given that my first attempt failed, I decided to try to create a materialized view for the data that I needed. Materialized views in SQL Server are called indexed views, There are several things to note here. You can’t use subqueries here either (likely because the DB couldn’t figure which row in the index to update if you were using subqueries), but have to use joins.
Read more: Ayende @ Rahien
Developing A ‘touchy’ Twitter browser – Using Visual Studio 2010 + Surface Toolkit for Windows Touch devices beta
Microsoft recently released Microsoft Surface Toolkit for Windows Touch Beta. It seems that the next version of Microsoft Surface will provide a development model that is consistent along the lines of WPF and Silverlight – Promising infact..
The Microsoft Surface Toolkit for Windows Touch Beta is a set of controls, APIs, templates, sample applications and documentation currently available for Surface developers. With the .NET Framework 4.0, Windows Presentation Framework 4.0 (WPF), and this toolkit, Windows Touch developers can quickly and consistently create advanced multitouch applications for Windows Touch PCs. This toolkit also provides a jump-start for Surface application developers to prepare for the next version of Microsoft Surface. Use it to take advantage of the innovative Surface technology and user interface to develop your own rich and intuitive multitouch experiences for a variety of Windows Touch devices.
In this post, I’ll explore how to install the toolkit and develop a simple Twitter browser application using the toolkit.
Read more: amazedsaint's .net journal
REBOL: Obscure Programming Language of the Month
REBOL Design
REBOL introduces the concept of dialecting, which uses small, optimized, domain-specific languages to solve specific code and data problems. According to Sassenrath, “Although [REBOL] can be used for programming, writing functions, and performing processes, its greatest strength is the ability to easily create domain-specific languages or dialects.”
Dialects can define business rules and graphical presentation. Programmers can define their own dialects, reusing any existing REBOL word and giving it a specific meaning in that dialect.
Wikipedia provides an example of REBOL dialects: “In the data exchange dialect, return is just a word not having any specific meaning. In the do dialect, return is a global variable referring to a native function passing back a function result value. In the visual interface dialect, return is a keyword causing the layout engine to simulate a carriage return.”
REBOL syntax is free-form and does not require specific positioning. However, indentation is recommended to help convey the program structure to humans. Note that different dialects may have different syntax.
“Hello World” in REBOL
view/title layout [h1 250x120 center middle "Hello world !"] "Hello world !"
Read more: DevTopics
Do NOT remove the reference to System.Core from your VS2010 Project
"A reference to 'System.Core' could not be added. This component is automatically referenced..."
After some Googling I found this article:
It tells you to add it back manually. Here is the part that needs back in the project file. After the last PropertyGroup node, add this node:
<ItemGroup>
<Reference Include="System.Core" />
</ItemGroup>
You should be good to go again.
Read more: Lee Brandt's Blog
Welcome to WinAppDbg !
It uses ctypes to wrap many Win32 API calls related to debugging, and provides a powerful abstraction layer to manipulate threads, libraries and processes, attach your script as a debugger, trace execution, hook API calls, handle events in your debugee and set breakpoints of different kinds (code, hardware and memory). Additionally it has no native code at all, making it easier to maintain or modify than other debuggers on Windows.
The intended audience are QA engineers and software security auditors wishing to test or fuzz Windows applications with quickly coded Python scripts. Several ready to use utilities are shipped and can be used for this purposes.
Current features also include disassembling x86 native code (using the diStorm disassembler), debugging multiple processes simultaneously and produce a detailed log of application crashes, useful for fuzzing and automated testing.
Read more: WinAppDbg
Introduction to Java programming
Read more: IBM Part 1
Google Translate Kit
compatible with Mono 2.6
Very basic sample:
T-SQL Israeli CardID Checker / ת.ז. ישראלית
This is one of these times :)
This code is the T-SQL version of the algorithm that checks the given Israeli CardID , and adds a leading Zero , if need one ( like in my personal case ) , and calculates the “Check Number” ( SIFRAT BIKORET ) , if it’s missing.
I needed this for an SSIS Package that loaded monthly information needed for my SharePoint Content ;)
BTW , there might be a better way to code this , but i’m no T-SQL expert :)