Re: python instructor

2010-07-09 Thread Ed Keith
Where are you located? -EdK Ed Keith e_...@yahoo.com Blog: edkeith.blogspot.com --- On Fri, 7/9/10, Greg wrote: > From: Greg > Subject: python instructor > To: python-list@python.org > Date: Friday, July 9, 2010, 10:09 AM > We're looking for a first-rate python >

Re: Help choosing license for new projects

2010-07-13 Thread Ed Keith
has always bothered me because relinking without recompiling (even when dynamic linking) in C/C++ is a good way to crash a program. But this should not be a problem with Python. >   MIT license This one is good. >   Mozilla Public license 1.1 I avoid this one. >   New BSD Licens

Re: GNU Emacs Developement Inefficiency (commentary)

2010-07-17 Thread Keith Thompson
Emmy Noether writes: [98 lines deleted] The parent article was posted to comp.emacs and comp.lang.lisp. Why did you cross-post your followup to comp.lang.c, comp.lang.python, and comp.lang.scheme? -- Keith Thompson (The_Other_Keith) ks...@mib.org <http://www.ghoti.net/~kst> Nokia "

Re: How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?

2010-08-18 Thread Keith Thompson
on > of the "nouns" ? [...] Show me how this is relevant to comp.lang.c, comp.lang.c++, comp.theory, or comp.lang.python. Please trim the Newsgroups line. -- Keith Thompson (The_Other_Keith) ks...@mib.org <http://www.ghoti.net/~kst> Nokia "We must do something. This is some

Re: How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?

2010-08-19 Thread Keith Thompson
Standish P writes: > On Aug 18, 5:38 pm, Keith Thompson wrote: [...] >> Show me how this is relevant to comp.lang.c, comp.lang.c++, comp.theory, >> or comp.lang.python.  Please trim the Newsgroups line. > > provide a rigorous proof that people are more interested in

Re: SPAM

2009-09-08 Thread Keith Thompson
o a spam, step away from the keyboard until the feeling passes. -- Keith Thompson (The_Other_Keith) ks...@mib.org <http://www.ghoti.net/~kst> Nokia "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"

Re: Static typing, Python, D, DbC

2010-09-12 Thread Ed Keith
; the term is that it's a static verification technique, > marketing-speak > annotating subroutines with pre- and post- conditions that > can be > checked with Hoare logic.  Runtime checks wouldn't > qualify as that. Eiffel throws an exception when a contract is violated.

Re: "Strong typing vs. strong testing"

2010-09-28 Thread Keith Thompson
3, and 1 m^3/sec is exactly 13.7365022817792 kbarrels/day. (Please feel free to check my math.) That's admittedly a lot of digits, but there's no need for approximations (unless they're imposed by the numeric representation you're using). -- Keith Thompson (The_Other_Keith)

Re: "Strong typing vs. strong testing"

2010-09-28 Thread Keith Thompson
tively recently.) -- Keith Thompson (The_Other_Keith) ks...@mib.org <http://www.ghoti.net/~kst> Nokia "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister" -- http://mail.python.org/mailman/listinfo/python-list

Re: "Strong typing vs. strong testing"

2010-09-29 Thread Keith Thompson
Erik Max Francis writes: > Keith Thompson wrote: >> Erik Max Francis writes: >> [...] >>> >>> print c # floating point accuracy aside >>> 299792458.0 m/s >> >> Actually, the speed of light is exactly 299792458.0 m/s by >> defini

Re: "Strong typing vs. strong testing"

2010-09-29 Thread Keith Thompson
l set. I'm interested in minimizing the number of problems I >> run into during development, and the number of bugs that are in the >> finished product. My opinion is that static typed languages are >> better at this for large projects, for the reasons I stated in my

Re: "Strong typing vs. strong testing"

2010-09-29 Thread Keith Thompson
RG writes: > In article , > Keith Thompson wrote: > >> RG writes: >> > In article >> > <07f75df3-778d-4e3d-8aa0-fbd4bd108...@k22g2000prb.googlegroups.com>, >> > Squeamizh wrote: >> >> On Sep 29, 3:02 pm, RG wrote: >> [...]

Re: "Strong typing vs. strong testing"

