Thursday, December 3, 2009

Facebook SDK

http://msdn.microsoft.com/en-us/windows/ee388574.aspxhttp://fishbowl.codeplex....

Thursday, November 19, 2009

Injection in Unity

Ниже показаны типы Injection в Unity.Unity выполняет регистрацию соответствия типов и экземпляров объектов.Кроме этого, он может самостоятельно выполнять создание этих объектов по запросу.Unity основан на ObjectBuilder, более простом и, на данный момент, устаревшем контейнере.Injection может быть трех типов:Construction injectionProperty injectionMethod call injectionсм. рис. ниже.Constructor injection. This type of injection occurs automatically....

Monday, November 16, 2009

Интересные статьи

N-gram and Fast Pattern Extraction AlgorithmИспользование измененного LZW алгоритма,построение N- грамматик для извлечения шаблонов текста из текста.Символьное дифференцированиеNeural Networks on C#Designing And Implementing A Neural Network Library For Handwriting Detection, Image Analysis e...

Friday, November 13, 2009

MVP и Unity

Источник: http://gandjustas.blogspot.com/2009/06/mvp-unity.htmlMVP – Model View Presenter – паттерн организации PL (presentation layer – уровень представления). MVP применяется при создании десктопных интерфейсов. Выделяют три комопнента: есть модель – группа классов, которые отдают данные или получают команды, представление – форма обладающая состоянием и некоторым поведением. Презентер создают для отделения бизнес-логики от деталей GUI-фреймворка. В отличие от MVC в MVP представление определяет презентер, а не наоборот. MVP обычно строится...

Wednesday, November 4, 2009

Prism, Composite Application Guidance, CompositeWPF: общие положения

Общие положения и материал для освоения:Скачать:ссылкаComposite Application Guidance for WPF and SilverlightWPF Contrib (extensions and more samples for Prism)Project White (automated UI testing framework for WinForms, WPF, etc.)Документы и исходники:compositewpf.codeplex.comunity.codeplex.comwww.codeplex.com/unitycompositewpfcontrib.codeplex.com/wikipage?title=WPFQuickstartRegeneratedWithCALБлог:http://weblogs.asp.net/bsimser/archive/tags/WPF/default.aspxСкринкасты:channel9.msdn.com/posts/akMSFT/What-is-Prism-v2www.pnpguidance.net/Post/PrismWebcastsScreencastsCreateApplicationUsingPrism.aspxБлог,...

Monday, November 2, 2009

Unity Application Block

//TODO: У этого же пользователя есть интересные доклады на тему криптографии. Посмотреть.Источник: http://spbalt.nethttp://logic.pdmi.ras.ru/~infclub/?q=courses//MVP + Unity - хороший пример использования, да и сам блог содержит много полезной информации.http://gandjustas.blogspot.com/2009/06/mvp-unity.h...

Sunday, November 1, 2009

Aspect oriented programming

Нашел неплохие обучающие ресурсы по Aspect Oriented программированию.http://www.codeproject.com/KB/cs/ps-custom-attributes-1.aspxhttp://www.codeproject.com/KB/cs/ps-custom-attributes-2.aspxhabrahabr.ru/blogs/net/62232http://www.postsharp....

Friday, October 30, 2009

Автономная навигация

Авторы: Boston Dynamicshttp://www.csail.mit.eduhttp://e-stepan0v.livejournal.com/4245.htmlhttp://e-stepan0v.livejournal.com/17120.h...

Tuesday, October 27, 2009

WCF Rest services

