🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #1015

Re: Back To CS Basics. Fuck AI

#1015
From: Blaine
Date: Sun, 18 Oct 2026 00:07
52 lines
3571 bytes
Lawrence D’Oliveiro wrote:
> On Sat, 17 Oct 2026 15:47:43 -0600, Blaine wrote:
> 
>> Lawrence D’Oliveiro wrote:
>>>
>>> On 17 Oct 2026 09:43:01 GMT, Stéphane CARPENTIER wrote:
>>>
>>>>   From what I saw, for a beginner's approach, python is easier than Java
>>>> or C++. Now when one starts to use python in the real life, the
>>>> complexity of python appears. Because that's the python way: things
>>>> works except when they stop to work.
>>>
>>> I haven’t encountered that. I have written some reasonably substantial
>>> Python code -- would this one <https://gitlab.com/ldo/qahirah> count?
>>> That’s over 8500 lines. And this <https://gitlab.com/ldo/dbussy>
>>> consists of 2 modules totalling over 10,000 lines.
>>
>> No wonder. The problem with counting by lines is you may come up with
>> 10,000, but if you took out whitespace it could be short as 102 lines.
> 
>      ldo@hypatia:dbussy> grep -cE '^$' dbussy.py ravel.py
>      dbussy.py:720
>      ravel.py:240
>      ldo@hypatia:dbussy> grep -cvE '^$' dbussy.py ravel.py
>      dbussy.py:6279
>      ravel.py:3483
> 
> Still close to 10,000 lines. So ... nope.
> 
>> To begin I know you should only import maybe at most 2 packages besides
>> sys and/or random.
> 
> Where do you get that idea from?
> 
>  From the abovementioned dbussy.py:
> 
>      import os
>      import builtins
>      import operator

Because I tricked you into thinking, "To begin" means "well here we go 
again." I intentionally made it obscure that I am instructing the 
beginner on this point. I am suggesting that someone "new" to Python 
shouldn't import very many packages, as they can overlap problematically.

-- 
Can you strip away so we may start again?
"There’s a switch and they don't
seem authentic or themselves. It
feels like I’m an unnecessary
body and it’s a waste of time to
even be there." -- Grim, playful Blaine.
Technical Details
Message-ID: <11b12jc$n0a6$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <18dee4b6cab427fa$865$2574533$802601b3@news.usenetexpress.com> <11atgth$3e59h$1@dont-email.me> <18df0ea174d534e0$1613$2650862$802601b3@news.usenetexpress.com> <11atlpr$3g55c$1@dont-email.me> <11au66n$3m5co$6@dont-email.me> <11aucit$3o8ih$3@dont-email.me> <6ad34325$0$3147$426a74cc@news.free.fr> <11b0m8k$iems$5@dont-email.me> <11b0qe7$kgm7$1@dont-email.me> <11b0vau$lsp3$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Blaine <cactus_DAC@yahoo.com>
Newsgroups: comp.os.linux.misc,comp.lang.python
Subject: Re: Back To CS Basics. Fuck AI
Date: Sat, 17 Oct 2026 18:07:08 -0600
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <11b12jc$n0a6$1@dont-email.me>
References: <18dee4b6cab427fa$865$2574533$802601b3@news.usenetexpress.com>
 <11atgth$3e59h$1@dont-email.me>
 <18df0ea174d534e0$1613$2650862$802601b3@news.usenetexpress.com>
 <11atlpr$3g55c$1@dont-email.me> <11au66n$3m5co$6@dont-email.me>
 <11aucit$3o8ih$3@dont-email.me> <6ad34325$0$3147$426a74cc@news.free.fr>
 <11b0m8k$iems$5@dont-email.me> <11b0qe7$kgm7$1@dont-email.me>
 <11b0vau$lsp3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 18 Oct 2026 00:07:09 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="753990"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+4OW+qhQLDBAYl+SiVb0eOAz5My5qhcvI="; posting-host="3b3d2a71a80a0d4907eb64f8f6d8f160"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101
 Firefox/140.0 SeaMonkey/2.53.24
Cancel-Lock: sha1:Ug3YY+GfFqM9H2WamDDKYKSJZV4= sha256:sY+WFbemw3PxAN2XEuwwPv0yVNXEZT0S5tDOi21AEYU=
	sha1:cH5DhaVft5byB9is3CmU+DjQyAk= sha256:1W8F1sqXvfgtomBewcDNQPXWy9TYs8tefON6OGq6QZ4=
In-Reply-To: <11b0vau$lsp3$1@dont-email.me>