One effect I use a lot in web development is what I call “FadeOver“. By this, I mean that when you put your mouse over something, it shouldn’t just suddenly change colour – it should fade to a new colour – it just looks cooler. Since I’m now moving to jQuery, I’ve thought it wise to make this effect into a jQuery UI widget and release it as opensource.
Above you can see an example of the widget – the text with the blue flame is done entirely in CSS, no images involved, FadeOver simply fades between stylesheets with different CSS text-shadow values. The buttons below to enable and disable the widget are also FadeOver widgets themselves, although they look exactly like jQuery UI buttons, if you play with them you’ll notice they fade between colours when they change state rather than just flicking between colours instantly. It’s a subtle difference, but touches like this make all the difference in my opinion.
Furthermore, jQuery UI’s widget “factory” makes it very convenient to create standard web controls that can be easily used by anyone.
The widget you see above is a minature version of MediaSlide – it loads the image list directly from my Flickr feed – the images and thumbnails themselves are loaded directly from Flickr too. You can use Flickr feeds to populate MediaSlide with images, or you can use your own XML or JSON feeds. Consult the comprehensive MediaSlide documentation for more information.
Project Name - Version 1.0
Copyright (c) - Author Name
Redistribution and use, with or without modification, are permitted
provided that the following condition is met:
* Redistributions of this code must retain the above copyright notice,
this condition and the following disclaimer.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Everyone’s talking about the riots, condemning the chavs for mindless violence etc.
It seems to me that to dismiss the riots as pure criminality is a bit of a cop-out. The riots are clearly symptomatic of a wider problem with society. Increasing numbers of people are feeling a disconnect between the establishment (the government, companies, shops, whatever) and the people on the street. Peaceful protests have happened regularly in the last few years, and I think the perception of a lot of people is that those protests have been largely ignored and that in some cases the police exercised undue force to control protesters who weren’t really doing very much wrong.
Of course the people who attended the anti-war demo before the Iraq war, and those attending the peaceful “stop the cuts” protests are probably not the same ones who are now terrorising the streets, but the point is the government has created a generalized distrust of the establishment. The police haven’t helped by allowing themselves to be filmed apparently beating innocent protesters during peaceful demonstrations. The kids on the streets now weren’t at those demonstrations, but you can bet their parents and friends probably watched them on the news. What’s happened is that society as a whole has tried to change government peacefully, it failed, and now those with a lower intellect and a penchant for criminal damage and petty theft have taken over. This is what happens when you ignore the people and deal with them using undue force. They will rise up – the police will be outnumbered.
This is why I’m reluctant to support the Met Police – they’ve kinda brought it on themselves, and I kinda do want the government to be made aware that the people are not happy. I wish the moronic thugs would do a better job of voicing the concerns of the populace, and of course I don’t support petty theft and mugging – it’s terrible the destruction that’s being caused, but if someone threw a brick through the window of number 10, I’d probably be cheering them on. Don’t take that to mean I’m on the side of the rioters, I’m not, but I’m sure as hell not on the side of the government or the pigs either.
I’m just on the side of the communities who’ve got together today to start clearing stuff up.
The government bailing out the banks hasn’t gone down well either – it’s seen as the government taking from the poor to give to the rich, and people aren’t happy about it. They’re right not to be.
I’m not blaming it all on the Tories or the Lib Dems either – this is mostly Labour’s fault, the majority of this has built up over Tony’s rein. The Tories have just pushed things over the edge, I think Tony is the one who’s really to blame, for ignoring the people and going to a war nobody wanted.
Lisa is now 7 months pregnant with our baby, a little boy. He’s due August 28th and we’re really excited
The scan pictures are below.. in the first scan the sonographer got a bit trigger happy with the photos so we ended up with quite a few more than we’d asked for (for free). In the second scan we only got 3 pictures, but one of them shows his little feet very clearly!
We’ve not decided for definite on a name yet although we have one likely contender – I think we’re going to make the final decision after we actually meet the little guy, who we’ve temporarily nicknamed ‘Pickle’, due to Lisa craving all things pickled in vinegar early in the pregnancy.
3 of my photos are currently on display in the Celebrate Cuckmere exhibition in the Pump Barn at the Seven Sisters country park, Exceat. Check out the website for more details of the exhibition (Lisa and I did it – in fact I credit Lisa with most of the hard work, I just supervised and pointed in the right direction). Scroll down to see my images on the wall.
Lisa and I also helped with the marketing a bit – seems to have gone fairly well, there’s several mentions of it on the BBC website:
The exhibition also marks the end of the “Pathfinder project” – the government’s bullshit “public consultation” exercise aimed at deciding the future of the Cuckmere Valley (bit weird to hold this after they’d already announced they were going to withdraw maintenance of the flood defences right?).
Anyway, as far as I can tell the Pathfinder project can be summed up thusly: lots of people care very much and argued a lot about what should be done, everyone got rather stressed and frustrated with each other, and ultimately the conclusion of the project was that there’s a fair amount of support for reconnecting the river flow to the meandering section of the river (which is currently effectively a lake) – however nothing can really be done until there’s been feasibility studies and costings for this, so for now they’re going to basically do sod-all – continue maintaining it as they have been, and then go over the whole thing again in a couple of years once they’ve properly assessed the options I guess.
This is good news, I think – I would generally support the idea of reconnecting the river to its natural path, but only if it can be done without completely destroying the meanders – I reckon if you reconnected the meanders right now, they’d probably just all get washed away – they need re-planting with deep rooted plants or something rather than the thin layer of grass that’s there now..
(this is, assuming government don’t decide to go back on their promise to listen to the conclusions of the Pathfinder project)
Personally, I’m just glad I kept a distance from the whole thing – I’m not hugely interested in the impassioned arguments of locals, and from what people have said to me it sounds like the whole thing ended rather acrimoniously – everyone’s certainly being very careful not to be too controversial in public now.
I would certainly look forward to the day they may finally restore flow to the meandering section of the river – I think that would be an interesting thing to photograph.
Anyway, here’s my photos in the Celebrate Cuckmere exhibit:
Start by frying the pork in a frying pan with garlic olive oil and two crushed cloves of garlic, throw in a knob of butter, cook until golden brown then place the pork in a casserole dish.
Using the same pan, add the onion, celery and carrot; stir-fry until tender.
Make the stock by disolving the stock cube in the smallest amount of boiling water needed to make it disolve, then add the ginger beer and mix thoroughly (don’t worry it looks a bit disgusting at this point).
Sprinkle the flour over the vegetables, then gradually add the ginger beer and stock; bring to the boil stirring continuously.
When the sauce has thickened, stir in the Worcestershire sauce, lemon juice and tomatoes along with seasoning to taste (it normally takes a fair bit of salt).
Pour the sauce over the chops, cover the casserole dish and cook in oven 180°C/350°F/Gas 4 for 45-50 minutes until the pork is tender.
4 cans of Scrumpy Jack
1 cinamon stick
1 tea spoon of apple pie spice
4 table spoons of granulated sugar
1 table spoon of vanilla sugar
1/2 teaspoon of vanilla extract
1 cup of Copella apple juice