Archive

Author Archive

Meet the Design Team

July 26th, 2008 gorshing No comments

The following link is a video I genuinely enjoyed watching and I felt I would share it as well. It is pertaining to the C# 4.0 Design Team, and I try to watch most of Anders Hejlsberg videos if I am able.

They do not get into an in depth/technical discussion concerning C# 4.0, they touch more on architectural items. They mention a few languages but happen to leave Java out of it. Another thing I thought was interesting is how they have met many times to discuss a feature. This might drag on for multiple meetings (they mention 10 hours), but they end up not implementing it. I felt as thought this was really neat how they put forth a lot of time and thinking into aspects of the language and are not afraid to say no.

Categories: Programming Tags:

Maven Profiles

July 20th, 2008 gorshing No comments

I just wanted to make a quick post relating to Maven profiles. I was trying some new things about with Maven the other day and decided to put these into a profile as to not disturb the normal build process. Upon performing some trial and error tests, I was getting some strange results. I wasted to much time on figuring out what the problem was, but for Maven it expects multiple profiles to be specified such as the following:

mvn -Pprofile1,profile2

I made the mistake of specifying them as multiple -P arguments. Such as the following … this is the wrong way:

mvn -Pprofile1 -Pprofile2

Maven 2.0.8 (I haven’t check on 2.0.9) does not give any indication of an error or warning from what I can tell.

Do not make the same mistake :)

Update – It looks as though Maven 2.0.10 will correct this issue.

Categories: General Tags:

WordPress 2.6

July 15th, 2008 gorshing No comments

I have upgraded to WordPress 2.6 which was recently released. Looks like there are quite a few new bells and whistles to check out.

See the following video from the WordPress team:

Categories: General Tags:

Browsers Supporting EV SSL

June 29th, 2008 gorshing No comments

The latest versions of Firefox, IE, and Opera support EV SSL, but still there is no sign of Safari … and this has been pointed out for quite some time. What in the world is Apple up to?

I have googled twice to be sure I wasn’t missing anything, currently I cannot find anything pointing to an Apple article stating it is being developed or status.

I have mentioned this to other people who seem to care less. My only point is that I enjoy having the choice of four browsers instead of one or two. I am hoping that with the introduction of more stable and safe browsers that friendly competition will ensue, and we the users will win out.

Categories: General Tags:

Comming Up With Topics

June 28th, 2008 gorshing No comments

I always find it extremely difficult to come up with things to blog about. I have the privilege of working with some very intelligent people whom I genuinely enjoy talking with. A lot of times I point out how they should make a post about particular conversation. I have been told on more than one occasion that they are more of a verbal person than a writer. My nature is usually the same but I see that as a weakness of myself and I will be trying to rectify it as there is tremendous value in being able to communicate effectively in the written format as well. I will be using posts made by people I hold in high regard and give my own thoughts and spin on it.

The other thing I plan on doing, and have done in the past, is to blog about a particular tool and how I find it useful. As you may very well tell, I enjoy using vim and from time to time I blog about a certain command. I do know the help files document these items well and that there are probably countless other tutorials on the web, but this is mainly for myself and honing my skills as a blogger.

In doing so, I hope to encourage the few people who read my blog to do the same.

Categories: General Tags:

What Are You Afraid Of?

June 28th, 2008 gorshing No comments

Jeff Atwood has a really good post titled Don’t Go Dark. I myself sometimes get caught up in things like this. With the exception of code reviews (which I really do enjoy), I have a tendency to clam up when posting my code out for public viewing for things such as open source projects.

Just last night I happened to post a python class I had been working on, it was (and is) nowhere close to being complete. But I did feel as though it had value in it and could be used by other people. I had hopes others would pick it up and improve upon it as well. I reflected on why I believe people would behave this way, and my only insight was to how I felt. My biggest hesitation was not being able to clarify any misunderstandings or to justify why I had written it the way I did and my name would be attached to the code as it stood.

I thought back to a blog post I read over a year ago, I can’t for the life of me remember who posted it. But one of the reason why was to give you a chance to defend yourself on how lousy the code might have been. It might be because of a bug or some user requirement, but since the code will always be there, it is best to document it with explanations on why you did things a certain way (or do not do things).

Performing code reviews, I feel, are extremely important in a developers life. If developers are using the agile principle of pair programming then code reviews are taken place on a daily basis. But all too often developers do not implement pair programming. I have witnessed teams, which even though they profess to use agile principles, are quick to cut out pair programming from their software development.

Maybe this should be a code kata, in that a developer should write up a snippet of code and send out for review amongst their peers.

As I was about to ‘publish’ this post, another similar fear hit me. As I put out my thoughts and opinions on this blog, I am sure that I will get something wrong. But I will always have a way to correct it and publish it out again … hey, that sounds awfully familiar to writing code doesn’t it?

Categories: Programming Tags:

CVS Relocate

April 16th, 2008 gorshing 1 comment

Many times I have needed to relocate a Subversion repository. This is relatively easy in Subversion, there is a ‘svn relocate’ command. A stipulation of this command is the new locations repository must match identical to the old repository.

I recently needed to change (relocate) the server name of a CVS repository at a clients site. I found a small example which used a Perl script. I do not really have a problem with this … if I had Perl. The build box is a Linux environment, but my development environment is Windows XP.

I had installed cygwin previously, but choose not to install Perl (shockingly none of the items I installed had Perl has a dependency either). So I used the following in cygwin:

find -path '*/CVS/Root' -exec sed -i 's/oldcvs.example.com/newcvs.example.com/' '{}' \;

I’m sure somebody has a better/faster way, and I would love to see it. But this worked for me quite well.

Categories: Programming Tags:

Upgrade WordPress

April 2nd, 2008 gorshing No comments

I am four days behind, but WordPress 2.5 has been released. I have upgraded my own WordPress installation, now I just need to complete my daughters.

Categories: General Tags:

Burning DVD’s with NEC 3500AG

March 15th, 2008 gorshing No comments

Just recently I bought a computer from a colleague of mine. It has been working like a charm since getting everything set up. And today I am installing Gentoo on another machine. So I downloaded the ISO from Gentoo and was attempting to burn it to a CD.

My first problem was that I didn’t have any CD burning software on my machine. But thanks to some Ubuntu documentation I happened to be looking at it mentioned InfraRecorder (a side note: I am extremely pleased with this software).

But I couldn’t get it to recognize my CD/DVD burner. I wasted almost an hour until it dawned on me. When I installed Windows XP and set up all the accounts, I put everybody as a normal user and not as an Administrator (I am trying out the whole ‘running with least priviledges’ concept). Once I ran InfraRecorder as an Administrator it all worked fine. This is the expected case, but I wonder if there is a group policy or something I can modify so anybody can scan the SCSI/IDE bus.

Something to look into.

Categories: General Tags:

OpenStreamOnFile Does Not Support Unicode?

February 28th, 2008 gorshing No comments

I have been working on converting .msg file to .eml files and I just couldn’t get anything to work correctly. I was wanting to have my small converter project work with Unicode. All the functions returned as though everything worked correctly, the only problem was that nothing was written out to the eml file.

I googled around and found the following post from Google Groups.

I will be watching the documentation for this function as I left snide remark for MSFT feedback.

I will be posting the converter project which I am using. I have written a C++ DLL to access the MAPI items, and then wrote a small wrapper C# DLL to make it easy for managed developers to use in there projects.

Categories: Programming Tags: