Pads Posted June 19, 2006 Share Posted June 19, 2006 And i give in to temptation oh so quickly but i will moderate my self i promise ta pads Link to comment Share on other sites More sharing options...
Jonzjob Posted June 19, 2006 Author Share Posted June 19, 2006 Alan Titchmarsh was asked a couple of years ago if he had ever made love in his garden? His reply was "No, not in this one, we have only just moved". Well these 2 didn't have any problems!!![IMG]http://i47.photobucket.com/albums/f180/Jonzjob/Swallotailsmating.jpg[/IMG]What a lovely sight, pert etra lots mote swallowtails? I do love Spring...John.P.S. Dick, I ain't not never seed a souris wiv no butenz, very neat! How do you left or right click, not your heels you fool [kiss]... Link to comment Share on other sites More sharing options...
Dog Posted June 19, 2006 Share Posted June 19, 2006 [quote user="Cassis"]I can see you're trying very hard here. 10 out of 10 forperseverance. Try this. Click on the 'quote' box above this message. Copy the bit in red (you'll see the red bit when you hit 'quote'). Paste it into a message. Fingers crossed![img]http://www.normandie-chambres.co.uk/garden2.jpg[/img][/quote]The only thing in red is the bit of the Skiving in France logo..But there is some computa gubbins above about colour. Link to comment Share on other sites More sharing options...
Cassis Posted June 19, 2006 Share Posted June 19, 2006 [quote user="Dog"][quote user="Cassis"]I can see you're trying very hard here. 10 out of 10 forperseverance. Try this. Click on the 'quote' box above this message. Copy the bit in red (you'll see the red bit when you hit 'quote'). Paste it into a message. Fingers crossed![img]http://www.normandie-chambres.co.uk/garden2.jpg[/img][/quote]The only thing in red is the bit of the Skiving in France logo..But there is some computa gubbins above about colour.[/quote]What on earth is your computer setup? All I've done here is hit the 'quote' button on your last post and this is what I get! It looks like when you hit 'quote' you are getting the source code for the message in html. Link to comment Share on other sites More sharing options...
Dog Posted June 19, 2006 Share Posted June 19, 2006 I think it must be something to do with AOL - expletive deleted - it speaks gubbins to me but won't send it out. I tried to log on with Iterest Explorer OSX and earlier Microsifless Interest 5 Macintosh but all I get are default pages telling me who registered the site.I have a steam powered Aqua Hussle 68" monitor and a 1989 Apple Mac PreProduction Fava MkIII which I have customized with a yellow Hammerite paint job I am running OSX17 Version 22.87.45b.It must be a problem with my postings on US Government involvement with the wars on Mexico.Strange times..... Link to comment Share on other sites More sharing options...
Cassis Posted June 20, 2006 Share Posted June 20, 2006 Now that you've given us the details of your setup I know what you need.Some editors offer a magical facility called Folding. A block of codecan be selected and converted into a Fold. The fold may be in two states- open or closed. In the Open state, the text is displayed as normal,usually with an extra comment line referred to as the Fold Comment at thetop and another (usually left blank) at the bottom. However, a singlekeystroke or mouse click can Close the fold. When the fold is Closed, itis as if the program listing had been folded up so that the bottom foldcomment met the top fold comment. All the lines inside the folddisappear, the only thing being left visible being the Fold Comment,which may be differentiated in some way (such as bolding the text orchanging its colour). Folds can, of course, be nested, and for languagesfor which indentation is informative (most, nowadays), indenting aclosed fold indents the entire contents.For example, a common pattern for procedures is for them to be dividedinto an initialization section, a main loop, and a termination section.By making the initialization section, the loop body and the terminationsection folds, this structure is visible at a glance in a way which itwould never be if spread over several screens full. Another use of foldsis folding up boring but necessary constant definitions, or informativebut lengthy comment blocks.It is difficult to explain to those unused to it how valuable thetechnique of Folding is in making software comprehensible. The centralproblem of software is complexity - and folding controls and optionallyconceals complexity. A functional block is reduced to a single line.This allows a module to be viewed at an appropriate level: when viewingthe high level structure, the implementation details can be folded away;when viewing the detail, surrounding structures can be ignored.There are a number of Folding editors available. There is a sharewareeditor for Microsoft Windows® called Origami, and also macros forimplementing Folding on the Unix emacs editor. I would strongly recommendthat anyone programming in languages such as C++, Java or Ada try out afolding editor - the effect is astonishing.This is diatribe on Folding is merely to introduce the concept thatit may be useful to have more than one representation of a piece of code.Folding editors do this on a line-oriented basis; several lines of codeare replaced by a single fold. However, one could also fold within a line.For example, it is surely informative to replace the code fragment (today.day >= MONDAY) && (today.day <= FRIDAY) && !today.is_public_holiday()with today is a working dayespecially if the more legible but less precise formulation can beunfolded instantaneously into the exact representation, should thatbe needed.Folding in the classical sense has usually been at the level of theprogramming language statement. The example above shows where it is usefulat the level of the expression (a boolean expression in this case). Togeneralize, it seems plausible that it is worthwhile having the facilityto have two alternate representations of any syntactic entity - onebeing its literal contents, and the other being a folded alternativewhich is more informative and usually more compact (but not necessarily -area of circle is less compact than pi*r*r).If two representations are useful, are more than two useful? No,because any item which can be folded can be re-folded in an outer fold,with just one entry, which has its own alternate representation. Thus anynumber of levels of representation can be constructed, if needed, fromthe basic two. In fact, two levels are usually entirely adequate - thebasic level, showing what it actually does, and the folded level, wherethe nuts-and-bolts of the actual implementation are hidden by adescriptive shorthand. Hope this helps. Link to comment Share on other sites More sharing options...
Dog Posted June 20, 2006 Share Posted June 20, 2006 I am a strong believer in folding and keep a well stocked wallet but am still unhappy about the demise of the ten bob note.I am a qualified substrate technologist and can manipulate paper stock into many states. I gave up macrame for origami for my PHD and am sure I should be able to work something out - if only I had a sharp pencil.Still no further posting a pic though.... Link to comment Share on other sites More sharing options...
Dog Posted June 20, 2006 Share Posted June 20, 2006 I have been practising let's see what happens here. I have been examining the source code of the site and can see ways to bypass the fluctuating floating by-points. I should be able to reprogramme the lower level conundrums to accept my newly wrapped and folded programming. A.1 Zephyr ASDLbooleanexp = Variable(identifier id)| Constant(boolean b)| OrExp(booleanexp left, booleanexp right)| AndExp(booleanexp left, booleanexp right)| NotExp(booleanexp exp)A.2 CThe “.h” file:typedef struct booleanExp *booleanExp_ty;typedef char* identifier;typedef int boolean;enum booleanExp_type {VARIABLE, CONSTANT, OREXP, ANDEXP, NOTEXP} ;struct booleanExp {enum booleanExp_type kind;union {struct { identifier id; } variable;struct { boolean b; } constant;8struct {booleanExp_ty left;booleanExp_ty right;} orExp;struct {booleanExp_ty left;booleanExp_ty right;} andExp;struct { booleanExp_ty exp; } notExp;} u;};The “.c” file:#include "booleanExp.h"booleanExp_tymkVariable(identifier id) {booleanExp_ty p;p = (booleanExp_ty) malloc(sizeof(*p));p->kind = VARIABLE;p->u.variable.id = id;return p;}booleanExp_tymkConstant(boolean b) { /* ... */ }/* ... */A.3 MLtype identifier = string;datatype booleanExp = Variable of identifier| Constant of bool| OrExp of (booleanExp * booleanExp)| AndExp of (booleanExp * booleanExp)| NotExp of booleanExp;A.4 Javaabstract class AST {}public class Variable extends AST {public Identifier id;public Variable(Identifier id) {this.id = id;}9}public class Constant extends AST { /* ... */ }public class OrExp extends AST { /* ... */ }Let us see what happens... Link to comment Share on other sites More sharing options...
Cassis Posted June 20, 2006 Share Posted June 20, 2006 I think you're close to a solution there. Congrats. In the meantime, just to bring us somewhat back on topic, here is a hawkmoth in our garden.[img]http://www.normandie-chambres.co.uk/pics/hawkmoth2.jpg[/img] Link to comment Share on other sites More sharing options...
Pads Posted June 20, 2006 Share Posted June 20, 2006 very nice photo cassis wish i was so quick with my camera.Are you and dog having some kind of computer joking banter, or is that real computer talk? either way its way over my head, then im only 5'3 so most things are .................... Link to comment Share on other sites More sharing options...
Jonzjob Posted June 21, 2006 Author Share Posted June 21, 2006 Nice one Cassis, this is a Bee fly on our lavender. Strange little machine, but quite lovely.[IMG]http://i47.photobucket.com/albums/f180/Jonzjob/Beefly.jpg[/IMG]The Humming bird hawk moths are lovely to watch, but too quick for my camera hand yet...John. Link to comment Share on other sites More sharing options...
Cassis Posted June 21, 2006 Share Posted June 21, 2006 That's a new one on me, excellent! - but does it really need a fur coat down your way? Link to comment Share on other sites More sharing options...
Jonzjob Posted June 21, 2006 Author Share Posted June 21, 2006 Too right mate, it only just cracked 29C today. By the time I got in for a swim this afternoon it was right down to 27C, not much above freeeeezzziiing [:-))]! They fly more like a hover fly than an ordinary fly (if there is such a thingy?)John. Link to comment Share on other sites More sharing options...
Just Katie Posted June 21, 2006 Share Posted June 21, 2006 The photography on this thread is absolutely superb from John and Cassis. Not such a silly little sausage after all are we? Link to comment Share on other sites More sharing options...
Jonzjob Posted June 21, 2006 Author Share Posted June 21, 2006 [quote user="Cassis"]Hi DogNB make sure the image isn't wider than the screen or you screw up the screen width on the forum - like Jonz![/quote]Hi Cassis, I have just signed onto our laptop and I see what you mean. When I posted the photo of what I now an sure is a cicada it was on our tower PC (fixed thing with a million cables hanging out of it!!) and that has a 19 inch screen which does not expand the screen size to make it over size. I will have to look at it next time it's on and check again.No wonder I couldn't work out why you had put the above quote. Mnd you I wouldn't think that the simple thing of the screen size would make that difference, I will check and see?John. Link to comment Share on other sites More sharing options...
Cassis Posted June 21, 2006 Share Posted June 21, 2006 I'm not sure, but I think the forum is set up for 800px width. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.