Article View: alt.comp.os.windows-11
Article #1376Re: What does |> do?
From: Paul
Date: Sat, 28 Nov 2026 02:34
Date: Sat, 28 Nov 2026 02:34
119 lines
5915 bytes
5915 bytes
On Fri, 11/27/2026 4:30 PM, J. P. Gilliver wrote:
> On 2026/11/27 5:6:56, Johann 'Myrkraverk' Oskarsson wrote:
> []
>> It doesn't have to perfect, just something that'll help me remember com-
>> plex ffmpeg lines.
>>
>>
>> Best wishes, and happy batch files!
>
> I was trying to write a batch file incorporating yt-dlp, and I asked one
> of the AIs - either ChatGPT or the Google one, I can't remember - some
> fine point.
>
> It said something like "Would you like me to create the batch file for
> you?".
>
> I said yes, fully intending to examine and tweak the code.
>
> But I was very impressed with what it created: not only did the code do
> what I wanted, but it was to a standard that pleased me: nicely
> indented, with comments - not too many, not too few.
>
> Twenty years ago I might have done battle myself with the complexities
> of yt-dlp and ffmpeg. (Well, I'd have had to, as AIbots weren't around.
> But I _think_ I might have anyway.) But now, (a) at my age (b) since AI
> _is_ around, I'm happy to let it! It knew special characters - what I
> wanted didn't involve |>, but I learnt "^" for breaking a line to make
> it more reasonable, which I hadn't known about.
>
> It even, once I'd got what I wanted, asked "would you like me to modify
> the batch to ...", with sensible suggestions!
>
There are other outcomes possible.
The most extreme answer it will give is:
"Why don't you do your own homework ?"
And when you look at a question, it's hard
to tell which queries could trigger that. I
only got that reply once.
When it writes code, most of the time it gives
no build instructions. When I write my 60 line
program in one file, I put this as a comment
near the top.
gcc -o askmeaquestion.exe askmeaquestion.c
You can make a second query, right after the
code was written, and it can tell you how
to run a thing. Assuming you tell it what
your environment is. Maybe if I was multiplying
two very large numbers together, I might need
a library.
sudo apt install gmp-dev
gcc -o askmeaquestion askmeaquestion.c -lgmp
You would have to tell it which Linux distro you
were on, so it could pick the right module names.
The developer packages, might have a library with
a libgmp.so or a libgmp.dll and so on.
If you keep the query window open, and you ask
three questions, the context on the third question
consists of "1 2 3". All the questions are still
there. If you close the query window, the datacenter
version may clear context memory. When you run a
model on your own computer, you can see on the left
hand side, there is context stored in your "project"
and you can clear that when you feel like it, and
that could make your next query (at home) run faster
on your weak hardware :-) If you close the model runner
in Windows, it still has "1 2 3" stored for the next
time you start and operate the model-runner program.
The purpose of keeping context, is for answering
long running conversations properly.
The text hole is intended to coerce users to keep
the input token count low. However, you can open
Notepad, write three paragraphs of program requirements,
and simply paste that into the box, then use the up-arrow
icon on the right. And it will then eat all that input.
______________________________
/ \ ^
/ List the USA Presidents. \ |
\________________________________/
On one which is slightly agentic and has some multimedia
capability, you can do this, and where I have placed the
* (no, you don't type that character), you can use your
mouse cursor and select Paste from the context menu. You
can paste an image file right into the dialog. In File Explorer,
you copy input.png, then paste it where the asterisk is.
An image icon may appear near the spot you did the paste,
as recognition the runner understands the construct.
______________________________
/ \ ^
/ Could you OCR this for me ? * \ |
\________________________________/
Did I read a manual to find that out ? Nope. I
was frustrated, the machine was giving me some
bad instructions and I figured "well, nothing to
lose, let's try a paste" and it accepted that. When
you ask for OCR, in a second sentence "please
give an exact verbatim copy of the text", or it
won't do the right thing without that!
Could you OCR an image file for me ?
Please give an exact verbatim copy
of the text contained in this file *
And it will make the usual sloppy mess. Nobody is perfect.
Paul
Technical Details
Message-ID:
<11edejk$26r9a$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<Sd8OS.7158$B3F4.2353@fx15.ams4> <11ecsq2$215iq$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Paul <nospam@needed.invalid> Newsgroups: alt.comp.os.windows-11,alt.comp.os.windows-10 Subject: Re: What does |> do? Date: Fri, 27 Nov 2026 21:34:27 -0500 Organization: A noiseless patient Spider Lines: 119 Message-ID: <11edejk$26r9a$1@dont-email.me> References: <Sd8OS.7158$B3F4.2353@fx15.ams4> <11ecsq2$215iq$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Sat, 28 Nov 2026 02:34:29 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2321706"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18KlCmRLg1q3hXmNhccG6VaTYNZIMFnzKg="; posting-host="7807abfff777d55efa5ff7c1eca39f85" User-Agent: THIS SPACE FOR RENT Cancel-Lock: sha1:KQTC9s88QbA3cEWUCcIzrese62M= sha256:83zqOwncDdUhe7CqGVLGrhfRvs3P4G8klrdn5dbczNI= sha1:sy0N10aFme86AN4rc7t/UYUI3vY= sha256:WN7A/0gpNtYip2+a2atfGa0cKX4adXaLTd8LKJEtDP0= In-Reply-To: <11ecsq2$215iq$1@dont-email.me> Content-Language: en-US