Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

The devil can cite Scripture for his purpose. -- William Shakespeare, "The Merchant of Venice"


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: "Standard GUI"
From: Andrzej Matuch
Newsgroups: comp.os.linux.advocacy
Organization: usenet-news.net
Date: Sun, 9 Jun 2024 22:52 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13
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!193.141.40.65.MISMATCH!npeer.as286.net!npeer-ng0.as286.net!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: "Standard GUI"
Newsgroups: comp.os.linux.advocacy
References: <ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<666522c8$1$3747325$882e4bbb@reader.netnews.com>
<hdpa6j5uns00bbcn76nsf8pugj4pdlu0tr@4ax.com>
<lcm7j9Fk632U1@mid.individual.net>
<34rb6j1h6sittv7fj19ur2bcji7pjrus1c@4ax.com>
<666610e0$0$2422127$882e4bbb@reader.netnews.com>
<v457ch$3jvrd$2@dont-email.me>
Content-Language: en-US
From: andrzej@matu.ch (Andrzej Matuch)
In-Reply-To: <v457ch$3jvrd$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 51
Message-ID: <hnq9O.17889$6Fcc.13721@fx09.iad>
X-Complaints-To: abuse@usenet-news.net
NNTP-Posting-Date: Sun, 09 Jun 2024 22:53:01 UTC
Organization: usenet-news.net
Date: Sun, 9 Jun 2024 18:52:49 -0400
X-Received-Bytes: 3522
View all headers

On 2024-06-09 5:38 p.m., vallor wrote:
> On Sun, 9 Jun 2024 16:30:28 -0400, DFS <nospam@dfs.com> wrote in
> <666610e0$0$2422127$882e4bbb@reader.netnews.com>:
>
>> Later, abusing cola 'advocates' by tossing their idiocy back in their
>> faces spurred me to use python to download Usenet posts and put them
>> into a relational database, from which I can extract drooling such as
>> this from Feeb in Oct 2017:
>>
>>
> -------------------------------------------------------------------------
>> Beginning/top of post "When you say standardization, you of course mean
>> a standardized GUI toolkit, and that is what Microshit has and that is
>> what, admittedly makes Microshit a better choice than GNU/Linux."
>>
>>
>> End of same post:
>> ".. the GUI interface, and especially a STANDARD GUI, severely limits
>> the capabilities of any computing machine. That is why GNU/Linux. with
>> its non-standardized assortments of toolkits and libraries is the
>> superior choice."
>>
>> <ddb53c30-8078-49b5-9462-e602ae6f4f76@googlegroups.com>
>>
> -------------------------------------------------------------------------
>
> I looked it up, and didn't surprise me who brain-farted his way
> through that post.
>
> But regarding that matter, back when I used Windows, I showed
> a screenshot of my desktop, where every application had its own
> ideas about what it wanted to look like. So Windows ain't "all that".
>
> On my Linux desktop, the only apps with their own oddities are
> those without title bars, such as Steam, obs-studio, and
> the EDO game launcher. Maybe Blender too. So the idea
> that Linux desktops are jungles of mis-matched interfaces
> are somewhat exaggerated.

They're exaggerated _today_, but this was a common problem until the
mid-2010s at the very least. If anything, the look of programs, whether
they are GTK or Qt, is very consistent now. You might find the odd
distribution which takes no care into ensuring that everything looks
right, but I know that Ubuntu, Pop_OS! and Linux Mint generally show no
visual difference in the applications they provide through their stores.

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

Subject: Re: "Standard GUI"
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Sun, 9 Jun 2024 23:53 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
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: "Standard GUI"
Date: 9 Jun 2024 23:53:16 GMT
Lines: 14
Message-ID: <lcmtjcFn9ebU2@mid.individual.net>
References: <ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<666522c8$1$3747325$882e4bbb@reader.netnews.com>
<hdpa6j5uns00bbcn76nsf8pugj4pdlu0tr@4ax.com>
<lcm7j9Fk632U1@mid.individual.net>
<34rb6j1h6sittv7fj19ur2bcji7pjrus1c@4ax.com>
<666610e0$0$2422127$882e4bbb@reader.netnews.com>
<v457ch$3jvrd$2@dont-email.me> <hnq9O.17889$6Fcc.13721@fx09.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 3rFZio86yeaLzHGgYZ0ZOw88obCxC35EbnkrNffyb3b7jwud8k
Cancel-Lock: sha1:hbi3JewJf6FoTzi6p3HqD2S1li0= sha256:R2ow3ssueuy6bSJRhqu6FlSxbvkcpRA3VeqyMz6CbBw=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Sun, 9 Jun 2024 18:52:49 -0400, Andrzej Matuch wrote:

> They're exaggerated _today_, but this was a common problem until the
> mid-2010s at the very least. If anything, the look of programs, whether
> they are GTK or Qt, is very consistent now. You might find the odd
> distribution which takes no care into ensuring that everything looks
> right, but I know that Ubuntu, Pop_OS! and Linux Mint generally show no
> visual difference in the applications they provide through their stores.

I'm more concerned that the cross-platform apps I use like Code and QGIS
look the same rather than conforming to some Windows, Gtk, or Qt ideal.
It's not a huge deal but I'd be just as happy if Python's venv was the
same rather than sticking activate in Scripts or bin depending. I suppose
there is some valid reason.

Subject: Re: "Standard GUI"
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Mon, 10 Jun 2024 07:29 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13
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: "Standard GUI"
Date: Mon, 10 Jun 2024 07:29:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <v46a18$8j09$3@dont-email.me>
References: <ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<666522c8$1$3747325$882e4bbb@reader.netnews.com>
<hdpa6j5uns00bbcn76nsf8pugj4pdlu0tr@4ax.com>
<lcm7j9Fk632U1@mid.individual.net>
<34rb6j1h6sittv7fj19ur2bcji7pjrus1c@4ax.com>
<666610e0$0$2422127$882e4bbb@reader.netnews.com>
<v457ch$3jvrd$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 10 Jun 2024 09:29:45 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1186807d38ad523ecdef8690d71c9c11";
logging-data="281609"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194NUXeU75xYxK8tVu5qmvX"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:qbtS5e2t8tEJsrs284ifILSqqYY=
View all headers

