Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #89895 > unrolled thread

Re: Manipulating C code at the AST level, in C

Started byNuno Silva <nunojsilva@invalid.invalid>
First post2026-08-14 12:26 +0100
Last post2026-08-17 20:27 +0100
Articles 19 on this page of 59 — 11 participants

Back to article view | Back to comp.os.linux.misc

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Manipulating C code at the AST level, in C Nuno Silva <nunojsilva@invalid.invalid> - 2026-08-14 12:26 +0100
    Re: Manipulating C code at the AST level, in C Geoff Clare <geoff@clare.See-My-Signature.invalid> - 2026-08-14 13:53 +0100
      Re: Manipulating C code at the AST level, in C Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-08-14 21:10 +0000
    Re: Manipulating C code at the AST level, in C scott@slp53.sl.home (Scott Lurndal) - 2026-08-14 16:00 +0000
    Re: Manipulating C code at the AST level, in C c186282 <c186282@nnada.net> - 2026-08-14 23:47 -0400
      Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-15 07:20 +0000
        Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-15 11:33 +0100
        Re: Manipulating C code at the AST level, in C c186282 <c186282@nnada.net> - 2026-08-15 22:41 -0400
          Re: Manipulating C code at the AST level, in C "Carlos E. R." <robin_listas@es.invalid> - 2026-08-16 10:50 +0200
            Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-16 19:04 +0000
      Re: Manipulating C code at the AST level, in C Jim Jackson <jj@franjam.org.uk> - 2026-08-15 11:07 +0000
        Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-15 12:18 +0100
      Re: Manipulating C code at the AST level, in C Richard Kettlewell <invalid@invalid.invalid> - 2026-08-15 12:20 +0100
        Re: Manipulating C code at the AST level, in C c186282 <c186282@nnada.net> - 2026-08-16 02:09 -0400
          Re: Manipulating C code at the AST level, in C Richard Kettlewell <invalid@invalid.invalid> - 2026-08-16 09:59 +0100
            Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-16 11:42 +0100
              Re: Manipulating C code at the AST level, in C c186282 <c186282@nnada.net> - 2026-08-17 00:02 -0400
                Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-17 07:10 +0000
                  Re: Manipulating C code at the AST level, in C Nuno Silva <nunojsilva@invalid.invalid> - 2026-08-17 09:32 +0100
                  Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-17 10:13 +0100
                    Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-17 17:15 +0000
                      Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-17 20:58 +0100
                    Re: Manipulating C code at the AST level, in C c186282 <c186282@nnada.net> - 2026-08-17 22:24 -0400
                      Re: Manipulating C code at the AST level, in C Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-08-18 04:55 +0000
                        Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-18 06:17 +0000
                          Re: Manipulating C code at the AST level, in C c186282 <c186282@nnada.net> - 2026-08-18 22:11 -0400
                            Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-19 04:21 +0000
                              Re: Manipulating C code at the AST level, in C c186282 <c186282@nnada.net> - 2026-08-19 02:26 -0400
                                Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-19 14:29 +0100
                                  Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-19 19:36 +0000
                              Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-19 14:28 +0100
                            Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-19 14:24 +0100
                        Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-18 10:19 +0100
                          Re: Manipulating C code at the AST level, in C Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-08-18 16:30 +0000
                            Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-19 04:11 +0000
                              Re: Manipulating C code at the AST level, in C Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-08-19 04:22 +0000
                                Re: Manipulating C code at the AST level, in C Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-08-19 04:38 +0000
                                  Re: Manipulating C code at the AST level, in C Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-08-19 05:34 +0000
                                    Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-19 06:39 +0000
                                    Re: Manipulating C code at the AST level, in C Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-08-19 07:04 +0000
                                      Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-19 19:59 +0000
                                  Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-19 06:35 +0000
                                    Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-19 14:31 +0100
                                      Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-19 19:47 +0000
                                Re: Manipulating C code at the AST level, in C c186282 <c186282@nnada.net> - 2026-08-19 02:28 -0400
                                  Re: Manipulating C code at the AST level, in C Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-08-19 16:57 +0000
                                    Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-19 22:17 +0000
                                Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-19 06:30 +0000
                            Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-19 14:15 +0100
                              Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-19 19:39 +0000
                                Re: Manipulating C code at the AST level, in C Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-08-19 22:54 +0000
          Re: Manipulating C code at the AST level, in C rbowman <bowman@montana.com> - 2026-08-16 19:13 +0000
            Re: Manipulating C code at the AST level, in C c186282 <c186282@nnada.net> - 2026-08-17 01:14 -0400
              Re: Manipulating C code at the AST level, in C Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-08-17 16:58 +0000
        Re: Manipulating C code at the AST level, in C Geoff Clare <geoff@clare.See-My-Signature.invalid> - 2026-08-17 13:44 +0100
          Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-17 15:31 +0100
            Re: Manipulating C code at the AST level, in C Geoff Clare <geoff@clare.See-My-Signature.invalid> - 2026-08-18 13:23 +0100
              Re: Manipulating C code at the AST level, in C The Natural Philosopher <tnp@invalid.invalid> - 2026-08-18 17:16 +0100
          Re: Manipulating C code at the AST level, in C Richard Kettlewell <invalid@invalid.invalid> - 2026-08-17 20:27 +0100

