POV-Ray : Newsgroups : povray.off-topic : Paranoia? Server Time
7 Sep 2024 15:22:50 EDT (-0400)
  Paranoia? (Message 13 to 22 of 22)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Mike Raiford
Subject: Re: Paranoia?
Date: 21 May 2008 14:56:59
Message: <4834707b$1@news.povray.org>
Invisible wrote:
> Somebody on the Haskell list just wrote
> 
> "Did you also by any chance patch Debian's OpenSSL a few years back?"
> 
> I think I just got 0WN3D. :-(

XD


Post a reply to this message

From: Orchid XP v8
Subject: Re: Paranoia?
Date: 21 May 2008 15:12:50
Message: <48347432@news.povray.org>
Mike Raiford wrote:

> Familiar with the concept of NIH? (Not Invented Here)
> 
> I know the PRNG built into the standard C library sucks, but i think 
> it's more random than .. well ... your example.

I got tired of trying to figure out how to get Haskell's PRNG library to 
work right. I figured it would be... hahaha!... easier to do it myself. :-/

>> Dude. Seriously. What the HELL was I smoking that day?? [shakes head 
>> in disbelief] I literally cannot *believe* I managed to do something 
>> this retarded...
> 
> I've been wondering that on the project I've been working on. Seriously 
> all day in a non-air conditioned manufacturing plant is not fun. Of 
> course the component I'm working on is a major PITA, due to the sheer 
> number of things that can go wrong both within my control and outside of 
> my control. :/ and it deals with physical movement of mechanical parts. 
> Not fun when you really screw up. (Thank God for limit switches)

Hmm. So here "crash" takes on a whole new meaning, eh? ;-)

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Gail Shaw
Subject: Re: Paranoia?
Date: 21 May 2008 15:43:44
Message: <48347b70@news.povray.org>
"Nicolas Alvarez" <nic### [at] gmailcom> wrote in message
news:48346fbe@news.povray.org...
>
> It's one of those "who the hell wrote this piece of... oh" moments
>

Hehe. I've had that.

Pulled out the list of worst performing procs from my server one day (top 10
CPU consumers)
I looked at the 3rd one down and saw it was pulling a lot of info from the
job history tables and in a really weird way (bitwise expressions and
strange conversions)
As I dug out the full script I muttered to myself, 'Which blithering idiot
wrote thi.... urrr. I did.'

Needless to say, it went straight onto the to-fix list.


Post a reply to this message

From: somebody
Subject: Re: Paranoia?
Date: 21 May 2008 17:30:11
Message: <48349463$1@news.povray.org>
"Invisible" <voi### [at] devnull> wrote

> Of course, The *Real* WTF is that I seeded my broken PRNG using... the
> system PRNG. Which actually works correctly.

A PRNG cannot work incorrectly (so long as it gives *some* output). It's
P... after all <g>


Post a reply to this message

From: Michael Raiford
Subject: Re: Paranoia?
Date: 21 May 2008 21:00:40
Message: <4834c5b8@news.povray.org>
Orchid XP v8 wrote:

> 
> Hmm. So here "crash" takes on a whole new meaning, eh? ;-)
> 

You have no idea how true that is (Nothing I did, mind you, but it has 
happened on some of our more complex multi-axis equipment. Usually BAD 
things happen when that happens. I've personally seen a 10ft 2x4 get 
thrown into the rafters, I've heard stories of saw blades being thrown 
clear of the saw. Fun stuff, heh. The worst I've done is move a pusher 
while a clamp was closed, stripping a belt free of its teeth.


Post a reply to this message

From: Michael Raiford
Subject: Re: Paranoia?
Date: 21 May 2008 21:04:18
Message: <4834c692$1@news.povray.org>
Michael Raiford wrote:

> clear of the saw. Fun stuff, heh. The worst I've done is move a pusher 
> while a clamp was closed, stripping a belt free of its teeth.

I want to clarify this a bit: I wrote this application blind. I had no 
idea how the equipment was really going to work once it was put 
together. I was given an electrical cabinet, a motor, a servo drive and 
a few switches, and told "Write software for this saw" It turns out, I 
didn't have all of the switches that fed the input. which meant I failed 
to detect the condition when the clamp was down, which meant ... well.. 
->Crash<- oops.


Post a reply to this message

From: Invisible
Subject: Re: Paranoia?
Date: 22 May 2008 04:17:52
Message: <48352c30$1@news.povray.org>
>> I think I just got 0WN3D. :-(
> 
> Heh, quite badly.

Thanks. I feel better now...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Invisible
Subject: Re: Paranoia?
Date: 22 May 2008 04:20:40
Message: <48352cd8$1@news.povray.org>
Eero Ahonen wrote:

> No offence, but why do you need to reinvent the wheel? Just use diff.

Because it's easier [and more reliable] to call a function than to 
invoke an external program and attempt to parse it's output?

> For future cases there's lots of useful small programs ported on 
> Windows, too ;).
> http://unxutils.sourceforge.net/

Hmm - I wonder if they have "time"? That would be useful...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Eero Ahonen
Subject: Re: Paranoia?
Date: 22 May 2008 11:16:48
Message: <48358e60@news.povray.org>
Invisible wrote:
> Eero Ahonen wrote:
> 
>> No offence, but why do you need to reinvent the wheel? Just use diff.
> 
> Because it's easier [and more reliable] to call a function than to 
> invoke an external program and attempt to parse it's output?

Ahh yes, that I can understand.

OTOH, based on the very opening of this thread I dare to question the 
increased reliability of that particular built-in function :).

>> For future cases there's lots of useful small programs ported on 
>> Windows, too ;).
>> http://unxutils.sourceforge.net/
> 
> Hmm - I wonder if they have "time"? That would be useful...
> 

At least on Cygwin yes, but it's a bit different thing...

-- 
Eero "Aero" Ahonen
    http://www.zbxt.net
       aer### [at] removethiszbxtnetinvalid


Post a reply to this message

From: Invisible
Subject: Re: Paranoia?
Date: 22 May 2008 11:22:54
Message: <48358fce@news.povray.org>
>> Because it's easier [and more reliable] to call a function than to 
>> invoke an external program and attempt to parse it's output?
> 
> Ahh yes, that I can understand.
> 
> OTOH, based on the very opening of this thread I dare to question the 
> increased reliability of that particular built-in function :).

Hmm, well... Suffice it to say that in future, I'll use /dev/urandom 
rather than my own PRNG. And I've now fixed my file comparator. ;-)

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.