Re: [OT] Free software versus software idea patents

2011-04-14 Thread Martin Gregorie
On Thu, 14 Apr 2011 15:23:01 -0700, Westley Martínez wrote: > On Fri, 2011-04-15 at 08:01 +1000, Chris Angelico wrote: >> On Fri, Apr 15, 2011 at 7:36 AM, Martin Gregorie >> wrote: >> > I think the only real evil is to set out to make a non-standards- >> > compli

Re: [OT] Free software versus software idea patents

2011-04-14 Thread Martin Gregorie
On Fri, 15 Apr 2011 08:01:42 +1000, Chris Angelico wrote: > On Fri, Apr 15, 2011 at 7:36 AM, Martin Gregorie > wrote: >> I think the only real evil is to set out to make a non-standards- >> compliant server and then design client software that seeks to lock in >> people

Re: [OT] Free software versus software idea patents

2011-04-14 Thread Martin Gregorie
ly set out to do. Judging from stories over the years of lost code (the Win98 New Year problem) and the general slackness of their project management, its equally possible its simply the result of out of control, anarchic and undocumented software development. -- martin@ | Martin Greg

Re: Purely historic question: VT200 text graphic programming

2011-03-12 Thread Martin Gregorie
lowed programs to control the display by emitting escape codes - without it the DOS screen was treated as a glass teletype. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Purely historic question: VT200 text graphic programming

2011-03-12 Thread Martin Gregorie
ot;There is no VT200 as such; the VT220 is a text terminal, while the VT240 and VT241 are graphics terminals, supporting Digital’s ReGIS graphics and Tektronix vector graphics." which I read to mean that a 240/241 wouldn't accept the same command set as the 220. -- martin@ | Martin Gr

Re: Purely historic question: VT200 text graphic programming

2011-03-11 Thread Martin Gregorie
On Fri, 11 Mar 2011 19:32:53 +, Grant Edwards wrote: > On 2011-03-11, Martin Gregorie wrote: > >> BTW, there was no such thing as a VT-200 - there was a VT-220 text >> terminal (which I think the OP was remembering) and the VT-240 and 241 >> terminals, which were to

Re: Purely historic question: VT200 text graphic programming

2011-03-11 Thread Martin Gregorie
with some extensions. > I got that wrong: ANSI defined the VT-100 control codes. See above. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Purely historic question: VT200 text graphic programming

2011-03-11 Thread Martin Gregorie
On Fri, 11 Mar 2011 11:52:13 +, Jorgen Grahn wrote: > On Thu, 2011-03-10, Martin Gregorie wrote: >> On Thu, 10 Mar 2011 20:31:11 +, Grant Edwards wrote: >> >>> You tricked me by saying only DEC VAX/VMS programmers would know what >>> it was. In fact,

Re: Purely historic question: VT200 text graphic programming

2011-03-11 Thread Martin Gregorie
ended ascii, as did IBM-DOS. > > Strange the history one remembers. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Purely historic question: VT200 text graphic programming

2011-03-10 Thread Martin Gregorie
cessor world too, together with assorted clones. In addition, many other terminals had a VT-100 emulation mode. IIRC all the Wyse terminals had that. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: parsing a file for analysis

2011-02-26 Thread Martin Gregorie
wk processes a text file line by line, automatically splitting each line into an array of words. It uses regexes to recognise lines and trigger actions on them. For example, building a list of visitors: assume there's a line containing "username logged on", you could build a list

Re: An amazing one-minute bit of fun at the interactive prompt

2011-02-20 Thread Martin Gregorie
ot set iterations :-) >> >> That should be: pi plus-or-minus e > > It was in my reader. Perhaps your server has encoding trouble? Same here (Pan reader, Fedora 14). -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: client server socket interaction (inetd)

2011-02-18 Thread Martin Gregorie
er path you should investigate popen. It is part of the os module. You could design the server so a suitable request runs LaTeX via popen, captures the stdout and stderr output, if any, and returns that and the LaTeX termination status code to the client as a response message. -- martin@

Re: client server socket interaction (inetd)

2011-02-17 Thread Martin Gregorie
can get one request through, and I assume (you didn't say) that a second request is also accepted without restarting the server. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: client server socket interaction (inetd)

2011-02-17 Thread Martin Gregorie
T,socket.SOCK_STREAM) > sock.connect((ip,port)) > sock.send(message) > for line in line_buffer(sock): > print line > sock.close() > > if __name__ == '__main__': > message = ' '.join(sys.argv[1:])

Re: Part of RFC 822 ignored by email module

2011-01-20 Thread Martin Gregorie
be believed. If the Python e-mail module lets you, set it to use lenient parsing. If this isn't an option you may well find yourself having to fix up messages before you can parse them successfully. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Part of RFC 822 ignored by email module

2011-01-20 Thread Martin Gregorie
On Thu, 20 Jan 2011 16:25:52 -0500, Bob Kline wrote: > On 1/20/2011 3:48 PM, Martin Gregorie wrote: >> That's only a problem if your code cares about the composition of the >> whitespace and this, IMO is incorrect behaviour. When the separator >> between syntact

Re: Part of RFC 822 ignored by email module

2011-01-20 Thread Martin Gregorie
t returning the same value > in the two cases above the module is not "regarding CRLF immediately > followed by a LWSP-char as equivalent to the LWSP-char." > That's only a problem if your code cares about the composition of the whitespace and this, IMO is incorrect behaviour. When the separator between syntactic elements in a header is 'whitespace' it should not matter what combination of newlines, tabs and spaces make up the whitespace element. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter: The good, the bad, and the ugly!

2011-01-19 Thread Martin Gregorie
GB RAM, LG DVD drive, new 160GB hdd and runs Fedora 13. It is a bit slow at runlevel 5 (graphical desktop) when driven from its own console, but I usually access it over the house net from a more modern Core Duo laptop that runs Fedora 14. The NetVista is more than adequate for web and RDBMS d

Re: Nothing to repeat

2011-01-09 Thread Martin Gregorie
ors between adjacent matching strings. I tried non-greedy matching, e.g. r'(spam*?)*', but this was worse, so I'll be interested to see how the real regex mavens do it. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Scanning directories for new files?

2010-12-21 Thread Martin Gregorie
ready for further processing. I've used this technique reliably with files arriving via FTP at quite high rates. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Comparison with False - something I don't understand

2010-12-06 Thread Martin Gregorie
Any BASIC that implements ON ERROR (i.e. just about all of them) will do this, not just VB. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: building a web interface

2010-11-21 Thread Martin Gregorie
t need 2 because you can have your simple web server and program running in a console window on your desktop PC while you hammer it from your web browser. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: building a web interface

2010-11-21 Thread Martin Gregorie
the same session and keep each session's context separate. The web server doesn't do this, so this managing session context is the application's responsibility. Common methods are to use a session cookie and/or to store session context in the database. -- martin

Re: building a web interface

2010-11-20 Thread Martin Gregorie
ter would be a better place to start: once its running you simply point your browser at localhost:80 and send it the URL of the initial page of your application. Search on "Python web server" for details of building or downloading a simple one. You'll also find stuff about interfacing Python programs to a web server. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Program, Application, and Software

2010-11-19 Thread Martin Gregorie
irectly interpreted by the command processor, and .EXE or .COM files, which must be compiled before they can be run. AFAIK there's no way you can mark anything else, such as an awk, Perl or Python source file, as executable since there is no 'executable' attribute in an

Re: Program, Application, and Software

2010-11-18 Thread Martin Gregorie
On Fri, 19 Nov 2010 00:07:05 +, Steven D'Aprano wrote: > On Thu, 18 Nov 2010 14:21:47 +, Martin Gregorie wrote: > >> I use 'script' to refer to programs written in languages that don't >> have a separate compile phase which must be run before the

Re: Program, Application, and Software

2010-11-18 Thread Martin Gregorie
On Thu, 18 Nov 2010 15:41:51 +, Grant Edwards wrote: > On 2010-11-18, Martin Gregorie wrote: >> On Thu, 18 Nov 2010 01:16:34 +, MRAB wrote: >> >>> I'd probably say that a "script" is a program which is normally not >>> interactive: you jus

Re: Program, Application, and Software

2010-11-18 Thread Martin Gregorie
Perl programs are scripts aloing with programs written as awk, Javascript and bash scripts. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: How to read such file and sumarize the data?

2010-11-17 Thread Martin Gregorie
be adjacent - use the first field as the key to an array and put the start time and CPU count in that element. When a matching stop line is found you, retrieve the array element, calculate and output or total the usage figure for that run and delete the array element. -- martin@

Re: Is Unladen Swallow dead?

2010-11-17 Thread Martin Gregorie
Seems the German > translation sucks (misses a lot) and my copy lacks the original dub. > While you're at it, pick up the video of "Monty Python and the Holy Grail". the project name, Unladen Swallow, is a reference to the film. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking For Tutorial Comparison Of sh - perl - python

2010-11-14 Thread Martin Gregorie
hile applying different processing rules depending on line content and/or generating summaries. > Before I attack this myself, has anyone done > something along these lines I could piggyback upon? > I haven't seen such a comparison, but that doesn't meant that they don&#x

Re: need some debug-infos on a simple regex

2010-11-12 Thread Martin Gregorie
www.solmetra.com/scripts/regex/ may be useful when you're experimenting with regexes or testing them. Perl regexes are similar enough to Python regexes for this tool to be useful here. Without examples of text that the regex is intended to match its difficult to say more. -- martin@ | Ma

Re: is there an Python equivalent for the PHP super globals like $_POST, $_COOKIE ?

2010-11-11 Thread Martin Gregorie
can write Fortran programs in any language." - from "Real Programmers don't use Pascal". -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Commercial or Famous Applicattions.?

2010-11-11 Thread Martin Gregorie
On Wed, 10 Nov 2010 16:58:06 -0800, alex23 wrote: > Martin Gregorie wrote: >> Now, if ESR had fixed fetchmail [...] > > Did you try submitting patches? Nope. I'd already seen comments that bug reports etc. are ignored and tried getmail. Since that does the needful,

Re: Commercial or Famous Applicattions.?

2010-11-10 Thread Martin Gregorie
On Wed, 10 Nov 2010 17:01:05 +1300, Lawrence D'Oliveiro wrote: > In message , Martin Gregorie wrote: > >> ...and don't forget getmail, a better behaved replacement for >> fetchmail. > > I was just looking this up in the Getmail FAQ, since I didn’t know about &g

Re: How to test if a module exists?

2010-11-10 Thread Martin Gregorie
ng to stop > `new_zealand' from becoming a TLD at some point (the underscore makes it > unlikely, I grant). If you'd mangled the local part, or used an > explicitly reserved TLD such as `example', then there wouldn't be a > problem. > Using the .invalid TLD is a generally

Re: Commercial or Famous Applicattions.?

2010-11-10 Thread Martin Gregorie
On Wed, 10 Nov 2010 13:59:02 +, Nobody wrote: > On Wed, 10 Nov 2010 13:07:58 +0000, Martin Gregorie wrote: > >> FWIW the thing that really irritated me about fetchmail is the way it >> only deletes messages at the end of a session and never cleans up after >> itself.

Re: Pythonic/idiomatic?

2010-11-09 Thread Martin Gregorie
pleased to find that Python already has the optparse module. Using it is a no-brainer, particularly as it makes quite a good fist of being self-documenting and of spitting out a nicely formatted chunk of help text when asked to do so. -- martin@ | Martin Gregorie gregorie. | Essex, UK or

Re: Commercial or Famous Applicattions.?

2010-11-09 Thread Martin Gregorie
On Tue, 09 Nov 2010 00:47:08 +, brf256 wrote: > Mailman is of course. > ...and don't forget getmail, a better behaved replacement for fetchmail. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Python documentation too difficult for beginners

2010-11-03 Thread Martin Gregorie
me problem in Java and it has exactly the same root: a lazy programmer who can't be arsed to document his code. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: What people are using to access this mailing list

2010-11-03 Thread Martin Gregorie
t; Using what client (or web client)? >> >> Emacs, of course :-; > > Slrn, of course. Pan since I'm on Linux. Agent if I was still a Windows user. Its the best news reader I've used. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: sed equivalent of something easy in python

