Showing posts with label Software. Show all posts
Showing posts with label Software. Show all posts

17 Aug 2010

StackTack

I came across StackTack over the weekend, a great jQuery plugin used to display questions and answers from StackOverflow and the other sites in the Stack trilogy.  It is intended for bloggers and writers who want to post Stack questions in their blogs or articles and have them kept up to date.

I immediately updated my last article on sending GMail via PowerShell to make use of the plugin, but noticed that there was an issue filtering the answers to display a single question that is not the accepted answer.  I have raised an issue against the project on BitBucket; we will wait and see what the response is. 

Regardless of this minor bug, StackApp is a great way to link to the amazing content on the StackOverflow site.  I’m certainly going to keep an eye on the other StackApps that are being built.

21 Jul 2010

Code Reviews

Earlier this week, I had a code review.  It was only my third code review in over 5 years of working as a software developer.  I had to repeatedly nag to before it actually happened.  It says something for the state of software development, and the lip service paid to developing quality software solutions, that is by no means uncommon for developers in Northern Ireland.  Note, in the past 5 years, I have worked for 3 local companies, one an international IT Services company, all of whom pride themselves on delivering quality code.   In my last job, I was never given a code review.  Never.


My view on code reviews, and the less formal pair programming, is that it is a fundamental learning activity for people who make their living cutting code. And I’m not alone in that view.  How can you improve if you don’t know what you are doing wrong?  Code reviews are also the best way to ensure the quality of the code that you write.  Nothing focuses the mind on writing quality code more than the knowledge that you will be held accountable for the code you check in. 

If code reviews aren’t happening regularly, the code quality goes out the window.  And if your company isn’t doing code reviews formally, you need to start doing them informally. My biggest regret from my last job is that I didn’t arrange informal code reviews. 

Code Syntax Highlighter for Code Snippets

After my last blog post (and the first to contain a decent code snippet!), I wasn’t too happy with the way that the code snippet was rendered in the RSS feed:

I am currently using the Insert Code for Windows Live Writer plug-in, which has a decent rating and reasonable reviews.  I decided to check out the other possible code syntax highlighters.

As always, Scott Hanselman has already posted on this topic, and he came out in favour of Syntax Highlighter, a JavaScript library.  It looks great (see here), but there are a number of other options. These include:

  1. BlogTrot Code Window – An online tool to generate HTML for your code snippet.
  2. NeatHighlighter - Similar to BlogTrot.
  3. Google Code Prettify – A JavaScript library that does a similar job to the Syntax Highlighter.  There is a Code Prettify for Windows Live Writer plugin that can be used to automatically surround your code snippets with <pre> tags for use with the Prettify library.  Unfortunately, Google does not host the Prettify library, which would have been a major plus for me
  4. Source Code Formatter – Another code syntax highlighter for Live Writer, similar to the plug-in I am already using.

I have a number of code based posts that will appear over the next few weeks, so I will try out each of the above methods in a separate post, and post again on this topic to give you some feedback and my preferred method of displaying code snippets.  If you have any other methods of code highlighting that you would like me to consider, please get in touch.

2 Jul 2010

The Weekly Links 9

This is the 9th post in an ongoing series of weekly roundups of links useful to developers.

Tools

  • SteakyBeak – Is an advanced logging module for web apps that will log each request to your web server and also provide a easy interface to view these requests. Base on the ever useful NLog logging framework.
  • PowerGUI Visual Studio – Quest have released a version of the PowerGUI IDE for PowerShell that integrates into Visual Studio.  Other options to develop and execute PowerShell scripts in VS include the VS Command Shell, and PowerConsole.
  • TOAD Extension for Visual Studio – Again from Quest, a extension to manage Oracle databases within VS in the same way as SQL Server databases.
  • Enterprise Localization Toolkit – An oldie but a goodie.  A colleague in work (Thanks, Mike!) came across this framework from Microsoft for resource string management via a database.
  • Posterous – the easiest way to blog.  Create a beautiful looking blog with the minimal effort.  I’m seriously considering switching to use it… Watch this space.

Information

Events

You can now check out developer events in Northern Ireland using my calendar.

There are no developer events in the coming week.

25 Jun 2010

The Weekly Links 8