Page 3 of 3 — ← Prev page 1 2 [3]


#90159

Fromrbowman <bowman@montana.com>
Date2026-08-19 19:59 +0000
Message-ID<nemg9eFpub2U11@mid.individual.net>
In reply to#90113
On Wed, 19 Aug 2026 07:04:06 -0000 (UTC), Lawrence D’Oliveiro wrote:

> On Wed, 19 Aug 2026 05:34:16 GMT, Charlie Gibbs wrote:
> 
>> On 2026-08-19, Lawrence D’Oliveiro <ldo@nz.invalid> wrote:
>>
>>> On Wed, 19 Aug 2026 04:22:04 GMT, Charlie Gibbs wrote:
>>>
>>>> Speaking as a jump pilot as well as a jumper... have you _seen_
>>>> some of those airplanes?
>>>
>>> I understand a lot of them are purpose-built, by a company based in
>>> the same 🇳🇿 city where I live.
>>
>> It's not a very big market. But a good old Cessna 182 fills the bill
>> for small loads. For larger loads jumpers will eagerly go in anything
>> that you can take the door off of or open in flight. The Pilatus Porter
>> is popular, as is the King Air or Twin Otter for larger loads. Not to
>> mention the venerable antiques like the Beech 18 or DC-3.
> 
> I think this <https://en.wikipedia.org/wiki/PAC_P-750_XSTOL> is the one
> I’m thinking of.

Yeah, that's the one that fell down and went boom in June.  It isn't the 
first time that model forgot how to fly.  Apparently popular in North 
Korea.

[toc] | [prev] | [next] | [standalone]


#90110

Fromrbowman <bowman@montana.com>
Date2026-08-19 06:35 +0000
Message-ID<nel15uFe0jfU18@mid.individual.net>
In reply to#90100
On Wed, 19 Aug 2026 04:38:44 -0000 (UTC), Lawrence D’Oliveiro wrote:

> On Wed, 19 Aug 2026 04:22:04 GMT, Charlie Gibbs wrote:
> 
>> Speaking as a jump pilot as well as a jumper... have you _seen_ some of
>> those airplanes?
> 
> I understand a lot of them are purpose-built, by a company based in the
> same 🇳🇿 city where I live.

The June 14th crash in Butler Missouri where the pilot and 11 skydivers 
died was a Pacific Aerospace 750XL.  The NTSB hasn't found an obvious 
problem. It started banking left on the climb out until the wings were 
vertical to the ground.

[toc] | [prev] | [next] | [standalone]