On Sun, 9 Jun 2024 21:38:25 -0000 (UTC), vallor wrote:

> But regarding that matter, back when I used Windows, I showed a
> screenshot of my desktop, where every application had its own ideas
> about what it wanted to look like. So Windows ain't "all that".

Worse than that, Microsoft can’t quite make up its mind which GUI toolkit
developers should use. Is it Dotnet? WinForms? WPF? WinUI? MAUI? MFC??
WTL??

> Maybe Blender too.

There is this ongoing argument about: should an app “blend in” with the
look of the platform it’s running on, at the cost of inconsistency between
different versions of the app for different platforms, or should it have
its own consistent look, regardless of which platform it runs on?

There seems to be no final answer to this: some apps choose one way, some
choose the other.

Subject: Re: "Standard GUI"
From: Chris Ahlstrom
Newsgroups: comp.os.linux.advocacy
Organization: None
Date: Mon, 10 Jun 2024 12:11 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: "Standard GUI"
Date: Mon, 10 Jun 2024 08:11:05 -0400
Organization: None
Lines: 29
Message-ID: <v46qgp$e0ac$3@dont-email.me>
References: <ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<666522c8$1$3747325$882e4bbb@reader.netnews.com>
<hdpa6j5uns00bbcn76nsf8pugj4pdlu0tr@4ax.com>
<lcm7j9Fk632U1@mid.individual.net>
<34rb6j1h6sittv7fj19ur2bcji7pjrus1c@4ax.com>
<666610e0$0$2422127$882e4bbb@reader.netnews.com>
<v457ch$3jvrd$2@dont-email.me> <v46a18$8j09$3@dont-email.me>
Reply-To: OFeem1987@teleworm.us
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 10 Jun 2024 14:11:06 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="bd521ce90435151cd0eb0340997274ae";
logging-data="459084"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19T86V/OD7ZxuKQRXo1ZhmE"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:nGBANDZx03fKj21VrxgKb3GPbmI=
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Slrn: Why use anything else?
X-Mutt: The most widely-used MUA
View all headers

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

> On Sun, 9 Jun 2024 21:38:25 -0000 (UTC), vallor wrote:
>
>> But regarding that matter, back when I used Windows, I showed a
>> screenshot of my desktop, where every application had its own ideas
>> about what it wanted to look like. So Windows ain't "all that".
>
> Worse than that, Microsoft can’t quite make up its mind which GUI toolkit
> developers should use. Is it Dotnet? WinForms? WPF? WinUI? MAUI? MFC??
> WTL??

And in the multimedia domain? Win MM? Windows UWP? Windows App SDK?

>> Maybe Blender too.
>
> There is this ongoing argument about: should an app “blend in” with the
> look of the platform it’s running on, at the cost of inconsistency between
> different versions of the app for different platforms, or should it have
> its own consistent look, regardless of which platform it runs on?
>
> There seems to be no final answer to this: some apps choose one way, some
> choose the other.

Choice is good :-)

--
You will lose your present job and have to become a door to door mayonnaise
salesman.

Subject: Re: More Funny Stuff From The Joke Python
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Tue, 11 Jun 2024 02:40 UTC
References: 1 2 3 4
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: Tue, 11 Jun 2024 02:40:07 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 12
Message-ID: <slrnv6f5vq.2hg.candycanearter07@candydeb.host.invalid>
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<v423vs$2jq21$4@dont-email.me> <ea696j13g2marfhuu4a9rfvliv735vqhrg@4ax.com>
<v42ul9$2u4lh$12@dont-email.me>
Injection-Date: Tue, 11 Jun 2024 04:40:07 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4b8de5e0235d9d4138e4d44dba56bb9d";
logging-data="913008"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lqWhM8W1/3ZtflFg1Vsda3VrfyVXiygpTUFKtfBN7ow=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:0Ixu2bqN0GvJPt67v50ojXu2ARg=
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

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.
--
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: Tue, 11 Jun 2024 02:40 UTC
References: 1 2 3 4 5
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: Tue, 11 Jun 2024 02:40:07 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 22
Message-ID: <slrnv6f61b.2hg.candycanearter07@candydeb.host.invalid>
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
<ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<6664a9db$0$3738369$882e4bbb@reader.netnews.com>
<fna96jlu2ah5ocu1d2qijid5dagp41fhsa@4ax.com>
<v42uto$2u4lh$13@dont-email.me>
Injection-Date: Tue, 11 Jun 2024 04:40:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4b8de5e0235d9d4138e4d44dba56bb9d";
logging-data="913008"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18d8wZ/d7wzVkV7p3E3KqU4fEIrP3Khf45HblUlZHBetA=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:BmAkMf4nrcMMxTTtBY8AAsHOVAk=
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

Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 01:01 this Sunday (GMT):
> On Sat, 08 Jun 2024 15:03:34 -0400, Joel wrote:
>
>> I don't know what you would expect to do with it.
>
> When I started doing Linux/Unix programming (late 1990s), it was back-end
> web stuff with Perl. Then I needed to do something with a GUI that a local
> user could run. I initially wrote it with Tcl/Tk.
>
> Then I discovered Python. I redid the app with that, using GTK as the GUI
> toolkit. It worked so much better, I never found another use for Tcl after
> that.
>
> These days, Python is my language of choice for bread-and-butter back-end
> stuff. It has a vast number of addon libraries for interfacing to just
> about any kind of functionality you might want. And I have done my bit to
> add to those libraries.

Oh cool, you're a python dev?
--
user <candycane> is generated from /dev/urandom

