Sabtu, 26 Juni 2010

HTTP-TunnelClien

HTTP-TunnelClient™allows you to access your Internet programs with not be monitored at work, school, or the goverment and gives you a extra layer of protection against hackers, spyware, ID theft's with our encryption. Bypass any firewall also that gives you access and security of the web in one program. Surf, IM, P2P, Game, etc. FeaturesIf you answer yes to any of these, HTTP-Tunnel is the answer

Sagan

Sagan is a multi-threaded, real time system and event log monitoring system, but with a twist. Sagan uses a "Snort" like rule set for detecting bad things happening on your network and/or computer systems. If Sagan detects a "bad thing" happening, that event can be stored to a Snort database (MySQL/PostgreSQL) and Sagan will attempt to correlate the event with your Snort Intrusion Detection/

Kamis, 24 Juni 2010

Developing for the Apple iPad in .NET

If you are in the technology field, or within the listening range of modern media, you've heard of the Apple iPad.  The fact that it runs an updated version of the Apple iPhone OS is a big plus if you are looking to do development on the platform.  I've already received a bunch of emails about this, so I wanted to share what you can do to do develop on the platform right now. First, make sure you

Self-localizing Error Messages

Yesterday I ran into a problem trying to figure out where to localize error messages.We are using a MVP (Model View Presenter) pattern for our web based application.  I was working on refactoring some code to move the business logic which handled the parsing of a file out of the view layer and down into the model. When my file parsing class encounters errors, it needs to be able to send those

Skype Releases Open SDK

SkypeKit gives Linux developers access to core functionality, allowing Linux developers to add video, calling, and instant messaging features to desktop applications. The SDK also comes with the freshly royalty-free SILK codec for high-end audio. Skype is hoping that the inclusion of SILK will popularize the codec, extending its reach. Currently, the SkypeKit beta is only available for Linux on

BZZZZZZ: YouTube Gets A Vuvuzela Button (Seriously)

YouTube always has had a way with pranks. Some time in the last hour, the world’s largest video portal activated a new button on some videos that looks like a tiny soccer ball. Clicking it will activate an endless, incredibly annoying sound that sounds vaguely like a swarm of insects. Or, for anyone who has been watching the World Cup, like the dreaded Vuvuzela — an instrument commonly played in

Meet The First Guy In Line To Buy An iPhone 4. His Name? Gray Powell.

Sometimes coincidences are almost too good. Is this one?By now, you’ve heard the story about the unfortunate Apple engineer who lost his iPhone 4 prototype at a bar one evening. Gizmodo, the site which ended up purchasing the prototype, also outed the person who lost it: Gray Powell. This evening, local Bay Area affiliate ABC7 led off their coverage of tomorrow morning’s iPhone 4 launch with the

Tagging Releases in Source Control

A best practice when you’re using source control is to tag your releases.  What does this mean, exactly?  If you’re following the relatively standard non-distributed source control repository folder structure of having root folders for: branches tags trunkthen it means simply making a copy of the current state of the system when you did your release.  Here’s how to do it using Subversion (SVN)

Subversion 1.6.11

WANdisco's certified Subversion open source software is a complete, fully tested version of Subversion based on the most recent, stable release, including the latest fixes. The software is backed by our dedicated team of Subversion development, QA and support professionals focused exclusively on delivering the highest quality version of the software. Our developers have been involved in the

OSQA - Stackoverflow like QA system in Python

OSQA is the open source Q&A system. It is more than just an FAQ page, it is a full-featured Q&A community. Users earn points and badges for useful participation, and everyone in the community wins. OSQA is built and maintained by a team of developers who share an interest in making a great, free, open source Q&A system available to everyone. The OSQA project is hosted and financially supported by

In-Proc SxS and Migration Quick Start

This post is meant to help you understand what runtime in-process side-by-side is, how to think about it, how to use it, and how it affects application and component migration to the .NET 4 Runtime. This post is relevant to you if you use native runtime activation APIs, depend on specific runtime activation behaviors, or use mixed mode assemblies built with Visual Studio Managed Extensions for C+

Using Mono.CSharp to evaluate code at runtime

When I read the first time about Mono.CSharp I thought that it was pretty cool and that for sure I will have a use for it soon.In the past months I have been playing around with a few ideas to make gbrainy extensible using external definition files (something that I did for verbal analogies time ago). I considered using a DSL but I discarded it, at least for the medium term, since I still do not

Checking Client Download Success with ASP.NET MVC

Scenario: You want to know if a client completes a large download successfully.Possible Solution: Create a custom ActionResult (perhaps derived from FileStreamResult) that streams the data and checks to see if the client remains connected. public class CheckedFileStreamResult : FileStreamResult{    public CheckedFileStreamResult(FileStream stream, string contentType)        :base(stream,

IE9 Platform Preview 3

Back in March at Mix10, Dean Hachamovitch, the General Manager of the Internet Explorer team, introduced the IE9 Platform Preview, an early look at the features coming to Internet Explorer 9 (including a new JavaScript engine, HTML 5 support, GPU acceleration, and more).  It’s not a beta per-se; the browser doesn’t provide a complete experience – there’s no address bar or back button, for

Rabu, 23 Juni 2010

Is the CodePlex Foundation Truly Independent Now?

Microsoft created its CodePlex, 'an online collaborative software development portal,' four years ago, as the latest in a string of attempts to play nicely with open source. Well, maybe not: Microsoft saw the open source software projects it hosted there as reflecting 'the open community-building spirit of Microsoft's Shared Source Initiative.' In September last year, it tried again, launching

What to Know BEFORE Upgrading to Windows 7 Service Pack 1 (SP1)

With Windows 7 Service Pack 1 (SP1) due to be released "soon" -- Microsoft has updated information to help you prepare for their upcoming Service Pack.  (Thanks Rob)THREE PRE-UPGRADE TIPS: Uninstall your AntiVirus program (i.e. Microsoft's Security Essentials & Forefront Client Security)Foreign Language Support: Windows 7 Service Pack 1 (SP1) only supports German, Spanish, French, English, &

How Slow Internet

Read more: Nadine Moawad Posted via email from .NET Info

Wold Cup Team Strategys for the World Cup

Read more: Infographie Posted via email from .NET Info

Cool Unix Features: /dev/full

I've always thought about collecting random bits of useful/interesting/cool Unix features and the like. Before I let that rot indefinitely in a text file in my $HOME, I'll post it in a series of blog posts. So here's bit #1: Everyone knows /dev/null, and most will know /dev/zero. But /dev/full was unknown to me until some time ago. This device will respond to any write request with ENOSPC, No

Firefox 3.6.4 Released With Out-of-Process Plugins

Mozilla Firefox 3.6.4 went to general release today. The big new feature in this release is out-of-process plugins (OOPP). This means things like Flash, Java, QuickTime, etc., all run in separate processes, so when Flash decides to crash, it won't take your browser out with it. If Flash starts consuming all the CPU it can find, you can kill it without nuking your browser session. I've been using

The Best Visual Studio 2010 Productivity Power Tools, Power Commands and Extensions

One of the things I'm digging about VS2010 is its extensibility model. I'm collecting add-ins in VS like I collect Add-Ins in FireFox. Here's my current of the best Visual Studio 2010 Extensions I'm using. Visual Studio Color Theme Editor I've blogged before about the Visual Studio Color Theme Editor. It's great and lets you make VS look like whatever OS you want. Some crazy people try to make

Kinect 'opens new doors for middleware'

In a special in-depth feature published today, a huge number of the leading middleware companies – from Havok and Autodesk to Unity and Blitz – have been talking over the key trends, opportunities and challenges currently defining the tools and tech sector. A topic of particular interest is the analysis of Kinect (still called Natal at the time of writing), and its potential effect on those

Wiimote Virtual Room Designer

In this article, Thijs Brilleman demonstrates how to create, using C# and XNA, a room designer from a mash-up of cheap components.Hardware SetupTo get this working, you only need a digital projector, a Wiimote, a few cheap components, and, of course, a computer. The latter won’t need a lot of horsepower; I’m even able to run it on my $300 netbook with an acceptable framerate! Let’s take a look

Exploring the software behind Facebook, the world’s largest site

In some ways Facebook is still a LAMP site (kind of), but it has had to change and extend its operation to incorporate a lot of other elements and services, and modify the approach to existing ones. For example:Facebook still uses PHP, but it has built a compiler for it so it can be turned into native code on its web servers, thus boosting performance.Facebook uses Linux, but has optimized it for

Document Well 2010 Plus

For some time, the behavior of tabs in Visual Studio's document well has been a source of frustration for some users. Whenever behavior is modified, some users are happy with the changes, while others are not. In an attempt to alleviate this problem I have created this extension, which provides configurable behavior for document tabs. It is available in the Visual Studio Gallery, as part of the

How to convert (and fixup) the RedHat RPM to run on Debian/Ubuntu

In an earlier post I had shown how I got the Xplat agent running on Ubuntu. I perfected the technique over time, and what follows is a step-by-step process on how to convert and change the RedHat package to run on Debian/Ubuntu. Of course this is still a hack… but some people asked me to detail it a bit more. At the same time, the cross platform team is working to update the the source code on

Great Uses of Using Statement in C#

In my last post about testing emails in .NET, I noted the use of the using statement to ensure safe usage of the IDisposable SmtpClient and MailMessage objects.  This is the typical usage of the using statement, but you can take advantage of this statement’s behavior for other scenarios as well, resulting in cleaner code. Consider the scenario where you want to perform some kind of pre- and post-

50 Awesome Quotes on Risk Taking

1. “Whatever you can do, or dream you can, begin it. Boldness has genius, power and magic in it.” – Goethe2. “Security is mostly a superstition. Life is either a daring adventure or nothing.” – Helen Keller 3. “It’s not because things are difficult that we dare not venture. It’s because we dare not venture that they are difficult.” – Seneca4. “Only those who will risk going too far can possibly

Dovetail CRM

A modern CRM system is critical to the success of your business. The effectiveness of contemporary CRM mandates that it's orchestrated within the company's extended community including customers, suppliers, distributors, partners, and employees. Dovetail CRM has been designed based on 15 years of real-world experience understanding how customer service and support activities take place, and are

6 Reasons Why People Are Afraid to Start a Business

Starting a new business can be a turbulent undertaking. For one thing, there are no guarantees of success. Businesses fail every single day, and plenty of entrepreneurs come away with nothing to show for months or years of hard-fought effort. The idea of sacrificing a steady salary for an uncertain, hoped-for payday also tends to provoke anxiety. While some are undeterred by these obstacles,

Write Templates for Visual Studio 2010

IntroductionThis article is part of my series on Visual Studio Extensions. Before you read it, please read the Introduction. It tells you the purpose of the series and gives you some tips on presenting my material. This article is designed to give you what you need to deliver a successful presentation. The speaker notes and demo script, along with the videos, are part of the package, and you

Tying Mono and OpenCL

  One of the cool buzzword these days beside parallel computing is GPGPU as in General Purpose GPU.The base idea of GPGPU is to allow a programmer to tape in the parallel processing capacities of a GPU to do something different than pixel crushing (even though it mostly boils down to that very application most of time).   GPGPU isn’t new and for a long time vendors have provided their own rather

Smart Network Data Services

Welcome to Smart Network Data ServicesWindows Live Hotmail Postmaster is proud to provide Smart Network Data Services as a new way to fight spam and malware.  By providing data such as mail traffic statistics seen by Windows Live Hotmail to IP block owners (ISPs, in a broad sense), organizations are empowered to prevent spam, viruses, and other malicious activity from originating from their IP

Windows Media Player 11 for Windows XP

   Windows Media Player 11 offers great new ways to store and enjoy all of your digital media. It's easier than ever to access all of your music, video, pictures, and recorded TV on your computer. Play it, view it, organize it, and sync it to a portable device for enjoying on the go, or share with devices around your home - all from one place. Windows Media Player 11 is designed to work with all

Selasa, 22 Juni 2010

Windows Server Update Services 3.0 Class Library

PurposeMicrosoft gives administrators full control over the update management process, eliminating the need for client computers to retrieve updates directly from Microsoft Update. WSUS administrators can specify the types of updates to download, create target groups of computers to receive updates, and determine which computers require updates before deployment. Administrators can approve

notepad.cc

This is crazy simple. Load up the page, start typing. Change the URL if you’d like, add a password too, share with others or reference the URL on other devices (including iPad).Brilliant.Read more: Cameron Moll Read more: http://notepad.cc Posted via email from .NET Info

4 new Windows help articles related to Windows 7 Service Pack 1 (SP1) Beta

Just wanted to point out these new articles we have on the Windows site, all related to the up coming Windows 7 Service Pack 1 (SP1) Beta. Maybe worth a quick read prior to any plans you have install the service pack when it becomes available. Troubleshoot problems installing a service pack for Windows 7 or Windows Server 2008 R2“To successfully install Windows 7 SP1 Beta or Windows Server 2008

Basic Analysis of a Managed Memory Dump (.NET)

When looking for the root cause of a crash collecting the memory dump is only the first step.  This posting assumes that you already have a properly configured version of WinDBG along with a memory dump of a managed process. In order to highlight the differences between managed and unmanaged debugging I will continue with the same scenario I used in my unmanaged posting.  The following is the

Обзор обфускаторов для .NET

Темой обфускаторов я занимаюсь довольно долго, но недавно пришлось таки актуализировать знания.Не так давно передо мной стояла задача выбрать хороший обфускатор для .NET4. Просмотрев кучу софта, я составил небольшой обзор, куда постарался включить самые известные обфускаторы. Общие выводы и рассужденияБесплатные обфускаторы весьма слабые и пригодны только для простого переименования. О control

שידור מצגות באינטרנט

פעמים רבות אנו רוצים להציג מצגת או אלבום תמונות שיצרנו בתוכנת PowerPoint  בפני חברים לעבודה, לקוחות או בני משפחה אחרים. כמעט בכל המקרים או ששלחנו להם קובץ המצגת וקיווינו שהם יסתדרו עם הצגת המצגת או שהגענו פיזית אליהם על מנת להציג את המצגת. בתוכנת PowerPoint 2010 אנו יכולים לעשות זאת מבלי לקום מהכסא וכל מה שנדרש  מאיתנו ומהם זה הרשמה לחשבון Windows Live . כאשר יש לנו ולהם שם משתמש וסיסמא ב-Windows

GHeat .Net

Introduction   A fast and free heat mapping tool. Background  I had the need for a flexible and scalable heat mapping application. A quick Google search lead me to gheat. While playing with the application, I found it slow and not flexible enough to suit my needs. Their was no way to quickly and easily add points and the tile generating was slow. So I decided to attempt a port to C# and here I

TSQL Beginners Challenge 10 - Clean up alphanumeric strings by splitting digits and letters into separate columns

This challenge refers to sanitizing text data. Your task is to read an alphanumeric string and create two output columns one containing all the digits found in the input string and the other with all the letters of the English Alphabet. Sample Input DataId AlphanumericData-- ---------------------------------------------------------------------1 I would like to invite my readers to participate in

Visualization Library

Visualization Library is a C++ middleware for high-performance 2D and 3D graphics applications based on the industry standard OpenGL 2.1, designed to develop portable applications for the Windows, Linux and Mac OS X operating systems. Visualization Library can be used to develop applications for 2D and 3D scientific visualization (like material sciences, geosciences, oil and gas exploration etc.)

GSmartControl lets you monitor your hard drive's health in detail

S.M.A.R.T is an acronym that stands for Self-Monitoring, Analysis, and Reporting Technology. It's a nice bit of intelligence that hard drive makers have been including into drive firmware for several years now. In simple terms, it's supposed to let you know that a drive is about to crash before the crash happens. You can then take measures to protect your data or, perhaps, return the drive to the

A guide to 3D display technology: its principles, methods, and dangers

Whether you buy into the hype or not, it’s plain fact that 3D is everywhere these days. From movies and games to laptops and handhelds, pretty much every screen in the house is going to be 3D-capable in a year or so, even if you opt not to display any 3D content on it. Those of you who choose that path may stop reading now, and come back a little later when you change your mind. Because if you

No anti-virus software? No internet connection

AUSTRALIANS would be forced to install anti-virus and firewall software on their computers before being allowed to connect to the internet under a new plan to fight cyber crime. And if their computer did get infected, internet service providers like Telstra and Optus could cut off their connection until the problem was resolved. Those are two of the recommendations to come from a year-long

How to Backup Your Data to a Virtual Hard Drive in Windows 7

Having a solid backup plan is a must if you have important data on your PC that you don’t want to lose. Today we take a look at a unique way of using a virtual hard drive in Windows 7 to back up some files.Create a Virtual Hard Drive (VHD) The first thing we need to do is create a VHD. In this article we are concentrating on how to backup your data to a VHD, we’ll briefly cover how to create one

VPN Flaw Shows Users' IP Addresses

A VPN flaw announced at the Telecomix Cyphernetics Assembly in Sweden allows individual users to be identified. 'The flaw is caused by a combination of IPv6, which is a new Internet protocol due to replace the current IPv4, and PPTP (point-to-point tunneling protocol)-based VPN services, which are the most widely used. ... The flaw means that the IP address of a user hiding behind a VPN can still

Quora’s Highly Praised Q&A Service Launches To The Public (And The Real Test Begins)

Quora, a Q&A service founded by early Facebook employees that has generated quite a bit of buzz, has launched to the public. The service first made its debut on January 4, 2010, but was previously restricted to users who had been invited (or had requested an invite from the site). The news was announced this evening in an article in the Wall Street Journal. Quora was attracting plenty of

Quantum Resistant Public Key Cryptography: A Survey

Public key cryptography is widely used to secure transactions over the Internet. However, advances in quantum computers threaten to undermine the security assumptions upon which currently used public key cryptographic algorithms are based. In this paper, we provide a survey of some of the public key cryptographic algorithms that have been developed that, while not currently in widespread use, are

Best Places To Work In IT 2010

These top-rated IT workplaces combine choice benefits with hot technologies and on-target training. Computerworld's 17th annual report highlights the employers firing on all cylinders. The Employer Scorecard ranks IT firms based on best benefits, retention, training, diversity, and career development. Also read what IT staffs have to say about job satisfaction. How's your workplace, IT folk?"

TippingPoint Zero Day Initiative

The following is a list of vulnerabilities discovered by TippingPoint Zero Day Initiative researchers that are yet to be publicly disclosed. The affected vendor has been contacted on the specified date and while they work on a patch for these vulnerabilities, TippingPoint customers are protected from exploitation by IPS filters delivered ahead of public disclosure. TippingPoint customers are

Senin, 21 Juni 2010

Airbnb Founder Eats His Own Dogfood, Goes ‘Homeless’ For Months

Gotta respect startup founders who know how to really eat their own dogfood: Airbnb co-founder and CEO Brian Chesky last week moved out of the 3 bedroom apartment that was the driving force behind the establishment of the company back in 2007 (and still serves as its main office), and will be ‘living on Airbnb’ until at least the end of the year. Chesky will be using Airbnb, which is a

Screenshot Tour: Take a Look at the New Office Web Apps

One of the most talked about new features of Office 2010 is Web Apps. Here we bring you a tour of the Web Apps service and what you can expect. We cover the highlights and some areas that could use improving. Office Web Apps are a great counterpart to the Office desktop apps.  They render docs very well, and let you quickly edit and collaborate on important documents with familiar tools.  Office

Kaminsky Issues Developer Tool To Kill Injection Bugs

Researcher's new startup offers up new approach to preventing common SQL injection, XSS vulnerabilities in softwareRenowned security researcher Dan Kaminsky today went public with the launch of a new venture as well as its first deliverable -- a tool for application developers that helps prevent pervasive string injection-type attacks, such as SQL injection and cross-site scripting (XSS).

Israeli Startup Claims SSD Breakthrough

Anobit Technologies announced it has come to market with its first solid state drive using a proprietary processor intended to boost reliability in a big way. In addition to the usual hardware-based ECC already present on most non-volatile memory products, the new drive's processor will add an additional layer of error correction, boosting the reliability of consumer-class (multi-level cell) NAND

MySQL vs SQLite3 performance

I did some testing to compare MySQL with SQLite3 on simple operations:display indexcreate an entryedit entrypublishdelete entryHere is the result: Read more: Zena Posted via email from .NET Info

Подключение сторонних протоколов в Windows Live Messenger

Пока что Windows Live Messenger не имеет стандартной возможности добавлять профили сервисов обмена мгновенными сообщениями кроме MSN. Но как известно – прогресс не стоит на месте и появилось приложение BuddyFuse, которое интегрируется с Windows Live Messenger. После его установки мы увидим такой вот значок в окне месенджера (отмечено стрелочкой): Нажав на него можно добавить аккаунты, пока что

New Native Activity Item Templates for Visual Studio 2010

I’ve been creating a lot of Native Activities lately and to do it I would add a new item to my project using the Code Activity template.  I kept wishing for a Native Activity template so now I’ve created one. Install the Native Activity Template From Visual Studio 2010You can search and install templates directly from within Visual StudioStart Visual Studio 2010Create a Workflow project (Console,

Finally! How to set the user’s data folder in a different drive in Vista/Windows 7, and re-use it after re-installing the OS

Have you ever wanted your C:\Users\YourUserName folder to reside in a different drive (other than the C: drive which you will need to re-format and re-install the OS occasionally..)?Well, in Vista you can relocate the special sub-folders (i.e. Documents, Pictures, Videos, etc.). In Windows 7, we have the ‘Libraries’ features. But neither one of these OSs let you actually relocate the entire C:\

Moving a Certificate Between Web Servers

I’m in the process of moving Lake Quincy Media’s web site from one server to another, and since it uses SSL to secure users’ data, I had to move the certificate to the new server as part of the server move.  Fortunately, this process is quite painless.  First, you need to export the certificate to a .pfx file and give it a password, using these steps: 1. Start, Run, MMC (I did it as administrator

Over a Third of the Internet Is Pornographic

Pornography makes up 37% of the total number of web pages online, according to a new study published by Optenet, a SaaS provider. According to the report, which looked at a representative sample of around four million extracted URLs, adult content on the Internet increased by 17% in the first quarter of 2010, as compared to the same period in 2009 Read more: SlashdotRead more: ThinQ report

MSG File Format, Rights Managed Email Message

In my previous two blog entries, I’ve focused on becoming familiar with the Compound File Binary Format which we discovered was similar to a FAT file system within a file.  With that exercise behind us we’re ready to step up a level in the ecology of file formats.  Analogous to ascending from chemistry to simple cell organisms, CFBF has given us the building blocks with which the great variety of

Bluecherry Releases GPL'd MPEG-4 Driver

Today Bluecherry released a GPL'd driver for its multiple-input MPEG-4 hardware compression cards. The driver supports audio and video capture from 4-, 8-, and 16-channel single-card encoders using the Video4Linux and ALSA APIs. More information about the driver and its features can be found on Bluecherry's development blog and on Ben Collins' personal blog. Bluecherry is the first Linux software

Invoking the Static Constructor via Reflection

-- Warning! -- This post may cause the reader a slight feeling of nausea. However, remember that tough situations call for some tough actions!The SituationImagine that you have to write some-unit tests for a class which uses an existing infrastructure, involving calls to static methods on a static class. To make things worse, this static class also holds some state which, unfortunately, gets

Sleeping iPhones Send Phantom Data

Stoobalou writes with a story that got started earlier this month when iPhone users in the US and the UK noticed that their phones seemed to be sending large data bursts via 3G overnight. (Providers are ending unlimited contracts, so iPhone users are paying more attention to how much data they are using.) The discussions began on MacOSRumors and an Apple discussion forum. Thinq.co.uk makes this

googlecl

GoogleCL brings Google services to the command line.We currently support the following Google services:Blogger$ google blogger post --title "foo" "command line posting" Calendar$ google calendar add "Lunch with Jim at noon tomorrow"Contacts$ google contacts list name,email > contacts.csvDocs$ google docs edit --title "Shopping list" Picasa$ google picasa create --title "Cat Photos" ~/photos/cats/

Bringing improved PDF support to Google Chrome

Millions of web users rely on PDF files every day to consume a wide variety of text and media content. To enable this, a number of plug-ins exist today which allow users to open PDF files inside their browsers. As we’ve previously mentioned, the traditional browser plug-in model, though powerful, presents challenges in compatibility, performance, and security. To overcome this, we’ve been working

How to select open source libraries

We use a lot of open source libraries and components in our daily business. Open source libraries provide us a big advantage regarding time to market with our products. Every time when we are facing a problem in our software (problem is related to business domain to implementation domain difficulties) we first look into the open source world if someone has already solved that problem or even

Turning Attackers' Tools Against Them

The BBC has an interesting Web security snippet from the SyScan 2010 security conference in Singapore. In a presentation, security researcher Laurent Oudot released details of bugs found in commonly used attack kits such as Neon, Eleonore, and Sniper. These loopholes could be exploited to get more information about the attackers, perhaps identifying them, stealing their tools and methods, or even

Minggu, 20 Juni 2010

How to export and import plain text session keys by using CryptoAPI

Sometimes it is convenient to export and import plain text session keys. However, the Microsoft Cryptographic Providers (Base and Enhanced) do not support this feature. Both CryptExportKey() and CryptImportKey() require a valid key handle to encrypt and decrypt the session key, respectively. But by using an "exponent-of-one" private key the same effect can be achieved to encrypt and decrypt the

Блок using и null object

Интересное поведение наблюдается, если в блоке using используется нулевой объект: using(null){...}. Казалось бы, очевидно, у нас должно возникнуть исключение NullReferenceException при попытке вызвать метод Dispose нулевого объекта (null object), как только мы выйдем за пределы блока using: using ((IDisposable)null){}// Исключения NullReferenceException не будет.// Метод Dispose вызван не

Why computers have two zeros: +0 and -0

Here’s a strange detail of floating point arithmetic: computers have two versions of 0: positive zero and negative zero. Most of the time the distinction between +0 and -0 doesn’t matter, once in a while signed versions of zero come in handy. If a positive quantity underflows to zero, it becomes +0. And if a negative quantity underflows to zero, it becomes -0. You could think of +0 (respectively,

Office 2010 Resource Kit Technical Library in Compiled Help format

Downloadable CHM version of Office 2010 Resource Kit content on TechNet.Read more: MS Download Posted via email from .NET Info

Open source 3D image processing libraries implemented using C++ and Python.

Visualization ToolkitThe Visualization Toolkit (VTK) is an open-source, freely available software system for 3D computer graphics, image processing and visualization. VTK supports a wide variety of visualization algorithms including: scalar, vector, tensor, texture, and volumetric methods; and advanced modeling techniques such as: implicit modeling, polygon reduction, mesh smoothing, cutting,

HOW TO CAPTURE A MINIDUMP: LET ME COUNT THE WAYS

As I was waiting for a minidump I was grabbing on a very large and busy server application to finish writing, my mind wandered and I realized there were quite a few ways to grab a minidump today. Back in the old Windows days, when we had to program up hill in the snow both ways, there was only WinDBG. Now it seems like an application isn't complete unless it produced a minidump. I thought I'd

Run Cassandra As A Windows Service

One of the main issues that comes up over and over again for Cassandra is:How do I run Cassandra as a Windows Service?In this post I am going to answer that question and in the process demonstrate how to do it in less than 10 minutes. BackgroundCassandra is mainly developed by Linux developers so very little attention has been paid to the Windows developer or administrator as far as Cassandra

Retrieve Security Information of Files using .NET

The System.Security.AccessControl namespace provides programming elements to control access to and audit security-related actions on securable objects. In this article, we will see how to display security information of files kept in a directory.   Step 1: Our first step is to loop through all the files in the Directory. With .NET 4.0, it becomes easier to enumerate directories and files. Read my

CLRStack -p" Isn't Always Reliable"

אחת הפקודות היותר שימושיות שזמינה לנו ב-SOS היא CLRStack!, שביחד עם הדגל p- מנסה להציג לנו את ערכי הפרמטרים שהועברו לכל פונקציה ב-Stack הדוט-נטי שלנו. אני אומר "מנסה" בגלל ש-SOS יציג לנו את הערכים רק אם  הוא חושב שהוא הצליח למצוא את הערכים הנכונים, ואני אומר "חושב" כי במקרים מסויימים הוא פשוט הולך לטעות.  במקרה שבו SOS יגיע למסקנה שהוא לא יודע מה הערך שהועבר בפרמטר, תודפס התשובה . זה

Sabtu, 19 Juni 2010

How to troubleshoot connectivity issues using Windbg

Using the Windows Debugging tool WinDBG you can attach a live process and debug. You can set up break-points at different function calls and debug when the process hits and stops to the break-points. When you do not have the source code (which is true for most of the products that we use as end user or support) this technique can be very useful. Today I will show you guys how to attach a UDL

A VS2010 Project Made From Post: How to: Host a WCF Service in a Managed Windows Service

MSDN has a very nice article on how to create a windows service that hosts a Windows Communication Foundation (WCF) service.  It explains all the details of doing this in a step by step fashion.  One thing that I often find missing from these articles is the actual Visual Studio project that I can download and play with.  What I usually do is put that together myself (which I’m sure is the author

COM Technical Overview topic is live

As one of my first undertakings in my new group, I wrote a little introductory overview of classic COM, which is now live: COM Technical Overview. Before this, we didn’t have a central topic that brings a bunch of fundamental ideas together, so now we have a handy place to link to. Concepts covered: Objects and InterfacesInterface ImplementationThe IUnknown InterfaceThe Client/Server ModelService

Архитектура Hyper-V

В этой статье мы поговорим о том, что такое Hyper-V «изнутри», и чем он отличается от VMware ESX с точки зрения архитектуры, а не маркетинговых листовок. Статья будет делиться на три части. В первой части я расскажу о самой архитектуре гипервизора, в двух других – о том, как Hyper-V работает с устройствами хранения данных и с сетью. Итак, как мы уже знаем, Hyper-V – это платформа виртуализауции

Moonlight 3.0, Preview 7

Chris Toshok has just announced our 7th preview of Moonlight 3.0. You can get it from our preview site.What is new in this release:Roughly API complete to SL4.0 beta. Next preview will be API compatible with SL 4.0 RTW. Video capture support, but support for pixel formats is sparse. right now the supported formats are YUYV and YV12/YUV420 (planar).SSE2 fast paths for gradient fills in the

ResGen.exe error: An attempt was made to load a program with an incorrect format

Recently, we’ve seen a number of people reporting problems with resource generation in Visual Studio 2010, particularly when they target .NET Framework 3.5 on 64-bit machines.  In this blog post, I will highlight one of the most common errors; when and where it occurs, and how to work around it.  In a later post, we’ll take a look at some other somewhat less common errors, and some background on

The Four Polymorphisms in C++

When people talk about polymorphism in C++ they usually mean the thing of using a derived class through the base class pointer or reference, which is called subtype polymorphism. But they often forget that there are all kinds of other polymorphisms in C++, such as parametric polymorphism, ad-hoc polymorphism and coercion polymorphism. These polymorphisms also go by different names in C++,Subtype

Google Storage API with C#. SharpGs. Try it

Eh.. long time in silent, but today I have great news for you - SharpGs, is a first open-source C# library to access Google Storage API.Why have I done that - maybe for fun and interest of Google products. But the real idea was that now I have something new to share and give to society, and became alive in my blog :). How to useHere will be the small instruction on how to use the library. On the

FxCop 10.0

FxCop is a tool that performs static code analysis of .NET code. It provides hundreds of rules that perform various types of analysis.DesignGlobalizationInteroperabilityMaintainability MobilityNamingPerformancePortabilityReliabilitySecurityUsageFor more detailed information please consult the Visual Studio 2010 MSDN documentation. The FxCop functionality is fully integrated into Visual Studio

SQL Server 2008 R2 Best Practices Analyzer is now available

Following the original release of SQL Server 2008 R2 we are pleased to announce the associated release of the SQL Server 2008 R2 Best Practices Analyzer (BPA).BPA is designed for administrators who want to determine the overall conformance of their SQL Server instances and topology with established best practices. BPA examines your SQL Server instance for system events, reviews login permissions,

Debugging a Silverlight app in Cassini

This post was born out of a long and frustrating process of trying to debug two Silverlight apps.While you can apply these tips more generally as you choose, I can only promise they are relevant in the following situation: Your Silverlight application polls one or more WCF services that are not in the Silverlight web projectYou are developing on a shared server or otherwise would like to run the

Jurassic - A Javascript Compiler for .NET

Jurassic is a javascript compiler and runtime. It aims to provide the best performing and most standards-compliant implementation of javascript for .NET.Jurassic is not yet production readyWhat's supported All ECMAScript 3 functionalityPartial ECMAScript 5 functionalityNative JSON supportAll ECMAScript 5 built-in library functions (except bind)Known issuesAttempting to return from a finally

Jumat, 18 Juni 2010

tariq

A Hybrid Port Knocking System,Some History:The port knocking concept has been around for a while, and there are many different port knocking implementations. In computer networking, Port Knocking is a method of externally opening ports on a firewall by generating a connection attempt on a set of pre-specified closed ports. Once a correct sequence of connection attempts is received, the firewall

Changing The SSH Port Without Changing It

For years, on security forums and mailing lists, if you ever dared to suggest changing SSH’s default port (TCP 22) the “security by obscurity” crowd would come out of the woodwork and nail your ass to the Cross of Righteousness for having the unmitigated gall to even dare utter such heretical nonsense. Unfortunately for these dogmatic True Believers, changing the ssh daemon’s default listening

Mr. Hinky Dink's PoTTY

Mr. Hinky Dink's PoTTY implements Bruce Leidl's obfuscated-openssh patch for the most popular Windows SSH client, Simon Tatham's PuTTY. PoTTY obfuscates the initial key exchange handshake to prevent detection by deep-packet inspection firewalls and intrusion detection/prevention systems (IDS/IPS). For a desrciption of the obfuscation process, read this. To leverage obfuscation, PoTTY requires,

Obfuscated OpenSSH

Handshake Obfuscation---------------------Handshake obfuscation strengthens the initial SSH handshake against systems that identify or classify various network protocols by examining data in transit for static signatures.  Such automatic classification of traffic is often used to provide different levels of network service for each protocol and sometimes used to implement policies which prohibit

raw2vmdk - Mount raw images as VMDK virtual disks

raw2vmdk is an OS independent Java utility that allows you to mount raw disk images, like images created by "dd", using VMware, VirtualBox or any other virtualization platform supporting the VMDK disk format. Read more: raw2vmdk Read more: SourceForge Posted via email from .NET Info

Kamis, 17 Juni 2010

MSDN Magazine June 2010

Cloud Diagnostics: Take Control of Logging and Tracing in Windows Azure It’s difficult to troubleshoot any application without a trail of clues to follow, and cloud apps are no different. We look at how logging and tracing are enabled for Windows Azure, and how you can use Windows PowerShell to manage diagnostics for a running service. Mike KellyInput Validation: Enforcing Complex Business Data

Announcing Sketchables – Rapid Mockup Creation with SketchFlow

SketchFlow is a great addition to Blend, but I was missing the ability to create quick mockups of user interfaces. I’m a huge fan of productivity tools such as Balsamiq, and I was sorely missing its ease and speed in SketchFlow. Meet Sketchables. Sketchables is a simple framework complemented by a set of controls that allow you to quickly create common controls in a matter of seconds. Read more:

Difference Between GETDATE and SYSDATETIME

Sometime something so simple skips our mind. I never knew the difference between GETDATE and SYSDATETIME. I just ran simple query as following and realized the difference.SELECT GETDATE() fn_GetDate, SYSDATETIME() fn_SysDateTime In case of GETDATE the precision is till miliseconds and in case of SYSDATETIME the precision is till nanoseconds.Read more: Journey to SQL Authority with Pinal Dave

DEJAVU FONTS FÜR VISUAL STUDIO 2010 NUTZEN

For Visual Studio, I've always Inconsolata If you install the font and worked with it. For a black background of this font is great, but on white, he just looks washed out too. So I looked around for another developer fonts and am in the process become aware of DejaVu. Read more: Dariusz quatscht (Translated to english) Posted via email from .NET Info

Hotfix: Hyper-V backup can cause slow system boot / large registry files

A while ago I made an open offer to people to contact me if they had experienced issues using Hyper-V backup.  A number of you contacted me with reports of large registry files in the parent partition – that would slow down system boot over time. Well, after a lot of investigation we have figured out the cause and a hotfix is now available.  You can download it from here: http://

Deep-protocol analysis of UNIX networks

IntroductionNetworks have become so ubiquitous that in many cases we take the use of the network to communicate with different machines, inside and outside of our network, for granted. Most of the time this isn't an issue, but there are times when you need to take a closer look at your network and find out what is going on. There are a number of reasons to take a closer look at the contents of

What does the PRE in PREfast stand for?

Commenter Jeff asks what the PRE in PREfast stands for.It's an inside joke.The Microsoft Programmer Productivity Research Center (MSPPRC) originally produced a tool called PREfix. Michael Howard put me in touch with the development team, and they explained that it was called PREfix because it helps you fix your bugs before (PRE) you even run the code. The problem with PREfix was that it required

Installing and Running Google Go on Mac OS X

A while ago Google gave us a brand new language, Go. In the last couple of years I really haven't heard much about it, but I decided to finally install it and give it a try. This tutorial will guide you step-by-step on how to install Google Go and start writing your own applications. Go's website has very good instructions on how to install it, and this tutorial will take many steps directly from

Learned Today: Joining with Hibernate

Hibernate (and NHibernate) is able to do a lot of different kind of joins. Unfortunately it can not do outer joins on properties that are not mapped as associations. My goal was to get the result of the following SQL-query with an outer join: SELECT e.Name, d.Status, count(*) FROM event eLEFT OUTER JOIN delivery d on e.Id = d.EventIdGROUP BY e.Name, d.StatusI hoped to realize the above query

5 things you didn't know about ... JARs

For most Java developers, JAR files and their specialized cousins, WARs and EARs, are simply the end result of a long Ant or Maven process. It's standard procedure to copy the JAR to the right place on the server (or, more rarely, the user's machine) and forget about it. Actually, JARs can do more than store source code, but you have to know what else is possible, and how to ask for it. The tips

Rabu, 16 Juni 2010

Inside Kinect

Microsoft has renamed project Natal, its new game interface, as Kinect - and don't you think that most of Microsoft's code names are better than the final moniker that they adopt for the finished , or nearly finished, thing. While there is a lot of over-hyped and staged excitement about the new human interface it is interesting to know that the same technology is already generally available.It

Popular .NET Web Content Management Systems (CMS) - Open Source

As wikipedia defines it - “A web content management (WCM) system is a CMS designed to simplify the publication of web content to web sites and mobile devices, in particular, allowing content creators to submit content without requiring technical knowledge of HTML or the uploading of files” Here are some good Open Source ASP.NET Web CMS that are popular in the community. You can Bookmark this link

Creating a Shuffleboard Game using Silverlight

IntroductionIn this walkthrough, we will create a table shuffleboard style game for Windows Phone 7 using Silverlight. Many bars feature these long wooden table games, in which players slide metal pucks down the length of the table, attempting to get as close as possible to the far end without sliding off the edge. Multi-TargetingWindows Phone 7 uses a version of Silverlight 3 with a few bonus

תמיכה ב WindowsService בזמן פיתוח

בעבודה עם WindowsService קיימת אי נוחות בסביבת הפיתוח.אי אפשר סתם כך להריץ אותו ב VisualStudio (לא ניתן ללחוץ F5 ולהריץ). יש צורך להוסיף שורה שטוענת את ה Debugger , זו שורה שנוספת לקוד על כל המשתמע מכך, ויש גם לדאוג שלא תופיע בסביבת Realese.לא ניתן להדפיס הודעות ל Console סדרת פוסטים זו , נועדה כדי לפתור בעיות אלו.הרצת ה Service כ Console בזמן debug. כדי להריץ את ה Service בלחיצת F5 (או סתם כך

Hibernate 3 Annotations Tutorial

This tutorial will walk through how to implement a hello world project using Hibernate Annotations and MySQL database.RequirementsDownload and unzip Hibernate Core distribution from the Hibernate website. Hibernate 3.5 and onward contains Hibernate Annotations. Starting with version 3.5 (currently trunk), Annotations and EntityManager have been merged back into the Hibernate Core codebase as

IIS Network Diagnostic Tools

When troubleshooting network problems it helps to be able to run ping and traceroute ( tracert ) commands from remote servers. There is number of such public servers available on http://www.traceroute.org. If you need to run such server yourself on Microsoft IIS, you face a hard time, thought. I was unable to find decent, modern and free implementation of web ping and trace. So I wrote one

Working with devices

I talked to several folks at Tech Ed who wanted to know if it was possible to work with devices and do something like an uninstall/reinstall using a Troubleshooting Pack.  Yes, you absolutely can!  In fact, there are two ways you can accomplish this, so I’ll show you both. Method 1: Reuse the Windows “Devices” Troubleshooting PackThis is definitely the method I’d recommend.  It doesn’t take a lot

Quick Tips: using debugger scripts to your advantage - .shell

After debugging for quite some time, and looking almost every day at memory dumps you start to think “I really need a command to this, to do that,…” in order to easy on some of the repetitive work and allow you to more quickly focus on the issue itself. I find debuggers scripts to be a big advantage here, and use them a lot. These are pretty simple to define and use (don´t confuse with debugger

MonoDevelop 2.4 released

Today we are releasing MonoDevelop 2.4, which includes plenty of new features and improvements. The release highlights are:Workbench usability improvements, which include a new Navigate to Symbol dialog, Solution and Class pad zooming, better pad layout, and many other look & feel improvements. Improvements in project management, with support for standalone assembly projects, and external console

Critical information for people running Windows 2000 and Windows XP SP2!

As part of the standard Microsoft Support Lifecycle, Windows 2000 Professional, Windows 2000 Server, and Windows XP Service Pack 2 (SP2) will reach “End of Support” on July 13, 2010.If you are not familiar with the Microsoft Support Lifecycle web site (which includes the Microsoft Support Lifecycle policy), please check it out. The Microsoft Support Lifecycle (MSL) policy provides transparent and

Infragistics Announces Mono Compatibility for Leading UI Toolset

Princeton, N.J. & Elstree, England – June 16, 2010 — Infragistics, the experience design software company and world leader in user interface (UI) development tools, today announced that the 2010 Volume 2 version of NetAdvantage for .NET will include the ASP.NET toolkit which is fully compatible with the Mono framework from Novell. With the most powerful UI controls available for ASP.NET,

Google Storage for .NET

What is Google Storage?Google Storage is an innovative new offering from Google, Inc to provide cloud based file storage similar to Amazon S3 or RackSpace CloudFiles. The service, which hasn't been officially launched to the public yet, provides a completely REST based interface that allows developers to easily upload and download files, create buckets (folders) and control file access based on

Wither DirectDraw ?

The DirectDraw API has been more or less deprecated for game developers since the release of DirectX 9.0 SDK back in 2002. The last time we shipped samples or documentation on DirectDraw dates back to the DirectX 8.1 SDK. Game developers looking to do 2D rendering should be using Direct3D, or on systems with DirectX 11 the Direct2D API could also be a good choice. The DirectDraw documentation can

SQL Server Driver for PHP 2.0 CTP2 is now released

It is our pleasure to announce the release of Community Technology Preview 2 (CTP2) of the SQL Server Driver for PHP 2.0!We would like to thank all who provided feedback and bug reports on our CTP1 release (April 19th) the SQLSRV (our native API) and PDO_SQLSRV drivers. Last week we shared our plans for our next CTP in our blog, and today we are happy that we were able to achieve our release

Generic WCF Hosting Service

The Generic Host Service provides a simple, reusable, and reliable mechanism for hosting WCF services. The Generic Host Service provides a declarative service registration mechanism using the application configuration file, support for xcopy deployment of new services, support for hosting multiple WCF Services within a single Service Host instance, logging and tracing through Microsoft Logging

Opening a New Tab may launch a New Process with Internet Explorer 8.0

If you have been using IE7, you are probably used to all your tabs opening under the same iexplore.exe process. The only exception is if you are on a Windows Vista machine and you are moving from Protected to Unprotected mode. Internet Explorer 8 had a big makeover in this area. You will now notice that new tabs typically open in a new process.  By default,  IE8 will start with two instances of

HOWTO: How To Change Hard Error Popup Handling in Windows NT

In an unattended environment, you may want to automatically dispatch hard error popups that require user intervention. This article gives you the code you need to change the hard error popup mode.Windows NT allows the user to change the handling of hard error popups that result from application and system errors. Such errors include no disk in the drive and general protection (GP) faults.

CAcert - FREE digital certificates for everyone.

Welcome to the CAcert - FREE digital certificates for everyone. Traditionally vendors seeking to have their root certificates included in browsers (directly or via the underlying OS infrastructure like Safari via OS X's Keychain) would have to seek an expensive Webtrust audit (~$75,000 up-front plus ~$10,000 per year). While achievable for commercial CAs who typically charge per certificate year,

How can you change Network settings (IP Address, DNS, WINS, Host Name) with code in C#

sing System;using System.Management;namespace WindowsFormsApplication_CS{    class NetworkManagement    {        ///        /// Set's a new IP Address and it's Submask of the local machine        ///        /// The IP Address        /// The Submask IP Address        /// Requires a reference to the

VS REMOTE DEBUGGING ACROSS WORKGROUPS OR DOMAINS

Remote debugging in Visual Studio works great if both machines are on the same domain and/or workgroup. It also works dreamily if you're doing straight native C++ where you can use the TCP/IP as the debugging transport. The problem comes in when you need to do remote debugging for managed code across domains or workgroups. It doesn't work because .NET remote debugging relies on DCOM, which as a

Vulnerability in Help Center could allow remote code execution - Microsoft Security Advisory (2219475)

You may have heard about a current exploit of Windows XP and some versions of Windows Server 2003 with the Windows Help and Support Center.  Read the official security advisory at Vulnerability in Help Center could allow remote code execution. There is a Fix it  available for this (follow the link below, or click the image) Read more: The blog of Rob Margel - Windows Help Read more: Fix It

How Orchard works

Building a Web CMS (Content Management System) is unlike building a regular web application: it is more like building an application container. When designing such a system, it is necessary to build extensibility as a first-class feature. This can be a challenge as the very open type of architecture that's necessary to allow for great extensibility may compromise the usability of the application:

Selasa, 15 Juni 2010

simple Linux

Simple Linux (Malaysian) A new wave of Linux Distro, simple, and small in size. Lets use simpleLinuxRead more: simple LinuxRead more: Codeplex Posted via email from .NET Info

Net Interview questions

This morning a colleague of mine asked me for a list of questions to prepare for a .Net technical interview. I thought it would be useful to share this list with everyone.A) Developer 1) OO Explain principles of Object Orientation?Can you use abstract classes in place of Inheritance ? What are the differences between these two concepts?Explain polymorphism and write an example in code (C#). 2)

Hide and seek

Another interesting question from StackOverflow. That thing is a gold mine for blog topics. Consider the following:class B{  public int X() { return 123; }}class D : B{  new protected int X() { return 456; } }class E : D{  public int Y() { return X(); } // returns 456}class P{  public static void Main()  {    D d = new D();    Console.WriteLine(d.X());  }}There are two possible behaviours here.

Custom Bitmap Effects - HLSL

In the article Custom Bitmap Effects - Getting started we discovered how to work with HLSL in WPF. Now we are in a position to write more sophisticated shaders and  this means learning some more HLSL. In general shaders can work on vertices - i.e. the basic geometry of a 3D object - or the pixels that are about to be displayed. That is HLSL is a language that has commands that are about

HeinanOS

HeinanOS is an operating system developed mainly in C++.HeinanOS is a light OS (1.44 MB image) with a lot of capabilites and many more are being developed each and every day for the final release. Currently HeinanOS has the following features:FAT12 File System.Text reader supporting .txt filesFor the Milestone 2 release, I plan to integrate the following features:FAT16/FAT32 File System Text

Manipulate Docx with C# without Microsoft Word installed with Open XML SDK

With the Open XML SDK you can edit docx without having Microsoft Word installed.In this particular situation, I'm editing the custom properties of the docx, which are commonly used to store some application's info to further use, or even some add-in that we developed as well. Using the code This article is really simple, it's purpose is to spread the word, is just showing you what to do based on

NET FX 4 is now available in 10 additional languages

fter successfully getting all VS languages out the door, we released 10 additional languages for .NET Framework 4 (and 7 of those additional languages for VS 2010 Tools for the Office System 4.0 Runtime) the other day. .NET Framework 4 (Standalone Installer) ARAhttp://www.microsoft.com/downloads/details.aspx?FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7&displaylang=ar DANhttp://www.microsoft.com/

Шпаргалка "Гимн России". Подглядываем через nslookup

Всем привет. Только что увидел твит от @diverofdark и решил ним с вами поделится.Выполните в PowerShell следующий скрипт:for ($i=200; $i -le 223; $i++){   (nslookup 62.76.96.$i)[3].ToString().Replace('.', ' ').Substring(9) }Результатом такого опроса будет вот такой вот текст:Rossija svjashhennaja nasha derzhavaRossija ljubimaja nasha stranaMoguchaja volja velikaja slavaTvojo dostojanie na vse

Ring (computer security)

In computer science, hierarchical protection domains,[1][2] often called protection rings, are a mechanism to protect data and functionality from faults (fault tolerance) and malicious behaviour (computer security). This approach is diametrically opposite to that of capability-based security. Computer operating systems provide different levels of access to resources. A protection ring is one of

Yersinia

Yersinia is a network tool designed to take advantage of some weakeness in different network protocols. It pretends to be a solid framework for analyzing and testing the deployed networks and systems. Currently, there are some network protocols implemented, but others are coming (tell us which one is your preferred). Attacks for the following network protocols are implemented (but of course you

WHAT IS NEW IN POSTGRESQL 9.0

PostgreSQL 9.0 beta 2 just got released this week. We may see another beta before 9.0 is finally released, but it looks like PostgreSQL 9.0 will be here probably sometime this month. Robert Treat has a great slide presentation showcasing all the new features. The slide share for those on Robert Treat's slide share page. We'll list the key ones with our favorites at the top:Our favoritesThe window

BIOS Will Be Dead In Three Years

Stoobalou writes with news that MSI is planning a big shift towards UEFI (universal extensible firmware interface) at the end of 2010, possibly spelling the beginning of the end of the BIOS as we know it. "It's the one major part of the computer that's still reminiscent of the PC's primordial, text-based beginnings, but the familiarly clunky BIOS could soon be on its deathbed, according to MSI.

New LLVM Debugger Subproject Already Faster Than GDB

The LLVM project is now working on a debugger called LLDB that's already faster than GDB and could be a possible alternative in the future for C, C++, and Objective-C developers. With the ongoing success of Clang and other LLVM subprojects, are the days of GNU as the mainstream free and open development toolchain passé? Read more: SlashdotRead more: LLDB Posted via email from .NET Info

Google researcher gives Microsoft 5 days to fix XP zero-day bug

A Google engineer today published attack code that exploits a zero-day vulnerability in Windows XP, giving hackers a new way to hijack and infect systems with malware.But other security experts objected to the way the engineer disclosed the bug -- just five days after it was reported to Microsoft -- and said the move is more evidence of the ongoing, and increasingly public, war between the two

Mass SQL Injection Attack Hits Sites Running IIS

There's a large-scale attack underway that is targeting Web servers running Microsoft's IIS software, injecting the sites with a specific malicious script. The attack has compromised tens of thousands of sites already, experts say, and there's no clear indication of who's behind the campaign right now. The attack, which researchers first noticed earlier this week, already has affected a few

Varnish

Varnish is a state-of-the-art, high-performance HTTP accelerator. It uses the advanced features in Linux 2.6, FreeBSD 6/7 and Solaris 10 to achieve its high performance.Some of the features include A modern designVCL - a very flexible configuration languageLoad balancing with health checking of backendsPartial support for ESIURL rewritingGraceful handling of "dead" backendsmore features...

Senin, 14 Juni 2010

Microsoft Application Compatibility Toolkit 5.6

The Microsoft Application Compatibility Toolkit (ACT) 5.6 helps customers understand their application compatibility situation by identifying which applications are compatible with the Windows 7® and Windows Vista® operating system and which require further testing. ACT helps customers lower their costs for application compatibility testing, prioritize their applications, and deploy Windows more

Detecting Processes that are not Responding

If you are developing software that monitors other programs or services, it can be useful to detect when a process has stopped responding to the user. This can easily be achieved using members of the .NET framework's Process class. Process ClassThe Process class can be found in the System namespace. This class provides a series of static and instance members that allow you to connect to running

Migration From Oracle to MySQL

This talk will cover what a few Oracle experts (but MySQL newbies) learned in a recent migration at NPR.org. It discusses how we separated our previously monolithic database into smaller, more functionally cohesive databases and some of the criteria we used to decide what tables ended up where. This architecture allowed for better load balancing and fault tolerance but it was outside our budget

How ASP.NET PostBacks and Redirects Work

Last week I got the following two questions from one of our clients“We use ASP.NET PostBacks but can’t find the PurePath for the request triggering the PostBack handler – any hints?” “We see many ThreadAbortExceptions in our ASP.NET Application and we are not sure why they happen – are they expected?”Time for a little blog that gives some internals on PostBacks as well as Redirects (which are

Using Windows Error Reporting (WER) API in managed code to generate memory dump

The WER is a pretty cool technology from Microsoft for collecting memory dumps on process crash/ hang. This can be extended to generate on demand when the application needs to. The usual reason for getting a memory dump could be based on certain conditions, for example, the customer feels the application is slow and would want to send the information to WinQual (WER server). If the application

Introducing Microsoft RemoteFX USB Redirection

In April, Max Herrmann posted a blog article announcing our newest device redirection feature for Remote Desktop Virtualization Host: RemoteFX USB redirection. In this three-part series, we’ll take a closer look at the feature and how it helps close the gap between the user experience of a local user sitting at their physical desktop and that of a remote user connected to a virtual desktop. The

Managing various network settings in Windows Server 2008 R2 Core

Have you ever run into a problem where you are attempting to troubleshoot a network connectivity issue or configuring network settings on a Windows Server 2008 R2 Core machine?While working on an issue, I found myself asking the question, “How do I manage network settings on a Core machine?” Assign/Set the server with a static IP address:netsh interface ipv4 set address name="

VMM Frequently Asked Questions

All questions answered here. OK, many questions you run into on a daily basis but seem to have a tough time finding an answer to… Whether you are new to the product or have been a master of all things VMM for years, I bet you’ll learn something you didn’t know. The link below takes you to a TechNet section devoted to questions from many different categories. And for those of you who think TechNet

Linus Torvalds: C++ productivity

Name: Linus Torvalds (torvalds@linux-foundation.org) 6/8/10anon2 (anon@anons.com) on 6/8/10 wrote:>But productivity is a difference thing when it comes to kernel code. Linux devs are working practically for free. So the same amount of budget can get you whole lot work done. Actually, this is wrong.People working for free still doesn't mean that it's fine to make the work take more effort - people

Using Forms Authentication in ASP.NET

Classic ASP developers often had to "roll their own" authentication scheme, however, in ASP.NET much of the grunt work has been taken out. This article outlines how things have changed and how FormsAuthentication can be used to secure a Web site with a minimal amount of code. In classic ASP, authentication was pretty much all or nothing. Either you were using integrated security (often referred

6 Great Ways To Suck At C++

Because who wants to be good anyway?Without any ado whatsoever, here are 6 devastatingly effective ways to absolutely suck at C++:1. Overrun your buffersBuffer overruns are a delicious cornucopia of destructive possibility. They occur when you access past the bounds of an array – say, by writing into array[10] when array is only 10 elements long. The results of such an operation are what the C++

How strong name assemblies keep you out of DLL Hell

while using Microsoft .NET framework for creating any application we are previously facing same problem with the DLL Hell. it arises a problem while updating a components so it breaks the other application which are depend on it. to overcome such a issues developer needs to implement the concept of Strong name .In this article you can through with how and why to use strong name . Strong Name :

Coolest Silverlight Sound Library for Games I’ve Seen Yet

Quite amazing demo: http://prefix.teddywino.com/post/SilverlightMediaKitLiveDemo.aspx The library has a lot of potential for Silverlight games. It does MP3 decoding in managed code and exposes some cool controls like Pitch, Echo. Duet is my favorite. I’m also a Transformers fan and like how Duet makes explosion and swoosh sounds sound “Transformerish”. I believe it should solve the “short sound”

Creating a Port Scanner with C# Windows Forms Application

This simple application will allows you scan Open port of your PC.And this small application will help to to check the security of your PC.here we are going to use TCPClient to check whether port is open or not.That means if TCPClient connected with the port then port is Opened.Other wise port is closed. First We will design the Interface.Read more: C# PROGRAMMING FOR BEGINNERS Posted via

Creating Windows Services in C#

Unlike standard Windows applications, services run in the background and don’t have a GUI, unless managed by another application that can be considered the controller. A service can perform almost anything – it can be a server, a web service host or a web hardware management layer. It has access to pretty much the same system features a regular application has, however it has to be managed in the

Install Android 2.2 Froyo on iPhone

Last month we published tutorial on HowTo Install android on iPhone 2g, Install Android on iPhone 3G. The work has progressed further and now its possible to have latest Android 2.2 Froyo on iPhone.Here’s a Video demo of Android 2.2 running on iPhone Read more: TaranFX Posted via email from .NET Info

The Performance of Arrays

Stop me if you’ve heard this one, but here’s some information about how arrays perform, and a neat trick you can do to (possibly) get some performance back.Some backgroundIn .NET, arrays of reference types are covariant in their element type, but not safely. Eric, as always, has a post that goes into this more deeply if you want to refresh your memory. The upshot is that if you have a Derived[],

[GW]ammu - Talk to any phone

Gammu is the name of the project as well as name of command line utility, which you can use to control your phone. Gammu command line utility provides access to wide range of phone features, however support level differs from phone to phone and you might want to check Gammu Phone Database for user experiences with various phones. To name a few, Nokia, Samsung, Apple, Siemens, Motorola, LG,

How to run IE only sites from Linux

Sounds stupid ? Why would you want to run IE from Linux ? Why not use Firefox or Chrome ?But that is not always the scenario.Reason no 1 : Web designers who use Linux need to test their site on IE . Do not forget IE still commands majority of browser market 59.95%. Can you afford to ignore IE . Obviously not !Reason no 2 : Organizations who have created IE only applications 7-10 years back and

Install Android OS on your PC with VirtualBox

Google's Android is an operating system and software stack for mobile devices. Under the hood, it uses a customized version of the Linux kernel. Android is currently the fastest growing mobile operating system and is generating quite the buzz. If you are curious about it, you can give it a try without having to buy an Android smartphone. Let me tell how to do it. (You can also check our

Simple Mapping of WndProc to your Specific Class' WndProc

This is my first article, so please excuse any newbie-ness you might find.I have been reading many articles on message mapping from the WndProc function to your own message handlers, and all articles required something either complex or just plain stupid. So, I went about finding a way to implement this in a very easy manner and with as little code as possible. What I came up with satisfies me

InstallShield in the wrong language

I've been putting up with automatic installers installing programs in Japanese, Korean, etc when I really didn't want it to for a few years now. It really seems like it happens every time I install a program which has an InstallShield installer. I like to imagine the world ten or fifteen years ago in some early version of InstallShield was something like this.[Jim, the manager] Hey Dave (the Dev)

Ref Keyword for Reference Types

The Ref keyword is well known. It indicates that you are passing a reference, not a value, to a method. That means that if the method modifies the value, the changes will be apparent to the calling method as well. Where I see a lot of confusion, however, is what happens when dealing with reference types. It is common to say that methods pass objects by reference, but that's not entirely

python-on-a-chip

Welcome to the Python-on-a-Chip Project!This project's goals are to develop the PyMite virtual machine, device drivers, high-level libraries and other tools to run a significant subset of the Python language on microcontrollers without an OS. Please join the python-on-a-chip google group to discuss this project Read more: Google code Posted via email from .NET Info

Understanding Datetime column

There are N number of questions asked in the forums about handling dates in query Most of the people who ask questions dont understand how datetime column works in SQL Server Some of the questions frequently asked are about 1 using dates in the WHERE caluse 2 formatting dates using SQL 3 inserting dates to the table with specific date format etcIn this series of blog posts, I would explain them

Downloading Youtube Videos C# WinForm

The dll that works with my Downloader is open an opensource download made available through http://videodownloader.codeplex.com/ there is documentation available on the site. I use an http downloader to access the http download link supplied by the dll. I can not remember where this download came from but I believe it was here on codeproject. If you believe it is your project please let me know

Using Named Pipe and self-elevation feature of Vista in a console application

Project DescriptionNPipeWithElevatedProc, make it easier for console application users, running programs with administrator privileges. The processing messages are always shown on the calling console window. The comunication is via named pipe. It is developed in C++, with VisualStudio 2010. Where you can use itSuppose you have to realize a console application, that requires administrator

SharpCrack

SharpCrack is a command line hash cracker written in managed code. It supports parallel computing by the Task Parallel Library.FeaturesAttack modes:Brute-force (coming soon)Wordlist Execution modes: sequential, parallelWord transformations:To lowercaseTo uppercaseAppend prefixAppend postfixSupported hash algorithms: MD5, RIPEMD160, SHA1, SHA256, SHA384, SHA512 Read more: Codeplex Posted

Credit Card Validation Check by Code

private bool CheckIsValidCreditCard(string CreditCard){   bool IsValidCreditCard = false;   int sum = 0;   int MultiplyDigit = 0;   for (int i = 0; i < CreditCard.Length; i++)   {      if (i % 2 == 0)      {         MultiplyDigit = Convert.ToInt32(CreditCard.Substring(i, 1)) * 2;         if (MultiplyDigit > 9)            sum += MultiplyDigit - 9;         else            sum += MultiplyDigit;

Google's New OS Will Offer Remote Desktop Capabilities

Google's upcoming Chrome operating system - a new OS that will, according to the search giant, arrive on netbook computers sometime later this year - is also going to offer a feature Google engineers have dubbed, unofficially, "chromoting." What's chromoting, you ask? It's remotely accessing your PC applications via the browser. Or, in other words, it's a remote desktop app for your new cloud

CLR JIT Bugs Found During IKVM.NET Development

2010-06-04 v2, v4 x86 Crash Access violation while compiling code.2010-04-11 v4 x64 Vulnerability Not yet fixed, so no details.2009-10-28 v4 beta 2 x64 Vulnerability Type safety vulnerability in exception handler code. 2007-07-02 v2 x64 Exception System.InvalidProgramException on verifiable IL.2007-05-11 v2 x64 Incorrect code 0.0 and -0.0 are considered the same by the optimizer.2006-12-06 v2 x86

Sabtu, 12 Juni 2010

Securing Remote Desktop for Windows XP

Remote Desktop, UnsafelyMany people use the Windows XP Professional remote desktop feature to gain easy access to their home PCs. But opening up a connection to an administrator account on your system is very dangerous. Just by opening the port on my firewall I received several logon attempts, from various countries, within a week. Free tools exist that assist hackers with breaking into Windows

Jumat, 11 Juni 2010

DragonFly BSD

DragonFly belongs to the same class of operating system as BSD and Linux and is based on the same UNIX ideals and APIs. DragonFly gives the BSD base an opportunity to grow in an entirely different direction from the one taken in the FreeBSD, NetBSD, and OpenBSD series. The DragonFly project's ultimate goal is to provide native clustering support in the kernel. This involves the creation of a

Terminal Services Gateway (TS Gateway)

Terminal Services Gateway (TS Gateway) is a role service in the Terminal Services server role of Windows Server® 2008 that allows authorized remote users to connect to resources on an internal corporate or private network, from any Internet-connected device. The network resources can be terminal servers, terminal servers running RemoteApp programs, or computers with Remote Desktop enabled. TS

Using Dynamic Languages to Develop Microsoft Silverlight Applications

Learn how to use the Microsoft Visual Basic/C# DLR integration to test a statically-typed application with IronRuby. See how to develop a Silverlight application end-to-end with IronRuby, and how programming with dynamic languages helps improve the dev experience. Read more: .NET Software Development Videos & Tutorial Directory Posted via email from .NET Info

HTIA 2010 וידאו: yoUfounder

איך יודעים שהשותף (Co-Founder) שאתה רוצה לצרף למיזם מתאים לך? השיטה המקובלת היום לבחינת מידת ההתאמה בין שותפים היא להיעזר בשירותי חברות מיון והשמה או יועצים ארגוניים. אך לרוב, יזמים חוסכים ומסתפקים בכישורי המיון שלהם. YouFounder הינו מיזם אינטרנטי העוזר ליזמים בתהליך מיון השותפים ובניית צוות המיזם.   איך זה עובד? היזם ושותפו הפוטנציאלי ממלאים שאלון אינטרנטי הכולל 38 תפיסות יזמיות שהינן למעשה

FBI Investigating iPad E-Mail Leaks

The Federal Bureau of Investigation has opened an investigation into the leak of an estimated 114,000 Apple iPad user e-mail addresses. Hackers belonging to a group called Goatse obtained the e-mail addresses after uncovering a web application on AT&T's website that returned an iPad user's e-mail address when it was sent specially written queries. After writing an automated script to repeatedly

Rabu, 09 Juni 2010

CLR Security

lcome to the CLR security team's Codeplex site. On this site you'll find a set of projects that extend the security APIs shipped with the .NET framework to provide additional functionality. We also have some tools to help in debugging security related problems in your code. The latest rollup package of all of the assemblies on this site can be found here: CLR Security June 2009 ReleaseProject

Using Mono Cecil Decompiler within Windbg to decompile

I have been hacking Mono lately and one of the coolest projects I have seen is the Mono Decompiler. It’s like Reflector but no UI and an API to decompile. Guess what, even reflector is built on top of Mono Cecil.  Most of times when I have to debug I would end up using  !dumpil  sos command to get  the IL  of the method desc.  I am not an IL guru, I am much comfortable reading C# than IL. I could

Sqlite-Csharp and NHibernate

Taking a brief  interlude from my RavenDB series, I was doing some work on an internal project tonight with the build scripts and test-runner and I finally got bored of having to deal with un-managed SQLite dependencies with a project which other than that was platform agnostic. The problem with having un-managed dependencies in a managed project is that Visual Studio quite frankly sucks at it,

USB devices and Hyper-V – remote client yes, host no

At TechEd in New Orleans, Microsoft has announced that the version of Hyper-V in Windows Server 2008 R2 Service Pack 1 – a typical Microsoft mouthful – will include support for generic USB devices. That is, you can remote into a Hyper-V VM, plug in your USB camera, scanner or bar-code reader, and it will be re-directed to the remote desktop. It’s a welcome feature, and removes one of the

Writing to an XML File With Attributes

This prior post demonstrated a very simple technique for writing to an XML file that has a set of elements. This post extends that example showing how to write an XML file that has both elements and  attributes. Here is the XML file created by this example:  Baggins  Bilbo  

‘Hidden’ ETW Stack Trace Feature – Get Stacks All Over the Place!

I’ve heard Mark R. say that “sometimes Microsoft gave me a gift” when coming across an interesting feature not in mainstream documentation.  How true that often the odd find can prove ultimately very valuable.  Such was the case when I read Bruce Dawson’s Stack Walking in Xperf blog entry. Here’s the excerpt that blew me away:You can also record call stacks for manifest-based ETW (Event Tracing

Windows Live ID Client 1.0 SDK

The Windows Live™ ID Client 1.0 software development kit (SDK) provides a managed API for Windows Live sign-in from within desktop client applications. Included in the release is a sample application together with its source code so that you can build your own client applications. Read more: MS Download Posted via email from jasper22's posterous

Building an InfoSec lab, on the cheap

So, you want to experiment with the latest pen-testing tools, or see how new exploits effect a system? Obviously you don't want to do these sorts of tests on your production network or systems, so a security lab is just the thing you need. This article will be my advice on how to build a lab for testing security software and vulnerabilities, while keeping it separate from the production network.

Selasa, 08 Juni 2010

Office is now live on SkyDrive!

Over the last few months, we've gotten incredible feedback from the hundreds of thousands of users in our Office Web Apps Technical Preview.  We’ve been busy incorporating much of that feedback, and today, Office Web Apps on SkyDrive are now available to everyone in the US, UK, Canada, and Ireland. We’ll have more to share next week when Office 2010 is released to consumers, including how Office

Apple Announces iPhone 4

In a keynote presentation today at WWDC, Steve Jobs officially unveiled the iPhone 4. It's powered by an A4 chip, has a glass front and back, and has stainless steel around the edges, which turns out to be part of the antenna system. The new iPhone uses what Jobs called a "Retina display," running at 960x640, or 326 ppi. The battery is also bigger, with a corresponding increase in battery life.

Microsoft Desktop Player is a Valuable Tool for IT Pro’s

If you are an IT Professional, a new education tool introduced by Microsoft is the MS Desktop Player. Today we take a look at what it has to offer, from Webcasts, White Papers, Training Videos, and more. Microsoft Desktop PlayerYou can run the player from the website (shown here) or download the application for use on your local machine (link below). It allows you to easily access MS training and

Quick tips: Kernel Dumps, Blue Screens and !Analyze -v

This time I’m going to address something that most times is somewhat straight forward to analyze yet many people I deal with don´t know how to proceed when a blue screen appears. In this blog post I assume the server is already configured to generate kernel dumps or mini dumps. (this is something I always advice. Configure your servers to generate memory dumps if something goes wrong) Usually I

Managing Index Fragmentation and Compression

For today, I recycle bits from a couple of excellent authors in the SQL community.  The first script is for optimizing compression.  I “borrowed” this from Paul Nielson, author of the SQL Bible.  You can visit his SQL Server bible site at http://www.sqlserverbible.com/.   It includes a link for sample scripts, which is where I pulled this from.  I’m also including a script for defragmenting

Eloquera Database 2.7.0 is released (native .NET object database)

Eloquera ( www.eloquera.com ) originally designed and developed for use in the Web environment and it’s designed as native .NET application in C#.Eloquera wasn’t ported from Java as many other databases.Eloquera natively as part of architecture supports: Save the data with a single line of code// Create the object we would like to work with. Movie movie = new Movie() {    Location = "Sydney",

Visual Studio [Ultimate] 2010 Visualization & Modeling Feature Pack RTM now available on MSDN Subscribers Download

Feature Packs are like Power Tools in that they are being released “out of cycle” from Visual Studio, but different in that they are “official” and supported. If you can remember back when, think “NT4 Option Pack”. Per Jason Zander, “Feature Packs are a new concept we are introducing with VS2010.  Like Power Tools these releases are designed to run on top of the existing core bits (no

DirectX Software Development Kit (June 2010)

Download the complete DirectX SDK, which contains the DirectX Runtime and all DirectX software required to create DirectX compliant applications.Read more: MS Download Posted via email from jasper22's posterous

Open source Visual Studio plugins

Here is the list of open-source Visual Studio pluginsAnkhsvn AnkhSVN is a Subversion Source Control Provider for Microsoft Visual Studio 2005, 2008 and 2010. AnkhSVN provides source code management support to all project types supported by Visual Studio and allows you to perform the most common version control operations directly from inside the Microsoft Visual Studio IDE. PhatStudioPhatStudio

SQL Server lifecycle and the compatibility level settings

I've had several people ask how the compatibility mode/level fits in with the SQL Server lifecycle. For example, the question might be: once we no longer support SQL Server 2000, does that mean we don't support databases restored/attached to later versions of SQL and still set to 80 compatibility mode for example? The answer is that each version of SQL Server has a set of compatibility levels it

Debugging .NET 2.0 Assembly from unmanaged Code in VS2010?

I’ve run into a serious snag trying to debug a .NET 2.0 assembly that is called from unmanaged code in Visual Studio 2010. I maintain a host of components that using COM interop and custom .NET runtime hosting and ever since installing Visual Studio 2010 I’ve been utterly blocked by VS 2010’s inability to apparently debug .NET 2.0 assemblies when launching through unmanaged code. Here’s what I’m

My favorite Expression 4 features

Today at Internet Week in New York, we launched Expression Studio 4.Expression 4 is a suite of professional design tools for building immersive user experiences for the desktop, mobile devices and the web.   There are a lot of new enhancements and exciting features in this release.  Here are some of my favorite features of Expression 4.1. Publishing SketchFlow Prototypes to SharePointPublishing

Microsoft Launches Expression Studio 4

Microsoft today at the Internet Week Conference in New York City announced the official release of Microsoft Expression Studio 4, the latest version of the company's Web design and rich user interface (UI) development tool. Targeted at digital designers and at Visual Studio developers designing rich application UIs, Expression Studio 4 adds more robust visual tools that eliminate the need to work

Out of memory errors with the Windows Media Format SDK

Over the last few years I’ve worked with a number of engineers that have reported out of memory errors when encoding high definition (HD) video using the Windows Media Format SDK. This issue typically only occurs on 32 bit systems. As we know on a 32 bit Windows OS the maximum memory that your application can allocate is 2 GB. If we try to allocate more than this we get an out of memory error.

RIA Services Samples Project on CodePlex

This is a brief post to share a CodePlex project I have set up, called RIA Services Essentials. It will host various samples and extensions I've shared out in the past on the blog and at various presentations. The initial sample I've published is my Book Club app, as a reference application of sorts. I wrote the application at MIX10, and since then it has appeared in various other presentations.

Microsoft, Novell Develop Cross-Platform HPC Widgetry

The unholy alliance of Microsoft and Novell says it's got some HPC supercomputing cross-platform widgetry developed in their joint Interoperability Lab in Massachusetts that's good for customers deploying server workload management across SUSE Linux Enterprise Server and Windows HPC Server. It should tickle their infrastructure efficiency and cost savings by simplifying systems management through

Senin, 07 Juni 2010

Apple's HTML5 and Standards Gallery Not Standard

Apple has created an HTML5 Showcase that presents its vision for the next generation of the WWW. The fact that this page is only accessible using the Safari browser, while Apple advocates about web standards, has caused many to criticize the company's lack of broader platform support. The showcase demonstrates several HTML5 capabilities and features that have to do with video, typography,

Watch your CREATE CERTIFICATE *_DATE clauses syntax order!

I just noticed that given the way SQL Server parser parses the CREATE CERTIFICATE statement, the order in which you specify START_DATE & EXPIRY_DATE clauses really matters.If you specify the EXPIRY_DATE clause first, whatever value you specify is set as the expiry date attached to the certificate, but if a START_DATE clause is encountered afterwards then the start date is set to whatever value

BCryptTool

Developer tool that calculates BCrypt hash codes for strings. BCrypt is an implementation of the Blowfish cipher and a computationally-expensive hash function recommended for password hashing.Getting Started The reason for writing this WPF application was just to simply calculate the BCrypt hash code for a given string (e.g. a password).The application itself is pretty much straightforward (as

GINI

What is GINI?GINI (GINI is not Internet) is a toolkit for creating virtual micro Internets for teaching and learning computer networks. It provides an easy to use graphical user interface (GUI) called gBuilder for creating network instances. Using gBuilder, the user can create small to moderate sized networks. Once the network is built, parameters such as subnet addresses are assigned by the user

GNS3

What is GNS3 ? GNS3 is a graphical network simulator that allows simulation of complex networks.To allow complete simulations, GNS3 is strongly linked with :Dynamips, the core program that allows Cisco IOS emulation. Dynagen, a text-based front-end for Dynamips.Qemu, a generic and open source machine emulator and virtualizer.GNS3 is an excellent complementary tool to real labs for network

OMNESTTM - The R&D Simulator

OMNEST is used by researchers and R&D engineers worldwide to investigate various scenarios and design alternatives: architectural designs, wireless and wired protocols and networks, queueing-based and other systems. OMNEST lets you build and evaluate simulations in a world-class integrated Simulation IDE, and you can also embed simulations in your own software products. OMNEST is the commercial

Netkit

Understanding computer networks without performing practical experiments is really difficult, not to say it is almost impossible. Unfortunately, setting up a networking lab can be very expensive.Netkit has been conceived as an environment for setting up and performing networking experiments at low cost and with little effort. It allows to "create" several virtual network devices (full-fledged

Google Labs All-Stars: 8 Must-See Projects

Have you checked out Google Labs lately? If not, it's worth a peek. The area, reserved for application and tool prototypes not yet ready for primetime, houses some cool (and crazy) ideas. Past alumni include Google Alerts, the Google Docs suite and Google Reader. Check out these eight Google Labs experiments that we'd like to see go mainstream. Which ones are on your radar? Read more: CIO

RESTful WCF Architecture – Hosting RESTful WCF Services in IIS

Hosting in IIS [managed hosting] offers the following advantages:Process setup and shutdown.Process pooling and recycling.Application restart [recycle] when configuration changed.Enhanced security model. Management tools.Caching management.Proven hosting platform written, debugged by A-team @MS.Officially supported MS product/technology.Hosting WCF in IIS – Quick & DirtyFollowing are quick steps

Aquaria Goes Open Source

A post on the Wolfire blog yesterday announced that the source code for Aquaria has now been released. Aquaria, an action-adventure, underwater sidescroller from Bit Blot, was part of the Humble Indie Bundle, which was so successful that the developers of four games pledged to release them as open source. This marks the final release, following Lugaru, Gish, and Penumbra: Overture. The source

ContainerOne - C# application server

An OSGi like application server completely written in c# (.net 4.0) which enables easy designing of a component oriented architecture - for developers and architects...Please refer to the documentation for further information Read more: Codeplex Posted via email from jasper22's posterous

Common Open Research Emulator (CORE)

The Common Open Research Emulator (CORE) is a tool that allows you to emulate entire networks on one or more machines. You can connect these emulated networks to live networks or to additional emulated networks. CORE consists of a GUI for easily drawing topologies that drives lightweight virtual machines, and various utilities. CORE uses virtualized network stacks in a patched FreeBSD kernel, or

Google Android tutorial

Android tutorial part 1 - Conway's Game of LifeContentDay One - Why build Conway's Game of Life for Google Android?Day Two - Starting to build the applicationDay Three - First run Day Four - Wiring the initial UI togetherThis tutorial has a second part: Android tutorial part 2 - Conway's Game of Life.Day One - Why build Conway's Game of Life for Google Android?Basically, my initial motivation to

Google's Chrome OS To Launch In Fall

On Wednesday Google's vice president of product management said that this fall Google will launch Chrome OS to compete with Microsoft Windows. More than 70 million users already use the Chrome Browser, and Google expects at least 1 million users of the OS by day one of release. Read more: Slashdot Posted via email from jasper22's posterous

Microsoft Visual C++ Static and Dynamic Libraries

This article is intended to be a basic introduction to the Microsoft Visual C++ Static and Dynamic Libraries. This article assumes that you have a basic understanding of the C language and are familiar with the Microsoft Visual C++ IDE. I will show you how to compile and reference dynamic and static libraries so that you can share and distributed your own libraries. You will need to have a

Android Rootkit Is Just a Phone Call Away

Hoping to understand what a new generation of mobile malware could resemble, security researchers will demonstrate a malicious 'rootkit' program they've written for Google's Android phone next month at the Defcon hacking conference in Las Vegas. Once it's installed on the Android phone, the rootkit can be activated via a phone call or SMS message, giving attackers a stealthy and hard-to-detect

Hyper-V for Developers – Part 1 – Internal Networks

Over the last year, we’ve been working with Microsoft to build training and demo content for the next version of Office Communications Server – code-named Microsoft Communications Server “14”. This involved building multi-server demo environments in Hyper-V, getting them running on demo servers which we took to TechEd, PDC, and other training events, and sometimes connecting the demo servers to

Project “Hilo”, A Complete C++ / Windows 7 Sample Application

The C++ team has introduced a new sample series designed to demonstrate building a rich Windows 7 application for working with pictures, from scratch.  Each step will add new features including touch, animation, etc.  You can read more about the sample series and download full source code from the main site. The first version builds a carousel control for displaying pictures and includes

Lord of the Rings Online To Go Free-To-Play

bmf sends word of Turbine's announcement that Lord of the Rings Online will become a free-to-play game this fall. 'The move is another validation of the free-to-play business model, where gamers can play for free and pay real money for virtual goods such as better weapons or decorative gear for their game characters. The business model has been popular in Asia but only recently took off in the US

test

test message - please delete Posted via email from jasper22's posterous

Minggu, 06 Juni 2010

Using FormatMessage

The FormatMessage API call is very powerful, and particularly useful for issuing all kinds of messages. This is not intended to be a full tutorial on using FormatMessage, but simply an example of one of the most effective uses of the the call. There is nothing more offensive than being presented with a message like the one below: This is incomprehensible. The file cannot be opened. Why? For that

15 Great Content Management Systems for Designers

One of the first questions a client will ask you when you are tasked to develop a website is “how can I maintain it myself”.  It used to be a very daunting prospect to build in functionality allowing a novice to update their own website.  Today, the only difficult part is deciding which CMS you want to use.  When it comes to content management systems (CMS) and publishing platforms, there are

FLV Video conversion library for .Net 3.5

This is a component created to call the ffmpeg tool to convert various video formats to the Adobe Flash FLV output format. The component also takes care of server resources usage, by lowering the priority of the process, so the machine can perform as other tasks as possible. Read more: Codeplex Posted via email from jasper22's posterous

6 important uses of Delegates and Events

IntroductionAbstraction problems of methods and functionsHow to declare a delegate?Solving the abstract pointer problem using delegates Multicast delegatesSimple demonstration of multicast delegates Problem with multicast delegates – naked exposureEvents – Encapsulation on delegatesImplementing eventsDifference between delegates and eventsDelegates for Asynchronous method callsSummarizing Use of

Debugging kernel objects using windbg & kd

One of the most common issues I deal with are related to blocking. Some of this are pretty straight forward to identify, Others not that easy, especially if you have a process with many threads. When I have to troubleshoot blocking on WaitHandles (e.g Mutex) I usually find the need to use both user mode and kernel mode debugging to identify the guilty thread. For demonstration purposes I’ve built

Data Url for image in IE8

נראה בפוסט הנוכחי איך אפשר לתת לתמונה את המידע שמתאר את התמונה.בהמשך לפוסטים שלי על IE8 נראה הפעם את האפשרות להציג תמונות כ - Embedded אני לא ממש יודע להגיד למה צריך את זה אבל זה נחמד, שימו לב לקוד הבא, (קצת ארוך - ולכן עשיתי כתב קטן)

Common Service Host

Quick factCommon Service Host is a generic Windows Communication Foundation Service Host and factory that uses the Common Service Locator to enable service object creation with any Dependency Inversion framework, like Unity, Spring.Net or StructureMap. This enables WCF services to utilize the strength of Inversion of Control and Life Time Management by a centralized factory. Why use a Common

Creating and Consuming Resource Dictionaries in WPF and Silverlight

Resource Dictionaries are a powerful feature in WPF and Silverlight that enable developers to organize and consume reusable resources.After completing this walk through you'll understand how to create and merge resource dictionaries in WPF and Silverlight; how to add, consume and modify resources in the dictionary using the tools provided by the WPF and Silverlight Designer in Visual Studio 2010.

A Shallow Dive into the Hilo Browser

In this blog post, I’m going to take a look into the overall design of the first Hilo application, the Hilo Browser, and will take a shallow dive into the integration of Windows features. The following sections will be covered: ·         Overall Application Design·         Shell Integration·         Direct 2D Integration·         Windows Animation IntegrationIn future articles, I will take a

Holy Large Hadron Collider, Batman!

Valentin Kuznetsov just presented a paper at the International Conference on Computational Science on CERN’s use of MongoDB for Large Hadron Collider data. The paper, The CMS Data Aggregation System, is available as a PDF at ScienceDirect. A summary“CMS” stands for Compact Muon Solenoid, a general-purpose particle physics detector built on the Large Hadron Collider. The CMS project posted a few

FTC Cracks Down On Spyware Seller CyberSpy Software

Well this case has taken a while but the FTC won in the end and reached a settlement two years after halting the company from selling it’s “100 per cent undetectable” commercial keylogging application. It’s interesting to see court cases that venture into the grey area of ethics, I think the main problem stemmed from the information CyberSpy provided along with it’s software. They gave

Advanced P2P Networking - Chatrooms

Topic Description:How to correctly use P2P on a more advanced level.Difficulty Level:IntermediateAdvanced P2P - Chatroom Intro:I will start by saying that the following code is not 100% bug free, more about 97% Also I would like to say that the code shows how to correctly create and maintain connections via P2P in vb.net. The code displayed in the article is based on some code by William Moeur,

Serialization vs. Marshaling

Are you somewhat confused between Serialization and Marshaling? This writing would break this confusion up, it would give you a basic understanding of the process of Serialization and the process of Marshaling, and how you can get the most out of each. SerializationSerialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file, a

Quick tips: How to easily identify a thread in a thread object

Hello,It´s been a while since my last post.I´ve decided to start a new topic regarding debugging posts. It´s called quick tips debugging code and here is my first post on the series.Sometimes while debugging an issue I have to related different threads. (E.g: on a thread there is a reference to another thread object). So the question is: how to easily identify a thread in a thread object ? Below

RESX translator with Bing

This project is a .net Windows Form that allows automatic translation of RESX files using Bing's translation web services.This is a good example of how to use Bing web services and how to work with RESX files. Requires the .net framework v4.0.Read more: Codeplex Posted via email from jasper22's posterous

Getting Started with Extending Visual Studio

Learn how to customize and extend Visual Studio to automate tasks or add features.Introduction to Automation and IDE ExtensibilityLearn how to programmatically automate repetitive tasks, extend Visual Studio with tools such as add-ins and wizards, and create packages and Visual Studio applications using the Visual Studio SDK. Introduction to Automation and IDE ExtensibilityVSPackages and

Accessing Excel files on a x64 machine

In the old times while all the CPUs were 32bit, we were happily using JET OLEDB Provider reaching Excel or MDB files for long time without any issues.After we started using x64 CPUs and x64 Windows machines, we noticed that JET OLEDB Provider is not working. The reason for this was x64 Windows operating systems were not containing x64 bit JET OLEDB Provider but they had 32bit JET OLEDB Provider.

Bing's Best 3 is Here

Happy Birthday Bing! The web search service is one year old as of June 2nd and instead of getting presents, they’re giving us one: a brand-new theme pack filled with the best photos from the homepage. Like the two prior “Bing’s Best” themes (available here), this updated wallpaper pack is designed especially for Windows 7 computers as it utilizes the OS’s new “themes” feature that automatically

The Ultimate HTML5 Toolbox: 60+ Articles, Tutorials, Resources and Inspiring Showcases

HTML5 is the exciting and long-awaited upgrade to HTML, featuring semantic tags, advanced functionality, and forming a powerful combination with CSS3.  Most developers have heard about HTML5, and are pretty excited to start using it, but as with any new technology, there is a learning curve.  Since it’s a relatively new development, there aren’t quite the plethora of tutorials and articles as

Build .NET projects from Windows Explorer using MSBuild Launch Pad (mPad)

In September 2009 I posted about a tool I am using to build my MSBuild projects from the shell “Build your .NET project with a right click in Windows Explorer”Last week I changed to MSBuild Launch Pad (mPad) which also add a context menu when you right click your project or solution files. The added value for me is that it maintained project, 1.0 was released on May 21, 2010 with following

MOSDAL-D Support Toolkit for Dedicated Customers

The MOSDAL-D support toolkit performs network diagnostics and collects system configuration, network configuration, and logging information for service-based services. The logs that the tool generates provide data that helps technical support professionals troubleshoot configuration, network, installation, and other service-related issues. MOSDAL-D collects log files, registry keys, and

Christoc's DotNetNuke C# Module Development Template

A quick and easy to use C# Module development template for DotNetNuke 5, Visual Studio 2008.Before using this template, you should configure your development environment. We've got a blog post about how to do that Then read this latest blog post about customizing and using this custom template.Installation is simple To use this template place the ZIP (not extracted) file in yourMy Documents\

How to create an administrative install point for the .NET Framework 4

I previously wrote a blog post listing the silent install, repair and uninstall command line parameters for the .NET Framework 4.  Since then, I’ve gotten questions from a few folks who are trying to deploy the .NET Framework 4 in ways that require them to run the MSIs directly instead of using the setup executable (for example, via Group Policy or WMI).  Here are some steps you can use to

Rich Task List

Rich Task List is a tutorial project for DotNetNuke Module Development.This is a preliminary release for a tutorial for DotNetNuke module development.**Delete the following note before publishing ** This project is currently in setup mode and only available to project coordinators and developers. Once you have finished setting up your project you can publish it to make it available to all

Nugget

A web socket server implemented in c#.The goal of the projects is to create an easy way to start using HTML5 web sockets in .NET web applications.The project started as an article at The Code Project: http://www.codeproject.com/KB/webservices/c_sharp_web_socket_server.aspx. It has been moved here to make it easier for others to contribute to the code and get the project going.The project is

Welcome to the Works with Tool for Windows Server 2008 R2

Works with Tool v3.5OverviewPrepare Test EnvironmentTest Your ApplicationCreate Submission PackagePrepare a Submission Package to Send to MicrosoftInterpreting Logs from the Works with Report OverviewYou will use the Works with Tool to:Test your application and earn the Works with Windows Server 2008 R2 LogoTest internal line-of-business and mission-critical applications for compatibility Test

Connecting database using Spring JdbcTemplate

Another salient feature of Spring is to connect and work with database at great ease which is what I am going to demonstrate.This article is the basic to load and configure beans to interact with DB and aims to help people who are trying to user the spring ‘JdbcTemplate’ for the first time. Configurations:1) Download Spring 3.0.zip from www.springframework.org and extract it.2) Create a normal

Sabtu, 05 Juni 2010

Debugging Multi-threaded Applications: Some Tidbits

I was lamenting that we haven't really done terribly much to make multi-threaded debugging easier in say the last decade and I was fortunate enough to be able to have a conversation with Brain Crawford about it.   Brian is a long-time friend an colleague, we worked on the VC++ debugger years ago, he's the lead architect for all things debugger these days.  Anyway, he gave me this succinct

MonoTools 2 Beta for Visual Studio 2010 Released

The first beta of MonoTools 2 for Visual Studio is released which now plugs into both Visual Studio 2010 and Visual Studio 2008.Other significant new features includes1. Soft Debugger2. Faster Transfers 3. Support for Visual Studio 20104. AppliancesYou can download the betas here : http://mono-project.com/Release_Notes_MonoTools_2.0#Links Note: The Express editions of Visual Studio cannot run

HTML DOM Using .Net

Today the software development landscape has evolved significantly with the proliferation of Web technologies. Thus a majority of applications developed have some form of connectivity or integration with another application, web service, web application, remote database, etc. This article will therefore try to touch one specific area, which is HTML content and DOM. And in doing so will

Delphi Prism

Delphi Prism™ provides a cross-platform development solution and robust programming language for rapidly developing .NET, Mono, ASP.NET, and data-driven applications for Windows, Linux, and Mac OS X. Delphi Prism combines easy-to-learn syntax based on the Delphi language with features not available in other .NET programming languages, enabling developers to create cutting-edge applications. With

OAG Library (OpenGL) Part 1 - Setuping the library for an application MFC

This library has been written for creating OpenGL based applications. In this tutorial we will setup the library.About the library  The library works with plugins and you can save the objetcs in xml format,in this tutorial we have some classes to work with Geometry 2D. The library will have plugins to work with textures and a plugin to open xml files, but it will be available in other tutorial.

Community Forums NNTP bridge

Community project for accessing the MS Web-Forums via an open source NNTP newsserver (bridge).Current featuresReplaces the MS NNTP Bridge(s) completelyUnifies the access to scocial and answers forms to a single NNTP server (no two servers needed!) Autologin and AutominimizeAuto login for LiveId, so no need to accept any LiveId dialogLive display of trace messagesDisplays your email address, if

A hotfix is available that improves the performance of CLR when a .NET Framework 3.5 SP1-based application runs in a virtualized environment

IntroductionA hotfix is available that improves the performance of common language runtime (CLR) when a .NET Framework 3.5 Service Pack 1 (SP1)-based application runs in a virtualized environment. This hotfix reduces high CPU utilization of the hypervisor in a virtualized environment. For example, the hypervisor overhead is reduced by about 5% in Windows Azure after you apply this hotfix.
Postingan Lebih Baru Postingan Lama Beranda