JLinX – Blog

Weblog von Jan Linxweiler

Zitat des Tages

Filed under: Development,Software Engineering — Jannis at 2:47 pm on Saturday, March 20, 2010

“Engineers are retarded. They are half some kind of brain damaged that allows them not to have social skills so that they can concentrate long enough to write code. But this is a disease… That’s why I had to quit… It just makes you retarding…”- Jim Reekes

Problems running nant on OS X

Filed under: .NET,Apple & Mac OS X,Development — Jannis at 6:23 pm on Saturday, November 14, 2009

In oder to compile Monobjc I had to use nant.
Though I had installed all mono packages I got the following error:

BUILD FAILED

Failed to initialize the ‘Mono 3.5 Profile’ (mono-3.5) target framework.

Function call failed.
Expression: ${not pkg-config::exists(‘mono’)}
^^^^^^^^^^^^^^^^^^^^^^^^^^

‘pkg-config’ failed to start.

I could fix it by adding the path of ‘pkg-config’ to the PATH viariable.
In order to to this add the following line to your .bashrc:
export PATH=$PATH:/Library/Frameworks/Mono.framework/Commands/

The Duct Tape Programmer

Filed under: Development,Software Engineering — Jannis at 10:00 am on Tuesday, October 27, 2009

How to Install boost on OS X

Filed under: Apple & Mac OS X,Development — Jannis at 11:19 pm on Friday, December 12, 2008

Get boost source files from boost.org.

  • cd path/to/boost_1_37_0
  • ./configure
  • sudo make install

Boost libraries and header files will be installed to /usr/local/lib and /usr/local/include.

Cocoa Coding – Cocoa lernen Schritt für Schritt

Filed under: Bücher,Cocoa,Development — Jannis at 11:33 am on Tuesday, November 18, 2008

http://cocoa-coding.de/

Kostenlose deutsche Onlinelektüre zum Erlernen von Cocoa.

 

[tags]: Cocoa, ebook, development[/tags]

Delay Load CUDA Runtime Library DLL

Filed under: Development — Jannis at 6:29 pm on Monday, November 17, 2008

#include < windows.h>
#include <delayimp.h>

int cudaDetect()
{
// Try to load imports from NVIDIA runtime DLL
// If this is not possible then there’s no compatible driver installed
__try
{
if( FAILED( __HrLoadAllImportsForDll( “cudart.dll” ) ) )
  return 0;
}
__except( EXCEPTION_EXECUTE_HANDLER )
{
return 0;
}
return 1;
}

  • Add “/DELAYLOAD:cudart.dll” to linker command line
  • Add Dependency to “delayimp.lib”
[tags]: CUDA, C++, Windows, Development[/tags]

Model View Presenter (MVP) – Tips from trenches (TFT)

Filed under: Development,Patterns,Software Engineering — Jannis at 4:27 pm on Thursday, November 13, 2008
  • Model View Presenter (MVP) – Tips from trenches (TFT) – Working with HttpContext (Part 2)
  • Model View Presenter (MVP) – Tips from trenches (TFT) – Base types(Part 1)
  • Model View Presenter (MVP) – Tips from trenches (TFT) – Announcement
  •  

    [tags]: MVP, Patterns[/tags]

    Inside the Sausage Factory

    Filed under: Development,Patterns,Software Engineering — Jannis at 3:21 pm on Thursday, November 13, 2008

    Inside the Sausage Factory: PART 01 (Preamble)
    Inside the Sausage Factory: PART 02 (Buy vs. Build?)
    Inside the Sausage Factory: PART 03 (_DD)
    Inside the Sausage Factory: PART 04 (Feature Driven Development)
    Inside the Sausage Factory: PART 05 (Ranking Features)
    Inside the Sausage Factory: PART 06 (Data by Design)
    Inside the Sausage Factory: PART 07 (Refining the Data Model)
    Inside the Sausage Factory: PART 08 (Scripting the Database)
    Inside the Sausage Factory: PART 09 (Layers and Foundations)
    Inside the Sausage Factory: PART 10 (Choosing The Vietnam of Computer Science…on purpose!)
    Inside the Sausage Factory: PART 11 (Dynamic Data Transfer Layer)
    Inside the Sausage Factory: PART 12 (UI Mockup)
    Inside the Sausage Factory: PART 13 (Data Access Design)
    Inside the Sausage Factory: PART 14 (One-liners: the power of libraries)
    Inside the Sausage Factory: PART 15 (Strategies for dynamic, ad-hoc run-time queries)
    Inside the Sausage Factory: PART 16 (burn-down rates — reality-check!)
    Inside the Sausage Factory: PART 17 (Approach to testing the DAL)
    Inside the Sausage Factory: PART 18 (Building Data-dependent Unit Tests)
    Inside the Sausage Factory: PART 19 (Coding the Data-dependent Unit Tests)
    Inside the Sausage Factory: PART 20 (Detour to fix NDbUnit Foreign Keys)
    Inside the Sausage Factory: PART 21 (On Model-View-Presenter Patterns)
    Inside the Sausage Factory: PART 22 (Mocking the View)
    Inside the Sausage Factory: PART 23 (Detour…derailed by CIFactory)
    Inside the Sausage Factory: PART 24 (NAnt MbUnit task filter detour)
    Inside the Sausage Factory: PART 25 (Arrested by an FxCop)
    Inside the Sausage Factory: PART 26 (Building The Dumb View)

     

    [tags]: MVP, DTO, Patterns, DAL[/tags]

    Handling Communication Between MVP Triads

    Filed under: Development,Patterns,Software Engineering — Jannis at 11:39 am on Thursday, November 13, 2008

     

    [tags]: MVP, Patterns[/tags]

    Layered Architecture, Dependency Injection, and Dependency Inversion

    Filed under: Development,Patterns — Jannis at 9:38 pm on Sunday, May 25, 2008
    Next Page »