Subject: Re: More Funny Stuff From Joel
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Tue, 11 Jun 2024 02:40 UTC
References: 1 2 3 4 5 6 7
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: Tue, 11 Jun 2024 02:40:08 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 102
Message-ID: <slrnv6f9fl.2hg.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>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
Injection-Date: Tue, 11 Jun 2024 04:40:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4b8de5e0235d9d4138e4d44dba56bb9d";
logging-data="913008"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kSXuyqPzMdpx2L4oZgFThJ1etJAKDHQxbMDuBb4f1Ww=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:6S9nO/ZpI1i/xeZzcy2gg3gSqk0=
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

DFS <nospam@dfs.com> wrote at 23:30 this Saturday (GMT):
> On 6/8/2024 5:32 PM, Joel wrote:
>
>> I can't imagine I'd need anything beyond C.
>
>
> I hope you're not gonna pull a Feeb and claim you're a C guru that can
> 'move the Earth', but refuse to show ANY decent code, then make lame
> excuses like "I have other fish to fry".

Seems like a fun challenge.. especially since im kinda rusty with c

> 1) write your own C to sort these 3 names (by last then first):
>
> William Thomas
> Zachary Jones
> Jim Thomas

I'll be honest, I might be bad but I completely forgot how to sort
strings.. sorry

> 2) write your own C to count the words in:
>
> "Now is the time for all good men to come to the aid of their country."

#include <stdio.h>
#include <ctype.h>

const char phrase[] = "Now is the time for all good men to come to the
aid of their country.";

int main()
{ const char *phr = phrase;
int words = 0;
int space = 0; // does c have bool?

while(*phr)
{
if(space && isalpha(*phr))
{
space = 0;
words++;
}
if(isblank(*phr)) space = 1;

phr++;
}

printf("Words: %d, words);
}

> 3) write your own C to calc the mean, median and mode of:
>
> 1,2,3,4,5,5,6,7,8,9

#include <stdio.h>
#define COUNT_CNT 10

int nums[] = {1, 2, 3, 4, 5, 5, 6, 7, 8, 9, -1};

int main()
{ double mean;
int median, mode, md_count[COUNT_CNT], len;

for( len = 0; nums[len] != -1; len++ )
{
mean += nums[len];
md_count[nums[len]]++;
}
mean /= len;

if(len % 2 == 0)
{
int mid = len / 2;
median = nums[mid] + nums[mid + 1]];
median /= 2;
}
else
median = nums[len / 2];
for( int i = 0; i < COUNT_CNT; i++ )
{
if(md_count[mode] < md_count[i]) mode = i;
}

printf("mean %g, median %d, mode %d", mean, median, mode);
}

These compiled fine on my machine (gcc 12.2.0)

> Why is it I have a VERY strong feeling you and Feeb and C are about to
> be pwned by python?

IMO, both are pretty good languages, with their own strengths..like, C
is good for dealing with the raw data and it can be really satisfying to
get everything working, and python is great for throwing something
together.
--
user <candycane> is generated from /dev/urandom

Subject: Re: More Funny Stuff From Joel
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Tue, 11 Jun 2024 02:40 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
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: Tue, 11 Jun 2024 02:40:09 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 23
Message-ID: <slrnv6f9hj.2hg.candycanearter07@candydeb.host.invalid>
References: <ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<666522c8$1$3747325$882e4bbb@reader.netnews.com>
<hdpa6j5uns00bbcn76nsf8pugj4pdlu0tr@4ax.com>
<lcm7j9Fk632U1@mid.individual.net>
<34rb6j1h6sittv7fj19ur2bcji7pjrus1c@4ax.com>
Injection-Date: Tue, 11 Jun 2024 04:40:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4b8de5e0235d9d4138e4d44dba56bb9d";
logging-data="913008"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/C8Qwow1lHP5JqSAgqNSYrd/zR/ZZJOVzwdlkKtU0xdA=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:uQFwFx/1L8onBO/zPmn8r+qrer0=
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

Joel <joelcrump@gmail.com> wrote at 17:56 this Sunday (GMT):
> rbowman <bowman@montana.com> wrote:
>
>>>>Not buying it, pal. I don't believe you can still write C code to
>>>>accomplish those things. You're way rusty!
>>>
>>> It would come back to me in mere moments.
>>
>>You're better than most programmers I know then. After being away from a
>>language for a while it's usually 'Duh, how do I start?' The worst case is
>>you've been using a somewhat similar language in the meantime.
>
>
> I majored in comp sci, I have used a number of languages, even
> multiple platforms of assembly, just not in a long time. I've done
> amazing things with mIRC script's language. It's not a hard thing for
> me to pick up the process of coding, it *is* hard to think of an
> original idea for something to code, though.

Oh, awesome. I'm about to start comp sci myself ^^
--
user <candycane> is generated from /dev/urandom

Subject: Re: More Funny Stuff From Joel
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Tue, 11 Jun 2024 02:40 UTC
References: 1 2 3 4 5
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: Tue, 11 Jun 2024 02:40:09 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 60
Message-ID: <slrnv6f9uh.2hg.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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 11 Jun 2024 04:40:10 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4b8de5e0235d9d4138e4d44dba56bb9d";
logging-data="913008"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+boPrU9NIF7g91SowKNY2zdJbk4y8KVKdlv4PAKHtu6A=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:JjCYDn0PQ9HljvvXlDJblLIBNYk=
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

