Subscribe: Master Chief's One Inch Punch .NET
http://yoape.blogspot.com/feeds/posts/default
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
found  inboxfolder messages  koh lanta  koh  lot  mapi  message  messages  new  people  phi phi  phi  session  thailand  time  visual studio 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Master Chief's One Inch Punch .NET

Master Chief's One Inch Punch .NET



A blog on life, Software, Gaming, hard training and bloody noses.



Updated: 2014-10-05T08:00:32.511+01:00

 



Blue Stallion?

2010-03-17T21:29:23.920+01:00



My last entry (ignoring the random Visual Studio entry) was made right after I bought my bicycle (still love it btw). Now I have bought another bike. Not a bicycle, a bike. Big one. It's being delivered here in less than two weeks now, I can hardly wait.


It's a beatuy isn't it?

(image)



Visual Studio templates

2009-10-19T08:44:28.381+01:00

All of a sudden my Visual Studio 2008 started saying that no templates for either project or items were installed. The fix was rather simple, I found it after some googling. Check out
http://forums.asp.net/t/1250064.aspx, or http://blog.laksha.net/2008/09/no-visual-studio-template-information.html
  1. Open up the Visual Studio 2008 Command Prompt
  2. run devenv /installvstemplates
  3. Go get coffee, wait a while and then they are back.
The big question is of course, why did they disapear?



White Stallion

2007-05-29T09:01:01.980+01:00

My latest purchase, and without a doubt my best, is my new bicycle. I found it in Grandpa's store on söder in Stockholm. Fell in love straight away. Had to have it.

(image)
Last few days I have been exploring Stockholm on wheels. I like it, the feeling of freedom as you swoosh past overstyled couples pushing designer-brand strollers on Östermalm, as you charge past palestina-shawl-wearing misfit youth on Söder or as you careen over non-suspecting japanese tourists in Gamla Stan. The heavy-duty black tires comes well to pass here.

See you on the streets of Stockholm...



Old Adidas Ad

2007-04-23T13:14:58.034+01:00

Somehow the song for the old Adidas advert made it's way into my Ipod. It is an awsome song and a cool ad. You can watch it here: http://www.boardsmag.com/screeningroom/commercials/1586/

(image) So right now I'm sitting here debating whether I should try to overcome my natural scepticism for Itunes (which is apparently the only source for the song)...



Mass Effect

2007-04-12T11:28:06.231+01:00

It actually looks really intesting. Generally I don't find that BioWare have made any good games (no, Knights of the Old Republic sucked. I don't care what you think, it sucked. Jade Empire wasn't equally sucky, but still left you a bit disapointed). When I first saw articles about the upcoming Mass Effect I was to say the least sceptical. After having seen this video I must admit that I am a bit interested.(image)



I removed my FeedMap

2007-03-22T16:55:04.556+01:00

So, I removed my FeedMap. I really didn't intend to, but since it was possible to submit a blog using an adress but not possible to update the location without adding a Geo-tag to the rss (which is generated by BlogSpot of course) I really had no choice.

Sucks to have one strategy for submittin a new blog and another for updating. Thats minus -100 User Experience points for FeedMap! Shame on you.



CDO and MAPI vs. C#

2007-03-22T16:16:47.487+01:00

