티스토리 툴바

몽상의 바다를 건너 망상의 섬에 그리고 망각의 호수로

블로그 이미지
방랑하는 발랄한 그리고 발광하는 인생 -인생의 쓰디쓴 향기에 취해-
by 페잇군
  • 5,923Total hit
  • 0Today hit
  • 0Yesterday hit

오래간만에 C#으로 코딩하려고 폼잡다보니

비스타에서 CodeRush, Refactor가 안된다?!

해결방안은 http://www.west-wind.com/WebLog/posts/6343.aspx

요기에 정리가

Step 1:

Install both tools and first check whether they’re working. On Vista they probably won’t with or without UAC enabled. I run with User Account Protection off but the install still didn’t work. If it doesn’t shut down VS.

 

Step 2:

Add the CodeRush Plugins folder to VS: Tools | Options | Environment | Add-inMacros Security

Add the Plugins folder from here:

c:\program files\ developer express inc\dxcore for visual studio .net\2.0\bin\plugins

Step 3:

Move the .addin file to the User addins folder.

From: c:\Application Data\Microsoft\MSEnvShared\Addins

To:  Documents\Visual Studio 2005\addins


대략 살펴보면
2. VS2005 메뉴에서 "도구/옵션/환경/추가도구 메크로보안"에

c:\program files\ developer express inc\dxcore for visual studio .net\2.0\bin\plugins
추가

3. .addin 파일을 내문서\Visual Studio 2005\addins 디렉토리로 이동.


... 된다.. 이제 열코딩하러..

TRACKBACK 0 AND COMMENT 0
링크 : http://www.codeplex.com/dnAnalytics

dnAnalytics is a numerical library for the .NET Framework licensed under the Microsoft Public Library. The library is written in C# and is available as a fully managed library, or as a native version that uses Intel® Math Kernel Library (MKL). The native version of dnAnalytics provides significantly better performance when working with large sets of data. dnAnalytics is compatible with .NET 2.0 or later, and Mono. The managed version will run on a Windows XP or newer, and any platform that supports Mono. The native version supports 32bit and 64bit versions of Windows XP or newer, and 32bit and 64bit versions of Linux.

0.3 Features
* Optional support for Intel®Math Kernel Library (Microsoft® Windows and Linux)
* Support for sparse matrices and vectors.
* Dense and sparse solvers.
* QR, LU, SVD, and Cholesky decomposition classes.
* Matrix IO classes that read and write matrices form/to Matrix Market and delimited files.
* Complex and “special” math routines.
* Overload mathematical operators to simplify complex expressions.
* Runs under Microsoft® Windows and platform that support Mono.


C# 기반의 BLAS 라이브러리....

BLAS쪽 C#으로 해서 속도문제로 C++에서 열심히 구현했더만...

Managed 라이브러리 버전과 Native 라이브러리 버전을 제공
Native 라이브러리는 Intel® Math Kernel Library (MKL) 사용.

우선 성능이 어찌보면 C++보다 나을듯
아직 안해봤지만 구했으니 C++쪽 C#으로 옮겨서 성능분석부터 해보고
자세히 다루어 보겠다.
TRACKBACK 0 AND COMMENT 0

아래쪽에 설치했던 Synergy가

우분투를 7.10으로 업데이트 하자 한영키및 한자키가 먹통이 되버려 다시금 삽질...

로그를 디버그로 돌린후 열심히 살펴본결과
제 컴은 한/영키 및 한자키는 키다운 메시지만 보내지는데
키다운만 이루어지니 이것이 다음 메시지부터는 반복키로 전송되버리는 사태가 발생
Synergy2 릴리즈 노트상에 언급되었듯이 반복키 무시로 인해 되지 않던....

알흠답게 고치고는 싶었으나
그냥 단순히 돌아가게만 고친...

리눅스의 클라이언트측 소스를 받아 한글 키값을 수정하고
한/영키 및 한자키 처리를 위해 리피트키 무시를 다시 무시하게.. 무식한 방법으로..

/lib/platform/CXWindowKeyState.cpp파일의 fakeKey메소드를 아래와 같이
한글 0x071, 한자 0x072 키를 리피트처리 무시하게 하고 컴파일하니 제대로 된다..


void
CXWindowsKeyState::fakeKey(const Keystroke& keystroke)
{
...
    if ((keystroke.m_data.m_button.m_button != 0x71 &&
         keystroke.m_data.m_button.m_button !=0x6d) &&   // 한글/한자키를 위한 추가

         keystroke.m_data.m_button.m_repeat) {

      int c = keystroke.m_data.m_button.m_button;
      int i = (c >> 3);
      int b = 1 << (c & 7);

      if (m_keyboardState.global_auto_repeat == AutoRepeatModeOff ||
        (m_keyboardState.auto_repeats[i] & b) == 0) {
        LOG((CLOG_DEBUG1 "  discard autorepeat"));
        break;
...


TRACKBACK 0 AND COMMENT 0

보기..

과연 여기에 쓰인 디자인 패턴은 무엇무엇일까요?

오렐리 헤드퍼스트 디자인 패턴책에서 헬로우 월드도 디자인패턴으로 하려는 패턴중독자란

농담을 본듯한데 진짜로 있다니

역시나 사람은 많고도 많은...

TRACKBACK 0 AND COMMENT 1

출처 : http://blog.naver.com/kdh8209/60032842676

C++ 언어에서 캐스트(cast) 연산은 가장 보편적으로 사용되는 연산 입니다. 그러나 이것 만큼 정확한 의미를 모르고 사용되는 연산 또한 없을 것입니다. Visual C++ 가 제공하는 캐스트는 크게 묵시적 캐스트(implicit cast)와 명시적 캐스트(explicit cast) 두 가지로 나눌 수 있습니다. 묵시적 캐스트는 문법적인 키워드가 존재하지 않습니다. 이에 반해 명시적 캐스트는 문법적인 키워드를 가지고 있는데, 여기에는 (), static_cast, const_cast, reinterpret_cast , dynamic_cast 다섯 가지가 있습니다. 이것에 대해 하나 하나 살펴 보겠습니다.

static_cast

more..


reinterpret_cast

more..


const_cast

more..


dynamic_cast

more..

TRACKBACK 0 AND COMMENT 1

ARTICLE CATEGORY

분류 전체보기 (18)
(망상)잡다한생활기 (5)
(몽상)관심있는것 (6)
(망각)잊혀질거 (6)

RECENT TRACKBACK

CALENDAR

«   2012/05   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

ARCHIVE