The deadline for voting is at 17.00 hours, and both camps are claiming their man is set to win. With tensions running high; Ed Miliband has just sent a campaign email appealing for extra votes and saying, in a clear attack on the rival camp:

This has been a campaign based not on the backing of large donors or of the New Labour establishment, but on the support of thousands of new and long-standing Labour Party members.

Very soon, though, such messages will be a thing of the past. After the votes are counted over the coming days, the results will be revealed on Saturday afternoon in Manchester. After the first real contest since Michael Foot was elected Labour leader in 1980, the new leader will be charged with ushering in a spirit of fraternity towards his brother as well as across his party. He will have to give an acceptance speech, interviews, a conference speech and then turn outwards to the electorate and against the coalition. Parliament returns after the conference season the following week, and the new leader will face David Cameron at Prime Minister's Questions.

There is no doubt that divisions between the Miliband brothers will be a key line of attack from the coalition. But if peace breaks out in the Labour party after this weekend -- and that is a big if -- there is one response the new leader will be able to give: the Tories and the Lib Dems have fought bitter leadership contests before, but none of the candidates has been able to say they loved their main rival. Labour MPs and activists will be hoping that after being so dramatically tested in this surreal contest, brotherly love will prevail for the sake of the party and the country.

PS: Here is Alastair Campbell, in today's Yorkshire Evening Post, showing how it is done when it comes to offering support for a candidate without treading all over the contest:

I am really hoping that David Miliband wins the leadership, I hope that there's a new team that does the strategy stuff. I would just love to see a younger generation come into it. Never say never but I feel at the moment that I have got a very different sort of life.

It’s rare to go a day in prison without someone offering you drugs. When I was sentenced to 16 months in 2011, I was shocked by the sheer variety on offer. It wasn’t just cannabis, heroin, and prescription pills. If you wanted something special, you could get that too: ecstasy for an in-cell rave, cocaine for the boxing, and, in one case, LSD for someone who presumably wanted to turn the waking nightmare of incarceration up to eleven.

Those were sober times, compared to how things are today. New synthetic drugs – powerful, undetectable, and cheap – have since flooded the market. As the Ministry of Justice itself admitted in its recent White Paper, they’ve lost control: “The motivation and ability of prisoners and organised crime groups to use and traffic illegal drugs has outstripped our ability to prevent this trade.”

The upshot is that, rather than emerging from prison with a useful new trade or skill, inmates are simply picking up new drug habits. According to a report released on 8 December by drug policy experts Volteface, on average 8 per cent of people who did not have a previous drug problem come out of prison with one. In some of the worst institutions, the figure is as high as 16 per cent.

Why are people with no history of drug abuse being driven to it in prison?

There’s the jailbreak factor, of course. All prisoners dream of escape, and drugs are the easiest way out. But, according the report, the most common reason given by inmates is simply boredom.

Life when I was inside was relatively benign. On most days, for instance, there were enough members of staff on duty to let inmates out of their cells to shower, use a telephone, post a letter, or clean their clothes. Sometimes an emergency would mean that there might not be enough hands on deck to escort people off the wing to education, worship, drug therapy, healthcare, family visits, work, or other purposeful activities; but those occasions were mercifully rare.

Since then, the system has had £900m sucked out of it, and the number of operational staff has been reduced by 7,000. All such a skeleton crew can do is rush from one situation to the next. An assault or a suicide in one part of the prison (which have increased by 64 per cent and 75 per cent respectively since 2012) often results in the rest being locked down. The 2,100 new officers the MoJ has promised to recruit don’t come anywhere close to making up the shortfall. Purposeful activity – the cornerstone of effective rehabilitation – has suffered. Inmates are being forced to make their own fun.

Enter ‘synthetic cannabinoid receptor agonists’, or SCRAs, often more simply referred to by brand names such as ‘Spice’ or ‘Black Mamba’. Over 200 of them are available on the international market and they are, today, the most popular drugs in British prisons. A third of inmates admitted to having used ‘Spice’ within the last month, according to a recent survey conducted by User Voice, and the true figure is probably even higher.

As one serving prisoner recently told me: "It's the perfect drug. You can smoke it right under the governor's nose and they won't be able to tell. Not even the dogs can sniff it out."

The combination of extreme boredom and experimental drugs has given birth to scenes both brutal and bizarre. Mobile phone footage recently emerged from Forest Bank prison showing naked, muzzled prisoners – apparently under the influence of such drugs – being made to take part in human dog fights. At the same establishment, another naked prisoner introduces himself to the camera as an ‘Islamic Turkey Vulture’ before squatting over another inmate and excreting ‘golden eggs’, believed to be packets of drugs, into his mouth. It sounds more like a scene from Salò than the prison culture I recall.

The solution to this diabolical situation might seem obvious: but not to Justice Secretary Liz Truss. Her answers are more prison time (up to ten years) for visitors caught smuggling ‘spice’, and new technology to detect the use of these drugs, which will inevitably fail to keep up with the constantly changing experimental drugs market. Earlier this week, she even suggested that drug-delivery drones could be deterred using barking dogs.

Trying to solve prison problems with more prison seems the very definition of madness. Indeed, according to the Howard League for Penal Reform, over the last six years, inmates have received over a million days of extra punishment for breaking prison rules – which includes drug use – with no obvious positive effects.

Extra security measures – the training of ‘spice dogs’, for example – are also doomed to fail. After all, it’s not like prison drug dealers are hard to sniff out. They have the best trainers, the newest tracksuits, their cells are Aladdin’s Caves of contraband - and yet they rarely seem to get caught. Why? The image of a prison officer at HMP Wayland politely informing our wing dealer that his cell was scheduled for a search later that day comes to mind. Unless the huge demand for drugs in prison is dealt with, more security will only result in more corruption.

It might be a bitter pill for a Tory minister to swallow but it’s time to pay attention to prisoners’ needs. If the prodigious quantities of dangerous experimental drugs they are consuming are anything to go by, it’s stimulation they really crave. As diverting as extra drug tests, cell searches, and the sight of prison dogs trying to woof drones out of the sky might momentarily be, it’s not going to be enough.

That’s not to say that prisons should become funfairs, or the dreaded holiday camps of tabloid fantasy, but at the very last they should be safe, stable environments that give inmates the opportunity to improve their lives. Achieving that will require a degree of bravery, imagination, and compassion possibly beyond the reach of this government. But, for now, we live in hope. The prisoners, in dope.