2010-10-27 Thread Martin Gregorie
print "hello world" > def foo(): > print "foo()" > foo() > EOF > $ Or even better: $ cat hello #!/usr/bin/python print "hello world" def foo(): print "foo()" foo() $ chmod u+x hello $ hello hello world foo() $ which saves an un

Re: Unix-head needs to Windows-ize his Python script (II)

2010-10-26 Thread Martin Gregorie
ical, you do the same as above and also tell the launcher that the program must run in a console window. Simple. Logical. Concise. I assume that what I've just described applies to OS X and virtually all other graphical desktops: I wouldn't know from personal experience because I do

Re: Print to an IPP printer (pkipplib?)

2010-10-20 Thread Martin Gregorie
ut > the print architecture so popenlp is not an option]. I just want to > send the data from a file handle to a remote IPP queue as a print job. See RFC 2910. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: OO and game design questions

2010-10-19 Thread Martin Gregorie
ingle list for all types of object, in which case the object itself would be very small indeed. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: PEP 249 (database api) -- executemany() with iterable?

2010-10-16 Thread Martin Gregorie
On Sun, 17 Oct 2010 11:27:17 +1300, Lawrence D'Oliveiro wrote: > In message , Martin Gregorie wrote: > >> On Thu, 14 Oct 2010 16:36:34 +1300, Lawrence D'Oliveiro wrote: >> >>> In message <4cb5e659$0$1650$742ec...@news.sonic.net>, John Nagle >>

Re: EOF while scanning triple-quoted string literal

2010-10-15 Thread Martin Gregorie
into the null trap - sorry - because I actually meant to generalise the discussion into ways of getting a range of unwanted characters into a file name and why its unwise to use a filename without checking it for characters the OS doesn't like before creating a file with it. -- m

Re: EOF while scanning triple-quoted string literal

2010-10-15 Thread Martin Gregorie
On Fri, 15 Oct 2010 18:14:13 +, Grant Edwards wrote: > On 2010-10-15, Martin Gregorie wrote: >> On Fri, 15 Oct 2010 17:02:07 +, Grant Edwards wrote: >> >>> On 2010-10-15, Steven D'Aprano >>> wrote: >>> >>>> In the Unix world, w

Re: EOF while scanning triple-quoted string literal

2010-10-15 Thread Martin Gregorie
e name, or a NULL byte. > > How do you create a file with a name that contains a NULL byte? Use a language or program that doesn't use null-terminated strings. Its quite easy in many BASICs, which often delimit strings by preceeding it with a with a byte count, and you hit Ctrl-SPA

Re: PEP 249 (database api) -- executemany() with iterable?

2010-10-14 Thread Martin Gregorie
eration since, after a crash, the table changes can always be recovered from a journal roll-forward. A good DBMS will do that automatically when its restarted. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: "Strong typing vs. strong testing"

2010-10-10 Thread Martin Gregorie
'rings of protection' which meant the OS could affect your code but you couldn't touch it and the OS in turn couldn't touch the hardware drivers etc. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Simple database explorer

2010-10-08 Thread Martin Gregorie
s an interface to unixODBC and a Data Manager utility that configures ODBC data sources. The documentation for the module is poor but the module and utility both work well once you've figured out how to use them. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: suggestions please "what should i watch for/guard against' in a file upload situation?"

2010-10-06 Thread Martin Gregorie
ut any suggestions or examples are most welcome :) > There's probably something I've forgotten, but that list should get you going. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Ugh! Python 3.1.x and MySQL

2010-09-10 Thread Martin Gregorie
consequently works with standard MySQL ODBC drivers. iODBC: http://www.iodbc.org/ is similar If you want something that's Windows compatible I can't help: I don't use either Windows or MySQL. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: [Tutor] Arguments from the command line

2010-09-09 Thread Martin Gregorie
area of COBOL is a mess. PL/I specifies the main procedure with an OPTIONS(MAIN) clause and declares the integer ARGC_ and pointer ARGV_ variables in it, which are used like their C equivalents. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Iterative vs. Recursive coding

