Mike Preston Site Reliability Team Lead at News UK https://mikepreston.org/ End Week 1 Review <p>So this was my first week working full-time for Bauer remotely.</p> Fri, 06 May 2016 00:00:00 +0000 https://www.mikepreston.org/2016/05/06/end-week-1-review.html https://mikepreston.org/2016/05/06/end-week-1-review.html Going Fulltime <p>Some of the people that follow me on Twitter or Facebook may be aware that my contract came to its completion at the end of April.</p> Tue, 03 May 2016 00:00:00 +0000 https://www.mikepreston.org/2016/05/03/going-fulltime.html https://mikepreston.org/2016/05/03/going-fulltime.html Devops And The Future <p><img class="aligncenter size-full wp-image-243" src="/uploads/2015/12/devops-100314993-primary.idge_.jpg" alt="DevOps" width="620" height="413" />We have come to a turning point in the evolution of the DevOps movement.</p> Mon, 28 Dec 2015 00:00:00 +0000 https://www.mikepreston.org/2015/12/28/devops-and-the-future.html https://mikepreston.org/2015/12/28/devops-and-the-future.html 10 New Years Resolutions For It Pros <p><img class="aligncenter wp-image-242 size-large" src="/uploads/2015/12/NEW-YEARS-RESOLUTIONS-calendar-1024x512.jpg" alt="1st of January" width="500" height="250" /></p> Sun, 27 Dec 2015 00:00:00 +0000 https://www.mikepreston.org/2015/12/27/10-new-years-resolutions-for-it-pros.html https://mikepreston.org/2015/12/27/10-new-years-resolutions-for-it-pros.html Under The Hood Of My Hack24 Entry <p>I competed by myself at <a href="http://www.hack24.co.uk/">hack24</a>. I don’t see competing alone as a massive issue personally, as it cuts down communication overhead by a massive amount. ;)</p> Tue, 05 May 2015 00:00:00 +0000 https://www.mikepreston.org/2015/05/05/under-the-hood-of-my-hack24-entry.html https://mikepreston.org/2015/05/05/under-the-hood-of-my-hack24-entry.html Microservices Payload Design <p>There are a lot of people talking about microservices at present. I understand it is fashionable and a lot of people are trying to get rich from consulting in the domain, but a lot of the things I hear are just plain wrong or bad practice.</p> Mon, 30 Mar 2015 00:00:00 +0000 https://www.mikepreston.org/2015/03/30/microservices-payload-design.html https://mikepreston.org/2015/03/30/microservices-payload-design.html What Are You Waiting For <blockquote>Are you waiting on a lightening strike? Are you waiting for the perfect night? Are you waiting till the time is right? What are you waiting for? </blockquote> Tue, 11 Nov 2014 00:00:00 +0000 https://www.mikepreston.org/2014/11/11/what-are-you-waiting-for.html https://mikepreston.org/2014/11/11/what-are-you-waiting-for.html Just Say No <p>Some time back I became aware that I said “Yes” to too many things. I liked to please people and taking on additional burdens didn’t seem like it was much of a problem.</p> Tue, 11 Nov 2014 00:00:00 +0000 https://www.mikepreston.org/2014/11/11/just-say-no.html https://mikepreston.org/2014/11/11/just-say-no.html Quick Good Or Cheap Choose Two <p>I often go to start-up events and I am still suprised how few people even bother to do even basic sanity checking about their business idea.</p> Mon, 03 Nov 2014 00:00:00 +0000 https://www.mikepreston.org/2014/11/03/quick-good-or-cheap-choose-two.html https://mikepreston.org/2014/11/03/quick-good-or-cheap-choose-two.html Instant Messaging <p>I was asked after my <a title="Email overload" href="http://www.mikepreston.org/2014/11/01/email-overload/">last post</a> what I used for instant messaging. The answer is kinda interesting in my opinion.</p> Sat, 01 Nov 2014 00:00:00 +0000 https://www.mikepreston.org/2014/11/01/instant-messaging.html https://mikepreston.org/2014/11/01/instant-messaging.html Email Overload <p>Ask anyone that has been online with the same email address for more than a few years and you’ll rarely hear them say that they have no issue with spam.</p> Sat, 01 Nov 2014 00:00:00 +0000 https://www.mikepreston.org/2014/11/01/email-overload.html https://mikepreston.org/2014/11/01/email-overload.html Bi Phasic Sleeping <p>Now that I don’t have to get up for work at a fixed time, my body seems to be heading towards a biphasic state; which I am told is natural for humans and what our ancestors did.</p> Sat, 01 Nov 2014 00:00:00 +0000 https://www.mikepreston.org/2014/11/01/bi-phasic-sleeping.html https://mikepreston.org/2014/11/01/bi-phasic-sleeping.html Moving On <p>After tomorrow I wont be an employee of <a title="Synety" href="http://www.synety.com/">Synety</a> anymore.</p> Thu, 30 Oct 2014 00:00:00 +0000 https://www.mikepreston.org/2014/10/30/moving-on.html https://mikepreston.org/2014/10/30/moving-on.html Gravatar <p>I recently implemented gravatar on a site for a friend and he was worried about the security of the 3rd party service.</p> Thu, 30 Oct 2014 00:00:00 +0000 https://www.mikepreston.org/2014/10/30/gravatar.html https://mikepreston.org/2014/10/30/gravatar.html Learnings Part 4 <h2>9) Business decisions should not be taken personally.</h2> <p>Getting fired always hurts one way or another. It hurts you - you wont be getting paid for that job any more. It hurts your boss - It isn’t pleasant knowing you are putting someone in that position and it hurts your colleagues.</p> Fri, 24 Oct 2014 00:00:00 +0000 https://www.mikepreston.org/2014/10/24/learnings-part-4.html https://mikepreston.org/2014/10/24/learnings-part-4.html Learnings Part 3 <h2>6) You don't need to suffer in a job</h2> <p>It has taken me a long time to realise it, but the most important things in life are not how much money you bring home or how many hours you spend at work. You wont be lying on your deathbed thinking “I wish I had spent more time at work”.</p> Tue, 21 Oct 2014 00:00:00 +0000 https://www.mikepreston.org/2014/10/21/learnings-part-3.html https://mikepreston.org/2014/10/21/learnings-part-3.html Learnings Part 2 <p>This post will be a little shorter than the <a title="Learnings" href="http://www.mikepreston.org/2014/10/07/learnings/">previous one</a>, but I hope you still find some value in it.</p> <h2><a title="People" href="https://twitter.com/darkflib/status/505748595073896448">3) People will be nice when they perceive things going their way.</a></h2> <p>Everyone loves good news. It lifts mood and makes them far more hopeful about the future. They tend to also be easier to get along with and more generous in time and money or other resources.</p> Fri, 10 Oct 2014 00:00:00 +0000 https://www.mikepreston.org/2014/10/10/learnings-part-2.html https://mikepreston.org/2014/10/10/learnings-part-2.html Is Coding Art <p>I was recently asked this question and after lengthy contemplation I have to argue that as most people practice it no, it is not art.</p> Fri, 10 Oct 2014 00:00:00 +0000 https://www.mikepreston.org/2014/10/10/is-coding-art.html https://mikepreston.org/2014/10/10/is-coding-art.html Logitech G510 Keyboard Gb Under Wheezy <p>My previous keyboard (a cheap and nasty replacement for an IBM Model M) started to die recently.</p> Thu, 09 Oct 2014 00:00:00 +0000 https://www.mikepreston.org/2014/10/09/logitech-g510-keyboard-gb-under-wheezy.html https://mikepreston.org/2014/10/09/logitech-g510-keyboard-gb-under-wheezy.html Learnings <p><a title="Learnings" href="https://twitter.com/darkflib/status/505748423371677696">A few months ago I posted a list on twitter about 10 things I have learnt in my career</a>; things that I wish I’d have known at the start of my career.</p> Tue, 07 Oct 2014 00:00:00 +0000 https://www.mikepreston.org/2014/10/07/learnings.html https://mikepreston.org/2014/10/07/learnings.html Life And Work <p>I currently have just under a month left before I leave Synety. I haven’t yet got anything concrete lined up, so I am looking at options…</p> Fri, 03 Oct 2014 00:00:00 +0000 https://www.mikepreston.org/2014/10/03/life-and-work.html https://mikepreston.org/2014/10/03/life-and-work.html Mopsa Rip <p>Last Friday I was getting Mopsa one of Sam’s owls in from the weathering when we were both startled by one of the ferrets jumping at the bars.</p> Mon, 29 Sep 2014 00:00:00 +0000 https://www.mikepreston.org/2014/09/29/mopsa-rip.html https://mikepreston.org/2014/09/29/mopsa-rip.html Uk Registry Notice <p>I just received this notice, it doesn’t affect me directly, but is certainly interesting in that it may mean a lot of premium .uk domains being up for grabs soon…</p> <blockquote>Nominet, the .UK registry, has introduced a new <strong><em>Data Quality Policy.</em></strong> This policy requires that both the registrant name and address be verified against a third-party data source. For each domain registration or update, Nominet will try to validate the registrant name and address using their own data sources. If Nominet is not able to complete this validation, they will ask the registrar to have the data verified. Domains that do not complete the verification within 30 days will be suspended and can no longer be renewed or transferred. </blockquote> Fri, 19 Sep 2014 00:00:00 +0000 https://www.mikepreston.org/2014/09/19/uk-registry-notice.html https://mikepreston.org/2014/09/19/uk-registry-notice.html Thoughts On Incubators <p>I recently saw a <a title="Entrepreneurs are 'drowning'" href="http://www.worldfinance.com/markets/technology/entrepreneurs-are-drowning-in-incubators-says-tech-expert-of-governments-silicon-roundabout-video">video</a> that essentially said that we don’t need incubators anymore; that they don’t really give people what they need; that people can work from their kitchen because they have broadband at home.</p> Thu, 17 Apr 2014 00:00:00 +0000 https://www.mikepreston.org/2014/04/17/thoughts-on-incubators.html https://mikepreston.org/2014/04/17/thoughts-on-incubators.html The Fallacy Of Estimation Or Why Agile Needs Noestimates <p>Over the past month I have been talking to a few friends about their agile development projects. They are using different languages, with different size teams and most of them are tracking their projects using estimates of one form or another.</p> Thu, 02 Jan 2014 00:00:00 +0000 https://www.mikepreston.org/2014/01/02/the-fallacy-of-estimation-or-why-agile-needs-noestimates.html https://mikepreston.org/2014/01/02/the-fallacy-of-estimation-or-why-agile-needs-noestimates.html How Much Is Too Much <p>I’ve worked for a number of start-ups and so far have seen about half of them fail. I don’t see this as a personal judgement, more about it being the nature of start-ups.</p> Wed, 01 Jan 2014 00:00:00 +0000 https://www.mikepreston.org/2014/01/01/how-much-is-too-much.html https://mikepreston.org/2014/01/01/how-much-is-too-much.html 10 Predictions For 2014 <h3>1. Bitcoin and other virtual currencies will become more widespread</h3> <p>There is a lot of momentum behind virtual currencies at present and while there is a lot of hype, there is some real progress being made.</p> Wed, 01 Jan 2014 00:00:00 +0000 https://www.mikepreston.org/2014/01/01/10-predictions-for-2014.html https://mikepreston.org/2014/01/01/10-predictions-for-2014.html Post Devopsdays Ignite Talk Post Mortem <p>It has been around one and a half months since I gave my talk on <a title="Burnout - The elephant in the room" href="http://vimeo.com/79408326">burnout</a> at DevOpsDays - London and it has been an odd time for me.</p> Sat, 21 Dec 2013 00:00:00 +0000 https://www.mikepreston.org/2013/12/21/post-devopsdays-ignite-talk-post-mortem.html https://mikepreston.org/2013/12/21/post-devopsdays-ignite-talk-post-mortem.html Banks 2 0 <p>Just a brain dump after a conversation with a friend:</p> <blockquote>Friend: How widespread do  you think this will become? Friend: i.e., in our 60's, do you think we'll be able to buy  groceries with BTC ? Friend: or something similar Mike : bitcoin will die in a year or two... something else will replace it... Friend: you think!? Mike : the problem with BTC as it stands is that it is being hyped too much... Mike : it is a bubble... Mike : but you can't tell when it will burst Friend: i'll agree Mike : it might be tomorrow... it might be a year from now... Mike : but it is paving the way for what will come afterwards... Friend: just getting really tired of USD Mike : and it will usher in a new world where many virtual currencies all co-exist... Mike : where the actual currency it is stored in is transparent to you, since your bank balances them... buying and selling to try to make the best return for you... Friend: i doubt that..the bank would never give you anything good...but i'm cynical about banking Mike : you will probably see a single value... a USD equiv most likely... that you own... Mike : which will fluctuate day to day as exchange rates change and banks buy and sell your currencies in the background Mike : these aren't traditional banks... these are banks 2.0</blockquote> <p>Will there be risk? Yes, we are talking about systems where people can game them, where hacking will be a serious risk, where anonymity is valued.</p> Sun, 24 Nov 2013 00:00:00 +0000 https://www.mikepreston.org/2013/11/24/banks-2-0.html https://mikepreston.org/2013/11/24/banks-2-0.html Pricing For Use Cases <p>It is very common to see mismatches in pricing for significant demographics in your audience.</p> Mon, 18 Nov 2013 00:00:00 +0000 https://www.mikepreston.org/2013/11/18/pricing-for-use-cases.html https://mikepreston.org/2013/11/18/pricing-for-use-cases.html Scaling Featureswitches <p>I was recently helping out a friend’s company to scale out. This details some of the issues that were faced when scaling out the code for the feature switches.</p> Sun, 17 Nov 2013 00:00:00 +0000 https://www.mikepreston.org/2013/11/17/scaling-featureswitches.html https://mikepreston.org/2013/11/17/scaling-featureswitches.html Pushing Tin A Film About Burnout <p>At DevOpsDays someone (I forget who, but thanks anyway) recommended ‘Pushing Tin’ as a recommended film that mentions burnout.</p> Thu, 14 Nov 2013 00:00:00 +0000 https://www.mikepreston.org/2013/11/14/pushing-tin-a-film-about-burnout.html https://mikepreston.org/2013/11/14/pushing-tin-a-film-about-burnout.html Decoupling Processes For Fun And Profit <p>I’ve been working with a friend on the architecture of a new app. It is designed to scale out horizontally and to have less points of failure. To this end we have tried to keep all processes decoupled by using a message bus (specificly RabbitMQ)</p> Thu, 14 Nov 2013 00:00:00 +0000 https://www.mikepreston.org/2013/11/14/decoupling-processes-for-fun-and-profit.html https://mikepreston.org/2013/11/14/decoupling-processes-for-fun-and-profit.html Burnout Is A Security Issue Too <p>If we define security using the CIA triad of Confidentiality, Integrity and Availability and apply it to staff in your organisation, then burnout is a failure in at least Integrity and Availability.</p> Thu, 14 Nov 2013 00:00:00 +0000 https://www.mikepreston.org/2013/11/14/burnout-is-a-security-issue-too.html https://mikepreston.org/2013/11/14/burnout-is-a-security-issue-too.html Post Ignite Stuff <p><em>I’m not going to talk about the content of the ignite too much in this post as you will soon be able to watch the video on vimeo (I’ll link when available), mostly my feelings about it.</em></p> Wed, 13 Nov 2013 00:00:00 +0000 https://www.mikepreston.org/2013/11/13/post-ignite-stuff.html https://mikepreston.org/2013/11/13/post-ignite-stuff.html Devopsdays Positives <p>I prefer to get the negatives out of the way first (You can find them in the previous post) since it is these we can learn so much from (and turn them into positives in the process)</p> Wed, 13 Nov 2013 00:00:00 +0000 https://www.mikepreston.org/2013/11/13/devopsdays-positives.html https://mikepreston.org/2013/11/13/devopsdays-positives.html Devopsdays Negatives <p>WOW! It has been an amazing couple of days.</p> Wed, 13 Nov 2013 00:00:00 +0000 https://www.mikepreston.org/2013/11/13/devopsdays-negatives.html https://mikepreston.org/2013/11/13/devopsdays-negatives.html Blog Rot <p>I don’t update this blog as much as I probably should. I tend to throw my thoughts onto twitter or facebook (twitter more professional career stuff and facebook more personal stuff - not that it was planned that way).</p> Wed, 13 Nov 2013 00:00:00 +0000 https://www.mikepreston.org/2013/11/13/blog-rot.html https://mikepreston.org/2013/11/13/blog-rot.html Hosting Infrastructure <p>I’ve worked for/with many companies over the years - many of them start-ups and from time to time I get asked where I host my own projects or have I got any experience with x company.</p> Sun, 10 Mar 2013 00:00:00 +0000 https://www.mikepreston.org/2013/03/10/hosting-infrastructure.html https://mikepreston.org/2013/03/10/hosting-infrastructure.html Web Developer Tools <p>I rarely have to touch HTML and CSS the majority of the time - one of the things that comes with being an infrastructure engineer and dealing with back-end systems on a day to day basis. However, when I do need to build something, it is often that I don’t have all the pieces needed to do so. Perhaps I don’t have the images or text and have to use placeholders for them.</p> Sat, 09 Mar 2013 00:00:00 +0000 https://www.mikepreston.org/2013/03/09/web-developer-tools.html https://mikepreston.org/2013/03/09/web-developer-tools.html Font Squirrel Font Downloader <p>I’ve used <a title="Font Squirrel" href="http://www.fontsquirrel.com/">fontsquirrel.com</a> for a long time and really respect the work it does.</p> Sun, 10 Feb 2013 00:00:00 +0000 https://www.mikepreston.org/2013/02/10/font-squirrel-font-downloader.html https://mikepreston.org/2013/02/10/font-squirrel-font-downloader.html Just The Tonic <p>Still getting fallout on twitter (see it on <a title="justthetonic" href="http://twitter.com/@justthetonic">@darkflib</a> ) after the issues at just the tonic comedy club in Leicester.</p> Sun, 28 Oct 2012 00:00:00 +0000 https://www.mikepreston.org/2012/10/28/just-the-tonic.html https://mikepreston.org/2012/10/28/just-the-tonic.html Qwikshortener On Github <p>I have OpenSourced the original code for my tinyurl system. It has been clocked at 200 requests/second on the 256Meg Cloud Servers on Rackspace Cloud and is fairly simple to extend.</p> Sun, 30 Sep 2012 00:00:00 +0000 https://www.mikepreston.org/2012/09/30/qwikshortener-on-github.html https://mikepreston.org/2012/09/30/qwikshortener-on-github.html Life P My Move To Synety And Coming Blog Posts <p>For those that are in contact with me regularly, you will be aware that about 2 months back I took a position with an established startup called <a title="Synety Group plc." href="https://www.synety.com/">Synety</a>.</p> Sun, 30 Sep 2012 00:00:00 +0000 https://www.mikepreston.org/2012/09/30/life-p-my-move-to-synety-and-coming-blog-posts.html https://mikepreston.org/2012/09/30/life-p-my-move-to-synety-and-coming-blog-posts.html Exit Strategies Flipping Evil 2 <p><em>Note: this is a draft that has been lingering in the drafts folder for a few months, I am posting it here incomplete as I feel it is worth doing so…</em></p> Wed, 15 Aug 2012 00:00:00 +0000 https://www.mikepreston.org/2012/08/15/exit-strategies-flipping-evil-2.html https://mikepreston.org/2012/08/15/exit-strategies-flipping-evil-2.html Rock Cakes <p>I don’t follow recipes well, I use my eyes to see how stuff looks and if I feel it needs some more liquid or is too fluid I compensate.</p> Thu, 21 Jun 2012 00:00:00 +0000 https://www.mikepreston.org/2012/06/21/rock-cakes.html https://mikepreston.org/2012/06/21/rock-cakes.html A Look At The New Rackspace Cloud <p>I have been very lucky to be included in the first rollout of the new rackspace cloud and while it has been live (to me) for a few days, I have only just had a few minutes to have a play with it.<!--more--></p> Sat, 05 May 2012 00:00:00 +0000 https://www.mikepreston.org/2012/05/05/a-look-at-the-new-rackspace-cloud.html https://mikepreston.org/2012/05/05/a-look-at-the-new-rackspace-cloud.html Humanure Handbook <p>I was talking to some people a couple of weeks ago about composting toilets…</p> Sat, 17 Mar 2012 00:00:00 +0000 https://www.mikepreston.org/2012/03/17/humanure-handbook.html https://mikepreston.org/2012/03/17/humanure-handbook.html Can Paas And Devops Co Exist <p>They are aimed at two very different markets and as such I don’t see the issue…</p> Sat, 17 Mar 2012 00:00:00 +0000 https://www.mikepreston.org/2012/03/17/can-paas-and-devops-co-exist.html https://mikepreston.org/2012/03/17/can-paas-and-devops-co-exist.html 10 Things Any Newbie Developer Needs To Know <p><strong>PHP or other language</strong></p> Sat, 17 Mar 2012 00:00:00 +0000 https://www.mikepreston.org/2012/03/17/10-things-any-newbie-developer-needs-to-know.html https://mikepreston.org/2012/03/17/10-things-any-newbie-developer-needs-to-know.html Lessons I Learned From Building Startups <p>Sysdom isn’t my first startup, it isn’t even my second, but comes some way down the list at 3 or 4 (or 8 or 9 depending on whether you want to count startups that I didn’t have equity in). In that time I have made mistakes (oh so many mistakes), but I have learned from them and tend to make completely new mistakes the next time around. ;)</p> Wed, 04 Jan 2012 00:00:00 +0000 https://www.mikepreston.org/2012/01/04/lessons-i-learned-from-building-startups.html https://mikepreston.org/2012/01/04/lessons-i-learned-from-building-startups.html Mongodb Journalling <p>A quick one if you are wondering about MongoDB and Journalling (especially on Debian/Ubuntu from the MongoDB repo) .</p> Sat, 10 Dec 2011 00:00:00 +0000 https://www.mikepreston.org/2011/12/10/mongodb-journalling.html https://mikepreston.org/2011/12/10/mongodb-journalling.html Mongo Benchmarking 1 <p>These aren’t perfect benchmarks - far from it in fact - but I just wanted to get a rough idea of the relative tradeoffs between fsync and safe over normal unsafe writes…</p> Sat, 10 Dec 2011 00:00:00 +0000 https://www.mikepreston.org/2011/12/10/mongo-benchmarking-1.html https://mikepreston.org/2011/12/10/mongo-benchmarking-1.html Bash Tip 1 <p>Often when operating on the commandline you may want to re-execute something with elevated privileges. There is a shorthand way to do this rather than either cutting and pasting or retyping the line.</p> <pre>mike@mike-P35C-DX3R:~$ updatedb updatedb: can not open a temporary file for '/var/lib/mlocate/mlocate.db' mike@mike-P35C-DX3R:~$ sudo !! sudo updatedb </pre> Wed, 30 Nov 2011 00:00:00 +0000 https://www.mikepreston.org/2011/11/30/bash-tip-1.html https://mikepreston.org/2011/11/30/bash-tip-1.html Nginx Virtual Host Ordering <p>Just a quick note.</p> Fri, 25 Nov 2011 00:00:00 +0000 https://www.mikepreston.org/2011/11/25/nginx-virtual-host-ordering.html https://mikepreston.org/2011/11/25/nginx-virtual-host-ordering.html Case Study Optimising A Cloud Application <p>I was recently brought in to examine the infrastructure of a small startup. This wasn’t anything really special, I do it quite often for various reasons. What was different was that they didn’t have issues with scaling out particularly - they had that working well with their shared nothing web application and mongodb backend. What they were having issues with was their infrastructure costs.</p> Thu, 24 Nov 2011 00:00:00 +0000 https://www.mikepreston.org/2011/11/24/case-study-optimising-a-cloud-application.html https://mikepreston.org/2011/11/24/case-study-optimising-a-cloud-application.html Rackspace Huddles <p>I’m not a Rackspace expert - far from it, however I do use the Rackspace cloud often, both as a personal customer, a business customer and for various clients. I will try to lay out how I believe it all works and how this impacts you the end user.</p> Wed, 23 Nov 2011 00:00:00 +0000 https://www.mikepreston.org/2011/11/23/rackspace-huddles.html https://mikepreston.org/2011/11/23/rackspace-huddles.html Fastcgi Php And Supervisord <p>Nginx wont auto-spawn workers if they don’t exist so you do need to start them outside of Nginx. Many people use the spawn-fastcgi script or some other startup script to do it, but the smart people use a process monitor.</p> Wed, 23 Nov 2011 00:00:00 +0000 https://www.mikepreston.org/2011/11/23/fastcgi-php-and-supervisord.html https://mikepreston.org/2011/11/23/fastcgi-php-and-supervisord.html Gearman Coalescing With The Unique Id <p>Many people on both the mailing lists and across the net seem to be slightly confused as to the coalescing features of gearman. I will try to explain what it is and how it works here…</p> Mon, 26 Sep 2011 00:00:00 +0000 https://www.mikepreston.org/2011/09/26/gearman-coalescing-with-the-unique-id.html https://mikepreston.org/2011/09/26/gearman-coalescing-with-the-unique-id.html Gearman Admin Interface <p>I have recently been playing with gearman for a big project for one of our clients here at <a title="Sysdom" href="http://www.sysdom.com/">Sysdom</a>. Getting it up and running was super easy, but we needed to integrate monitoring into our admin pages, so here is a little piece of code to get you up and running…</p> <pre><strong><tt></tt></strong>&lt;?php error_reporting(E_ALL); </pre> Mon, 26 Sep 2011 00:00:00 +0000 https://www.mikepreston.org/2011/09/26/gearman-admin-interface.html https://mikepreston.org/2011/09/26/gearman-admin-interface.html Why A Sysadmin <p>I never intended to become a system administrator out of choice, it just kinda happened. What follows is a rough account of my history of computers since around 1995. I omit mentions of specific companies I worked for and with and any systems I owned prior to 1995 (of which there were many, but no PC compatibles). This isn’t a perfect recount, some details are lost in the mists of time, but I hope it gives you the gist of it all.<!--more--></p> Sat, 14 May 2011 00:00:00 +0000 https://www.mikepreston.org/2011/05/14/why-a-sysadmin.html https://mikepreston.org/2011/05/14/why-a-sysadmin.html Ubuntu 11 04 <p>I upgraded from Ubuntu 10.10 to 11.04 and so far I’m impressed.</p> Mon, 09 May 2011 00:00:00 +0000 https://www.mikepreston.org/2011/05/09/ubuntu-11-04.html https://mikepreston.org/2011/05/09/ubuntu-11-04.html Dc Appliances <p>Those that know me know that I to get myself a boat soon. While this isn’t definite, it still makes no sense to buy new equipment that is unusable on a boat due to such undesirable features such as power consumption, size etc.</p> Mon, 09 May 2011 00:00:00 +0000 https://www.mikepreston.org/2011/05/09/dc-appliances.html https://mikepreston.org/2011/05/09/dc-appliances.html Book Review Jquery Novice To Ninja 910 <p>I have bad memories of some sitepoint books when I was learning PHP, there were many errors and the editing seemed shoddy, so I was pleasantly suprised when I read <a title="JQuery Novice to Ninja on Amazon" href="http://www.amazon.com/gp/product/0980576857/ref=as_li_ss_tl?ie=UTF8&amp;tag=blogtechnomon-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399349&amp;creativeASIN=0980576857">JQuery Novice to Ninja.</a></p> Sun, 08 May 2011 00:00:00 +0000 https://www.mikepreston.org/2011/05/08/book-review-jquery-novice-to-ninja-910.html https://mikepreston.org/2011/05/08/book-review-jquery-novice-to-ninja-910.html Printable Ceo Tasks Up Organiser <p>I’m trying a new way to manage tasks, I am hopelessly disorganised at times and while I have tried computer based systems I find that I just don’t work the way they want me to. Paper is better, but unless I can keep it organised I just end up with a massive pile of notes sticking out the front of my keyboard, but paper does seem to work better…</p> Sat, 07 May 2011 00:00:00 +0000 https://www.mikepreston.org/2011/05/07/printable-ceo-tasks-up-organiser.html https://mikepreston.org/2011/05/07/printable-ceo-tasks-up-organiser.html Managing Developers A Top 10 List Of Why You Dont Get On Well With Your Developer <p>Managing geeks is hard, not because there is anything fundementally difficult about it but because managers just don’t understand them. A few people have written at length about this online including some fairly <a title="Computer World" href="http://www.computerworld.com/s/article/9137708/Opinion_The_unspoken_truth_about_managing_geeks">books</a>.</p> Sat, 07 May 2011 00:00:00 +0000 https://www.mikepreston.org/2011/05/07/managing-developers-a-top-10-list-of-why-you-dont-get-on-well-with-your-developer.html https://mikepreston.org/2011/05/07/managing-developers-a-top-10-list-of-why-you-dont-get-on-well-with-your-developer.html 54tips <p><a href="http://www.stumbleupon.com/su/1wbtzK/abundance-blog.marelisa-online.com/2009/05/24/54-tips-for-writers-from-writers/?utm_source=ffp&amp;utm_medium=link&amp;utm_campaign=ffp">54 Tips for writers from writers</a></p> Mon, 02 May 2011 00:00:00 +0000 https://www.mikepreston.org/2011/05/02/54tips.html https://mikepreston.org/2011/05/02/54tips.html Geek Work <p>This isn’t aimed at any one person, but it explains my thoughts on how geeks (especially me) work…</p> Sat, 30 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/30/geek-work.html https://mikepreston.org/2011/04/30/geek-work.html Wearable Exo Skeletons <p><a href="http://www.ted.com/talks/eythor_bender_demos_human_exoskeletons.html">Wearable exoskeletons…</a></p> Thu, 28 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/28/wearable-exo-skeletons.html https://mikepreston.org/2011/04/28/wearable-exo-skeletons.html Technology Happiness <p>It has been said that “<em>Science and Technology bring nothing to human happiness</em>” and that “<em>many of us are unable to perform even the simplest tasks to maintain the complex machines we depend upon for eating, communication, working and entertainment</em>” and while to some extent they are true, we are only looking at part of the picture… <!--more--> Let us explore these ideas from the two extremes. I personally would define technology as any development stemming from the human mind that makes life easier or gains us abilities that we alone do not possess and science is a process to try to understand the underpinnings of the world. While not the same, they do overlap and compliment each other - using scientific theories to develop better technology and building technology to better hone scientific theories. (Note that religion doesn’t enter into this.)</p> Thu, 28 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/28/technology-happiness.html https://mikepreston.org/2011/04/28/technology-happiness.html Failure <p>It used to be that I was afraid of failure. It wasn’t something I was born with it just tended to evolve over my life. I was fairly risk-averse depending on what was put on the line.</p> Thu, 28 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/28/failure.html https://mikepreston.org/2011/04/28/failure.html 10 Things Any Newbie Web Developer Should Know <p>I’m not saying that a newbie should know all these off the bat. It takes years to be proficient in the majority of these, but just knowing what they are and why they are important will put you a couple of notches higher than most other newbies.<!--more--></p> Thu, 28 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/28/10-things-any-newbie-web-developer-should-know.html https://mikepreston.org/2011/04/28/10-things-any-newbie-web-developer-should-know.html Lets Revive The Golden Rule <p><a href="http://www.ted.com/talks/karen_armstrong_let_s_revive_the_golden_rule.html">Lets revive the golden rule… </a></p> Tue, 26 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/26/lets-revive-the-golden-rule.html https://mikepreston.org/2011/04/26/lets-revive-the-golden-rule.html Misinformation In Left Wing Economics And The Future Of Our World <p>I hear a lot of people arguing among themselves that “capitalism is failing; we can’t keep up growth in this resource scarce world we are now living in.”</p> Sun, 24 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/24/misinformation-in-left-wing-economics-and-the-future-of-our-world.html https://mikepreston.org/2011/04/24/misinformation-in-left-wing-economics-and-the-future-of-our-world.html Break The Shackles <p><em>“The few own the many because they possess the means of livelihood of all … The country is governed for the richest, for the corporations, the bankers, the land speculators, and for the exploiters of labour. The majority of mankind are working people. So long as their fair demands - the ownership and control of their livelihoods - are set at naught, we can have neither men’s rights nor women’s rights. The majority of mankind is ground down by industrial oppression in order that the small remnant may live in ease.” — Helen Keller, 1911</em></p> Wed, 20 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/20/break-the-shackles.html https://mikepreston.org/2011/04/20/break-the-shackles.html Perfectionism <div> <div> </div></div> Sun, 17 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/17/perfectionism.html https://mikepreston.org/2011/04/17/perfectionism.html In A Galaxy Far Far Away <p><img class="alignleft" title="In a galaxy far far away..." src="http://i.imgur.com/WhHur.jpg" alt="" width="500" height="980" /></p> Sun, 17 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/17/in-a-galaxy-far-far-away.html https://mikepreston.org/2011/04/17/in-a-galaxy-far-far-away.html Why I Seldom Code Anymore <p>I enjoy coding. It allows me to scratch personal itches and depending on who you ask I am pretty good at it… but I rarely do it anymore.</p> Sat, 16 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/16/why-i-seldom-code-anymore.html https://mikepreston.org/2011/04/16/why-i-seldom-code-anymore.html Who Am I <ul> <li>I am a geek</li> <li>I have wrote a lot of software</li> <li>I have been interviewed on radio and podcasts</li> <li>I have worked for some big companies</li> <li>I have worked for some start-ups, some that succeeded</li> <li>I am a tree-hugging hippy</li> </ul> <p>Do any of these really tell you who I am? I don’t think so. Each of them touches on a facet of my life or who I am without really telling you anything about me, but on a daily basis people jump to conclusions from this much information or less - kinda sad really… :(</p> Sat, 16 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/16/who-am-i.html https://mikepreston.org/2011/04/16/who-am-i.html Sorting Algorithms <p>[yframe url=’http://www.youtube.com/watch?v=lyZQPjUT5B4’]</p> Sat, 16 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/16/sorting-algorithms.html https://mikepreston.org/2011/04/16/sorting-algorithms.html Small Changes <p>It’s interesting how sometimes even small changes can have big results in life.</p> Sat, 16 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/16/small-changes.html https://mikepreston.org/2011/04/16/small-changes.html Online Businesses <p>Many people at one time or another have the idea of setting up an online business. Taking control of your future and reaping the rewards for your own hard graft is great, but not everyone knows what they are doing…<!--more--></p> Sat, 16 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/16/online-businesses.html https://mikepreston.org/2011/04/16/online-businesses.html Inception <p>[yframe url=’http://www.youtube.com/watch?v=ZB0PyyLNIV4’]</p> Sat, 16 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/16/inception.html https://mikepreston.org/2011/04/16/inception.html Homeopathic Ae <p>[yframe url=’http://www.youtube.com/watch?v=HMGIbOGu8q0’]</p> Sat, 16 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/16/homeopathic-ae.html https://mikepreston.org/2011/04/16/homeopathic-ae.html Bricks And Water <p>Many people that know me know that I am hoping to get my boat this year. Some people ‘get’ why I want to move onto one, but many don’t…</p> Sat, 16 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/16/bricks-and-water.html https://mikepreston.org/2011/04/16/bricks-and-water.html 10 Ways To Deal With Our Own Negativity And Deprivation <p><a href="http://www.elephantjournal.com/2011/04/10-ways-to-deal-with-our-own-negativity-and-deprivation/">10 ways to deal with negativity and depression</a></p> Sat, 16 Apr 2011 00:00:00 +0000 https://www.mikepreston.org/2011/04/16/10-ways-to-deal-with-our-own-negativity-and-deprivation.html https://mikepreston.org/2011/04/16/10-ways-to-deal-with-our-own-negativity-and-deprivation.html 22 <p>[yframe url=’http://www.youtube.com/watch?v=u6XAPnuFjJc’]</p> Tue, 15 Mar 2011 00:00:00 +0000 https://www.mikepreston.org/2011/03/15/22.html https://mikepreston.org/2011/03/15/22.html Small Solutions To Big Problems <p>[yframe url=’http://www.youtube.com/watch?v=dkLcwHmnPV4’]</p> Mon, 14 Mar 2011 00:00:00 +0000 https://www.mikepreston.org/2011/03/14/small-solutions-to-big-problems.html https://mikepreston.org/2011/03/14/small-solutions-to-big-problems.html Where Do You Wor <p>I work from home. I admit it…</p> Sun, 13 Mar 2011 00:00:00 +0000 https://www.mikepreston.org/2011/03/13/where-do-you-wor.html https://mikepreston.org/2011/03/13/where-do-you-wor.html Romannumerals <p>I needed a function to convert dates to their Roman numeric equivalents. The rules are pretty easy to understand so I thought I’d knock up a function.</p> <pre>function numerals($num) { //You are free to use this function under a BSD license //essentially cost free, no code taint, //but you must leave my copyright in. //(c)MMXI Mike Preston mikepreston.org $out=''; while ($num &gt; 0) { if ($num &gt;= 1000) { $out.='M'; $num=$num - 1000; } else if ($num &gt;= 900) { $out.='CM'; $num=$num - 900; } else if ($num &gt;= 500) { $out.='D'; $num=$num - 500; } else if ($num &gt;= 400) { $out.='CD'; $num=$num - 400; } else if ($num &gt;= 100) { $out.='C'; $num=$num - 100; } else if ($num &gt;= 90) { $out.='XC'; $num=$num - 90; } else if ($num &gt;= 50) { $out.='L'; $num=$num - 50; } else if ($num &gt;= 40) { $out.='XL'; $num=$num - 40; } else if ($num &gt;= 10) { $out.='X'; $num=$num - 10; } else if ($num &gt;= 9) { $out.='IX'; $num=$num - 9; } else if ($num &gt;= 5) { $out.='V'; $num=$num - 5; } else if ($num &gt;= 4) { $out.='IV'; $num=$num - 4; } else { $out.='I'; $num=$num - 1; } } return $out; } </pre> <p>Test Code</p> <pre>echo "&lt;pre&gt;Test Start\n"; echo numerals(1) . " - 1\n"; echo numerals(4) . " - 4\n"; echo numerals(5) . " - 5\n"; echo numerals(9) . " - 9\n"; echo numerals(10) . " - 10\n"; echo numerals(40) . " - 40\n"; echo numerals(50) . " - 50\n"; echo numerals(90) . " - 90\n"; echo numerals(100) . " - 100\n"; echo numerals(400) . " - 400\n"; echo numerals(500) . " - 500\n"; echo numerals(900) . " - 900\n"; echo numerals(1000) . " - 1000\n"; echo numerals(2000) . " - 2000\n"; echo numerals(1999) . " - 1999\n"; echo numerals(2001) . " - 2001\n"; echo numerals(2010) . " - 2010\n"; echo numerals(2011) . " - 2011\n"; </pre> Sun, 13 Mar 2011 00:00:00 +0000 https://www.mikepreston.org/2011/03/13/romannumerals.html https://mikepreston.org/2011/03/13/romannumerals.html Clickjack <p><a href="http://nakedsecurity.sophos.com/2011/03/12/what-is-foutube-viral-facebook-clickjacking-video-scams-explored/">http://nakedsecurity.sophos.com/2011/03/12/what-is-foutube-viral-facebook-clickjacking-video-scams-explored/</a></p> <blockquote>Viral scams are spreading rapidly across Facebook, tricking unsuspecting users into saying they "Like" a page, which helps the links spread far and wide. </blockquote> Sun, 13 Mar 2011 00:00:00 +0000 https://www.mikepreston.org/2011/03/13/clickjack.html https://mikepreston.org/2011/03/13/clickjack.html Rise Of The Machines <p>Next step, to get it listed on the electoral roll:</p> <blockquote>A form was reportedly posted to a car park ticketing machine at Dorset's Moors Valley Country Park. Addressed to 'The Occupier: Pay on Foot Shelter', the machine now faces prosecution - with a fine of up to £1000 and a criminal record if it fails to fill in the form. To the amusement of staff at the park, they are now figuring out what to put as its job, language and religious beliefs.</blockquote> <p><a href="http://uk.news.yahoo.com/38/20110311/tuk-why-you-may-be-confused-by-the-2011-107bc4a.html">http://uk.news.yahoo.com/38/20110311/tuk-why-you-may-be-confused-by-the-2011-107bc4a.html</a></p> Sat, 12 Mar 2011 00:00:00 +0000 https://www.mikepreston.org/2011/03/12/rise-of-the-machines.html https://mikepreston.org/2011/03/12/rise-of-the-machines.html Blog <p>I seriously considered importing my old blog here but have now decided not to.</p> Sat, 12 Mar 2011 00:00:00 +0000 https://www.mikepreston.org/2011/03/12/blog.html https://mikepreston.org/2011/03/12/blog.html Blog Stuff And Facebook Integration <p>When I looked at starting a new blog I didn’t want a repeat of my previous blogs. I still have the majority of the posts from them all and two of them are still up as I believe many of the posts are still useful to people, but one of the main reasons I stopped posting on them is due to the amount of comment spam I got.</p> Sat, 12 Mar 2011 00:00:00 +0000 https://www.mikepreston.org/2011/03/12/blog-stuff-and-facebook-integration.html https://mikepreston.org/2011/03/12/blog-stuff-and-facebook-integration.html