|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>> IIRC, in Turbo Pascal, position 0 is the length. (And since it's a
>> single byte, no strings longer than 255 characters...)
>
> Yep, Turbo Pascal stored the length rather than using the C method of
> null-terminating the string.
...with the disadvantage of having a maximum string size, and the
advantage of making certain memory management operations much easier...
Ah, the days of plain ASCII, before anybody spoke of Unicode. Hey, wait
a sec - C is *still* back in the days of plain ASCII...
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 03 Sep 2009 21:14:27 +0100, Orchid XP v8 wrote:
>>> IIRC, in Turbo Pascal, position 0 is the length. (And since it's a
>>> single byte, no strings longer than 255 characters...)
>>
>> Yep, Turbo Pascal stored the length rather than using the C method of
>> null-terminating the string.
>
> ...with the disadvantage of having a maximum string size, and the
> advantage of making certain memory management operations much easier...
Yep.
> Ah, the days of plain ASCII, before anybody spoke of Unicode. Hey, wait
> a sec - C is *still* back in the days of plain ASCII...
Not with a good unicode library. ;-)
Jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 3-9-2009 11:09, Stephen wrote:
> On Thu, 03 Sep 2009 10:06:46 +0100, Invisible <voi### [at] devnull> wrote:
>
>>>> Rain water isn't chemically pure. (Depending on pollution levels.) Once
>>>> the pylon gets wet, it's entire surface is covered in a continuous sheet
>>>> of water, which also covers all of the cables. So why don't they short out?
>>> There are insulators between the cables and pylons so there is no path for the
>>> electricity to flow there.
>> Indeed. This is why it works when they're dry.
>>
>> However, when those insulators are covered with a continuous layer of
>> water...
>
> Look at the insulators, they are a strange shape. That shape ensures that they
> are not covered with a continuous layer of water. Magic, isn't it :)
For some reason I saw nobody referring to these as 'magic mushrooms', I
wonder why.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Orchid XP v8 wrote:
> ...with the disadvantage of having a maximum string size,
Every machine has a maximum string size. What you really mean is "a maximum
string size small enough I've bumped into it often enough to be annoying."
I knew a professor who taught "There's two kinds of programming languages.
Those that support bounds-checks on their fundamental data types, and those
that don't know they need to support bounds-checks on their fundamental data
types." (Or something to that effect.)
--
Darren New, San Diego CA, USA (PST)
I ordered stamps from Zazzle that read "Place Stamp Here".
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 3 Sep 2009 12:17:42 -0400, Jim Henderson <nos### [at] nospamcom> wrote:
>and software like Harvard Graphics
A rave from the grave :)
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 03 Sep 2009 23:14:25 +0200, andrel <a_l### [at] hotmailcom> wrote:
>> Look at the insulators, they are a strange shape. That shape ensures that they
>> are not covered with a continuous layer of water. Magic, isn't it :)
>
>For some reason I saw nobody referring to these as 'magic mushrooms', I
>wonder why.
'Caus you'd be spaced out :)
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 3 Sep 2009 11:54:01 -0400, Jim Henderson <nos### [at] nospamcom> wrote:
>On Thu, 03 Sep 2009 09:14:41 +0100, Invisible wrote:
>
>> Rain water isn't chemically pure. (Depending on pollution levels.) Once
>> the pylon gets wet, it's entire surface is covered in a continuous sheet
>> of water, which also covers all of the cables. So why don't they short
>> out?
>
>Because the bare wire isn't exposed, it's insulated.
Not on this side of the pond, Jim.
>And in order to
>short out, you have to have a path for electrons to flow. Arguably it
>would take a pretty strong rainstorm to give the current someplace to go
>to.
>
I think he means jump or track to.
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 3 Sep 2009 11:58:49 -0400, Jim Henderson <nos### [at] nospamcom> wrote:
>On Thu, 03 Sep 2009 10:06:55 +0100, Stephen wrote:
>
>> So it is much simplier
>> and cheaper for overhead cables to be left bare and make sure that there
>> is a lot of space between them.
>
>Weird, over here, the power lines are insulated....
>
Yes but you Yanks have money to burn :P
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 03 Sep 2009 17:59:21 +0200, "Fredrik Eriksson"
<fe79}--at--{yahoo}--dot--{com> wrote:
>On Thu, 03 Sep 2009 17:37:20 +0200, Stephen <mcavoysAT@aoldotcom> wrote:
>> Actually it is quite hard to ignite petrol from a petrol pump with a
>> naked flame.
>
>That depends on the flame.
>
Yip! A thermite lance or a nova will do it ;)
>
>> Besides having a LEL (Lower Explosive Limit) petrol has an Upper
>> Explosive Limit (UEL) where above that level the gas/air mixture is
>> too rich to burn. In the open air the gas/air mixture goes from too
>> rich to too leen very quickly. I once saw a petrol pump attendant put
>> a lit cigarette into the mouth of a full petrol tank.
>
>http://www.intuitor.com/moviephysics/mpmain.html#cigarettes
That agrees with what I said, I think.
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Fri, 04 Sep 2009 00:36:00 +0200, Stephen <mcavoysAT@aoldotcom> wrote:
> On Thu, 03 Sep 2009 17:59:21 +0200, "Fredrik Eriksson"
> <fe79}--at--{yahoo}--dot--{com> wrote:
>
>> On Thu, 03 Sep 2009 17:37:20 +0200, Stephen <mcavoysAT@aoldotcom> wrote:
>>> Actually it is quite hard to ignite petrol from a petrol pump with a
>>> naked flame.
>>
>> That depends on the flame.
>>
>
> Yip! A thermite lance or a nova will do it ;)
A match will do just as well.
>>> Besides having a LEL (Lower Explosive Limit) petrol has an Upper
>>> Explosive Limit (UEL) where above that level the gas/air mixture is
>>> too rich to burn. In the open air the gas/air mixture goes from too
>>> rich to too leen very quickly. I once saw a petrol pump attendant put
>>> a lit cigarette into the mouth of a full petrol tank.
>>
>> http://www.intuitor.com/moviephysics/mpmain.html#cigarettes
>
> That agrees with what I said, I think.
Regarding cigarettes, yes.
--
FE
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |