POV-Ray : Newsgroups : povray.off-topic : All bow to the mighty Python Server Time
4 Sep 2024 19:21:58 EDT (-0400)
  All bow to the mighty Python (Message 51 to 60 of 84)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Clarence1898
Subject: Re: All bow to the mighty Python
Date: 21 Apr 2010 13:55:01
Message: <web.4bcf3ad2de6f369169ec4e2a0@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Warp wrote:
> > Jim Charter <jrc### [at] msncom> wrote:
> >> So you are saying that the programming language is no good unless it
> >> allows production code to be floated around on blogs?
> >
> >   No, I'm saying that using whitespace as syntax is a bad idea.
>
> So is lower case letters, because EBCDIC doesn't support that. :-)
>
> --
> Darren New, San Diego CA, USA (PST)
>    Linux: Now bringing the quality and usability of
>    open source desktop apps to your personal electronics.

Actually EBCDIC does support lower case.
a thru i is x'81' to x'89'
j thru r is x'91' to x'99'
s thru z is x'a2' to x'a9'

I once had a case where I had to deal with lower case numbers.
0 thru 9 were encoded as x'b0' to x'b9'

To change to uppercase just 'or' with a blank (x'40').
To change uppercase to lowercase xor with x'bf'

There is even a valid card punch for lower case letters.

An a is a 12-0-1 punch,
A  b is a 12-0-2 punch,
etc.


Isaac


Post a reply to this message

From: Orchid XP v8
Subject: Re: All bow to the mighty Python
Date: 21 Apr 2010 14:11:02
Message: <4bcf3fb6@news.povray.org>
>>> Plus, as you're typing the arguments, it gives you help for each 
>>> argument.
>>>
>>> I.e., so you know whether it's radians or degrees expected.
>>
>> Or find out what the hell the order of the argument is...
> 
> Yep. Even better than type signatures, when you have three floats in a row.

Yeah, that one's fun. Haskellers tend to define aliases or new types 
quite a lot. For example, Filepath is an alias to String, but

   writeFile :: Filepath -> String -> IO ()

is more illuminating than just

   writeFile :: String -> String -> IO ()

Even so, you do still find type signatures where it's not really obvious 
what's what without some real documentation.

The *other* problem is that Haskell libraries tend not to be very 
documented. :-(

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


Post a reply to this message

From: Orchid XP v8
Subject: Re: All bow to the mighty Python
Date: 21 Apr 2010 14:11:39
Message: <4bcf3fdb$1@news.povray.org>
Darren New wrote:
> Invisible wrote:
>> As documented, VS doesn't indent things the way *I* like. ;-)
> 
> Did you ever adjust it to your liking? There's a bunch of knobs to 
> tweak, you know.

When last I looked at it, no amount of combinations would make it behave 
the way I wanted. Maybe it's improved since then...

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


Post a reply to this message

From: Orchid XP v8
Subject: Re: All bow to the mighty Python
Date: 21 Apr 2010 14:13:05
Message: <4bcf4031$1@news.povray.org>
Clarence1898 wrote:

> Actually EBCDIC does support lower case.
> a thru i is x'81' to x'89'
> j thru r is x'91' to x'99'
> s thru z is x'a2' to x'a9'

Why...why do you know this? o_O

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


Post a reply to this message

From: Orchid XP v8
Subject: Re: All bow to the mighty Python
Date: 21 Apr 2010 14:23:45
Message: <4bcf42b1$1@news.povray.org>
Warp wrote:
> nemesis <nam### [at] gmailcom> wrote:
>> http://www.itworld.com/government/105031/will-wall-street-require-python
> 
>   Python must have the most idiotic block delimiter in the history of
> programming languages: Whitespace indentation.

I'm *far* more concerned that people are proposing to write financial 
contracts in an ad hoc language like Python, rather than a more formally 
rigoruous language...

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


Post a reply to this message

From: Clarence1898
Subject: Re: All bow to the mighty Python
Date: 21 Apr 2010 14:35:00
Message: <web.4bcf453dde6f369169ec4e2a0@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> Clarence1898 wrote:
>
> > Actually EBCDIC does support lower case.
> > a thru i is x'81' to x'89'
> > j thru r is x'91' to x'99'
> > s thru z is x'a2' to x'a9'
>
> Why...why do you know this? o_O
>
> --
> http://blog.orphi.me.uk/
> http://www.zazzle.com/MathematicalOrchid*

Because unlike most of the people in this forum,
I live in an IBM mainframe world and need to
know this information.

Isaac


Post a reply to this message

From: Darren New
Subject: Re: All bow to the mighty Python
Date: 21 Apr 2010 15:16:05
Message: <4bcf4ef5$1@news.povray.org>
Warp wrote:
>> So is lower case letters, because EBCDIC doesn't support that. :-)
>   Yeah, I see how EBCDIC is as popular as html.

Obviously I was exagerating. The point is that it used to be you couldn't 
paste javascript into a web page, because the < and > and such would get 
corrupted. (Indeed, you still have to specially escape embedded javascript 
sometimes in HTML markup.)

You're blaming the wrong tool.

-- 
Darren New, San Diego CA, USA (PST)
   Linux: Now bringing the quality and usability of
   open source desktop apps to your personal electronics.


Post a reply to this message

From: Darren New
Subject: Re: All bow to the mighty Python
Date: 21 Apr 2010 15:17:07
Message: <4bcf4f33$1@news.povray.org>
Clarence1898 wrote:
> Actually EBCDIC does support lower case.

Whatever. The point is it isn't the language that's broken, but the tools to 
display it.

-- 
Darren New, San Diego CA, USA (PST)
   Linux: Now bringing the quality and usability of
   open source desktop apps to your personal electronics.


Post a reply to this message

From: Stephen
Subject: Re: All bow to the mighty Python
Date: 21 Apr 2010 15:24:39
Message: <4bcf50f7$1@news.povray.org>
On 21/04/2010 8:16 PM, Darren New wrote:
> Warp wrote:
>>> So is lower case letters, because EBCDIC doesn't support that. :-)
>> Yeah, I see how EBCDIC is as popular as html.
>
> Obviously I was exagerating. The point is that it used to be you
> couldn't paste javascript into a web page, because the < and > and such
> would get corrupted. (Indeed, you still have to specially escape
> embedded javascript sometimes in HTML markup.)
>
> You're blaming the wrong tool.
>

Who is the right tool to blame? ;-)


-- 

Best Regards,
	Stephen


Post a reply to this message

From: Orchid XP v8
Subject: Re: All bow to the mighty Python
Date: 21 Apr 2010 16:11:53
Message: <4bcf5c09$1@news.povray.org>
>> Why...why do you know this? o_O
> 
> Because unlike most of the people in this forum,
> I live in an IBM mainframe world and need to
> know this information.

IBM still make mainframes?

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


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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