Monday, 28 November 2011

Don't be a fiend, commit often.

You must know this pain. 


hg commit -Am "Massive commit of whole days work"

hg push



As a comparison, merging tool we use Beyond Compare. Indeed it's not a bad tool. But it's not clairvoyant. No tool can completely remove headaches that are generated from both the above message and also rolling back from changes that have been commited. 

As mentioned, one of the boons of source control is the rolling back of changes if needed. I think this can be made difficult when you are checking in a ton of work at once from all sorts of little fixes, changes, tweaks and implemented functionality. 

My dream is to commit work discretely by feature. For example in CRUD land. You would discretely check in the create mechanism, view mechanism and so on. If you see small bugs elsewhere, write them down. Fix them in their own seperate commit afterwards (or before depending on the situation). 

I like breaking work down into features (what some people like to call requirements) that can then be tested, implemented and commited discretely. You can then have commit messages like; 


hg commit -Am "As an admin user you can now add customers to a business account"


When looking at the repository you can then see a nice development of features and how / when they were implemented. 

I'm not saying I do this all the time. It's what I aspire to do. I can still be a fiend to not commiting discretely and also nipping little bits and bobs in. But the more you try to do this, the better your life will be. 

Monday, 21 November 2011

Water pump reportedly destroyed by SCADA hackers -- Engadget


Scary. I have a suspicion that many systems like this have little or not thought put into security. I may have to play Fallout soon as well after seeing this screenshot.

I suppose when you think about it. Many control systems are only attached to a potential outside source when a computer is attached to them, ie a laptop being plugged in. The laptop could then have internet access and instantly start sending tasty information out. A determined party would only need to find out (through linkedin even maybe?) who works at a plant and then the fun could begin. 



Thursday, 17 November 2011

What's new in the .NET 4.5 Framework

I saw someone had posted this on Twitter a couple of days ago but I didn't favourite it. Here it is again if you haven't seen it! There's some pretty cool features!

Augmented reality with Tesco!!!


I am defintiely checking this out later. Is it a gimmick? YES! Is it still cool. YES!

Samsung SUR40 for Microsoft Surface available for pre-order


This looks lovely. I can't wait for the price of surfaces like this to come down. The day we can have collaborative meetings with one of these will be amazing.

Imagine you needed an image to fit for a site you were creating, several of you could grab a browser, search and bring up suggestions and then push the images about to try out.

So many possibilities!

Tuesday, 15 November 2011

Solar powered help points at stations


They have recently fitted this at Attenborough station. It's a pretty cool idea!!

Thursday, 10 November 2011

Embedding RavenDB into an ASP.NET MVC 3 Application


I am particularly fond of RavenDb. It's definitely worth a look, as is this tutorial if you aren't sure where to start with it. There is some fair (not great but ok) documentation on the RavenDb website as well last time I checked.

I have just recently downloaded a later version and small things that immediately pleased me was a bit of an upgrade to the RavenDb documents interface itself. It's definitely maturing.

Nokia HumanForm


Another interesting phone concept from Nokia! It's been ages since I have seen them come up these crazy thought provoking designs. I haven't seen one since the crazy green bracelet thing a couple of years ago.

Nokia GEM concept phone

This is a very interesting concept phone. I suppose it will definitely appeal to the more vain among us.

Mead for Skyrim


Following a recommendation I have been to Weavers in Nottingham today to acquire a bottle of mead. I require two further ingredients to a perfect weekend.?

  1. Skyrim
  2. Peace and quiet

Tuesday, 8 November 2011

Oldest Paris Metro line introduces driverless trains



Panasonic Rugged Android Tablet


This looks like an excellent rugged Android tablet. I tremble at the potential cost of it however (not that it is supposed to be a consumer product anyway).

Comments System

Disqus Shortname