#90129

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2026-08-19 14:31 +0100
Message-ID<1164b7f$2le0s$11@dont-email.me>
In reply to#90110
On 19/08/2026 07:35, rbowman wrote:
> On Wed, 19 Aug 2026 04:38:44 -0000 (UTC), Lawrence D’Oliveiro wrote:
> 
>> On Wed, 19 Aug 2026 04:22:04 GMT, Charlie Gibbs wrote:
>>
>>> Speaking as a jump pilot as well as a jumper... have you _seen_ some of
>>> those airplanes?
>>
>> I understand a lot of them are purpose-built, by a company based in the
>> same 🇳🇿 city where I live.
> 
> The June 14th crash in Butler Missouri where the pilot and 11 skydivers
> died was a Pacific Aerospace 750XL.  The NTSB hasn't found an obvious
> problem. It started banking left on the climb out until the wings were
> vertical to the ground.

Stuck controls?
Pilot tired of life?
-- 
Socialism is the philosophy of failure, the creed of ignorance and the 
gospel of envy.

Its inherent virtue is the equal sharing of misery.

Winston Churchill

[toc] | [prev] | [next] | [standalone]


#90158

Fromrbowman <bowman@montana.com>
Date2026-08-19 19:47 +0000
Message-ID<nemfjeFpub2U10@mid.individual.net>
In reply to#90129
On Wed, 19 Aug 2026 14:31:27 +0100, The Natural Philosopher wrote:

> On 19/08/2026 07:35, rbowman wrote:
>> On Wed, 19 Aug 2026 04:38:44 -0000 (UTC), Lawrence D’Oliveiro wrote:
>> 
>>> On Wed, 19 Aug 2026 04:22:04 GMT, Charlie Gibbs wrote:
>>>
>>>> Speaking as a jump pilot as well as a jumper... have you _seen_ some
>>>> of those airplanes?
>>>
>>> I understand a lot of them are purpose-built, by a company based in
>>> the same 🇳🇿 city where I live.
>> 
>> The June 14th crash in Butler Missouri where the pilot and 11 skydivers
>> died was a Pacific Aerospace 750XL.  The NTSB hasn't found an obvious
>> problem. It started banking left on the climb out until the wings were
>> vertical to the ground.
> 
> Stuck controls?
> Pilot tired of life?

The NTSB so far says they haven't found a mechanical problem. The pilot 
had over 4000 hours and wasn't on anybody's radar as a nutter, He'd flown 
two jumps earlier in the day. When it comes to the NTSB the mills of the 
gods grind exceedingly slow. 

[toc] | [prev] | [next] | [standalone]


#90108

Fromc186282 <c186282@nnada.net>
Date2026-08-19 02:28 -0400
Message-ID<_46cnQMXs59s0Rj3nZ2dnZfqn_SdnZ2d@giganews.com>
In reply to#90098
On 8/19/26 00:22, Charlie Gibbs wrote:
> On 2026-08-19, rbowman <bowman@montana.com> wrote:
> 
>> On Tue, 18 Aug 2026 16:30:04 GMT, Charlie Gibbs wrote:
>>
>>> Back in my early skydiving days I was so spaced out by the experience
>>> that I was given the nickname "Spaceman".
>>
>> Jumping out of perfectly good airplanes...
> 
> Speaking as a jump pilot as well as a jumper...
> have you _seen_ some of those airplanes?
> 
> If not, try watching the movie "Fandango" -
> the skydiving scenes, while hilarious, are
> a lot closer to reality than you might think.

   Never seen it.

   Also would never intentionally jump out
   of a perfectly good plane.

[toc] | [prev] | [next] | [standalone]


#90149

FromCharlie Gibbs <cgibbs@kltpzyxm.invalid>
Date2026-08-19 16:57 +0000
Message-ID<pglhS.2464$5X3e.1395@fx01.iad>
In reply to#90108
On 2026-08-19, c186282 <c186282@nnada.net> wrote:

> On 8/19/26 00:22, Charlie Gibbs wrote:
>
>> On 2026-08-19, rbowman <bowman@montana.com> wrote:
>> 
>>> On Tue, 18 Aug 2026 16:30:04 GMT, Charlie Gibbs wrote:
>>>
>>>> Back in my early skydiving days I was so spaced out by the experience
>>>> that I was given the nickname "Spaceman".
>>>
>>> Jumping out of perfectly good airplanes...
>> 
>> Speaking as a jump pilot as well as a jumper...
>> have you _seen_ some of those airplanes?
>> 
>> If not, try watching the movie "Fandango" -
>> the skydiving scenes, while hilarious, are
>> a lot closer to reality than you might think.
>
>    Never seen it.
>
>    Also would never intentionally jump out
>    of a perfectly good plane.