This is the 8th post in an ongoing series of weekly roundups of links useful to developers.  This post is effectively a roundup of links from the past months – apologies for the delay in posting!

Tools

  • ApiChange Is Released! – APIChange is a command line tool that allows you to execute queries on against your compiled .NET code base. The main use of the tool is to determine the impact of each API change, such identifying all users of a specific type.  A useful alternative to the commercial NDepends offering.
  • Chirpy – A Visual Studio 2010 Add-In for handling JavaScript, CSS, and DotLess files. 
  • The Best Visual Studio 2010 Productivity Power Tools, Power Commands and Extensions – Scott Hanselman catalogues his favourite VS2010 extensions.
  • OutlookSpy – A tool to allow developers to explore the Outlook object model.
  • Visual Studio 2010 SharePoint Power Tools – A set of templates and extensions that provides additional functionality to SharePoint developers.
  • FxCop 10.0 – An insane jump in version number for the Microsoft static code analysis tool.
  • Soluto – LifeHacker has an article on this Windows freeware tool that tracks all the applications in your system boot process, and tells you exactly which ones are slowing you down.

Information

Miscellaneous

A few more random links:

Events

You can now check out developer events in Northern Ireland using my calendar.

There are no events in the coming week.

27 May 2010

The Weekly Links 7

This is the 7th post in an ongoing series of weekly roundups of links useful to developers.

Tools

Information

Events

You can now check out developer events in Northern Ireland using my calendar.

Events in the coming week include:

Careers

26 May 2010

Debugging SharePoint in Windows Server 2008 – IISAPP Is Missing!

I’m currently working on a solution that is built in top of SharePoint 2007.  My development VM is built with Windows Server 2008, to mimic the production environment. 

Whilst debugging an issue the other day, I went  to call the iisapp.vbs script on the command line to identify the correct w3wp.exe process to attach Visual Studio to. (See this article for more details on debugging SharePoint solutions.)

I was surprised to see the following error message:

A quick Google established that in IIS 7 the iisapp.vbs is replaced by the following command:

%windir%\system32\inetsrv\appcmd.exe list wp

Some of you may be thinking “If you’re working in SharePoint 2010 with VS2010, you don’t need this, Visual Studio will automatically attach the debugger to the worker process for you!".

Think again. On a SharePoint 2010 training course, I got to try out the automated debugging offered by VS2010, and it is sloooowwwwwwwwwwwwwwwwwww.... As in, hit F5, go get yourself a coffee, and still have time to dunk a few digestives before the debugger responds.  And this was a Hyper-V VM with 6GB RAM dedicated to it.  So, even in VS2010, you are still going to want to attach the debugger manually.

21 May 2010

The Weekly Links 6

This is the 6th post in an ongoing series of weekly roundups of links useful to developers.

Tools

  • Identity Finder – An article on LifeHacker.com describes this very useful tool. 
  • .NET Framework cleanup and setup verification tools - Aaron Stebner announces the release of new versions of these tools for .NET 4.0.  I didn’t even know that these tools existed within the .NET framework!
  • OpenWrap – Robert Pickering describes on his blog the OpenWrap project, an open source package management system for .NET projects.
  • RAMMap v1.0 – The SysInternals guys have released a new tool to  help you analyze your use of RAM memory.

Information

Events

You can now check out developer events in Northern Ireland using my calendar.  I have further work planned for the calendar, and the format of these posts. 

Events in the coming week include:

Careers

15 May 2010

C# 4.0 Whats New

 

Just to point out, I forgot to give a shout out for Alan Bradley’s NW-MTUG talk this Monday.   The talk will be on the new features in C# 4.0, and will be held in Magee College, Derry from 18:30.  For further details, click here.

Note, there will be prizes given away on the night.  At the last NW-MTUG talk, I picked up a ReSharper license, and was brutally assaulted when a bag of sweets was thrown at me. You have been warned!

14 May 2010

The Weekly Links 5

This is the 5th post in an ongoing series of weekly roundups of links useful to developers.

Tools

  • Style Cop – Version 4.4 of the code style checker (and it is now open source!) is available for download.
  • Solution Converter – a much needed tool to convert between the various Visual Studio solution formats (2005, 2008, and 2010).
  • PowerShell Community Extensions – V2.0 of this useful extensions library is released.