Tyrone <none@none.none> wrote at 02:32 this Sunday (GMT):
> On Jun 8, 2024 at 7:42:16 PM EDT, "Joel" <joelcrump@gmail.com> wrote:
>
>> DFS <nospam@dfs.com> wrote:
>>
>>>> I can't imagine I'd need anything beyond C.
>>>
>>> I hope you're not gonna pull a Feeb and claim you're a C guru that can
>>> 'move the Earth', but refuse to show ANY decent code, then make lame
>>> excuses like "I have other fish to fry".
>>>
>>>
>>> 1) write your own C to sort these 3 names (by last then first):
>>>
>>> William Thomas
>>> Zachary Jones
>>> Jim Thomas
>>>
>>>
>>> 2) write your own C to count the words in:
>>>
>>> "Now is the time for all good men to come to the aid of their country."
>>>
>>>
>>> 3) write your own C to calc the mean, median and mode of:
>>>
>>> 1,2,3,4,5,5,6,7,8,9
>>>
>>>
>>>
>>> Why is it I have a VERY strong feeling you and Feeb and C are about to
>>> be pwned by python?
>>
>>
>> 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.
>
> 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". 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. While
they're not /everything/ in programming, knowing the basics (or being
able to figure it out easily) can definitely help you out. They're also
fun to figure out in my opinion.

[snip]
> 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.
--
user <candycane> is generated from /dev/urandom

Subject: Re: More Funny Stuff From Joel
From: DFS
Newsgroups: comp.os.linux.advocacy
Date: Tue, 11 Jun 2024 03:43 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!border-4.nntp.ord.giganews.com!border-3.nntp.ord.giganews.com!nntp.giganews.com!news-out.netnews.com!postmaster.netnews.com!us8.netnews.com!not-for-mail
X-Trace: DXC=i>6RSQ\G<EM0HYm<>_5E[@HWonT5<]0TMQ;nb^V>PUfF5[gZBW6J?LL>8J_kK>kdRISZ]<JklDnYIVUSl:hliP5AMba][>SC2CGf;]EoU=id5F=R<hY6_C9TH
X-Complaints-To: support@blocknews.net
Date: Mon, 10 Jun 2024 23:43:58 -0400
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: More Funny Stuff From Joel
Newsgroups: comp.os.linux.advocacy
References: <ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<666522c8$1$3747325$882e4bbb@reader.netnews.com>
<hdpa6j5uns00bbcn76nsf8pugj4pdlu0tr@4ax.com>
<lcm7j9Fk632U1@mid.individual.net>
<34rb6j1h6sittv7fj19ur2bcji7pjrus1c@4ax.com>
<slrnv6f9hj.2hg.candycanearter07@candydeb.host.invalid>
Content-Language: en-US
From: nospam@dfs.com (DFS)
In-Reply-To: <slrnv6f9hj.2hg.candycanearter07@candydeb.host.invalid>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 36
Message-ID: <6667c7fd$1$3747336$882e4bbb@reader.netnews.com>
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1718077437 reader.netnews.com 3747336 127.0.0.1:57611
View all headers

On 6/10/2024 10:40 PM, candycanearter07 wrote:

> I'm about to start comp sci myself ^^

As a college major? Cool.

I've been downloading compsci (and other disciplines) course materials
from universities for years.

https://imgur.com/a/5xoBBDO

MIT has a TON of Open Courseware courses. A variety of good schools
have a few "open courses" on EdX, but most of the big schools require a
student login to access course websites.

Stanford has only a few official open courses, but it seems the compsci
dept forgets (maybe on purpose?) to put a lot of their regular courses
behind the paywall, and I used wget to download a bunch.

https://imgur.com/a/6GLIVJZ

example on WSL:

$ mkdir CalTech
$ cd CalTech
$ mkdir CS122
$ cd CS122
$ wget -r http://courses.cms.caltech.edu/cs122/lectures/
$ wget -r http://courses.cms.caltech.edu/cs122/assignments/

Also check out Harvard's CS50 class. Excellent teacher.

Subject: Re: More Funny Stuff From Joel
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Tue, 11 Jun 2024 03:48 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13
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 Joel
Date: Tue, 11 Jun 2024 03:48:38 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <v48hem$sc37$2@dont-email.me>
References: <ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<666522c8$1$3747325$882e4bbb@reader.netnews.com>
<hdpa6j5uns00bbcn76nsf8pugj4pdlu0tr@4ax.com>
<lcm7j9Fk632U1@mid.individual.net>
<34rb6j1h6sittv7fj19ur2bcji7pjrus1c@4ax.com>
<slrnv6f9hj.2hg.candycanearter07@candydeb.host.invalid>
<6667c7fd$1$3747336$882e4bbb@reader.netnews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 11 Jun 2024 05:48:39 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="631f869a34a46d5df9e0635873afdf43";
logging-data="929895"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wje+CJcoFayU1YNiJq9Eo"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:LGJnqfxQu5a927dyzHYOqYbZ4DQ=
View all headers

On Mon, 10 Jun 2024 23:43:58 -0400, DFS wrote:

> MIT has a TON of Open Courseware courses.

Don’t forget the (in)famous “Structure And Interpretation Of Computer
Programs”.

Subject: Re: More Funny Stuff From Joel
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Tue, 11 Jun 2024 03:51 UTC
References: 1 2 3 4 5 6 7 8
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 Joel
Date: Tue, 11 Jun 2024 03:51:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <v48hjd$sc37$3@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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 11 Jun 2024 05:51:10 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="631f869a34a46d5df9e0635873afdf43";
logging-data="929895"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aBWN3oPQUXGv/oNq3nFF/"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:4iLlBcrI1dWJ4vvjSjtuCjzvf0U=
View all headers

On Tue, 11 Jun 2024 02:40:08 -0000 (UTC), candycanearter07 wrote:

> ... C is good for dealing with the raw data and it can be really
> satisfying to get everything working, and python is great for throwing
> something together.

Throwing something together to deal with raw data also works well in
Python. Where C excels is in large amounts of low-level computation. This
is the one area where Python on its own gets slow.

But then, you will likely find that, among the large number of toolkits
written in C for Python, there is bound to be something (e.g. NumPy) that
can be adapted to the particular low-level operations that you need to do.

