Conditionals, and Loops

I’ve been busy trying to automate the production of nodes for my Morcego installation, and find myself hung up on how to script an interative process for making similar links.
After much searching and head-scratching, I’ve found something that’s not quite an Aha! moment, but does make sense of something I’ve puzzled over.

Conditional (programming) – Wikipedia, the free encyclopedia

Else If

  • By using Else If, it is possible to combine several conditions.
  • Only the statements following the first condition that is found to be true will be executed.
  • All other statements will be skipped.
  • The statements of the final Else will be executed if none of the conditions are true.

Eating Spaces Node Map

I’m satisfied that I know enough about coding the Morcego node map that I’ve set it up on my webserver, at http://nunovo.org.uk/eatingspaces. So, it’s live, and will get further attention as I can make time for it.

The first thing is to set out enough of the categories that loop back on each other – which is the point of a force-based diagram, and then develop some of the ancillary page displays – which is one of the main reasons to use Morcego.

Eating Spaces. What’s that about, then?

It’s a play on words, in typical po-mo hum-geo fashion. It’s a potential research project on the urban geographies of food. It’s about the spaces where food happens, including the production, distribution, consumption, cultures, discourse and practices of eating. The main focus might be on a small constellation of topics with a social emphasis, such as the development of urban spaces around the twin poles of urban food production and sustainability. This might then branch into topics of how urban spaces are and could be set aside for food production, where allotments represent one pole, and brownfield/verge sites another.

I’m using Morcego to map an outline of the project, so as to make it easier for participants to understand. Ultimately, if Morcego is powerful enough, it becomes a map and a record.

Glorious 5th

 

Written Yesterday:

Today is one of the high points of the year. It’s gloriously warm and sometimes sunny out. I was up at 4:30 (GMT) with the sun, and in the garden by 5:00, pulling weeds, trimming ivy, repotting the Gaillardia, clearing a patch of ivy and debris from a corner, adding to the new compost frame I made yesterday, and napping on the inflatable sofa.

The warm, still air is slightly fragrant with jasmine and honeysuckle. The clouds moved in late morning, and there’s a hint of impending storm. Not that I expect one, just that it’s that kind of day. The boughs moving slightly, gently; the streets and gardens quiet. A timelessness. Light, but not the broad light of blazing sun. A gentle light. Everything slow, quiet; evocative rather than overt. Gorgeous.

I’ve also made glorious progress with Morcego. I’d been having problems that were all to do with Firefox. I tried viewing my demo installation with Chrome, and it was already working! Ditto Opera. So I must have a java block on Firefox somewhere. Now that’s solved, I’ve been making happy progress figuring out the XML syntax for a node map. It’s still in demo mode, so I’m not linking to it.