Oskar Gewalli's blog articles

0
comment
on 9/25/2011 12:30 PM
Dispose In order to release unmanaged resources you need to use or implement the dispose method. Unmanaged resource So what is an unmanaged resource? It is simply resources that the CLR does not manage for you. For example: File streams, database connections, P/Invoked api:s. How to implement Dispose? Msdn gives a rather clear answer. You need to implement the IDisposable interface. If you have implemented a finalizer as well then you need to add a call to GC.SuppressFinalize inside the dispose [...]
>> Read the full article
.
0
comment
on 9/22/2011 1:16 PM
I’ve not had a need for any good date library until now. There seems to be one that most commonly used: datejs. The problem with this library is that it extends the native Date object. There is a relatively unknown repository on github (only a few watch and forks).
>> Read the full article
.
0
comment
on 9/19/2011 1:26 PM
I like the look of windows 8. For touch devices it will be sweet. What confounds me is that the start menu is replaced by the “Metro” application launcher. That sounds exceedingly annoying when on standard hardware. Where is the love for an ordinary PC? The reason for the weird usability is that it is intended for touch enabled computers: http://www.youtube.com/watch?v=ntSdfGzF60M&feature=player_embedded#! I’m confused about the talk about the name Windows 8. Is it supposed to be a general windows?
>> Read the full article
.
0
comment
on 9/19/2011 1:21 PM
Sounds interesting to hear about the new WinRT api:s for windows. Reading up on it WinRT are COM objects in contrast to the Win32 architecture. One of the exciting things about this is the promise of being able to use xaml in c++. An overview of WinRT by Marius Bancila:Windows Runtime It’s quite interesting to read the list on Msdn:Windows Runtime and the Windows API Right now it’s probably to early to get a good idea of how everything will look and exactly what features will be accessible for Metro style [...]
>> Read the full article
.
0
comment
on 9/1/2011 6:14 AM
I had some problems with running rake under cygwin. I get the following error while trying to execute rake:C:\Ruby192\bin\ruby.exe: No such file or directory – /cygdrive/c/Ruby192/bin/rake (LoadError) Could it be that the problem is that the first line in rake:#!/usr/bin/env ruby  Will return C:\Ruby192\bin\ruby.exe By being more explicit about what to run you can avoid the problem:rake.bat
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper