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


Groups > comp.lang.c > #112240 > unrolled thread

[poll/chitchat] What's the best main(){...} ?

Started byluser droog <luser.droog@gmail.com>
First post2017-06-14 22:30 -0700
Last post2017-06-15 20:55 +0100
Articles 4 on this page of 24 — 12 participants

Back to article view | Back to comp.lang.c


Contents

  [poll/chitchat] What's the best main(){...} ? luser droog <luser.droog@gmail.com> - 2017-06-14 22:30 -0700
    Re: [poll/chitchat] What's the best main(){...} ? Melzzzzz <Melzzzzz@zzzzz.com> - 2017-06-15 06:14 +0000
      Re: [poll/chitchat] What's the best main(){...} ? luser droog <luser.droog@gmail.com> - 2017-06-15 00:06 -0700
      Re: [poll/chitchat] What's the best main(){...} ? scott@slp53.sl.home (Scott Lurndal) - 2017-06-15 12:43 +0000
        Re: [poll/chitchat] What's the best main(){...} ? "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2017-06-15 06:32 -0700
          Re: [poll/chitchat] What's the best main(){...} ? scott@slp53.sl.home (Scott Lurndal) - 2017-06-15 14:03 +0000
            Re: [poll/chitchat] What's the best main(){...} ? James Kuyper <jameskuyper@verizon.net> - 2017-06-15 10:07 -0400
        Re: [poll/chitchat] What's the best main(){...} ? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-15 15:47 +0100
        Re: [poll/chitchat] What's the best main(){...} ? Tim Rentsch <txr@alumni.caltech.edu> - 2017-06-16 23:47 -0700
      Re: [poll/chitchat] What's the best main(){...} ? "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-06-16 18:32 +0800
    Re: [poll/chitchat] What's the best main(){...} ? "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2017-06-15 06:31 -0700
    Re: [poll/chitchat] What's the best main(){...} ? David Brown <david.brown@hesbynett.no> - 2017-06-15 16:18 +0200
      Re: [poll/chitchat] What's the best main(){...} ? "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2017-06-15 07:35 -0700
        Re: [poll/chitchat] What's the best main(){...} ? David Brown <david.brown@hesbynett.no> - 2017-06-15 17:35 +0200
          Re: [poll/chitchat] What's the best main(){...} ? "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2017-06-15 08:41 -0700
            Re: [poll/chitchat] What's the best main(){...} ? David Brown <david.brown@hesbynett.no> - 2017-06-15 21:18 +0200
              Re: [poll/chitchat] What's the best main(){...} ? "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2017-06-15 12:39 -0700
              Re: [poll/chitchat] What's the best main(){...} ? David Kleinecke <dkleinecke@gmail.com> - 2017-06-15 19:58 -0700
          Re: [poll/chitchat] What's the best main(){...} ? Richard Heathfield <rjh@cpax.org.uk> - 2017-06-15 17:01 +0100
            Re: [poll/chitchat] What's the best main(){...} ? Melzzzzz <Melzzzzz@zzzzz.com> - 2017-06-15 16:13 +0000
              Re: [poll/chitchat] What's the best main(){...} ? Richard Heathfield <rjh@cpax.org.uk> - 2017-06-15 17:42 +0100
                Re: [poll/chitchat] What's the best main(){...} ? David Brown <david.brown@hesbynett.no> - 2017-06-15 21:21 +0200
                  Re: [poll/chitchat] What's the best main(){...} ? Gareth Owen <gwowen@gmail.com> - 2017-06-15 20:48 +0100
                  Re: [poll/chitchat] What's the best main(){...} ? Richard Heathfield <rjh@cpax.org.uk> - 2017-06-15 20:55 +0100

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


#112273

FromRichard Heathfield <rjh@cpax.org.uk>
Date2017-06-15 17:42 +0100
Message-ID<ohud6a$h58$1@dont-email.me>
In reply to#112271
On 15/06/17 17:13, Melzzzzz wrote:
> On 2017-06-15, Richard Heathfield <rjh@cpax.org.uk> wrote:
>> On 15/06/17 16:35, David Brown wrote:
>> <snip>
>>
>>> Different types of task have different requirements - very few of the
>>> programs I write (for customers) are designed to do a task and then
>>> stop.  Even the gui programs on PC's are typically run until the PC is
>>> killed by a power cut (though they do have an option to exit!).
>>
>> Or they kill the PC themselves.
>>
>> Recently Firefox has taken to shutting down my laptop if I have the
>> temerity to watch a Youtube video. (But only sometimes, of course.
>> Heaven forbid that the fault should be reproducible on demand!)
>>
>> The weird thing is that, when I start the laptop up again and get back
>> to editing the file I was working on when I decided to hang five and
>> Firefox decided to double it to ten, gvim /doesn't/ complain about the
>> swap file.
>>
>> This suggests to me that Firefox might be shutting down cleanly (i.e.
>> sending a "going down" signal to programs to give them a chance to play
>> nice). It's hard to imagine how this could be put down to ordinary
>> incompetence, but on the other hand it doesn't (quite) sound like
>> deliberate malice either.
>
> Any youtube video? Perhaps low battery condition triggers shutdown or
> such?

Well, a full exploration would of course be straying too far from the 
topic but, very briefly, battery life isn't a problem and, as I said 
above, the problem is intermittent - it doesn't happen on every video, 
but it's happened at least half a dozen times in the last month or so.

In a way, it's probably a good thing, as it means I'm spending less time 
watching videos and more time getting on with what I'm supposed to be 
doing. :-)


-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

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


#112286

FromDavid Brown <david.brown@hesbynett.no>
Date2017-06-15 21:21 +0200
Message-ID<ohumge$kuj$2@dont-email.me>
In reply to#112273
On 15/06/17 18:42, Richard Heathfield wrote:
> On 15/06/17 17:13, Melzzzzz wrote:
>> On 2017-06-15, Richard Heathfield <rjh@cpax.org.uk> wrote:
>>> On 15/06/17 16:35, David Brown wrote:
>>> <snip>
>>>
>>>> Different types of task have different requirements - very few of the
>>>> programs I write (for customers) are designed to do a task and then
>>>> stop.  Even the gui programs on PC's are typically run until the PC is
>>>> killed by a power cut (though they do have an option to exit!).
>>>
>>> Or they kill the PC themselves.
>>>
>>> Recently Firefox has taken to shutting down my laptop if I have the
>>> temerity to watch a Youtube video. (But only sometimes, of course.
>>> Heaven forbid that the fault should be reproducible on demand!)
>>>
>>> The weird thing is that, when I start the laptop up again and get back
>>> to editing the file I was working on when I decided to hang five and
>>> Firefox decided to double it to ten, gvim /doesn't/ complain about the
>>> swap file.
>>>
>>> This suggests to me that Firefox might be shutting down cleanly (i.e.
>>> sending a "going down" signal to programs to give them a chance to play
>>> nice). It's hard to imagine how this could be put down to ordinary
>>> incompetence, but on the other hand it doesn't (quite) sound like
>>> deliberate malice either.
>>
>> Any youtube video? Perhaps low battery condition triggers shutdown or
>> such?
> 
> Well, a full exploration would of course be straying too far from the 
> topic but, very briefly, battery life isn't a problem and, as I said 
> above, the problem is intermittent - it doesn't happen on every video, 
> but it's happened at least half a dozen times in the last month or so.
> 
> In a way, it's probably a good thing, as it means I'm spending less time 
> watching videos and more time getting on with what I'm supposed to be 
> doing. :-)
> 
> 

Maybe it just doesn't like the videos you are watching.  We had an old 
TV in a student flat here in Norway that disliked some films.  If there 
was too much sex or violence in the movie, the TV would make strange 
fizzing noises, the screen went blank, and then it would restart on the 
most boring channel available.

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


#112289

FromGareth Owen <gwowen@gmail.com>
Date2017-06-15 20:48 +0100
Message-ID<87lgotyqu6.fsf@gmail.com>
In reply to#112286
David Brown <david.brown@hesbynett.no> writes:

> If there was too much sex or violence in the movie, the TV would make
> strange fizzing noises, the screen went blank, and then it would
> restart on the most boring channel available.

I suspect thats a power brown-out as everyone attempts to watch the same
filth at once :)

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


#112291

FromRichard Heathfield <rjh@cpax.org.uk>
Date2017-06-15 20:55 +0100
Message-ID<ohuohe$udf$1@dont-email.me>
In reply to#112286
On 15/06/17 20:21, David Brown wrote:
> On 15/06/17 18:42, Richard Heathfield wrote:
<snip>
>>
>> In a way, it's probably a good thing, as it means I'm spending less
>> time watching videos and more time getting on with what I'm supposed
>> to be doing. :-)
>
> Maybe [Firefox] just doesn't like the videos you are watching.  We had an old
> TV in a student flat here in Norway that disliked some films.  If there
> was too much sex or violence in the movie,

Penn and Teller, Richard Hammond's science & technology stuff, 1970s 
sit-coms... Maybe Firefox thinks there isn't *enough*!

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

[toc] | [prev] | [standalone]


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

Back to top | Article view | comp.lang.c


csiph-web