public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
* Fw: [1.7] "broken" pipe implementation?
       [not found]     ` <re3gq45oj4clmern31thehbrupl4ed6fvr@4ax.com>
@ 2009-02-27 16:31       ` Dave Korn
  2009-02-27 22:07         ` Christopher Faylor
  0 siblings, 1 reply; 5+ messages in thread
From: Dave Korn @ 2009-02-27 16:31 UTC (permalink / raw)
  To: The Vulgar and Incoherent Cygwin-Talk Maiming
	LiszzzzzzzzzzzzzzzzzZZZZZSNRK I'M AWAKE! I WASN'T
	ASLEEP! I WAS JUST RESTING MY EYES!

Andrew Schulman wrote:
>>  It qualifies as a "What in
>> the world was I thinking?" problem.
> 
> No idea what that is.

  The kind of bug you write when you've been up all night writing code, and
you finally crash out, and when you wake up refreshed a few hours later you
look at it and go "My god, this is all gibberish!  I must have gone
temporarily mad!".

  Happened to me just the other night. :-P

    cheers,
      DaveK


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fw: [1.7] "broken" pipe implementation?
  2009-02-27 16:31       ` Fw: [1.7] "broken" pipe implementation? Dave Korn
@ 2009-02-27 22:07         ` Christopher Faylor
  2009-02-27 22:29           ` Warren Young
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Faylor @ 2009-02-27 22:07 UTC (permalink / raw)
  To: The Vulgar and Unprofessional Cygwin-Talk List

On Fri, Feb 27, 2009 at 04:40:49PM +0000, Dave Korn wrote:
>Andrew Schulman wrote:
>>>It qualifies as a "What in the world was I thinking?" problem.
>>
>>No idea what that is.
>
>The kind of bug you write when you've been up all night writing code,
>and you finally crash out, and when you wake up refreshed a few hours
>later you look at it and go "My god, this is all gibberish! I must have
>gone temporarily mad!".
>
>Happened to me just the other night.  :-P

Ah, so it isn't just me.

In this case, I cleverly rewrote the named pipe handling to use
overlapped I/O and real named pipes but only did 95% of the
implementation.  I missed the select() part although I have a clear
remembrance of implementing it.  Must have been a late-night
hallucination.

That's why I spent the first hour of debugging setting breakpoints
and saying "Huh?  Why didn't it get there???"

cgf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fw: [1.7] "broken" pipe implementation?
  2009-02-27 22:07         ` Christopher Faylor
@ 2009-02-27 22:29           ` Warren Young
  2009-02-28 11:57             ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: Warren Young @ 2009-02-27 22:29 UTC (permalink / raw)
  To: cygwin-talk

Christopher Faylor wrote:
>> "My god, this is all gibberish! I must have
>> gone temporarily mad!".
>>
>> Happened to me just the other night.  :-P
> 
> Ah, so it isn't just me.

We all program on drugs.  Caffeine, obviously, but also serotonin, 
dopamine, fatigue toxins....we're ambulatory chemical manufactories. 
'Splains a lot, donnit?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fw: [1.7] "broken" pipe implementation?
  2009-02-27 22:29           ` Warren Young
@ 2009-02-28 11:57             ` Corinna Vinschen
  2009-02-28 13:15               ` Dave Korn
  0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2009-02-28 11:57 UTC (permalink / raw)
  To: cygwin-talk

On Feb 27 15:28, Warren Young wrote:
> Christopher Faylor wrote:
>>> "My god, this is all gibberish! I must have
>>> gone temporarily mad!".
>>>
>>> Happened to me just the other night.  :-P
>>
>> Ah, so it isn't just me.
>
> We all program on drugs.  Caffeine, obviously, but also serotonin,  
> dopamine, fatigue toxins....we're ambulatory chemical manufactories.  
> 'Splains a lot, donnit?

Doesn't explain the "temporarily" in "I must have gone temporarily mad!"
I don't remember any "temporarily".  I'm certainly not doing anything
"temporarily".  What's that good for, "temporarily"?


Corinna

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fw: [1.7] "broken" pipe implementation?
  2009-02-28 11:57             ` Corinna Vinschen
@ 2009-02-28 13:15               ` Dave Korn
  0 siblings, 0 replies; 5+ messages in thread
From: Dave Korn @ 2009-02-28 13:15 UTC (permalink / raw)
  To: The Return of Revenge of the Cygwin-Talk Maiming List Strikes
	Back (Pt. 2)

Corinna Vinschen wrote:
> On Feb 27 15:28, Warren Young wrote:
>> Christopher Faylor wrote:
>>>> "My god, this is all gibberish! I must have
>>>> gone temporarily madDER!".
                         ^^^

>>>>
>>>> Happened to me just the other night.  :-P
>>> Ah, so it isn't just me.
>> We all program on drugs.  Caffeine, obviously, but also serotonin,  
>> dopamine, fatigue toxins....we're ambulatory chemical manufactories.  
>> 'Splains a lot, donnit?
> 
> Doesn't explain the "temporarily" in "I must have gone temporarily mad!"
> I don't remember any "temporarily".  I'm certainly not doing anything
> "temporarily".  What's that good for, "temporarily"?
> 
> 
> Corinna

  FTFY!

    cheers,
      DaveK

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-28 13:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tcqqp4pir13cnq0oa8psu1uq4lso1q2550@4ax.com>
     [not found] ` <20090219142734.GA22666@ednor.casa.cgf.cx>
     [not found]   ` <20090227005010.GA11675@ednor.casa.cgf.cx>
     [not found]     ` <re3gq45oj4clmern31thehbrupl4ed6fvr@4ax.com>
2009-02-27 16:31       ` Fw: [1.7] "broken" pipe implementation? Dave Korn
2009-02-27 22:07         ` Christopher Faylor
2009-02-27 22:29           ` Warren Young
2009-02-28 11:57             ` Corinna Vinschen
2009-02-28 13:15               ` Dave Korn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).