From owner-freebsd-hackers Wed Mar 6 20:37:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from alpha.vaxxine.com (alpha.vaxxine.com [209.5.212.5]) by hub.freebsd.org (Postfix) with ESMTP id 2217037B402 for ; Wed, 6 Mar 2002 20:37:14 -0800 (PST) Received: from there (ppp206.digi-t3.st-cath.niagara.net [209.5.215.206]) by alpha.vaxxine.com (8.9.2/8.9.3) with SMTP id XAA13463; Wed, 6 Mar 2002 23:37:00 -0500 (EST) Message-Id: <200203070437.XAA13463@alpha.vaxxine.com> Content-Type: text/plain; charset="iso-8859-1" From: "Paul C. Boyle" To: "Mike Meyer" Subject: Re: I need hack, I would like a clock like the xdaliclock but reads the time out in HE Date: Wed, 6 Mar 2002 23:38:07 -0500 X-Mailer: KMail [version 1.3] References: <200203061700.MAA11066@alpha.vaxxine.com> <15494.36857.673158.314313@guru.mired.org> In-Reply-To: <15494.36857.673158.314313@guru.mired.org> Cc: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thank you for the kind reply Mike. I have been shown the elitist attude by others at times, and man I tell you its can bring a buy down. On March 6, 2002 04:54 pm, you wrote: > > minimal exposure to these.) I have looked a Python and found it a bit > > confusing not having to delare everything and aslo it has no unary > > opperator. > > All languages have unary operators - at the very least negate, both > loagical and arithmeatic. Most modern ones have a boolean negate as > well. My comment was't meant to knock Python. I have read about Python and very much like what I have read. Just to tell you where I am coming from. I have taken a ten week night class in C++ 2 years ago. This was my first experience with programming. This just gave me the basics like , looping, functions, arrays, pointers as such. Since coming to Freebsd unix I found the majority of things is done in C. So I picked up the book Teach yourself C in 21 Days. Things are different here but they do make sense. Now looking at Python books things are a lot differently done. like how do you do a for loop as you would in C or C++. for ( x=0: x < 10 ; x ++ ) Is the ++ not the unary operator? What is the same thing in Python? Maybe Sams will put out a Teach Yourself Python in 21 Days. I'd like to learn Perl as well but good books for newbies are hard to find. > > > Is there a Master Yoda sensing a disturbance in the force? > > Well, Python 2.0 has unary assignment operators if that's what you > meant. Personally, I think python is the most readable thing I've > found, and would gladly write you such a tool just to show off python, > except I'm currently bedridden and can't get access ot a machine with > an X server to test it on. If you still don't have one in two weeks, > drop me a note about it, as I should be up and about by then. I would appriciate that so much. I would really like to learn a language that I could use to make things when I want. Like a clock that reads out in HEX. My day job, I drive transport truck. I could see writing a program for the palm pilot for other truck drivers to do their daily log book calculations. I will pray that you gett better real soon Mike. Take care. Paul... > >