From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10872d,71c35a0e73c110d5 X-Google-Attributes: gid10872d,public X-Google-Thread: fcda7,71c35a0e73c110d5 X-Google-Attributes: gidfcda7,public X-Google-Thread: fa528,71c35a0e73c110d5 X-Google-Attributes: gidfa528,public X-Google-Thread: 11035d,71c35a0e73c110d5 X-Google-Attributes: gid11035d,public X-Google-Thread: 115614,71c35a0e73c110d5 X-Google-Attributes: gid115614,public X-Google-Thread: 1164f8,71c35a0e73c110d5 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2003-08-08 12:57:51 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-win.server.ntli.net.POSTED!53ab2750!not-for-mail Message-ID: <3F3400B7.C644FA19@ntlworld.com> From: "Dr. David Kirkby" X-Mailer: Mozilla 4.8 [en] (X11; U; SunOS 5.9 sun4u) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.sys.hp.hpux,comp.unix.tru64,comp.sys.dec,comp.unix.solaris,comp.sys.sgi.admin,comp.unix.aix Subject: Re: Free UNIX for non-commerical use. References: <3F233C74.4F4C3BAB@ntlworld.com> <3F23A0AC.4BF58D49@hotmail.com> <3F247C24.8FAA50A6@hotmail.com> <3F2B7E75.AE80EACE@hotmail.com> <3F330255.B90F491B@ntlworld.com> <3F336F45.400A411A@ntlworld.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Date: Fri, 08 Aug 2003 20:57:43 +0100 NNTP-Posting-Host: 62.253.80.105 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep1-win.server.ntli.net 1060372670 62.253.80.105 (Fri, 08 Aug 2003 20:57:50 BST) NNTP-Posting-Date: Fri, 08 Aug 2003 20:57:50 BST Organization: ntlworld News Service Xref: archiver1.google.com comp.sys.hp.hpux:30224 comp.unix.tru64:10573 comp.sys.dec:16641 comp.unix.solaris:165310 comp.sys.sgi.admin:18966 comp.unix.aix:54549 Tony 'Nicoya' Mantler wrote: > > In article <3F336F45.400A411A@ntlworld.com>, > "Dr. David Kirkby" wrote: > > : Tony 'Nicoya' Mantler wrote: > : In my life I've even come across a machine which I guess you would > : call mid-endian or something like that. It was a 24-bit machine, with > : either most (or might have been least) significant byte in the > : middle!! That was on a Bruker NMR (or MRI as it's now called) clinical > : system. > > I seem to recall there's one machine that's byte swapped on > 16-bit boundaries, nothing surprises me. > : > Thanks primarily to Debian, endian errors are getting very rare, and > : > pointer-size errors are slowly on their way out too. > : > : I don't know what Debian's contribution is, but it can't get around > Well, debian's contribution is to fix exactly that. > Since they support so many > different platforms, many packages have to get marked > with bugs for incorrect > endian support, or incorrect 64-bit support. Depending > on the severity of the error, it *has* to be fixed > by the next debian release, or the package faces > exclusion. Em, but a lot of packages for which the source is available, are not distributed by Debian. > MacOS X is also helping things, being it's rather popular and > runs on big-endian > and now 64-bit hardware. Same as SPARC. > : In which case, if you develop a program that needs low-level SCSI, why > : not start from J�rg Schilling's code, where the API is I assume > : consistent for cd-record, and the interface code is platform specific? > : J�rg Schilling might like to comment on that. > > Well, two factors: > > 1) cdrecord records CDs. It's SCSI library isn't (last I checked) packaged in a > seperate conviniently reusable form. See J�rg Schilling's comments. > 2) The programmer who wrote the SMART tools woke up one > morning and said "I want to get SMART data on my linux box", > not "I want to get SMART data on any unix box". Exactly. That is what I see is wrong with a lot of Linux development. > From a simplicity standpoint, it's much easier to write a program for one > system, then worry about portability, than it is to fuss > about portability from the start, especially when it comes to > APIs as varied as SCSI. Sure it is easier, if you consider making it publicly available, it would be helpful if you do put a bit of effort in at the beginning thinking about portability. > : I accept low-level code is more difficult, but if people had access to > : different systems cheaply, they might think about these issues more. > > Well, people need to have access, *and* want to use the machines. True. > Porting an application that hasn't been ported much is always a bit of a > headache. The biggest trick is learning the zen of autoconf. autoconf does help a lot. You still need to think about it. The other day I changed one of my variables from type 'long long' to 'double' when I realised that I could achieve exactly the same result using a more portable data type. > : Yesterday and > : Wednesday I had a lot of temperature problems on my older SPARC 20's > : which have fast disks and fast CPUs in them. Hence my 'brute force' > : approach to over-temperature protection > : http://www.medphys.ucl.ac.uk/~davek/sun/cool.html > : came into effect. > > Heh, ouch! > > I have to say I've never had any temperature problems > with my SGI systems, even when the ambient temperature crawls over 30c. It is not really Sun's fault. At the time the SS20 was made, the CPUs were slower (used less power) and disks used less power too. Then Ross came along and made Hyersparcs, which use quite a lot of power. I tend to put 10 k rpm disks in the SS20's, as they are the only disks readily available now in the larger sizes. The temperatures here have been 36 dec C lately, but I suspect my garage is over 40 deg C internally. The disks have a maximum temperature of around 55 deg C, so there is not a lot of room. So my 50 deg C cut-outs are tripping. I think the cooling was a weak point on the SS20, but I've tended to make the situation worst by the faster disks. I'm willing to accept that though - I only use the machines for portability testing, so it does not matter to me if I run them in the evening only. -- Dr. David Kirkby, Senior Research Fellow, Department of Medical Physics, University College London, 11-20 Capper St, London, WC1E 6JA. Tel: 020 7679 6408 Fax: 020 7679 6269 Internal telephone: ext 46408 e-mail davek@medphys.ucl.ac.uk