Richard Hart

Something @ Somewhere
Kent, UK

My Music
My Photos

LinkedIn
Mastodon

  • Most dreams are driven by our desire to be like our idols. We all want to achieve what they have, whether that’s to be as successful/famous/rich/fit/etc as they are. So to do that, we naturally look at what they do and imitate that. If that’s what you’re doing, STOP! Imitating them as they are right now, is not going to get you to where you need to get to. To achieve the same, you need to go back and copy your idols as they were, not as they are right now.

    What they do now does not make them successful, it only serves to fuel the success they have already created. The essence of what got them there, is totally different. It’s easy to look at a person or business and think “If it works for them it must work for me!”, but the difference between them and you is that they are at the stage where they are looking for small edges they can gain, where as you still need to get all the fundamentals down before you can work on the same things.

    It’s the difference between having a painting that’s 99% finished and one that’s only 10% complete. The painting that’s almost finished needs only fine strokes to finish it off, where as the other still needs broad strokes to even make it meaningful.

    So think about what your doing now to achieve goals and see if you’re working on the broad or fine details. If you’re working on the details and neglecting the bigger picture then reassess what it is you need to do and do it!


  • See Part 1, 2 and 3 here: On Your Bike Pt. 1 On Your Bike Pt. 2 On Your Bike Pt. 3

    The final step of getting my bike licence finally arrived. The Mod 2 is a 30 minute ride on normal roads where you’re followed by an examiner who is in touch with you via radio. You’re expected to do some independent riding where the examiner will ask you to follow the signs towards a specific location, to see how well you pay attention to your surroundings and road signs. After that the examiner will take over and give you instructions on where to go so that they can see how your react to various situations, like junctions, hazards etc. You’re marked on things like observation, so forgetting to do your shoulder checks can result in a minor mark and if forget enough times you’ll get a major mark, which is an instant fail.

    As my test was at 2:40pm I was able to get a good amount of riding time in before we had to make our way to the test centre. I hadn’t been able to sleep properly the night before and waking up to rain dampened my mood slightly. But the anxiousness/excitement kept me alert and to make life easier, the sun eventually came out. I knew that my riding was fine and that the only reason I might fail would be because I let nerves get the better of me. My instructor said that as long as I rode like I had been that same morning, I should pass fine. Finally test time came around and I was feeling pretty nervous, but next thing I know, I’m on the bike heading out. Disaster struck as soon we came out the test centre. I suddenly found myself  behind a learner driver, and with the examiner right up behind me I had the difficult task of taking the first junction extremely slowly while attempting to not hit the learner or examiner. Still behind the driver as we completed the turn the examiner told me to overtake them. I was worried that I had probably failed at that point as the examiner shouldn’t be telling me to overtake, that should be my decision. With that in mind I thought that if I had already failed, I’d just treat the rest of the test like a relaxed ride around town. It helped that the first part was the independent riding section as I was just left alone to calm down and make my own way onwards. So it was much to my surprise that at the end of my 30 minute ride I was told I passed with a clean sheet. No minor marks at all. I was ecstatic and so relieved that it was finally over. After a lot of stress and worrying I finally had my motorbike licence.

    It’s been quite a long journey to getting my licence, considering I booked it all the way back at the start of July. I wouldn’t have done as well as I did if I didn’t have experience riding motorbikes/mopeds in the Philippines and Thailand as well as having ridden a bike around London since I was kid, not to mention driving consistently for the past 14 years. So I had a lot in my favour going into this. I can only imagine how difficult it must be for people doing a 5/6 day DAS with no bike experience at all. Couple that with the stress and anxiety of taking the tests and going in green must be extremely difficult, not to say that it’s impossible to do.

    I was going to write my advice on how to get through your DAS, but this post is long enough so I will leave that for another time. I’ll write out some thoughts and advice that helped me get through it all as I’m sure that will be useful to many new riders out there. Special thanks to everyone at Off The Kerb Motorcycle Training in White City for getting me through my DAS. I can’t recommend them enough if you’re looking for training!


  • See Part 1 and 2 here: On Your Bike Pt. 1 On Your Bike Pt. 2

    After a couple of days out on the bigger 600cc bikes it was time to take the first half of my full bike licence test, otherwise known as Mod 1. This part is made to test your ability to control the bike in slow situations as well as dealing with hazards. It’s a reasonably quick test (usually under ten minutes) and consists of 9 set exercises: Manual handling (moving a bike by hand), slalom, figure of eight, slow ride, u-turn, cornering, controlled stop, emergency braking and hazard avoidance.

    All of these take place within an enclosed area. The test itself isn’t particularly difficult, but it’s extremely easy to let nerves get to you and cause you to make a mistake. If put a foot down or clip a cone it’s an instant fail. you’re expected to treat it like a proper road, so you must do all of your shoulder checks before proceeding to do any of the manoeuvres and you must perform certain exercises at a specific speed. Failure to check over your shoulder is a minor mark, and if you do it enough times that’s a fail. Some common mistakes are not starting off with enough speed when approaching the slalom  so come the second/third cone you’re in big trouble as well as crossing the marked lines on your u-turn. The girl who did her test before me clipped a cone on the final hazard avoidance test which meant she failed. It’s not un-common at all to fail the mod 1 test.  I received one minor mark for going through the speed trap on the hazard avoidance one kmph below the set speed of 50kmph. If you go 48 or 49 they will pass you with a minor mark, anything less and you’re given one more go to reach the required speed. I rolled off the throttle a little too soon, unlike on my emergency stop where I went a marked 55kmph through the speed trap (well above the required speed). It’s perhaps better to go a little faster than required. Don’t look at your speedo, get a feel for what your bike sounds like at 50kmph while in second and use that to judge approach. I heard of one person going over 70 through the trap, in the pouring rain for their emergency stop, they nearly ended up in the hedge and sadly didn’t pass.

    A week until the second half which is a 30-40 minute ride on the road. I’m more confident about that, hopefully nerves won’t get the better of me.


  • See Part 1 here: On Your Bike Pt. 1

    The first part of getting your licence is getting your CBT (Compulsory Basic Training). The CBT allows you to ride a moped up to 125CC (with L plates) and which lasts you two years unless you go on to take your full test within that time. The day is split up into two parts. The first half of the day goes over the basics of the motorbike/moped and involves slow speed manoeuvres in a carpark. You do basic things like U-turns, figures of eight, emergency stops and left/right turnings. Once the instructor is happy with your performance you’ll head out onto the road for the second half of the day, where you’ll really just pootle around town and demonstrate that you know basically what you’re doing and won’t be a major danger to yourself and other road users.

    I hadn’t expected to go out on the road, so being able to ride around was a nice surprise and really made me feel like I had made the right decision to persue my DAS. I didn’t think it was possible to “fail” a CBT but one of the riders was really struggling to get to grips with the clutch and gears on his bike. He’d never ridden a geared bike before, so I can only imagine how hard it is to try and take all that in at the same time as concentrating on navigating the course. I’ve ridden loads of miles on a moped and geared bike so the CBT was a total breeze. If you’ve never ridden a bike before, just do it on a moped and don’t go for a geared bike. You’ll save yourself a lot of hassle and frustration. If you’re plan is to just commute around town, then you’re probably better off with a moped over motorbike.

    As I did really well on my CBT I was allowed straight onto the 600CC bikes for my second day instead of being restricted to one of the 125s. One of the first things which struck me was just how much heavier the bike bikes are. I can’t believe that people actually manage to manoeuvre them around traffic in London. I think it’ll take me a long time to get to a point where I would feel comfortable filtering and weaving through stuck traffic. Getting up to 70 on the dual carriageway was a bit scary, but felt great once settled in. We rode for ages and ended up way out of London. I was actually really surprised how quickly we got outside of the M25. I can’t wait to have a bike of my own. The problem is deciding what bike. Suzuki SV650? Suzuki Bandit? Honda Hornet? Yamaha Fazer? Yamaha ER6N? Too many too chose from and not enough money to afford the ones I really want ;)


  • After years and years of talking about wanting to ride a motorbike, I’ve finally taken the plunge and started on the road to getting my licence. For those of you not from the UK, getting your licence over here is pretty in-depth. There are essentially four tests you need to take before you’re allowed to ride anything you want, and there are also a few different routes you can take to get there. To start with you’ll need to take a CBT (Compulsory Basic Training) course which will allow you to ride a moped up to 125CC. To ride anything with more power you’ll need to take a series of further tests. First you’ll need to take your theory test, followed by the module 1 test which is held in an empty carpark, then the module 2 which involves practical street riding. The DSA release their pass rate statistics and it seems that for the theory and practical tests, the pass rate hovers around the 70% mark, which is pretty good considering the car test pass rate is 45%. I would assume that the majority of people taking the motorcycle test have a fair bit of road experience from driving, making it easier to pass.

    I passed my theory test on Friday. The test is made up of 50 multiple choice questions and a hazard perception test which requires you to watch a video and click on potential hazards. The multiple choice section was pretty easy as really it’s just common sense. I do feel however that some questions are slightly misleading, marking a particular answer as “incorrect” when personally I  would consider it to be a legitimate answer and not technically incorrect. The hazard perception test was okay. My only gripe with it is that it’s hard to know if you’re being under/over perceptive and clicking more than you should be. You’re not given a real opportunity to try the system and to see if you are doing it correctly. You’re shown a sample video and when you should click, but it would be better to give you a good practice run with hints.

    Next up is my CBT which sadly is not until the 12th of August, then I have my module 1 on the 17th and module 2 on the 24th. With it being summer, places for tests are severely limited as everyone is dreaming of hitting the open road on two wheels. I really should have booked this all in sooner, but I honestly thought I could call up and practically take my tests the week after. I’ve learnt my lesson and will do my research a little sooner in future.


  • I recently shed my responsibilities of judging a photo of the day award and it got me thinking a lot about my experience learning photography a while back. I used to spend a hell of a lot of time on Flickr, actively discussing photos and moderating groups and there was always a constant battle over what was worthy of being discussed or allowed in certain pools. Photographers that were told their work was not good enough would demand to know why and would either take the criticism on-board or go away and post to another more forgiving group. In my mind there are two types of groups on Flickr, the mediocre and the amazing. Many will probably say thats an unfair comparison, but whatever.

    There are the groups where everyone seems to pat everyone else on the back for taking part and with which I take great offence at. You would go through the photos and see the same recycled themes and junk over and over again, yet they would receive huge amounts of praise and congratulations. The photos would be simple and faceless, with no style, depth or story. You would look at individual’s photostreams and see that for years their skills had remained a constant. I’ve heard it said that to become a great photographer you need to find your “voice”. Those defining themes which means that somone could look at one of your photos and think “A-ha, I bet that was taken by X.”. But here were photographers receiving pats on the back, which were for lack of a better description “photographerless”. My dislike wasn’t at the photographers or there photos themselves, but mainly at the culture of “amateurism”. Learner photographers congratulating other learner photographers, which doesn’t lead to becoming a better photo. How am I to know that I need to improve if I never receive any criticism? How am I to know what I need to improve if I never receive any criticism?

    Then there are the “elitist” groups, or rather that was how I viewed them as when I first came across them. I was stuck like many other photographers, unable to get my photos accepted by them, and while many others came and became angry that they too weren’t accepted, I stuck with it and finally made it. It was a stark contrast to the groups mentioned above. Criticism was at the heart and soul of every thread and topic. Moderators were constantly bashed and accused of not knowing what they were doing, yet they had the best photos of virtually any other group in their stream. People’s anger would flair because their own measure of a good photo was so different to what they judged to be good. This anger grew even more because they just didn’t “get it”. They would look at the photos in the stream and scream as to why something was allowed in over their submissions. 99% of the time, they would leave, mostly to the confines of the groups mentioned before, to never return, but some would stay. And as time went by, and as they took on what they were told they quickly got better. They saw the criticism not as an attack on themselves personally, but as an opportunity to grow and develop as a photographer. Then when they were accepted and you looked through their photostream, you would actually see this marked and steady rise in skill. These people truly did find their own voices. They began to “get it”.

    It’s easy to pander to the mediocre, because that way you’ll probably never upset anyone. The mediocre like the status quo and like things to remain average. Which is fine if that is where we want to be and all you want to achieve. But if you want to grow and create something great you need to ignore the pats on the back and seek out the criticism, not be angered or put off by it, but take it as an opportunity to grow and become a better version of yourself.


  • My current project www.viewshound.com requires different users to have different scopes for their Facebook authentication. Warden supports dynamic providers out of the box. To get it working with Devise was pretty easy, just a couple of minor changes were needed especially to support Facebook.

    First up was creating the new route. As I’m using a controller called Omniauth and not Session, the :to attribute is different. The other thing to note is I’m matching /users/auth/facebook/setup, not /auth/facebook/setup like in the Warden documentation.

    routes.rb

    
      devise_for :users, 
          :controllers => { :omniauth_callbacks => "omniauth" }, 
          :skip => [:sessions] do
        match '/users/auth/facebook/setup', :to => 'omniauth#setup'
      end
    

    Next we create the new setup action for Warden to call. The docs use consumer_key and consumer_secret, but facebook expects client_id and client_secret, so be sure to use those instead. This is where I make changes to the scope based on the current user if they are signed in or not. So a user can re-authenticate with Facebook to get more permissions for their account if they wish.

    omniauth_controller.rb

    
      class OmniauthController < Devise::OmniauthCallbacksController
    
        def setup
          request.env['omniauth.strategy'].client_id = 
               {your_facebook_id_here}
          request.env['omniauth.strategy'].client_secret = 
               {your_facebook_secret_here}
          request.env['omniauth.strategy'].options = 
               {:scope => your_facebook_scope_here}
          render :text => "Setup complete.", :status => 404
        end
    
      end
    

    Finally change the devise.rb initializer to support the new setup.

    devise.rb

    
      config.omniauth :facebook, nil, nil, :setup => true
    

    Restart your application and you should be good to go.


  • I just realised that my NERDTree directory colour wasn’t inline with my Vim theme, and I couldn’t help but be bugged by it. Seems it’s a simple change. To change colour you need to use the treeDir highlight group.

    :hi treeDir guifg=#96CBFE guibg=#00ff00

    To keep it synced with the ir_black theme I use, I just added the following to my colour scheme file.

    hi link treeDir Keyword

  • Hot is the new hotness! Every month or so there’s a new hot topic in startup land. There was social, mobile, local, game mechanics blah blah. And with every wave of new hotness, comes a fresh wave of startups trying to get in on the deal. If it’s hot right now, and you’re thinking of getting in, don’t, it’s too late. Don’t even think of entering a space where others have a six month or more lead on you. Yeah, they’re grabbing all the attention right now, but in six months when they’re no longer flavour of the month, you’ll be the one left holding the bag.

    They always says don’t trade stocks off the recommendations in the newspapers, because by then you’ve already missed out. This is exactly the same. If you want to swing for the fences, create something visionary that no-one else has thought of yet, or better yet, something so boring in an arena where competition will be sparse now and the foreseeable future. Yes, perhaps there’s someone else secretly working on the same thing as you right now, but if either of you turn out to be right, the other could be in a prime position to ride the other’s coat-tail to success.


  • Everyone has grand ideas and dreams. The dream of being the match winning goal scorer in the World Cup final. The dream of being richest man on Earth. The dream of being a great husband, great father, great friend. Then comes a time when we realise we’re a million miles away from the things we set out to achieve, we freeze and resign ourselves to the fact that we’ll probably never get there. Some will carry on regardless, and of those few, only a small handful will reach that end goal. But we don’t need to be in the majority of those that fall away at the way side. We just need to understand that to reach that final goal, requires us to achieve smaller ones first.

    Weight lifting is the perfect example of this. If you want to squat 200kg, don’t load on 200kg and try, because you’ll most probably fail, injure yourself and never try again. To reach that goal, load on what you can manage, then each week come back and add some more. Some weeks you’ll lift it, some weeks you wont. But the more and more you come back and try to add just a little bit more weight, the closer and closer you’ll get to lifting  your final goal. Then one day  you’ll turn up and lift 200kg. You’ll look through your notebook, full of all your previous session’s numbers, and see all the steps it took to get there.

    And that’s the same principal for anything in life. If you want to achieve something great, start with something small. Want to lose 100lbs? Then start with the first pound. Want to run a marathon? Then start by running just a single mile. Want to be amazing guitarist? Then start by learning a single chord.

    This all applies so much to business. We see all these big businesses offering loads of products and services, or huge web applications packed with functionality, and we strive for that. But the burden will be too great. You’ll fail, your ego will be bruised and you’ll never try again. You never hear the story of how these businesses started by doing one thing and how they all built their empires from there. You need that first step to be sure that you can take the next. You can’t be everything to everybody, and if you try, you’ll be nothing to nobody. Don’t be sucked in by business porn. Don’t rush into a thousand things in the hope of achieving something or that something will stick, because you can’t apply enough stickiness to that many things at once. The humble beginnings are boring, that’s why you never hear about them. You read about startups on TechCrunch and don’t realise that people have been using and hashing out the issues on those sites for ages. If you’ve been around long enough, you get to experience the wonder of seeing someone truly launch their site for the first time and needing beta testers, then a year later seeing them doing their “real” launch. Only then can you really appreciate how these things evolve and how the subsequent success was down to focusing on a single idea/concept/function and executing that perfectly right at the very start.


  • Recently I’ve been coding some iPhone and iPad apps with multiple targets, all sharing the same codebase. Previously I had been using Preprocessor Macros to get the job done, but that soon turns messy and hard to maintain. I’ve since moved to just storing target specific values in each apps related plist file. Retrieving a value is as simple as:

     NSDictionary* infoDict = [[NSBundle mainBundle] infoDictionary];
     NSString *someString = [infoDict objectForKey:@"SomeKey"];

  • Little do we realise how little time we really have. Dates are mentioned, and while they feel distant and intangible, in reality they are just around the corner. It’s easy to put stuff off and rest on our laurels, because we think that our time is bountiful. We live each day, and bit by bit that time slips away. Then before your know it, it’s already too late. The time you thought you had for action has already come and gone.

    “Oh, I’ve got 6 months to get ready…” sounds like an eternity but it’s only 20 weeks. It’s hard to achieve a lot in that amount of time. Life gets in the way of your dreams and everything always takes longer to do then you think it will. So take action. See time for what it really is and don’t pretend that you can hide from your goals until tomorrow. If all you do is wait, all you will have is regret.

    They live meaningless lives. They waste their precious days over nothing. No matter how old they get, they’ll continue to say “My real life hasn’t started yet.”, “The real me is still asleep, so that’s why my life is such garbage.”. They continue to tell themselves that. And they age. And on their deathbeds, they will finally realise. The life they lived was the real thing. – Kaiji


  • Recently I’ve been teaching a person older than me (60+) how to use a computer for the first time as well as how to get to grips with using the internet and email. While it’s been a test of all my patience, one thing is for sure, that trying to show someone how to search for something is a nightmare because every result is filled with ads and filler, and more than half the time the actual content doesn’t start until way below the fold. Just imagine how crazy that is for someone who is still struggling to use the scrollbar!

    After so many years of using the internet, you learn to just filter out all the noise and just quickly scann each page to see if it’s relevant or not, but sitting with someone new to all of this is staggering. They just don’t know what they’re looking at or where to even go for what they really want. Search results are down the pan and content providers are just optimising for revenue. Content sites are 90% filler and nothing but subtle attempts to direct you to other pages.

    The internet is just a ghetto full of shit.


  • While sitting in the sauna this morning one of the gym’s personal trainers came in, sat down and struck up a conversation. Of course the topic was training and goals. I casually mentioned what it is I want to achieve to which he made the comment:

    How old are you? 30? Well if you really wanted it, you would have achieved it by now…

    I’m sure he didn’t mean it how it came out but I was still pretty speechless and just sort of mumbled a faint agreement. And while part of me wants to agree with him and just crawl up and die, a bigger part of me just can’t accept that. If I haven’t achieved what I’ve set out to do, I’m not going to stop. I’m never going to stop. I don’t care if every day is a failure. I’m going to pick myself up and try again. Some goals take a long time to achieve, some even a lifetime. So never give in and never let go. A great quote I live by is from Renzo Graie about Brazilian Jiu-Jitsu:

    The secret of this sport is, while you’re the nail, hang in there, let them hit you, until the day you become the hammer, then you smash them back!

    That day for me hasn’t come yet… But it will. Mark my words, it will.


  • Currently I’m reading Don John’s excellent book Never Let Go. In one of the essays he talks about being told that if something is important do it everyday, and the political prisoner exercise is a way of deciding what that thing should be. Imagine that you are a political prisoner and you are only allowed 15 minutes a day of exercise. What would you do? You wouldn’t waste your time on curls or skull crushers (well I hope you wouldn’t). You’d concentrate on the core lifts like squats and deadlifts or olympic lifts like snatch and clean and jerk. The aim would be to get the most “bang for your buck” with the limited time you have.

    This applies to everything, including business, and relates to my previous post Professional Procrastination. Of all the things you can do, if you only have 15 minutes to do it in, do what’s going to give you the best results. Don’t neglect the big picture items for the sake of the small ones. Don’t neglect your entire body for the sake of flexing your biceps.