2010-08-20 Thread Martin Gregorie
Rince, wash, repeat. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: A question to experienced Pythoneers

2010-08-20 Thread Martin Gregorie
hases are overrunning a sensible estimate or if the initial costing and estimation is underestimating the project size? -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Iterative vs. Recursive coding

2010-08-19 Thread Martin Gregorie
factorial.__doc__ for n in range(1,10): print "%d! = %d" % (n, r_factorial(n)) - In case you're wondering "print i_factorial.__doc__" prints the docstring out of the i_factorial subroutine. You probably haven't covered that yet, but run it and see.

Re: Python "why" questions

2010-08-17 Thread Martin Gregorie
ics to which he was replying) which > treat the step size as a true size, not a size and direction. The > direction is determined from the start and stop parameters. It's an > almost-reasonable design. That wasn't a made-up example: AFAICR and ignoring a missing semi-colon it w

Re: 79 chars or more?

2010-08-17 Thread Martin Gregorie
the top of your sig, i.e. use "-- ", not "--"? That way most news readers will automatically remove your sig when replying to your post. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Python "why" questions

2010-08-16 Thread Martin Gregorie
On Mon, 16 Aug 2010 12:33:51 +1200, Gregory Ewing wrote: > Ian Kelly wrote: >> On Fri, Aug 13, 2010 at 11:53 AM, Martin Gregorie >> wrote: > >>> real sample[-500:750]; > >> Ugh, no. The ability to change the minimum index is evil. > > Not alway

Re: Python "why" questions

2010-08-13 Thread Martin Gregorie
al sample[-500:750]; and Algol 68 went even further: flex [1:0] int count where the array bounds change dynamically with each assignment to 'count'. Iteration is supported by the lwb and upb operators which return the bounds of an array, so you can write: for i from l

Re: Why is python not written in C++ ?

2010-08-02 Thread Martin Gregorie
s of the programming language used. However, don't just listen to me: read the final report on Ariane 501 here: http://www.di.unito.it/~damiani/ariane5rep.html -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Why is there no platform independent way of clearing a terminal?

2010-07-28 Thread Martin Gregorie
e you an idea of how complex this is, I've re-implemented termcap in Java for my own purposes. It amounts to 1100 lines of fairly well spaced and commented Java or about 340 statements, which were estimated by counting lines containing semicolons. -- martin@ | Martin Gregorie gregorie. | Essex,

pyodbc problem

2010-07-27 Thread Martin Gregorie
o Linux, PostgreSQL, ODBC, C or Java. My rig and software: Linux: Fedora 12 Where I'm running Python and ODBC, Lenovo Thinkpad R61i: Core Duo. Fedora 10 Where PostgreSQL is installed, IBM NetVista: Pentium III. PostgreSQL: 8.3

Re: The Importance of Terminology's Quality

2008-09-02 Thread Martin Gregorie
fh00a_ff70m.jpg -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: The Importance of Terminology's Quality

2008-09-01 Thread Martin Gregorie
witch.html What you're talking is a flat handle on a SPST or DPST toggle switch. It is often called a paddle switch and mounted with the flats on the handle horizontal. Like this, but often with a longer handle: http://www.pixmania.co.uk/uk/uk/1382717/art/radioshack/spdt-panel-mount- pa

Re: The Importance of Terminology's Quality

2008-08-24 Thread Martin Gregorie
On Sat, 23 Aug 2008 21:22:05 -0400, John W Kennedy wrote: > Martin Gregorie wrote: >> On Sat, 23 Aug 2008 00:06:28 -0400, John W Kennedy wrote: >> >>> Martin Gregorie wrote: >>>> Not necessarily. An awful lot of CPU cycles were used before >>>>

Re: The Importance of Terminology's Quality

2008-08-23 Thread Martin Gregorie
On Sat, 23 Aug 2008 00:06:28 -0400, John W Kennedy wrote: > Martin Gregorie wrote: >> Not necessarily. An awful lot of CPU cycles were used before microcode >> was introduced. Mainframes and minis designed before about 1970 didn't >> use or need it > > No, most

Re: The Importance of Terminology's Quality