Information

SharePoint Information

Events

  • No new events, just a reminder about Barcamp Belfast – the postponed Barcamp is now rescheduled for 22nd May.

Careers

  • Seagate (via NIJobFinder.co.uk) – Software Engineer with both Java and .NET experience, based in their Derry plant.
  • Relay - .NET developers and Junior Developers required for their Belfast office.
  • Gem – Technical Support Agents and Web Application Developer (via NIJobFinder.co.uk)  are required for the Belfast company.
  • Fujitsu – A number of software developer roles are currently being advertised for my previous employer.  Roles are in both the Belfast and Derry offices.
  • Randox Laboratories (via NIJobFinder.co.uk) – Software Engineer required for the Crumlin plant.
  • Openwave – Software and Quality Engineers in the Belfast office.
  • Parity – My current company is continuing to recruit for their Centre of Excellence in Belfast.

13 May 2010

Calling PowerShell from Launchy


I have recently started using Launchy, a Windows keyword launcher. One problem I had with Launchy was configuring it to call my assorted PowerShell scripts.  An initial search of the web led me to this blog post, which in turn led me here.  So… call my PowerShell scripts from a batch file that I call from Launchy?  No, I don’t think so.
So, I searched again, and came across this screencast by PowerShell guru Hal Rottenberg, who showed how to configure Launchy to run your scripts. 

In Launchy, select the options, and in the Plugins tab, select the Runner (a custom command tool) options.  To create a new command, click on the ‘+’ button. Set the new command’s name  as “posh”, and then set the program by double clicking the field.  A folder browse button will appear.  Browse to the PowerShell directory (%windir%\system32\WindowsPowerShell\v1.0) and clicking on the program executable, powershell.exe.  You then need to type in the command arguments as follows:
"-nologo -noexit -noprofile -command $$"
To run your scripts from Launchy, hit the Launchy keyboard shortcut (ALT + SPACE by default), and type “posh”. Then hit the tab key, and type in the name of the script that you wish to run.  In this way, you can call your PowerShell scripts.

7 May 2010

The Weekly Links 4

This is the 4th post in an ongoing series of weekly roundups of links useful to developers.  As I was working in London last week, this is a bumper post incorporating two weeks worth of links. 

Tools

Information

SharePoint Related

Events

Careers

  • Barclay Communications – iPhone developer and web developer required for the Belfast office.
  • CyberSource – A number of roles (QA and Software Engineers) at various levels are being advertised for this growing company, based in Belfast.
  • 8over8 – This Derry based company is continuing to advertise for .Net developers.
  • Latens – Software Engineers required for the Belfast office.
  • ASG – Software and QA Engineers required for their Belfast office.
  • Kainos – Graduate Developers required for the Belfast software company.
  • Singularity – Various roles being advertised with the Derry based company.
  • Learning Pool – The Derry based company are seeking PHP developers (intermediate and advanced) and technical support agents.

5 May 2010

Mint Really Is Mint!

Just a quick blog post to sing the praises of Mint, a user-friendly Linux operating system.  I have been promising my brother that I would rebuild an old laptop for him for several months.  After finally completing the physical rebuild at the weekend, I faced a dilemma as to what OS to install.  The only Windows options open to me were Windows XP (9 years old), or Windows Server 2008 (fine as developer workstation, not great for a non-techie end user).  I did look at buying an upgrade to Windows 7, but I couldn’t justify the £80 price tag for this 7 year old laptop. 

So I thought I would try out a Linux OS for the first time.  After using this excellent online wizard to select a Linux OS, I plumped to install Ubuntu.  Unfortunately, Ubuntu wasn’t configured to deal with the wide screen on the laptop, and after booting, it would only display a blank screen.  I did search for a fix, but despite spending some time on the command line, I wasn’t able to update the display configuration. 

After this, I remembered reading that Mint was a variant of Ubuntu specifically designed for first time Linux users, and decide to give it to go.  After an insanely short time (approximately 15 minutes), Mint had smoothly installed itself, and was ready for use.  I am already very impressed with the options to install and automatically update applications using the software manager, and the overall performance of the OS.  Remember, this is a 7 year old laptop, with only 500MB RAM – I dread to think what the performance would have been like if I had installed Windows.  So, my brother has his laptop, and I am left a Linux convert!

