Wednesday 30 May, 2007

Intelligent link caching

Filed under: Tech. stuff, Good ideas?

The Google Maps model gave us our first high-profile insight into what can happen on a website when it doesn't wait for the user to do something to prepare what might next need displaying. By downloading the maps immediately surrounding the map you're looking at, it allowed you to drag around the map seamlessly. It was revolutionary and was the forerunner for that horrible phrased, Web 2.0.

Most webpages, this one included at the time of writing, don't do that. They display a page complete with a bunch of links to unloaded pages and wait for the user to click one before doing anything. What if there was a little link counter running in the background that weighted each link on a page based on its likelihood of being clicked according to users' behaviour? And then some Firefox plug-in came along and on accessing a page, called the associated weighting information and started downloading the pages in the background in descending order of weight. Then if the user happened to click one of the most popular links, the page would appear instantly. Maybe the idea is superseded by the speed offered by broadband, but I'd like to think not.


Posted by dan at 6:46pm | Permalink | Comments (7) | Trackbacks (0)

Marti Bellow

Filed under: General

Anna is indeed right. Marti gives out a lovely belch after the first line of Angel Eyes.

Genius!


Posted by dan at 8:23am | Permalink | Comments (0) | Trackbacks (0)
Tuesday 29 May, 2007

Hazel Blears

Filed under: Random thoughts

Very short, and oh so very annoying.

(Apparently, she's 4'10". I can't find the S.I. unit of annoyingness.)

Update: here's some conclusive proof on the former.

Update 2: I've updated her Wikipedia page accordingly.


Posted by dan at 9:11am | Permalink | Comments (0) | Trackbacks (0)
Monday 28 May, 2007

Tour de France dilemma

Filed under: Sport, Life

My very good friend Elise is coming to London town in the not too distant, which I'm very excited about. (I've only met her once, but what with the wonders of the internet, I consider her very highly.) However I'm torn.

She has expressed enthusiasm at the coincidence of her trip and the Tour de France's kick-off in London, and would like to go see it. Now most years, I would have bitten someone's arm off to join her, given my thorough enjoyment of the Tour, and the particularly mathematical nature of the prologue stage.