In a wild side-project I have started investigating how to extract appointment information from an Exchange server. To be honest this work is more like archeology (often resulting in dead links to some long forgotten Microsoft or MSDN page) than any other form of... -logy.After having looked at the MAPI implementation on the Windows side (mapi32.dll) I found myself reeeeally reluctant to do Interop against this .dll. Any documentation and/or samples are at best provided for C++ (not really a problem, just boring after having idled around in managed programming the last few years) and MCF (now this is a problem).At first I glanced at the Mapi33 wrapper around Mapi32.dll, the price tag however quickly persuaded me to start looking in another direction. $1000 might seem like a lot of money for a wrapper around one single dll, but I'm sure the guy deserves it, personally I'm not that into this side-project yet.Turns out I don't need that. The CDO (Collaboration Data Objects) provides a wrapper around the MAPI interface and exposes a lot of the objects. A simple interop to CDO.dll I can live with.Only problem now is that we are back in Interop/COM-hell. At first I used the as operator in C# to cast stuff to the right type (since all types are object when you interop). What I did forget was that a new instance is created every time. This did take some while to set straight.So, what I did at first was:// Create session and logonMAPI.Session session = new MAPI.Session();session.Logon(name, password, true, true, this.Handle.ToInt64(), false, String.Format("{0}\n{1}", server, mailbox));// Get the folderMAPI.Folder inboxFolder = session.Inbox as MAPI.Folder;// Enumerate messagesMAPI.Message message = (MAPI.Message)(inboxFolder.Messages as MAPI.Messages).GetFirst(null);while (message != null){ // do stuff with the message message = (MAPI.Message)(inboxFolder.Messages as MAPI.Messages).GetNext();}Do yo see whats wrong here? Cause I didn't at first. Hint, as I said above, a new object is created every time you call get on a property. So, the MAPI.Messages object I get in the GetFirst-line, is not the same as I get in the GetNext-line. In this case it makes no difference, but when we start playing around with the Messagefilter we have a problem. The GetFirst-call creates a forward only pointer in the messages object that is then used by the GetNext-call. By calling the inboxFolder.Messages for every step, we get an infinite loop here (since every call to messages creates a new instance of and that new instance has a pointer that points to the first message in the list)....The code above should be:// Create session and logonMAPI.Session session = new MAPI.Session();session.Logon(name, password, true, true, this.Handle.ToInt64(), false,String.Format("{0}\n{1}", server, mailbox));// Get the folderMAPI.Folder inboxFolder = session.Inbox as MAPI.Folder;// Enumerate messagesMAPI.Messages messages = (MAPI.Messages)inboxFolder.Messages;message = (MAPI.Message)messages.GetFirst(null);while (message != null) { // do stuff with the message message = (MAPI.Message)messages.GetNext();}A subtle but important difference that is.So, the moral of the story is:You get lazy after having played around in Managed space for too long.I still don't like COM.[...]



Hooked on Heroes

2007-03-22T15:40:12.235+01:00

After having watched more than 10 episodes in less than a week I think it is time to be honest about it. I'm hooked on the tv-series Heroes. Good thing is that I have two accomplices (not named here, but you know who you are Stoffe and Tove).

(image)
Anyway, it's actually really good and I do recommend it...



Urville

2007-04-12T09:23:37.782+01:00

I saw a short documentary on autistic people and especially on autistic people with savant characteristics. Most of the documentary featured a man namned Gilles Terhin who had out of his head created the imaginary city Urville. His feeling for details and his obsession with drawing this really produced some amazing pictures and views of his city. I was very impressed with the scenery in his pictures, the sheer amount of detail and the creative vision of this city. Is this a paradox, an autistic person with a vivid imagination? I dunno, but I liked it and could not resist buying his book that contained a lot of (maybe all?) of the drawings of Urville.
(image) By the way, I wrote this post a few months back but didn't publish it then, can't remember why, but I'm doing it now.



I'm a Bongo, Bongo man

2007-02-16T10:34:40.930+01:00

I got a pair of Bongos! Really cool instrument, too bad I suck on playing instruments. But I'm gonna give it a try, really put my back into it so to speak. First of all I need to find someone who can teach me the basic strikes and rythms to work with.
(image) Note: Bongos shown in the picture are not the Bongos presently in my possesion.

I'm a Bongoman!



The Largest LEGO model EVER!

2007-02-12T10:53:53.969+01:00

