You are not alone

I was thinking about random stuff last night just (actually, a few days ago now, since it took me a few days to publish this) before falling asleep.  It dawned on me that no matter what our beliefs, there’s a very good chance they’re shared by someone else.  You are truly not alone.  You might feel like you’re the only one who likes something or feels a certain way, or who has experienced a particular thing.  But you’re not.

There’s just under seven billion people on the planet (that’s 7,000,000,000 for clarity, damn you long and short scales).

One Percent (1%)

If you feel like maybe only one in a hundred people feel like you, that’s 70,000,000 (70 million) people.  That’s everyone in the UK and a few more besides.

One Tenth of a Percent (0.1%)

Maybe only one in a thousand people feel like you do.  So that’s 7,000,000 (7 million) people.  So just about everyone in London.

One One-Hundredth of a Percent (0.01%)

If one in ten thousand others have experienced what you have, that’s still 700,000 (7 hundred thousand people the world over).  In other words, everyone in Sheffield.

One One-Thousandth of a Percent (0.001%)

Maybe only one person in every one hundred thousand (100,000) people likes the same band you do.  There’s still 70,000 of you worldwide.  Enough people to fill Old Trafford.

One Ten-Thousandth of a Percent (0.0001%)

Now we’re getting down to small numbers.  If one in a million people think like you, there’s still 7000 of you knocking about the planet.  You could sell out the Hammersmith Apollo and still have to find somewhere to sit the other 2000 people.

One One-Hundred-Thousandth of a Percent (0.00001%)

Maybe you’re one in 10 million.  Maybe no one in all of London feels like you.  Even so, somewhere there are another 699 people in the world who do.  If you got the whole world together in one place, and you asked if anyone felt like you, 699 people would raise their hands.

One One-Millionth of a Percent (0.000001%)

In a land of 100 million people you are unique – but there are still 70 people on the planet who share your interest.  You could hire a London Bus, fill it and tour the world!

Trust me, you’re not alone.

SSH tunnelling made easy (part four)

The first three parts of this series (one, two, three) covered using SSH to tunnel across various combinations of firewalls and other hops in a forward direction.  By that, I mean you are using computer A and you’re trying to get to something on computer B or computer C.  There is another type of problem that SSH tunnels can solve.  What if you’re running a service on computer A but you can’t get to it because your network doesn’t allow any incoming connections?  Maybe it’s a home server behind a NAT router and you can’t / don’t want to poke holes in the firewall?  Maybe you’re in a cafe and no one can connect to your machine because the free wireless doesn’t allow it, but you want to share something on your local web server?

In those situations, you need reverse tunnels (or remote tunnels).  There’s nothing magical about them, they just move traffic in the other direction while still being initiated from the same starting location.

Example 4 – reverse tunnel web server

In this example, we’ll use a reverse web tunnel to enable access to a host for which incoming connections are entirely blocked.  You’re sitting with your laptop in a cafe, doing some work, and you want to show some team mates the new web site layout.  Rather than having to check the code out to a public web server, you can just allow access to the web server you run on your local machine.

The assumption here is that you can SSH into the Shared Server and that your team mate can connect to the SSH server with their web browser.

Your team mate can’t browse to the web server on your laptop, because the cafe firewall quite sensibly gets in the way.  What we need is a way to allow traffic from the SSH server into your laptop.

From your laptop, you create a reverse / remote tunnel (note -R, rather than -L),

ssh -R 203.0.113.34:9090:127.0.0.1:80 fred@203.0.113.34

I’ve used IP addresses in the tunnel so you can see what is going on.  With regular tunnels, the first IP address and port are the local machine.  With reverse tunnels, they are the interface and port on the remote server that are listening for traffic, the second IP address and port are the ones on the local machine to which that traffic is routed.  So our reverse route above connects to the ssh server (203.0.113.34) and starts listening on that network interface (203.0.113.34) port 9090.  Any traffic it gets on that port is routed over the tunnel into 127.0.0.1 port 80 (i.e. your local machine, port 80).

Your team mate can now point their browser at 203.0.113.34:9090 and will actually see the web server on your laptop.  Because you created an outgoing connection through the firewall with the tunnel, the firewall is none-the-wiser, it simply sees regular SSH traffic flowing to and from the SSH server.

In PuTTY the setup would look like this,

The Remote ports option needs to be ticked so that the tunnel will listen to external interfaces on the target machine.

NB: In order to get reverse (or remote) tunnels working in this way, you need to ensure the SSH server to which you connect supports the feature.  For OpenSSH that means you need to enable the ‘Gateway Ports’ open in the sshd_config file.

The Good, The Bad and the Brick Work

