How-to: Laravel 4 tutorial; part 1 – installation

[easyreview title=”Complexity rating” icon=”geek” cat1title=”Level of experience required, to follow this how-to.” cat1detail=”A good level of familiarity with web hosting will come in handy here, especially if your hosting environment is different from mine. It will also help if you’re comfortable at the command line.” cat1rating=”4″ overall=”false”]

Laravel Tutorials

Introduction

If, like me, you spend much time coding for the web – for pleasure or profit – sooner or later you’re going to find that you benefit from using a development framework. A framework is a collection of scripts that help you create an application much more quickly. Frameworks typically include a lot of the “nuts and bolts” components – scripts that assist with database connections for example, plus components that impose some structure on your programming.

For a long time, my framework of choice was CodeIgniter. CodeIgniter has stagnated of late and concerns have arisen over licensing. Partly as a consequence, many PHP developers like me have searched for an alternative. In the search, I came across a framework that many programmers are turning to: Laravel. My early experiences with Laravel have been extremely positive and I have found many things I prefer about it. In this series of tutorials, I’ll show you how to get up and running with Laravel and begin creating an application. The application will involve some web-scraping, so you may wish to stay tuned for that reason alone.

Before we dive in though, one word of caution: Laravel is a young open source project. Like many such projects, its documentation is less complete than you might wish, particularly when compared to CodeIgniter. In fact CodeIgniter’s great documentation was one of the reasons why I initially chose it as a development framework. Documentation is a core commitment of the Laravel team, but at the time of writing, with the recent release of Laravel 4, I’m finding the documentation is not quite up to scratch. Possibly you’ve found that too, which is why you’ve made it here to this tutorial. In fact one of the worst parts of the documentation at the time of writing is the installation procedure! With that caveat in place, let’s move on – it’s still well worthwhile.

Prerequisites

All my web coding is done within a Linux environment, usually CentOS or Ubuntu Server. For the easiest experience following these tutorials, you may wish to create a similar environment. (I’ve written about that elsewhere.) Alternatively, you should be able to follow the tutorials with some tweaking – but you’re on your own there. At the very least, I recommend you have in place:

  • Apache web server
  • Shell access to the server (preferably SSH)
  • Root access to install Composer globally (not essential)
  • Git must be installed in your environment.

Installing Composer

With the latest release (4) Laravel has taken a leap forward in several areas. One such area is the management of third party libraries and packages. Laravel previously made use of an external project called “Composer“, to install dependent packages. With Laravel 4, you now use Composer to install Laravel itself. To install Composer, from a root login shell, do the following:

cd /usr/local/bin
curl -sS https://getcomposer.org/installer | php
mv composer.phar composer

Provided /usr/local/bin is in your $PATH environment variable, you will now be able to call Composer with “composer [options] command [arguments]“.

Installing Laravel



The beauty of Composer is the simplicity it brings to library/application installation. There is an overwhelming range of tutorials on how to install Laravel with Composer. Please bear in mind that many of these were written while Laravel 4 was in beta or even alpha. Now it has been released, the installation is quite straightforward. Having prepared a new environment for a web site (a virtual host or whatever), navigate to the directory above the default web root directory. Then install using Composer. Eg:

cd /home/geek/domains/test.geekanddummy.com/
composer create-project laravel/laravel

You should see a fair bit of output indicating that Composer is creating a directory “laravel” and pulling in all the dependencies for a basic installation. The laravel directory contains a folder entitled “public“, intended to be your web root. Your easiest way to complete the configuration is to point your web site at that directory. For example, using Virtualmin, you would go to Server Configuration –> Website Options and change “Website documents sub-directory” from “public_html” to “laravel/public”.

Having done that, when I browse to my test web site, I see:

Laravel landing page

Installing other frameworks

Now would be a good time put to put Twitter’s Bootstrap and jQuery in place, if you’re planning to use them. Naturally, we’ll use Composer for this. You might use other frameworks in your web applications – check out Packagist to see if anyone has made a Composer package available.

Composer demands a tutorial all of its own, but I’ll keep it simple here. I’m going to make my new Laravel application depend on the latest compatible branches of Bootstrap and jQuery. This will potentially allow us to upgrade these two frameworks with a simple Composer command at a later date.

In the root of your Laravel application you’ll find the main Composer configuration file, composer.json. You don’t need to get your hands dirty editing the file, just from a shell in that root directory, issue the following commands:

composer require "components/jquery":"*"
composer require "twitter/bootstrap":"*"

This updates the composer.json file to include these dependencies and goes ahead and downloads them. It can take a while – be patient.

You’ll end up with jQuery files under ./components/jquery and Bootstrap files under ./vendor/twitter/bootstrap. These are locations not visible to your web server (the root is at ./public, you’ll recall). This is a particular problem in the case of Bootstrap. For now, here’s a quick-and-dirty way of accessing these files. I’m on the lookout for a more elegant solution, but this will get you up and running rapidly. Navigate to the “public” folder in a login shell and issue the following commands:

mkdir -p assets/css
mkdir assets/img
mkdir assets/js
ln -s ../../../vendor/twitter/bootstrap/img/glyphicons-halflings.png ./assets/img
ln -s ../../../vendor/twitter/bootstrap/docs/assets/css/bootstrap.css ./assets/css
ln -s ../../../vendor/twitter/bootstrap/docs/assets/css/bootstrap-responsive.css ./assets/css
ln -s ../../../components/jquery/jquery.min.js ./assets/js

And so on, for whichever bits you’ll use. This will only work if your web server allows following symbolic links. The .htaccess directive “Options +SymLinksIfOwnerMatch” may help here, but that’s outside the scope of this tutorial.

Configure your development environment

I use NetBeans for development. If you don’t already have a preferred IDE (integrated development environment), I recommend you check it out. Another favourite is Eclipse. You could use an ordinary text editor, but then you’d be missing out on a lot of things that can make your coding more comfortable and efficient.

Having installed Laravel and the other frameworks on my web server, next I use NetBeans to pull the code across to my development environment. In the NetBeans “New Project” wizard, select the option “PHP Application from Remote Server”. In the remote configuration, ensure that you choose as your “upload directory”, the laravel. From there, you’ll want to download the app and public directories.

Conclusion

That’s it for today’s tutorial. Next time, we’ll look at orientating ourself within the framework (“what goes where?”).

Review: Panasonic Lumix DMC-FZ48

Let’s get something straight with this review, right up front. I am no David Bailey and I don’t really have any aspirations to be a photographer. When I bought this camera I had one objective: to improve the quality of the pictures I took beyond that of my existing point-and-click happy snapper. I wanted something simple to use with menu options that a non camera buff could understand without sitting a 2 day course.

Okay then, that established, on with this review.

I’ll start with my usual first impressions. I may not want to be a photographer but I feel like one with this kit in my hands. It’s a completely different beast to my usual compact in so many ways. But it also feels familiar, with simple and obvious buttons; you can take it out of the box and immediately start taking ultra-sharp pictures. It’s ergonomic to hold and I had no problems while traversing rocks and perching in strange positions for interesting angles on my pictures.

It’s here I really started to feel the appeal of this camera, which Panasonic bills as a “bridge camera”. Don’t know what a bridge camera is? (I didn’t.) From Wikipedia:

Bridge cameras are cameras which fill the niche between the single-lens reflex cameras (SLRs) and the point-and-shoot camera.

You can make it as easy or as technical as you like; I found that the results were so good it started to encourage me to take more time and effort in composing my pictures. Very quickly my ‘happy snapping’ progressed to something altogether different – I found interest developing as the results improved. All in all, a very enjoyable process in which good results were achieved quickly. Just the way I like it!

The zoom on this camera is amazing considering the price tag. On a recent camping trip I was able to demonstrate this to its full potential when my daft brother climbed a hill overlooking our camp-site and I captured one image without zoom and one zoomed right in.

There are buttons and features aplenty. I have only started to scratch the surface but the image clarity is truly amazing. For someone who was very used to taking very average images the pictures it produces are nothing short of incredible. It uses standard SD memory cards which is a bonus for me as all my other equipment uses these.

Okay, so I’m very happy indeed with the pictures it’s producing but what’s this – it also records in HD? Now I wasn’t expecting much from this. In my experience a device designed to do one task that has a second task bolted on, tends to handle that extra task quite poorly. Not so in this case. I was pleasantly surprised with the quality of the HD video and how easy it was to use that feature. Coupling HD video with the power of the zoom it is a brilliant add-on. There’s one drawback: the noise of the motorised zoom is intrusive and has to be edited out of the final video, oh yes and I guess I could do with a tripod to eliminate the camera shake.

As I felt like I was getting on better with the camera I became more ambitious and started trying to shoot wildlife. It’s here I found myself frustrated by the time it takes to process images.