Measuring 84 cm (33") and consisting of over 5,000 pieces it is, the largest LEGO model ever. I'm sorry about geeking out like this, but I just had to point out this enginering masterpiece. Han Solo couldn't be prouder of this reconstruction of his starship.
(image) Ulitmate Collector's Millenium Falcon



Oblivion Alchemy

2007-02-12T10:42:11.131+01:00

(image) After finding myself spending way too much time on trying to figure out which ingredients I need, how to mix them and so on I decided to take a more rational approach to this. I took the data found on the OblivionWiki and shuffled around in Excel for a bit. The result is an Excel-sheet that allows you to sort, filter and mix potions (without having to do it in the game). I found it reduces the time spent simply scrolling up and down in the ingerdients list.

I have yet not decided how I feel about having the laptop next to me when gaming though, feels just a little bit lit cheating... Not sure how or why, but it does.

As soon as I figure out how to post files here, I will post the Excel-sheet for anyone who wants to to play around with.



Nacho Libre!

2007-02-09T09:17:35.236+01:00

(image) I was not surprised to see that Jared Hess, the director and writer of Napoleon Dynamite, was the director of Nacho Libre as well. The presence of Jack Black in the movie made the entire 'feel' of Nacho Libre slightly less subtle than Napoleon Dynamite, yet I found myself appreciating it a lot. The jokes were slightly more overt, whereas in Napoleon the jokes were not relly jokes, just a play with different characters nerdiness and/or offset personas. However obvious the jokes and set-up in Nacho it is still very funny.
(image) Naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-cho!



Thru The Fire!

2007-06-18T22:04:02.387+01:00

My instructor and friend John Koeshall has finally lifted the curtain to reveal his new organisation and also the website, Thru The Fire.

(image) I expect some very cool stuff to be happening soon.



Wee Planets...

2007-02-08T14:27:17.542+01:00

Found this very interesting photo project while surfing around on flickr:
(image) Wee Planets by the user gadl. Cool and inspiring...



Nintendo DS

2007-02-06T15:03:05.657+01:00

I bought the R4 card for my Nintendo DS in Thailand. So far it has been working like a charm. It holds a small OS capable of displaying pictures, playing music and of course, run NDS ROM files.
(image) After looking around for some nice homebrew software I stumbled upon this site witch held a lot of usefull software for the DS. What I really would like is a chinese flash cards app for the DS. That would be awsome, the combination of the stylus and the ability to take it with you just opens up a whole new world of practice. If I find any, I will post them here.



Thailand, Homecoming

2007-02-06T15:02:13.647+01:00

I really didn't have time to upload too many photos while in Thailand (what with the Thai internet cafes' slower-than-modem-connections. But now I have.

The pictures are those from Koh Lanta, Koh Phi Phi and Ao Nang and are found here:
my picasa webalbum

Enjoy!



Amazing!

2007-02-06T14:59:30.668+01:00

I saw this game trailer and was just totally amazed at the beauty of the graphics. Having just recently been to Thailand I could also relate to the environment witch felt good.

(image) Take a look at Crysis, the next game from CryTek (who created FarCry):
http://www.eurogamer.net/tv_video.php?playlist_id=1955&s=l



Thailand, Part IV, The Liver is Evil, and Needs to be Punished

2007-01-21T12:09:02.526+01:00

This was the slogan on the back of the bar workers' t-shirts. We took it to heart and punished it severely. This aside, one problem that has arisen here is the question of nationality. Whenever asked where we are from it feels sortof embarasing to admit that, yes, we too are from Sweden. What we have to do is figure out another country that we could pretend to be from. With that solution there of course comes the problems with languages and culture. We could always say Russia, but my vocabulary is limited to about Pravda and Perestroyka, and then again, I am not sure if it is a good thing to be a Russian. There are a lot of countries to choose from, but none without its problems (for a while a wanted to go with Germany, but was talked out of it). Suggestions happilly recieved here.



Thailand, part III, Koh Phi Phi

2007-01-20T17:09:18.736+01:00

A lot of people you ask about Phi Phi island say that it has lost its charm, that it is just a huge construction site today and so on (I am of course refering to Phi Phi before vs. after the tsunami). For those people I have only one question: What charm did you see in it before? The spirit is the same, there are a few more swedes (if at all possible), a litle rubbish stashed in a few random places and a some construction going on. That's it. Nothing else has changed. Well, maybe it has become a little bit more expensive. Charm does not go away with a slight adjustment of the amount of baths you pay for your bungalow.

So far Phi Phi is on my (+) list.



Thaland foton

2007-01-20T16:55:17.334+01:00

Check out for my flickr account for a some new pictures. They took forever to upload so saviour them...



Thailand, part II, Koh Lanta

2007-01-20T16:56:04.241+01:00

After 3 days on Koh Lanta I have formed an opinion about the place. It is nice, it is beautiful, it is, however, not uniquely so. The guidebook promises of a place less exploited than other tourist haunts in Thailand was somewhat exagerated. There are, for instance, a whole lot of Swedes here. My guess would be that at the pool at our resort any given day aproximately 75% of the people are Swedish. So much for an unspoiled, not-so-developed place. The only difference between e.g. Ao Nang is that there is no real town here, most people that travel here are couples or families, and most people living here are muslims (someone mentioned 95%). With that being said, it is still a very relaxing place to stay. The tempo here is lower, we have been staying up until about 10 pm every day(simply because there is nothing to do after that) drinking Singha sitting in beach chairs watching the night sky and the ocean.

Tomorrow we are on an speed boat to Koh Phi Phi. Perhaps that will mean an increase in the tempo. Well see...



Thailand, part I, Travel

2007-01-20T16:55:39.175+01:00

(image)
(image)
After about 24 hours of travel we arrived at our first destination in Thailand: Koh Lanta. The 24 hour trip did included:
  • watching a very predictable Kevin Costner movie: The Guardian. Abour every third line was totally predictable and the plot was a collage of standard drama/adventure movie story bits.
  • Running around Bangkoks new airport trying to fuigure out where out luggage is, how we get on our new flight to Krabi and why, why, why Thai Airways can transfer luggage to domestic flight for all other domestic destinations except Krabi?
  • A cell phone loving non english speaking minibus driver. His reply to the question: "how are you" was answered with "2 and half hour" which we took to be the time for us to reach Koh Lanta from Krabi. No more conversation followed, as soon as we got out of the airport he started talking very discreetly in his cell phone.
That's about it. We are now in Koh Lanta. More on this later...



Oblivion Lockpicking

2007-01-08T08:46:24.342+01:00

After picking up playing Oblivion again I realized that what I really never did manage to figure out how to do is the lockpicking mini game. Sure, I understand how it works and that both the visuals and the sounds can be used as cues (here a video of that). I just dont have the patience to sit there listening like some video game obsessed rain man.
So how do we solve this? Statistics. Simply push the tumbler up until ut falls down fast three times in a row. It is now very unlikely that it will fall down fast a fourth time. Not impossible, just unlikely. So this is not a fail-safe method or a perfect strategy. It is just a strategy that lets me play the mini game without thinking.



Pigeon vs. Hawk

2007-01-05T11:14:37.875+01:00

Quite obviously the Pigeon lost in this noble battle against the Hawk. This picture taken with my cell phone clearly shows what happened:

(image)
Below are stated some of the combat-related attributes of the Pigeon and the Hawk:

(image) Pigeon
Air Speed: 55 mph
Weight: 500 g
Wing Span: 800 mm
Main Weapons: Talons (weak)

Can carry diseases and slowly kill its opponent with Avian Flu or any other disease it chooses to carry.


(image) Hawk Air Speed: 65 mph
Weight: 100 g
Wing Span: 200 mm
Main Weapons: Talons (strong), Beak (powerful)

Uses Single Angular Attack (SAA) when attacking its opponent.




From this data randomly collected from the web (I admit, the data seems to be a bit wrong), it is obvious that the Pigeon has some good characteristics, but still the Hawk managed to destroy it. Very goo indeed.