Subject: Re: More Funny Stuff From Joel
From: DFS
Newsgroups: comp.os.linux.advocacy
Date: Tue, 11 Jun 2024 04:25 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!s1-1.netnews.com!news-out.netnews.com!postmaster.netnews.com!us8.netnews.com!not-for-mail
X-Trace: DXC=5W8;BYoX:Z=Tm7fA3d;YR?HWonT5<]0T=Q;nb^V>PUf65[gZBW6J?L<>8J_kK>kdR9SZ]<JklDnY9VUSl:hliP51Mba][>SC2C7f;]EoU=id56=R<hY6_C9T8
X-Complaints-To: support@blocknews.net
Date: Tue, 11 Jun 2024 00:25:30 -0400
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: More Funny Stuff From Joel
Newsgroups: comp.os.linux.advocacy
References: <ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
<lcjnnuF896hU5@mid.individual.net>
<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
<lcjvk1F9n7aU1@mid.individual.net>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com>
<666522c8$1$3747325$882e4bbb@reader.netnews.com>
<hdpa6j5uns00bbcn76nsf8pugj4pdlu0tr@4ax.com>
<lcm7j9Fk632U1@mid.individual.net>
<34rb6j1h6sittv7fj19ur2bcji7pjrus1c@4ax.com>
<slrnv6f9hj.2hg.candycanearter07@candydeb.host.invalid>
<6667c7fd$1$3747336$882e4bbb@reader.netnews.com>
<v48hem$sc37$2@dont-email.me>
Content-Language: en-US
From: nospam@dfs.com (DFS)
In-Reply-To: <v48hem$sc37$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 21
Message-ID: <6667d1b8$0$3747336$882e4bbb@reader.netnews.com>
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1718079928 reader.netnews.com 3747336 127.0.0.1:37083
X-Received-Bytes: 2123
View all headers

On 6/10/2024 11:48 PM, Lawrence D'Oliveiro wrote:
> On Mon, 10 Jun 2024 23:43:58 -0400, DFS wrote:
>
>> MIT has a TON of Open Courseware courses.
>
> Don’t forget the (in)famous “Structure And Interpretation Of Computer
> Programs”.

That's the name of the book (written by MIT profs) and the MIT course
6.001 that used it.

This MIT site https://web.mit.edu/6.001/6.037/ said the book was
written for the course.

There's a new Javascript Edition of the book

https://mitpress.mit.edu/9780262543231/structure-and-interpretation-of-computer-programs/

Subject: Re: More Funny Stuff From Joel
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Tue, 11 Jun 2024 04:30 UTC
References: 1 2 3 4 5 6 7 8
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: 11 Jun 2024 04:30:42 GMT
Lines: 5
Message-ID: <lcq27iF6su7U4@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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net dkp9y/+Wgx8LjKzMW4pVvQPMBtEKr14FUHi7VP9OmvYlBBceCs
Cancel-Lock: sha1:+1eLAGfSK8lepk4uRtzeqyib9ew= sha256:vcRQLbeHF9DC9j6QUGfGKif5pIOaUnNbxcgXaGRY1e8=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Tue, 11 Jun 2024 02:40:08 -0000 (UTC), candycanearter07 wrote:

> const char *phr = phrase;

Oh, you're one of those :)

Subject: Re: More Funny Stuff From Joel
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Tue, 11 Jun 2024 04:50 UTC
References: 1 2 3 4 5 6 7 8 9
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: Tue, 11 Jun 2024 04:50:03 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 11
Message-ID: <slrnv6flo3.7fn.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>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<slrnv6f9fl.2hg.candycanearter07@candydeb.host.invalid>
<lcq27iF6su7U4@mid.individual.net>
Injection-Date: Tue, 11 Jun 2024 06:50:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4b8de5e0235d9d4138e4d44dba56bb9d";
logging-data="951835"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+d5d/+gYUWQZrBJ4toDsSJSm7UhAwQq40cqiSL5YY8Ug=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:exEYzdSiegVjTb+SZ5FWs6wOGZ0=
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

rbowman <bowman@montana.com> wrote at 04:30 this Tuesday (GMT):
> On Tue, 11 Jun 2024 02:40:08 -0000 (UTC), candycanearter07 wrote:
>
>> const char *phr = phrase;
>
> Oh, you're one of those :)

What's that mean?
--
user <candycane> is generated from /dev/urandom

Subject: Re: More Funny Stuff From Joel
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Tue, 11 Jun 2024 06:54 UTC
References: 1 2 3 4 5 6 7 8 9 10
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: 11 Jun 2024 06:54:44 GMT
Lines: 18
Message-ID: <lcqaljF8hrcU1@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>
<lcq27iF6su7U4@mid.individual.net>
<slrnv6flo3.7fn.candycanearter07@candydeb.host.invalid>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net oiOhEpFWMNgEG1EWUQIMawBFdgMtURrzDxCyjMloHXHfsB4tD1
Cancel-Lock: sha1:dRTiAb7hQQkw87hnEwYoYCvL848= sha256:jgYDqQjBkcuqryd8Pr+NROt81hOMn1Zs8GqDhmyAM6A=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Tue, 11 Jun 2024 04:50:03 -0000 (UTC), candycanearter07 wrote:

> rbowman <bowman@montana.com> wrote at 04:30 this Tuesday (GMT):
>> On Tue, 11 Jun 2024 02:40:08 -0000 (UTC), candycanearter07 wrote:
>>
>>> const char *phr = phrase;
>>
>> Oh, you're one of those :)
>
>
> What's that mean?

I'm not very fond of const. It has its place but it gets thrown around
promiscuously. A function where a parameter has be defined as a const for
no particular reason can gum up the works.