A day of two halves.  Our car is dying.  I hate cars.  You know that if you’ve read more than 2 posts on this blog.  I hate them and they hate me.  We can’t afford to buy into owning one at the right level where you can trade them in at the end and get another, so we run them into the ground, end up paying over the odds for maintenance and then manage to scrape together enough money to buy a new one when they die.

So here we are again.

However, in good news, the guy a friend recommended came around today and fixed our brickwork.  Let me tell you, it’s a weight the size of Everest off my shoulders, dampened only by the news of the car (which we got today).

This is how it used to look.

This is how it looks now, with some before and after shots at angles that will make your eyes bleed.

I’m calling the big one Adam

The miniature willow tree we planted is doing really well.  Looks pretty healthy to me – but it’s clearly still got a strong ant and aphid infestation.  Click to embiggen any of the photo’s.

Here’s the garden in general with the tree,

And here’s the ant infestation.

Frosty Brickwork

Been a while since I posted about the house and the garden (well, technically it’s been a while since I posted about much at all).  Anyway, in March I moaned about some stuff.  One of those issues was the brickwork around the base of the house.  A nice gentleman posted a comment which I took seriously.  We actually got the plumbing in the bathroom sorted out first, because it was easier.  However, we asked around some friends for builders / brickies they trusted, and one of them popped around yesterday and confirmed it is frost damage, and it’s not a big job for him to fix.  He’s sending us a quote.

There’s no way I’d have the confidence to fix it myself, and we need some re-pointing doing as well.  One of the bricks is partially under the path so we’ll need some cold tarmac as well.  Anyway, pleased we finally started the process of getting it sorted – he suggested once he’s fixed them up we coat them with silicon to keep the frost out.

Here’s the before shots so you know what frost damage bricks look like, and so I can remember how bad it was after we get them fixed.

 

Half Year Movie Roundup

In January I wrote a preview of what movies were coming in 2011, with a genre slant.  Quite what genre means is open to debate, but probably translates to ‘stuff that I think I might enjoy’.  We’re about to saunter into July so I thought I’d look back, see how we fared in the first six months and then in a later post, look at what the rest of the year has in store for us and how it’s changed from the January outlook.  Caveat: I have seen very few of these movies, and I’m basing these comments on reviews, reports, financial statements and stuff that I read elsewhere.

To be fair, although we’re half way through the year it’s likely that more movies will be released in the second half than than the first, so this might turn into an awfully short article.  So in no particular order (or rather, in the same order they showed up in the original post).

Sucker Punch – Miss
http://www.imdb.com/title/tt0978764/

The critics hated it and the fans were pretty disinterested.  Rotten Tomatoes gave it a rotten 22% (fan rating 53%) while Metacritic gives it 33%.  In the US it only managed second place to Diary of a Wimpy Kid in its opening weekend (~$19m).  It’s grossed around $89m against an estimated $81m budget so with DVD/Blu-ray sales it will make a profit (that was probably never in doubt).  Much of the negative criticism revolved around the lack of characters and plot along with the misogynistic imagery.

Pirates of the Caribbean: On Stranger Tides – Hit
http://www.imdb.com/title/tt1298650/

Critic proof and proving it.  Much of the critical response was highly negative – flabby, too long, lacklustre, and yet the fans flocked to it and drove it to a $90m opening weekend in America and £11.6m in the UK.  Worldwide it’s now taken $986m, putting it ahead of The Curse of the Black Pearl ($654m) and At World’s End ($963m).  RT (Rotten Tomatoes) gave it a rotten 33% (fans rated it 63%) and Metacritic 45%.  Despite being too long it looks like Johnny Depp saved this outing, and until he signs on to #5 we might still be saved from yet more buck swashling and rum jokes.

Fast Five – Hit
http://www.imdb.com/title/tt1596343/

A clear surprise, Fast Five had the potential to be the worst sequel to date of any franchise but somehow it managed to dig deep and give audiences something worth getting behind.  Even the critics liked it with an (essentially) unbelievable fresh 78% on RT, 67% at Metacritic and an opening weekend in the US of $86m.  It’s now grossed over $590m worldwide, making it the most successful of the franchise to date by a significant margin.  Bucking the trend in the industry, Fast Five shows you can make a movie part of a franchise and still pull in people and give them something to enjoy.

Thor – Hit
http://www.imdb.com/title/tt0800369/

I’ll be honest – I was dubious.  Doubtful.  Maybe even negative.  I was also dead wrong.  Delivering an entertaining and eye blisteringly impressive movie, Thor was proof that you can deliver dramatic action while dressed like a dork.  RT loved it (78% fresh), Metacritic thought it wasn’t bad (58%) and critical reception was generally positive.  Despite opening very early in the year Thor pulled in respectable box office cash ($64m opening weekend in the US, $436m to date worldwide against a budget of $150m estimated).  Get a quality director and a half decent script, and even super heroes can be believable.

