The New Pricing Model for SQL Azure Explained!

By DimitriC at February 17, 2012 10:08
Filed Under: Cloud, Microsoft, General, SQL Azure

Cihan Biyikoglu (SQL Azure) explains on his blog the new pricing model for SQL Azure and provides us with some useful links such as a price calculator, more pricing details,…

 

The article: The New Pricing Model for SQL Azure Explained!

Log4net for .NET 4.0 & .NET 3.5/4.0 client

By DimitriC at January 19, 2012 08:26
Filed Under: General, log4net, tools & Utilities, Programming

Release 1.2.11 of log4net has these changes (source):

 

General:

 

log4net 1.2.11 is not only a bug fix release, it also adds support for Microsoft® .NET 4.0 as well as the client profiles of .NET 3.5 and .NET 4.0. … The binary distributions no longer contain assemblies built for the Compact Framework 1.0 or the Shared Source CLI - you can build those yourself using the source distribution.

NOTE: The signature of ILoggerFactory.CreateLogger has changed!

 

Some of the bug fixes:

- Visual Studio 2010 .NET 4.0 Application does not copy log4net lib to bin directory

- RemoteFileAppender Tests fail on Windows 7

- log4net doesn't log when running a .Net 4.0 Windows application built in Release mode

- EventLogAppender's ActivateOptions throws SecurityException on Vista/Win2k3 and later when not run as administrator

 

Some of the improvements:

 

- support .NET 2.0 connectionStrings configuration section

- IPAddressConverter improvement for .NET 2 or .NET 3

- Add Cc and Bcc support to SmtpAppender

 

Some new features:

 

- add the ability to roll files based on universal time (UTC).

- Support ASP.Net related PatternConverters to allow items from the HttpContext.Current.Session, Cache, Request, etc. to be captured.

- Build for Compact Framework 2.0

- Added ExceptionEvaluator

- Add TimeEvaluator

- New property ReplyTo address for the SmtpAppender required

- Buildable with VS 2008 and .NET FW 3.5

  • - Support .NET 4.0 including Client Profile

 

 

Previous articles:

 

- Logging: Log4Net Part I

- Logging: Log4Net Part II

- Logging: Log4Net Part III

- Logging: What/When to log?

- Logging: Log4Net Custom AdoNetAdapter and RollingFileAppender with XML

 

Links:

 

- Log4net web site

- Download Log4net

Microsoft at 2012 International Consumer Electronics Show (CES)

By DimitriC at January 17, 2012 10:08
Filed Under: General, Microsoft

See Steve Ballmer’s pre-event keynote, photos and more from this year's Consumer Electronics Show in Las Vegas.

 

All links to presentations, video’s, articles, blogs, photos can be found at the official Microsoft News Center page for CES

BOOK: Putt's Law and the Successful Technocrat: How to Win in the Information Age

By DimitriC at January 10, 2012 09:13
Filed Under: Books, General, Training

Putt's Law and the Successful Technocrat: How to Win in the Information Age

 

As many of you, I too have this huge pile of books somewhere in the house correctly named by Homer J. Simpson as “the to-read-pile”. One of the books that’s been on there quite a while is “Putt's Law and the Successful Technocrat: How to Win in the Information Age” by Archibald Putt (a pseudonym).

 

The books handles the topic on how to be successful in a hierarchy of companies (or departments) whose core business is technology. Sometimes, you read a Dilbert-cartoon and laugh going “it’s funny cause it’s true”. I’ve had that with this book all the time. I’ve read its 170 pages in two days and had to agree for many times with the author’s description of the reality we live in. When it seems that management takes weird decisions, absurd conclusions,… this books explains why they have. I absolutely recommend this book for everyone who is in the technology-business.

 

Interested in the book?

 

United States (in $) / United Kingdom & Europe (in £)

Visual Studio 11 Developer Preview

Found the MSDN newsletter in my mailbox this morning. First topic that caught my eye: Visual Studio 11 Dev Preview! Another one? Indeed!!! So here is some more information on the new kid on the block.

 

What's New in Visual Studio 11 Developer Preview

Visual Studio 11 Developer Preview Training Kit

 

.NET Framework 4.5 Developer Preview

Service Pack Collection for Visual Studio 2010, SQL Server 2008 and Microsoft Office 2007

