I found a overview of international system unit prefixes [1]:

Factor  Name  Symbol  Origin               Derivation 
2^10    kibi  Ki      kilobinary: (2^10)^1 kilo:  (10^3)^1
2^20    mebi  Mi      megabinary: (2^10)^2 mega: (10^3)^2
2^30    gibi  Gi      gigabinary: (2^10)^3 giga:  (10^3)^3
2^40    tebi  Ti      terabinary: (2^10)^4 tera:  (10^3)^4
2^50    pebi  Pi      petabinary: (2^10)^5 peta:  (10^3)^5
2^60    exbi  Ei      exabinary:  (2^10)^6 exa:   (10^3)^6 

Examples and comparisons with SI prefixes
one kibibit   1 Kibit = 2^10 bit = 1024 bit
one kilobit   1 kbit  = 10^3 bit = 1000 bit
one mebibyte  1 MiB   = 2^20 B   = 1 048 576 B
one megabyte  1 MB    = 10^6 B   = 1 000 000 B
one gibibyte  1 GiB   = 2^30 B   = 1 073 741 824 B
one gigabyte  1 GB    = 10^9 B   = 1 000 000 000 B


[1]  http://physics.nist.gov/cuu/Units/binary.html

Posted at Monday, July 25, 2005 11:59:14 PM (W. Europe Daylight Time, UTC+02:00) 
Comments [0] #      | 

Trackbacks explained [1] in a non-technical way...

[1] http://www.movabletype.org/trackback/beginners/

Posted at Monday, July 25, 2005 9:32:18 PM (W. Europe Daylight Time, UTC+02:00) 
Comments [0] #      | 

Two weeks ago, I have seen a short presentation by a group presenting their work using a Office Research Service for Microsoft Office 2003. Willing to do this by my own, there is the Getting Started... article [1] to do so.

The Office Developer Center [2] may also be a good point to start with.

The Step-By-Step Guide [3] to build own shapes in Visio may helpful in anpther project I have planned.

[1] msdn.microsoft.com/office/...
[2] http://msdn.microsoft.com/office/
[3] msdn.microsoft.com/...

Posted at Monday, July 25, 2005 9:47:18 AM (W. Europe Daylight Time, UTC+02:00) 
Comments [0] #      | 
R
Posted in Tools

R [1] is an interactive, programmable and extendable tool for statistical computing and graphics.

[1] http://www.r-project.org/

Posted at Friday, July 22, 2005 6:06:29 PM (W. Europe Daylight Time, UTC+02:00) 
Comments [0] #      | 
Indigo
Posted in .NET

Just to remember: Indigo download page [1] (RC1).
And the corresposnding "Longhorn" Devleoper Center [2] Indigo site.
The WinFX SDK [3] provides a lot more information, check out the sections Indigo and Samples.

After installing the Indigo RC1, I found the Digital Identities icon in my control panel. But does not seem to work, yet.

Arun Gupta has already experienced (more or less painful) how the GettingStarted example [4] works.
The updated WinFX (beta RC1) is available as iso image [5]. 

Because I am pretty sure, I will need this soon, here are some information about removing previous versions [6].

Anyway, using this installing order you finally can create Indigo services:

  • IIS
  • Visual Studio 2005 beta2
  • Indigo and Acalon beta RC1
  • WinFX SDK beta RC1

 

[1] microsoft.com/downloads
[2] http://msdn.microsoft.com/Longhorn/understanding/pillars/Indigo/default.aspx
[3] http://winfx.msdn.microsoft.com/library/
[4] http://weblogs.java.net/blog/arungupta/archive/2005/06/indigo_beta1_rc_1.html
[5] download.microsoft.com
[6] http://lab.msdn.microsoft.com/vs2005/uninstall/

Posted at Monday, July 18, 2005 6:21:46 PM (W. Europe Daylight Time, UTC+02:00) 
Comments [0] #      | 

Ups, I've done it. It's fubar [1] now.

However it's possible to send an error report using the errorreport switch: csc *.cs /errorreport:prompt

Actually I found why the compiler screw up. I use a lot of plattform invokes and because I am lazy I use a constant with the library name.

private const string LIB = "MyNativeDll.dll";

[DllImport(LIB)]
//...

While changing the code, I removed the const modifier by accident, which causes the compiler to fail...

[1] dict.tu-chemnitz.de
[2] msdn.microsoft.com

Posted at Tuesday, July 12, 2005 1:39:10 PM (W. Europe Daylight Time, UTC+02:00) 
Comments [0] #      | 

If you write managed code using P/Invoke, sometimes you have to handle structures returnd by the called methodes. These MSDN articles about marshalling structures [1] and the StructLayoutAttribute class [2] should provide enought information to do so.

[1] msdn.microsoft.com
[2] msdn.microsoft.com

Posted at Tuesday, July 12, 2005 11:18:47 AM (W. Europe Daylight Time, UTC+02:00) 
Comments [0] #      | 

This table took me a few minutes, but will save me hours.

Windows Data Type .NET Data Type
BOOL, BOOLEAN Boolean or Int32
BSTR String
BYTE Byte
CHAR Char
DOUBLE Double
DWORD Int32 or UInt32
FLOAT Single
HANDLE IntPtr, UintPtr or HandleRef
HRESULT Int32 or UInt32
INT Int32
LANGID Int16 or UInt16
LCID Int32 or UInt32
LONG Int32
LPARAM IntPtr, UintPtr or Object
LPCSTR String
LPCTSTR String
LPCWSTR String
LPSTR String or StringBuilder*
LPTSTR String or StringBuilder
LPWSTR String or StringBuilder
LPVOID IntPtr, UintPtr or Object
LRESULT IntPtr
SAFEARRAY .NET array type
SHORT Int16
TCHAR Char
UCHAR SByte
UINT Int32 or UInt32
ULONG Int32 or UInt32
VARIANT Object
VARIANT_BOOL Boolean
WCHAR Char
WORD Int16 or UInt16
WPARAM IntPtr, UintPtr or Object
Posted at Monday, July 11, 2005 11:35:25 PM (W. Europe Daylight Time, UTC+02:00) 
Comments [0] #      | 

I found a blog entry written by the C# Team, about how to to update user interface from a thread that did not create it [1]? This blog about C# questions could be really awesome, but unfortunately the entries are once in a blue moon.

[1] http://blogs.msdn.com/csharpfaq/archive/2004/03/17/91685.aspx
[2] http://blogs.msdn.com/csharpfaq/default.aspx

Posted at Monday, July 11, 2005 8:06:13 PM (W. Europe Daylight Time, UTC+02:00) 
Comments [0] #      | 

It usually takes ages until I find the page with the format strings on MSDN. So here's a short note, not to forget it.

C or c Currency
D or d Decimal
E or e Scientific (exponential)
F or f Fixed-point
G or g General
N or n Number
P or p Percent
R or r Round-trip
X or x Hexadecimal

[1] msdn.microsoft.com

Posted at Saturday, July 09, 2005 11:25:56 AM (W. Europe Daylight Time, UTC+02:00) 
Comments [0] #      | 
Copyright © 1995-2009 by Andreas Heil. aheil is a registered trademark of Andreas Heil. All rights reserved.
The opinions expressed herein are my own personal opinions and do not represent my employers' views in any way. Content and thoughts expressed on these pages and the weblog are subject to be changed. Out of date posts should not be considererd as my current thoughts and opinions.