Finally done with my new homepage

During the last 3 years, I've taken some "lessons" and now I have an "Academy Profession (AP) degree in Information & Communication Technology. My final project was about the proces from getting an idea to implement it.

And the result is now ready and all Danes can start to use the homepage http://brugtfotoudstyr.dk to trade used photo equipment. It will not be released in other languages than Danish or in other countries than Denmark, sorry about that.

But go take a look and hope you like it :-)

13. June 2012 02:05 by bbc | Comments (0) | Permalink

Danish Special Forces

Today I had the pleasure to be a photographer on this very special photo-shoot. The Danish Special Forces have their 50 years aniversary and did a training mission at the Port of Aalborg.

One mission was to drop-off a sniper in the top of this 147 ft high building crane, by helicopter. I managed to keep calm in the top and took these shots of the sniper :-) Click on each picture for a larger version.

 

 

5. November 2011 21:40 by bbc | Comments (0) | Permalink

My 500px account

I've put a collection of my best (IMO) shots on 500px.com. Hope you like them too?


26. September 2011 20:45 by bbc | Comments (0) | Permalink

Abandoned slaughterhouse and production site

Just went out the other day to shoot at two spots. One is very know in here and the other one is a pretty new spot.

Check out my pictures on flickr: http://www.flickr.com/photos/bbcdk/sets/72157625835394831/

 

6. February 2011 04:23 by bbc | Comments (0) | Permalink

Layout has changed - and facebook

I've changed the way that my blog is listing the entries. All entries are now summaries and you have to click on the entry to read all text.

And then I've added a Facebook "Like" button and a Facebook "Share" button. Use them if you want - or don't :-)

25. January 2011 21:39 by bbc | Comments (0) | Permalink

C# How to hash a password

Sometimes you have to keep things simple. This will show you, how to hash a password (string) using MD5 or SHA-1 in C#.

First of all, put this in your source:

using System.Web.Security;

Next, create a static method that we can use anywhere in our solution:

public static string HashedPassword(string password)
{
   return FormsAuthentication.HashPasswordForStoringInConfigFile(password, "md5");
}

The FormsAuthentication class is the same, as used by the asp.net Login control. Replace md5 with "sha1" if you want a more safer hashing. Sha1 uses a 160-bit hash function which resembles the md5.

All you have to do now, is to use the new method, before saving the password to the database:

UserPassword = HashedPassword(myPasswordField);

UserPassword is the field name in your database and myPasswordField is the field name, containing the password that the user typed, when creating the user.

In your login method, you have to do almost the same. The user is typing a username and password, where the password is typed in clear text. Clear text can't be compared to the password that we've saved in the database, because it was MD5 hashed.

The trick here is to use our static method again:

if (HashedPassword(enteredPassword) == UserPassword)
  // Password was correct
else
  // Password was incorrect

enteredPassword is the field name, containing what ever the user was typing when trying to login. UserPassword is the field name, containg the users password from the database.

Remember

First of all, MD5 hashing is one way only, which means that it's not possible to "De-Hash" it again. Second, MD5 is not the safest way to save passwords in a none-readable way. But sha1 should be useful in most cases, with a salt (some extra text you add to the hashed password).

7. December 2010 21:45 by bbc | Comments (0) | Permalink

Another abandoned trip

This time I catched the deadly "man cold", because our trip to the Danish island Fyn was cold and freezing. But anyway, we went to three different locations and it was fun as always.

First place was an abandoned amusement park that was closed a few years ago. Unfortunately, there was a duck-hunting going on when we were there. It's giving an extra thrill, to walk around in the bushes, knowing that there could be a hunter around the corner.... 

This is a picture from the amusement park. The roof of the bumper-car place

With the hunters in mind, we left the place af an hour and drove to the next place. First of all, we wanted to go and see an old sugar factory, but it didn't look abandoned at all. But next to the factory, we bumped into another place, that used to be som kind of enginge-warehouse / steel inventory. This was a nice place! 

These stairs were high, old and rusty. I didn't reach the top, but the other two guys did

The las place we visited was an abandoned hospital. Very very interesting place and we had to search a few minutes, before find a place to get in. Remeber that we never ruin anything, but use existing holes, open doors, windows, etc. to get in. Most interior had been removed, but it was a spooky and untouched place. 

This was an old lamp from the hospital 

Some of the empty hallways inside the hospital 

A view from one of the rooms

1. November 2010 23:08 by bbc | Comments (0) | Permalink

8-bit trip

I just found my old Commodore 64 from the back of the closet. It's 22 years old and still running.... I've decided to do a 4k demo - just for fun.

To get inspiration before stealing some 8-bit music, I found this youtube masterpiece. ENJOY IT!

29. September 2010 21:09 by bbc | Comments (0) | Permalink

My photomarathon pictures

All pictures from he Danish photomarathon have been published now. You can see my contribution here: http://fotomarathon.dk/gallery/2010/galleri2010_2.php?deltagernr=78

20. September 2010 02:22 by bbc | Comments (0) | Permalink

24 hours has ended

My 2010 photo marathon has ended - 24 hours of finding interesting shots. And it was as tough as I expected and was not a "walk in the park". During the 24 hours I tried to sleep a few times, but with no luck. So 1 hour after deadline, I went to bed and took 3 hours of deep sleep before waking up again, in the middle of sunday afternoon.

But back to the photo marathon. I was much more satisfied with my resulting pictures than last year and guess that one year of photo marathon experience was helping me out this time. I used more time to think about all topics, before running out to look for random shots. On some topics I had to drop all plans and then go looking for random ideas. Actually I drove about 150 kilometers during the 24 hours.... So mabe my topics wasn't planned at all as I think? But one thing was planned and that was to use only primes for all 24 pictures. All my pictures were taken with Nikon 50mm 1.8 and Nikon 105mm macro lenses. They are both doing razor sharp pictures and I don't regret using these.

I can't show you my results yet, because it's not allowed to show them to public until 12th of september. So you have to wait to see my 24 shots. I have examined my pictures again after the photo marathon has ended and of course I'm not satisfied with all pictures, but I guess that I have 7 very good technical shots and 10-12 pictures that I'm very satisfied with. The rest is a result of stress, missing ideas and midnight crises and for sure I'm not the winner this year again, but I could have a few shots that could win one of the individual topic prizes.

And as mentioned earlier, I contributed to this photo marathon with a Windows program that read and copy a contestants pictures and validates them, accordingly to the photo marathon rules. Before the photo marathon started, I was awarded with an honor for contributing with this software and this was a huge surprise! And acutally the program worked - it copied, validated and created web-galleries of more than 6000 pictures without any problems. I haven't heard of any problems anyway Cool Maybe they will show up later? But hope not of course.

2nd of October will be the date of results and I cross my fingers that I can win a prize, but with more than 300 other amazing and good contestants I need to have luck. But lets see about that in October.

31. August 2010 06:49 by bbc | Comments (0) | Permalink

About me

Me? My name is Brian and I was born in 1971. I live in Aalborg / Denmark with my family and has worked with IT since 1991, when I finished my education.

 

What do i do? I work as a .NET programmer and that is the perfect world for  me Cool

 

What about hobbies? I have so many different interests, when I don't go to work. I'm chairman of the board in Aalborg Billiard Club, which is one of the largest billiard clubs in Denmark. And then I do a lot photos and love to go around in abandoned places to find interesting things to shoot with my camera.

 

Why English? I decided to write everything in English, even that I'm not perfect to write the language. I hope you can understand my blog entries anyway and don't kill me for all the spelling mistakes... BTW. Comments are disabled because spammers just can't stop :-(