Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"It might help if we ran the MBA's out of Washington." -- Admiral Grace Hopper


computers / comp.os.linux.advocacy / Gentoo Emerge Report 2024-01-06

SubjectAuthor
* Gentoo Emerge Report 2024-01-06Farley Flud
+* Re: Gentoo Emerge Report 2024-01-06Lawrence D'Oliveiro
|`* Re: Python Emerge Report 2024-01-06DFS
| `* Re: Python Emerge Report 2024-01-06Lawrence D'Oliveiro
|  +- Re: Python Emerge Report 2024-01-06rbowman
|  `- Re: Python Emerge Report 2024-01-06DFS
+* Re: Gentoo Emerge Report 2024-01-06Stéphane CARPENTIER
|`* Re: Gentoo Emerge Report 2024-01-06Farley Flud
| +* Re: Gentoo Emerge Report 2024-01-06rbowman
| |`* Re: Gentoo Emerge Report 2024-01-06DFS
| | `* Re: Gentoo Emerge Report 2024-01-06rbowman
| |  `* Re: Gentoo Emerge Report 2024-01-06Chris Ahlstrom
| |   +* Re: Gentoo Emerge Report 2024-01-06Joel
| |   |`* Re: Gentoo Emerge Report 2024-01-06DFS
| |   | +* Re: Gentoo Emerge Report 2024-01-06Joel
| |   | |+* Re: Gentoo Emerge Report 2024-01-06Chris Ahlstrom
| |   | ||+- Re: Gentoo Emerge Report 2024-01-06rbowman
| |   | ||`- Re: Gentoo Emerge Report 2024-01-06DFS
| |   | |+* Re: Gentoo Emerge Report 2024-01-06Lawrence D'Oliveiro
| |   | ||+- Re: Gentoo Emerge Report 2024-01-06Farley Flud
| |   | ||`- Re: Gentoo Emerge Report 2024-01-06Chris Ahlstrom
| |   | |`* Re: Gentoo Emerge Report 2024-01-06DFS
| |   | | +* Re: Gentoo Emerge Report 2024-01-06Farley Flud
| |   | | |+* Re: Gentoo Emerge Report 2024-01-06DFS
| |   | | ||`* Re: Gentoo Emerge Report 2024-01-06rbowman
| |   | | || `- Re: Gentoo Emerge Report 2024-01-06DFS
| |   | | |+- Re: Gentoo Emerge Report 2024-01-06rbowman
| |   | | |+* Re: Gentoo Emerge Report 2024-01-06Chris Ahlstrom
| |   | | ||+* Re: Gentoo Emerge Report 2024-01-06Farley Flud
| |   | | |||`* Re: Gentoo Emerge Report 2024-01-06Physfitfreak
| |   | | ||| `* Re: Gentoo Emerge Report 2024-01-06rbowman
| |   | | |||  `* Re: Gentoo Emerge Report 2024-01-06Physfitfreak
| |   | | |||   `* Re: Gentoo Emerge Report 2024-01-06Farley Flud
| |   | | |||    +* Re: Gentoo Emerge Report 2024-01-06rbowman
| |   | | |||    |`* Re: Gentoo Emerge Report 2024-01-06RabidPedagog
| |   | | |||    | +- Re: Gentoo Emerge Report 2024-01-06rbowman
| |   | | |||    | `- Re: Gentoo Emerge Report 2024-01-06candycanearter07
| |   | | |||    +* Re: Gentoo Emerge Report 2024-01-06DFS
| |   | | |||    |+* Re: Gentoo Emerge Report 2024-01-06Joel
| |   | | |||    ||`* Re: Gentoo Emerge Report 2024-01-06Chris Ahlstrom
| |   | | |||    || `- Re: Gentoo Emerge Report 2024-01-06Joel
| |   | | |||    |+- Re: Gentoo Emerge Report 2024-01-06RabidPedagog
| |   | | |||    |+* Re: Gentoo Emerge Report 2024-01-06rbowman
| |   | | |||    ||`* Re: Gentoo Emerge Report 2024-01-06DFS
| |   | | |||    || +- Re: Gentoo Emerge Report 2024-01-06Physfitfreak
| |   | | |||    || `- Re: Gentoo Emerge Report 2024-01-06rbowman
| |   | | |||    |`* Re: Gentoo Emerge Report 2024-01-06Stéphane CARPENTIER
| |   | | |||    | `* Re: Gentoo Emerge Report 2024-01-06rbowman
| |   | | |||    |  `- Re: Gentoo Emerge Report 2024-01-06Chris Ahlstrom
| |   | | |||    `- Re: Gentoo Emerge Report 2024-01-06Physfitfreak
| |   | | ||`* Re: Gentoo Emerge Report 2024-01-06chrisv
| |   | | || `- Re: Gentoo Emerge Report 2024-01-06DFS
| |   | | |`- Re: Gentoo Emerge Report 2024-01-06DFS
| |   | | `- Re: Gentoo Emerge Report 2024-01-06Joel
| |   | `- Re: Gentoo Emerge Report 2024-01-06rbowman
| |   `- Re: Gentoo Emerge Report 2024-01-06rbowman
| `- Re: Gentoo Emerge Report 2024-01-06Physfitfreak
`- Re: Python Emerge Report 2024-01-06DFS

Pages:123
Gentoo Emerge Report 2024-01-06

<17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7190&group=comp.os.linux.advocacy#7190

  copy link   Newsgroups: comp.os.linux.advocacy
From: ff@linux.rocks (Farley Flud)
Subject: Gentoo Emerge Report 2024-01-06
Newsgroups: comp.os.linux.advocacy
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 50
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sat, 06 Jan 2024 14:08:21 +0000
Nntp-Posting-Date: Sat, 06 Jan 2024 14:08:21 +0000
X-Received-Bytes: 1626
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Message-Id: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
 by: Farley Flud - Sat, 6 Jan 2024 14:08 UTC

This lovely morning, my lovely and incomparable Gentoo machine automagically
downloaded, configured, compiled, and installed, all according to my strict
specifications, the following software packages:

portage
dev-ruby/reline
'=dev-lang/python-3.12.1_p1'
itstool
'=qtxml-5.15.12'
'=qtnetwork-5.15.12'
'=qtconcurrent-5.15.12'
'=linguist-tools-5.15.12:5'
qpdf
hatch-fancy-pypi-readme
'=qtgui-5.15.12'
netpbm
'=qtwidgets-5.15.12'
'=qtmultimedia-5.15.12'
'=qtopengl-5.15.12'
'=qtprintsupport-5.15.12'
'=qtsvg-5.15.12

Note the python version 12. Now I have FOUR separate and distinct python
versions on my system:

python-2.7.18
python-3.8.18
python-3.11.7
python-3.12.1

Holy fuckin' moley! What a fuckin' clusterfuck!

Note also the python package: hatch-fancy-pypi-readme.

What the fuckin' fuck? Who would ever need that cockamamie
load of python malarkey?

Also, the whole friggin' QT system (or only the parts that _I_
want) was updated.

How much time was required to accomplish this highly practical
act of inimitable magic?

Shoot! I stood up to scratch my testicles and when I sat back
down is was complete.

Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!

Gentoo Linux. It serves only the Big Boys.

Re: Gentoo Emerge Report 2024-01-06

<unddn2$vukj$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7211&group=comp.os.linux.advocacy#7211

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Date: Sun, 7 Jan 2024 05:44:02 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <unddn2$vukj$1@dont-email.me>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 7 Jan 2024 05:44:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0196cb45c2cd961d8949b0bb3a76fa46";
logging-data="1047187"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HnF090IM/7jGWMayVanO2"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:RISPujzfNr5pNKJ2Fe+GfmFpjlU=
 by: Lawrence D'Oliv - Sun, 7 Jan 2024 05:44 UTC

On Sat, 06 Jan 2024 14:08:21 +0000, Farley Flud wrote:

> Now I have FOUR separate and distinct
> python versions on my system:
>
> python-2.7.18
> python-3.8.18
> python-3.11.7
> python-3.12.1

I have had more than that. Very handy to be able to have multiple versions
installed side by side, so I can test a library I write to ensure it works
properly with a suitable range of versions.

Can you do this on M****s*ft W**d*ws? No.

Re: Gentoo Emerge Report 2024-01-06

<659a7a70$0$2574$426a74cc@news.free.fr>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7219&group=comp.os.linux.advocacy#7219

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!news.nntp4.net!news.gegeweb.eu!gegeweb.org!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed3-b.proxad.net!nnrp3-2.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: Gentoo Emerge Report 2024-01-06
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
Organization: Mulots' Killer
User-Agent: slrn/pre1.0.4-9 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Date: 07 Jan 2024 10:18:24 GMT
Lines: 31
Message-ID: <659a7a70$0$2574$426a74cc@news.free.fr>
NNTP-Posting-Date: 07 Jan 2024 11:18:24 CET
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1704622704 news-2.free.fr 2574 78.201.248.7:39920
X-Complaints-To: abuse@proxad.net
 by: Stéphane CARPENTIER - Sun, 7 Jan 2024 10:18 UTC

Le 06-01-2024, Farley Flud <ff@linux.rocks> a écrit :
> Note the python version 12. Now I have FOUR separate and distinct python
> versions on my system:
>
> python-2.7.18
> python-3.8.18
> python-3.11.7
> python-3.12.1
>
> Holy fuckin' moley! What a fuckin' clusterfuck!

Yes, it's really funny to read. Now, you just proved how incompetent you
are. In another message you said that on your machine python was used
only to pretty print the install messages. So now, you have to choose:
- either you are unable to clean your computer.
- either you don't know what's running on your computer and why.
Note: I'm claiming only that one of them must be true, both can be true
at the same time.

I have only one version of python, so clearly Linux can run without all
those versions. You rely more heavily on python than me, you should
choose your claims with care.

> What the fuckin' fuck? Who would ever need that cockamamie
> load of python malarkey?

Obviously: you.

--
Si vous avez du temps à perdre :
https://scarpet42.gitlab.io

Re: Gentoo Emerge Report 2024-01-06

<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7223&group=comp.os.linux.advocacy#7223

  copy link   Newsgroups: comp.os.linux.advocacy
From: ff@linux.rocks (Farley Flud)
Subject: Re: Gentoo Emerge Report 2024-01-06
Newsgroups: comp.os.linux.advocacy
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com> <659a7a70$0$2574$426a74cc@news.free.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 52
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sun, 07 Jan 2024 12:29:26 +0000
Nntp-Posting-Date: Sun, 07 Jan 2024 12:29:26 +0000
X-Received-Bytes: 2039
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Message-Id: <17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
 by: Farley Flud - Sun, 7 Jan 2024 12:29 UTC

On 07 Jan 2024 10:18:24 GMT, Stéphane CARPENTIER wrote:

>>
>> python-2.7.18
>> python-3.8.18
>> python-3.11.7
>> python-3.12.1
>>
>
> I have only one version of python, so clearly Linux can run without all
> those versions.
>

Wrong again, Carpenter.

If I remove any of those python versions then certain programs will
not run. They are all necessary.

That's the point I am making. Python is such a fucked up language
that some software will need to be re-written whenever a new Python
version is released.

But many software developers don't want to waste their time
re-writing their programs for each new Python upgrade. Therefore,
any comprehensive GNU/Linux system must contain several different
Python versions.

You don't know this, Carpenter, because you are NOT a programmer.
You are only a simple, stupid user of some lame, Ubuntu-derived,
junk Linux distro. IOW, STFU.

For example, even though python-2.7 is now declared obsolete,
the package "jbig2enc" requires python-2.7 or else it will
not run:

https://github.com/agl/jbig2enc

Check the source code, Carpenter (if you can). The highly
important utility "pdf.py" invokes python-2.7.

Apparently, the contributors to jbig2enc don't want to waste
time re-writing the code to use a new python version.

Why don't you contribute a patch, Carpenter? Huh? Why not?
You have a big, fat mouth when it comes to criticism. Why
don't you put your "expertise" to work for the jbig2enc
project?

We all know the answer.

Ha, ha, ha, ha, ha, ha!

Re: Python Emerge Report 2024-01-06

<jezmN.143783$p%Mb.118730@fx15.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7228&group=comp.os.linux.advocacy#7228

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: Python Emerge Report 2024-01-06
Newsgroups: comp.os.linux.advocacy
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<unddn2$vukj$1@dont-email.me>
Content-Language: en-US
From: nospam@dfs.com (DFS)
In-Reply-To: <unddn2$vukj$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 22
Message-ID: <jezmN.143783$p%Mb.118730@fx15.iad>
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Sun, 07 Jan 2024 15:15:27 UTC
Organization: blocknews - www.blocknews.net
Date: Sun, 7 Jan 2024 10:15:30 -0500
X-Received-Bytes: 1410
 by: DFS - Sun, 7 Jan 2024 15:15 UTC

On 1/7/2024 12:44 AM, Lawrence D'Oliveiro wrote:
> On Sat, 06 Jan 2024 14:08:21 +0000, Farley Flud wrote:
>
>> Now I have FOUR separate and distinct
>> python versions on my system:
>>
>> python-2.7.18
>> python-3.8.18
>> python-3.11.7
>> python-3.12.1
>
> I have had more than that. Very handy to be able to have multiple versions
> installed side by side, so I can test a library I write to ensure it works
> properly with a suitable range of versions.
>
> Can you do this on M****s*ft W**d*ws? No.

I've done it for years on Windows 10 and 11 (with 2 python versions).

https://www.c-sharpcorner.com/article/how-to-manage-multiple-versions-of-python-on-windows-11/

Re: Python Emerge Report 2024-01-06

<1CzmN.143785$p%Mb.51708@fx15.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7235&group=comp.os.linux.advocacy#7235

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
From: nospam@dfs.com (DFS)
Subject: Re: Python Emerge Report 2024-01-06
Newsgroups: comp.os.linux.advocacy
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
Content-Language: en-US
In-Reply-To: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 79
Message-ID: <1CzmN.143785$p%Mb.51708@fx15.iad>
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Sun, 07 Jan 2024 15:40:45 UTC
Organization: blocknews - www.blocknews.net
Date: Sun, 7 Jan 2024 10:40:48 -0500
X-Received-Bytes: 2512
 by: DFS - Sun, 7 Jan 2024 15:40 UTC

On 1/6/2024 9:08 AM, Larry Piet wrote:

> This lovely morning, my lovely and incomparable

Python-administered

> Gentoo machine automagically downloaded, configured, compiled, and installed,

It seems like magic to a non-programmer like you, but it's really just
Python programming.

> all according to my strict
> specifications, the following software packages:
>
> portage
> dev-ruby/reline
> '=dev-lang/python-3.12.1_p1'
> itstool
> '=qtxml-5.15.12'
> '=qtnetwork-5.15.12'
> '=qtconcurrent-5.15.12'
> '=linguist-tools-5.15.12:5'
> qpdf
> hatch-fancy-pypi-readme
> '=qtgui-5.15.12'
> netpbm
> '=qtwidgets-5.15.12'
> '=qtmultimedia-5.15.12'
> '=qtopengl-5.15.12'
> '=qtprintsupport-5.15.12'
> '=qtsvg-5.15.12

Why can't the hobbyist developers alphabetize the list of packages?

> Note the python version 12. Now I have FOUR separate and distinct python
> versions on my system:
>
> python-2.7.18
> python-3.8.18
> python-3.11.7
> python-3.12.1

And you can't write a lick of code in any of them.

> Holy fuckin' moley! What a fuckin' clusterfuck!
>
> Note also the python package: hatch-fancy-pypi-readme.
>
> What the fuckin' fuck? Who would ever need that cockamamie
> load of python malarkey?

Your Gentoo crapbox of course.

> Also, the whole friggin' QT system (or only the parts that _I_
> want) was updated.
>
> How much time was required to accomplish this highly practical
> act of inimitable magic?
>
> Shoot! I stood up to scratch my testicles and when I sat back
> down is was complete.

Quit lying, Ken: you don't have testicles.

> Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!
>
> Gentoo Linux. It serves only the Big Boys.

Tinkertime toys for tinkertime boys

Re: Python Emerge Report 2024-01-06

<unetea$168e6$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7256&group=comp.os.linux.advocacy#7256

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python Emerge Report 2024-01-06
Date: Sun, 7 Jan 2024 19:18:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <unetea$168e6$1@dont-email.me>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<unddn2$vukj$1@dont-email.me> <jezmN.143783$p%Mb.118730@fx15.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 7 Jan 2024 19:18:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0196cb45c2cd961d8949b0bb3a76fa46";
logging-data="1253830"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GfB80zdrEwWGBe/mxJ9ma"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:pOtFtDXbo0XdgOKfd5lyzOLsUNE=
 by: Lawrence D'Oliv - Sun, 7 Jan 2024 19:18 UTC

On Sun, 7 Jan 2024 10:15:30 -0500, DFS wrote:

> On 1/7/2024 12:44 AM, Lawrence D'Oliveiro wrote:
>> On Sat, 06 Jan 2024 14:08:21 +0000, Farley Flud wrote:
>>
>>> Now I have FOUR separate and distinct python versions on my system:
>>>
>>> python-2.7.18 python-3.8.18 python-3.11.7 python-3.12.1
>>
>> I have had more than that. Very handy to be able to have multiple
>> versions installed side by side, so I can test a library I write to
>> ensure it works properly with a suitable range of versions.
>>
>> Can you do this on M****s*ft W**d*ws? No.
>
>
> I've done it for years on Windows 10 and 11 (with 2 python versions).

I can see why you would have trouble with more than that.

> https://www.c-sharpcorner.com/article/how-to-manage-multiple-versions-of-python-on-windows-11/

Quote:

We will now create copies of the python executable and rename them
to python27 and python310. This is necessary so that system knows
the python version to run.

I lost the will to live at that point ...

Re: Gentoo Emerge Report 2024-01-06

<l00cvoFrf40U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7258&group=comp.os.linux.advocacy#7258

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news-2.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Date: 7 Jan 2024 19:39:37 GMT
Lines: 7
Message-ID: <l00cvoFrf40U1@mid.individual.net>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net qBJZ72YTu4yzlKFa+VtX0gu97RrVS0u2w3Yw0ur3xNvLWe8qJ0
Cancel-Lock: sha1:0SgzZFRk27peAkE5/tSxWuXYJns= sha256:Rqas7DQhPfmxxv53onFNCxBH2cFX1HkJiNTa1kR2vjo=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Sun, 7 Jan 2024 19:39 UTC

On Sun, 07 Jan 2024 12:29:26 +0000, Farley Flud wrote:

> Apparently, the contributors to jbig2enc don't want to waste time
> re-writing the code to use a new python version.

Line 165 print(str(doc))

Re: Gentoo Emerge Report 2024-01-06

<unf613$6i2m$1@solani.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7264&group=comp.os.linux.advocacy#7264

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: Physfitfreak@gmail.com (Physfitfreak)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Date: Sun, 7 Jan 2024 15:45:09 -0600
Message-ID: <unf613$6i2m$1@solani.org>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 7 Jan 2024 21:45:07 -0000 (UTC)
Injection-Info: solani.org;
logging-data="215126"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:QYJQhfbcIsb+zvkFMZLjZjkRIwA=
X-User-ID: eJwFwYEBwCAIA7CXnNAK5wDa/09YAuPHOU7QISgG7rcnV4HPozqfessjWf7ti8qLiE3jqgNbph4Tbrf04gdbPBYE
In-Reply-To: <17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
Content-Language: en-US
 by: Physfitfreak - Sun, 7 Jan 2024 21:45 UTC

On 1/7/2024 6:29 AM, Farley Flud wrote:
> On 07 Jan 2024 10:18:24 GMT, Stéphane CARPENTIER wrote:
>
>>>
>>> python-2.7.18
>>> python-3.8.18
>>> python-3.11.7
>>> python-3.12.1
>>>
>>
>> I have only one version of python, so clearly Linux can run without all
>> those versions.
>>
>
> Wrong again, Carpenter.
>
> If I remove any of those python versions then certain programs will
> not run. They are all necessary.
>
> That's the point I am making. Python is such a fucked up language
> that some software will need to be re-written whenever a new Python
> version is released.
>
> But many software developers don't want to waste their time
> re-writing their programs for each new Python upgrade. Therefore,
> any comprehensive GNU/Linux system must contain several different
> Python versions.
>
> You don't know this, Carpenter, because you are NOT a programmer.
> You are only a simple, stupid user of some lame, Ubuntu-derived,
> junk Linux distro. IOW, STFU.
>
> For example, even though python-2.7 is now declared obsolete,
> the package "jbig2enc" requires python-2.7 or else it will
> not run:
>
> https://github.com/agl/jbig2enc
>
> Check the source code, Carpenter (if you can). The highly
> important utility "pdf.py" invokes python-2.7.
>
> Apparently, the contributors to jbig2enc don't want to waste
> time re-writing the code to use a new python version.
>
> Why don't you contribute a patch, Carpenter? Huh? Why not?
> You have a big, fat mouth when it comes to criticism. Why
> don't you put your "expertise" to work for the jbig2enc
> project?
>
> We all know the answer.
>
> Ha, ha, ha, ha, ha, ha!
>

Wtf. Why then it doesn't have backward compatibility?...

What a joke of a situation.

Re: Python Emerge Report 2024-01-06

<l00oggFtffcU2@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7272&group=comp.os.linux.advocacy#7272

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python Emerge Report 2024-01-06
Date: 7 Jan 2024 22:56:16 GMT
Lines: 11
Message-ID: <l00oggFtffcU2@mid.individual.net>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<unddn2$vukj$1@dont-email.me> <jezmN.143783$p%Mb.118730@fx15.iad>
<unetea$168e6$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net tfhNqezyP8bfdYiYnmLF/gRxJ9Lz0kNkTwSvcSn6s57jkR1YEC
Cancel-Lock: sha1:8HjAgY7dAvNggWDgIcBcF3PI4QM= sha256:2CdON92YS5+f189z2bHQ0FCxcxYnV6oyf8QT68nYTXE=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Sun, 7 Jan 2024 22:56 UTC

On Sun, 7 Jan 2024 19:18:34 -0000 (UTC), Lawrence D'Oliveiro wrote:

> We will now create copies of the python executable and rename them
> to python27 and python310. This is necessary so that system knows
> the python version to run.
>
> I lost the will to live at that point ...

That's a little heavy handed but I don't think Windows ever got symlinks
working entirely satisfactorily. With anaconda and virtual environmetns
you can really knock yourself out.

Re: Python Emerge Report 2024-01-06

<WgTmN.156848$xHn7.1151@fx14.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7298&group=comp.os.linux.advocacy#7298

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: Python Emerge Report 2024-01-06
Newsgroups: comp.os.linux.advocacy
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<unddn2$vukj$1@dont-email.me> <jezmN.143783$p%Mb.118730@fx15.iad>
<unetea$168e6$1@dont-email.me>
Content-Language: en-US
From: nospam@dfs.com (DFS)
In-Reply-To: <unetea$168e6$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 37
Message-ID: <WgTmN.156848$xHn7.1151@fx14.iad>
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Mon, 08 Jan 2024 14:03:34 UTC
Organization: blocknews - www.blocknews.net
Date: Mon, 8 Jan 2024 09:03:41 -0500
X-Received-Bytes: 1959
 by: DFS - Mon, 8 Jan 2024 14:03 UTC

On 1/7/2024 2:18 PM, Lawrence D'Oliveiro wrote:
> On Sun, 7 Jan 2024 10:15:30 -0500, DFS wrote:
>
>> On 1/7/2024 12:44 AM, Lawrence D'Oliveiro wrote:
>>> On Sat, 06 Jan 2024 14:08:21 +0000, Farley Flud wrote:
>>>
>>>> Now I have FOUR separate and distinct python versions on my system:
>>>>
>>>> python-2.7.18 python-3.8.18 python-3.11.7 python-3.12.1
>>>
>>> I have had more than that. Very handy to be able to have multiple
>>> versions installed side by side, so I can test a library I write to
>>> ensure it works properly with a suitable range of versions.
>>>
>>> Can you do this on M****s*ft W**d*ws? No.
>>
>>
>> I've done it for years on Windows 10 and 11 (with 2 python versions).
>
> I can see why you would have trouble with more than that.

No trouble.

>> https://www.c-sharpcorner.com/article/how-to-manage-multiple-versions-of-python-on-windows-11/
>
> Quote:
>
> We will now create copies of the python executable and rename them
> to python27 and python310. This is necessary so that system knows
> the python version to run.
>
> I lost the will to live at that point ...

Learn to follow through.

Re: Gentoo Emerge Report 2024-01-06

<BlTmN.156849$xHn7.28341@fx14.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7299&group=comp.os.linux.advocacy#7299

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: Gentoo Emerge Report 2024-01-06
Newsgroups: comp.os.linux.advocacy
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
<l00cvoFrf40U1@mid.individual.net>
Content-Language: en-US
From: nospam@dfs.com (DFS)
In-Reply-To: <l00cvoFrf40U1@mid.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 16
Message-ID: <BlTmN.156849$xHn7.28341@fx14.iad>
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Mon, 08 Jan 2024 14:08:33 UTC
Organization: blocknews - www.blocknews.net
Date: Mon, 8 Jan 2024 09:08:39 -0500
X-Received-Bytes: 1273
 by: DFS - Mon, 8 Jan 2024 14:08 UTC

On 1/7/2024 2:39 PM, rbowman wrote:
> On Sun, 07 Jan 2024 12:29:26 +0000, Farley Flud wrote:
>
>> Apparently, the contributors to jbig2enc don't want to waste time
>> re-writing the code to use a new python version.
>
> Line 165 print(str(doc))

That syntax will execute in Python 2.x and 3.x.

"print str(doc)" will execute in 2.x but not in 3.x.

3.x will throw:
SyntaxError: Missing parentheses in call to 'print'.

Re: Gentoo Emerge Report 2024-01-06

<l02og0FangvU2@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7317&group=comp.os.linux.advocacy#7317

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Date: 8 Jan 2024 17:08:17 GMT
Lines: 26
Message-ID: <l02og0FangvU2@mid.individual.net>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
<l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net U9JcKvhbBOIrYxLez0hkgAmk3korXkBztIj7Z+Exx99+kpaY7x
Cancel-Lock: sha1:F5beLEyk/wMCTCjPt0MF1TcVu4Q= sha256:rj/DAiUCl9f+cTRqHvuQWVkQk31cYCWyPbSbuO7sMHM=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Mon, 8 Jan 2024 17:08 UTC

On Mon, 8 Jan 2024 09:08:39 -0500, DFS wrote:

> On 1/7/2024 2:39 PM, rbowman wrote:
>> On Sun, 07 Jan 2024 12:29:26 +0000, Farley Flud wrote:
>>
>>> Apparently, the contributors to jbig2enc don't want to waste time
>>> re-writing the code to use a new python version.
>>
>> Line 165 print(str(doc))
>
>
> That syntax will execute in Python 2.x and 3.x.
>
> "print str(doc)" will execute in 2.x but not in 3.x.
>
>
> 3.x will throw:
> SyntaxError: Missing parentheses in call to 'print'.

While it made the purists happy to have print be a 'real' function it
certainly was a major pain in the ass. I didn't have the files to
actually run the script but the interpreter didn't complain after that
fix.

From its location, indentation, and unneeded inclusion I assume it was a
leftover debug statement.

Re: Gentoo Emerge Report 2024-01-06

<unhdka$1kdup$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7321&group=comp.os.linux.advocacy#7321

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Date: Mon, 8 Jan 2024 13:07:06 -0500
Organization: None
Lines: 33
Message-ID: <unhdka$1kdup$2@dont-email.me>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
<l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad>
<l02og0FangvU2@mid.individual.net>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Mon, 8 Jan 2024 18:07:06 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="968cb0e5728bb1cdca7d442ff541d8c7";
logging-data="1718233"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Fs8xuNtcvwy9Ius25m5Bl"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:+jviIkZm5ZKMd7pnv2ZKFjSRsnE=
X-Slrn: Why use anything else?
X-Mutt: The most widely-used MUA
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
 by: Chris Ahlstrom - Mon, 8 Jan 2024 18:07 UTC

rbowman wrote this copyrighted missive and expects royalties:

> On Mon, 8 Jan 2024 09:08:39 -0500, DFS wrote:
>
>> On 1/7/2024 2:39 PM, rbowman wrote:
>>> On Sun, 07 Jan 2024 12:29:26 +0000, Farley Flud wrote:
>>>
>>>> Apparently, the contributors to jbig2enc don't want to waste time
>>>> re-writing the code to use a new python version.
>>>
>>> Line 165 print(str(doc))
>>
>> That syntax will execute in Python 2.x and 3.x.
>>
>> "print str(doc)" will execute in 2.x but not in 3.x.
>>
>> 3.x will throw:
>> SyntaxError: Missing parentheses in call to 'print'.
>
> While it made the purists happy to have print be a 'real' function it
> certainly was a major pain in the ass. I didn't have the files to
> actually run the script but the interpreter didn't complain after that
> fix.
>
> From its location, indentation, ...

That stupid block indentation of Python drives me apeshit.

> and unneeded inclusion I assume it was a
> leftover debug statement.

--
Good day for a change of scene. Repaper the bedroom wall.

Re: Gentoo Emerge Report 2024-01-06

<0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7323&group=comp.os.linux.advocacy#7323

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
From: joelcrump@gmail.com (Joel)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Message-ID: <0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com> <659a7a70$0$2574$426a74cc@news.free.fr> <17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com> <l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad> <l02og0FangvU2@mid.individual.net> <unhdka$1kdup$2@dont-email.me>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-OS: Linux/Wine
Lines: 25
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 08 Jan 2024 13:13:46 -0500
X-Received-Bytes: 1739
 by: Joel - Mon, 8 Jan 2024 18:13 UTC

Chris Ahlstrom <OFeem1987@teleworm.us> wrote:

>Python

I can't imagine having a purpose for it. Linux is a great platform to
just write C code and compile it, can be done the same on NT, but
programmers use a lot of elaborate crap that seems irrelevant to non-
GUI, non-prefab code-dependent work.

--
Joel W. Crump

Amendment XIV
Section 1.

[...] No state shall make or enforce any law which shall
abridge the privileges or immunities of citizens of the
United States; nor shall any state deprive any person of
life, liberty, or property, without due process of law;
nor deny to any person within its jurisdiction the equal
protection of the laws.

Dobbs rewrites this, it is invalid precedent. States are
liable for denying needed abortions, e.g. TX.

Re: Gentoo Emerge Report 2024-01-06

<l0329cFci02U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7327&group=comp.os.linux.advocacy#7327

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!rocksolid2!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Date: 8 Jan 2024 19:55:25 GMT
Lines: 8
Message-ID: <l0329cFci02U1@mid.individual.net>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
<l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad>
<l02og0FangvU2@mid.individual.net> <unhdka$1kdup$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net FEAL4dHK8a6vmMXRBrHHhQ6sgpfVC9P1VZRMvT0qp9QFARi9PK
Cancel-Lock: sha1:C7IsicQLte9evlgF5nLkGjtHRO0= sha256:/k9kov2+aO1t+WUpQtJco7cMbpU1VArv/0IpTQX3ssM=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Mon, 8 Jan 2024 19:55 UTC

On Mon, 8 Jan 2024 13:07:06 -0500, Chris Ahlstrom wrote:

> That stupid block indentation of Python drives me apeshit.

It's not my favorite feature although I can understand the reason. I've
seen too much code that looked like an entry in an obfuscated code
contest. The major drawback is after pasting a block you need to do a fix
up to get the indentation right.

Re: Gentoo Emerge Report 2024-01-06

<zA_mN.135965$Ama9.86591@fx12.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7335&group=comp.os.linux.advocacy#7335

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx12.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: Gentoo Emerge Report 2024-01-06
Newsgroups: comp.os.linux.advocacy
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
<l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad>
<l02og0FangvU2@mid.individual.net> <unhdka$1kdup$2@dont-email.me>
<0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com>
Content-Language: en-US
From: nospam@dfs.com (DFS)
In-Reply-To: <0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 24
Message-ID: <zA_mN.135965$Ama9.86591@fx12.iad>
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Mon, 08 Jan 2024 22:22:23 UTC
Organization: blocknews - www.blocknews.net
Date: Mon, 8 Jan 2024 17:22:30 -0500
X-Received-Bytes: 1677
 by: DFS - Mon, 8 Jan 2024 22:22 UTC

On 1/8/2024 1:13 PM, Joel wrote:
> Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
>
>> Python
>
>
> I can't imagine having a purpose for it.

That's because you don't write computer programs. But once you learn
enough python, you'll question having a purpose for C. It takes 3x to
10x as long to get something done in C as in python, and much more code.

Of course C programs generally execute an order of magnitude faster than
python.

> Linux is a great platform to
> just write C code and compile it, can be done the same on NT, but
> programmers use a lot of elaborate crap that seems irrelevant to non-
> GUI, non-prefab code-dependent work.

Re: Gentoo Emerge Report 2024-01-06

<cntopipadnrqlativ2ji221c5gactdlta1@4ax.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7337&group=comp.os.linux.advocacy#7337

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx04.iad.POSTED!not-for-mail
From: joelcrump@gmail.com (Joel)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Message-ID: <cntopipadnrqlativ2ji221c5gactdlta1@4ax.com>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com> <659a7a70$0$2574$426a74cc@news.free.fr> <17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com> <l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad> <l02og0FangvU2@mid.individual.net> <unhdka$1kdup$2@dont-email.me> <0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com> <zA_mN.135965$Ama9.86591@fx12.iad>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-OS: Linux/Wine
Lines: 51
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 08 Jan 2024 17:37:00 -0500
X-Received-Bytes: 2572
 by: Joel - Mon, 8 Jan 2024 22:37 UTC

DFS <nospam@dfs.com> wrote:
>On 1/8/2024 1:13 PM, Joel wrote:
>> Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
>>
>>> Python
>>
>> I can't imagine having a purpose for it.
>
>That's because you don't write computer programs.

I have, though, and I don't find it at all tedious to use C or even
assembly. Why do you think I was interested in this NG, in 2009? I've
always had an interest in the lower level operations of OSes. Even as
a Wintroll, back then, I was talking about cool aspects of Windows,
what is more properly called NT, not just the bells and whistles.
It's the same reason I think Linux is even better, it doesn't require
the commercial layers of crud of Winblows.

> But once you learn
>enough python, you'll question having a purpose for C.

A bold claim.

> It takes 3x to
>10x as long to get something done in C as in python, and much more code.
>
>Of course C programs generally execute an order of magnitude faster than
>python.

Neither reason means much to me. I like lower level coding.

--
Joel W. Crump

Amendment XIV
Section 1.

[...] No state shall make or enforce any law which shall
abridge the privileges or immunities of citizens of the
United States; nor shall any state deprive any person of
life, liberty, or property, without due process of law;
nor deny to any person within its jurisdiction the equal
protection of the laws.

Dobbs rewrites this, it is invalid precedent. States are
liable for denying needed abortions, e.g. TX.

Re: Gentoo Emerge Report 2024-01-06

<l03husFf0c5U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7344&group=comp.os.linux.advocacy#7344

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Date: 9 Jan 2024 00:22:52 GMT
Lines: 14
Message-ID: <l03husFf0c5U1@mid.individual.net>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
<l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad>
<l02og0FangvU2@mid.individual.net> <unhdka$1kdup$2@dont-email.me>
<0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com>
<zA_mN.135965$Ama9.86591@fx12.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net EJZnPSErAXu5QHZNDMc8PQQewk8SwhCVDxcFPPQ5kjAjyQe+Mp
Cancel-Lock: sha1:qcxA9a6SLYFbNBK0wPNS4w4865w= sha256:FvfR31z5EDKIlg0WWm1z9HRwOQNKa9+f3rEMyNlnVWs=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Tue, 9 Jan 2024 00:22 UTC

On Mon, 8 Jan 2024 17:22:30 -0500, DFS wrote:

> Of course C programs generally execute an order of magnitude faster than
> python.

https://www.pypy.org

https://cython.org/

PyPy is less fiddly but there are caveats. The JIT startup time overhead
means you don't want to use it for short scripts and it doesn't offer any
benefits with some modules.

Cython is more work but can give some impressive resuts.

Re: Gentoo Emerge Report 2024-01-06

<unjd21$206cc$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7370&group=comp.os.linux.advocacy#7370

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!news.furie.org.uk!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Date: Tue, 9 Jan 2024 07:09:37 -0500
Organization: None
Lines: 35
Message-ID: <unjd21$206cc$2@dont-email.me>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
<l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad>
<l02og0FangvU2@mid.individual.net> <unhdka$1kdup$2@dont-email.me>
<0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com>
<zA_mN.135965$Ama9.86591@fx12.iad>
<cntopipadnrqlativ2ji221c5gactdlta1@4ax.com>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Tue, 9 Jan 2024 12:09:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8561c3b656fdfd8190a7651f90cc522f";
logging-data="2103692"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18C41WtJYMXSwgZBOKkOEQc"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:FdELCX644SfQ3nyDz7blkBR4vpQ=
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Slrn: Why use anything else?
X-Mutt: The most widely-used MUA
 by: Chris Ahlstrom - Tue, 9 Jan 2024 12:09 UTC

Joel wrote this copyrighted missive and expects royalties:

> DFS <nospam@dfs.com> wrote:
>
>> But once you learn
>>enough python, you'll question having a purpose for C.
>
> A bold claim.

They each have their sweet spots. Python in fact is written in C, for example.

Python is nice for using associative containers and such, and very useful with
libraries like NumPy and SciPy.

However, my personal preference is to use the vast facilities of C++.

>
>> It takes 3x to
>>10x as long to get something done in C as in python, and much more code.
>>
>>Of course C programs generally execute an order of magnitude faster than
>>python.
>
> Neither reason means much to me. I like lower level coding.

It can be fun to get into the weeds. About 35 years ago I had a job that
involved writing MASM. The downsides were that the project leader required the
CapsLock key to be on all the time (which made the comments difficult to read);
the team had the most turgid and odd way of jumping between 64k segments, and
there was so much code that there was a lot of basically duplicate code. No
source-code control. And they used EDLIN, and one of the modules was about a
megabyte in size. (I eventually bought a copy of VEDIT for myself).

--
You will hear good news from one you thought unfriendly to you.

Re: Gentoo Emerge Report 2024-01-06

<l05f8nFq15bU4@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7409&group=comp.os.linux.advocacy#7409

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Date: 9 Jan 2024 17:49:12 GMT
Lines: 19
Message-ID: <l05f8nFq15bU4@mid.individual.net>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
<l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad>
<l02og0FangvU2@mid.individual.net> <unhdka$1kdup$2@dont-email.me>
<0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com>
<zA_mN.135965$Ama9.86591@fx12.iad>
<cntopipadnrqlativ2ji221c5gactdlta1@4ax.com> <unjd21$206cc$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Gkpdu9bLHzuIAdpCf3EjBwoHhtT59QA1/m8CKoioZNclXdY7Wu
Cancel-Lock: sha1:eh3Drpw9pNHBgzB7vx5rGS6Yq/A= sha256:6JFqqNZaHQ1u+LRfnNFHU+1yc+6smdV2rRpnouVX5Jw=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Tue, 9 Jan 2024 17:49 UTC

On Tue, 9 Jan 2024 07:09:37 -0500, Chris Ahlstrom wrote:

> It can be fun to get into the weeds. About 35 years ago I had a job
> that involved writing MASM. The downsides were that the project leader
> required the CapsLock key to be on all the time (which made the comments
> difficult to read);
> the team had the most turgid and odd way of jumping between 64k
> segments, and there was so much code that there was a lot of basically
> duplicate code. No source-code control. And they used EDLIN, and one of
> the modules was about a megabyte in size. (I eventually bought a copy
> of VEDIT for myself).

At one point I wrote a 8048 cross assembler on CP/M. The impetus was the
official company machine was a PDP-11 and cross assemblers for that were
ridiculously expensive.

My 'hello world' project with Java was a Atmel AVR cross assembler. That
was an exercise in futility. I had hopes for Java but they quickly
evaporated.

Re: Gentoo Emerge Report 2024-01-06

<uo02fe$btrc$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7710&group=comp.os.linux.advocacy#7710

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Date: Sun, 14 Jan 2024 07:28:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uo02fe$btrc$1@dont-email.me>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
<l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad>
<l02og0FangvU2@mid.individual.net> <unhdka$1kdup$2@dont-email.me>
<0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com>
<zA_mN.135965$Ama9.86591@fx12.iad>
<cntopipadnrqlativ2ji221c5gactdlta1@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 14 Jan 2024 07:28:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5cf5a003a05059306218191ac330ad5f";
logging-data="391020"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Lc+sMAtN6mlDSxDaCKFbC"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:DIpZfv+dOMOktojN/gJG0w5A2Ic=
 by: Lawrence D'Oliv - Sun, 14 Jan 2024 07:28 UTC

On Mon, 08 Jan 2024 17:37:00 -0500, Joel wrote:

> ... I don't find it at all tedious to use C or even
> assembly.

A simple example: drawing a suitably-oriented line using Cairo
graphics in C:

x1 = scope_radius * sin(trace_width_angle);
y1 = scope_radius * cos(trace_width_angle);
cairo_line_to(ctx, x1, y1);

versus a high-level Python wrapper I wrote:

ctx.line_to(Vector(0, scope_radius).rotate(trace_width_angle))

Re: Gentoo Emerge Report 2024-01-06

<17aa318ec99a61cc$4745$2880686$802601b3@news.usenetexpress.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7714&group=comp.os.linux.advocacy#7714

  copy link   Newsgroups: comp.os.linux.advocacy
From: ff@linux.rocks (Farley Flud)
Subject: Re: Gentoo Emerge Report 2024-01-06
Newsgroups: comp.os.linux.advocacy
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com> <659a7a70$0$2574$426a74cc@news.free.fr> <17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com> <l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad> <l02og0FangvU2@mid.individual.net> <unhdka$1kdup$2@dont-email.me> <0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com> <zA_mN.135965$Ama9.86591@fx12.iad> <cntopipadnrqlativ2ji221c5gactdlta1@4ax.com> <uo02fe$btrc$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 20
Path: i2pn2.org!i2pn.org!news.chmurka.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sun, 14 Jan 2024 10:58:18 +0000
Nntp-Posting-Date: Sun, 14 Jan 2024 10:58:18 +0000
X-Received-Bytes: 1350
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Message-Id: <17aa318ec99a61cc$4745$2880686$802601b3@news.usenetexpress.com>
 by: Farley Flud - Sun, 14 Jan 2024 10:58 UTC

On Sun, 14 Jan 2024 07:28:47 -0000 (UTC), Lawrence D'Oliveiro wrote:

>
> A simple example: drawing a suitably-oriented line using Cairo
> graphics in C:
>
> x1 = scope_radius * sin(trace_width_angle);
> y1 = scope_radius * cos(trace_width_angle);
> cairo_line_to(ctx, x1, y1);
>

This is inefficient because trig functions are expensive.
It should be:

#define _GNU_SOURCE
#include <math.h>

sincos(trace_width_angle, &x1, &y1);
cairo_line_to(ctx, scope_radius*x1, scope_radius*y1);

Re: Gentoo Emerge Report 2024-01-06

<uo0j3h$e5k0$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7723&group=comp.os.linux.advocacy#7723

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Gentoo Emerge Report 2024-01-06
Date: Sun, 14 Jan 2024 07:12:33 -0500
Organization: None
Lines: 25
Message-ID: <uo0j3h$e5k0$1@dont-email.me>
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
<l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad>
<l02og0FangvU2@mid.individual.net> <unhdka$1kdup$2@dont-email.me>
<0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com>
<zA_mN.135965$Ama9.86591@fx12.iad>
<cntopipadnrqlativ2ji221c5gactdlta1@4ax.com> <uo02fe$btrc$1@dont-email.me>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Sun, 14 Jan 2024 12:12:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="71740b2b34df24f88ac2c5b2d3a52912";
logging-data="464512"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192/+vg1plMkM8JIg/KPOmC"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:WW8OilcWwgExEKfXu3pusl7+l00=
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Mutt: The most widely-used MUA
X-Slrn: Why use anything else?
 by: Chris Ahlstrom - Sun, 14 Jan 2024 12:12 UTC

Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

> On Mon, 08 Jan 2024 17:37:00 -0500, Joel wrote:
>
>> ... I don't find it at all tedious to use C or even
>> assembly.
>
> A simple example: drawing a suitably-oriented line using Cairo
> graphics in C:
>
> x1 = scope_radius * sin(trace_width_angle);
> y1 = scope_radius * cos(trace_width_angle);
> cairo_line_to(ctx, x1, y1);
>
> versus a high-level Python wrapper I wrote:
>
> ctx.line_to(Vector(0, scope_radius).rotate(trace_width_angle))

Even ignoring the wrapper you had to figure out and write, that line
is just as tedious :-D

You could write a C function, too, y'know.

--
Your sister swims out to meet troop ships.

Re: Gentoo Emerge Report 2024-01-06

<mrVoN.26298$SyNd.9911@fx33.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7769&group=comp.os.linux.advocacy#7769

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx33.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
From: nospam@dfs.com (DFS)
Subject: Re: Gentoo Emerge Report 2024-01-06
Newsgroups: comp.os.linux.advocacy
References: <17a7c7495fbd7331$3468$2852728$802601b3@news.usenetexpress.com>
<659a7a70$0$2574$426a74cc@news.free.fr>
<17a81077f661eac2$5155$1204512$802601b3@news.usenetexpress.com>
<l00cvoFrf40U1@mid.individual.net> <BlTmN.156849$xHn7.28341@fx14.iad>
<l02og0FangvU2@mid.individual.net> <unhdka$1kdup$2@dont-email.me>
<0keopi17916qajgo9ufouu7sao6igjvoki@4ax.com>
<zA_mN.135965$Ama9.86591@fx12.iad>
<cntopipadnrqlativ2ji221c5gactdlta1@4ax.com>
Content-Language: en-US
In-Reply-To: <cntopipadnrqlativ2ji221c5gactdlta1@4ax.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 131
Message-ID: <mrVoN.26298$SyNd.9911@fx33.iad>
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Sun, 14 Jan 2024 18:09:22 UTC
Organization: blocknews - www.blocknews.net
Date: Sun, 14 Jan 2024 13:09:33 -0500
X-Received-Bytes: 4862
 by: DFS - Sun, 14 Jan 2024 18:09 UTC

On 1/8/2024 5:37 PM, Joel wrote:
> DFS <nospam@dfs.com> wrote:
>> On 1/8/2024 1:13 PM, Joel wrote:
>>> Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
>>>
>>>> Python
>>>
>>> I can't imagine having a purpose for it.
>>
>> That's because you don't write computer programs.
>
>
> I have, though, and I don't find it at all tedious to use C or even
> assembly. Why do you think I was interested in this NG, in 2009? I've
> always had an interest in the lower level operations of OSes. Even as
> a Wintroll, back then, I was talking about cool aspects of Windows,
> what is more properly called NT, not just the bells and whistles.
> It's the same reason I think Linux is even better, it doesn't require
> the commercial layers of crud of Winblows.
>
>
>> But once you learn
>> enough python, you'll question having a purpose for C.
>
>
> A bold claim.

It's pretty much a fact. Of course there are exceptions: python is next
to useless for embedded, OSes, compilers, system programming, device
drivers, probably HPC, etc. So if you're primarily involved in those
areas, you'll laugh at Python.

Python
----------------------------------------------------------------------
#count lines in a text file
len(open(filepath).readlines())

#count words in a text file
len(open(filepath).read().split())

#count the unique values in a string
values = "ABDEEABCDFFFZZWXXXX"
x = [(i,values.count(i)) for i in sorted(set(values))]
for val,cnt in x:
print(val + ' ('+ str(cnt) + ') ',end='')
----------------------------------------------------------------------
6 lines of code

C
--------------------------------------------------------------
//count lines in a text file
#include <stdio.h>
int main(void) {
int lines = 0;
char line[1024] = "";
FILE *fin = fopen(filepath,"r");
while (fgets(line,sizeof line, fin)!= NULL) {
lines++;
}
fclose(fin);
return 0;
} -----------------------------------------------------------------
//count words in a text file = count of spaces + 1
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>

int main(int argc, char *argv[])
{ // open file, move to end, get size, allocate memory, back to
// beginning, read contents into memory, close file
FILE *infile = fopen(argv[1], "r");
fseek(infile, 0, SEEK_END);
long buffer = ftell(infile);
char *myStr = malloc(sizeof(char) * (buffer + 1));
rewind(infile);
fread(myStr, sizeof(char), buffer, infile);
fclose(infile);

//word count is number of spaces + 1
int countWords = 1;
for (int i = 0; i < buffer; i++) {
if(isspace(myStr[i]) && !isspace(myStr[i+1])) {countWords++;}
}

free(myStr);
printf("\n%d words", countWords);
}

-----------------------------------------------------------------
//count the unique values in a string
#include <stdio.h>
#include <string.h>
int main(void) {
char *values = "ABDEEABCDFFFZZWXXXX";
int n = 0, cnts[26]={0}, cntsz = sizeof(cnts)/sizeof(cnts[0]);
for (int c = 0; c < strlen(values); c++) {
cnts[values[n]-'A']++;
n++;
}
for (int c = 0; c < cntsz; c++) {
if(cnts[c] > 0) {
printf("%c (%d)",c+'A',cnts[c]);
}
}
return 0;
} -----------------------------------------------------------------
37 LOC

>> It takes 3x to
>> 10x as long to get something done in C as in python, and much more code.
>>
>> Of course C programs generally execute an order of magnitude faster than
>> python.
>
>
> Neither reason means much to me. I like lower level coding.

Supposedly you do, but you've never demonstrated it here. But for some
reason you've talked a lot about drugs and buttfucking and transgenderism.

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor