Vs 2005 constantly repainting when running under remote desktop
Patent an Invention
NX Server
and its integration with the powerful audio, printing and resource sharing capabilities of the Unix world, NX makes it possible to run any graphical application on any operating system across any network connection. Via
NX accessing remote desktops, servers and applications, whatever their location, is just as fast, easy and secure as if you were sitting in front of them. Together with easy-to-use management, deployment, and monitoring tools, NoMachine NX makes it possible to transform any traditional desktop computing environment into a centrally managed, globally accessible, virtual desktop infrastructure.
NX Free Edition A complete solution for remote access to your Unix workstation. It allows 2 users to connect at the same time no matter what their location is, and share the desktop. NX Free Edition is incredibly easy to install and run, leverages the competence and quality of the company that makes NX and, most importantly, is free forever. Read more: No machine
Privacy With a 4096 Bit RSA Key — Offline, On Paper
Microsoft confirms the 'F1' key as potentially deadly
oDesk
Microsoft Interview Questions & Answers
{
...
bool bVisited;
};Then, to determine whether a node has a loop, you could first set this flag to false for all of the nodes:// Detect cycle
// Note: pHead points to the head of the list (assume already exists)
Node *pCurrent = pHead;
while (pCurrent)
{
pCurrent->bVisited = false;
pCurrent = pCurrent->pNext;
}Then, to determine whether or not a cycle existed, loop through each node. After visiting a node, set bVisited to true. When you first visit a node, check to see if the node has already been visited (i.e., test bVisited == true). If it has, you've hit the start of the cycle! bool bCycle = false;
pCurrent = pHead;
while (pCurrent && !pCycle)
{
if (pCurrent->bVisited == true)
// cycle!
pCycle = true;
else
{
pCurrent->bVisited = true;
pCurrent = pCurrent->pNext;
}
} A much better approach was submitted by 4Guys visitor George R., a Microsoft interviewer/employee. He recommended using the following technique, which is in time O(N) and space O(1). Use two pointers. // error checking and checking for NULL at end of list omitted
p1 = p2 = head; do {
p1 = p1->next;
p2 = p2->next->next;
} while (p1 != p2); p2 is moving through the list twice as fast as p1. If the list is circular, (i.e. a cycle exists) it will eventually get around to that sluggard, p1. Thanks George!Question: How would you reverse a doubly-linked list? Read more: 4 Guys From Rolla
Getting Started with Building Windows Mobile Solutions with Visual Studio and Windows Mobile 6 SDK
Visual Studio and .NET Compact FrameworkDevelopers who develop desktop applications that use Visual Studio have all the necessary tools and knowledge to develop solutions for Windows Mobile platform. Of course, there are differences between the desktop and mobile platform, and you have to approach each differently. However, the programming concepts remain the same. You have to answer the following questions before you start to develop a Windows Mobile solution: * What development tools do you have and want to use?
* What platform do you want to target, Smartphone or Pocket PC?
* What version of the .NET Compact Framework do you want to use?Answers to earlier questions influence the direction you take with your project and how you start it. Other business-related considerations can also influence your decisions: * Do you want to create offline or online solution?
* How expensive is your connection?
* Do you want touch screen functionality?
* Are you targeting multiple form factors or a single platform?
* What are your security requirements?After you analyze and answer all these questions, you are ready to take the correct direction with the project. This paper focuses on how to develop Windows Mobile .NET Compact Framework offline client solutions. Read more: MSDN
Class and object references
car1.sManufacturer = "BMW";
car1.sModel = "Five Series"; Vehicle car2 = new Vehicle();
car2.sManufacturer = "Ford";
car2.sModel = "Fiesta";Creating an object car2 and assigning it the manufacturer “Ford” has no effect on the car1 object. The ability to discriminate between objects is the real power of the class construct. Objects can be created, manipulated and dispensed with in isolation from other objects of the same class. Read more: rwilliamson.net
Excel as a document-oriented NoSQL database
15 Quality Web-Based Applications to Create Mock-Ups and Wireframes
Mockingbird
Pencil Project
(more..)Read more: Spyrestudios
How to package and deploy COM component
2. Add COM reference to “Microsoft Speech Object Library”
Read more: Visual Web Developer Team Blog
SQL SERVER – Rollback TRUNCATE Command in Transaction
Read more: Journey to SQL Authority with Pinal Dave
Pushing the Limits of Windows: USER and GDI Objects
Memory Issues? Not to worry.
Big Day in MonoLand
NServiceBus
Kernel Update Compatibility Assessment Tool (KB980966)
Kernel Stack Overflows
Kernel Stack OverviewEach thread in the system is allocated with a kernel mode stack. Code running on any kernel-mode thread (whether it is a system thread or a thread created by a driver) uses that thread's kernel-mode stack unless the code is a DPC, in which case it uses the processor's DPC stack on certain platforms. Stack grows negatively. This means that the beginning (bottom) of the stack has a higher address than the end (top) of the stack. For example, let's stay the beginning of your stack is 0x80f1000 and this is where your stack pointer (ESP) is pointing. If you push a DWORD value onto the stack, its address would be 0x80f0ffc. The next DWORD value would be stored at 0x80f0ff8 and so on up to the limit (top) of the allocated stack. The top of the stack is bordered by a guard-page to detect overruns. Read more: NTDebugging blog
Five Indispensable MySQL Tools
MySQL Workbench
(more..)
Read more: developer.com
CryEngine3 goes 3D
MSDN Magazine: March 2010 Issue
Cryptome Spying guides as a Digital Forensic Resource
Paypal – http://cryptome.org/isp-spy/paypal-spy.zip
MySpace – http://cryptome.org/isp-spy/myspace-spy.pdf
Facebook – http://cryptome.org/isp-spy/comcast-spy.pdf
AOL – http://cryptome.org/isp-spy/aol-spy.pdf
Skype – http://cryptome.org/isp-spy/skype-spy.pdf
Cox Communications – http://cryptome.org/isp-spy/cox-spy.pdf
(more...)Read more: Cryptome
glTail.rb
* Multiple logfiles on multiple servers
* Configurable layout
* Multiple logfile parsers
(Apache Combined, Rails, IIS, Postfix/spamd/clamd, Nginx, Squid, PostgreSQL, PureFTPD, MySQL, TShark, qmail/vmpop3d)
* Custom events
* Show rate, total or average
* If you can 'tail' it, you can visualize it
* Written in Ruby using net-ssh, chipmunk & ruby-opengl
* Free! (GPLv2)Read more: glTail.rb
Packet Garden
How to Find the Owner of a Named Pipe
Aurora Attack — Resistance Is Futile, Pretty Much
The Complete Guide to Windows System Restore (It's Better than You Remember)
System Restore in Windows 7 Is Better than XPIf you've ever tried the XP variety of System Restore, the uselessness of it probably left a bad taste in your mouth. Setting a system restore point was often agonizingly slow, and when it came time to actually attempt a system restore, it rarely did what you wanted it to do. But if you've upgraded to Vista or Windows 7, you should really give System Restore another chance. Read more: Lifehacker
Skinput: because touchscreens never felt right anyway
Difference between ASP.NET Sessions, Application variables and Cache objects.
Top 10 Silverlight Myths and the Facts to Bust Them
MMORPG programming in Silverlight Tutorial: Animate the object
We must do something to show all the potential of the Silverlight in game domain. So in my tutorial, I will use C# rather than XAML as possible as I can. It is more flexible in game architecture than Flash; at last, all the tutorials will make up a game engineer, which is my purpose that I want to achieve.
Let’s return to the topic of this article, “How to create animation on object?”
In Silverlight, there are 3 methods to create animation.
1) Storyboard
This method is recommended by Microsoft, so I introduce it at first.
Now I will do a demo to show how to use Storyboard in C#. 1st, create a Silverlight project, open the MainPage.xaml, modify the xaml file as follows:<UserControl x:Class="SilverlightTutorialApplication.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
>
<Canvas x:Name="Carrier" Width="800" Height="600" Background="Silver" MouseLeftButtonDown="Carrier_MouseLeftButtonDown" />
</UserControl> In this snippet code, I create a canvas named Carrier, and set its dimension to 800 * 600. I set its background to Silver, donot remove the background color, otherwise, if there is nothing in the canvas, it’s MouseLeftButtonDown event won’t be hired. Why I use Canvas as my container? Because canvas can do absolute positioning, it is convenient to handle object’s moving on it.Read more: Jianqiang's Silverlight Blog Part 1, Part 2
עבודה עם קבצי Wim חלק א
Getting started with code signing for under $100
Microsoft Visual Studio Test Professional 2010 RC – ISO
Desktop Dimmer
Windows Debuggers: Part 1: A WinDbg Tutorial
o Overview of Debuggers
o Comparison of Debuggers
o WinDbg
o PDB files
* Debugging Scenarios
o Remote Debugging
o Just-in-time Debugging
o 64-bit Debugging
o Managed Debugging
o Debugging Services
o Debugging Exceptions
* WinDbg Features
o Debugger Extension DLLs
o Dump Files
o Crash Dump Analysis
* WinDbg Settings
o Symbol Files and Directories
o Source Code Directories
o Breakpoints, Tracing
* Commands
o Basic Commands
o More Commands
o Handy Extension Commands
* Example
o Suggested Exercises
* Epilogue
o Points to Note
o Q & A
* ReferencesIntroductionIn my professional career, I have seen most of us use Visual Studio for debugging but not many of the other debuggers that come for free. You may want such a debugger for many reasons, for example, on your home PC which you do not use for development but on which a certain program crashes from time to time. From the stack dump, you can figure out if IE crashed because of a third party plug-in. I did not find any good quick starters for WinDbg. This article discusses WinDbg with examples. I assume you know the basic concepts of debugging – stepping in, stepping out, breakpoints and what it means to do remote debugging. Note that this is meant to be a Getting Started document, which you can read and start using WinDbg. To know more about specific commands, consult the WinDbg documentation. You can use the commands presented in this document with any debugger provided by Microsoft, e.g. from the Command window of Visual Studio .NET. This article is based on WinDbg 6.3.This is the first of a series of articles on debugging. In my next article, I shall explain how to write debugger extension DLLs.Read more: Codeproject
WinDbg / SOS Cheat Sheet
Starting, Attaching, Executing and Exiting
| Start -> All Programs -> Debugging Tools for Windows -> WinDbg |
F6 | attach to process |
Ctrl-Break | interrupt debugee |
.detach | detach from a process |
g | continue debugee execution |
q | exit WinDbg |
Getting Help
? | help on commands that affect the debugee |
.help | help on commands that affect the debugger |
.hh command | view the on line help file |
!help | help on the extension dll at the top of the chain (e. g., SOS) |
Issuing Commands
up arrow, down arrow, enter | scroll through command history |
Right mouse button | paste into command window |
Examining the Unmanaged Environment
lmf | list loaded modules with full path |
lmt | list loaded modules with last modified timestamp |
~ | list unmanaged threads |
~thread s | select a thread for thread specific commands |
!token -n | view thread permissions |
k | view the unmanaged call stack |
!runaway | view thread CPU consumption |
bp | set a breakpoint |
.dump path | dump small memory image |
.dump /ma path | dump complete memory image |
Working with Extension DLLs (e. g., SOS)
.chain | list extensions dlls |
.load clr10\sos | load SOS for debugging framework 1.0 / 1.1 |
.unload clr10\sos | unload SOS |
.loadby sos mscorwks | load SOS for debugging framework 2.0 |
SOS Commands
!threads | view managed threads |
!clrstack | view the managed call stack |
!dumpstack | view combined unmanaged & managed call stack |
!clrstack -p | view function call arguments |
!clrstack –l | view stack (local) variables |
!name2ee module class | view addresses associated with a class or method |
!dumpmt –md address | view the method table & methods for a class |
!dumpmd address | view detailed information about a method |
!do address | view information about an object |
!dumpheap –stat | view memory consumption by type |
!dumpheap –min size | view memory consumption by object when at least size |
!dumpheap –type type | view memory consumption for all objects of type type |
!gcroot address | view which object are holding a reference to address |
!syncblk | view information about managed locks |
SOS 2.0 Commands
!bpmd module method | set breakpoint |
!DumpArray address | view contents of an array |
!PrintException | view information about most recent exception |
Read more: David Douglass
TreeView and XmlDataSource
<asp:TreeView ID="TreeView1" runat="server" DataSourceID="XmlDataSource1"></asp:TreeView> <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/currency.xml"></asp:XmlDataSource>
כלומר נקבל את המבנה ולא את המידע בעצמו.
Mono, MonoTouch + C# vs. iPhone SDK + Objective-C
Описание проектаНеобходимо было разработать красивый эффект перелистывания страниц для одного iPhone приложения. Хороший пример того, что нужно было сделать, был найден в интернете в виде Silverlight-приложения.
Вариант №1: Mono + MonoTouchДумаю, не нужно говорить, что такое Mono.MonoTouch позволяет писать приложения на C# и компилировать их для iPhone, а также использовать .NET библиотеки.Полный набор программного обеспечения: * Apple Mac OS X
* утановленный Mono для Mac OS X
* MonoDevelop
* MonoTouchRead more: Блог Краковецкого Александра
MoleBox - Software Virtualization and Protection Solution
MoleBox is a software virtualization and protection tool that allows delivering your application as a portable stand-alone secure EXE file which runs instantly with zero installation.
MoleBox packs all application files into a single efficient executable file that works without extracting packed files to the hard drive and creating temporary files. MoleBox also applies a number of protection techniques to packed files, including anti-crack protection for EXE and dlls, resource protection, protection from modification for data files, and many more. Read more: MoleBox
Программа из одного exe
ПодходЧтобы .NET код мог работать, в использующий его AppDomain нужно загрузить сборку, содержащую типы, которые используются в коде. Если тип находится в сборке, которая еще не была загружена в AppDomain, CLR производит поиск этой сборки по ее полному имени. Поиск происходит в нескольких местах, где именно — зависит от настроек AppDomain. Для настольных приложений это обычно GAC и текущая папка. Если CLR не удалось найти сборку, вызывается событие AppDomain.AssemblyResolve. Событие дает возможность загрузить требуемую сборку вручную. Поэтому для реализации автономной программы, состоящей из одного exe файла, достаточно зашить все зависимые сборки в ресурсы и в обработчике AssemblyResolve подгружать их. Подробности про механизм нахождения сборок можно найти в книге Essential .NET, Volume 1: The Common Language Runtime (Don Box, Chris Sells) — 8 глава, AppDomains and the Assembly Resolver секция.Read more: habrahabr.ru
8 Tips To Create Complete Test Cases
* Test Case – a list of test steps. Also defines the environmental situation and may link to related bugs, requirements etc.
* Test Scenario – usually comes directly from business requirements or userstory. Management tools often ignore test scenario for linkage with a list of the requirements. Scenario contains a list of test cases and often their sequence. As you can see, varies between a test case scenario is significant, and often the two concepts are confused.
How to ensure the quality of the test cases are created? How to manage their life cycle? How to deliver them quickly and when developers need it ? 1. Template – need one and complete template for creating test cases. We can create it in a text editor, spreadsheet or buy or customize the tool. I have written about this in the context of the JIRA.2. Descriptive and specific Read more: Test and Try
Get function return values and profiling information in .NET using Windbg
using System.Collections.Generic;
using System.Threading;
using System.Windows.Forms;namespace WindowsFormsApplication1
{
{
{
Managed DXGI
The original DXGI documentation can be found: http://msdn.microsoft.com/en-us/library/ee418146(VS.85).aspxRead more: Codeplex
Kayak
Scaling Up with STM.NET (Software Transactional Memory)
Code a Modern Design Studio from PSD to HTML
Today we’re going to convert the Modern Design Studio PSD Template created by Tomas Laurinavičius a few days ago to a clean and working XHTML/CSS code. You can download free PSD from The Modern Design Studio PSD Template. Read more: WebdesignFan
Haze Anti-Virus
Welcome to the Homepage of Haze Anti-Virus, I started with Haze AntiVirus becuase I was in search of a Antivirus that was secure and did not always delete you work. Here is What I would like see in Haze Anti-Virus in the next few months
*Check For Registry Access
*UI Never Hangs
*Unknown Virus Detection
*Logging
*Backup of SelfHere are the Main Features of Haze Anti-Virus
*Process Watching
*Process Blacklisting
*File Scanning
*Database Updating
*Skinned UI
Read more: Codeplex