I had this image in my mind of rattling off shot after shot but the camera needed a second or two to sort itself out between pictures. There may well be a setting to alter this but out of the box, a little slow, as demonstrated by my attempts to capture a Red Kite.

So just to finish, going back to my very basic requirements of this camera, I’m really happy with the results. I’ve literally picked it up out of the box and not read a thing from the manual. With a minimum of tinkering I’ve been impressed with the image quality I’ve been able to achieve. See the gallery below for examples of my first efforts.

[easyreview title=”Dummy rating” icon=”dummy” cat1title=”Ease of use” cat1detail=”For the results here I’ve barely scratched the surface of this camera’s abilities.” cat1rating=”3″ cat2title=”Features” cat2detail=”Certainly everything I need in a camera. So many automated focus settings, how can I go wrong?” cat2rating=”4″ cat3title=”Value for money” cat3detail=”It’s well over double what I would usually pay for a camera but the image quality is a big step up.” cat3rating=”4″ cat4title=”Build quality” cat4detail=”I must admit, I feel I have to take care with it. This is no action camera.” cat4rating=”2.5″ summary=”Another star buy for me. I’ve really enjoyed using it and perhaps it’s ignited the frustrated photographer in me.”]

Review: Joytek High Speed 7 Port USB 2.0 Hub

Most modern PCs are designed with an abundance of USB sockets. Great; exactly what the doctor ordered. Then pop along to Amazon and eBay happily buying a plethora of USB gizmos from fans to phone docks and you realise that the cable with your device is 1m long and the PC under your desk is 10cm further away than the cable will reach. Then when I want to remove that device and attach it to another PC there is the great cable hunt as I root around spaghetti junction, invariably unplugging at least one vital device before I get the correct one.

So off I went shopping for yet another office gadget to help me with this problem.

There are all sorts of solutions out there, mass-produced in gay abandon by our Chinese cousins. I use external USB hard drives and charge my phone and tablet from my PC so I wanted a powered USB hub. As ever, when I look for desktop kit I want it to be compact, well designed and generally a nice item to have on my desk. With that remit in mind, I bought this High Speed 7 Port USB 2.0 HUB from Amazon.

Out of the box it looked the part. A sleek, piano black centrepiece edged in nice tactile rubber moulding with the option to sit it in a simple desktop stand. I thought this to be the best option although it also looked okay lying on its side.


On the side of the hub with the power inlet, there is a cool looking blue LED. In low light this slightly illuminates the other ports from the rear. All in all, a very nice looking bit of kit clearly designed with a little care and attention. A miracle considering the bargain price.

On to testing. The first thing I noticed was that the connection from the hub to the PC is via one of those square USB printer connection affairs (Geek tells me it’s a “type B”, whatever that means). The supplied cable is a useful 2M long. Luckily for me my PC wasn’t 2.1m away from where I wanted the hub!

This cable connects on the same side as the power adapter. On this side of the hub there are 2 standard (“type A”!) USB sockets. I started by testing my little BlueTooth keyboard receiver and found the connections were well made and solid. The connector located easily and immediately found my keyboard. So far so good. Next I tried my iPhone 5, which is usually very selective about what it will charge from; the hub sailed through that test as well. Similarly with my tablet and then my desk fan and all was looking great.

I moved on to my external USB drives and it was here that this funky bit of kit came unstuck. It simply didn’t have the juice to run the drive which was a real shame because up till then it was looking like a faultless piece of tech. I could hook it up to a powered external drive and it was fine; for some reason it wasn’t getting the juice it needed from the hub that it could get from a PC.

A bit disappointing but weighing it up as a whole it has allowed me to remove a load of inaccessible cables from behind my PC and does mean I have a nice looking accessible USB port for any new desktop paraphernalia, providing it isn’t too power hungry.

On the downside I need to finish up this review now and go and pull my hard drive from the back of my…………


[easyreview title=”Dummy rating” icon=”dummy” cat1title=”Ease of use” cat1detail=”The very essence of plug & play” cat1rating=”5″ cat2title=”Features” cat2detail=”Perfect performer until it fell at the last jump” cat2rating=”2.5″ cat3title=”Value for money” cat3detail=”I have seen these going for as little as £4 but for the £8.93 I paid, it feels like good value” cat3rating=”4″ cat4title=”Build quality” cat4detail=”It’s nice, it’s tactile, it looks cool!” cat4rating=”4.5″ summary=”A tad disappointed at it not powering my USB drives but even so, I liked it enough to buy another for home.”]

