Groups | Search | Server Info | Login | Register
Groups > comp.os.linux.misc > #75657
| From | ram@zedat.fu-berlin.de (Stefan Ram) |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: AI-Based Coding Taking Over |
| Date | 2025-10-03 11:38 +0000 |
| Organization | Stefan Ram |
| Message-ID | <perl-20251003122605@ram.dialup.fu-berlin.de> (permalink) |
| References | (4 earlier) <supervisor-20250930235728@ram.dialup.fu-berlin.de> <wwv3482h7ij.fsf@LkoBDZeT.terraraq.uk> <code-20251001182123@ram.dialup.fu-berlin.de> <10bk54h$k61q$2@dont-email.me> <10bl5k2$qf1i$1@dont-email.me> |
vallor <vallor@vallor.earth> wrote or quoted:
>Call me quirky, but I wanted to write a newsreader
>in Tk/perl. Off and on, over the last 6 days, I've been writing
>it using ChatGPT5.
>Next feature I'm going to add is threading -- but not tonight. ;)
I started to write a newsreader in Python, but then decided to
focus on implementing my markup language for some time . . .
Yesterday I noticed that my chatbot seems to be less capable in
writing Perl code than in writing Python code.
I wanted to answer a question in a programming newsgroup, where
someone wanted to provided a pattern to fill in the results of
a regexp search, like "$1 - $2", where "$1" means, "insert the
result of the first match group here".
Turned out this was hard for my chatbot who at the same time was
able to immediately provide the correct solution in Python. The
Perl version took several cycles of requests to generalize from
two matcher groups to any number of groups and debugging from my
side. Finally, I arrived at,
use strict;
use warnings;
my $quellname = '123 45';
my $muster = '(\d+)\s(\d+)';
my $ziel = '$1 - $2';
if (my @matches = $quellname =~ $muster)
{ my $zielname = $ziel;
$zielname =~ s/\$(\d+)/ do
{ my $index = $1 - 1;
$index >= 0 && $index <= $#matches ? $matches[$index] : '' } /eg;
print "rename '$quellname' -> '$zielname'\n"; }
. Well, in a sense, this post here /is/ being sent by my own
newsreader. But it's not a complete newsreader, it's just the
part for /sending/ a post. I write the post together with the
headers using a text editor (which text editor is /not/ written
by me) and save it to file. The I invoke my custom Python
script to check it, do some modifications and post it.
For example, above I still see, "vallor <vallor@vallor.earth>
writes:" with "writes", but I think my script will modify this
a bit (depending on the contents of the "Content-Language:" header
line), and what you now see above is the result. It would also
refuse to send the post if that header line were missing or be
incomprehensible to it. Here I write "I got to go" with "g-o-t-t-a",
but it's possible my script also modified this spelling.
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-09-30 00:12 -0400
Re: AI-Based Coding Taking Over "Carlos E.R." <robin_listas@es.invalid> - 2025-09-30 09:37 +0200
Re: AI-Based Coding Taking Over ram@zedat.fu-berlin.de (Stefan Ram) - 2025-09-30 14:25 +0000
Re: AI-Based Coding Taking Over ram@zedat.fu-berlin.de (Stefan Ram) - 2025-09-30 14:32 +0000
Re: AI-Based Coding Taking Over "Carlos E.R." <robin_listas@es.invalid> - 2025-09-30 19:21 +0200
Re: AI-Based Coding Taking Over Richard Kettlewell <invalid@invalid.invalid> - 2025-09-30 19:35 +0100
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-30 22:45 +0000
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-30 22:41 +0000
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-30 22:44 +0000
Re: AI-Based Coding Taking Over ram@zedat.fu-berlin.de (Stefan Ram) - 2025-09-30 23:05 +0000
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-30 23:46 +0000
Re: AI-Based Coding Taking Over ram@zedat.fu-berlin.de (Stefan Ram) - 2025-10-01 00:10 +0000
Re: AI-Based Coding Taking Over ram@zedat.fu-berlin.de (Stefan Ram) - 2025-10-01 00:56 +0000
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-01 01:06 +0000
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-01 01:05 +0000
Re: AI-Based Coding Taking Over Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-10-01 03:53 +0000
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-01 04:57 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-01 21:41 -0400
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-01 21:40 -0400
Re: AI-Based Coding Taking Over candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-10-10 18:00 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-11 02:41 -0400
Re: AI-Based Coding Taking Over The Natural Philosopher <tnp@invalid.invalid> - 2025-10-11 11:00 +0100
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-11 19:39 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-11 22:31 -0400
Re: AI-Based Coding Taking Over The Natural Philosopher <tnp@invalid.invalid> - 2025-10-12 12:09 +0100
Re: AI-Based Coding Taking Over rbowman <bowman@montana.com> - 2025-10-11 19:03 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-11 22:28 -0400
Re: AI-Based Coding Taking Over The Natural Philosopher <tnp@invalid.invalid> - 2025-10-12 12:04 +0100
Re: AI-Based Coding Taking Over rbowman <bowman@montana.com> - 2025-10-12 19:40 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-13 03:24 -0400
Re: AI-Based Coding Taking Over The Natural Philosopher <tnp@invalid.invalid> - 2025-10-13 10:19 +0100
Re: AI-Based Coding Taking Over rbowman <bowman@montana.com> - 2025-10-13 19:05 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-14 01:24 -0400
Re: AI-Based Coding Taking Over rbowman <bowman@montana.com> - 2025-10-14 07:09 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-14 20:35 -0400
Re: AI-Based Coding Taking Over "Carlos E.R." <robin_listas@es.invalid> - 2025-10-14 10:04 +0200
Re: AI-Based Coding Taking Over The Natural Philosopher <tnp@invalid.invalid> - 2025-10-14 10:04 +0100
Re: AI-Based Coding Taking Over "Carlos E.R." <robin_listas@es.invalid> - 2025-10-14 12:06 +0200
Re: AI-Based Coding Taking Over The Natural Philosopher <tnp@invalid.invalid> - 2025-10-14 11:32 +0100
Re: AI-Based Coding Taking Over "Carlos E.R." <robin_listas@es.invalid> - 2025-10-14 12:45 +0200
Re: AI-Based Coding Taking Over rbowman <bowman@montana.com> - 2025-10-14 22:05 +0000
Re: AI-Based Coding Taking Over Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-10-14 23:31 +0000
Re: AI-Based Coding Taking Over rbowman <bowman@montana.com> - 2025-10-14 21:47 +0000
Re: AI-Based Coding Taking Over Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-10-14 23:31 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-14 21:38 -0400
Re: AI-Based Coding Taking Over rbowman <bowman@montana.com> - 2025-10-14 19:12 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-14 21:06 -0400
Re: AI-Based Coding Taking Over Richard Kettlewell <invalid@invalid.invalid> - 2025-10-01 18:11 +0100
Re: AI-Based Coding Taking Over ram@zedat.fu-berlin.de (Stefan Ram) - 2025-10-01 17:21 +0000
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-01 21:06 +0000
Re: AI-Based Coding Taking Over ram@zedat.fu-berlin.de (Stefan Ram) - 2025-10-01 21:28 +0000
Re: AI-Based Coding Taking Over Richard Kettlewell <invalid@invalid.invalid> - 2025-10-03 08:54 +0100
Re: AI-Based Coding Taking Over The Natural Philosopher <tnp@invalid.invalid> - 2025-10-03 10:02 +0100
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-03 20:41 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-03 23:24 -0400
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-03 23:21 -0400
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-03 23:20 -0400
Re: AI-Based Coding Taking Over Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-10-04 17:04 +0000
Re: AI-Based Coding Taking Over ram@zedat.fu-berlin.de (Stefan Ram) - 2025-10-01 22:33 +0000
Re: AI-Based Coding Taking Over Nuno Silva <nunojsilva@invalid.invalid> - 2025-10-01 23:45 +0100
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-01 22:19 -0400
Re: AI-Based Coding Taking Over The Natural Philosopher <tnp@invalid.invalid> - 2025-10-02 11:15 +0100
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-01 21:59 -0400
Re: AI-Based Coding Taking Over vallor <vallor@vallor.earth> - 2025-10-02 06:20 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-02 03:05 -0400
Re: AI-Based Coding Taking Over vallor <vallor@vallor.earth> - 2025-10-02 18:41 +0000
Re: AI-Based Coding Taking Over rbowman <bowman@montana.com> - 2025-10-02 07:26 +0000
Re: AI-Based Coding Taking Over vallor <vallor@vallor.earth> - 2025-10-02 18:37 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-03 00:29 -0400
Re: AI-Based Coding Taking Over rbowman <bowman@montana.com> - 2025-10-03 05:06 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-03 01:24 -0400
Re: AI-Based Coding Taking Over Bob Vloon <usenet@bananacorp.nl.invalid> - 2025-10-03 11:33 +0000
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-03 20:46 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-03 00:25 -0400
Re: AI-Based Coding Taking Over rbowman <bowman@montana.com> - 2025-10-03 04:44 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-03 01:18 -0400
Re: AI-Based Coding Taking Over ram@zedat.fu-berlin.de (Stefan Ram) - 2025-10-03 11:38 +0000
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-03 20:42 +0000
Re: AI-Based Coding Taking Over ram@zedat.fu-berlin.de (Stefan Ram) - 2025-10-03 20:59 +0000
Re: AI-Based Coding Taking Over Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-03 21:05 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-03 23:37 -0400
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-03 23:35 -0400
Re: AI-Based Coding Taking Over not@telling.you.invalid (Computer Nerd Kev) - 2025-10-03 08:03 +1000
Re: AI-Based Coding Taking Over vallor <vallor@vallor.earth> - 2025-10-02 22:55 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-09-30 22:06 -0400
Re: AI-Based Coding Taking Over Jason H <jason_hindle@yahoo.com> - 2025-10-01 20:26 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-01 21:58 -0400
Re: AI-Based Coding Taking Over Farley Flud <fsquared@fsquared.linux> - 2025-09-30 11:25 +0000
Re: AI-Based Coding Taking Over The Natural Philosopher <tnp@invalid.invalid> - 2025-09-30 12:56 +0100
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-09-30 22:48 -0400
Re: AI-Based Coding Taking Over Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-10-01 03:53 +0000
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-10-01 21:36 -0400
Re: AI-Based Coding Taking Over c186282 <c186282@nnada.net> - 2025-09-30 22:16 -0400
csiph-web