K!

by Karl Bunyan

Programming, PHP, JavaScript, .Net, motorbikes, pubs, poker, football, news, restaurants and anything else

Facebook
http://twitter.com/karlbunyan

Monday, October 30, 2006

Curry is good for you

It's official - eating curry might help arthritis. (I may be paraphrasing, but probably no worse than the BBC reporters are.) Apparently it's the turmeric that really does it.

Dr Janet Funk and her colleagues believe their findings also suggest turmeric extract could treat other inflammatory disorders, including asthma, multiple sclerosis and inflammatory bowel disease.

If it's good enough for Dr Funk, it's good enough for me!

BBC NEWS | Health | Curry spice 'help for arthritis'

Link to this post

Comments:
Post a Comment
Saturday, October 28, 2006

BBC NEWS | Programmes | Click | Designing a more accessible web

This article on the BBC site purports to be about how to create accessible websites, but reading between the lines I get the feeling there's a press release from the company that built J K Rowling's site behind it.

It looks like quotes have been taken out of context to me:

However, [CSS is] quite a new technology, it's only been around a couple of years, and a lot of designers are still very wary of using it.

Flash is a very interesting topic in terms of web accessibility. It's actually capable of being very accessible indeed.

This makes the article come across as 'use Flash to make accessible websites because it's better for it than CSS' which is quite far from the truth. Initially I thought it was just a case of poor expert quotes, but it seems that it's just poor journalism that's behind it.

BBC NEWS | Programmes | Click | Designing a more accessible web

Link to this post

Comments:

Poor journalism from the BBC? Surely not 8-)

posted by Blogger Chris Pittock : October 31, 2006 11:19 PM

Post a Comment
Thursday, October 26, 2006

Coincidences

Have you noticed how sometimes lot of the same type of thing? Peter Kay said "Some days you see lots of people on crutches.", which I've noticed too. Well, recently:

  • I've met lots of people called either Jeff, Jason or Steve. There are no other new names around.
  • I've seen a lot of women with freckles.

And I can't say why.

Link to this post

Comments:

everyone i meet is called karl



cheers steve

posted by Anonymous Anonymous : October 27, 2006 10:01 AM

Post a Comment
Wednesday, October 25, 2006

Telegraph Fantasy Football password

The Telegraph Fantasy Football password for Wednesday 25th October is BACK.

Link to this post

Comments:

this password does not work.

posted by Anonymous Anonymous : October 25, 2006 5:02 PM

This post has been removed by a blog administrator.

posted by Anonymous Anonymous : October 25, 2006 5:03 PM

Oh yes, thanks. I've changed it to the correct password now (which is back as shown).

posted by Blogger Karl Bunyan : October 25, 2006 5:07 PM

Post a Comment
Wednesday, October 18, 2006

Telegraph Fantasy Football password

The Telegraph Fantasy Football password for Wednesday 18th October is FIRE.

Link to this post

Comments:
Post a Comment
Tuesday, October 17, 2006

Hayabusa

This isn't quite the Suzuki Hayabusa, but a vacuum cleaner:

Hayabusa

Link to this post

Comments:

Did you know Hayabusa is Japenese for Falcon?



It's sad that I know that.

posted by Blogger Chris Pittock : October 21, 2006 7:27 PM

This post has been removed by a blog administrator.

posted by Blogger Chris Pittock : October 21, 2006 7:29 PM

Post a Comment
Thursday, October 12, 2006

Friends of the Orient - east London business networking

My web development company Exponetic have just designed and built the new website for Friends of the Orient, a business networking club in east London. The site lists the businesses that are part of the club, which is based around Leyton Orient football club, as well as news and information about upcoming events.

The next meeting is on Tuesday October 17th and anyone who wants to come along should give Steve Dixon a call on 0871 310 1886, or e-mail s.dixon@leytonorient.net

Friends of the Orient business networking club

Exponetic profile

Exponetic's website

Link to this post

Comments:
Post a Comment

Telegraph Fantasy Football password

The Telegraph Fantasy Football password for 11th October 2006 is London.

Link to this post

Comments:
Post a Comment
Tuesday, October 10, 2006

Why VB.Net is bad

If a language is going to be loosely typed, then that's fine as long as you know how to use it. If it's going to be strongly typed that's even better. So in JavaScript:

var i=1;
var j="1";
if(i==j)alert("Loose typing ahoy!");

Everything's fine and you get an alert. And if you go:

var thingArray = new Array();
thingArray[i]="Loose typing still ahoy!"
alert(thingArray[j]);

You get the same thing.

Try something similar in C#, and you'll get a compile error:

int i = 1;
string j="1";
if(i==j)Response.Write("Oooooh badness");

So it will never work.

In VB.Net, though, we're in a funny middle-ground where things are sometimes the same, and sometimes different:

Dim i as Intger = 1
Dim j as String = "1"
If i = j Then
Response.Write("They're the same here.")
End If

So far, so ropey, and not that dissimilar to JavaScript. But then:

Dim thingArray as new ArrayList
thingArray.Add(i)
If thingArray.Contains(j) Then
Response.Write("They're still the same...")
End If