How-to: Put Licensed Version of Memory-Map on your Samsung Note (Android)

[easyreview title=”Complexity rating” icon=”dummy” cat1title=”Level of experience required, to follow this how-to.” cat1detail=”It all make perfect sense and it’s very easy to do. Why Memory Map just don’t share this with us all, no idea!” cat1rating=”1″ overall=”false”]

I do a lot of off road driving in my spare time and navigating using OS maps is essential. So imagine my excitement when the Samsung Galaxy Note tablet hit my radar claiming to have inbuilt GPS. So no more cumbersome laptop with a separate GPS unit and instead a much more portable tablet. Then when I checked with Memory-Map, Android is fully supported and I thought this was going to be a foolproof installation.

I have used Memory-Map on the iPad before and it has always been a pain to set up. I have to say that the support of it as a product is complete comedy. I would have thought that with every half-decent tablet that emerged on the market, Memory-Map would be looking to investigate and provide detailed instructions. That can only aid their sales of their mapping product, surely? But oh no, that’s too much work for them. Instead I was wading through half-baked, inaccurate ReadMe files before I finally gave in and asked Geek to help me out.

So then, without further ado, how do you put a licensed copy of Memory-Map on your Samsung Galaxy Note 10.1 tablet?

Firstly, you will need your own licensed copy of the software (which has come down a lot in price of late) and that will need to be installed and registered on your PC. Happily the instructions for that are very simple. Just create a Memory-Map account and hey presto you have access to whatever number of licenses are allocated with your version, one of which will be dedicated to your PC.

Directory MM

Next you need to connect your Samsung tablet to your PC via the usual USB lead and go to the Memory-Map site’s mobile downloads section and download the Android app.

It’s here that you can sometimes stumble at the first fence. The mobile install appears to be designed to encourage people to buy the rights to chunks of OS map via your Memory-Map account. Doing this puts a file on your system called a .DMS, which has the effect of signalling to your tablet that all map content is currently unlicensed. I guess I can understand why Memory-Map doesn’t go into detail with that but to be honest in the majority of cases if you don’t know about that and remove it, it’s never going to work! For now, don’t worry about that aspect.

Copy all content from os_50 or whatever your Memory-Map program folder is called. There will usually be 4 files in here. Memory-Map says just to copy the .qc3 file, which doesn’t work. Even if you copy the .qc3 and .qct files, the place name search function wont work. Better to get them all.So far so good. Now what you should find is that you can browse to your Samsung tablet via your PC. In the download directory there will be a Memory-Map folder and very probably a .DMS file. On your PC you will have a Memory-Map folder in your Programs directory from the install I discussed previously. The name of it can vary depending on what Memory-Map service you have bought, usually prefixed with os. Mine is os50. From here its a matter of a step by step approach.

MM dir to copy

  1. Next paste them into a directory on your Samsung tablet where the Memory-Map software can see them. The correct location to copy the files is /Download/Memory-Map. You must be precise about this. No sub-directories. The software will only check that directory for content.
  2. Check for the presence of a DMS file. In some cases (I’m not completely sure how but probably linked to accessing the digital map store or original Android download), the system will have created a “DMS” sub-folder under Memory-Map.  Within that, files indicate you have not paid for any of the OS maps, so it wont show you unscrambled OS maps but will prompt you to pay for them.
  3. If this folder has found its way onto your tablet, you will need to remove it.

That should be it. All files loaded in the correct place with no restrictions.

If you open MM on your tablet and select Menu then More Maps you should now see your OS map listed. Just select it and the software should check your online licence and add this device to your account using a further licence.

Now why can’t Memory-Map include these simple bits of advice. I mean rocket science it is not!!

How-to: Make your Browser Open on Start-up and Auto Open Your Frequently Used Sites

[easyreview title=”Complexity rating” icon=”dummy” cat1title=”Level of experience required, to follow this how-to.” cat1detail=”The Geek had this info in his back pocket but I managed to complete it and get it running after a 2 minute conversation. Seriously, if I can do it your granny can!” cat1rating=”1″ overall=”false”]

Here is an interesting little How-to. Well I thought it was. Geek, who put me onto it just laughed and said it was obvious stuff but he is a geek after all.

