“Rap Chop”

I just can’t stop watching this:

Posted in Funny | 3 Comments

Little Sydney

These little videos are great. Showing the life of “Little Sydney” by some really clever techniques. And they just look good. For best results go to the site – they’re much better larger.

http://vimeo.com/moogaloop.swf?clip_id=3548220&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=ffffff&fullscreen=1
Mardi Gras from Keith Loutit on Vimeo.

See all the rest

Posted in Other | Leave a comment

The new Facebook layout: a step forwards, backwards or sideways?

A change of design for a site like Facebook is always a prompt for discussion and controversy. Facebook is so much part of many people’s experience of the web now that it’s like someone deciding that trees should be purple. Coupled with the fact that, in general, the reaction to change amongst the masses is negative (not always unjustly – they have a tool they know how to use, and somebody’s now making them re-learn). In general it’s also true that the negative comments are vocalised.

I was actually a fan of the last homepage design (July 2008). Not necessarily because it was a perfect layout, because I don’t think it ever quite came together in that sense, but because it was necessary due to the changing way that Facebook was working. The growth in “shared” information (or at least activity information) and the way applications that worked the system were degrading the experience for a lot of people.

This time, I’m not so sure. I think the concepts are definitely in the right area: the activity stream (even when it was called a newsfeed) was one of the most interesting things about Facebook and what struck me as a cornerstone of its success from the start. Below are a few thoughts about the new change of emphasis on positive and negative. (And I’ll just say “yes, it’s more like Twitter” and consider that the end of that comparison.)

An emphasis on who performs an action rather than the action type

The “old” Facebook newsfeed displayed a list of items each with an associated application newsfeed icon next to them. This made it easy to blank out e.g. all the news items from applications you had no interest in. The name of the user (or multiple users sometimes – there was aggregation of news items) would display as part of the story but it was easier to scan the “what” of the activity rather than the “who”.

This has all changed now. We have big, chunky photos, and at best a small application icon. It’s not about what you’re interested in it’s who you’re interested in.

There’s a lot to be said for this. The old newsfeed had a strong preference for showing me stories from Facebook’s own applications, regardless of the user involved. This didn’t always work for me, and studies have shown that we only have a handful of close contacts regardless of how big our friend list was. Emphasising the people rather than the activity helps me here.

Content creation rather than a stream of passively generated activity

This is a big gamble. The onus now is on each of us to want to “share” information, and it’s all part of Mark Zuckerberg’s vision of the growth in sharing. I’m not sure how successful this is going to be; time and time again the internet has shown us that no matter how easy it is to be a content creator, the majority of people are happy just to be content consumers.

Facebook’s saviour here may actually be applications and the fact that, to grow, a developer really needs to push a user to finding an action they’ve just performed interesting enough to want to tell everyone about it. As an application developer, if you can crack that then you know your message will be seen. Possibly this will lower the content creation barrier to such an insignificant level that users will be happy to click the “Post to profile” button a few more times than they conventionally do.

This also reminds me of a point I read a while back as to why people in the internet industry like Google, but a lot of the public still likes Yahoo. People like me use the internet to (mostly) find information. We go to Google with a purpose, and Google generally gives us good results. A large number of people are not like that; they go to Yahoo because they’re bored, and because Yahoo shows them things to do. In a similar way, the new Facebook has shifted emphasis slightly from “entertain me” to “help me to entertain my friends”.

User filtering (by friend) rather than algorithm filtering

Almost since the beginning of the newsfeed Facebook have had an algorithm to present the user with the most relevant newsfeed stories. There have always been lots of guesses about how this works, and although it didn’t get it right it did do the job of filtering down thousands of newsfeed stories per day into a couple of hundred.

This looks to be changing, at least in the activity stream. Everything goes in here now, and if the user gets fed up with hearing about somebody then they can put their friends into different groups and filter by those groups. Will users do this? I’m not sure. It seems like a business analysts dream, but not necessarily a tool for a casual user.

We do have a version of the algorithm now, though, in the “Highlights” section of the right hand column. At present this is rather bulky and doesn’t update very often, but it could become an interesting take on the idea of a recommendation engine.

A step in the right direction?

For me, it remains to be seen. It’s a risk for Facebook to make such a fundamental change and although there will doubtless be thousands (millions?) of members of groups with titles along the lines of “Bring back the old Facebook”, I doubt we’ll see any kind of mass exodus. If a change comes then it will happen over time, and would need a viable alternative for the non-MySpace generation. Much as the comparisons between the new design and Twitter are made, I don’t think it’s going to be there. Or maybe Facebook’s changing just as users are evolving, and possibly the future is all about content generation and sharing.

