POV-Ray : Newsgroups : povray.off-topic : code readability Server Time
14 Oct 2026 17:53:59 EDT (-0400)
  code readability (Message 51 to 73 of 73)  
<<< Previous 50 Messages Goto Initial 50 Messages
From: Gail Shaw
Subject: Re: code readability
Date: 27 Jun 2008 16:35:59
Message: <48654f2f@news.povray.org>
"andrel" <a_l### [at] hotmailcom> wrote in message
news:486### [at] hotmailcom...

> > My honours project at university had a line of code in it
> >
> > while (!hellFrozenOver) {
> > ...
> >
> >
> was that before or after Lordi won?

Lordi?

Sorry, reference to something I am not familar.


Post a reply to this message

From: Orchid XP v8
Subject: Re: code readability
Date: 27 Jun 2008 17:17:16
Message: <486558dc@news.povray.org>
andrel wrote:

> was that before or after Lordi won?

LMAO!

Sweet...

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


Post a reply to this message

From: Orchid XP v8
Subject: Re: code readability
Date: 27 Jun 2008 17:17:37
Message: <486558f1$1@news.povray.org>
Gail Shaw wrote:

> Lordi?

Most improbable Eurovision winners in history.

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


Post a reply to this message

From: Eero Ahonen
Subject: Re: code readability
Date: 27 Jun 2008 20:07:23
Message: <486580bb$1@news.povray.org>
Orchid XP v8 wrote:
> Gail Shaw wrote:
> 
>> Lordi?
> 
> Most improbable Eurovision winners in history.
> 

Yes. The only Finnish band ever made it so far (=to the finals, that is) 
with having even a slightest chance of winning.

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


Post a reply to this message

From: John VanSickle
Subject: Re: code readability
Date: 28 Jun 2008 01:38:19
Message: <4865ce4b$1@news.povray.org>
Halbert wrote:

> Why doesn't the rest of the world understand that?

Because I learned to program on a machine with 8k of memory.  A byte 
saved is a byte earned.

Regards,
John


Post a reply to this message

From: andrel
Subject: Re: code readability
Date: 28 Jun 2008 04:42:50
Message: <4865F9C0.5040308@hotmail.com>
Gail Shaw wrote:
> "andrel" <a_l### [at] hotmailcom> wrote in message
> news:486### [at] hotmailcom...
> 
>>> My honours project at university had a line of code in it
>>>
>>> while (!hellFrozenOver) {
>>> ...
>>>
>>>
>> was that before or after Lordi won?
> 
> Lordi?
> 
> Sorry, reference to something I am not familar.
> 
> 
Sorry Gail, that was sort of eurocentristic. Indeed the winners of the 
Eurovisionsongcontest a few years back. 
(http://www.youtube.com/watch?v=p6VzdtmrP6Y is the best I could find). 
Finland was considered the country most unlikely to win the contest ever 
before this act. Especially by the Finnish themselves. On some webpages 
it was put down as an event even less likely than hell freezing over. 
Some publications the day after apparently opened with 'it is official: 
hell frozen over' or similar. IIRC Eero is from Finland.

Why Finland won: they couldn't so they send in a hardrock band because 
that is not what the songcontest was about. The band was dressed like 
monsters, again not exactly according to dress code. Very important 
contribution was that the voting was not done anymore by a geriatric 
jury with knowledge and taste but by SMS by mainly adolescents. And 
within it's genre it was a good song of course.


Post a reply to this message

From: Stephen
Subject: Re: code readability
Date: 28 Jun 2008 04:45:47
Message: <lhub64hc8d4a7jg7sj7ighugt2icsoblnf@4ax.com>
On Fri, 27 Jun 2008 13:29:17 -0700, Darren New <dne### [at] sanrrcom>
wrote:

>Invisible wrote:
>> Perhaps you forget, the very word "computer" means "device for 
>> performing mathematical calculations". ;-)
>
>Actually, it means "person whose job it is to do the arithmetic." Only 
>after they automated it did it refer to a machine. :-)

You are right of course but should it have been computor not computer.
-- 

Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: code readability
Date: 28 Jun 2008 04:49:52
Message: <8pub641devnfjp13324r616i6d0veimc90@4ax.com>
On Sat, 28 Jun 2008 10:43:44 +0200, andrel <a_l### [at] hotmailcom>
wrote:

>Gail Shaw wrote:
>> "andrel" <a_l### [at] hotmailcom> wrote in message
>> news:486### [at] hotmailcom...
>> 
>>>> My honours project at university had a line of code in it
>>>>
>>>> while (!hellFrozenOver) {
>>>> ...
>>>>
>>>>
>>> was that before or after Lordi won?
>> 
>> Lordi?
>> 
>> Sorry, reference to something I am not familar.
>> 
>> 
>Sorry Gail, that was sort of eurocentristic. 

Isn't Hell a town in one of the Nordic countries?
-- 

Regards
     Stephen


Post a reply to this message

From: Gail Shaw
Subject: Re: code readability
Date: 28 Jun 2008 05:00:57
Message: <4865fdc9@news.povray.org>
"andrel" <a_l### [at] hotmailcom> wrote in message
news:486### [at] hotmailcom...
> Gail Shaw wrote:
> > "andrel" <a_l### [at] hotmailcom> wrote in message
> > news:486### [at] hotmailcom...
> >
> >>> My honours project at university had a line of code in it
> >>>
> >>> while (!hellFrozenOver) {
> >>> ...
> >>>
> >>>
> >> was that before or after Lordi won?
> >
> > Lordi?
> >
> > Sorry, reference to something I am not familar.
> >
> >
> Sorry Gail, that was sort of eurocentristic. Indeed the winners of the
> Eurovisionsongcontest a few years back.

Ah. I'm also not a major music fan.
The code dates from well before that, 1998.


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: code readability
Date: 28 Jun 2008 05:18:15
Message: <op.udgb4ori7bxctx@e6600>
On Sat, 28 Jun 2008 10:49:53 +0200, Stephen <mcavoysAT@aolDOTcom> wrote:
> Isn't Hell a town in one of the Nordic countries?

http://en.wikipedia.org/wiki/Hell%2C_Norway

Also:
http://en.wikipedia.org/wiki/Hell%2C_California
http://en.wikipedia.org/wiki/Hell%2C_Michigan
http://en.wikipedia.org/wiki/Hell%2C_Grand_Cayman


-- 
FE


Post a reply to this message

From: Warp
Subject: Re: code readability
Date: 28 Jun 2008 05:44:12
Message: <486607ec@news.povray.org>
John VanSickle <evi### [at] hotmailcom> wrote:
> Halbert wrote:

> > Why doesn't the rest of the world understand that?

> Because I learned to program on a machine with 8k of memory.  A byte 
> saved is a byte earned.

  You had a C compiler in a machine with 8k of memory? Which one was that?

-- 
                                                          - Warp


Post a reply to this message

From: Stephen
Subject: Re: code readability
Date: 28 Jun 2008 06:06:48
Message: <h83c64hi812iq7t637e8or2ahjl60ng32c@4ax.com>
On Sat, 28 Jun 2008 11:18:14 +0200, "Fredrik Eriksson"
<fe79}--at--{yahoo}--dot--{com> wrote:

>On Sat, 28 Jun 2008 10:49:53 +0200, Stephen <mcavoysAT@aolDOTcom> wrote:
>> Isn't Hell a town in one of the Nordic countries?
>
>http://en.wikipedia.org/wiki/Hell%2C_Norway

Thanks, I couln't find it on Google maps.
-- 

Regards
     Stephen


Post a reply to this message

From: Darren New
Subject: Re: code readability
Date: 28 Jun 2008 15:12:07
Message: <48668d07@news.povray.org>
Warp wrote:
> John VanSickle <evi### [at] hotmailcom> wrote:
>> Halbert wrote:
> 
>>> Why doesn't the rest of the world understand that?
> 
>> Because I learned to program on a machine with 8k of memory.  A byte 
>> saved is a byte earned.
> 
>   You had a C compiler in a machine with 8k of memory? Which one was that?

PDP-11?  I had a machine with a COBOL compiler that ran in 8K of 
real-live core memory.  And, like, it ran banks and stuff. :-)

-- 
Darren New / San Diego, CA, USA (PST)
  Helpful housekeeping hints:
   Check your feather pillows for holes
    before putting them in the washing machine.


Post a reply to this message

From: Warp
Subject: Re: code readability
Date: 28 Jun 2008 15:14:41
Message: <48668da0@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> >   You had a C compiler in a machine with 8k of memory? Which one was that?

> PDP-11?  I had a machine with a COBOL compiler that ran in 8K of 
> real-live core memory.  And, like, it ran banks and stuff. :-)

  An entire C or COBOL compiler which can run and compile with only
8 kilobytes of memory puts those 4k intros into shame, IMO. :P

-- 
                                                          - Warp


Post a reply to this message

From: Darren New
Subject: Re: code readability
Date: 28 Jun 2008 15:40:52
Message: <486693c4$1@news.povray.org>
Warp wrote:
>   An entire C or COBOL compiler which can run and compile with only
> 8 kilobytes of memory puts those 4k intros into shame, IMO. :P

What's a 4k intro?

(Of course, it had lots of passes. And a 50-line program took maybe 10 
or 15 minutes to compile. But there was no VM either, for what that's 
worth to the discussion. :-)

-- 
Darren New / San Diego, CA, USA (PST)
  Helpful housekeeping hints:
   Check your feather pillows for holes
    before putting them in the washing machine.


Post a reply to this message

From: Warp
Subject: Re: code readability
Date: 29 Jun 2008 03:08:59
Message: <4867350b@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Warp wrote:
> >   An entire C or COBOL compiler which can run and compile with only
> > 8 kilobytes of memory puts those 4k intros into shame, IMO. :P

> What's a 4k intro?

http://en.wikipedia.org/wiki/Demo_(computer_programming)#Intros

  It's rather incredible what you can squeeze into that amount of bytes.

-- 
                                                          - Warp


Post a reply to this message

From: Orchid XP v8
Subject: Re: code readability
Date: 29 Jun 2008 04:53:42
Message: <48674d96$1@news.povray.org>
Warp wrote:

> http://en.wikipedia.org/wiki/Demo_(computer_programming)#Intros
> 
>   It's rather incredible what you can squeeze into that amount of bytes.

Yarr, back then, coders were *real* coders! Haharrr!

Mmm, can't see me entering any Haskell programs in a 4KB demo 
competition... The Haskell runtime engine alone is ~500KB, and that's 
before you add any *functionallity*. o_O

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


Post a reply to this message

From: Darren New
Subject: Re: code readability
Date: 29 Jun 2008 13:26:55
Message: <4867c5df@news.povray.org>
Warp wrote:
>   It's rather incredible what you can squeeze into that amount of bytes.

Indeed. It used to be 32K was plenty for some rather sophisticated video 
games. :-)  Lots of the old arcade games had less than that, too.

-- 
Darren New / San Diego, CA, USA (PST)
  Helpful housekeeping hints:
   Check your feather pillows for holes
    before putting them in the washing machine.


Post a reply to this message

From: Orchid XP v8
Subject: Re: code readability
Date: 29 Jun 2008 13:52:11
Message: <4867cbcb$1@news.povray.org>
For some reason I'm reminded of the demo of Uridium 2 I got to play on 
my dad's Amiga.

You insert the disk into the drive, you hear a click, and instantly the 
screen lights up in neon colours. First a set of blue bars appear, then 
a set of thinner, transparent green bars scroll down over the top of 
these, and then transparent red bars scroll up over both. The end result 
is a myriad of colours. And all the time this is happening, electronic 
music is playing, and the computer is still loading the *real* game from 
disk.

Basically, the entire audio-visual candy-fest fits into the boot sector. 
And well it might; the technicolour rainbow is just a trick of the 
Amiga's copper ship, which modifies the image palette on each raster 
scanline, yielding the effect of millions of colours at once, from a 
bitmap that only actually handles a handful. (Notice that all the colour 
bars are *horisontal*. This is not a coincidence.)

Ah, great days...

Damned TF2 takes 20 minutes to load up! o_O

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


Post a reply to this message

From: John VanSickle
Subject: Re: code readability
Date: 29 Jun 2008 15:04:59
Message: <4867dcdb@news.povray.org>
Warp wrote:
> John VanSickle <evi### [at] hotmailcom> wrote:
>> Halbert wrote:
> 
>>> Why doesn't the rest of the world understand that?
> 
>> Because I learned to program on a machine with 8k of memory.  A byte 
>> saved is a byte earned.
> 
>   You had a C compiler in a machine with 8k of memory? Which one was that?

I didn't say that I programmed in C on this machine, only that I learned 
to program.  The habit of being very stingy with memory use carries on.

Regards,
John


Post a reply to this message

From: Warp
Subject: Re: code readability
Date: 29 Jun 2008 16:39:56
Message: <4867f31c@news.povray.org>
John VanSickle <evi### [at] hotmailcom> wrote:
> I didn't say that I programmed in C on this machine, only that I learned 
> to program.  The habit of being very stingy with memory use carries on.

  Nowadays when I code I sometimes stumble into situations like:
"Hmm... This data will take over 100 megabytes of memory... Should
I worry? ... Nah. That's nothing."

-- 
                                                          - Warp


Post a reply to this message

From: Mike Raiford
Subject: Re: code readability
Date: 30 Jun 2008 09:20:27
Message: <4868dd9b$1@news.povray.org>
andrel wrote:
> I'd like to see the specification that gave rise to that snipped of 
> code. ;)

Umm. Write a contrived example showing that compact isn't always readable?


Post a reply to this message

From: andrel
Subject: Re: code readability
Date: 2 Jul 2008 15:20:03
Message: <486BD519.4080602@hotmail.com>
Mike Raiford wrote:
> andrel wrote:
>> I'd like to see the specification that gave rise to that snipped of 
>> code. ;)
> 
> Umm. Write a contrived example showing that compact isn't always readable?
No that is more an assignment. A specification is where you specify what 
the possible inputs are and what relations exist between input and 
output...umm, ok, I know you were just kidding ;)


Post a reply to this message

<<< Previous 50 Messages Goto Initial 50 Messages

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