By DimitriC at December 05, 2011 11:05
Filed Under: General, Microsoft, Visual Studio, tools & Utilities, SQL, Update, Office

Security Development Lifecycle resources

There are a bunch of new SDL resources available on the Microsoft Security Development Lifecycle page. For every step in the software development process (Requirements, Design, Implementation, Verification, Release) there are tools and/or training videos available. For a video giving an overview of the SDL tools, click here.

 

Source

 

Requirements

Templates:

- SDL Process Template for Visual Studio Team System 2008

- MSF-Agile + SDL Process Template for Visual Studio Team System 2010

- MSF-Agile + SDL Process Template for Visual Studio Team System 2008

 

Videos:

 

 

Design

 

SDL Threat Modeling Tool

 

For more information on the treat modeling tool, click here.

 

Implementation

 

FxCop 

 

FxCop analyzes managed code assemblies (code that targets the .NET Framework common language runtime) and reports information about the assemblies, such as possible design, localization, performance, and security improvements. For more information, click here. Watch the video here.

 

Anti-Cross Site Scripting Library

 

This is specifically designed to help mitigate the potential of Cross-Site Scripting (XSS) attacks in web-based applications. Watch the video here.

 

Microsoft Code Analysis Tool .NET

 

CAT.NET is a binary code analysis tool that helps identify common variants of certain prevailing vulnerabilities that can give rise to common attack vectors such as Cross-Site Scripting (XSS), SQL Injection, and XPath Injection. Watch the video here.

 

 

Verification

BinScope Binary Analyzer

 

BinScope Binary Analyzer is a verification tool that analyzes binaries to ensure that they have been built in compliance with the SDL requirements and recommendations. Watch the video here.

 

SDL MiniFuzz File Fuzzer

 

MiniFuzz is a basic testing tool designed to help detect code flaws that may expose security vulnerabilities in file-handling code. Watch the video here.

 

AppVerifier

 

Application Verifier is a runtime verification tool for native code that assists in finding subtle programming errors that can be difficult to identify with normal application testing. For more information, click here.

 

SDL Regex Fuzzer

 

SDL Regex Fuzzer is a verification tool to help test regular expressions for potential denial of service vulnerabilities. Watch the video here.

 

Attack Surface Analyzer Beta

 

Attack Surface Analyzer is a tool that highlights the changes in system state, runtime parameters and securable objects on the Windows operating system.

 

 

Release

The release resources are the same templates and videos as the ones in the Requirements section.

Windows 8: Re-inventing the Start-button

By DimitriC at October 06, 2011 08:56
Filed Under: General, Microsoft, Windows 8, UI & UX

On the Windows 8-team blog there are many posts on how the team worked on this product. They don’t explain how they did it, but they also explain why. One of the topics here is the redesign of the start-menu. Steven Sinofsky talks about the history and evolution of the Start menu and how user feedback has been an important source of information in the development of this part of Windows.

 

- Evolving the start menu

- Designing the start screen

The Job Interview: Technical questions (Pt. V)

By DimitriC at March 28, 2011 19:16
Filed Under: General, Training, tips & tricks

Here’s one that you might run into when being screened for a technical position: the brain teaser. The point here, usually, is not to see if you can solve a riddle. But more to see how your mind works when an unusual problem arises (see it as creative problem solving). I’ll go over some of the types of questions you may encounter and I’ll also give some references for who like this kind of stuff Smile.

 

The Fermi-question

The answers to these kind of questions are based on estimates and a logical thought-process that accompanies these estimates to derive a valid answer. Often you won’t find the correct answer, but the idea is to get very close. Some of the popular Fermi-questions are: “How many piano tuners are there in the world?” or “How many gas stations are there in the United States of America?”. A bad way to answer these questions is to just give a number and be done with it.

 

On wikipedia you can find a good example of this: “How many piano tuners are there in Chicago?

Next to wikipedia, here is another great resource on the subject: Science Olympics. Here you will also find many examples of Fermi-problems. Some neat ones:

 

- How many golf balls will fit in a suitcase?
- How many hairs are there on a human head?
- If your life earnings were doled out to you by the hour, how much is your time worth per hour?
- People crowd into London until all available open space within the city limits is covered with standing people. How many people would there be?

 

More information about Fermi problems in general can be found on Wikipedia.

 

