Geeks With Blogs
Mark Pearl September 2011 Entries
My WP7 Mango Upgrade – Why uneventful is good and a new warm fuzzy feeling for Microsoft South Africa
It has been several months since I originally got my Omnia 7 phone. You can read about my first impressions of the phone – after actually using the device for a few months I have begun to enjoy it, but a few times I felt that I was missing out on something. My biggest gripe on why I felt the device would not gain traction in the South African market was mainly due to market place problems (being South Africa we could not buy apps). The Upgrade Experience Two days ago when a message on my phone popped ......

Posted On Friday, September 30, 2011 3:07 PM

Sending output from command prompt to text file

 

Something I always knew was possible but never bothered to find out how to do…

If you are in the command window and you want to stream the results of a command to a text file instead of the screen use the > command…

For instance “dir > results.txt” will create a text file with the output of the dir command.

Posted On Tuesday, September 27, 2011 9:02 AM

Setting the path for the “Open Command Path” for VS2010 PowerCommands Extension
I have power commands installed for VS2010 and when I right click on a file I get the “Open Command Prompt” option, however I want to modify the path holder so that I can add additional paths. For instance I want to add the JetBrains dotCover path… If you go to the “C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools” folder and edit the vsvars32.bat file" and add the following under the @rem PATH section… @set "PATH=%ProgramFiles%\JetBra... Then save the file ......

Posted On Tuesday, September 27, 2011 8:21 AM

The Marshmallow Challenge
Today we did the marshmallow challenge. For those that are not familiar with this challenge, it is a fun way to get teams to experience simple lessons in collaboration, innovation and creativity (that’s what their website says) and I would agree with them. So the exercise works as follows… You are given 20 sticks of spaghetti one yard tape one yard string one marshmallow The purpose Build a structure that is as high as possible with the marshmallow at the top within 18 minutes that does not collapse ......

Posted On Thursday, September 22, 2011 8:13 AM

One month into Git
It has been roughly one month since I have started using Git – previous SCM’s were SVN and TFS. One month into using a distributed SCM’s and I am very impressed. A few suggestions to those thinking of migrating or trying it out… Prepare to feel uncomfortable for a while – this goes when changing or trying out anything new – especially when you are comfortable with previous tools, when I moved to Git it felt very foreign at first, especially coming from a Windows paradigm where you are used to everything ......

Posted On Saturday, September 17, 2011 9:14 AM

Some Basic Bash Commands I found useful for Git Bash
The world of Bash is new to me so for those going through the same experience I thought I would list a few things to save time. Some of these are specific to me, while others may have general use. Useful Commands Open root folder - This opens up windows explorer at the root location. explorer . Create a folder mkdir foldername Get a directory listing ls Execute a script without specifying the .sh file extension Once you have written your script files it can get annoying to have to keep specifying ......

Posted On Tuesday, September 13, 2011 9:03 AM

Commenting code is an anti-pattern
I have just gotten involved in a project that has been around for a while but developed with a different methodology to the one I am used to. One of the first things I noticed is that there were very little comments if any in the project. When bringing this up with one of the other developers on the team he defended the position of having no comments because as a team they felt that comments were an anti pattern. The motivation was as follows… Motivation 1) We name our methods and parameters so that ......

Posted On Monday, September 12, 2011 11:44 AM

Casing when coding
One of the first developer jobs I had was programming in VB6 for a small business down the road. Up to that point I had been casually coding at school but this was my first exposure to “professional” development. To get the job I had to do a weeks worth of work and then get it reviewed by the boss. I thought I did a pretty good job until I got his review back and he criticized everything – in particular he ripped apart my naming conventions (or lack of them). In memory of this event I thought I would ......

Posted On Wednesday, September 7, 2011 6:25 PM

Red Gate Ants Memory Profiler 7.1 – Initial thoughts and getting started
I was really excited when I heard Red Gate wanted a review of their memory profiler done. I have been a fan of Red Gate products for years… being first exposed to their products via reflector a few years ago – as someone who has never done memory profiling before, I was also excited to go a bit deeper into .Net memory management. Why Memory Profiler – Isn’t the point of .Net that it manages the memory for you? Before getting into the nuts and bolts of the profiler, you might ask yourself – why use ......

Posted On Saturday, September 3, 2011 1:20 PM

Copyright © MarkPearl | Powered by: GeeksWithBlogs.net | Join free