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
>
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
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
"
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
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
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"
; 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.
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)
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
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
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
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:
>> [...]
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)
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
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
#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
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
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
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(
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..
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
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
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
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
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
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
? 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
I need some insightful examples of elastic search, using REGEX ...
And using REST.
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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 [
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
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
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
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
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
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
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
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
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
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,
>>>
>>>
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
.
`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
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
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
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
"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
. 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
201 - 252 of 252 matches
Mail list logo