My issue was that whenever I powered up my PC I found myself going through the same old ritual of starting a browser session, opening up a tab for each of the websites I use or regularly monitor during the day. A tab for my AdSense account, YouTube and Gmail. Then another for my banking, Bendifroot website and good old Geek & Dummy and another for my 4×4 club, the Lowrangers. All a bit of a pain. A right pain if I inadvertently closed my browser session and had to open each one again.

So, I wanted something that when I fired up my PC, automatically opened Chrome and all of these sessions. Even better, something that could be kicked off again subsequently without any major headache.

Okay, the Startup menu folder can be used to open individual programs on login, but I wanted something more controlled and flexible. Geek explained it was very easy to create a batch script in Notepad that listed the actions you required to be completed on login. Sounded like witchcraft to me but it’s actually very simple.

First thing: open up Notepad. Whichever version of Windows you’re running, it will probably be in your Start menu under Accessories/Notepad. This is a very rudimentary text editor that has none of the MS Word type formatting options.

There’s some very basic syntax. I’m assuming you use Chrome (because I do) but the concept works equally well with other browsers.

start chrome --new-window

This does exactly what you would think. Opens Chrome in a new window. After that it’s a simple matter of listing what tabbed sessions you want Cchrome to load for you.
Here’s an example of my own:


Now the key part: you need to save this as a .bat file. Call it what you like. I call mine “internet.bat”. Then save it into your Startup folder. This can be in slightly different places depending on your user profile settings but most likely Windows/Start Menu/Startup.


I also create a shortcut to the .bat file on my desktop. If I inadvertently close my browser session, I can start it all again with a double-click.

And there you go; simples. A nice easy way of creating a batch script your PC automatically runs, and you can manually run too. I bet you feel like a computer programmer now don’t you?!

News: PRISM scandal – tech giants flatly deny allowing NSA direct access to servers

I read this story with interest. So a highly secretive branch of the American government has been snooping on our emails, messages and calls using a sophisticated bit of software and the big tech giants may be complicit?!? Surely that’s not really a surprise to anyone is it?

It seems there are various disapproving camps forming around this.

First: a band of technophobes, incredulous at the thought that a government organisation would be able to spy on them in this way. I mean come on get real. Yes, conspiracy theory nuts have raved on about this for decades. But we the public, know that phone bugging can be done legally under a warrant; why would we think this has any limit?

The second camp is on a corporate witch hunt. How could Google and Microsoft not have known about this? Or worse, how dare they allow the government to put its sticky paws on our private correspondence?

You’ve seen Will Smith on the silver screen battling shadowy branches of American government ably assisted by Gene Hackman, a master of tech surveillance. It transpires that this shadowy branch has gone rogue and is targeting innocent members of the public. Is there anything unbelievable about this? The fact that the technology exists to allow this surveillance or that a government organisation can go rogue? (Or worse, conduct the surveillance without legal approval but with state support.)

It may sound like science fiction but the technology exists. Once that’s accepted I have my own view on its existence and use. A government organisation going rogue? The conspiracy theorists will be screaming at me but it is pretty implausible in this age of information and accountability.

For a start, why think that what you are saying and doing online is so interesting to the NSA? Let’s take that thought a stage further: if you are saying something that interests the NSA, I’d suggest I want you to be secretly monitored by them.

I know this will be at odds with many of you technically savvy people in this brave new I.T. world but I personally feel that I am willing to sacrifice a little bit of privacy for the greater good. I mean how do you think the security services in the UK foil terrorist attacks and keep us safe in our beds? Information and the control of it is the secret war no one likes to tell us about.

But do you know what, when I stand back and look at this again from a more suspicious angle I find myself asking a number of left-field questions that make me doubt the whole story.

If this technology does exist and is being used, why would an organisation like the NSA (arguably the most secure organisation in the world) allow the Guardian to learn of its existence and so make it redundant. I mean, any self-respecting terrorist would read this and not use the internet again, right? Lets remember the information regarding its existence was anonymously leaked and the online message boards are already full of anti-American rhetoric raving about Prism and civil liberties.

Whether the technology exists or not, don’t expect the Googles of this world to admit they let the NSA trawl through their servers. I guess I may be in the minority in not caring if they did. But if they stood up and said, ‘Yeah we share your data with the NSA,’ I think the shareholders would be none too pleased.

We know Google already mines internet usage to target users with appropriate adverts. For example, if I insert an advert from Google’s AdSense below this paragraph you should see adverts popping up relevant to things you searched or shopped for recently. Shame on you if Tracy, a single and very friendly lady is offering to visit!! 😉