As I would tell people:
If you haven't tried it, no explanation is possible.
If you have, none is necessary.

    Man small.
    Why fall?
    Skies call.
    That's all.
      -- Andy Keech

-- 
/~\  Charlie Gibbs                  |  In this world there are
\ /  <cgibbs@kltpzyxm.invalid>      |  two kinds of people:
 X   I'm really at ac.dekanfrus     |  1. Those who can extrapolate
/ \  if you read it the right way.  |  from incomplete data.

[toc] | [prev] | [next] | [standalone]


#90169

Fromrbowman <bowman@montana.com>
Date2026-08-19 22:17 +0000
Message-ID<nemockFpub2U23@mid.individual.net>
In reply to#90149
On Wed, 19 Aug 2026 16:57:57 GMT, Charlie Gibbs wrote:

> As I would tell people:
> If you haven't tried it, no explanation is possible.
> If you have, none is necessary.

When I was a kid the arsenal had an open house and set up sort of a jump 
tower. It was more like a zip line. They would strap you into the harness 
and boot you off the edge. That was enough of that for me. 

I enjoyed learning to fly but I never was very comfortable driving the 
plane let alone jumping out of it. I know the statistics but I'll stick to 
bikes if I want the wind in my face.

[toc] | [prev] | [next] | [standalone]


#90109

Fromrbowman <bowman@montana.com>
Date2026-08-19 06:30 +0000
Message-ID<nel0sgFe0jfU17@mid.individual.net>
In reply to#90098
On Wed, 19 Aug 2026 04:22:04 GMT, Charlie Gibbs wrote:

> On 2026-08-19, rbowman <bowman@montana.com> wrote:
> 
>> On Tue, 18 Aug 2026 16:30:04 GMT, Charlie Gibbs wrote:
>>
>>> Back in my early skydiving days I was so spaced out by the experience
>>> that I was given the nickname "Spaceman".
>>
>> Jumping out of perfectly good airplanes...
> 
> Speaking as a jump pilot as well as a jumper... have you _seen_ some of
> those airplanes?
> 
> If not, try watching the movie "Fandango" -
> the skydiving scenes, while hilarious, are a lot closer to reality than
> you might think.

I wouldn't be surprised. I learned to fly in an elderly Lark Commander. 
The usual procedures on final included pumping the brakes up if you 
expected to stop. afaik they haven't figured out the Butler crash yet. 
That was a fairly new plane too.

[toc] | [prev] | [next] | [standalone]


#90124

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2026-08-19 14:15 +0100
Message-ID<1164a8o$2le0s$7@dont-email.me>
In reply to#90073
On 18/08/2026 17:30, Charlie Gibbs wrote:
> On 2026-08-18, The Natural Philosopher <tnp@invalid.invalid> wrote:
> 
>> On 18/08/2026 05:55, Charlie Gibbs wrote:
>>
>>> On 2026-08-18, c186282 <c186282@nnada.net> wrote:
>>>
>>>> On 8/17/26 05:13, The Natural Philosopher wrote:
>>>>
>>>>> Yes. USA is being raped by its political classes...
>>>>
>>>>      Umm ... read yer history. It's ALWAYS been thus,
>>>>      USA or anywhere else. No fixing it. Send all the
>>>>      pols to Mars and the NEW ones will be doing the
>>>>      SAME things from the get-go. A "human nature" quirk.
>>>
>>>       No matter who you vote for, the government always get in.
>>>         -- The Bonzo Dog Band
>>
>> +1
>>
>> Bonzo dog DOODAH band.
> 
> Thank you.  :-)
> 
> Back in my early skydiving days I was so spaced out by
> the experience that I was given the nickname "Spaceman".
> At the time I was working for an outfit called "Urban
> Computers Ltd."  So I really _am_ the Urban Spaceman.
> 
Darling, back in the day, who wasn't?

