Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v9v8pr$2r6q2$2@dont-email.me>
Deutsch   English   Français   Italiano  
<v9v8pr$2r6q2$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Mon, 19 Aug 2024 13:03:23 +0200
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <v9v8pr$2r6q2$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <20240408075547.000061e8@gmail.com>
 <g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
 <uvbe3m$2cun7$1@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
 <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
 <way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
 <choices-20240413123957@ram.dialup.fu-berlin.de>
 <v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
 <20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
 <v9posc$1rpdj$1@dont-email.me> <v9pvoo$1sn55$1@dont-email.me>
 <v9r60h$2289h$2@dont-email.me> <v9sa91$2afht$1@dont-email.me>
 <v9tv8o$2iahp$1@dont-email.me> <v9uso3$2pdrg$2@dont-email.me>
 <v9v0n6$2q8h3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Aug 2024 13:03:23 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7f0f8cffd5f8b7dd36dcbeaaba75ce11";
	logging-data="2988866"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19LBB24V4kZnXQzqpHgZf0MCO177ripQsE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:FhCAP8TdV4t+Wxy2jHjtlA/l/eY=
Content-Language: en-US
In-Reply-To: <v9v0n6$2q8h3$1@dont-email.me>
Bytes: 4086

On 2024-08-19 10:45, Lawrence D'Oliveiro wrote:
> On Mon, 19 Aug 2024 09:37:39 +0200, Dmitry A. Kazakov wrote:
> 
>> The reason why Windows NT could no compete Linux on servers is
>> unbearable maintenance and being fat. Linux had a monolithic kernel. I
>> compiled it for each machine to include only drivers I needed. I did not
>> install X11 stuff. The result was twice leaner than Windows NT.
> 
> You don’t think the design of Windows NT contributed to that failure?

No. The design of Windows HAL was great. It is rather the business model 
Microsoft pursued.

>> On the other hand you still cannot have decent gaming under Linux.
> 
> Actually, you can. Look at the Steam Deck, which runs a purpose-built GUI
> for handheld gaming.

Well, handheld gaming to gaming is like masturbation to love. Sorry...

  Microsoft has been talking about bringing out a
> Windows “Handheld Mode” for about two years now, but still has nothing to
> ship.
> 
>>> On Sun, 18 Aug 2024 10:10:09 +0200, Dmitry A. Kazakov wrote:
>>>
>>>> Windows has a pipe object named and anonymous. No problem.
>>>
>>> One problem: you can’t use them with poll/select calls.
>>
>> You can. See overlapped I/O.
> 
> I said “poll/select calls”. Do you not know what those are? On Windows,
> they work with sockets, but not with pipes. Or even ordinary files. So
> unlike *nix systems, you have to keep in mind the different kinds of files
> you might be working with.

Again. It is called overlapped I/O. You can start multiple 
*asynchronous* I/O operations from a thread. It can be done on any sets 
of file handles. When an I/O event happens on a handle the corresponding 
event gets signaled. select() behavior is achieved by 
WaitForMultipleObjects that waits for multiple events. Then you check 
the overlapped results. If you never wait and only check the overlapped 
results that would be polling.

>>> And single drive letters?
>>
>> They are dozens characters long actually, if you mean the device names.
> 
> Drive names are only single letters. You’re not talking about reserved
> file names, are you?

No, I am talking about proper file paths under Windows. Letters is a DOS 
layer on top of it. E.g. see QueryDosDeviceW call.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de