This is all feels a bit like PR spin to me. On one hand I think we all know our internet usage is being monitored in some way by someone. I’m ambivalent to that fact. It being drawn to the public’s attention in this way has the smack of an opposition group attempting to stir up ill will against ‘Big Brother’.

On the flip side, come on tech giants, don’t treat us like fools. You obviously mine our data for your own purposes and as it suits you. Its not a huge leap to assume you’d allow selected organisations to do the same for the “greater good”.

So a sensational headline but really, is any of it big news or really that shocking or are we all just kidding ourselves about our personal internet privacy?

(Hint: we’re kidding ourselves. But don’t worry – Geek is here to help improve our online privacy: read on.)

How-to: Reinstate the delete button in Android Gmail app

Google’s development philosophy is a process called “evergreening”. Make sure your business profile is always new, always interesting. This is one reason why Google Doodles are actually a big deal for the company. It is also a reason why ultra conservative companies struggle to integrate Google Apps into their I.T. infrastructure. Constant change is unsettling, especially when you need to support end users who are not particularly tech-savvy.

So, Google has done it again. The latest update to the Android Gmail app changes a few things and, most irritatingly, moves the delete button off to a menu. Now, when you select an email, you have three buttons – archive, mark unread and move to folder:

Gmail_01

You can delete, but you need to tap the menu, then select “Delete”. Who has time for that?!

Fortunately, there’s a solution; the delete button can be reinstated through a configurable setting. Go to Settings then “General Settings”:

Gmail_02

Choose “Archive & delete actions”:

Gmail_03


Select “Show archive & delete”:

Gmail_04

Breathe a contented sigh of relief:

Gmail_05

Note to Google: Please think before you release gratuitous changes in future. This busy Geek doesn’t have time to be undoing all your mistakes!

Review: Kodak PlaySport ZX3 & ZX5 Action Camera – Waterproof & Shockproof

One of my intentions when creating Geek & Dummy was to review cutting edge and newly emerging tech but every now and again, I hit on an old favourite that just does its job so well it deserves to be re-visited.

Let me set the scene for my requirements in an action camera. I am an avid off-roader. I want a camera that can be bashed by branches, submersed in water and generally shaken to within an inch of its life. Through all that it still needs to shoot images of sufficient quality to edit into films.

I’ve tried numerous budget options where picture quality is laughable, especially in low light. I’ve also toyed with the high end GoPro range that, whilst capable, has so many drawbacks and reliability issues for such a high price tag, I struggle to see why they are the go-to answer for most professionals wanting an action camera.

So step up the Kodak PlaySport ZX3 and more recently the updated ZX5 variant. The action camera that makes the lofty claim of being shockproof, waterproof with in-built image stabilisation and HD quality images. Many action cameras claim it but is it true of the Kodak?

Kodak Playsport ZX3

The camera itself is mobile phone size (approx 55mm x 115mm) with a rubberised finish and feels comfy in the hand. It has only 5 buttons and the main control is a 5-way rubberised button, positioned ergonomically for its operation. On first inspectio,n given the shape of the camera when compared with a GoPro, you could be forgiven for making the assumption it simply won’t be up to the job. This camera is nothing short of astonishing, however. It has the standard 1/4” threaded adaptor on its base so, unlike the GoPro, your mounting options are cheap and varied.

The compartments that house the battery, SD memory card and charge points are all positioned under water tight sliding compartments. Having fully submerged this camera on a number of occasions, Kodak’s claim of a waterproof design is completely true. And I haven’t just dipped this in a pool or the bath. This camera has been through rivers of mud at speed and still come out smiling!

Here’s a short demo of the cameras size and compartments and some examples of a few of the knocks and dips it’s taken.

Pretty cool, right?

The image clarity is fantastic although I find full 1080p too detailed for the action footage I shoot. 720 at 60 fps gives a perfect balance between file size and quality. The in-built image stabilisation means it’s easy to mount on say a Land Rover bonnet and still get a relatively stable image as the car bounces all over the road.

Sure there are some trade-offs. There is no option for an external mic. The built-in mic is sufficient for close up action though. In my extensive testing and editing of the footage, the PlaySport takes better quality images than cameras costing triple the price.

Kodak has gone for the middle ground in firmware, falling between the idiot-proof Flip and the overcomplicated Toshiba Camileo, with simple and obvious operation. It still has everything it needs to be an action camera – even a decent zoom feature.

