Monday, 31 August 2009

Shearwater Spectacle on YouTube

The shearwater picture on The New Dharma Bums is impressive enough but the YouTube video, although indistinct, gives a better impression of the sheer (deliberate pun!) numbers out in, presumably, Monterey Bay. Also presumably, they are sooty shearwaters. I occasionally saw this kind of carpet of birds when I lived in California but never over such a large area.

Sunday, 30 August 2009

Making a Website with ASP.NET and HTML

Microsoft provides Visual Web Developer Express as a free download to design websites built on their .NET technology. .NET is nothing more than a common set of functions for interacting with a user and ASP.NET implements it for the Web via Microsoft’s Active Server Pages (ASP). These create the HTML from which a browser, like Internet Explorer, builds a Web page.

OK, that's the jargon. The bottom line is: you can cut all that crap and just use Visual Web Developer (VWD) as an HTML editor. It does some of the tedious typing for you by filling in text it knows you'll need and even makes it XHTML-compliant. And if you want to try any of the fancy stuff in .NET, like master pages and reusable code, it’s there for you.

I've already hinted at using this to design a website and the resulting mish-mash appears at my birding/writing/programming pages. Yes, it looks like I’m not going down the Drupal route: I’m the sort of control freak that likes to programme as close to bare metal (or silicon) as possible.

And really, VWD is simple, for simple pages. It’s only when you start pushing the technology that the learning curve becomes as vertical as the brick wall against which you feel you're banging your head. You have to try the whistles and bells one at a time.

Most frustrating recently has been CSS (Cascading Style Sheets). This is supposed to be the XHTML way to go: it separates style from content, presentation from the actual words. However, something as simple as centring images seems to require such an inversion of the thought processes that Einstein would struggle with it. This is not VWD’s fault: it merely conforms to the coming standards.

It did have one big roadblock when testing the website locally, which might drive the less tenacious away. So, here it is, cleared: Internet Explorer cannot display the webpage.

PS. I would never advocate not using the <p> element to mark up an HTML paragraph. After all, a paragraph is a paragraph, right? But look in your newspaper. Is there a space between paragraphs? Check the latest, or any, Harry Potter. Spaces there? The Bible? Goddammit, even an HTML reference book? Spaces between paragraphs? No.

Then along comes HTML itself. “I know: let's stick a space in between paragraphs.” Fucking brilliant, mate. So, here's a nasty, but CSS-compliant, way to remove the space and indent the way it used to be:
p {text-indent:1.2em; margin-top:-1em;}
p.scene {text-indent:0em; margin-top:0em;}

Now just add class=”scene” to the first paragraph of each piece. Scrivens!

Saturday, 29 August 2009

Nanotechnology: Don’t Worry, Be Nosy

Cornelia Dean in the New York Times asks her readers if they worry about nanotechnology. She needn't worry: people worry, full stop. It's a neat way of invalidating. It totally sets up the framework in which any future discussion will take place. That framework is one of fear. Wouldn't an unprejudiced enquiry be more productive?

I say this not necessarily as a supporter of nanotech but as one who has used it in a thread running through my science fiction novel. It’s interesting, goddammit, not another scare story. But that's precisely why I make it scary in the book. Scary sells.

Friday, 28 August 2009

Grey Phalarope, Witcombe, Gloucestershire

Red Phalarope

This year I’m doing well on phalaropes: red-necked added to my British bird list two months ago; and only my sixth sighting anywhere of grey today. What better compensation for dipping on the wryneck that's been showing at the reservoir the last couple of days? At first, distant, the phalarope flew after five minutes – right to our edge of the water – for binoculars-filling views. They're not shy.

It was moulting into winter plumage and impossible to sex. The female of the phalaropus genus, like the dotterel, is the colourful one and does all the courting. Oh, to be a phalarope. Hang on, though. The bloke gets left on the tundra with the kids while her-outdoors buggers off back to the African oceans. This wader, along with the red-necked, is also unique in spending its non-breeding life at sea. So, today’s bird was probably female.

In summer plumage the gal’s body and neck are red, as are the male’s but more blotchily so. In fact, they're called red phalaropes in the USA, where they're also considered the rarest of the genus. Rarest because America has a third phalarope, Wilson’s. It’s a landlubber but “she” still wears the trousers.

Thursday, 27 August 2009

Black Terns, Upton Warren

Upton Warren

An influx of these through the Midlands in the bad weather yesterday left three over the Moors Pool this morning. Without expecting them, they're easy to overlook initially. The adults have largely moulted into winter garb, which along with the juveniles’ plumage, renders them white below and only somewhat greyer above than common terns.

Their behaviour gives them away. Their constant, bouncy flight brackets swift plunges to the water’s surface to pick off insects. Closer inspection, even just through binoculars, reveals the darker shade, a hint of collar and, on the youngsters, a definite leading dark band to the wings. For contrast a common tern did join them later and was clearly bigger and sturdier too.

Despite missing the late spring’s black terns in breeding plumage, it was good to add these to the year list and moreover to my score from September last year, which now stands at 645. I used that date as the start point for my round-the-world twelve-month list but may push it back to October because I’m off to Malta in a couple of weeks. More of that later, I’m sure.

I spent an hour in the lapwing (east) hide, absorbing these birds plus a very obliging common sandpiper and male kingfisher. I know this now because it wasn't wearing “lippy”, as someone put it (the female has a red base to its bill).

 
Creative Commons License

This work by Andy Gibb is licensed under a Creative Commons Attribution-Non-Commercial-Share Alike 2.0 UK: England & Wales License. It also uses Google Analytics and so creates tracking cookies and collects non-identifiable data about you.