Managing includes

T

Toby A Inkster

dorayme said:
Yup, it is and it was the place Captain Cook first made land and
saw native inhabitants of the continent.

It was named in honour of Sir Joseph Banks, the ship's lead scientist, who
specialised in botany, and collected and catalogued many thousands of
samples on the Endeavour voyage. It was, after all, supposed to be a
scientific expedition -- its primary aim was to observe the transit of
Venus from Tahiti.

The river flowing into Botany Bay is Cook River. It's a rubbishy little
stream.

Banks was also an amateur linguist and would try to learn bits of local
languages and help the Endeavour's crew to communicate with the native
population.

Banks was later President of the Royal Society and adviser to Kew Gardens.
He maintained a keen interest in Australia -- he was a great proponent of
the establishment of the British colony which grew to be New South
Wales[1], and kept correspondence with many of her governors; he received
deliveries of seeds and other specimens from every ship that returned from
the burgeoning colony; and he read with great interest the accounts of
early Australian explorers. He may well have returned to the continent,
but he was severely afflicted by gout for the last thirty years of his
life, and was wheelchair-bound for the last fifteen.

____
1. To this day, nobody knows whether NSW is supposed to be a new version
of South Wales, or a new southern version of Wales.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 7 days, 14:09.]

Long-Awaited Zeldman Article
http://tobyinkster.co.uk/blog/2007/06/27/zeldman-in-time/
 
N

Neredbojias

Yup, it is and it was the place Captain Cook first made land and
saw native inhabitants of the continent.

Here is a little snap of the bit I walk:

<http://tinyurl.com/28q6r5>

Wow, looks cool. Maybe I'll do some Googling. Strange they'd name it
"Botany" although it's pleasant-sounding enough. Can't say I know of any
"Zoology Bay", however.

--
Neredbojias

Once I had a little dog
Who wagged its tail spritely.
But it walked by the harvestor
And now is shorter slightly.
 
N

Neredbojias

Oh shit! Bergamot will notice the crummy alt text. I will change
it right now.

Unsure whether you changed it or not, but I would've put "Pic of Botany
Bay" at most.

--
Neredbojias

Once I had a little dog
Who wagged its tail spritely.
But it walked by the harvestor
And now is shorter slightly.
 
N

Neredbojias

Firstly, consistency. If I want to include "navigation.php" from
"/index.php", with your system you have to write:

include "includes/navigation.php";

but if you want to include the same navigation menu from
"/birds/parrots.php" then you need to use:

include "../includes/navigation.php";

The path is different, you see. Now, say my site takes on more of a
parrot focus, so I decide to move "parrots.php" out of the "birds"
directory and into my site's root directory, then this breaks the
include path, and I need to change it.

Using include_path makes maintenance a lot easier. I put
"navigation.php" into a directory listed in my include path, then I
can use it on "/index.php" or "/birds/parrots.php" like this:

include "navigation.php";

without having to specify the path to it. I can then move my
"parrots.php" file about as much as I like, and don't need to make any
changes to it.

This is much the same way that C programmers work. They specify the
file name of a library they want to include, but not the full or
relative path to it. They rely on the build environment to specify the
location of all the library files.

I can see the advantage to having multiple paths comprise the include
path. Long ago, there was even a DOS command which did virtually the
same thing (-joining directories.) But my real objection is that this
convenience kabashes the ability to hand-list a path and have it work as
does a link, which is intuitive. If the forefathers of modern html had
really been sharp, they would have allowed for both. (Eg: any non-pathed
file listing would seek the current directory and any directories in the
include path while a pathed url would only access that directory.)

--
Neredbojias

Once I had a little dog
Who wagged its tail spritely.
But it walked by the harvestor
And now is shorter slightly.
 
D

dorayme

Neredbojias said:
Unsure whether you changed it or not, but I would've put "Pic of Botany
Bay" at most.

I changed the arrow gif alt text and restrained myself when it
got to about 3 chapters long... I assume that a screen reader
will read more than what a visual browser will often display
(they often cut spiels depending on the size of the pics). These
alt texts are from the days when I was bad and slack and not
given to helping folk. Selfish days when I would generate them
with S&R and GREP, pinching things from the name of the img file,
considering how I usually try to name the pics to mean something
to me. But I now know that the web is not about me, it is about
everyone else. I think that is very selfish of the world at large
but what can I do? With a bit more care in greping, one could
remove the .jpg and use the handle of the capital letters to put
in spaces and start to make it a bit better. It is an amazing
task facing me to go and fix up all the alt text on my sites to
be first rate rather than generally 2nd rate. I should pay
someone to do it considering it is such a boring little thing to
do. Bergamot ought to offer me some discount for doing it!
 
N

Neredbojias

I changed the arrow gif alt text and restrained myself when it
got to about 3 chapters long... I assume that a screen reader
will read more than what a visual browser will often display
(they often cut spiels depending on the size of the pics). These
alt texts are from the days when I was bad and slack and not
given to helping folk. Selfish days when I would generate them
with S&R and GREP, pinching things from the name of the img file,
considering how I usually try to name the pics to mean something
to me. But I now know that the web is not about me, it is about
everyone else. I think that is very selfish of the world at large
but what can I do? With a bit more care in greping, one could
remove the .jpg and use the handle of the capital letters to put
in spaces and start to make it a bit better. It is an amazing
task facing me to go and fix up all the alt text on my sites to
be first rate rather than generally 2nd rate. I should pay
someone to do it considering it is such a boring little thing to
do. Bergamot ought to offer me some discount for doing it!

Well, if you look at the institution of capitalism-flavoured democracy,
you can't help but see that it recognizes the import of self-interest
while attempting to universalize fairness and equality among the masses
near and far. I view alt text the same way: it has to please me first
before it pleases a bunch of strangers and aliens. While The Web may not
be one's personal manservant, I embrace it solely for the pleasure and
benefit it brings to *my* life. Were it an obnoxious edifice of
repugnant quality, I would avoid it like an overly-vociferous woman.

--
Neredbojias

Once I had a little dog
Who wagged its tail spritely.
But it walked by the harvestor
And now is shorter slightly.
 
D

dorayme

Neredbojias said:
I view alt text the same way: it has to please me first
before it pleases a bunch of strangers and aliens.

In this we differ. I have a conscience. True, mine is a boring
little thing, nothing grand and mysterious that can communicate
with a god. No, just a set of little subroutines that keep
getting called. I have Beauregard ones, Korpela ones, JL ones and
many more. It is terrible, I might get a firmware zap when I go
back home.
 
B

Blinky the Shark

Neredbojias said:
Wow, looks cool. Maybe I'll do some Googling. Strange they'd name it
"Botany" although it's pleasant-sounding enough. Can't say I know of
any "Zoology Bay", however.

The Chinese seem to think they do.

"They landed in a horrible bay that Cook named Zoology Bay because of
the beautiful animals that they found there. Later this was to become
the place of the first French settlements in Australia. They found
Austra­lia to be a boring country where the soil was white, bears
climbed ladders, birds ran but didn¿t fly and large animals jumped about
on four legs carrying their young on their heads."

Source: http://www.54laoshi.cn/Teaching/test3/test07/19307.html
 
N

Neredbojias

In this we differ. I have a conscience. True, mine is a boring
little thing, nothing grand and mysterious that can communicate
with a god. No, just a set of little subroutines that keep
getting called. I have Beauregard ones, Korpela ones, JL ones and
many more. It is terrible, I might get a firmware zap when I go
back home.

I have a conscience, too, but it dictates that if I am not true to myself
first, how can I possibly be true to others? This isn't the same as
selfishness but it closely reflects honesty in its purest sense. If I
truly believe something is BS, I would be nothing more than a lowly
hypocrite to embrace it. And I truly believe most of the so-called
accessibility guidelines are BS.

--
Neredbojias

Once I had a little dog
Who wagged its tail spritely.
But it walked by the harvestor
And now is shorter slightly.
 
N

Neredbojias

The Chinese seem to think they do.

"They landed in a horrible bay that Cook named Zoology Bay because of
the beautiful animals that they found there. Later this was to become
the place of the first French settlements in Australia. They found
Austra­lia to be a boring country where the soil was white, bears
climbed ladders, birds ran but didn¿t fly and large animals jumped about
on four legs carrying their young on their heads."

Source: http://www.54laoshi.cn/Teaching/test3/test07/19307.html

Hah, what a coincidence! Of course there are those out there who may give
this less credence than it deserves because the Chinese also refer to their
boats as junks. Tao only knows what they call sharks, but I'd laugh if it
was "trash-fish" or something equally alliterative.

What a minute... Upon reading your link, it says it's a *mistake* in a
lesson. Tryin' to pull the lids over my eyes, eh?

--
Neredbojias

Once I had a little dog
Who wagged its tail spritely.
But it walked by the harvestor
And now is shorter slightly.
 
B

Blinky the Shark

Neredbojias said:
Hah, what a coincidence! Of course there are those out there who may give
this less credence than it deserves because the Chinese also refer to their
boats as junks. Tao only knows what they call sharks, but I'd laugh if it
was "trash-fish" or something equally alliterative.

What a minute... Upon reading your link, it says it's a *mistake* in a
lesson. Tryin' to pull the lids over my eyes, eh?

<blink>

Actually, I didn't catch that.
 
D

dorayme

Neredbojias said:
I have a conscience, too, but it dictates that if I am not true to myself
first, how can I possibly be true to others? This isn't the same as
selfishness but it closely reflects honesty in its purest sense. If I
truly believe something is BS, I would be nothing more than a lowly
hypocrite to embrace it. And I truly believe most of the so-called
accessibility guidelines are BS.

That's another way in which we differ. I am a lowly, no-good,
truly selfish hypocrite and could not be true even to my own arm.
Still, I shed a tear at your goodness and wholesomeness and high
moral integrity.
 
N

Neredbojias

That's another way in which we differ. I am a lowly, no-good,
truly selfish hypocrite and could not be true even to my own arm.
Still, I shed a tear at your goodness and wholesomeness and high
moral integrity.

Well, seldom have I been so gratified by testimony to my conscience and
abilty to differentiate between the nobility of spirit and the hocum of
egotistical world drivel. I shall strive not to let it go to my head since
if I were any purer, they might deify me prematurely.

--
Neredbojias

Once I had a little dog
Who wagged its tail spritely.
But it walked by the harvestor
And now is shorter slightly.
 
T

Toby A Inkster

Neredbojias said:
I can see the advantage to having multiple paths comprise the include
path. Long ago, there was even a DOS command which did virtually the
same thing (-joining directories.)

Not quite -- if you want a DOS equivalent, it's more like the PATH
environment variable.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 17 days, 23:16.]

demiblog 0.2.0 Released
http://tobyinkster.co.uk/blog/2007/06/28/demiblog-0.2.0/
 
N

Neredbojias

Not quite -- if you want a DOS equivalent, it's more like the PATH
environment variable.

Sure, forgot that, and I used it extensively in the DOS days. It's
possible that, combined, I had the biggest config.sys and autoexec.bat pair
in the world... <g>
 
T

Toby A Inkster

Neredbojias said:
Sure, forgot that, and I used it extensively in the DOS days. It's
possible that, combined, I had the biggest config.sys and autoexec.bat pair
in the world... <g>

My "autoexec.bat" had only one or two lines: it simply launched a compiled
executable "autoexec.exe", which was a compiled BASIC application offering
a menu allowing you to mount additional (Doublespace/Drivespace) volumes,
launch commonly used programs or break out into command.com.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 19 days, 21:37.]

demiblog 0.2.0 Released
http://tobyinkster.co.uk/blog/2007/06/28/demiblog-0.2.0/
 
N

Neredbojias

Well bust mah britches and call me cheeky, on Tue, 10 Jul 2007 18:00:09
GMT Toby A Inkster scribed:
My "autoexec.bat" had only one or two lines: it simply launched a
compiled executable "autoexec.exe", which was a compiled BASIC
application offering a menu allowing you to mount additional
(Doublespace/Drivespace) volumes, launch commonly used programs or
break out into command.com.

I had a similar program which compiled batch files. Although I never used
it for a majority "autoexec", I did call a few flavors from the
autoexec.bat without a hitch.

I also remember the doublespace-to-drivespace "upgrade"... In a way, DOS
was more interesting but I don't miss it. I think it can be compared to
non-doctyped html vs 4.01 strict. At least it could be manipulated in many
interesting ways.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top