2010-09-29 Thread Keith Thompson
f most CPUs. Here's another example: #include int maximum(int a, int b) { return a > b ? a : b; } int main(void) { double x = 1.8; printf("Max of %f and 1 is %d\n", x, maximum(x, 1)); return 0; } Output: Max of 1.80 and 1 is 1 -- Keith Thompson (The_Other_Keith)

Re: "Strong typing vs. strong testing"

2010-09-29 Thread Keith Thompson
RG writes: > In article , > Keith Thompson wrote: [...] >> Even here, maximum() did exactly what was asked of it. > > Of course. Computers always do only exactly what you ask of them. On > this view there is, by definition, no such thing as a bug, only > specificatio

Re: "Strong typing vs. strong testing"

2010-09-30 Thread Keith Thompson
incorrectly, but I wouldn't expect my compiler to warn me about it. If you're arguing that int maximum(int a, int b) { return a > b ? a : b; } is flawed because it's too easy to call it incorrectly, you're effectively arguing that it's not possible to

Re: "Strong typing vs. strong testing"

2010-09-30 Thread Keith Thompson
#x27;s better to use prototypes consistently than to figure out the rules for interactions between prototyped vs. non-prototyped function declarations. [...] -- Keith Thompson (The_Other_Keith) ks...@mib.org <http://www.ghoti.net/~kst> Nokia "We must do something. This is somethi

Re: "Strong typing vs. strong testing"

2010-09-30 Thread Keith Thompson
RG writes: > In article , > Keith Thompson wrote: >> RG writes: >> [...] >> > You can't have it both ways. Either I am calling it incorrectly, in >> > which case I should get a compiler error, or I am calling it correctly, >> > and I should

Re: "Strong typing vs. strong testing"

2010-09-30 Thread Keith Thompson
is: const double pi = 2.71828182845904523526; To a human reader, it's obviously either a mistake or deliberate obfuscation, but I'm not sure I'd *want* my compiler to warn me about it just because I named the object "pi" rather than "e". (And if I called it "x", even an intelligent human wouldn't know that it's wrong.) -- Keith Thompson (The_Other_Keith) ks...@mib.org <http://www.ghoti.net/~kst> Nokia "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister" -- http://mail.python.org/mailman/listinfo/python-list

Re: "Strong typing vs. strong testing"