Creative-thinking question

These are actually just weird questions. Again, keep in mind that the purpose of these questions is to see how you approach a problem that is new to you. For instance: “How are m&m’s made?”, “Without looking at specifications, what is the weight of a Boing 747?” “Why are soda cans produced in that shape?” “Why are manhole covers round?”

 

Some of these questions can be about things that you know. If you know how m&m’s are made, just answer. If you just now looked at you soda can and asked yourself “Why is it made like that?”, you might want to do some thinking. The answer can be simple: They are made like that cause that way they stack easy. The answer can also be scientific: The curves in the can make sure that the build up pressure inside the can doesn’t make the can go boom. If it would be a metal cylinder with the same thickness of steel everywhere, the can probably can’t stand the build up of pressure inside the can.

 

Mathematical questions

 

These questions often have a certain way of looking at a problem to find the solution. Typically, with these questions, when someone gives you the answer you go “aaaahhhhh…of course”. A very famous one here is the riddle that John McClane (played by Bruce Willis) and Zeus Carver (Samuel L Jackson) had to solve in Die Hard: With a Vengeance: You have a jug that can contain 5 liters (let’s call it J5) and a jug that can contain 3 liters (J3). Now, you need to get exactly 4 liters  in the 5-liter-jug. Solution (let’s use water, just like in the movie Smile ):

 

- fill J3 with water

- poor J3 into J5

- fill J3 again with water

- fill J5 to the top (now you added 2 liters, so you have 1 liter in J3)

- empty J5

- fill J5 with the 1 liter from J3

- fill J3

- poor J3 into J5

 

And now J5 contains 4 liters of water.

 

Another one: You have 8 billiard balls. They all have exactly the same weight, except for one. You have a weighing scale like this:

 

 

You need to find the billiard ball that has a different weight with the least amount of weighings.

 

Answer: You can find the billiard ball in two weighings.

 

Put three billiard balls on each side of the scale. If the scale balances to a side, you know in which batch of three the crooked ball is. Now you put one ball of this batch on each side of the scale. If it balances to a side you know which ball is crooked, if it doesn’t, the crooked ball is the remaining one. If in the measurement of 3 versus 3 the scale stays in balance, you just need to measure the remaining two.

 

This can also be done with 9 billiard balls, here when the scale balances to one side in the first weighing, the crooked ball is in the last batch of three. And you still have to just weigh two of them to find the crooked billiard ball.

 

 

 

As you can see, there are many examples of these kinds of questions. You can spend a lot of time surfing the web searching for these questions.

 

There are also several books that cover this subject. Often these books also cover other subjects I talked about in these series (algorithms, programming questions,…)

 

- How would you move Mount Fuji?(William Poundstone)

- Programming Interviews Exposed (John Mongan, Noah Suojanen, Eric Giguère)

- Puzzles for programmers and pros (Dennis Shasha)

- Cracking the coding interview (Gayle Laakmann)

 

…and probably many more Smile

Statistics 2010

By DimitriC at January 05, 2011 09:58
Filed Under: Blog, General

First of all, we would like to wish everyone a happy new year! I would like to give a little overview of what has happened to our blog over the past year. There were some spikes in blogging-activity during August, September and Oktober.

 

Visits 2010

 

image

Total visits: 70.519

 

Hits 2010

 

image

 

Total hits: 381.982

Here something happened in August. It’s not reflected in the visits-statistic or bandwidth-statistic, so I assume that we were messing around with the blog-engine (some re-installs, several blog-engines…). It’s obvious that the August-statistic isn’t really representative.

 

Bandwidth

image

 

Total bandwidth: 5.306.524 kb

 

Unique visitors

 

image

 

New visitors

 

image

Return visitors

image

Community Day 2010

By DimitriC at April 09, 2010 09:09
Filed Under: Microsoft, General, Community

The fourth edition of Community Day is here! The day where 14 Belgian user groups collaborate to bring you several Microsoft technology related sessions and talks. This year’s main topics will be Visual Studio 2010, Silverlight 4, SQL Server 2008 R2, SharePoint 2010 and many others. An agenda is yet to be announced.

 

This year, Community Day will be on Thursday 24th of June 2010 in Utopolis, Mechelen, Belgium. Doors will open at 9am.

 

The Community Day web site