Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #177: sticktion


comp / comp.os.linux.advocacy / Re: More Funny Stuff From Joel

SubjectAuthor
* More Funny Stuff From The Joke PythonDiego Garcia
+* Re: More Funny Stuff From The Joke PythonJoel
|+* Re: More Funny Stuff From The Joke Pythonrbowman
||`* Re: More Funny Stuff From The Joke PythonJoel
|| `* Re: More Funny Stuff From The Joke Pythonrbowman
||  +* Re: More Funny Stuff From The Joke PythonJoel
||  |+* Languages (was: Re: More Funny Stuff From The Joke Python)vallor
||  ||+* Re: Languages%
||  |||`- Re: Languagesvallor
||  ||`* Re: Languages (was: Re: More Funny Stuff From The Joke Python)Lawrence D'Oliveiro
||  || `* Re: Languages (was: Re: More Funny Stuff From The Joke Python)Sebastian Wells
||  ||  +- Re: Languages (was: Re: More Funny Stuff From Python)Lawrence D'Oliveiro
||  ||  `- Re: Languages (was: Re: More Funny Stuff From The Joke Python)rbowman
||  |+* Re: More Funny Stuff From JoelDFS
||  ||+* Re: More Funny Stuff From JoelJoel
||  |||+- Re: More Funny Stuff From JoelLawrence D'Oliveiro
||  |||+* Re: More Funny Stuff From Joelrbowman
||  ||||`- Re: More Funny Stuff From JoelChris Ahlstrom
||  |||+* Re: More Funny Stuff From JoelTyrone
||  ||||+* Re: More Funny Stuff From JoelJoel
||  |||||`* Re: More Funny Stuff From Joelrbowman
||  ||||| `* Re: More Funny Stuff From JoelJoel
||  |||||  `* Re: More Funny Stuff From Joelrbowman
||  |||||   `* Re: More Funny Stuff From JoelJoel
||  |||||    `- Re: More Funny Stuff From Joelrbowman
||  ||||+* Re: More Funny Stuff From Joelcandycanearter07
||  |||||+* Re: More Funny Stuff From JoelChris Ahlstrom
||  ||||||`- Re: More Funny Stuff From Joelcandycanearter07
||  |||||`* Re: More Funny Stuff From JoelStéphane CARPENTIER
||  ||||| `* Re: More Funny Stuff From JoelFarley Flud
||  |||||  +* Re: More Funny Stuff From JoelStéphane CARPENTIER
||  |||||  |`* Re: More Funny Stuff From JoelFarley Flud
||  |||||  | +- Re: More Funny Stuff From JoelDFS
||  |||||  | `* Re: More Funny Stuff From JoelStéphane CARPENTIER
||  |||||  |  +* Re: More Funny Stuff From JoelFarley Flud
||  |||||  |  |`- Re: More Funny Stuff From JoelStéphane CARPENTIER
||  |||||  |  `* Re: More Funny Stuff From JoelFarley Flud
||  |||||  |   `- Re: More Funny Stuff From JoelStéphane CARPENTIER
||  |||||  `* Re: More Funny Stuff From JoelDFS
||  |||||   `- Re: More Funny Stuff From JoelAndrzej Matuch
||  ||||`* Re: More Funny Stuff From JoelStéphane CARPENTIER
||  |||| `* Re: More Funny Stuff From JoelJoel
||  ||||  +* Re: More Funny Stuff From JoelStéphane CARPENTIER
||  ||||  |`* Re: More Funny Stuff From Joelcandycanearter07
||  ||||  | +* Re: More Funny Stuff From JoelJoel
||  ||||  | |`- Re: More Funny Stuff From Joelcandycanearter07
||  ||||  | `* Re: More Funny Stuff From JoelLawrence D'Oliveiro
||  ||||  |  `- Re: More Funny Stuff From Joelcandycanearter07
||  ||||  `* Re: More Funny Stuff From JoelLawrence D'Oliveiro
||  ||||   `* Re: More Funny Stuff From JoelJoel
||  ||||    +* Re: More Funny Stuff From JoelLawrence D'Oliveiro
||  ||||    |`- Re: More Funny Stuff From JoelJoel
||  ||||    `* Re: More Funny Stuff From Joelchrisv
||  ||||     `- Re: More Funny Stuff From JoelJoel
||  |||`* Re: More Funny Stuff From JoelDFS
||  ||| `* Re: More Funny Stuff From JoelJoel
||  |||  `* Re: More Funny Stuff From Joelrbowman
||  |||   `* Re: More Funny Stuff From JoelJoel
||  |||    +- Re: More Funny Stuff From Joel%
||  |||    +* Re: More Funny Stuff From JoelDFS
||  |||    |+- Re: More Funny Stuff From JoelJoel
||  |||    |`* "Standard GUI" (was: Re: More Funny Stuff From Joel)vallor
||  |||    | +* Re: "Standard GUI"Andrzej Matuch
||  |||    | |`- Re: "Standard GUI"rbowman
||  |||    | `* Re: "Standard GUI"Lawrence D'Oliveiro
||  |||    |  `- Re: "Standard GUI"Chris Ahlstrom
||  |||    +- Re: More Funny Stuff From Joelrbowman
||  |||    `* Re: More Funny Stuff From Joelcandycanearter07
||  |||     +* Re: More Funny Stuff From JoelDFS
||  |||     |`* Re: More Funny Stuff From JoelLawrence D'Oliveiro
||  |||     | `- Re: More Funny Stuff From JoelDFS
||  |||     +* Re: More Funny Stuff From JoelJoel
||  |||     |+* Re: More Funny Stuff From JoelLawrence D'Oliveiro
||  |||     ||`* Re: More Funny Stuff From JoelJoel
||  |||     || +* Re: More Funny Stuff From JoelLawrence D'Oliveiro
||  |||     || |+- Re: More Funny Stuff From JoelJoel
||  |||     || |+- Re: More Funny Stuff From JoelChris Ahlstrom
||  |||     || |`- Re: More Funny Stuff From JoelDFS
||  |||     || `- Re: More Funny Stuff From Joelcandycanearter07
||  |||     |`- Re: More Funny Stuff From Joelcandycanearter07
||  |||     `- Re: More Funny Stuff From Joelchrisv
||  ||`* Re: More Funny Stuff From Joelcandycanearter07
||  || +- Re: More Funny Stuff From JoelLawrence D'Oliveiro
||  || +* Re: More Funny Stuff From Joelrbowman
||  || |`* Re: More Funny Stuff From Joelcandycanearter07
||  || | `* Re: More Funny Stuff From Joelrbowman
||  || |  +* Re: More Funny Stuff From JoelLawrence D'Oliveiro
||  || |  |`- Re: More Funny Stuff From Joelcandycanearter07
||  || |  `* Re: More Funny Stuff From JoelChris Ahlstrom
||  || |   `* Re: More Funny Stuff From Joelrbowman
||  || |    +- Re: More Funny Stuff From JoelChris Ahlstrom
||  || |    `* Re: More Funny Stuff From CLawrence D'Oliveiro
||  || |     `- Re: More Funny Stuff From Ccandycanearter07
||  || `* Re: More Funny Stuff From JoelDFS
||  ||  +* Re: More Funny Stuff From Joelrbowman
||  ||  |`- Re: More Funny Stuff From PythonLawrence D'Oliveiro
||  ||  `* Re: More Funny Stuff From Joelcandycanearter07
||  ||   +* Re: More Funny Stuff From JoelLawrence D'Oliveiro
||  ||   |`- Re: More Funny Stuff From Joelcandycanearter07
||  ||   `* Re: More Funny Stuff From JoelDFS
||  ||    `* Re: More Funny Stuff From Joelcandycanearter07
||  |+- Re: More Funny Stuff From The Joke Pythonrbowman
||  |`- Re: More Funny Stuff From The Joke PythonLawrence D'Oliveiro
||  `* Re: More Funny Stuff From The Joke PythonStéphane CARPENTIER
|`* Re: More Funny Stuff From The Joke PythonDFS
+* Re: More Funny Stuff From The Joke Pythonvallor
+* Re: More Funny Stuff From Feeb's LifeDFS
+* Re: More Funny Stuff From The Joke Pythonrbowman
+- Re: More Funny Stuff From The Joke PythonLawrence D'Oliveiro
`- Re: More Funny Stuff From The Joke PythonStéphane CARPENTIER

Pages:1234567
Subject: Re: More Funny Stuff From The Joke Python
From: Stéphane CARPENTIER
Newsgroups: comp.os.linux.advocacy
Organization: Mulots' Killer
Date: Fri, 14 Jun 2024 16:35 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.szaf.org!3.eu.feeder.erje.net!feeder.erje.net!fdn.fr!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed4-a.proxad.net!nnrp6-1.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: More Funny Stuff From The Joke Python
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<v423vs$2jq21$4@dont-email.me> <ea696j13g2marfhuu4a9rfvliv735vqhrg@4ax.com>
<v42ul9$2u4lh$12@dont-email.me>
<slrnv6f5vq.2hg.candycanearter07@candydeb.host.invalid>
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: 14 Jun 2024 16:35:30 GMT
Lines: 22
Message-ID: <666c7152$0$7519$426a74cc@news.free.fr>
NNTP-Posting-Date: 14 Jun 2024 18:35:30 CEST
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1718382930 news-1.free.fr 7519 78.201.248.7:48400
X-Complaints-To: abuse@proxad.net
View all headers

Le 11-06-2024, candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> a écrit :
> Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 00:57 this Sunday (GMT):
>> On Sat, 08 Jun 2024 13:49:45 -0400, Joel wrote:
>>
>>> ... I just wonder what it would take to start from nothing.
>>
>> One way to find out: <https://www.linuxfromscratch.org/>.
>
>
> Isn't LFS somewhat difficult? You'd have to have some dedication to see
> it though to the end.

It's not that difficult. But you need plainty of time because it's very
long. And then, you'll have nothing usable (the reason behind BLFS). And
then it will take a lot of time for any upgrade.

Said differently, LFS if a good way to learn, not to manage your own
computer.

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

Subject: Re: More Funny Stuff From The Joke Python
From: Stéphane CARPENTIER
Newsgroups: comp.os.linux.advocacy
Organization: Mulots' Killer
Date: Fri, 14 Jun 2024 16:42 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp6-1.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: More Funny Stuff From The Joke Python
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
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: 14 Jun 2024 16:42:33 GMT
Lines: 14
Message-ID: <666c72f9$0$7519$426a74cc@news.free.fr>
NNTP-Posting-Date: 14 Jun 2024 18:42:33 CEST
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1718383353 news-1.free.fr 7519 78.201.248.7:48400
X-Complaints-To: abuse@proxad.net
View all headers

Le 08-06-2024, rbowman <bowman@montana.com> a écrit :
>
> So, what do you want to do? Of course you can do all of the above with C,
> C++, or another language but you may be writing more code and doing more
> debugging. If the Python prototype is too slow you can rewrite it.

Like one said:
- with C, you have a million ways to do one thing,
- with python, you have a million libraries to do one thing,
- with C++, you have a million ways to screw things up.

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

Subject: Re: More Funny Stuff From Joel
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Fri, 14 Jun 2024 16:46 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: More Funny Stuff From Joel
Date: 14 Jun 2024 16:46:40 GMT
Lines: 32
Message-ID: <ld3affFja99U1@mid.individual.net>
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<slrnv6f9fl.2hg.candycanearter07@candydeb.host.invalid>
<66687931$0$3747328$882e4bbb@reader.netnews.com>
<slrnv6ig9v.13pi.candycanearter07@candydeb.host.invalid>
<66699f8c$0$966$882e4bbb@reader.netnews.com>
<slrnv6l2vk.24pu.candycanearter07@candydeb.host.invalid>
<666b0963$0$985$882e4bbb@reader.netnews.com>
<ld0olnF7p22U1@mid.individual.net>
<666b43c2$0$966$882e4bbb@reader.netnews.com>
<ld19dnFa6idU1@mid.individual.net>
<666c4979$0$2363133$882e4bbb@reader.netnews.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net gpQAZMKaTcg9by9sfkpDyggwqnJ9Z+TYBH+ElzzHrZ4EM7Yffr
Cancel-Lock: sha1:+UHXlXbfjaKpBSqy93pAG5R920s= sha256:Yna7ibnPXCB9XP01H9gPJhsSilv9RpU8+qkPOs/dLgc=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Fri, 14 Jun 2024 09:45:29 -0400, DFS wrote:

> On 6/13/2024 6:16 PM, rbowman wrote:
>> On Thu, 13 Jun 2024 15:08:50 -0400, DFS wrote:
>>
>>> - malloc the md_count[] array to size 9 (because there
>>> are only 9 unique values in the size 10 dataset)
>>
>> What memory location is md_count[9]++ incrementing?
>
> 9 is the correct size for md_count[], but then you have to play games
> with index addressing and looping.
>
> So malloc() to size 10 and life's good.

Right. Did you play games with the index when you malloc'd 9?

>> For that matter what are the initial values of md_count[0] through
>> md_count[8] ?
>
> 0.

man malloc

The malloc() function allocates size bytes and returns a pointer to the
allocated memory. The memory is not initialized. If size is 0, then
malloc() returns either NULL, or a unique pointer value that can
later be successfully passed to free().

'The memory is not initialized.' is underlined on the man page. Some days
you get lucky.

Subject: Re: More Funny Stuff From Joel
From: Stéphane CARPENTIER
Newsgroups: comp.os.linux.advocacy
Organization: Mulots' Killer
Date: Fri, 14 Jun 2024 17:00 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!fdn.fr!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed2-b.proxad.net!nnrp6-1.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: More Funny Stuff From Joel
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.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: 14 Jun 2024 17:00:59 GMT
Lines: 13
Message-ID: <666c774b$0$7519$426a74cc@news.free.fr>
NNTP-Posting-Date: 14 Jun 2024 19:00:59 CEST
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1718384459 news-1.free.fr 7519 78.201.248.7:48400
X-Complaints-To: abuse@proxad.net
View all headers

Le 09-06-2024, Tyrone <none@none.none> a écrit :
> On Jun 8, 2024 at 7:42:16 PM EDT, "Joel" <joelcrump@gmail.com> wrote:
>
>> What purpose does coding that serve? I can code, I choose not to
>> because everything's already been coded, by someone else.
>
> What an extremely naive thing to say.

You seem surprised. Is it the first time you read a message from Joel?

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

Subject: Re: More Funny Stuff From Joel
From: Stéphane CARPENTIER
Newsgroups: comp.os.linux.advocacy
Organization: Mulots' Killer
Date: Fri, 14 Jun 2024 17:27 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed3-a.proxad.net!nnrp4-1.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: More Funny Stuff From Joel
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com>
<slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid>
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: 14 Jun 2024 17:27:00 GMT
Lines: 49
Message-ID: <666c7d64$0$8224$426a34cc@news.free.fr>
NNTP-Posting-Date: 14 Jun 2024 19:27:00 CEST
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1718386020 news-4.free.fr 8224 78.201.248.7:44002
X-Complaints-To: abuse@proxad.net
View all headers

Le 11-06-2024, candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> a écrit :
> Tyrone <none@none.none> wrote at 02:32 this Sunday (GMT):
>>
>> Granted, all of the alleged "coding challenges" that Feeb presents here HAVE
>> already been coded. But that's what happens when you think that "All
>> programming is about solving trivial math problems".
>
> A lot of times, programming involves connecting "trivial problems in an
> advanced way".

Feeb is not DFS. Both are funny, but not in the same way. DFS keep his
pseudo. Feeb changes it a lot of times: from Fabian Russel to Diego
Garcia including Nux Vomica among others. DFS is a Windows fanboy who
knows about programming, Linux and Windows. Feeb knows nothing about
everything, he's a Windows fanboy pretending being a Linux fanboy who
tries to make believe every Linux fanboys are first class morons as him.

> Sorting a list of names would be needed for a dropdown,
> letter or word counts are usually used to limit how much text a user can
> input, and averages are useful for any kind of data summary.

And here, it's only an English forum. When you want to sort the names of
your CD albums, it can become tricky. For example how do you take care
of the letters with diacritics signs? How do you include Cyrillic
letters ? Or the Arabic or Jews letter which are written from right to
left? You can have a lot of fun with something which looks like a simple
problem.

>> In the real world, very few problems have "already been coded". Which is why
>> people who proclaim that "AI" is going to make programmers "obsolete" have no
>> GD clue what they are talking about.
>
> Yeah, AI is very very annoying and not a good replacement for coders.

No, AI is not boring, what's done with it is impressive. Of course, if
you try to do things for which it was not designed, it wont work. It's
like trying to cross the ocean with a car: it will drown. It doesn't
mean the cars are useless, it means you need to use them for what they
were designed.

It's the same with AI. For now, they can't replace programmers, it
doesn't mean they are useless. For things like translation, they are
impressive. For programmers, they can be used as help, for example if
you don't remember an algorithm. They can't correct a bug, they can
program some little scripts.

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

Subject: Re: More Funny Stuff From Joel
From: DFS
Newsgroups: comp.os.linux.advocacy
Date: Fri, 14 Jun 2024 18:14 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!s1-1.netnews.com!news-out.netnews.com!postmaster.netnews.com!us12.netnews.com!not-for-mail
X-Trace: DXC=e<dH:5T6lO<2Z65?TJZPK3HWonT5<]0T=Q;nb^V>PUf6`L[ofA1LK41L]Xbg<imJ24W8k6ImmjiU35e_Ug310fh2WjB\<Me8\A7@GM\IYO6WZ4>Oa:X5b?f88
X-Complaints-To: support@blocknews.net
Date: Fri, 14 Jun 2024 14:14:33 -0400
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: More Funny Stuff From Joel
Newsgroups: comp.os.linux.advocacy
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<slrnv6f9fl.2hg.candycanearter07@candydeb.host.invalid>
<66687931$0$3747328$882e4bbb@reader.netnews.com>
<slrnv6ig9v.13pi.candycanearter07@candydeb.host.invalid>
<66699f8c$0$966$882e4bbb@reader.netnews.com>
<slrnv6l2vk.24pu.candycanearter07@candydeb.host.invalid>
<666b0963$0$985$882e4bbb@reader.netnews.com>
<ld0olnF7p22U1@mid.individual.net>
<666b43c2$0$966$882e4bbb@reader.netnews.com>
<ld19dnFa6idU1@mid.individual.net>
<666c4979$0$2363133$882e4bbb@reader.netnews.com>
<ld3affFja99U1@mid.individual.net>
Content-Language: en-US
From: nospam@dfs.com (DFS)
In-Reply-To: <ld3affFja99U1@mid.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 98
Message-ID: <666c8888$0$7063$882e4bbb@reader.netnews.com>
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1718388872 reader.netnews.com 7063 127.0.0.1:52633
X-Received-Bytes: 4130
View all headers