So after I’ve ticked the boxes for rugged build, quality image, waterproof and shockproof, what else is essential in an action camera? Battery life! It’s this area where all action cameras seem to be weak. I remember being particularly fed up with the GoPro because not only did the battery give me only 45 minutes of continuous video, it was a pain to open the waterproof housing and replace or charge the battery. And the battery cost silly money. Again the Kodak excels in this area. I get between an hour and 2 hours of continuous use, depending on the conditions. Then when it is time to change the battery it’s simplicity itself; the waterproofing is built into the camera and replacement batteries slot in easily. Considering the PlaySport’s battery is a standard 3.6V camera battery and can be bought anywhere for a few pounds this camera, on the market for 3 years now, is shaping up to be a Go-Pro killer!

I stumbled on this camera by accident but I’m so glad I did. I’ve spent hundreds of pounds on handhelds, Go-Pros and everything in-between. In the end this little £80 marvel stands out in every area and puts far more expensive models to shame.

You’ll be buying this camera for its rugged and waterproof claims, and in those points the camera performs in a class of its own.

[easyreview title=”Dummy rating” icon=”dummy” cat1title=”Ease of use” cat1detail=”Fairly simple, point and shoot for good results” cat1rating=”4.5″ cat2title=”Features” cat2detail=”Almost everything it needs as an action camera” cat2rating=”4″ cat3title=”Value for money” cat3detail=”Considering what other action cameras sell for, its a snip” cat3rating=”4.5″ cat4title=”Build quality” cat4detail=”I literally haven’t been able to break one yet!” cat4rating=”5″ summary=”You can still buy these on Amazon but they are getting rare. If you see one then snap it up because they are amazing.”]


How-to: Administer Active Directory/Windows Server remotely using a privileged account

[easyreview title=”Complexity rating” icon=”geek” cat1title=”Level of experience required, to follow this how-to.” cat1detail=”Though this wasn’t easy to work out, hopefully the how-to is easy-peasy to follow. You may need to do a little research if your platform differs much from mine (Windows 7/Server 2008).” cat1rating=”1.5″ overall=”false”]Oh my, how hard did Microsoft make this?

The scenario: like all good domain administrators, I have a day-to-day non-privileged account, for normal access and a domain account for use as and when I need it.

The objective: use an MMC (Microsoft Management Console) to administer the domain from my normal workstation, with my domain admin account.

This should be easy, right? Fire up the MMC, type in your domain administrator credentials and you’re away? Wrong. What you actually need to do is something like this. This is to administer AD running on Windows Server 2008 from a Windows 7 workstation:

Step 1: Install Remote Server Administration Tools

Install the Administration Tools Pack for the server[s] you intend to administer. For Windows 7, this pack is amongst the features you can install for the o/s. There are however some caveats and you would do well to read the comments on this Technet article, if you get stuck.

Step 2: Configure WinRM

If you want to manage a server such as Windows Server 2008 remotely (not just Active Directory), you’ll need to configure WinRM (Windows Remote Management) on the remote server. Until you do, your attempts to connect may result in error messages like “Server Manager cannot connect to Server1. Click Retry to try to connect again”. Certainly, this is what happened for me:

07 Server Manager cannot connect

On the remote server, in an elevated command prompt:

C:\Users\rob.admin>winrm quickconfig
WinRM already is set up to receive requests on this machine.
WinRM is not set up to allow remote access to this machine for management.
The following changes must be made:

Create a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this machine.
Enable the WinRM firewall exception.

Make these changes [y/n]? y

WinRM has been updated for remote management.

Created a WinRM listener on HTTP://* to accept WS-Man requests to any IP
on this machine. WinRM firewall exception enabled.


That alone, might not be enough. The next hurdle I encountered was similar, but this time the issue concerned the WS-Management catalog (whatever that is):

08 The resource URI was not found in the WS-Management catalog

For Windows Server 2008, you also need to install a feature called “WinRM IIS Extension”. In Server Manager –> Add Features:

09 Add WinRM IIS extension

This feature installation takes forever (well, quarter of an hour, for me). Why? Who knows.

You still might not be able to connect to a Server 2008 box after this. Try installing version 3 of the Windows Management Framework. You can download that here. Note: this depends on Service Pack 2 of Windows Server 2008, the previous version of Windows Management Framework (which gives you PowerShell 2.0) and .NET 4.