It’s too early to tell whether it’s a step forwards or backwards, but I do believe Facebook just took a small step sideways.

Posted in Other | 1 Comment

Bigger ads or better ads?

There were two interesting pieces of news in the internet ad space this week. Yesterday, Google announced they’re rolling out behavioural targeting for Adsense. What this means is that they’ll look at what types of sites you visit (if those sites are running Adsense) and then ads will be targeted at you based on those sites.

The second piece of news was that a group of large traffic websites are trialling some new ad formats. US national newspapers including the Wall Street Journal and USA Today are running some huge ads. You can read more about them here.

To me, these two highlight stark contrasts in response to the problem of ad-blindness, and typifies an new media response vs an old media one. The old media response (the newspapers) is: “people don’t notice ads, so we have to make it so they can’t help but ignore them”. Bigger ads, more movement, and an “in your face” approach.

The new media response, from Google, is: “people don’t notice ads, maybe we should make them more relevant”. Nick Gonzalez at Social Media thinks that the bigger ads are the way forward. “Making ads more conspicuous is one way publishers can argue they serve advertiser’s interests better“. I can’t argue with that, but making larger ad formats just seems to be part of a never-ending arms race between blanking attention, growing monitor sizes and advertisers. Nick’s commentary on Google’s announcement is “What advertising needs … is improving the advertising experience, not targeting. Make ads better, not more targeted“. (The sentence starts with

Now it may be that Nick’s opinion tells us more about the direction of Social Media than anything else, but the aim of “make ads better” doesn’t seem to contradict the idea of “make ads more targeted”. Show me something I want to see and I’m more likely to think it’s better.

While internet advertising is taking a rare dip it will be interesting to see what future the bigger, and more intrusive, ads have vs the attempt to become more relevant. It may only be part of the picture but I know which direction I’d be backing.

Posted in Other | Leave a comment

Microsoft SQL Server text data column and PHP length problems

I’ve had this problem before: PHP truncates results from a SQL Server text field to 4096 characters. (This is running PHP under Apache on Windows.) To save myself having to work out the right Google terms again, this is the solution: change the following in php.ini (note that ini_set doesn’t appear to work:

; Valid range 0 - 2147483647.  Default = 4096.
mssql.textlimit = 2147483647

; Valid range 0 - 2147483647.  Default = 4096.
mssql.textsize = 2147483647

Posted in Programming | 1 Comment

Repeatable random numbers in JavaScript

Ever since programming BASIC on the Spectrum I’d wondered why it was possible to seed a “random” number generator. But then I found I wanted to do something that would produce repeatable results, but look like a random sequence. Strangely, although JavaScript alongs you to specify a seed for Math.random() the numbers that follow aren’t a repeated sequence. I’m guessing the system clock comes into it.

So after some Googling for an equation to generate numbers I put together the following function. It works on a sequence of 2^32 numbers, in “random” order. (I believed the equation I found – I didn’t test the completeness of it, but it looks pretty random to me.) So, just call Random.next() to get a decimal between 0 and 1, or pass in a range (lower,upper) and you get a random number between the two.

var Random =
{
 seed : 12345,
 //Returns a random number between 0 and 1
 next : function(lower,upper)
 {
  var maxi = Math.pow(2,32);
  this.seed = (134775813 * (this.seed + 1))
     % maxi;
  var num = (this.seed) / maxi;
  if(typeof lower!='undefined')
  {
   var range = upper - lower;
   num *= range;
   num += lower;
  }
  return num;
 }
}

Set “Random.seed” to taste.

Posted in JavaScript, Programming | 1 Comment

Firing JavaScript functions after a .Net AJAX request

I wanted to have a function called after data was returned to the page from a .Net AJAX call. (The idea was to fade out when you pressed “submit” and then redraw when data came back.) It turns out there are handy handlers already there to, erm, handle this:

Sys.WebForms.PageRequestManager.getInstance()
.add_beginRequest(StartRequestHandler);
Sys.WebForms.PageRequestManager.getInstance()
.add_endRequest(EndRequestHandler);

Those little nuggets add calls to your functions, and the functions themselves are:

function StartRequestHandler(sender,args)
{
}
function EndRequestHandler(sender, args)
{
}

Nice.

Posted in JavaScript, Programming | Leave a comment

Near Athens – the island of Aegina

Whether the island is actually spelt Aegina or not I couldn’t tell – it was spelt differently on every timetable and in every guidebook. But if fits for me.

We started off at Piraeus, the port that’s virtually a suburb of Athens now, and went to “Gate 8″ as directed and bought a ticket. We followed signs for the passenger terminal, thinking that it would be an ideal place to wait for the fast boat. How wrong we were. “Gate 8″ was in fact a stretch of dock probably totalling about half a mile in length, if not more, from which about 15 boats departed. It was as much use as saying “your boat leaves from Spain” in terms of directions, and so we missed it by about 5 minutes while we were trying to find the right one. Still, it actually worked out for the better, as instead we caught a regular slow ferry (which is only just over an hour anyway) and got a much better view.

It was also a nice day, so there are some nice photos too:

Nothing seems amiss in this photo, does it? Apart from a boat name that consists mainly of symbols. No reason to be alarmed at all:

But this is the front. Thankfully, our Poseidon adventure didn’t end up with our boat being upside down. Nor was there a Gene Hackman nor (and this would have been really bad) an Ernest Borgnine onboard:

The ship’s mast, and a blue sky:

One of the main old boats we saw on our way out. Piraeus was a very busy port:

Maybe the other passengers were more freaked by getting on the Poseidon as the top deck was empty. Surprisingly, it was also the warmest deck on the boat (bar sitting inside, of course, which was thick with cigarette smoke, as the whole of Greece tends to be):

Looking back towards the mainland:

Leaving Piraeus behind in our wake:

Ann on the empty deck:

Blue sea and into the mountains which were all around with the craggy coastline:

A smaller island we passed on the way:

A view of Aegina island:

The port of Aegina town was rather small, and our large ferry very much stood out:

A strange fortified building in the town, possibly from the late 18th century, although some thought older:

We had an excellent lunch at one of the seafood restaurants next to the fish market. They attracted their fair share of rather well-fed stray cats, such as the one below:

A small stretch of beach on the island:

On the way back we saw God in the distance peeking out from behind a cloud:

As usual with that kind of excursion the journey was half the fun, but the island was quite a pleasant place to be, and provided excellent food (at a cheaper price) than Athens.

Posted in Other | Leave a comment

Athens – some modern stuff

Athens has a strange history of very ancient architecture, a bit of development with the Romans, and then not much for a very long period of time. Most of the city looks very 20th century, and not particularly well done at that. However there are a few large modern buildings. Unfortunately, somehow they don’t seem particularly well integrated into the rest.

The New Acropolis Museum was supposed to be finished quite some time ago. A lot of the building structure seems finished but there are cables everywhere and the main entrance is fenced off for some reason I couldn’t discern. (There’s a side entrance.) The building is very late, yet there were no signs of anybody working on it to try and finish it off. Anyone else would attempt to finish the thing by getting more people working on it but I guess that’s not the Greek way:

This is the current approach to the museum. It’s currently free to get in, owing to it having nothing on display (unless you like looking at hanging electrical cables). Actually, there were a few displays, and the text was heavily laced with “give us our Elgin marbles back” messages. Really, though, it’s just not a very nice building:

The other major modern pieces in Athens are obviously around the Olympic stadium. It was very desolate there and, although some of the structures are impressive, and the stadium roof itself quite elegant, there was a certain air of desolation. It starts with the arch structures by Santiago Calatrava:

The journey to the site on the metro made me think that perhaps the commute from central London to Stratford won’t look so bad in 2012. The transport was good, but it certainly didn’t feel like being in the heart of Athens. This is a plan of the Olympic site. :

The velodrome was another interesting structure, at least from the outside:

Some of the other structures were just existing ones given a new lease of life (apparently). They provided ample pigeon resting spots, as you can see from the piles of crap along the walkways:

The stadium with the mountains and clouds behind. Although London may be able to compete on venues the setting will be nothing like the same:

The stadium arch:

The stadium’s huge roof structure anchors, with Ann providing scale:

The inside of one of those anchors:

And all the screws to hold it down. I couldn’t work out how to loosen any, unfortunately:

This is one of the existing terraces, that of bird-crap-terrace fame:

The diagram of things that you can’t do inside the Olympic complex area. I’m not sure if the giant green cross now means that you can do those things or not. I particularly liked the two descriptions for flags (one limiting the size of the flag, one the size of the pole) and the restriction on taking your pet budgie to watch any of the events:

There was also a large screen, but I have no idea what it was there for. I’m sure there was some use for it at the time:

I don’t know if the area in front of the stadium is ever inhabitated now, but somehow I doubt if it’s ever crowded:

The arch again, reflected in a pool:

More from inside the arch:

The site was interesting, but I can’t see how this offers any kind of the legacy for the city that the Olympic organisers are always interested in. So far I’ve visited this and Barcelona and, although not perfect, the latter did seem to have had some effect on the surroundings. As I live about a mile away from the 2012 site I get a lot of the plans relating to the area through and I do think the London developments will make more of a difference once the games are gone than the few monumental structures that have been left behind in Athens.

Posted in Other | Leave a comment

Athens – various old stuff

Athens is full of old stuff. You can’t help seeing it everywhere, and they can’t help but finding it every time they want to build something. As a result, there are quite a few museums of old stuff, or places to wander around ruins. In fact, I’m sure you could just start building a museum anywhere and by the time you’d finished the foundations you’d have found enough to fill the museum anyway.

So, we saw museums, and ruins, and probably even some ruins of museums. Who knows. Some of them had vague promises of being open one day, or at least getting some exhibits togther. There was an admission fee for most of the old monuments, but since a 12 euro ticket covered all the main ones (including the Acropolis) and lasted for 5 days it was hardly a big lay-out. If you’re really a cheapskate then you could just stand outside the gate and look in for free; most things are so big that they need to be seen from afar anyway. Certainly the forum was interesting from the outside alone.

The Panathenaic Stadium, which isn’t actually an old thing but is a reconstruction of something old. You can’t get into it though.

At one end of the Panathenaic Stadium, with the Olympic Rings. Although impressive I’m not sure it’s used for anything and apparently the curves in the running track are too tight for modern races. I’m sure “It’s a Knockout” could make use of it, though.

There were quite a few Byzantine churches around Athens. This one had an interesting belltower separate from the main body of the church:

A view of a Byzantine church inside the area of the Roman Forum:

The ruins of the gateway to the forum on a cloudy day:

The forum gateway on a much nicer day:

Inside the forum:

One of the many column capitals inside the forum grounds. A lot of the buildings have collapsed over time but there are fairly intact pieces still remaining:

The porch of the church inside the forum:

The ceiling of the church porch inside the forum area:

Ann at the forum:

One of the ancient carving things in the excellent National Archeological Museum, which I think was from Neolithic times. To me it looked like a Newcastle United supporter:

And one of the more amusing reliefs of two men being interrupted by a horse with an important message:

Another quaint little Byzantine church:

A view of the Temple of Hierocles from the direction of the Acropolis:

The east front of the Temple of Hierocles from inside the Agora complex:

One of the more interesting finds being a “wild” tortoise (if a tortoise can ever be described as wild) inside the grounds of the Agora:

The Temple of Hierocles is one of the best preserved in Athens and quite photogenic with it, particularly shown nestled within the greenery around the Agora:

It’s still impressive close-up:

The ceiling of Temple of Hierocles:

Even though the temple isn’t particularly high up there are still good views around and through:

A column showing some wear and tear:

The Temple of Heirocles in all its glory:

The main market building of the Agora is a reconstruction, and quite impressive too. There’s a small(ish) museum inside which, I have to admit, I didn’t pay too much attention too. I’d seen far too many old pots by this point so I just sat outside and admired the view for 10 minutes:

A column capital inside the Agora:

On the other side of the Acropolis from the Temple of Heirocles is Hadrian’s Arch and the Temple of Olympian Zeus. The temple apparently took quite a few hundred years to build, mainly because no-one could be bothered, it seemed. (And why did we doubt the Olympics would be ready?) It wasn’t until Hadrian came along that it was topped off and he also had an arch built for himself, shown below:

The temple must have been particularly impressive in its time as it was certainly the largest around. Only a handful of columns remain and even they’re impressive enough:

This photo with Ann standing near one gives you an idea of just how big they are:

The temple with the Acropolis in the background:

Capital columns and the frieze:

A few columns stand alone or in pairs. I’ve no idea how half of it could fall down without bringing the rest with it, but I’m glad there’s something left to see:

One of the last columns to collapse during a storm in the 19th century. Personally, the fact that a column hang around for the best part of 2000 years and then decided to fall over suddenly makes me slightly anxious about hanging around them on a windy day. This one also reminded me of an opened pack of rolos

So those are all the ancient monument warm-up acts out of the way. But, of course, the crowing glory of Athens is certainly the Acopolis itself. Don’t worry, I’m coming to it soon enough. It’s getting a whole post to itself.

Posted in Other | Leave a comment