Blog

29 Mar 2013 . .
The old Windows 8 argument on a non-touch laptop Comments

We have already heard many arguments about Windows 8 with and without touch, the new “metro” UI and the missing start button. I dont intend to add anything to this I think it really comes down to your personal preference. In my case I found it awkward to use so wanted a solution to make things better.

My solution is that developed by StarDock this was brought to my attention by Paul Thurrott on Windows Weekly.

Start8

Start8

ModernMix

ModernMix

ModernMix works amazing allowing you to be able to run “Metro” apps in Windows. I have always played games in Windows so the idea of using full screen will take me a long time to grasp, and ModernMix allows me to completely avoid that!


Stuart James  


29 Mar 2013 . .
Boost Graph Visualisation using dot and Graphviz Comments

Debugging graphs can sometimes be annoying a useful way is to visualise it. No problem Boost has not only a graph solution but a way to visualise it too.

It is really simple first the header,

#include <boost/graph/graphviz.hpp>

Define the name of each node, easily done by an array

const std::string names [] = {"A", "B", "C", "D", "E" } ;

or via a vector

std::vector<std::string> names;
for (int i = 0 ; i < _nodes.size() ; i++){
    std::stringstream ss;
    names.push_back(ss.str());
}

Then save it out

std::ofstream dmp;
dmp.open("dmp.dot");
boost::write_graphviz(dmp,g, boost::make_label_writer(&names[0]));

And then the result:

 

Graph_Dot_Undirected Graph_Dot_Directed

Left undirected graph, right directed hence the arrow heads.


Stuart James  


17 Mar 2013 . .
mojoPortal Inline Editing, easy user content editing! Comments

I have always liked the style of mojoPortal making it easy to understand what you are editing. The approach is quite in contrast to other CMS where you end up with a front house and back house style system, mojoPortal does a nice job of merging this.

With version 2.3.9.6 it gets even better with inline editing, so for example take my home home page.

image

 

If you have completed the update and if you have CKEditor as your content editor you will notice little locks appearing on your page when in content editor view

image

If you click the lock, it will unlock(image), you can then click on the content for editing and your page will look like this:

image

 

Now if this isn’t easy for users to understand what is? Well done mojoPortal for integration of another useful feature.


Stuart James  


27 Jan 2013 . .
Windows Intune a must for SMB administrators Comments

With the push of large amount of cloud services from many different vendors it takes time to explore and see what is now available. Today I did a brief excursion into Windows Intune.

Intune provides system administrators to monitor computers within their organisation. Allowing you to install software from a common pool force policies and keep an eye on computers that may be coming to the end of their life or just short on storage.

I am just getting started but thought would share some screenshots.

Admin Panel

image

Some computer hardware info:

image

User web view (I do love the tiles layout to be clean and elegant):

image

I have done some experiments adding up an installer to the cloud storage is easy to do, and seems to work quite well. If you have a pool of computers seems like a nice offering. I had looked into alternatives such as that provided by LogMeIn, but the price point is a bit of a put off and the integration was somewhat limited.

I have still to get my Surface or other mobile devices into Intune, but sure will get some nice info out of the 30 day trial that will probably turn into a tool inside the company’s IT I manage(JCS Technology).


Stuart James  


26 Jan 2013 . .
Performance I just don’t understand Win 2008 vs Win 2012 on AWS Comments

After having some weird connection issues over the last week since migrating my blog and portfolio to an alternative configuration instance based on Windows Server 2008 I decided to do a load test to see whether this was a bigger issue than I expected. The results I just cant explain.

 

Windows Server 2008, IIS Installed only with .NET4

AWS_Win2008_Performance

 

Windows Server 2012, IIS Installed only with .NET4

AWS_Win2012_Performance

 

As can be seen from the 2008 graph the server fell over very quickly and took a very long time to recover. After looking at this went to the CPU load and found the answer:

Windows Server 2008, IIS Installed only with .NET4

AWS_Win2008_CPULoad

Windows Server 2012, IIS Installed only with .NET4

AWS_Win2012_CPULoad

 

This wasn’t the profile of the CPU when I first set up the instance, I have no idea what has caused the development of this maxed CPU issue. Will have to look into more, but for the moment am back on 2012! Does demonstrate the importance of setting up alarms though, another nice functionality on the AWS platform.

 

Edit:

Maximum Load Test

I have also done a max load test just to see how much the server could take, maxes out about 70 users. Tested against blog, so all img,js and css are additional calls wrapped into one user call. Granted when server hits max capacity is essentially unresponsive.

AWS_Win2012_Max_Performance


Stuart James