|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>> 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
|
|
| |
| |
|
|
|
|
| |