If you still can’t connect, shrug your shoulders and just accept the fact that Remote Management is one of the things that Microsoft improved dramatically in R2 of Server 2008. You will still be able to use many MMC snap-ins, but some (like the “Server Manager” snap-in, ironically) will just fail.

Step 3: Create your MMC

I’ll just use a simple example here. First: Start –> Run –> mmc.

Within the console, Add/Remove Snap-in:

01_Add_Remove_Snap-in

Choose your desired snap-in (e.g. AD Users and Computers):

02_Choose_desired_snap-in

Click “Add >”. The snap-in will appear on the right. Continue for all the snap-ins you’ll want to use, then click “OK”.

Save your custom MMC. I would recommend putting it somewhere where you’re not going to be hit by UAC problems – i.e. not in the root of your C: drive, not under C:\Windows, etc.

Step 4: Create a shortcut to your MMC

You can’t directly run the MMC. Don’t try. Create a shortcut. You can put this shortcut on your Desktop, or wherever you like. So, for example, right-click the Desktop and click New –> Shortcut.

You need to specify the shortcut as C:\Windows\System32\runas.exe /netonly /user:your-domain-admin-user@your-domain "mmc C:\Path\To\MMC\DomainAdmin.msc":

04_Create_shortcut

Having created your shortcut, set it always to run as Administrator. Right-click –> Properties –> Advanced:

03_Run_shortcut_elevated

Step 5: Run the shortcut

When you run the shortcut, you should now see a UAC prompt and after that a command prompt, asking you for your domain admin password:

05_Credentials_prompt

For me, it’s not instant, but eventually, the MMC loads and runs as intended:

06_MMC_running

Happy days. No more RDP. 🙂

Review: Sinjimoru Sync Stand for Apple iPhone 5 Dock, Cradle Holder

£19.99 from Amazon.

I’ve long been an Apple fan (well a fan of the core devices they produce – not of the way they extort loyal customers with ridiculous prices for add on-consumer products). So when I got my iPhone 5 on the day it was released to the UK, my plan was to hang fire for a month or two and wait to see what the world of eBay and Amazon would deliver in the way of gimmicky add-ons. In particular, I always like a second charger and a dock station so I can charge and view my phone at my desk. Months after the iPhone 5 release nothing has been officially produced by Apple and the Lightning cable is still very expensive but I found this nicely designed dock that claimed to tick all my boxes.

iPhone 5 dock

Initially I was attracted by the design and the fact it worked by integrating my existing Lightning cable. It looked to be a good bet, especially if you were to believe the Amazon reviews.

On opening the dock, I was pleasantly surprised by its quality and feel. It appears to have been machined from aluminium and then plasti-coated. It is a solid and compact little design and looks as good on my desk as it did in the pictures on Amazon. It comes with a couple of adaptors to allow either the new Lightning or the older pin charger to be threaded through the dock and mounted. In this way, the phone can (theoretically) sit on the dock and over the charging point, with the cable inserted into the phone. I’ve only tested this with my Lightning-cabled iPhone 5, and it’s here that I started to have problems.


iPhone adaptors

The connection is unreliable at best. The Lightning cable pushes through a transparent base plate and the thickness of this base plate seems to affect the quality of the connection into the phone. Don’t get me wrong, if you wiggle it about a bit it eventually, sometimes connects but that’s not really what I want from a dock on my desk. I want something solid and easy to click in, which brings me to my next point. The way the dock seats the phone means it’s almost entirely supported by the Lightning cable’s connector. When this was the older style pin that might have been ok, because it was wide and robust but with the Lightning pin: recipe for disaster.

iPhone 5 docking station

For me, this has become a (very!) expensive stand for my phone that doesn’t charge or sync my phone. I have no idea where the other reviews came from on Amazon because it just doesn’t work. I’ll give it 1/2 simply because it looks pretty!

[easyreview title=”Dummy rating” icon=”dummy” cat1title=”Ease of use” cat1detail=”Well, it only works as an expensive stand” cat1rating=”0.5″ cat2title=”Features” cat2detail=”Simply doesn’t work as described for the iPhone 5″ cat2rating=”0″ cat3title=”Value for money” cat3detail=”Mmmmmm!! Feel like I’ve been conned on this purchase” cat3rating=”0″ cat4title=”Build Quality” cat4detail=”It’s a shame it doesn’t work. It’s very nicely built” cat4rating=”4″ summary=”I’d seriously avoid this if you are after an iPhone 5 dock. It’s useless.”]

This slideshow requires JavaScript.