2008-08-22 Thread Martin Gregorie
3 clock cycles per instruction. Motorola 6800 and 6809 (no microcode or pipelines either, 1 byte fetch) average 4 - 5 cycles/instruction. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: The Importance of Terminology's Quality

2008-08-21 Thread Martin Gregorie
t a boot ROM became > available for the PDP-11 (as an expensive option!) -and only much later > still for the PDP-8 series (e.g., the MI8E for the PDP-8/E). > > - > Rob Warnock <[EMAIL PROTECTED]> > 627 26th Avenue http://rpw3.org/> S

Re: The Importance of Terminology's Quality

2008-08-18 Thread Martin Gregorie
the assembler > again. (SPS, the non-macro basic assembler, ran at about 70 lines a > minute, tops.) > Even a steam powered 1901 (3.6 uS for a half-word add IIRC) running a tape based assembler was faster than that. It could just about keep up with a 300 cpm card reader. -- martin@ | M

Re: The Importance of Terminology's Quality

2008-08-17 Thread Martin Gregorie
at >> that time -- but for general programming it was sheer horror. > > But the easiest machine language /ever/. What? Even easier than ICL 1900 PLAN or MC68000 assembler? That would be difficult to achieve. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: The Importance of Terminology's Quality

2008-07-22 Thread Martin Gregorie
not have a mechanism for declaring anonymous procedures. That, like the incorporation of machine code inserts, would have been a compiler-specific extension, so it is a terminological mistake to refer to it without specifying the implementing compiler. -- martin@ | Martin Gregorie gregorie. | org | Zappa fan & glider pilot -- http://mail.python.org/mailman/listinfo/python-list

Re: Portable general timestamp format, not 2038-limited

2007-07-11 Thread Martin Gregorie
Ilya Zakharevich wrote: > My point is that attributing something to SH due to it appearing in > ABHoT is like attributing it to you since it was mentioned in your > post... > OK, so who should it be attributed to? -- martin@ | Martin Gregorie gregorie. | Essex, UK org

Re: Portable general timestamp format, not 2038-limited

2007-07-11 Thread Martin Gregorie
Ilya Zakharevich wrote: > [A complimentary Cc of this posting was sent to > Martin Gregorie > <[EMAIL PROTECTED]>], who wrote in article <[EMAIL PROTECTED]>: >> Its in "A Short History of Time". Sorry I can't quote chapter or page, >> but a frien

Re: Portable general timestamp format, not 2038-limited

2007-07-10 Thread Martin Gregorie
ot recollect them related to SH. > Its in "A Short History of Time". Sorry I can't quote chapter or page, but a friend borrowed my copy and lent me Dawkins "Climbing Mount Improbable" before vanishing, never to be seen since. Not an equal exchange: I preferred ASHOT to CMI. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Portable general timestamp format, not 2038-limited