23 Apr 2010

The Weekly Links 3

This is the 3rd post in an ongoing series of weekly roundups of links useful to developers.

Tools

Information

Events

  • SQL Immersion: Dublin 2010 – Advanced SQL training with Paul Randal and Kimberly Tripp in Dublin this June/July.  Via Bob Duffy’s blog.
  • Epicenter 2010 - The 2nd Annual Irish Software Show, epicenter 2010, takes place in Trinity College Dublin between Tuesday 8th and Friday 11th June.

Careers

  • Aurion Learning – ASP.NET developer required for the educational software ISV based in Belfast.  More details via NIJobFinder.
  • Asidua – Software Developers and Graduate Developers, based in Belfast.
  • First Derivatives – A number of developer roles are currently being advertised by the Newry based financial software firm.
  • Navinet – Various developer roles based in the new Belfast centre of excellence for the American healthcare firm.
  • Isaac Agnew – A senior Software Developer required in Belfast.
  • CitiGroup (via NIJobFinder) – Several development roles, based in Belfast.
  • QUB – Software Engineer (Grid Computing), based in Belfast.
  • Moy Park (via NIJobFinder) – Information Assistant, based in Craigavon.
  • Parity – A number of roles available with my own company, based in Belfast.

16 Apr 2010

The Weekly Links 2

This is the 2nd post in an ongoing series of weekly roundups of links useful to developers.  Given the release of Visual Studio 2010 earlier this week, there is a definite VS2010 theme in today’s post.

Update

Just to make aware, it looks likely that the BarCamp Belfast event will be postponed from the 17th to the 22nd of April.  Check the twitter account for the latest news.

Tools

  • Visual Studio 2010 Released – Scott Hanselman highlights the new features in the latest Visual Studio release.
  • Visual Studio 2010 Web Deployment Projects Beta – Following this week’s release of VS2010, the Visual Web Developer Team Blog announce the release of the latest release of the Web Developments Project
  • SPServices – A jQuery library that wraps wraps the SharePoint web services in an AJAX wrapper for use in JavaScript.  Available from CodePlex.
  • AllMargins – A VS2010 extension that replaces the excellent add-in Rockscroll for VS2005/2008.
  • Ninite – A great website that allows you to build a bulk installer of a number of great (freeware or open source) applications for Windows. [I used the installer generated by the website this week to help pave my new developer machine, and I really recommend it!]
  • CodeRush Xpress for C# and VB – The refactoring toolset is now freely available to all Visual Studio 2010 developers.
  • PSake 4.0 – An updated version of the PowerShell Build library for .NET 4.0 is announced by James Kovacs.

Information

Events

Careers

  • Northgate IS – Various technical positions are currently available from Northgate IS in Belfast.
  • Liberty IT – Software Professionals, Database Developers and Associate Software Engineer/Graduates roles in Belfast.
  • Kainos - Infrastructure Services Engineer, based in Belfast.
  • Acorn IT Solutions (via NIJobFinder)– Software Developer, based in Maghera.
  • Allstate – Oracle DBA, based in Belfast.

9 Apr 2010

Links Roundup

This is the first in a series of weekly roundups of links that will be useful to developers.  This is based on Chris Alcock’s The Morning Brew, but will also include additional links on SharePoint development, and will focus on events for developers in Northern Ireland.

Tools

  • QuickUnit – A Visual Studio add-in to design and generate unit test projects within the IDE.
  • Mono Tools - Miguel de Icaza of the Mono team announces the release of Mono Tools, an IDE add-in to allow .Net developers to build solutions using the Mono framework directly from Visual Studio.
  • ASP Classic Compiler – A CodePlex project that allows developers to package classic ASP pages as executables so they can run within the ASP.Net environment. I think this is insane, but possibly very useful for those working with legacy projects.
  • Switch project files between VS2008 and VS2010 – Given the imminent release of Visual Studio 2010, Steve Dunn’s command line tool allows you to open an existing VS2008 project file from VS2010 without converting the project.

Reference/Information

Events

Careers