On 6/14/2024 12:46 PM, rbowman wrote:
> On Fri, 14 Jun 2024 09:45:29 -0400, DFS wrote:
>
>> On 6/13/2024 6:16 PM, rbowman wrote:
>>> On Thu, 13 Jun 2024 15:08:50 -0400, DFS wrote:
>>>
>>>> - malloc the md_count[] array to size 9 (because there
>>>> are only 9 unique values in the size 10 dataset)
>>>
>>> What memory location is md_count[9]++ incrementing?
>>
>> 9 is the correct size for md_count[], but then you have to play games
>> with index addressing and looping.
>>
>> So malloc() to size 10 and life's good.
>
> Right. Did you play games with the index when you malloc'd 9?

I did not. So I got a little lucky.

Kind of related: Here's how python checks array bound every time the
array is accessed:

int
PyList_SetItem(PyObject *op, Py_ssize_t i,
PyObject *newitem)
{ PyObject **p;
if (!PyList_Check(op)) {
Py_XDECREF(newitem);
PyErr_BadInternalCall();
return -1;
}
if (!valid_index(i, Py_SIZE(op))) {
Py_XDECREF(newitem);
PyErr_SetString(PyExc_IndexError,
"list assignment index out of range");
return -1;
}
p = ((PyListObject *)op) -> ob_item + i;
Py_XSETREF(*p, newitem);
return 0;
}

