On 2023-10-22 7:35 PM, Dieter Maurer via Python-list wrote:
The web server in Python's runtime library is fairly simple,
focusing only on the HTTP requirements.
You might want additional things for an HTTP server
exposed on the internet which should potentially handle high trafic:
e.g.
* det
On Wed, 25 Oct 2023 at 19:00, Frank Millman via Python-list
wrote:
> 2. Instead of running as a stand-alone server, run my app as a
> reverse-proxy using Nginx. I tested this a few years ago using Apache,
> and it 'just worked', so I am fairly sure that it will work with Nginx
> as well. Nginx can
A post with useful ideas - - - - thanks (it generates some questions!
interleaved)
On Tue, Oct 24, 2023 at 8:35 PM Chris Angelico via Python-list
wrote:
>
> On Wed, 25 Oct 2023 at 12:11, Thomas Passin via Python-list
> wrote:
> > This doesn't mean that no program can ever be proven to halt, nor
On Tue, Oct 24, 2023 at 8:43 PM Chris Angelico via Python-list
wrote:
>
> On Wed, 25 Oct 2023 at 12:20, AVI GROSS via Python-list
> wrote:
> > Consider an example of bit rot. I mean what if your CPU or hard disk has a
> > location where you can write a byte and read it back multiple times and
>
On Tue, Oct 24, 2023 at 9:36 PM AVI GROSS via Python-list
wrote:
>
> Agreed, Chris. There are many methods way better than the sort of RAID
> architecture I supplied as AN EXAMPLE easy to understand. But even so, if a
> hard disk or memory chip is fried or a nuclear bomb takes out all servers in
>
On Wed, 25 Oct 2023 at 21:46, o1bigtenor wrote:
> > 2. Catch the failure as you save. We have a lot of tools that can help
> > you to spot bugs.
>
> Tools like this for python please.
Various ones. Type checkers like MyPy fall into this category if you
set your system up to run them when you save
On Wed, 25 Oct 2023 at 21:53, o1bigtenor wrote:
>
> Hmm - - - - now how can I combine 'Hamming codes'
> and a raid array?
>
> TIA
Normally you wouldn't. But let's say you're worried that a file might
get randomly damaged. (I don't think single-bit errors are really a
significant issue wit
o1bigtenor wrote at 2023-10-24 07:22 -0500:
> ...
>Is there a way to verify that a program is going to do what it is
>supposed to do even
>before all the hardware has been assembled and installed and tested?
Others have already noted that "verify" is a very strong aim.
There are different kinds o
Frank Millman wrote at 2023-10-25 09:57 +0200:
> ...
>Based on this, I am considering the following -
>
>1. Replace my HTTP handler with Uvicorn. Functionality should be the
>same, but performance should be improved.
>
>2. Instead of running as a stand-alone server, run my app as a
>reverse-proxy u
On Wed, Oct 25, 2023 at 6:25 AM Chris Angelico via Python-list
wrote:
>
> On Wed, 25 Oct 2023 at 21:53, o1bigtenor wrote:
> >
> > Hmm - - - - now how can I combine 'Hamming codes'
> > and a raid array?
> >
> > TIA
>
> Normally you wouldn't. But let's say you're worried that a file might
>
On Wed, Oct 25, 2023 at 6:24 AM Dieter Maurer wrote:
>
> o1bigtenor wrote at 2023-10-24 07:22 -0500:
> > ...
> >Is there a way to verify that a program is going to do what it is
> >supposed to do even
> >before all the hardware has been assembled and installed and tested?
>
> Others have already n
On Wed, 25 Oct 2023 at 22:46, o1bigtenor via Python-list
wrote:
>
> On Wed, Oct 25, 2023 at 6:24 AM Dieter Maurer wrote:
> >
> > o1bigtenor wrote at 2023-10-24 07:22 -0500:
> > > ...
> > >Is there a way to verify that a program is going to do what it is
> > >supposed to do even
> > >before all th
On Wed, Oct 25, 2023 at 6:20 AM Chris Angelico via Python-list
wrote:
>
> On Wed, 25 Oct 2023 at 21:46, o1bigtenor wrote:
> > > 2. Catch the failure as you save. We have a lot of tools that can help
> > > you to spot bugs.
> >
> > Tools like this for python please.
>
> Various ones. Type checkers
o1bigtenor wrote at 2023-10-25 06:44 -0500:
>On Wed, Oct 25, 2023 at 6:24?AM Dieter Maurer wrote:
> ...
>> There are different kinds of errors.
>>
>> Some can be avoided by using an integrated development environment
>> (e.g. misspellings, type mismatches, ...).
>
>Haven't heard of a python IDE -
On Wed, Oct 25, 2023 at 7:00 AM Dieter Maurer wrote:
>
> o1bigtenor wrote at 2023-10-25 06:44 -0500:
> >On Wed, Oct 25, 2023 at 6:24?AM Dieter Maurer wrote:
> > ...
> >> There are different kinds of errors.
> >>
> >> Some can be avoided by using an integrated development environment
> >> (e.g. mi
o1bigtenor wrote at 2023-10-25 07:50 -0500:
>> There are several others,
>> e.g. "ECLIPSE" can be used for Python development.
>
>Is 'Eclipse' a Windows oriented IDE?
No.
==> "https://en.wikipedia.org/wiki/Eclipse_(software)"
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Oct 25, 2023 at 7:56 AM Dieter Maurer wrote:
>
> o1bigtenor wrote at 2023-10-25 07:50 -0500:
> >> There are several others,
> >> e.g. "ECLIPSE" can be used for Python development.
> >
> >Is 'Eclipse' a Windows oriented IDE?
>
> No.
> ==> "https://en.wikipedia.org/wiki/Eclipse_(software)"
On 2023-10-25, o1bigtenor via Python-list wrote:
> Haven't heard of a python IDE - - - doesn't mean that there isn't such - -
> just that I haven't heard of such. Is there a python IDE?
Seriously? Now you're just trolling.
google.com/search?q=python+ide&oq=python+ide
--
Grant
--
https://mail
On 10/25/2023 9:21 AM, Thomas Passin wrote:
On 10/25/2023 8:50 AM, o1bigtenor via Python-list wrote:
On Wed, Oct 25, 2023 at 7:00 AM Dieter Maurer
wrote:
o1bigtenor wrote at 2023-10-25 06:44 -0500:
On Wed, Oct 25, 2023 at 6:24?AM Dieter Maurer
wrote:
...
There are different kinds of error
o1bigtenor wrote at 2023-10-25 08:29 -0500:
> ...
>It would appear that something has changed.
>
>Went to the Eclipse download page, downloaded and verified (using sha-512).
>Expanded software to # opt .
>There is absolutely NO mention of anything python - - - java, c and
>its permutations,
>'scien
On 2023-10-24, o1bigtenor wrote:
> On Tue, Oct 24, 2023 at 5:28 PM Rob Cliffe wrote:
>>
>> There is no general way to prove that a program is "correct". Or even
>> whether it will terminate or loop endlessly.
>> [...]
>> When you come to run your program "for real", and you have to
>> troubleshoo
On 24/10/2023 17.50, Thomas Passin wrote:
The programming team for the Apollo moon mission developed a system which,>
if you would write your requirements in a certain way, could generate correct
C code for them.
Since the last Apollo mission was in 1972, when C was first being developed,
rsutton wrote:
> Hi all,
> I am fairly new to python (ie < 2 years). I have a question about
> pylint. I am running on windows 10/11, python 3.10.11.
[...]
> if p.returncode >= 8:
> raise Exception(f'Invalid result: {p.returncode}')
>
> It actually runs fine. But pylint is
On 24/10/2023 18.15, o1bigtenor wrote:
What is interesting about this is the absolute certainty that it is impossible
to program so that that program is provably correct.
Not entirely true. If I was to write a program to calculate Fibonacci
numbers, or echo back user input, that program could
Hi all,
I am fairly new to python (ie < 2 years). I have a question about
pylint. I am running on windows 10/11, python 3.10.11.
Here's what I'm trying to do:
I am using robocopy to to copy a set of files to/from a LAN location and
my desktop(s). Here is the partial code:
p = subprocess.r
On 10/25/23 05:51, o1bigtenor via Python-list wrote:
> Looks like I have another area to investigate. (grin!)
> Any suggestions?
Seems to me you're trying to run before you have learned to walk.
Slow down, go to the beginning and just learn python, write some code,
see if it runs. Go through the
I am replying to this which is heading into another topic:
"(Tongue in cheek) Except doesn't one make more when software in
hidden in an unreadable state? (That forces the user to go back to the
original dev or group - - yes?)"
Like some of us, I come from a time when much software was compi
Hello!
I'm pleased to announce version 3.10.3, the 3rd bugfix release of branch
3.10 of SQLObject.
What's new in SQLObject
===
The contributors for this release are
Igor Yudytskiy and shuffle (github.com/shuffleyxf).
Thanks!
Bug fixes
-
* Relaxed aliasing in ``SQLR
On 10/25/2023 11:06 AM, Stefan Ram wrote:
r...@zedat.fu-berlin.de (Stefan Ram) writes:
outer quotation marks) prints some prominent exception types. After
manually removing those that do not seem to apply, I am left with:
"AssertionError",
"ChildProcessError",
...
"Manually removing" above
On 25/10/2023 05.45, o1bigtenor wrote:
On Tue, Oct 24, 2023 at 8:35 PM Chris Angelico via Python-list
wrote:
3. Catch the failure before you commit and push. Unit tests are great for this.
Where might I find such please.
You don't "find" unit tests; you write them. A unit test tests
a spe
On 25/10/2023 12:44, o1bigtenor via Python-list wrote:
> Haven't heard of a python IDE - - - doesn't mean that there isn't such - -
There are literally dozens with varying degrees of smartness.
The big 4 all have Python plugins/environments:
Eclipse, Netbeans, VisualStudio, IntelliJ
And of cours
On 10/25/2023 8:50 AM, o1bigtenor via Python-list wrote:
On Wed, Oct 25, 2023 at 7:00 AM Dieter Maurer wrote:
o1bigtenor wrote at 2023-10-25 06:44 -0500:
On Wed, Oct 25, 2023 at 6:24?AM Dieter Maurer wrote:
...
There are different kinds of errors.
Some can be avoided by using an integrated
On Wed, Oct 25 2023 at 11:49:12 AM, rsutton wrote:
> On 10/25/2023 11:06 AM, Stefan Ram wrote:
>> r...@zedat.fu-berlin.de (Stefan Ram) writes:
>>> outer quotation marks) prints some prominent exception types. After
>>> manually removing those that do not seem to apply, I am left with:
>>> "Asserti
On 10/25/2023 9:20 AM, Michael F. Stemper via Python-list wrote:
On 24/10/2023 17.50, Thomas Passin wrote:
The programming team for the Apollo moon mission developed a system
which,> if you would write your requirements in a certain way, could
generate correct
C code for them.
Since the l
On 10/25/2023 11:49 AM, rsutton via Python-list wrote:
On 10/25/2023 11:06 AM, Stefan Ram wrote:
r...@zedat.fu-berlin.de (Stefan Ram) writes:
outer quotation marks) prints some prominent exception types. After
manually removing those that do not seem to apply, I am left with:
"AssertionError",
On 2023-10-25, o1bigtenor wrote:
> On Wed, Oct 25, 2023 at 7:00 AM Dieter Maurer wrote:
>> [...]
>> There are several others,
>> e.g. "ECLIPSE" can be used for Python development.
>
> Is 'Eclipse' a Windows oriented IDE?
> (Having a hard time finding linux related information on the
> website.)
Does this link help? It seems to have a Linux package here.
[1]Eclipse Packages | The
Eclipse Foundation - home to
a global community, the
Eclipse IDE, Jakarta EE and [2]favicon.ico
over 350 open source
projects...
eclipse.org
Sent from my iPhone
On Oct 25, 2023
Just want to add that even when you can prove that an algorithm works
absolutely positively, it will often fail on our every finite computers.
Consider families of algorithms that do hill climbing to find a minimum and
maximum and are guaranteed to get ever closer to a solution given infinite
t
On 26/10/2023 04.49, rsutton via Python-list wrote:
On 10/25/2023 11:06 AM, Stefan Ram wrote:
r...@zedat.fu-berlin.de (Stefan Ram) writes:
outer quotation marks) prints some prominent exception types. After
...
"Manually removing" above was meant to be a fast first pass,
where I only e
39 matches
Mail list logo