The Green Hornet – Miss
http://www.imdb.com/title/tt0990407/

It opened strongly ($33m in the US) and it’s easily covered its budget with a worldwide gross of $227m, but The Green Hornet is average at best.  Even the RT critics and RT fans agree giving it a rotten 44% and fan score of 49%.  The score seems to boil down to the movie not knowing what it was meant to be and falling squarely between serious and slapstick giving that terrible serious-stick kind of performance that makes us all cringe.

Drive Angry – Miss
http://www.imdb.com/title/tt1502404/

Having made about $28m worldwide, I think we can safely say this movie flopped.  Although flopped suggests that it was alive with a chance in the first place, where-as we know better.  This fish was dead in the water at inception.  It garnered a surprising 45% on RT which I put down to excessive drug use to be frank, Metacritic gives it 44% based clearly on equally absurd chemically induced insanity.  Fans on RT were more sensible giving it only 40%.  If you need any more evidence, it opened with a $5m box office weekend in the US, dismal.

Hanna – Hit
http://www.imdb.com/title/tt0993842/

I thought maybe the world wouldn’t quite be ready for 2 kick-ass kids so close together.  But apparently, they were.  Hanna did okay, not brilliantly, but definitely okay.  RT rated it fresh (71%), it opened in the US to a $12m weekend and has grossed $56m worldwide against what is probably quite a small budget (estimated $30m).  Although on average the movie scores well, it certainly wasn’t universally loved and many critics complained it was vacant, meaningless and without soul.  Since many critics are vacant, meaningless and without soul I’ll consider us even on that point.

The Hangover Part II – Hit
http://www.imdb.com/title/tt1411697/

Fair to say the critics disliked it (RT 35%) but the fans came out, supported it and for the most part enjoyed it (RT Fans 62%).  The critics disliked that it was the first movie all over again while the fans seemed to be happy to accept exactly that.  Opened to another whopping $85m in the US (£10m in the UK), and has so far sucked in over $527m globally.  Undeniably financially sound, but not necessarily a winning movie.

Your Highness – Miss
http://www.imdb.com/title/tt1240982/

I had high hopes but apparently, too high.  Looks like the puerile humour didn’t hold up in this gross out fantasy comedy.  With the notable exception of The Princess Bride, fantasy comedy never works – don’t they know that!  Murdered more thoroughly than a Dragon at a Knights and Wizards convention, Your Highness dredged up a terrible 26% at RT, with even the usually lenient fan reviews only getting up to 45%.  I’m sure it has moments of hilarity but the critics weren’t falling for it.  Opened to a semi respectable $9m in the US, but has grossed only $24m worldwide to date.  A royal flop.  Not even shots of Natalie Portman’s naked arse could save this script.

Limitless – Hit
http://www.imdb.com/title/tt1219289/

Proving Bradley Cooper is hot property, Limitless did well enough with the critics and very well with the punters.  On a reasonably low key release it pulled in $18m in the US on it’s opening weekend and has grossed $145m to date.  RT gives is an impressive 70% (fans 74%) and Metacritic 59%.  In general it seems Bradley manages to smooth over some of the weaker elements of the script to give this franchise-free action-thriller a good run for your money.

X-Men: First Class – Hit
http://www.imdb.com/title/tt1270798/

Another surprise in the first half of the year for me – X-Men: First Class had so much potential to fall flat on its face that it could have been known as the ‘flat on its face movie’.  Okay, that didn’t sound as smooth as I thought it might.  Despite the fears, the script (by the excellent Jane Goldman, Matthew Vaughn, Ashley Miller and Zack Stentz), the choice of time period and stand-out performances from McAvoy and Fassbender seem to have wowed crowds and critics alike.  RT gives it 87%, Metacritic 65% and it pulled in an impressive $55m on it’s US opening weekend (already up to $321m worldwide).

Paul – Hit
http://www.imdb.com/title/tt1092026/

Well, I loved it.  Although it wasn’t trumpeted as an outstanding success, Paul is sucking in money, making people laugh and has more than easily covered it’s budget.  Despite some negative reviews, the overall RT score of 71% is solid, while the Metacritic score of 57% seems harsh.  In the US it only opened to $13m, ranking 5th that weekend (against Sucker Punch and Diary of a Wimpy Kid), but in the UK it pulled in a respectable £5.5m (~$8.9m).  Globally it’s now done okay at $94m, easily covering the estimated budget.  It’s a sleeper of a movie, and I’m hopeful DVD/Blu-ray sales will do it proud.