Python-3.11.0.tgz.2\Python-3.11.0\Objects\listobject.c
line 257

Which is another thing that contributes to its slowness vs C.

>>> For that matter what are the initial values of md_count[0] through
>>> md_count[8] ?
>>
>> 0.

Lucky.

> man malloc
>
> The malloc() function allocates size bytes and returns a pointer to the
> allocated memory. The memory is not initialized. If size is 0, then
> malloc() returns either NULL, or a unique pointer value that can
> later be successfully passed to free().
>
> 'The memory is not initialized.' is underlined on the man page. Some days
> you get lucky.

Yep. In the big stats program I posted I messed around with using a
malloced array of 20,000. It ran a bunch of times just fine, but all of
a sudden I got nonsense results.

So I filled it with 0s before using it, and no problem.

But calloc saves a line of code, so that's what I used.

On geeksforgeeks a calloc() example is:

int* ptr;
ptr = (int*)calloc(n, sizeof(int));

Isn't the 2nd int* redundant?

I just used:

int *ptr = calloc(n, sizeof(int));

and it seems fine.

Subject: Re: More Funny Stuff From Joel
From: Joel
Newsgroups: comp.os.linux.advocacy
Date: Fri, 14 Jun 2024 19:56 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-4.nntp.ord.giganews.com!nntp.giganews.com!news-out.netnews.com!postmaster.netnews.com!us11.netnews.com!not-for-mail
X-Trace: DXC=939NB_E16TXaYSTYGbe1bRHWonT5<]0T]djI?Uho:Xe[lL51CP6LDL\95GMl]75=8Q]6]5M6nRTh[7@<I4Rf8bAQl3[[dIf;_mV2Do^b@=QS7W
X-Complaints-To: support@blocknews.net
From: joelcrump@gmail.com (Joel)
Newsgroups: comp.os.linux.advocacy
Subject: Re: More Funny Stuff From Joel
Date: Fri, 14 Jun 2024 15:56:26 -0400
Message-ID: <q18p6j5ckngee5o3a34aido1k855a2blv1@4ax.com>
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com> <2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com> <6664e989$0$2363151$882e4bbb@reader.netnews.com> <v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com> <Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com> <666c774b$0$7519$426a74cc@news.free.fr>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
OS: Linux Mint 21.3 Cinnamon, with Wine 9.0 for WinAPI
Lines: 31
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1718394986 reader.netnews.com 2363133 127.0.0.1:55779
View all headers

Stéphane CARPENTIER <sc@fiat-linux.fr> wrote:
>Le 09-06-2024, Tyrone <none@none.none> a écrit :
>> On Jun 8, 2024 at 7:42:16?PM EDT, "Joel" <joelcrump@gmail.com> wrote:
>>
>>> What purpose does coding that serve? I can code, I choose not to
>>> because everything's already been coded, by someone else.
>>
>> What an extremely naive thing to say.
>
>You seem surprised. Is it the first time you read a message from Joel?

I may not have the IT skills you have, but I know my way around
computers, everything I need to do has been coded by someone, I never
find that I would need to code myself.

--
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.

Subject: Re: More Funny Stuff From Joel
From: Farley Flud
Newsgroups: comp.os.linux.advocacy
Organization: UsenetExpress - www.usenetexpress.com
Date: Fri, 14 Jun 2024 20:01 UTC
References: 1 2 3 4 5 6 7
From: ff@linux.rocks (Farley Flud)
Subject: Re: More Funny Stuff From Joel
Newsgroups: comp.os.linux.advocacy
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com> <2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com> <6664e989$0$2363151$882e4bbb@reader.netnews.com> <v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com> <Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com> <slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid> <666c7d64$0$8224$426a34cc@news.free.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 29
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!panix!weretis.net!feeder9.news.weretis.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Fri, 14 Jun 2024 20:01:03 +0000
Nntp-Posting-Date: Fri, 14 Jun 2024 20:01:03 +0000
X-Received-Bytes: 1721
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Message-Id: <17d8f76338fd2172$286715$550379$802601b3@news.usenetexpress.com>
View all headers

On 14 Jun 2024 17:27:00 GMT, Stéphane CARPENTIER wrote:

>
> And here, it's only an English forum. When you want to sort the names of
> your CD albums, it can become tricky. For example how do you take care
> of the letters with diacritics signs? How do you include Cyrillic
> letters ? Or the Arabic or Jews letter which are written from right to
> left? You can have a lot of fun with something which looks like a simple
> problem.
>

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

To every COMPETENT C PROGRAMMER (that's not you) it is a VERY SIMPLE
problem.

But just to demonstrate your idiocy, I shall not describe the routine
process. I'll allow you to "solve the problem."

IOW, I'll allow you to fail miserably at a task that is extraordinarily
simple to COMPETENT C PROGRAMMERS.

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

Of course, there are no competent C programmers on this group (aside from
me) that could assist you.

This group is plagued with pathetic C poseurs.

Subject: Re: More Funny Stuff From Joel
From: Stéphane CARPENTIER
Newsgroups: comp.os.linux.advocacy
Organization: Mulots' Killer
Date: Fri, 14 Jun 2024 20:38 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed4-a.proxad.net!nnrp6-1.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: More Funny Stuff From Joel
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com>
<666c774b$0$7519$426a74cc@news.free.fr>
<q18p6j5ckngee5o3a34aido1k855a2blv1@4ax.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: 14 Jun 2024 20:38:47 GMT
Lines: 24
Message-ID: <666caa57$0$7531$426a74cc@news.free.fr>
NNTP-Posting-Date: 14 Jun 2024 22:38:47 CEST
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1718397527 news-2.free.fr 7531 78.201.248.7:45302
X-Complaints-To: abuse@proxad.net
View all headers

Le 14-06-2024, Joel <joelcrump@gmail.com> a écrit :
> Stéphane CARPENTIER <sc@fiat-linux.fr> wrote:
>>Le 09-06-2024, Tyrone <none@none.none> a écrit :
>>> On Jun 8, 2024 at 7:42:16?PM EDT, "Joel" <joelcrump@gmail.com> wrote:
>>>
>>>> What purpose does coding that serve? I can code, I choose not to
>>>> because everything's already been coded, by someone else.
>>>
>>> What an extremely naive thing to say.
>>
>>You seem surprised. Is it the first time you read a message from Joel?
>
>
> I may not have the IT skills you have, but I know my way around
> computers, everything I need to do has been coded by someone, I never
> find that I would need to code myself.

It's not about the technical skills. It's about the naive way you see
things. If everything had already been coded, there would be neither new
programs, nor improvements of old programs. Which is just plain wrong.

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

Subject: Re: More Funny Stuff From Joel
From: Stéphane CARPENTIER
Newsgroups: comp.os.linux.advocacy
Organization: Mulots' Killer
Date: Fri, 14 Jun 2024 20:55 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.szaf.org!3.eu.feeder.erje.net!feeder.erje.net!npeer.as286.net!npeer-ng0.as286.net!proxad.net!feeder1-1.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp6-1.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: More Funny Stuff From Joel
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com>
<slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid>
<666c7d64$0$8224$426a34cc@news.free.fr>
<17d8f76338fd2172$286715$550379$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: 14 Jun 2024 20:55:27 GMT
Lines: 58
Message-ID: <666cae3f$0$7535$426a74cc@news.free.fr>
NNTP-Posting-Date: 14 Jun 2024 22:55:27 CEST
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1718398527 news-3.free.fr 7535 78.201.248.7:58216
X-Complaints-To: abuse@proxad.net
View all headers

Le 14-06-2024, Farley Flud <ff@linux.rocks> a écrit :
> On 14 Jun 2024 17:27:00 GMT, Stéphane CARPENTIER wrote:
>
>>
>> And here, it's only an English forum. When you want to sort the names of
>> your CD albums, it can become tricky. For example how do you take care
>> of the letters with diacritics signs? How do you include Cyrillic
>> letters ? Or the Arabic or Jews letter which are written from right to
>> left? You can have a lot of fun with something which looks like a simple
>> problem.
>
> To every COMPETENT C PROGRAMMER (that's not you)

That's not you neither. We are even on this point.

> it is a VERY SIMPLE problem.

Why? Is there a library like in python? So, either you can do it all by
yourself and it's far from that simple. Or, you are using a library to do
it for you and you are just like any other python programmer. It's your
choice. I'll have fun with any choice you could make. i can't believe
you could come with a third possibility.

Make me laugh, I'm waiting for your answer.

> But just to demonstrate your idiocy, I shall not describe the routine
> process. I'll allow you to "solve the problem."

Of course. As I wrote just before, you are not a competent programmer, so
you have no clue for a way to do it. And most importantly, you neither
found it with google (which is your only programming skill).

> IOW, I'll allow you to fail miserably at a task that is extraordinarily
> simple to COMPETENT C PROGRAMMERS.

OK, I failed. So now, if you dare, provide me the answer. I'm pretty
sure you can't and we'll both fail on this.

> Of course, there are no competent C programmers on this group (aside from
> me) that could assist you.

In fact, there are competent C programmers here. I'm not one of them
and I never claimed to be. You are not one of them unlike your claims.

> This group is plagued with pathetic C poseurs.

You are the only one C poseur here, but you are not pathetic, you are
really funny. And the competent C programmers don't need to give me the
answer because :
- I don't need it, I know the difficulties and that's enough for me,
- the issue is the same, disregarding the programming language,
- they have better things to do,
- if they give me the answer, you would copy/paste it, claiming it your
own and they don't want that,

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

Subject: Re: More Funny Stuff From Joel
From: DFS
Newsgroups: comp.os.linux.advocacy
Date: Fri, 14 Jun 2024 21:05 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-4.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.netnews.com!postmaster.netnews.com!us14.netnews.com!not-for-mail
X-Trace: DXC=iB2eG[A6ni@lGci3SDSG>CHWonT5<]0TMQ;nb^V>PUfF=AnO\FUBY[@nF54O@^\1?DbBPATUh<fQHXfi2cY2CcLIQUE_nj5jP;@LPH8bHEb=:J
X-Complaints-To: support@blocknews.net
Date: Fri, 14 Jun 2024 17:05:34 -0400
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: More Funny Stuff From Joel
Newsgroups: comp.os.linux.advocacy
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com>
<slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid>
<666c7d64$0$8224$426a34cc@news.free.fr>
<17d8f76338fd2172$286715$550379$802601b3@news.usenetexpress.com>
Content-Language: en-US
From: nospam@dfs.com (DFS)
In-Reply-To: <17d8f76338fd2172$286715$550379$802601b3@news.usenetexpress.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 29
Message-ID: <666cb09d$0$987$882e4bbb@reader.netnews.com>
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1718399133 reader.netnews.com 987 127.0.0.1:43711
View all headers

On 6/14/2024 4:01 PM, Lying Larry Pietraskiewicz spewed his usual bullshit:

> This group is plagued with pathetic C poseurs.

There is NOBODY here that's nearly the liar and programming/IT fraud you
are:

"C Programmer Extraordinaire"

"Then I'd write it in C, using a reentrant lexical parser
and parallel processing."

"The GIMP people want me to implement netpbm HDR formats. The
ImageMagick folks want me to implement AI. Give this poor boy
a fucking break!"

"I am heavily involved in virtually ALL AREAS of contemporary
computing"

LMFAO! That last one takes the cake.

As deluded and dishonest as you are, you still can't hold a candle to
Rex Ballard.

Subject: Re: More Funny Stuff From Joel
From: Farley Flud
Newsgroups: comp.os.linux.advocacy
Organization: UsenetExpress - www.usenetexpress.com
Date: Fri, 14 Jun 2024 21:20 UTC
References: 1 2 3 4 5 6 7 8 9
From: ff@linux.rocks (Farley Flud)
Subject: Re: More Funny Stuff From Joel
Newsgroups: comp.os.linux.advocacy
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com> <2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com> <6664e989$0$2363151$882e4bbb@reader.netnews.com> <v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com> <Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com> <slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid> <666c7d64$0$8224$426a34cc@news.free.fr> <17d8f76338fd2172$286715$550379$802601b3@news.usenetexpress.com> <666cae3f$0$7535$426a74cc@news.free.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 37
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!panix!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Fri, 14 Jun 2024 21:20:30 +0000
Nntp-Posting-Date: Fri, 14 Jun 2024 21:20:30 +0000
X-Received-Bytes: 1777
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Message-Id: <17d8fbb90f2fc9f2$336065$705664$802601b3@news.usenetexpress.com>
View all headers

On 14 Jun 2024 20:55:27 GMT, Stéphane CARPENTIER wrote:

>
> OK, I failed. So now, if you dare, provide me the answer.
>

Good. You admit that you are a failure. I will reward you,
like a dog, for your admission with the following treat:

Unicode normalization:

http://www.unicode.org/reports/tr15/

GNU/Linux provides the incomparable "libunistring" that every
competent C programmer should have in his toolbox:

https://www.gnu.org/software/libunistring/

>
> In fact, there are competent C programmers here.
>

There are *no* competent C programmers here (except little ol'
me).

Example: no one here (except me) could ever use C to do the simple
task of error-free floating point summation.

Another example: no one here (except me) could ever exploit the
hardware "instruction pipeline" of Intel and AMD processors using
C code.

Other examples are endless.

Nothing here (aside from me) except C poseurs.

Subject: Re: More Funny Stuff From Joel
From: DFS
Newsgroups: comp.os.linux.advocacy
Date: Fri, 14 Jun 2024 23:10 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-2.nntp.ord.giganews.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.netnews.com!postmaster.netnews.com!us14.netnews.com!not-for-mail
X-Trace: DXC=daBT@5]79A>XdeADXA:Ue6HWonT5<]0T=Q;nb^V>PUf6=AnO\FUBY[0nF54O@^\1?4_og>=_9<Rd9ZXMZ9Rc<mg5nk9`jfQW@>=dDioXmM8L11OXeKkS2`?j9
X-Complaints-To: support@blocknews.net
Date: Fri, 14 Jun 2024 19:10:10 -0400
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
From: nospam@dfs.com (DFS)
Subject: Re: More Funny Stuff From Joel
Newsgroups: comp.os.linux.advocacy
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com>
<slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid>
<666c7d64$0$8224$426a34cc@news.free.fr>
<17d8f76338fd2172$286715$550379$802601b3@news.usenetexpress.com>
<666cae3f$0$7535$426a74cc@news.free.fr>
<17d8fbb90f2fc9f2$336065$705664$802601b3@news.usenetexpress.com>
Content-Language: en-US
In-Reply-To: <17d8fbb90f2fc9f2$336065$705664$802601b3@news.usenetexpress.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 57
Message-ID: <666ccdd0$0$970$882e4bbb@reader.netnews.com>
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1718406608 reader.netnews.com 970 127.0.0.1:58485
View all headers

On 6/14/2024 5:20 PM, Farley Flud wrote:
> On 14 Jun 2024 20:55:27 GMT, Stéphane CARPENTIER wrote:

>> In fact, there are competent C programmers here.
>>
>
> There are *no* competent C programmers here (except little ol'
> me).

You're a joke.

> Example: no one here (except me) could ever use C to do the simple
> task of error-free floating point summation.

You can't do it, either. ALL you could EVER deliver is a plagiarized
example from the GMP documentation.

> Another example: no one here (except me) could ever exploit the
> hardware "instruction pipeline" of Intel and AMD processors using
> C code.

Another vague claim you'll NEVER deliver on.

Melzzzzz is gone, but he whipped your silly ass up one side and down the
other when it came to assembler.

> Other examples are endless.

So are your ridiculous lies and boasts.

> Nothing here (aside from me) except C poseurs.

You are NOT a competent programmer, in ANY language.

* you ran away screaming from many simple string challenges in C.

* you ran away mewling from a simple directory reading challenge in C.

* you ran away wimpering from a challenge to summarize .csv files in C.

* you ran away crying from a challenge to download the latest
['tar.gz', 'tar.xz', 'tar.bz2', 'tar.lz', '.zip'] files from each
directory at http://mirror.rit.edu/gnu/

You're a lying, blustering fraud.

STFU and pay Mom the rent.

Subject: Re: More Funny Stuff From Joel
From: Stéphane CARPENTIER
Newsgroups: comp.os.linux.advocacy
Organization: Mulots' Killer
Date: Fri, 14 Jun 2024 23:46 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed4-a.proxad.net!nnrp6-1.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: More Funny Stuff From Joel
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com>
<slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid>
<666c7d64$0$8224$426a34cc@news.free.fr>
<17d8f76338fd2172$286715$550379$802601b3@news.usenetexpress.com>
<666cae3f$0$7535$426a74cc@news.free.fr>
<17d8fbb90f2fc9f2$336065$705664$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: 14 Jun 2024 23:46:05 GMT
Lines: 67
Message-ID: <666cd63d$0$7528$426a34cc@news.free.fr>
NNTP-Posting-Date: 15 Jun 2024 01:46:05 CEST
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1718408765 news-4.free.fr 7528 78.201.248.7:59380
X-Complaints-To: abuse@proxad.net
View all headers

Le 14-06-2024, Farley Flud <ff@linux.rocks> a écrit :
> On 14 Jun 2024 20:55:27 GMT, Stéphane CARPENTIER wrote:
>
>>
>> OK, I failed. So now, if you dare, provide me the answer.
>>
>
> Good. You admit that you are a failure. I will reward you,
> like a dog, for your admission with the following treat:
>
> Unicode normalization:
>
> http://www.unicode.org/reports/tr15/
>
> GNU/Linux provides the incomparable "libunistring" that every
> competent C programmer should have in his toolbox:
>
> https://www.gnu.org/software/libunistring/

You granted me with the best of the both answers available to you. You
still can dive even when you are at the bottom. It's really impressive.
So like any python programmer you despise, you rely heavily on
libraries. But unlike them, you are unable to understand their purpose.
I'm speaking about sorting characters, not about the way to recognise
them. For example is "Γ" before or after "G" which is before or after
"g"? And then, you'll have the Chinese characters to sort, how do you do
it?

>> In fact, there are competent C programmers here.
>>
>
> There are *no* competent C programmers here (except little ol'
> me).

Your sentence is easy to correct in a logical syntax: you just put a
"not" before and it's done. The issue is not only about technical skills
but about understanding the issues to solve. And you lack both of the
required qualities.

> Example: no one here (except me) could ever use C to do the simple
> task of error-free floating point summation.

Mouarf.

> Another example: no one here (except me) could ever exploit the
> hardware "instruction pipeline" of Intel and AMD processors using
> C code.

Mouarf. Again.

> Other examples are endless.

You have examples, when you dream you provided a solution, but for this
specific case, you provided nothing.

> Nothing here (aside from me) except C poseurs.

You provided me with a link toward an unrelated library. I'm still
waiting for the answer you will never been able to give: how do you sort
characters in mixed languages?

So for me, you are only a C poseur. It's not enough to have a link
toward a library, it's important to be able to use it.

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

Subject: Re: More Funny Stuff From Joel
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Sat, 15 Jun 2024 02:33 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: More Funny Stuff From Joel
Date: 15 Jun 2024 02:33:58 GMT
Lines: 68
Message-ID: <ld4cslFnt9iU1@mid.individual.net>
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<slrnv6f9fl.2hg.candycanearter07@candydeb.host.invalid>
<66687931$0$3747328$882e4bbb@reader.netnews.com>
<slrnv6ig9v.13pi.candycanearter07@candydeb.host.invalid>
<66699f8c$0$966$882e4bbb@reader.netnews.com>
<slrnv6l2vk.24pu.candycanearter07@candydeb.host.invalid>
<666b0963$0$985$882e4bbb@reader.netnews.com>
<ld0olnF7p22U1@mid.individual.net>
<666b43c2$0$966$882e4bbb@reader.netnews.com>
<ld19dnFa6idU1@mid.individual.net>
<666c4979$0$2363133$882e4bbb@reader.netnews.com>
<ld3affFja99U1@mid.individual.net>
<666c8888$0$7063$882e4bbb@reader.netnews.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net /8ru+c61Pm34ZgOBQ34z9AMcGfXFZANffZbXjknK7FupgXMphx
Cancel-Lock: sha1:n6xRNT96YJA6VLmxjrQ+NFBeK3M= sha256:MydFLPr0JNY0q0Ocfgy9MHnfvPttliEHiDRAsF2e5dI=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Fri, 14 Jun 2024 14:14:33 -0400, DFS wrote:

> Yep. In the big stats program I posted I messed around with using a
> malloced array of 20,000. It ran a bunch of times just fine, but all of
> a sudden I got nonsense results.
>
> So I filled it with 0s before using it, and no problem.
>
> But calloc saves a line of code, so that's what I used.

Yeah, that's the joy of undefined behavior. In the original program with
'int mode' not initialized it segfaulted pretty reliably on
'md_count[mode]' if 'mode' happened to be a garbage number. It *might*
have been 0 for a dew runs. 'double mean' was uninitialized but on a few
runs it was 0.0. Maybe the compiler was feeling nice but I wouldn't bet on
it. If it wasn't 0.0, 'mean += nums[len];' wouldn't blow up but it would
be bogus.

'int md_count[COUNT_CNT];' was another uninitialized one. I printed it out
and some elements were 0, some were bogus which wiped out the mode logic
even with mode initialized.

Luckily, it did have 10 elements although the 0th would never be used. If
it were md_count[COUNT_CNT-1] it could potentially get interesting. It's
on the stack so md_count[9] possibly could corrupt something else on the
stack like 'len'. That's a real crap shoot that depends on how the stack
frame was built and what is adjacent.


> On geeksforgeeks a calloc() example is:
>
> int* ptr;
> ptr = (int*)calloc(n, sizeof(int));
>
> Isn't the 2nd int* redundant?

Most C compilers let it slide but malloc, calloc, and realloc return void
pointers. C++ doesn't.

$ g++ -o mean mean.c
mean.c: In function ‘int main()’:
mean.c:15:21: error: invalid conversion from ‘void*’ to ‘int*’ [-
fpermissive]
15 | ptr = calloc(COUNT_CNT, sizeof(int));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*

If you work with both languages and/or different compilers you get into
the habit of explicitly casting the return. A C++ purist would frown on
using calloc or malloc although you certainly can. 'new' probably uses one
or the other under the hood but you don't want to mix and match free and
delete.

Going the other way C++ allowed variable declarations outside of blocks. C
finally caught up, I forget which version, but I would follow the C rule
in C++ although I really prefer declaring a variable close to where you're
going to use it.

Subject: Re: More Funny Stuff From Joel
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Sat, 15 Jun 2024 06:20 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: More Funny Stuff From Joel
Date: Sat, 15 Jun 2024 06:20:03 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 29
Message-ID: <slrnv6qck0.3lh6.candycanearter07@candydeb.host.invalid>
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com>
<666c774b$0$7519$426a74cc@news.free.fr>
<q18p6j5ckngee5o3a34aido1k855a2blv1@4ax.com>
<666caa57$0$7531$426a74cc@news.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jun 2024 08:20:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="29f7004934c228c80d1456d18f79c0a5";
logging-data="3521233"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dY9bIUsj7xajDOOoRKQ8MTP7diKiqFnbn7CECxZIi1A=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:baHU9/wlGxjKofjxHVPQ+GbSqqg=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Stéphane CARPENTIER <sc@fiat-linux.fr> wrote at 20:38 this Friday (GMT):
> Le 14-06-2024, Joel <joelcrump@gmail.com> a écrit :
>> Stéphane CARPENTIER <sc@fiat-linux.fr> wrote:
>>>Le 09-06-2024, Tyrone <none@none.none> a écrit :
>>>> On Jun 8, 2024 at 7:42:16?PM EDT, "Joel" <joelcrump@gmail.com> wrote:
>>>>
>>>>> What purpose does coding that serve? I can code, I choose not to
>>>>> because everything's already been coded, by someone else.
>>>>
>>>> What an extremely naive thing to say.
>>>
>>>You seem surprised. Is it the first time you read a message from Joel?
>>
>>
>> I may not have the IT skills you have, but I know my way around
>> computers, everything I need to do has been coded by someone, I never
>> find that I would need to code myself.
>
> It's not about the technical skills. It's about the naive way you see
> things. If everything had already been coded, there would be neither new
> programs, nor improvements of old programs. Which is just plain wrong.

Also, there's always going to be a small niche that you need filled. I
know I have a bunch of stuff I made after being frustrated I couldn't
find anything online (or by just cobbling together existing programs in
a bash script :P)
--
user <candycane> is generated from /dev/urandom

Subject: Re: More Funny Stuff From The Joke Python
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Sat, 15 Jun 2024 06:30 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: More Funny Stuff From The Joke Python
Date: Sat, 15 Jun 2024 06:30:03 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 26
Message-ID: <slrnv6qcru.3lh6.candycanearter07@candydeb.host.invalid>
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net> <666c72f9$0$7519$426a74cc@news.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jun 2024 08:30:04 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="29f7004934c228c80d1456d18f79c0a5";
logging-data="3524041"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZxrPJEFexvRm9gf3mPd87Nq+55h+burC1xH0ggIMwVw=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:UGbQH4xlhV1GnwyDbO1BIPU8bnI=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Stéphane CARPENTIER <sc@fiat-linux.fr> wrote at 16:42 this Friday (GMT):
> Le 08-06-2024, rbowman <bowman@montana.com> a écrit :
>>
>> So, what do you want to do? Of course you can do all of the above with C,
>> C++, or another language but you may be writing more code and doing more
>> debugging. If the Python prototype is too slow you can rewrite it.
>
> Like one said:
> - with C, you have a million ways to do one thing,

I think it's more that you just have the basic blocks and have to
abstract everything yourself more?

> - with python, you have a million libraries to do one thing,

Yeah, pypip hasa ton of seemingly redundant stuff, I won't argue there.
For most common functions, there's usually some kind of standard tho.

> - with C++, you have a million ways to screw things up.

YEAH. I still get confused between cstrings, std::string, and
std::string_view. And std::vector vs std::array vs c arrays. And all the
different kind of pointers. And
--
user <candycane> is generated from /dev/urandom

Subject: Re: More Funny Stuff From Joel
From: Farley Flud
Newsgroups: comp.os.linux.advocacy
Organization: UsenetExpress - www.usenetexpress.com
Date: Sat, 15 Jun 2024 09:07 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
From: ff@linux.rocks (Farley Flud)
Subject: Re: More Funny Stuff From Joel
Newsgroups: comp.os.linux.advocacy
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com> <2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com> <6664e989$0$2363151$882e4bbb@reader.netnews.com> <v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com> <Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com> <slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid> <666c7d64$0$8224$426a34cc@news.free.fr> <17d8f76338fd2172$286715$550379$802601b3@news.usenetexpress.com> <666cae3f$0$7535$426a74cc@news.free.fr> <17d8fbb90f2fc9f2$336065$705664$802601b3@news.usenetexpress.com> <666cd63d$0$7528$426a34cc@news.free.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 19
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sat, 15 Jun 2024 09:07:13 +0000
Nntp-Posting-Date: Sat, 15 Jun 2024 09:07:13 +0000
X-Received-Bytes: 1544
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Message-Id: <17d92249f228a4b8$338102$533214$802601b3@news.usenetexpress.com>
View all headers

On 14 Jun 2024 23:46:05 GMT, Stéphane CARPENTIER wrote:

> For example is "Γ" before or after "G" which is before or after
> "g"? And then, you'll have the Chinese characters to sort, how do you do
> it?
>

?????????

Is 10 before or after 3 which is before or after 5?

You are dumb! Characters are not sorted; numbers are sorted --
and this is the whole point of normalization.

Of course, Chinese chars are way down the list with American
ASCII at the very top. I suppose that, in time, the Chinese
will scrap Unicode and replace it with an encoding that has
their characters at the very top.

Subject: Re: More Funny Stuff From Joel
From: Joel
Newsgroups: comp.os.linux.advocacy
Date: Sat, 15 Jun 2024 10:05 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-4.nntp.ord.giganews.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.netnews.com!postmaster.netnews.com!us11.netnews.com!not-for-mail
X-Trace: DXC=1HnY9Z:f7HTShVMDdmZ2O_HWonT5<]0T]djI?Uho:Xe[lL51CP6LDL\95GMl]75=8QTbWEAa^@:KP7@<I4Rf8bAQl3[[dIf;_mV2Do^b@=QS7W
X-Complaints-To: support@blocknews.net
From: joelcrump@gmail.com (Joel)
Newsgroups: comp.os.linux.advocacy
Subject: Re: More Funny Stuff From Joel
Date: Sat, 15 Jun 2024 06:05:46 -0400
Message-ID: <mmpq6jduhalckccqh2586pfn8006b22399@4ax.com>
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com> <2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com> <6664e989$0$2363151$882e4bbb@reader.netnews.com> <v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com> <Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com> <666c774b$0$7519$426a74cc@news.free.fr> <q18p6j5ckngee5o3a34aido1k855a2blv1@4ax.com> <666caa57$0$7531$426a74cc@news.free.fr> <slrnv6qck0.3lh6.candycanearter07@candydeb.host.invalid>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
OS: Linux Mint 21.3 Cinnamon, with Wine 9.0 for WinAPI
Lines: 48
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1718445946 reader.netnews.com 2363141 127.0.0.1:58463
View all headers

candycanearter07 <candycanearter07@candycanearter07.nomail.afraid>
wrote:
>Stéphane CARPENTIER <sc@fiat-linux.fr> wrote at 20:38 this Friday (GMT):
>> Le 14-06-2024, Joel <joelcrump@gmail.com> a écrit :
>>> Stéphane CARPENTIER <sc@fiat-linux.fr> wrote:
>>>>Le 09-06-2024, Tyrone <none@none.none> a écrit :
>>>>> On Jun 8, 2024 at 7:42:16?PM EDT, "Joel" <joelcrump@gmail.com> wrote:
>>>>>
>>>>>> What purpose does coding that serve? I can code, I choose not to
>>>>>> because everything's already been coded, by someone else.
>>>>>
>>>>> What an extremely naive thing to say.
>>>>
>>>>You seem surprised. Is it the first time you read a message from Joel?
>>>
>>> I may not have the IT skills you have, but I know my way around
>>> computers, everything I need to do has been coded by someone, I never
>>> find that I would need to code myself.
>>
>> It's not about the technical skills. It's about the naive way you see
>> things. If everything had already been coded, there would be neither new
>> programs, nor improvements of old programs. Which is just plain wrong.
>
>Also, there's always going to be a small niche that you need filled. I
>know I have a bunch of stuff I made after being frustrated I couldn't
>find anything online (or by just cobbling together existing programs in
>a bash script :P)

I do understand that people have needs like that, and it's conceivable
I would too, it's not like I couldn't code, I just haven't encountered
that need apart from mIRC scripts in a long time.

--
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.

Subject: Re: More Funny Stuff From Joel
From: Andrzej Matuch
Newsgroups: comp.os.linux.advocacy
Organization: usenet-news.net
Date: Sat, 15 Jun 2024 10:17 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx04.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: More Funny Stuff From Joel
Newsgroups: comp.os.linux.advocacy
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com>
<slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid>
<666c7d64$0$8224$426a34cc@news.free.fr>
<17d8f76338fd2172$286715$550379$802601b3@news.usenetexpress.com>
<666cb09d$0$987$882e4bbb@reader.netnews.com>
Content-Language: en-US
From: andrzej@matu.ch (Andrzej Matuch)
In-Reply-To: <666cb09d$0$987$882e4bbb@reader.netnews.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 12
Message-ID: <lTdbO.9798$im%.6435@fx04.iad>
X-Complaints-To: abuse@usenet-news.net
NNTP-Posting-Date: Sat, 15 Jun 2024 10:17:53 UTC
Organization: usenet-news.net
Date: Sat, 15 Jun 2024 06:17:52 -0400
X-Received-Bytes: 1424
View all headers

On 2024-06-14 5:05 p.m., DFS wrote:

> As deluded and dishonest as you are, you still can't hold a candle to
> Rex Ballard.

You deadnamed the faggot! Transphobe! It's Debbie Ballard now and "she"
is stunning and brave.

--
Andrzej (Andre) Matuch
TG: @AndrzejMatuch
Catholic, paleoconservative, Christ is king.

Subject: Re: More Funny Stuff From Joel
From: Farley Flud
Newsgroups: comp.os.linux.advocacy
Organization: UsenetExpress - www.usenetexpress.com
Date: Sat, 15 Jun 2024 11:04 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
From: ff@linux.rocks (Farley Flud)
Subject: Re: More Funny Stuff From Joel
Newsgroups: comp.os.linux.advocacy
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com> <2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com> <6664e989$0$2363151$882e4bbb@reader.netnews.com> <v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com> <Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com> <slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid> <666c7d64$0$8224$426a34cc@news.free.fr> <17d8f76338fd2172$286715$550379$802601b3@news.usenetexpress.com> <666cae3f$0$7535$426a74cc@news.free.fr> <17d8fbb90f2fc9f2$336065$705664$802601b3@news.usenetexpress.com> <666cd63d$0$7528$426a34cc@news.free.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 49
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!panix!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sat, 15 Jun 2024 11:04:41 +0000
Nntp-Posting-Date: Sat, 15 Jun 2024 11:04:41 +0000
X-Received-Bytes: 1820
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Message-Id: <17d928b2f0308347$133573$675878$802601b3@news.usenetexpress.com>
View all headers

On 14 Jun 2024 23:46:05 GMT, Stéphane CARPENTIER wrote:

>
>>> In fact, there are competent C programmers here.
>>>
>>
>> There are *no* competent C programmers here (except little ol'
>> me).
>

C is a deceptively very simple language. It has very simple constructs
but to apply them properly requires profound technical insight.

Just one example:

The poseurs on this NG have actually posted C code similar to this:

===============
Begin shit code
===============

type1 function_1(...) {
....
}

type2 function_2(...) {
....
}

....
while(...) // loop over
{ ....
var1 = function_1(...);
....
var2 = function_2(...);
....
}

=============
End shit code
=============

Then the poseurs will fawn all over themselves for
a great coding job when their code, like the above,
is pure shit.

They can't see the glaringly obvious shitness.

Subject: Re: More Funny Stuff From Joel
From: Stéphane CARPENTIER
Newsgroups: comp.os.linux.advocacy
Organization: Mulots' Killer
Date: Sat, 15 Jun 2024 13:20 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed4-a.proxad.net!nnrp1-1.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: More Funny Stuff From Joel
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com>
<slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid>
<666c7d64$0$8224$426a34cc@news.free.fr>
<17d8f76338fd2172$286715$550379$802601b3@news.usenetexpress.com>
<666cae3f$0$7535$426a74cc@news.free.fr>
<17d8fbb90f2fc9f2$336065$705664$802601b3@news.usenetexpress.com>
<666cd63d$0$7528$426a34cc@news.free.fr>
<17d92249f228a4b8$338102$533214$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: 15 Jun 2024 13:20:32 GMT
Lines: 54
Message-ID: <666d9520$0$10522$426a34cc@news.free.fr>
NNTP-Posting-Date: 15 Jun 2024 15:20:32 CEST
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1718457632 news-4.free.fr 10522 78.201.248.7:59346
X-Complaints-To: abuse@proxad.net
View all headers

Le 15-06-2024, Farley Flud <ff@linux.rocks> a écrit :
> On 14 Jun 2024 23:46:05 GMT, Stéphane CARPENTIER wrote:
>
>> For example is "Γ" before or after "G" which is before or after
>> "g"? And then, you'll have the Chinese characters to sort, how do you do
>> it?
>>
>
> ?????????

I'm not surprised you didn't understood.

> Is 10 before or after 3 which is before or after 5?

The 3 comes always before 5. Now, for 10, it can comes before or after
3 depending on the way you are sorting. If you are sorting strings, it's
before, if you are sorting numbers, it's after. Now, I'm able to answer
your question. Are you able to answer mine?

> You are dumb!

Yes, I now that but it doesn't answer my question.

> Characters are not sorted; numbers are sorted --
> and this is the whole point of normalization.

I know you shit in your basement, so I believe everything's a mess in
your basement. But normal people in real life need to sort things to be
able to find them after. So, when they have books at home or when they
are going to a library to find books, they hope the books are sorted. If
they aren't sorted, they'll have to look at every book one by one to
find the one they want and it would take forever.

And it's easier to find books sorted by authors or by name than by
number of pages. I'm not sure you'd be able to understand why, but I
won't explain more the reason: you could try to find out by yourself,
but you would need to learn how to read first which would take forever.

So, your inability to find a way to sort characters doesn't prove there
is no need for it. It's something which can be solved, but not by you.

> Of course, Chinese chars are way down the list with American
> ASCII at the very top. I suppose that, in time, the Chinese
> will scrap Unicode and replace it with an encoding that has
> their characters at the very top.

Once again, you wrote something only to show you don't know anything
about it. Sorting Chinese characters has nothing in common with sorting
English characters, so one needs to find a way to sort them together.
It's not that obvious.

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

Subject: Re: More Funny Stuff From Joel
From: Stéphane CARPENTIER
Newsgroups: comp.os.linux.advocacy
Organization: Mulots' Killer
Date: Sat, 15 Jun 2024 13:27 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed1-b.proxad.net!nnrp1-1.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: More Funny Stuff From Joel
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<Y6WdndgvFc_bifj7nZ2dnZfqnPudnZ2d@supernews.com>
<slrnv6f9uh.2hg.candycanearter07@candydeb.host.invalid>
<666c7d64$0$8224$426a34cc@news.free.fr>
<17d8f76338fd2172$286715$550379$802601b3@news.usenetexpress.com>
<666cae3f$0$7535$426a74cc@news.free.fr>
<17d8fbb90f2fc9f2$336065$705664$802601b3@news.usenetexpress.com>
<666cd63d$0$7528$426a34cc@news.free.fr>
<17d928b2f0308347$133573$675878$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: 15 Jun 2024 13:27:36 GMT
Lines: 64
Message-ID: <666d96c8$0$10516$426a34cc@news.free.fr>
NNTP-Posting-Date: 15 Jun 2024 15:27:36 CEST
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1718458056 news-4.free.fr 10516 78.201.248.7:34036
X-Complaints-To: abuse@proxad.net
View all headers

Le 15-06-2024, Farley Flud <ff@linux.rocks> a écrit :
> On 14 Jun 2024 23:46:05 GMT, Stéphane CARPENTIER wrote:
>
>>
>>>> In fact, there are competent C programmers here.
>>>>
>>>
>>> There are *no* competent C programmers here (except little ol'
>>> me).
>>
>
> C is a deceptively very simple language. It has very simple constructs
> but to apply them properly requires profound technical insight.

And in this message you managed, once again, to show you don't have the
basic technical insight (to say nothing about the profound ones).

> Just one example:

I didn't found it. My ISP doesn't show me every message, but it doesn't
cut the messages it shows me. So the issue is you.

> The poseurs on this NG have actually posted C code similar to this:

I don't find the code.

>===============
> Begin shit code
>===============
>
> type1 function_1(...) {
> ...
> }
>
> type2 function_2(...) {
> ...
> }
>
> ...
> while(...) // loop over
> {
> ...
> var1 = function_1(...);
> ...
> var2 = function_2(...);
> ...
> }
>
>=============
> End shit code
>=============

There is no code, there is only declarations.

> Then the poseurs will fawn all over themselves for
> a great coding job when their code, like the above,
> is pure shit.

First, there is no code. Second you are unable to explain why it's shit.
Third, you are unable to improve it.

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

Subject: Re: More Funny Stuff From The Joke Python
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Sat, 15 Jun 2024 22:47 UTC
References: 1 2 3 4 5 6 7
Path: 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: More Funny Stuff From The Joke Python
Date: Sat, 15 Jun 2024 22:47:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <v4l5ls$3lqic$9@dont-email.me>
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net> <666c72f9$0$7519$426a74cc@news.free.fr>
<slrnv6qcru.3lh6.candycanearter07@candydeb.host.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 16 Jun 2024 00:47:25 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="bd45dcd0b5a25b060647b4de82583354";
logging-data="3861068"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189SEM+DkmTLEHTf9dClYQh"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:FW1IB0tBACT9x0AWsUE2DLyNDhg=
View all headers

On Sat, 15 Jun 2024 06:30:03 -0000 (UTC), candycanearter07 wrote:

> Stéphane CARPENTIER <sc@fiat-linux.fr> wrote at 16:42 this Friday (GMT):
>>
>> - with C++, you have a million ways to screw things up.
>
> YEAH. I still get confused between cstrings, std::string, and
> std::string_view.

Here’s another one I found (used in Blender):
<https://github.com/imageworks/pystring>

Subject: Re: More Funny Stuff From Python
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Sun, 16 Jun 2024 01:02 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Path: 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: More Funny Stuff From Python
Date: Sun, 16 Jun 2024 01:02:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <v4ldic$3n6db$1@dont-email.me>
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<slrnv6f9fl.2hg.candycanearter07@candydeb.host.invalid>
<66687931$0$3747328$882e4bbb@reader.netnews.com>
<slrnv6ig9v.13pi.candycanearter07@candydeb.host.invalid>
<66699f8c$0$966$882e4bbb@reader.netnews.com>
<slrnv6l2vk.24pu.candycanearter07@candydeb.host.invalid>
<666b0963$0$985$882e4bbb@reader.netnews.com>
<ld0olnF7p22U1@mid.individual.net>
<666b43c2$0$966$882e4bbb@reader.netnews.com>
<ld19dnFa6idU1@mid.individual.net>
<666c4979$0$2363133$882e4bbb@reader.netnews.com>
<ld3affFja99U1@mid.individual.net>
<666c8888$0$7063$882e4bbb@reader.netnews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 16 Jun 2024 03:02:05 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="bd45dcd0b5a25b060647b4de82583354";
logging-data="3905963"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18MDBC71voOdy4v6Yw0mv3b"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:t1UixXYURnCcipBMWMsDaYwnCjQ=
View all headers

On Fri, 14 Jun 2024 14:14:33 -0400, DFS wrote:

> Here's how python checks array bound every time the
> array is accessed:
>
>
> int PyList_SetItem(PyObject *op, Py_ssize_t i,
> PyObject *newitem)
> {
> PyObject **p;
> if (!PyList_Check(op)) {
> Py_XDECREF(newitem); PyErr_BadInternalCall();
> return -1;
> }
> if (!valid_index(i, Py_SIZE(op))) {
> Py_XDECREF(newitem); PyErr_SetString(PyExc_IndexError,
> "list assignment index out of range");
> return -1;
> }
> p = ((PyListObject *)op) -> ob_item + i;
> Py_XSETREF(*p, newitem);
> return 0;
> }
>
>
> Python-3.11.0.tgz.2\Python-3.11.0\Objects\listobject.c line 257
>
>
> Which is another thing that contributes to its slowness vs C.

From the same source file:

static inline int
valid_index(Py_ssize_t i, Py_ssize_t limit)
{
/* The cast to size_t lets us use just a single comparison
to check whether i is in the range: 0 <= i < limit.

See: Section 14.2 "Bounds Checking" in the Agner Fog
optimization manual found at:
https://www.agner.org/optimize/optimizing_cpp.pdf
*/
return (size_t) i < (size_t) limit;
}

Somehow I don’t think that’s the bottleneck in PyList_SetItem.

Also have a look at the list_extend routine, since that is commonly used
for appending lots of items.

Pages:1234567

rocksolid light 0.9.8
clearnet tor