will never write anything out. Because despite the fact that 1 = "1", an ArrayList that contains 1 doesn't also contain "1" because they're different...

It's a cop-out of a language, I say.

Link to this post

Comments:
Post a Comment
Monday, October 09, 2006

Kinetica, Kinetic Arts Museum, Spitalfields

I had an invite to the opening of Kinetica, a new Kinetic arts museum in Spitalfields the other night. By it's own description, "Kinetica is the UK's first museum of kinetic art", and who am I to doubt it? It's quite an interesting place, in a very good setting in old Spitalfields too. The tactile quality of the robots was quite amazing and the compressed air hydraulics that kept them moving gave them an impression of strength. (I can't help thinking that making robots is an occupation where you could easily lose a finger.) The semi-human forms are very well sculpted, capturing a lot of the essences of skeletal structures without being literally bone-shaped, and it's all quite Terminator-ish at times. It's one thing if a fairly scary looking robot is sitting there playing the drums, it's another if it starts hopping towards you.

As well as the fun robotics there are some slightly lower key but still interesting works upstairs, including a couple of disembodied arms that write the same piece of text over and over again on a scrolling piece of paper. Very odd, and still quite unnerving.

Kinetica, Spitalfields

The opening of Kinetica covered by Channel 4

BBC's coverage of Kinetica's opening

Link to this post

Comments:
Post a Comment
Sunday, October 08, 2006

Leyton Orient 0-0 Chesterfield

Leyton Orient 0-0 Chesterfield

A goalless draw against Chesterfield isn't too bad a result for Orient, considering the recent form of letting in three goals a game. A clean sheet is a good starting point as the defence seem to have been very weak this season, but yesterday did seem them winning a few headers and getting to a few more balls first.

Overall, the O's had the best of the play, but only just. There were a few chances and although Chesterfield didn't have as many they were probably clearer cut. It's disappointing that last season we managed to beat this side in the FA Cup but don't seem to be able to this year when we need to win these kinds of games to stay up.

Still, the team effort was generally exceptional and I couldn't help thinking that if they play as well for the rest of the season they might have a chance. We'll see.

BBC SPORT | Football | League One | Leyton Orient 0-0 Chesterfield

Link to this post

Comments:
Post a Comment
Friday, October 06, 2006

Meson Los Barilles tapas, Spitalfields Market

After wandering around Kinetica for an hour, we wandered off to a small Spanish restaurant called Meson Los Barilles. It's also in Old Spitalfields (the proper old bit), and just off the main very commercial drag of Giraffe et al.

I think this may be a contender for the best tapas I've had in London. Admittedly, I haven't had much, but it was good. Although I'm a fan of our local tapas in Leyton, La Parreira, it can't quite match Meson Los Barilles for depth of taste.

We were surprised it wasn't completely packed out, given how many people there were out around Spitalfields that night and that it was nearly 9pm, but they found us a table quickly. We ordered a variety including the sold favourites like patatas bravas, some squid, and chorizo with white beans in a tomato sauce. The highlight, though, was definitely the shell on prawns in olive oil, garlic and chilli, which justified having a bowl of bread to mop up with in themselves.

The wine list was pretty good too, with house reds and whites from around a tenner, and about twice that for some of the more specialist bottles.

All in all it come to around fifty pounds between two which is quite reasonable given that we had more than enough to eat and drink, and especially so given the location.

I think I may find myself there again from time-to-time.

Review of Meson Los Barilles on Squaremeal.co.uk

Location of Meson Los Barilles

Link to this post

Comments:
Post a Comment
Thursday, October 05, 2006

Line Rider

Draw a line and then set a little man bob sledding off it. Surprisingly addictive. Watch this video to see what can be done.

Line Rider - beta by ~fsk on deviantART

Link to this post

Comments:
Post a Comment
Monday, October 02, 2006

There's a bounty on Kofi Annan's head

They've put a bounty on Kofi Annan's head. Will they never stop?

Bounty on Kofi Annan's head

Link to this post

Comments:

seriously...

posted by Anonymous zoo : October 17, 2006 10:30 PM

Post a Comment
Sunday, October 01, 2006

.Net file locking on compile

I kept on getting a problem whereby on trying to recompile a project in Visual Studio a dll assembly would be locked when I loaded the project up in a browser with a message such as:

Cannot copy assembly [...] to file [..].dll. The process cannot access the file because it is being used by another process.

With a note that the error was something around:

<add assembly="*" />

Which wasn't very helpful. Googling for the error message didn't help much as there were all kinds of reasons for files being locked, but Googling for asp.net compile file locking did and I was lead to this page which explains it.

I tried various 'fixes' of my own, such as rebuilding the entire solution, starting and stopping IIS through services, and sometimes it seemed to work and sometimes it didn't. It was very bizarre and very annoying, but the file lock was starting to cause me real problems.

The solution

It was quite easy: disable the Indexing Service from the Services list. Apparently the indexing service was locking the file and it would be released after 'a bit of time', which was why my random attempts at fixes sometimes seemed to work, and sometimes didn't.

Microsoft: sometimes, I really hate you.

Preventing compiled dll's from being locked in Visual Studio.

Link to this post

Comments:
Post a Comment

Archive

Current Posts

Other links

Change the background image