Subject: Re: More Funny Stuff From Joel
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Tue, 11 Jun 2024 06:55 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
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 Joel
Date: Tue, 11 Jun 2024 06:55:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <v48sdo$u8f7$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>
<lcq27iF6su7U4@mid.individual.net>
<slrnv6flo3.7fn.candycanearter07@candydeb.host.invalid>
<lcqaljF8hrcU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 11 Jun 2024 08:55:52 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="631f869a34a46d5df9e0635873afdf43";
logging-data="991719"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+aSV8ioXhWqIIIvl3Mg00Q"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:NE+z8Evge+72cGkrxb1MWKeUgfA=
View all headers

On 11 Jun 2024 06:54:44 GMT, rbowman wrote:

> On Tue, 11 Jun 2024 04:50:03 -0000 (UTC), candycanearter07 wrote:
>
>> rbowman <bowman@montana.com> wrote at 04:30 this Tuesday (GMT):
>>
>>> On Tue, 11 Jun 2024 02:40:08 -0000 (UTC), candycanearter07 wrote:
>>>
>>>> const char *phr = phrase;
>>>
>>> Oh, you're one of those :)
>>
>> What's that mean?
>
> I'm not very fond of const. It has its place but it gets thrown around
> promiscuously. A function where a parameter has be defined as a const
> for no particular reason can gum up the works.

In this case, it indicates that the variable “phr” only has read-only
access to the string.

Subject: Re: More Funny Stuff From Joel
From: Chris Ahlstrom
Newsgroups: comp.os.linux.advocacy
Organization: None
Date: Tue, 11 Jun 2024 12:13 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: More Funny Stuff From Joel
Date: Tue, 11 Jun 2024 08:13:31 -0400
Organization: None
Lines: 23
Message-ID: <v49f1b$11kek$3@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>
<lcq27iF6su7U4@mid.individual.net>
<slrnv6flo3.7fn.candycanearter07@candydeb.host.invalid>
<lcqaljF8hrcU1@mid.individual.net>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Tue, 11 Jun 2024 14:13:31 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7b45443339d8814a3a931dc1e6d40844";
logging-data="1102292"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/emyJ9Dw8yTfz0XkqCAHKU"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:34hJrOKIdKprfvohWq0ONT1v5KM=
X-Slrn: Why use anything else?
X-Mutt: The most widely-used MUA
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
View all headers

rbowman wrote this copyrighted missive and expects royalties:

> On Tue, 11 Jun 2024 04:50:03 -0000 (UTC), candycanearter07 wrote:
>
>> rbowman <bowman@montana.com> wrote at 04:30 this Tuesday (GMT):
>>> On Tue, 11 Jun 2024 02:40:08 -0000 (UTC), candycanearter07 wrote:
>>>
>>>> const char *phr = phrase;
>>>
>>> Oh, you're one of those :)
>>
>>
>> What's that mean?
>
> I'm not very fond of const. It has its place but it gets thrown around
> promiscuously. A function where a parameter has be defined as a const for
> no particular reason can gum up the works.

const is used to enforce certain semantics. Of course, it is not necessary for
a simple C function parameter (e.g. an int) to be const unless one is pedantic.

--
Your temporary financial embarrassment will be relieved in a surprising manner.

Subject: Re: More Funny Stuff From Joel
From: Chris Ahlstrom
Newsgroups: comp.os.linux.advocacy
Organization: None
Date: Tue, 11 Jun 2024 12:17 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: More Funny Stuff From Joel
Date: Tue, 11 Jun 2024 08:17:30 -0400
Organization: None
Lines: 30
Message-ID: <v49f8q$11kek$4@dont-email.me>
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>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Tue, 11 Jun 2024 14:17:30 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7b45443339d8814a3a931dc1e6d40844";
logging-data="1102292"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Dl8BpkNC1djDjfpauxVAR"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:OWqUWpsOPByzg7x80dDpqJKG+vE=
X-Slrn: Why use anything else?
X-Mutt: The most widely-used MUA
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
View all headers

candycanearter07 wrote this copyrighted missive and expects royalties:

> Tyrone <none@none.none> wrote at 02:32 this Sunday (GMT):
>
> <brevsnip>
>
> A lot of times, programming involves connecting "trivial problems in an
> advanced way". 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. While
> they're not /everything/ in programming, knowing the basics (or being
> able to figure it out easily) can definitely help you out. They're also
> fun to figure out in my opinion.
>
> [snip]
>> 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.

But here is another take:

https://www.newyorker.com/magazine/2023/11/20/a-coder-considers-the-waning-days-of-the-craft

There will also be a need for coders, though. Cannot completely trust what AI
mines from the internet.

--
You will remember something that you should not have forgotten.

Subject: Re: More Funny Stuff From Joel
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Tue, 11 Jun 2024 16:05 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12
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: Tue, 11 Jun 2024 16:05:03 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 26
Message-ID: <slrnv6gtbi.h9i.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>
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
<6664e989$0$2363151$882e4bbb@reader.netnews.com>
<slrnv6f9fl.2hg.candycanearter07@candydeb.host.invalid>
<lcq27iF6su7U4@mid.individual.net>
<slrnv6flo3.7fn.candycanearter07@candydeb.host.invalid>
<lcqaljF8hrcU1@mid.individual.net> <v48sdo$u8f7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 11 Jun 2024 18:05:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4b8de5e0235d9d4138e4d44dba56bb9d";
logging-data="1195718"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WCmaM6DXhjibkz6qelmI7GWRAKki28SlfqWbTh+IPMw=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:sSqd+3MRZhycbxVLema0oSji6M4=
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

Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 06:55 this Tuesday (GMT):
> On 11 Jun 2024 06:54:44 GMT, rbowman wrote:
>
>> On Tue, 11 Jun 2024 04:50:03 -0000 (UTC), candycanearter07 wrote:
>>
>>> rbowman <bowman@montana.com> wrote at 04:30 this Tuesday (GMT):
>>>
>>>> On Tue, 11 Jun 2024 02:40:08 -0000 (UTC), candycanearter07 wrote:
>>>>
>>>>> const char *phr = phrase;
>>>>
>>>> Oh, you're one of those :)
>>>
>>> What's that mean?
>>
>> I'm not very fond of const. It has its place but it gets thrown around
>> promiscuously. A function where a parameter has be defined as a const
>> for no particular reason can gum up the works.
>
> In this case, it indicates that the variable “phr” only has read-only
> access to the string.

Well, yes, since the string itself is also a constant.
--
user <candycane> is generated from /dev/urandom

Subject: Re: More Funny Stuff From Joel
From: Joel
Newsgroups: comp.os.linux.advocacy
Date: Tue, 11 Jun 2024 16:05 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-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=A<f8Z24b8_Q0YeFU`>mMO^HWonT5<]0T]djI?Uho:Xe[lL51CP6LDL\95GMl]75=8Q93_?JhL_oc]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: Tue, 11 Jun 2024 12:05:38 -0400
Message-ID: <qdtg6jlkrl1fvch7i7b3p0068blkf4m63u@4ax.com>
References: <kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com> <lcjvk1F9n7aU1@mid.individual.net> <2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com> <6664e989$0$2363151$882e4bbb@reader.netnews.com> <v0r96jtsvodcnn4sk91ug1ulh2h76jgbvm@4ax.com> <666522c8$1$3747325$882e4bbb@reader.netnews.com> <hdpa6j5uns00bbcn76nsf8pugj4pdlu0tr@4ax.com> <lcm7j9Fk632U1@mid.individual.net> <34rb6j1h6sittv7fj19ur2bcji7pjrus1c@4ax.com> <slrnv6f9hj.2hg.candycanearter07@candydeb.host.invalid>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
OS: Linux Mint 21.3 Cinnamon, with Wine 9.0 for WinAPI
Lines: 29
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1718121938 reader.netnews.com 2363142 127.0.0.1:54063
View all headers

candycanearter07 <candycanearter07@candycanearter07.nomail.afraid>
wrote:

>> I majored in comp sci, I have used a number of languages, even
>> multiple platforms of assembly, just not in a long time. I've done
>> amazing things with mIRC script's language. It's not a hard thing for
>> me to pick up the process of coding, it *is* hard to think of an
>> original idea for something to code, though.
>
>Oh, awesome. I'm about to start comp sci myself ^^

Nice, I bet you will excel in it.

--
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: DFS
Newsgroups: comp.os.linux.advocacy
Date: Tue, 11 Jun 2024 16:20 UTC
References: 1 2 3 4 5 6 7 8
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!news-out.netnews.com!netnews.com!s1-4.netnews.com!news-out.netnews.com!postmaster.netnews.com!us8.netnews.com!not-for-mail
X-Trace: DXC=F[MR15amMjIP7Po<gjAAZDHWonT5<]0TMQ;nb^V>PUfF5[gZBW6J?LL>8J_kK>kdRIU6RUSR0GRfL2Pa4j;\;@a@WjB\<Me8\AG@GM\IYO6WZD>Oa:X5b?f8H
X-Complaints-To: support@blocknews.net
Date: Tue, 11 Jun 2024 12:20:05 -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>
<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>
Content-Language: en-US
In-Reply-To: <slrnv6f9fl.2hg.candycanearter07@candydeb.host.invalid>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 157
Message-ID: <66687931$0$3747328$882e4bbb@reader.netnews.com>
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1718122801 reader.netnews.com 3747328 127.0.0.1:59253
X-Received-Bytes: 4842
View all headers

On 6/10/2024 10:40 PM, candycanearter07 wrote:
> DFS <nospam@dfs.com> wrote at 23:30 this Saturday (GMT):
>> On 6/8/2024 5:32 PM, Joel wrote:
>>
>>> I can't imagine I'd need anything beyond C.
>>
>>
>> I hope you're not gonna pull a Feeb and claim you're a C guru that can
>> 'move the Earth', but refuse to show ANY decent code, then make lame
>> excuses like "I have other fish to fry".
>
> Seems like a fun challenge.. especially since im kinda rusty with c
>
>> 1) write your own C to sort these 3 names (by last then first):
>>
>> William Thomas
>> Zachary Jones
>> Jim Thomas
>
> I'll be honest, I might be bad but I completely forgot how to sort
> strings.. sorry

Usually qsort().

>> 2) write your own C to count the words in:
>>
>> "Now is the time for all good men to come to the aid of their country."
>
> #include <stdio.h>
> #include <ctype.h>
>
> const char phrase[] = "Now is the time for all good men to come to the
> aid of their country.";
>
> int main()
> {
> const char *phr = phrase;
> int words = 0;
> int space = 0; // does c have bool?

Yes.

> while(*phr)
> {
> if(space && isalpha(*phr))
> {
> space = 0;
> words++;
> }
> if(isblank(*phr)) space = 1;
>
> phr++;
> }
>
> printf("Words: %d, words);
> }

My wordcounter code used:

if(isspace(myStr[i]) && !isspace(myStr[i+1])) {countWords++;}

to also count words that might begin with numbers.

"For the right money cola Linux 'advocates' would work 4MS in 2ms."

>> 3) write your own C to calc the mean, median and mode of:
>>
>> 1,2,3,4,5,5,6,7,8,9
>
> #include <stdio.h>
> #define COUNT_CNT 10
>
> int nums[] = {1, 2, 3, 4, 5, 5, 6, 7, 8, 9, -1};
>
> int main()
> {
> double mean;
> int median, mode, md_count[COUNT_CNT], len;
>
> for( len = 0; nums[len] != -1; len++ )
> {
> mean += nums[len];
> md_count[nums[len]]++;
> }
> mean /= len;
>
> if(len % 2 == 0)
> {
> int mid = len / 2;
> median = nums[mid] + nums[mid + 1]];
> median /= 2;
> }
> else
> median = nums[len / 2];
>
> for( int i = 0; i < COUNT_CNT; i++ )
> {
> if(md_count[mode] < md_count[i]) mode = i;
> }
>
> printf("mean %g, median %d, mode %d", mean, median, mode);
> }
>
> These compiled fine on my machine (gcc 12.2.0)

Did you actually run the code?

I got a segfault (WSL Ubuntu, gcc 11.4). Had to make a few tweaks to
get it to run and provide correct answers.

Do you want me to tell you what I did, or do you want to figure it out?

Hint: after the line "mean /= len;" print out the contents of
md_count[]. You should get:

1. 1
2. 1
3. 1
4. 1
5. 2
6. 1
7. 1
8. 1
9. 1

I like the technique you use for the mode count, but something to
remember is there can be multiple modes, and your code as is will
identify only one.

And the numbers were already sorted, but if they weren't you would have
to sort them - forward or reverse - before getting the median.

>> Why is it I have a VERY strong feeling you and Feeb and C are about to
>> be pwned by python?
>
>
> IMO, both are pretty good languages, with their own strengths..like, C
> is good for dealing with the raw data and it can be really satisfying to
> get everything working, and python is great for throwing something
> together.

I like them both, too. But C is too time-consuming for me. I just
don't spend enough time using it exclusively to be productive vs python.

Another language I've had my eye on is Julia.

Subject: Re: More Funny Stuff From Joel
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Tue, 11 Jun 2024 18:23 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!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: 11 Jun 2024 18:23:28 GMT
Lines: 11
Message-ID: <lcrj10Fef9rU1@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>
<lcq27iF6su7U4@mid.individual.net>
<slrnv6flo3.7fn.candycanearter07@candydeb.host.invalid>
<lcqaljF8hrcU1@mid.individual.net> <v49f1b$11kek$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net ZSFBzJDDDpLM2LG3bLX59wjpOO+ETVK8B/PbcLH06JHdJrfGnU
Cancel-Lock: sha1:jiVhG0pYqcTehz/1iA8W5wXbRZM= sha256:p4PoJivn/FTGDy/4E6fuHvp8Mu+GXSCw541GeAdCbCM=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Tue, 11 Jun 2024 08:13:31 -0400, Chris Ahlstrom wrote:

> const is used to enforce certain semantics. Of course, it is not
> necessary for a simple C function parameter (e.g. an int) to be const
> unless one is pedantic.

I can't cook up a simple example but I've hit instances using functions in
legacy code where one const in a function resulted in having to spread
const around to keep the compiler from whining. It's like the situations
where you use const-cast in C++ to get things to play nice.

Subject: Re: More Funny Stuff From Joel
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Tue, 11 Jun 2024 18:33 UTC
References: 1 2 3 4 5 6 7 8 9
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: 11 Jun 2024 18:33:13 GMT
Lines: 26
Message-ID: <lcrjj9Fef9rU2@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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net qs1OuK4k/jM5FPuaZw+UIwfF0tX53oIUHlkomb6yYdnTQykiLF
Cancel-Lock: sha1:Hi7WZ9mVNvCGJZkCxgiSwglsUKY= sha256:xvM9uB7oKM1ij7Oh4JGtX9jcPw2lfuH1wWeL9osT404=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Tue, 11 Jun 2024 12:20:05 -0400, DFS wrote:

> n 6/10/2024 10:40 PM, candycanearter07 wrote:
>> DFS <nospam@dfs.com> wrote at 23:30 this Saturday (GMT):
>>> On 6/8/2024 5:32 PM, Joel wrote:
>>>
>>>> I can't imagine I'd need anything beyond C.
>>>
>>>
>>> I hope you're not gonna pull a Feeb and claim you're a C guru that can
>>> 'move the Earth', but refuse to show ANY decent code, then make lame
>>> excuses like "I have other fish to fry".
>>
>> Seems like a fun challenge.. especially since im kinda rusty with c
>>
>>> 1) write your own C to sort these 3 names (by last then first):
>>>
>>> William Thomas Zachary Jones Jim Thomas
>>
>> I'll be honest, I might be bad but I completely forgot how to sort
>> strings.. sorry
>
>
> Usually qsort().

Enter Big O...

Subject: Re: More Funny Stuff From Joel
From: Chris Ahlstrom
Newsgroups: comp.os.linux.advocacy
Organization: None
Date: Tue, 11 Jun 2024 20:49 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: More Funny Stuff From Joel
Date: Tue, 11 Jun 2024 16:49:27 -0400
Organization: None
Lines: 20
Message-ID: <v4ad8n$17q9q$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>
<lcq27iF6su7U4@mid.individual.net>
<slrnv6flo3.7fn.candycanearter07@candydeb.host.invalid>
<lcqaljF8hrcU1@mid.individual.net> <v49f1b$11kek$3@dont-email.me>
<lcrj10Fef9rU1@mid.individual.net>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Tue, 11 Jun 2024 22:49:28 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7b45443339d8814a3a931dc1e6d40844";
logging-data="1304890"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jlAzJzTka0FiZjUA6T45N"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:tng7hpwKCdsstB0fBQSqJxHy65U=
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Mutt: The most widely-used MUA
X-Slrn: Why use anything else?
View all headers

rbowman wrote this copyrighted missive and expects royalties:

> On Tue, 11 Jun 2024 08:13:31 -0400, Chris Ahlstrom wrote:
>
>> const is used to enforce certain semantics. Of course, it is not
>> necessary for a simple C function parameter (e.g. an int) to be const
>> unless one is pedantic.
>
> I can't cook up a simple example but I've hit instances using functions in
> legacy code where one const in a function resulted in having to spread
> const around to keep the compiler from whining. It's like the situations
> where you use const-cast in C++ to get things to play nice.

You have to be consistent with const. In some cases, you may need to use
const_cast<>() or make some class member mutable.

It's an art to get it right. But the precision pays off.

--
Your fly might be open (but don't check it just now).

Pages:1234567

rocksolid light 0.9.8
clearnet tor