I remember London in the 1970s too, in brief moments of lucidity

-- 
“when things get difficult you just have to lie”

― Jean Claud Jüncker

[toc] | [prev] | [next] | [standalone]


#90157

Fromrbowman <bowman@montana.com>
Date2026-08-19 19:39 +0000
Message-ID<nemf42Fpub2U9@mid.individual.net>
In reply to#90124
On Wed, 19 Aug 2026 14:15:04 +0100, The Natural Philosopher wrote:

> I remember London in the 1970s too, in brief moments of lucidity

I think I have mislaid the '70s. I vaguely remember getting married and 
divorced but I would have to ask my ex when that was. She was the 
designated driver for much of our time together.

[toc] | [prev] | [next] | [standalone]


#90172

FromCharlie Gibbs <cgibbs@kltpzyxm.invalid>
Date2026-08-19 22:54 +0000
Message-ID<guqhS.48258$9DC1.20658@fx18.iad>
In reply to#90157
On 2026-08-19, rbowman <bowman@montana.com> wrote:

> On Wed, 19 Aug 2026 14:15:04 +0100, The Natural Philosopher wrote:
>
>> I remember London in the 1970s too, in brief moments of lucidity
>
> I think I have mislaid the '70s. I vaguely remember getting married and 
> divorced but I would have to ask my ex when that was. She was the 
> designated driver for much of our time together.

    Anyone who remembers the '60s probably wasn't there.
      -- Robin Williams (or maybe someone else)

-- 
/~\  Charlie Gibbs                  |  In this world there are
\ /  <cgibbs@kltpzyxm.invalid>      |  two kinds of people:
 X   I'm really at ac.dekanfrus     |  1. Those who can extrapolate
/ \  if you read it the right way.  |  from incomplete data.

[toc] | [prev] | [next] | [standalone]


#89945

Fromrbowman <bowman@montana.com>
Date2026-08-16 19:13 +0000
Message-ID<neegerFpk4lU15@mid.individual.net>
In reply to#89923
On Sun, 16 Aug 2026 02:09:57 -0400, c186282 wrote:

>  You brought a
>    jacket so you could do shit in the CPU room.

At RPI the shrine where the 360/30 lived was the only place on campus with 
A/C. Not a bad thing on those days when the humidity in the Hudson Valley 
hits 99.9%.

The last place I worked was a converted mill building. Rather nice 
architecturally but every HVAC company in town had taken a shot at it with 
limited success. Programming wore flannel shirts in August and it wasn't a 
style thing. Portable electric heaters appeared to the consternation of 
the maintenance people.

Conversely, I leaned toward short sleeved shirts in December. The poor 
bastards on the 2nd floor were on the opposite schedule.

[toc] | [prev] | [next] | [standalone]


#89957

Fromc186282 <c186282@nnada.net>
Date2026-08-17 01:14 -0400
Message-ID<HqmcnefSxvKQBB_3nZ2dnZfqn_oAAAAA@giganews.com>
In reply to#89945
On 8/16/26 15:13, rbowman wrote:
> On Sun, 16 Aug 2026 02:09:57 -0400, c186282 wrote:
> 
>>   You brought a
>>     jacket so you could do shit in the CPU room.
> 
> At RPI the shrine where the 360/30 lived was the only place on campus with
> A/C. Not a bad thing on those days when the humidity in the Hudson Valley
> hits 99.9%.


   Heh heh ... yea, there WAS a little span where
   the coolest place in town, literally, was the
   govt/biz CPU room !


> The last place I worked was a converted mill building. Rather nice
> architecturally but every HVAC company in town had taken a shot at it with
> limited success. Programming wore flannel shirts in August and it wasn't a
> style thing. Portable electric heaters appeared to the consternation of
> the maintenance people.

   Older buildings, like old British castles, were NOT
   designed with modern conveniences in mind. The Brits
   just ran lots of pipes and shit along the upper walls.
   Kinda ugly, but WORK.

> Conversely, I leaned toward short sleeved shirts in December. The poor
> bastards on the 2nd floor were on the opposite schedule.

   The old boxes had to be kept within a narrow
   temperature range. Mostly that's be 'cooler'
   but in winter might be 'hotter'.

   I remember an old govt place - a DEC cpu box,
   about a cubic meter, discrete transistors - in
   the middle of the room and all the tape drive
   units along the walls. They kept it about 55/60F
   in there at all times WITH an enforced breeze.

   BUT ... it supported dozens of serial terminals,
   local and remote,  and everybody COULD get their
   necessary shit done.

   Almost *all* COBOL.

   Hmmm ... these days you can earn BIG money if
   you know, and can fix/mod, COBOL code from the
   1960s. Rather a LOT of places paid BIG $$$ to
   have COBOL pros write their core operating
   software back then - and can now not AFFORD to
   port it all over to anything else.

   Oh, that olde-tyme COBOL code - SOLID ! Yer
   stereotypical white-shirt/narrow-tie guys
   who KNEW THEIR SHIT far better than most today.
   Not EVER gonna cuss them.

[toc] | [prev] | [next] | [standalone]


#89972

FromCharlie Gibbs <cgibbs@kltpzyxm.invalid>
Date2026-08-17 16:58 +0000
Message-ID<h5HgS.20567$X0O7.12952@fx35.iad>
In reply to#89957
On 2026-08-17, c186282 <c186282@nnada.net> wrote:

>    The old boxes had to be kept within a narrow
>    temperature range. Mostly that's be 'cooler'
>    but in winter might be 'hotter'.

Not as narrow as many people thought.  I used to get
into "thermostat wars" with people who believed that
the purpose of air conditioning was not to make things
comfortable - for people or machines - but to make
things COLD.  As with anything else a moderate
approach worked quite well - but most people just
couldn't stand the thought of a machine room being
comfortable, so after I left they'd crank the
thermostat right back down again.

Most installations I worked in only ran the machines
during office hours, shutting them down at the end of
the day.  One Friday evening I shut down the machine
but forgot to shut off the air conditioning before
leaving.  Monday morning our breath was condensing
in the machine room.  The oil in the disk drives'
hydraulic actuators congealed, and the heads wouldn't
load until we left the disks spinning for the couple
of hours it took for the oil to warm up.

At another such shop, the machine was notoriously flaky.
When the CE pulled one of the main boards out of the CPU,
a VLSI chip fell out.  The constant thermal cycling had
caused the chips to literally walk out of their sockets.
Once we left the machine on 24/7, the problems went away.

-- 
/~\  Charlie Gibbs                  |  In this world there are
\ /  <cgibbs@kltpzyxm.invalid>      |  two kinds of people:
 X   I'm really at ac.dekanfrus     |  1. Those who can extrapolate
/ \  if you read it the right way.  |  from incomplete data.

[toc] | [prev] | [next] | [standalone]


#89966

FromGeoff Clare <geoff@clare.See-My-Signature.invalid>
Date2026-08-17 13:44 +0100
Message-ID<r9cblm-hl2.ln1@ID-313840.user.individual.net>
In reply to#89909
Richard Kettlewell wrote:

> poll() doesn’t poll, despite the name.

Yes it does, if you tell it to.

Quoting from the SUS at the previously-given URL:

    To effect a poll, the application shall ensure that the timeout
    argument for poll() is 0, or for ppoll() is not a null pointer and
    points to a zero-valued timespec structure.

-- 
Geoff Clare <netnews@gclare.org.uk>

[toc] | [prev] | [next] | [standalone]


#89968

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2026-08-17 15:31 +0100
Message-ID<115v5v9$12blk$2@dont-email.me>
In reply to#89966
On 17/08/2026 13:44, Geoff Clare wrote:
> Richard Kettlewell wrote:
> 
>> poll() doesn’t poll, despite the name.
> 
> Yes it does, if you tell it to.
> 
> Quoting from the SUS at the previously-given URL:
> 
>      To effect a poll, the application shall ensure that the timeout
>      argument for poll() is 0, or for ppoll() is not a null pointer and
>      points to a zero-valued timespec structure.
> 
Poll means head you know. As in poll tax, Red poll cattle

I am very uncertain in this contex that it means what you think it means

-- 
If you tell a lie big enough and keep repeating it, people will 
eventually come to believe it. The lie can be maintained only for such 
time as the State can shield the people from the political, economic 
and/or military consequences of the lie. It thus becomes vitally 
important for the State to use all of its powers to repress dissent, for 
the truth is the mortal enemy of the lie, and thus by extension, the 
truth is the greatest enemy of the State.

Joseph Goebbels



[toc] | [prev] | [next] | [standalone]


#90059

FromGeoff Clare <geoff@clare.See-My-Signature.invalid>
Date2026-08-18 13:23 +0100
Message-ID<sevdlm-3o.ln1@ID-313840.user.individual.net>
In reply to#89968
The Natural Philosopher wrote:

> On 17/08/2026 13:44, Geoff Clare wrote:
>> 
>> Quoting from the SUS at the previously-given URL:
>> 
>>      To effect a poll, the application shall ensure that the timeout
>>      argument for poll() is 0, or for ppoll() is not a null pointer and
>>      points to a zero-valued timespec structure.
>> 
> Poll means head you know. As in poll tax, Red poll cattle
> 
> I am very uncertain in this contex that it means what you think it means

Well, the context is computing and https://foldoc.org/poll says:

poll
To check the status of an input line, sensor, or memory location to
see if a particular external event has been registered.

-- 
Geoff Clare <netnews@gclare.org.uk>

[toc] | [prev] | [next] | [standalone]


#90068

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2026-08-18 17:16 +0100
Message-ID<11620h1$1v4qd$2@dont-email.me>
In reply to#90059
On 18/08/2026 13:23, Geoff Clare wrote:
> The Natural Philosopher wrote:
> 
>> On 17/08/2026 13:44, Geoff Clare wrote:
>>>
>>> Quoting from the SUS at the previously-given URL:
>>>
>>>       To effect a poll, the application shall ensure that the timeout
>>>       argument for poll() is 0, or for ppoll() is not a null pointer and
>>>       points to a zero-valued timespec structure.
>>>
>> Poll means head you know. As in poll tax, Red poll cattle
>>
>> I am very uncertain in this contex that it means what you think it means
> 
> Well, the context is computing and https://foldoc.org/poll says:
> 
> poll
> To check the status of an input line, sensor, or memory location to
> see if a particular external event has been registered.
> 

Indeed. but mostly what you do is have an interrupt service routine do 
that whilst the computer gets on with 'other stuff', The ISR may be a 
timer like in a multitasking scheduler or it may be triggered by the 
hardware.
What no computer more advanced than a single thread microcontroller ever 
does is 'poll' the hardware with ISRs disabled




-- 
New Socialism consists essentially in being seen to have your heart in 
the right place whilst your head is in the clouds and your hand is in 
someone else's pocket.

[toc] | [prev] | [next] | [standalone]


#89985

FromRichard Kettlewell <invalid@invalid.invalid>
Date2026-08-17 20:27 +0100
Message-ID<wwv4igstumh.fsf@LkoBDZeT.terraraq.uk>
In reply to#89966
Geoff Clare <geoff@clare.See-My-Signature.invalid> writes:
> Richard Kettlewell wrote:
>> poll() doesn’t poll, despite the name.
>
> Yes it does, if you tell it to.
>
> Quoting from the SUS at the previously-given URL:
>
>     To effect a poll, the application shall ensure that the timeout
>     argument for poll() is 0, or for ppoll() is not a null pointer and
>     points to a zero-valued timespec structure.

Fair point! I’ll amend to “doesn’t _only_ poll”.

-- 
https://www.greenend.org.uk/rjk/

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | comp.os.linux.misc


csiph-web