June 16, 2006

Favorite C# compiler error messages

Posted in Tools at 11:56 by Niklas

This is my #1 favorite error message, I don’t know what it means, and there were no accidental ‘?’

The namespace ‘‘ already contains a definition for ‘?’

My second favorite I just got. It’s not equally confusing if yu know what it means, but I didn’t… I didn’t know I had 2 modules and I didn’t know one of them were more transient than the other:

Unable to make a reference to a transient module from a non-transient module.

 

June 15, 2006

Necro Facilty – The Black Paintings

Posted in Music at 15:03 by Niklas

I recently purchased this CD, the first from Necro Facility, released spring 2005. I had both hopes and doubts about it, some doubt after seeing them live one hot summy day in malmø, it’s rarely good for hard electronic bands to perform outside in the sun… Anyway, they appeared to be silly Skinny Puppy wannabe teenagers (turns out they more or less were) then, although it sounded pretty good. Also on the bad side is the band name and the broken homepage. On the other hand they good pretty good reviews and made remixes for Run Level Zero, who are very good, one of swedens finest.

necro.jpgTurns out the album was very likable after all. It sounds very much like Skinny Puppy, but in a good way, the have recreated (as opposed to stealing) the sound and feeling of Skinny Puppy in the good days. And there is nothing wrong with continuing where they left of. The vocals are also clearly in the Ogre tradition, even the distorsions are about the same…

Turns out I listen to it quite alot so I guess that is a good sign.

Rather surprisingly one song also bears obvious influences from the old U96 hit Das Boot

Colorful Visual Studio bug

Posted in Tools at 14:43 by Niklas

I work alot with unit testin in Visual Studio Team Suite. When you create a new test file in your project Visual Studio puts some stuff in the file that you usually want to take away immediatly, like the region with Additional Attributes. But one time I changed my mind and undo’d it back in again… with surprising results:

vsbug.png

P.S. At some future post I will go into how bad I think Visual Studio is for Unit Testing, but no time for that now-

Alternate Data Streams (ADS)

Posted in Tools at 14:20 by Niklas

I first became aware of stream when I was researching windows security. Then I learned that streams can be added to any file and used to hide data. Apparently you can create a new stream on a text file and put some Megabytes of code there without it showing in the explorer.

For example you can do this to put an avi file inside autoexec.bat (assuming you have a DOS prompt in C:\):
type windows\clock.avi > AUTOEXEC.BAT:clock.avi

It still shows up as a 0 byte file afterwards.
And then you can do this to play it:
mplay32 AUTOEXEC.BAT:clock.avi

theclock.png

I’m sure that can be useful to hide malicious code… and there is no way that I know of in windows to find out that you files has ADS (Alternate Data Streams).

I’ve run into 2 tools that can show these streams though:

filealyzer.png

This is FileAlyzer showinf the streams in my autoexec.bat while I was experimenting…

I once actually got a dialog box from windows mentioning streams, I don’t know how or why and I can’t reproduce.

streams1.Png

As a side-note you can se that I played the avi file using Media Player 5.1 that is apparently still in Windows XP, as is Media Player 6.4. Apart from version 10 that I have installed.

As amother side-note, writing about stream made me think of Streams of Time by Mental Destruction. Haven’t listened to them for years.

June 12, 2006

Crap #2

Posted in Uncategorized at 21:02 by Niklas

Experienced this blog’s first spam comment. Death to spam.

Crap #1

Posted in Uncategorized at 21:02 by Niklas

Experienced this year’s first signs of allergy. Nose running in Hellerup.

June 2, 2006

WordPress 2.0.3

Posted in Tools at 19:46 by Niklas

I was very late with upgrading to 2.0.2, I actually did it the day before 2.0.3 was released… But now both updates are in.