2007-07-03 Thread Martin Gregorie
number. BTW, be sure to distinguish Julian Day and Modified Julian Day (used by astronomers from the "Julian Date" that [used to] be used by IBM mainframes. The former is a day count but the latter is day within year (yyddd). JD and MJD are described in: http://tycho.usno.nav

Re: Portable general timestamp format, not 2038-limited

2007-07-01 Thread Martin Gregorie
Roedy Green wrote: > On Sun, 01 Jul 2007 17:47:36 +0100, Martin Gregorie > <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted > someone who said : > >> GPS time is UTC time and I'd assume the same is true for Loran. > > not according to this site that has

Re: Portable general timestamp format, not 2038-limited

2007-07-01 Thread Martin Gregorie
Roedy Green wrote: > On Tue, 26 Jun 2007 13:04:50 +0100, Martin Gregorie > <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted > someone who said : > >> TAI? Care to provide a reference? > > see http://mindprod.com/jgloss/tai.html > Thanks. Your list of N

Re: Portable general timestamp format, not 2038-limited

2007-07-01 Thread Martin Gregorie
UTC. Zulu is the international radio word for the letter Z. I've never seen Julian time used outside the world of IBM mainframes. I'd be interested to know who else uses it. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Date<->UNIX timestamp mapping (was Portable general timestamp format, not 2038-limited)

2007-06-26 Thread Martin Gregorie
Paul Rubin wrote: > Martin Gregorie <[EMAIL PROTECTED]> writes: >>> Same one already given: http://cr.yp.to/proto/utctai.html >> >> Nope - you referenced leap seconds, not TAI and not that URL > > Oh whoops, I thought I put that url further up in the thre

Re: Portable general timestamp format, not 2038-limited

2007-06-26 Thread Martin Gregorie
compared afterwards the errors in the traveling clocks agreed with theory within experimental error. See: http://hyperphysics.phy-astr.gsu.edu/hbase/relativ/airtim.html for more detail. This shows the clocks don't have to be moving at interplanetary speeds to be significantly affected.

Re: Portable general timestamp format, not 2038-limited

2007-06-26 Thread Martin Gregorie
Paul Rubin wrote: > Same one already given: http://cr.yp.to/proto/utctai.html Nope - you referenced leap seconds, not TAI and not that URL Thanks for the reference, though. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/pyt

Re: Portable general timestamp format, not 2038-limited

2007-06-26 Thread Martin Gregorie
Paul Rubin wrote: > Martin Gregorie <[EMAIL PROTECTED]> writes: >>>> pretend the leap seconds never happened, just as Java does. >>> Which leaves you about 30 seconds out by now - smelly. >> Easy solution: always read Zulu time directly from a recognized &g

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-06-26 Thread Martin Gregorie
d with every mouse click in case it was needed to record a macro. At best it might make macro recording tedious. At worst it could make the whole GUI unresponsive. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Portable general timestamp format, not 2038-limited

2007-06-25 Thread Martin Gregorie
eivers have serial interfaces. This is certainly accurate for financial transactions: the UK CHAPS inter-bank network has a Rugby MSF receiver in each bank's gateway computer and uses that for all timestamps. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-06-25 Thread Martin Gregorie
iving up and writing .BAT files or putting up with RSI. The problem was that it recorded keystrokes and mouse clicks. Even minor changes to the screen layout made it fail and the macros couldn't be edited or parameterised nor made to prompt for filenames, etc. You can do better with Gnome,

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-06-24 Thread Martin Gregorie
Twisted wrote: > On Jun 23, 10:36 am, Martin Gregorie <[EMAIL PROTECTED]> > wrote: > > Actually, what I prefer in (2D and 3D) visual design apps is the > ability to snap to some kind of grid/existing vertices, and to zoom in > close. Then small imprecisions in mouse

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-06-24 Thread Martin Gregorie
#x27;t before Win 95 appeared and they then spoilt the record by arbitrary and capricious menu changes as each version of MS Office appeared. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-06-23 Thread Martin Gregorie
s" that traverse menu levels without showing the menus, as long as items are selected correctly from each level. Many CAD systems approximate to this but I've yet to see a graphical desktop, IDE, or editor menu structure that came close. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: The Modernization of Emacs

2007-06-23 Thread Martin Gregorie
ait-mode black and white screen and a three button mouse. That was the first GUI I saw (next was an Apple Lisa in 1984). The PERQ was dead easy to use after about 5 minutes instruction. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: The Modernization of Emacs

2007-06-21 Thread Martin Gregorie
Bjorn Borud wrote: > [Martin Gregorie <[EMAIL PROTECTED]>] > | > | As for documentation, lets look at vi. Not a great editor, but every > | *nix variation has it installed and any fool can learn to use it in > | about 2 hours flat and it does at least have good pattern matchi

Re: The Modernization of Emacs

2007-06-21 Thread Martin Gregorie
I'd give long odds that Windows users who use editors other than Wordpad are using the one that came with whatever IDE they've installed, simply because integrated editors are much more common in Windows-only IDEs that they are on *nixen. My guess is that this is because the standar

Re: The Modernization of Emacs

2007-06-20 Thread Martin Gregorie
eady-wacky car with the two separate > throttles and adding, in a fit of quaint nostalgia, the need to > actually crank-start its engine. ;) > If you can't learn enough vi to get by with in half a morning you're probably well out of your depth here on comp.lang.java.programmer. O