2010-09-30 Thread Keith Thompson
Seebs writes: > On 2010-09-30, Keith Thompson wrote: >> Seebs writes: >>> On 2010-09-30, Paul Rubin wrote: >>>> int maximum(int a, int b); > >>>> int foo() { >>>> int (*barf)() = maximum; >>>> return barf(

Re: "Strong typing vs. strong testing"

2010-09-30 Thread Keith Thompson
RG writes: [...] > You're missing a lot of context. I'm not trying to criticize C, just to > refute a false claim that was made about it. Can you cite the article that made this false claim, and exactly what the false claim was? -- Keith Thompson (The_Other_Keith) ks..

Re: "Strong typing vs. strong testing"

2010-10-01 Thread Keith Thompson
sentence, and that's certainly correct. > >> Why do you consider the term "compile error" a "mandate to stop >> compiling"? > > Because that's what people normally mean -- compilation failed. At least for C, I'd say it refers to a syntax e

Re: "Strong typing vs. strong testing"

2010-10-01 Thread Keith Thompson
TheFlyingDutchman writes: > On Sep 30, 10:37 pm, RG wrote: >> In article <87tyl63cag@mail.geddis.org>, >>  Don Geddis wrote: >> > Keith Thompson wrote on Thu, 30 Sep 2010: >> > > RG writes: >> > >> You're missing a lot of con

Re: "Strong typing vs. strong testing"

2010-10-01 Thread Keith Thompson
entirely unreasonable; some programmers might prefer to write foo(1L) rather than foo(1), to make it clear that the argument being passed is of type long rather than int. I don't know whether gcc provides this level of control over which conversions it warns about, but again, that's a

Re: "Strong typing vs. strong testing"

2010-10-01 Thread Keith Thompson
x27;t picked up quickly by running with more warnings enabled. >> >>> This is the scenario discussed in this thread, a long is passed to >>> maximum without a compiler warning. >> >> The compiler didn't pass the wrong type, the user did. > > And the

Re: "Strong typing vs. strong testing"

2010-10-12 Thread Keith Thompson
s for it. Mathematicians could have chosen to set the full circumference to 1, for example, but then a lot of computations would contain additional multiplications and/or divisions by 2*pi. -- Keith Thompson (The_Other_Keith) ks...@mib.org <http://www.ghoti.net/~kst> Nokia "We must do some

Re: "Strong typing vs. strong testing"

2010-10-13 Thread Keith Thompson
27;t wrap my brain around > what it meant to square a second. > > Now that I think about it, I still can't. :-) Fuel economy can be measured in reciprocal acres (or reciprocal hectares if you prefer). miles/gallon or km/liter is distance / distance**3 --> distance**-2. -- Keith Th

Generating PDF file in Python

2010-10-26 Thread Ed Keith
? Are there other options I have overlooked? -EdK Ed Keith e_...@yahoo.com Blog: edkeith.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Elastic Search

2017-04-07 Thread Keith Anthony
I need some insightful examples of elastic search, using REGEX ... And using REST. -- https://mail.python.org/mailman/listinfo/python-list

FAQ?

2005-07-24 Thread Keith P. Boruff
Hello, Is there an FAQ available specific to this NG as I'm sure some of the list slicing questions I have have been asked before. Thanks, KPB -- http://mail.python.org/mailman/listinfo/python-list

Re: FAQ?

2005-07-24 Thread Keith P. Boruff
Michael Hoffman wrote: > Keith P. Boruff wrote: > >> Is there an FAQ available specific to this NG as I'm sure some of the >> list slicing questions I have have been asked before. > > > Try Google for . I tried and didn't find one. That's why I aske

Re: FAQ?

2005-07-24 Thread Keith P. Boruff
gene tani wrote: > Here's my trove of FAQ/Gotcha lists > > http://www.ferg.org/projects/python_gotchas.html > http://zephyrfalcon.org/labs/python_pitfalls.html > http://zephyrfalcon.org/labs/beginners_mistakes.html > > > http://www.onlamp.com/pub/a/python/2004/02/05/learn_python.html > http://ww

Re: Best IDE for Python?

2006-03-31 Thread Keith B. Perry
To me, it just doesn't behave the same way as Eclipse for java.  I have used the plug-in, and I usually use it on my home machine ( I am still a student).  For example, in Java eclipse, if you import a module like math, then if you want to use a math function, you just type math + period, and then

Re: Best IDE for Python?

2006-03-31 Thread Keith B. Perry
You are probably right, and I will definitely take a look at the starter manual.  Hopefully it also works well on classes that I create?  You got some nice docs there.   Thanks for the tip!  On 3/31/06, Fabio Zadrozny <[EMAIL PROTECTED]> wrote: Well, in pydev you surely can have code-completion on

Re: Scheme as a virtual machine?

2010-11-23 Thread Keith H Duggar
On Nov 22, 5:12 pm, Raffael Cavallaro wrote: > On 2010-11-22 11:25:34 -0500, scattered said: > > > And you don't think that [JH] could write a book about Haskell > > if he honestly came to think that it were a superior all-aroung > > language? > > Until he actually does, he has a financial interes

Re: Scheme as a virtual machine?

2010-11-23 Thread Keith H Duggar
On Nov 23, 10:34 am, Raffael Cavallaro wrote: > On 2010-11-23 10:08:12 -0500, Keith H Duggar said: > > On Nov 22, 5:12 pm, Raffael Cavallaro > > wrote: > > > On 2010-11-22 11:25:34 -0500, scattered said: > > > > > > > And you don't think that [

Re: "Strong typing vs. strong testing"

2010-10-06 Thread Keith H Duggar
On Sep 29, 9:01 pm, RG wrote: > That the problem is "elsewhere in the program" ought to be small > comfort.  But very well, try this instead: > > [...@mighty:~]$ cat foo.c > #include > > int maximum(int a, int b) { return a > b ? a : b; } > > int main() { >   long x = 8589934592; >   printf("Max

Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Keith Thompson via Python-list
The command line needs a space after the > "-m": No, the option and its argument can be bundled. "-mpip" is equivalent to "-m pip". (The space might make it clearer for human readers.) [...] -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com

Re: bring back nntp library to python3

2024-08-14 Thread Keith Thompson via Python-list
he cause of additional work in the recent past. Python only contains the client side of NNTP, so the tests connect to external news servers. The servers are sometimes unavailable, too slow, or do not work correctly over IPv6. The situation causes flaky test runs on buildbots. ""&q

Re: new here

2024-08-25 Thread Keith Thompson via Python-list
ermission, for years. The comp.lang.python newsgroup and the Python-list mailing list are bidirectionally gatewayed. Both are public. Why is that a problem for you? Whose permission do you think is needed? https://mail.python.org/mailman/listinfo/python-list -- Keith Thompson (The_Other_Keith) keith.s

Re: ListAdmin: Is list/archive working correctly?

2024-08-31 Thread Keith Thompson via Python-list
iscuss the exact rules? I suggest that those rules should be documented on <https://mail.python.org/mailman/listinfo/python-list>. -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Re: Process.start

2024-09-03 Thread Keith Thompson via Python-list
imagine that it would be even more difficult for readers whose first language is not English. You also indent your own new text, which is exactly the opposite of common Usenet conventions. (You've been doing this for a long time.) Please consider prioritizing your readers' convenience over whatever benefit you derive from your unconventional posting style. -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Re: Bug in 3.12.5

2024-09-20 Thread Keith Thompson via Python-list
Martin Nilsson writes: > The attached program doesn’t work in 3.12.5, but in 3.9 it worked. Attachments don't show up either on the mailing list or the newsgroup. Try again with the program inline in your post (if it's not too long). -- Keith Thompson (The_Other_Keith) ke

Re: Help with Streaming and Chunk Processing for Large JSON Data (60 GB) from Kenna API

2024-10-01 Thread Keith Thompson via Python-list
ase. So the input #16f is read as the integer 65535. Typo: You meant #16R, not #16f. -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Re: RE Version of OpenSSl ?

2025-02-09 Thread Keith Thompson via Python-list
ig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name VersionArchitecture Description +++--==-- ii libssl-dev:amd64 3.3.1-2ubuntu2 amd64Secure Sockets Layer toolkit - development files ``` then I don't understand why you'd get the "Python requires a OpenSSL 1.1.1 or newer" message. -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-17 Thread Keith Thompson via Python-list
Alan Gauld writes: > On 15/01/2025 00:41, Keith Thompson via Python-list wrote: >> Alan Gauld writes: >>> On 11/01/2025 14:28, Chris Green via Python-list wrote: >>>> I'm looking for Python packages that can help with text mode input, >>> >>>

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-17 Thread Keith Thompson via Python-list
al supports it, your current screen contents can be restored after the application finishes (curses enables the "alternate screen" and then restores the primary screen on exit). There don't seem to be a lot of good solutions for doing curses-like text manipulation without taking over th

Re: Version of OpenSSl ?

2025-02-09 Thread Keith Thompson via Python-list
. `dpkg -l libssl-dev` will tell you whether you have it. If you don't, `sudo apt-get install libssl-dev` will install it. -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Building CPython from source, stripping executable

2025-02-11 Thread Keith Thompson via Python-list
to the Makefile. I don't think this is a new issue in 3.14.0a5; that's just where I happened to run into it. -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Re: Pip installs to unexpected place

2025-04-15 Thread Keith Thompson via Python-list
venv's active script (with the ~ expanded to the path of his home directory). (I'm relatively new at this. Please let me know if I've gotten any of the details wrong.) [...] -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Re: Pip installs to unexpected place

2025-04-14 Thread Keith Thompson via Python-list
27;ll accidentally execute it rather than sourcing it. If you do that, it will probably set up the environment in a new shell process which then immediately terminates. -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com void Void(void) { Void(); } /* The recursive call of the vo

Re: backslash in triple quoted string

2025-05-12 Thread Keith Thompson via Python-list
"lie" means to you, but I suggest that it explains the harsh reaction to your initial statement. -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Re: backslash in triple quoted string

2025-05-12 Thread Keith Thompson via Python-list
. It makes the discussion easier to follow, especially for those of us who read the comp.lang.python Usenet newsgroup rather than the mailing list. I do not intend to reply further. -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

<    1   2   3