Green Lantern – Miss
http://www.imdb.com/title/tt1133985/

I don’t think Rotten Tomatoes alone is a good measure of a film.  The rotten/fresh scores are sometimes out of kilter with the movie going public, and critic proof blockbusters can easily get 20% on RT and still make a billion dollars.  What I do think is an interesting measure is when the critics hate something (27% on RT in this case) and the fans don’t mind it so much (56% fan score on RT).  Despite that, I’m still rating Green Lantern as an overall miss.  That’s even with a friend saying she really enjoyed it – she was pretty much hypnotised by Ryan Reynolds’ ass, and so I’m discounting her view.  It’s early days, but Green Lantern opened to a decent $53m and has grossed $122m worldwide.  Why then a miss?  Because it could and should have been more.  It should be scoring like X-Men: First Class on RT, it should be raking in $80m on the opening weekend, and it should have grossed $300m worldwide by now.

I Am Number Four – Hit
http://www.imdb.com/title/tt1464540/

Haven’t heard much about this, so basing this commentary solely on the numbers.  Disliked by critics but reasonably enjoyed by the target audience, I Am Number Four made a wedge of cash ($19m opening weekend, $144 globally) and probably kick started a franchise.

Red Riding Hood – Miss
http://www.imdb.com/title/tt1486185/

At 11% on RT and 29% on Metacritic, Red Riding Hood is the worst performing movie out of the bunch this year.  It’s empty, vacant, banal and a failure according to the critics.  The potential fans weren’t wowed either with a 44% fan score on RT.  Financially it didn’t do too badly, a half decent opening weekend of $14m in the States and $89m worldwide so far mean it’s paid for itself, but I think it would be disingenuous to describe it as anything other than a miss.

Battle: Los Angeles – Miss
http://www.imdb.com/title/tt1217613/

Title confusions aside (was it ever called World Invasion: Battle LA?), it appears as though Battle: Los Angeles was a missed opportunity.  Rotten at RT (35%) and equally weak at Metacritic (37%), reviews suggest the movie could have delivered much more than it did.  On the other hand, it apparently appeals to fans of Killzone, Crysis and other similar games and may just be too narrow for a general audience to appreciate.  Opened to a good $35m, and has easily earned back the budget with $202m worldwide so it can’t be considered anything other than a critical failure but a financial success.

Source Code – Hit
http://www.imdb.com/title/tt0945513/

A half decent year for original thrillers with a near-future theme, Source Code impressed the critics and entertained people who actually pay for their tickets.  An out of this world 91% at RT puts this near the top of this years genre movies to date, and with fans agreeing (82% on RT) and the box office backing it up ($14m opening weekend, $112m worldwide vs. a low $32m budget).

Unknown – Hit
http://www.imdb.com/title/tt1401152/

Although it just barely scrapes in, Unknown was probably a hit.  Average scores on RT and Metacritic, and an okay performance in the box office mean we probably won’t see a sequel (Also Unknown, Mostly Unknown, What do I know Unknown) but it won’t offend and it might just pass the 113 minutes in a sort of enjoyable haze.  Another soft script saved by a hard Neeson performance.

Priest – Miss
http://www.imdb.com/title/tt0822847/

The critics were never going to love it were they?  It’s not their thing.  But the studio never gave me a chance to like it either because they only opened it in 3D.  No 2D showings anywhere near me (where there any at all)?  As expected it got panned (17% on RT), and the fans didn’t like it that much better (40%).  It opened reasonably well ($14m in the US) but is only just beginning to struggle past its budget (only $75m worldwide so far).  The editing seems to be the biggest issue and the movie is very short (these days) at 87 minutes.  Many people wonder what’s on the floor and if it could have been even better with a little more work.

The Adjustment Bureau – Hit
http://www.imdb.com/title/tt1385826/

Turning Philip K. Dick stories into movies is notoriously hit and miss, but this effort seems to have found the right audience.  Described as intelligent, romantic and imaginative, the movie scores 72% fresh at RT (although fans gave it 68%).  Considering the budget (estimated $50) the $21m opening weekend was very healthy and the worldwide gross of $123m assures us that in 15 years someone will try a remake.  Matt Damon will have been a big draw, but people must have found something enjoyable once they arrived.


Overall then, a bit of a mixed bag.  The stand out winners so far are Fast Five and X-Men: First Class.  Thor and Paul get honourable mentions, while Drive Angry and Red Riding Hood take home wooden spoons.  Seriously, did any of you think Drive Angry would be good?  Really?