Сообщение изобилует фоновыми помехами, но все понятно. Доклад понравился.Дополнительные ссылки:WCF + RESTВведение в Windows Communication Foundation - от версии 3 к версии 4Biztalk Services – реализация идеи Microsoft Internet Service BusWCF и распределенные транзакцииHowTo: шифрования трафика в WCF на транспортном уровне (basichttpbinding + S...

Thursday, October 8, 2009

Swarm DPL

Follow up for http://artamonov.ru/tag/map-reduceПосле просмотра один навязчивый вопрос остался нерешенным: каким образом мы получаем производительность, если все вычисления и отсылка данных вместе с алгоритмом выполняются синхронно??? Никак.Мне Swarm напомнил Expressions в .NET, где перед вычислением можно создать дерево выражений, в заданной последовательности, а потом его выполнить. Хотя этот способ в .NET чудовищно многословный. И разбор реальных серьезных вычислений станет просто пыткой. Поэтому и годится он пока что только для построения простых...

Удаленное использование домашнего компа

Zune, LiveMesh, Biztalk, WCFhttp://blogs.msdn.com/livemeshhttp://www.itcommunity.ru/blogs/sergun/archive/2008/11/29/39355.aspxhttp://www.itcommunity.ru/blogs/sergun/archive/category/2608.aspxhttp://blogs.gotdotnet.ru/personal/beerbong/PermaLink.aspx?guid=d0230b59-6109-469e-a7db-54b2224bc...

Tuesday, October 6, 2009

Performance Java vs. C++

Источник:http://kano.net/javabench/datahttp://www.shudo.net/jit/perfhttp://www.idiom.com/%7Ezilla/Computer/javaCbenchmark.htmlНа C# писал алгоритм игры, очень емкий алгоритм, примерно как по второй ссылке - отличается по производительности в несколько раз, не очень сильно, использовал почти в основном, массивы, понятно дело, одни value типы, а если речь идет о больших системах, то в равной степени и C# и Java должны вчистую сливать коду на С...

Thursday, October 1, 2009

Интересно. Про риски, катастрофы и пр.

Структура глобальной катастрофы ...

Wednesday, September 30, 2009

Code Tools

http://xunit.codeplex.comhttp://xunit.codeplex.com/Wiki/View.aspx?title=HowToUsehttp://code.google.com/p/moqhttp://code.google.com/p/moq/wiki/QuickStarthttp://ninject....

Tuesday, September 29, 2009

Краткая памятка по битовым операциям

Setting a bit Use the bitwise OR operator (|) to set a bit. number |= 1 << x; That will set bit x. Clearing a bit Use the bitwise AND operator (&) to clear a bit. number &= ~(1 << x); That will clear bit x. You must invert the bit string with the bitwise NOT operator (~), then AND it. Toggling a bit The XOR operator (^) can be used to toggle a bit. number ^= 1 << x; That will toggle bit x. Checking a bit You didn't ask for this but I might as well add it. To check a bit, AND it with the bit you want to...

VOIP SDK

www.voipdevkit.comVOIP приложение за 10 мин.www.voipdevkit.com/docs/vdk....

How to count bits to save a number

template struct NBits { enum { value = NBits<(n >> 1)>::value + 1 }; }; template<> struct NBits<0> { enum { value = 0 };...

Thursday, September 24, 2009

Singletons in C#

The singleton pattern is one of the best-known patterns in software engineering. Essentially, a singleton is a class which only allows a single instance of itself to be created, and usually gives simple access to that instance. Most commonly, singletons don't allow any parameters to be specified when creating the instance - as otherwise a second request for an instance but with a different parameter could be problematic! (If the same instance should be accessed for all requests with the same parameter, the factory pattern is more appropriate.)...

Wednesday, September 23, 2009

Признаки равенства, сравнения и их отличия

IEquatable:This interface is implemented by types whose values can be equated (for example, the numeric and string classes). A value type or class implements the Equals method to create a type-specific method suitable for determining equality of instances.The IComparable<T> interface defines the CompareTo method, which determines the sort order of instances of the implementing type. The IEquatable<T> interface defines the Equals method, which determines the equality of instances of the implementing type.bool Equals(T other)IComparable:This...

Friday, September 18, 2009

Миф 20/80

Стоимость дискового пространстваwww.littletechshoppe.com/ns1625/winchest.htmlСтатья by Jo...

Thursday, September 17, 2009

Source code reading

www.sdtimes.com/link/33...

Microsoft AJAX CDN

weblogs.asp.net/scottgu/archive/2009/09/15/announcing-the-microsoft-ajax-cdn.a...

Builder

www.finalbuilder.com/finalbuilder.a...

Assigning pointer to pointer in Objective-C

Pointer variable is a variable itself, so it has an address. So &str1 results in the address of the pointer variable, and str1 is an expression that results in whatever the pointer variable is holding - the address of the object it's pointing to. Assume that: the object holding the NSString "one" is at address 0x00000100the object holding the NSString "two" is at address 0x00000200 Then your pointers might look something like this: At initialization: str10xbfffd3c8 +---------------+ | | | 0x00000100 ...

Static variables in Objective-C

// MyClass.h@interface MyClass : NSObject {}+ (NSString*)str;+ (void)setStr:(NSString*)newStr;@end// MyClass.m#import "MyClass.h"static NSString* str;@implementation MyClass+ (NSString*)str { return str;}+ (void)setStr:(NSString*)newStr { if (str != newStr) { [str release]; str = [newStr copy]; }}@endДополнительная ссылка на обсуждение:http://discussions.apple.com/thread.jspa?threadID=1592519Чтобы сделать доступным эту переменную за пределами m файла,следует объявить переменную как extern:http://www.omnigroup.com/mailman/archive/macosx...

Singleton in Objective-C

Mac recommendations to create singlton:static MyGizmoClass *sharedGizmoManager = nil;+ (MyGizmoClass*)sharedManager{@synchronized(self) { if (sharedGizmoManager == nil) { [[self alloc] init]; // assignment not done here }}return sharedGizmoManager;}+ (id)allocWithZone:(NSZone *)zone{@synchronized(self) { if (sharedGizmoManager == nil) { sharedGizmoManager = [super allocWithZone:zone]; return sharedGizmoManager; // assignment and return on first allocation }}return nil; //on subsequent allocation attempts return...

How to Create, Load, and Use Multiple Nib Files

In Mac OS X, application management is a single drag & drop operation: drop the application into /Applications to install, and drop it into the Trash to uninstall. This simplicity and power is just the tip of the iceberg. What we're seeing is just one use of a more general facility Cocoa calls bundles. This article is about Nib files, and how to use them in your applications. Nib files are just specialized bundles, so we'll talk about bundles first. // Bundles A bundle is a directory containing code and resources. Applications,...

Powered by Blogger.