But Floyd Landis won the tour last year, thereafter failing a dope test. (Apparently, he's still the official winner, which surprised me.) And meanwhile Bjarne Riis has just been asked to return his 1996 yellow jersey, having admitted four days ago to taking banned drugs between 1993 and 1998. Rumours are rife, as are positive tests and counter-claims.

Given the state that the sport's in, I'm not sure I want to honour it with my support.


Posted by dan at 6:19pm | Permalink | Comments (2) | Trackbacks (0)

Working and not working

Filed under: Life

This weekend has been a chore-fest. Cleared out a load of stuff from a couple of rooms at home (which admittedly I'd put there over a period of time), took said stuff to the tip, made a couple of trips to Homebase (new ladder and new turf), laid said turf in the pouring rain having removed a couple of sections that had previously been irrigated with cat piss (not my choice), took my daughter to the fair with her Uncle Ben (again in the pouring rain) and generally kept myself busy around the house, given the Bank Holiday weather.

My laptop repays me for my hard work by dying. Bastard! Thanks. Not sure if it's the power supply or the laptop itself. Hopefully that will be diagnosed today...


Posted by dan at 5:35pm | Permalink | Comments (0) | Trackbacks (0)
Saturday 26 May, 2007

Slices of pi

Filed under: Numbers and stuff

Francis has done very well to work out what's going on with the Oregon pi sculpture that I commented about. I do think he's harsh in "stick[ing] it to [me]", though.

In my post, I told you that:

  • It's not pi to 106 decimal places: correct
  • The second row should read 897932384626, assuming it's intended to continue where the first row finished: correct
  • After offering a couple of possibilities as to what it might be (pi in a random order, a pi word-search-style number search), I hypothesised "maybe it's just wrong. Seems like a lot of effort, and a lot of accuracy for something that's so wrong, though." Again, correct

At no point in the post did I call the sculpture a numpty for his seeming amateurish knowledge of pi. I didn't say the sculptor was wrong, but did indicate my lack of understanding for what he was portraying. And even reading Francis' explanation, I maintain this view—unless there's a more poetic story to explain the rationale, it seems bizarre to me.

Francis' post does show the high number of characters/numbers that a cell can hold in Excel 12, though.

As an aside, I was thinking today that I'd like to build a house with a digit of pi pre-engraved on each brick. The leading 3 would appear in the top left corner, and the decimal expansion would continue from left to right, top to bottom down the house. It'd take some accurate brick planning, though.

Good work on working out what's going on, Francis. I'm still perplexed, though.

Update:

So, I've taken Francis' analysis to the next level now that he's given the hint, and below's what I've found.

Here's the original sculpture, with some colour-coding.

Pi square

And here's where it appears in pi's decimal expansion.

Pi square 2

Here and here are links to bigger versions of the two images.

The number down the left plus the number at the top gives the decimal place number of each digit. So decimal place 305 is an eight.

Essentially, the cyan area has been picked up, shifted down a row and plonked to the left of the yellow bit, shunting it off to the right so that everything lines up. And the purple has done the same with the cyan. The only weird exception is the 897932 string which has been put on the right hand side of the top row, occuping positions 11–16.

It's very strange. Very strange indeed.


Posted by dan at 5:25am | Permalink | Comments (3) | Trackbacks (0)
Wednesday 23 May, 2007

Eat humble pi

Filed under: Numbers and stuff

My friend Jon kindly went down to the Oregon Zoo MAX Light Rail station to take a picture for me of an engraving that he spotted on the wall. An engraving of pi, by all accounts.

Here's the picture.

Pi engraving

Now, that'd be pi to 106 decimal places, I hear you cry. But let me tell you, and let Rob echo me in telling you, that you'd be wrong.

It looks like pi, and the first row is pretty darned good. Whoopy do. Any eleven-digit calculator will tell you that much. (I only had an eight digit one at school, and could never understand why my dad needed a twelve-digit one in his office. To calculate the national debt? I digress.) But then it goes to cock. The second row should read 897932384626, assuming it's intended to continue where the first row finished.

The weird thing is that the 897932 bit appears in the bottom right hand corner, from left to right.

Maybe it's the first 107 digits of pi in a non-specific order. Or maybe it's like a word search, only with numbers, where the onlooker has to circle certain strings from the first 106 places of pi's infinite decimal tail.

Or maybe it's just wrong. Seems like a lot of effort, and a lot of accuracy for something that's so wrong, though.


Posted by dan at 9:20am | Permalink | Comments (4) | Trackbacks (0)
Monday 21 May, 2007

Lady's mobile conversation overheard on the 87 bus

Filed under: Life

"I can't believe you kept going all night. I just can't believe it!"

Context? Who knows.


Posted by dan at 9:41am | Permalink | Comments (2) | Trackbacks (0)

Hello?

Filed under: Life

A lady on the Number 3 bus this evening answered a call on her mobile phone. For whatever reason, no one was speaking at the other end.

She rattled off eleven hellos, each with a questioning tone, interspersed with confused looks into the mobile phone, before hanging up. I think I would have suffered two before giving up.


Posted by dan at 9:37am | Permalink | Comments (0) | Trackbacks (0)
Friday 18 May, 2007

Tubular tales

Filed under: Life

A guy on the Tube just asked a fellow passenger the following question while we waited on board the southbound Victoria Line train in King's Cross St. Pancras station:

"Excuse me, can you tell me if this train's going the right way?"

The best she could do was point in the anticipated direction of travel saying "Well, it's going that way".


Posted by dan at 12:45am | Permalink | Comments (0) | Trackbacks (0)
Thursday 17 May, 2007

Fag ash Lil

Filed under: General

There is no worse image than that through a car windscreen of a woman driver holding a cigarette sticking out of the middle of the top, offside quadrant of the steering wheel, ready to tap those next few centimetres of ash out of the window.

With the possible exception of images of war.


Posted by dan at 5:41pm | Permalink | Comments (2) | Trackbacks (0)

Lucky Kayleigh

Filed under: General

"Kayleigh is one of the many cat owners who've been delighted by the difference Purina ONE® has made to their cat. Developed by Purina vets and made with high-quality meat, it contains all the vitamins, minerals, omega oils and anti-oxidants a cat needs. The results could be everything from healthy teeth and fresh breath to high energy levels and a shiny coat."

Lucky Kayleigh.

It took me a while to type that advert into my phone on the Tube the other day, but I loved the promise that was being made, emptied by the words "could be". The last sentence makes zero promise about the effect on your cat, or indeed Kayleigh's.


Posted by dan at 8:49am | Permalink | Comments (2) | Trackbacks (0)

Lewis Hamilton and the ladies

Filed under: Sport

"I'm so busy over a weekend I don't even notice the grid girls."

Lewis Hamilton before last weekend's race weekend. Is this him coming out?


Posted by dan at 8:41am | Permalink | Comments (0) | Trackbacks (0)
Sunday 13 May, 2007

International roaming

Filed under: Random thoughts

Rod Baber is in the final preparation stages for an attempt at the summit of Everest, in a bid to make the highest ever mobile phone call. Exactly who he's going to call, I'm not sure. For his sake, I hope it's not Virgin Media, as he's likely to get severe frostbite waiting for a worthwhile response. For what it's worth, Lloyds TSB's waiting times have gone up immeasurably of late too.

Anyway, in describing his team's chances of reaching the summit, he indicates that their chances are very good. "But, it's when Everest lets you climb it, not the other way round", he adds. I think I know what he's getting at, but I'm intrigued as to how the other way round reads. When you let Everest climb you?


Posted by dan at 3:47am | Permalink | Comments (5) | Trackbacks (0)
Wednesday 9 May, 2007

In a word

Filed under: Grammar etc.

According to the BBC tonight, the weather is going to be, in a word, pretty unsettled.

I'll always remember Sid Waddell's quote from the Lakeside darts championships many years ago:

There's only one word for that. Magic darts!


Posted by dan at 8:35am | Permalink | Comments (3) | Trackbacks (0)

lawyers should write in lowercase

Filed under: Random thoughts

I've been involved in some legal document reviews of late. It always amuses me the fastidious approach that lawyers employ when it comes to capitalisation. If a word takes a capital first letter, then it needs to have a formal definition. Or rather, any word requiring a formal definition needs a capital first letter.

But what if the word appears at the beginning of a sentence? Obviously, but in that case doesn't, but when a more contextual word adorns the space after the full-stop, then its need for a definition comes into question. The word London appeared mid-sentence today, and I was eager to define it.

so, i propose that all lawyers always employ lowercase type, with the exception of words needing a definition. any proper nouns, like london, should be lowercased, as should acronyms (e.g. the bbc) and at the beginning of sentences.


Posted by dan at 8:32am | Permalink | Comments (0) | Trackbacks (0)
Tuesday 8 May, 2007

Happy Birthday, Helvetica

Filed under: General

Helvetica is 50 today. Happy Birthday!

I love a good font.


Posted by dan at 11:17pm | Permalink | Comments (3) | Trackbacks (0)

Rob becomes Carluccio

Filed under: Random thoughts

I have too many friends called Rob. As such, Rob will henceforth be referred to as Carluccio. If you know Rob, please use this new monicker in all communications with him.


Posted by dan at 3:38am | Permalink | Comments (1) | Trackbacks (0)
Sunday 6 May, 2007

Next career move?

Filed under: General

I thought I'd found exactly what I wanted of my next job while watching this video:

But then I saw this one, and now I'm torn:

Bank of America or Ernst & Young? Which is worse?

On sending me the first one, my wife summed it up beautifully.

  • "Oh. My. God.
  • When Corporate America disappeared up its own chuffing arse.
  • I can't not look at it."

Posted by dan at 9:07am | Permalink | Comments (6) | Trackbacks (0)
Thursday 3 May, 2007

The number 360 bus

Filed under: Random thoughts

We caught the number 360 bus today, westbound from the Albert Embankment. Apparently it goes from Elephant & Castle to Kensington Queen's Gate. I'd much prefer it if it simply did a loop like this one.


Posted by dan at 7:34am | Permalink | Comments (1) | Trackbacks (0)
Wednesday 2 May, 2007

Hansel and Gretel

Filed under: Life

As a young child, I used to think that the only way to get back to the start point of your journey was to retrace your steps. So if I went a mile north, a mile east, then a mile south, if I then went a mile west, I would end up in a different place than that whence I started. The only way back would be to go a mile north, then west, then south.

I soon learned this not to be the case. I think it clicked when we went to my auntie's house via the M62 and came back on the A58, surprisingly ending up at home.


Posted by dan at 9:19am | Permalink | Comments (2) | Trackbacks (0)

The QWERTY keyboard: how we will laugh

Filed under: General, Tech. stuff

One day we will look back on the QWERTY keyboard and laugh at the fact that we used it at all.

(As an aside, whenever I type QWERTY in a post/document, I always have to find each letter through traditional typing techniques. I never think to sweep my finger across the top row until I've already typed the Y.)


Posted by dan at 3:34am | Permalink | Comments (1) | Trackbacks (0)

Hosepipe bans: how we will laugh

Filed under: General

One day we will look back on the fact that two thirds of the world's surface is covered in water (albeit salty), often at significant depths, and laugh at the hosepipe bans that we endured.


Posted by dan at 3:20am | Permalink | Comments (3) | Trackbacks (0)

How to resign from your job

Filed under: General

The adverts atop Google Mail are contextual based on the content of emails you've been browsing. Imagine my surprise when encountering this one today:

How to resign from your job

I wasn't sure why people needed help with this, nor which keywords in my emails could have triggered it. Anyway, I only clicked on the ad to enable me to provide the link in this post.


Posted by dan at 3:19am | Permalink | Comments (1) | Trackbacks (0)
Monday 30 April, 2007

Life is beautiful

Filed under: Life

This morning, I walked across sun-drenched Lambeth Bridge with the Thames glinting below me, The Arctic Monkeys' When The Sun Goes Down on my iPod, while smiling outwardly at the beauty and wonder of my wife and daughter. Life is beautiful.


Posted by dan at 9:06pm | Permalink | Comments (4) | Trackbacks (0)